@tridion-sites/models 0.1.4 → 1.1.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/CHANGELOG.md CHANGED
@@ -1,68 +1,20 @@
1
1
  # @tridion-sites/models
2
2
 
3
- ## 0.1.4
4
-
5
- ### Patch Changes
6
-
7
- - 54439b54a7: removed links to internal systems, added readme files
8
- - Updated dependencies [54439b54a7]
9
- - @tridion-sites/open-api-client@1.0.6
10
-
11
- ## 0.1.3
12
-
13
- ### Patch Changes
14
-
15
- - be9284a536: rename a property
16
-
17
- ## 0.1.2
18
-
19
- ### Patch Changes
20
-
21
- - b803ef7b33: Fake models now have special creation functions
22
- - 9b78d6d626: upgrade dependencies
23
- - 31bdf04adf: fixed VersionedItem isNew behavior
24
-
25
- ## 0.1.1
26
-
27
- ### Patch Changes
28
-
29
- - 226cc4cce1: Additional info for Taxonomies model is added
30
- - 1845a12377: use the latest typescript version
31
- - Updated dependencies [1845a12377]
32
- - @tridion-sites/open-api-client@1.0.5
33
-
34
- ## 0.1.0
3
+ ## 1.1.0
35
4
 
36
5
  ### Minor Changes
37
6
 
38
- - Set of small improvements and fixes to the extensions framework
39
-
40
- ## 0.0.5
41
-
42
- ### Patch Changes
43
-
44
- - update packages
45
-
46
- ## 0.0.4
47
-
48
- ### Patch Changes
49
-
50
- - include node_modules into the build
51
-
52
- ## 0.0.3
53
-
54
- ### Patch Changes
55
-
56
- - include node_modules into the build
57
-
58
- ## 0.0.2
7
+ - 14288f4588: add publishing queue related models
59
8
 
60
9
  ### Patch Changes
61
10
 
62
- - release new package version for extensions, extensions-cli, models, open-api-client
63
- - c616d80f3c: fixed circular dependencies in @tridion-sites/models
64
- - 117e9e5f76: Models package became public
65
- - Updated dependencies
66
- - Updated dependencies [0738aa9ac3]
67
- - Updated dependencies [ff20566f80]
68
- - @tridion-sites/open-api-client@1.0.4
11
+ - d0875fe171: update dependencies
12
+ - 7ff24d55b8: Add LockType and its mapping function
13
+ - 334d76210f: Dependency update @tridion/graphene@1.35
14
+ - Updated dependencies [d398729dce]
15
+ - Updated dependencies [b37272386a]
16
+ - Updated dependencies [d0875fe171]
17
+ - Updated dependencies [151fa1d3b2]
18
+ - Updated dependencies [c75025f64f]
19
+ - Updated dependencies [1b257d330c]
20
+ - @tridion-sites/open-api-client@3.0.0
package/dist/index.d.ts CHANGED
@@ -72,6 +72,7 @@ import type { ListDefinition as ListDefinition_2 } from '@tridion-sites/open-api
72
72
  import type { LoadInfo as LoadInfo_2 } from '@tridion-sites/open-api-client';
73
73
  import type { LocationInfo as LocationInfo_2 } from '@tridion-sites/open-api-client';
74
74
  import type { LockInfo as LockInfo_2 } from '@tridion-sites/open-api-client';
75
+ import { LockType as LockType_2 } from '@tridion-sites/open-api-client';
75
76
  import type { MultiLineTextFieldDefinition as MultiLineTextFieldDefinition_2 } from '@tridion-sites/open-api-client';
76
77
  import type { MultimediaLinkFieldDefinition as MultimediaLinkFieldDefinition_2 } from '@tridion-sites/open-api-client';
77
78
  import type { MultimediaType as MultimediaType_2 } from '@tridion-sites/open-api-client';
@@ -82,19 +83,26 @@ import type { Page as Page_2 } from '@tridion-sites/open-api-client';
82
83
  import type { PageTemplate as PageTemplate_2 } from '@tridion-sites/open-api-client';
83
84
  import type { Process as Process_2 } from '@tridion-sites/open-api-client';
84
85
  import type { ProcessDefinition as ProcessDefinition_2 } from '@tridion-sites/open-api-client';
86
+ import type { ProcessedItem as ProcessedItem_2 } from '@tridion-sites/open-api-client';
85
87
  import type { ProcessHistory as ProcessHistory_2 } from '@tridion-sites/open-api-client';
86
88
  import type { ProcessInstance as ProcessInstance_2 } from '@tridion-sites/open-api-client';
87
89
  import type { Publication as Publication_2 } from '@tridion-sites/open-api-client';
90
+ import type { PublishContext as PublishContext_2 } from '@tridion-sites/open-api-client';
88
91
  import type { PublishInfo as PublishInfo_2 } from '@tridion-sites/open-api-client';
89
92
  import type { PublishingTarget as PublishingTarget_2 } from '@tridion-sites/open-api-client';
93
+ import type { PublishInstructionBase as PublishInstructionBase_2 } from '@tridion-sites/open-api-client';
90
94
  import type { PublishLocationInfo as PublishLocationInfo_2 } from '@tridion-sites/open-api-client';
91
95
  import { PublishPriority as PublishPriority_2 } from '@tridion-sites/open-api-client';
96
+ import type { PublishTransaction as PublishTransaction_2 } from '@tridion-sites/open-api-client';
92
97
  import type { PublishTransactionsCreationResult as PublishTransactionsCreationResult_2 } from '@tridion-sites/open-api-client';
98
+ import { PublishTransactionState as PublishTransactionState_2 } from '@tridion-sites/open-api-client';
93
99
  import type { PublishUrlInfo as PublishUrlInfo_2 } from '@tridion-sites/open-api-client';
94
100
  import type { Region as Region_2 } from '@tridion-sites/open-api-client';
95
101
  import type { Repository as Repository_2 } from '@tridion-sites/open-api-client';
96
102
  import type { RepositoryLocalObject as RepositoryLocalObject_2 } from '@tridion-sites/open-api-client';
97
103
  import type { ResolvedItem as ResolvedItem_2 } from '@tridion-sites/open-api-client';
104
+ import type { ResolveInstruction as ResolveInstruction_2 } from '@tridion-sites/open-api-client';
105
+ import type { ResolveInstructionBase as ResolveInstructionBase_2 } from '@tridion-sites/open-api-client';
98
106
  import { RetrieveReason as RetrieveReason_2 } from '@tridion-sites/open-api-client';
99
107
  import { RLOItemType } from '@tridion-sites/open-api-client';
100
108
  import type { Schema as Schema_2 } from '@tridion-sites/open-api-client';
@@ -129,6 +137,7 @@ import { TranslationStatus as TranslationStatus_2 } from '@tridion-sites/open-ap
129
137
  import type { TridionActivityDefinition as TridionActivityDefinition_2 } from '@tridion-sites/open-api-client';
130
138
  import type { TridionProcessDefinition as TridionProcessDefinition_2 } from '@tridion-sites/open-api-client';
131
139
  import type { Trustee as Trustee_2 } from '@tridion-sites/open-api-client';
140
+ import type { UnPublishInstruction } from '@tridion-sites/open-api-client';
132
141
  import type { User as User_2 } from '@tridion-sites/open-api-client';
133
142
  import type { UserLocaleInfo as UserLocaleInfo_2 } from '@tridion-sites/open-api-client';
134
143
  import type { UserPreferences as UserPreferences_2 } from '@tridion-sites/open-api-client';
@@ -216,6 +225,7 @@ export declare class AccessToken extends User {
216
225
  * Dictionary containing "SystemPrivilege" and link "Group" associations.
217
226
  */
218
227
  get inheritedSystemPrivileges(): SystemPrivilegesDictionary | undefined;
228
+ hasInheritedSystemPrivilege(systemPrivilege: SystemPrivilegeName): boolean;
219
229
  /**
220
230
  * Signature value for this token to prevent modifying any of its properties outside of the CM system.
221
231
  */
@@ -1359,6 +1369,18 @@ export declare interface DateListDefinitionConstructorArgs extends ListDefinitio
1359
1369
  entries: ReadonlyArray<Date> | undefined;
1360
1370
  }
1361
1371
 
1372
+ /**
1373
+ * Represents the action the deployer needs to take.
1374
+ *
1375
+ * Members:
1376
+ * * `commit` - The deployer should commit the transport package.
1377
+ * * `wait` - The deployer should wait to commit the transport package.
1378
+ * * `abort` - The deployer should abort the transport package.
1379
+ * * `unknownByClient` - Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version.
1380
+ * Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
1381
+ */
1382
+ export declare type DeployerAction = 'commit' | 'wait' | 'abort' | 'unknownByClient';
1383
+
1362
1384
  export declare const determineBatchStatus: (operations: ReadonlyArray<BatchOperation>) => BatchStatus;
1363
1385
 
1364
1386
  /**
@@ -2449,8 +2471,12 @@ export declare const mapActivityStateToBackend: (model: ActivityState) => Activi
2449
2471
 
2450
2472
  export declare const mapBatchOperationState: (backendModel: BatchOperationState_2) => BatchOperationState;
2451
2473
 
2474
+ export declare const mapLockTypeToBackend: (model: LockType) => LockType_2;
2475
+
2452
2476
  export declare const mapPublishPriorityToBackend: (model: PublishPriority) => PublishPriority_2;
2453
2477
 
2478
+ export declare const mapPublishTransactionStateToBackend: (model: PublishTransactionState) => PublishTransactionState_2;
2479
+
2454
2480
  export declare const mapRetrieveReasonToBackend: (backendModel: RetrieveReason) => RetrieveReason_2;
2455
2481
 
2456
2482
  export declare const mapRloItemTypeToBackend: (rloItemType: RloItemType) => RLOItemType;
@@ -2854,6 +2880,39 @@ export declare interface ProcessDefinitionConstructorArgs extends RepositoryLoca
2854
2880
  activityDefinitions: ReadonlyArray<ActivityDefinition> | undefined;
2855
2881
  }
2856
2882
 
2883
+ export declare class ProcessedItem {
2884
+ protected _backendModel: ProcessedItem_2;
2885
+ private _resolvedItem;
2886
+ constructor({ backendModel, resolvedItem }: ProcessedItemConstructorArgs);
2887
+ /**
2888
+ * A value indicating whether the item failed rendering.
2889
+ */
2890
+ get hasRenderFailure(): boolean | undefined;
2891
+ /**
2892
+ * A value indicating whether the item has been fully rendered.
2893
+ */
2894
+ get isRendered(): boolean | undefined;
2895
+ /**
2896
+ * The reason of failure of the rendering process.
2897
+ */
2898
+ get reasonOfRenderFailure(): string | undefined;
2899
+ /**
2900
+ * The duration of the rendering process for the processed item.
2901
+ * The render time formatted as a string: HH:MM:SS
2902
+ */
2903
+ get renderTime(): string | undefined;
2904
+ /**
2905
+ * The "ResolvedItem" for which this instance stores additional rendering information.
2906
+ */
2907
+ get resolvedItem(): ResolvedItem | undefined;
2908
+ getInternalModel: () => ProcessedItem_2;
2909
+ }
2910
+
2911
+ export declare interface ProcessedItemConstructorArgs {
2912
+ backendModel: ProcessedItem_2;
2913
+ resolvedItem: ResolvedItem | undefined;
2914
+ }
2915
+
2857
2916
  /**
2858
2917
  * Defines the reason a Process is going to be finished or has finished already.
2859
2918
  *
@@ -3019,6 +3078,40 @@ export declare interface PublicationConstructorArgs extends RepositoryConstructo
3019
3078
  templateBundleProcess: Link | undefined;
3020
3079
  }
3021
3080
 
3081
+ export declare class PublishContext {
3082
+ protected _backendModel: PublishContext_2;
3083
+ private _processedItems;
3084
+ private _publication;
3085
+ private _resolvedItems;
3086
+ private _targetType;
3087
+ constructor({ backendModel, processedItems, publication, resolvedItems, targetType, }: PublishContextConstructorArgs);
3088
+ /**
3089
+ * A collection of processed items.
3090
+ */
3091
+ get processedItems(): Array<ProcessedItem> | undefined;
3092
+ /**
3093
+ * The Publication which this Publish Context belongs to.
3094
+ */
3095
+ get publication(): Link | undefined;
3096
+ /**
3097
+ * A collection of Resolved Items in this Publish Context.
3098
+ */
3099
+ get resolvedItems(): Array<ResolvedItem> | undefined;
3100
+ /**
3101
+ * The Target Type which this Publish Context belongs to.
3102
+ */
3103
+ get targetType(): Link | undefined;
3104
+ getInternalModel: () => PublishContext_2;
3105
+ }
3106
+
3107
+ export declare interface PublishContextConstructorArgs {
3108
+ backendModel: PublishContext_2;
3109
+ processedItems: Array<ProcessedItem> | undefined;
3110
+ publication: Link | undefined;
3111
+ resolvedItems: Array<ResolvedItem> | undefined;
3112
+ targetType: Link | undefined;
3113
+ }
3114
+
3022
3115
  /**
3023
3116
  * Represents publishing information for Repository local objects.
3024
3117
  */
@@ -3080,6 +3173,38 @@ export declare abstract class PublishingTarget extends SystemWideObject {
3080
3173
  export declare interface PublishingTargetConstructorArgs extends SystemWideObjectConstructorArgs {
3081
3174
  }
3082
3175
 
3176
+ export declare class PublishInstruction extends PublishInstructionBase {
3177
+ protected _backendModel: UnPublishInstruction;
3178
+ private _deployAt;
3179
+ private _resolveInstruction;
3180
+ constructor({ backendModel, deployAt, resolveInstruction }: PublishInstructionConstructorArgs);
3181
+ /**
3182
+ * Date and time when the content should be deployed at the content delivery side.
3183
+ * Should be specified in UTC, for example: "2022-01-01T12:00:00:00Z".
3184
+ */
3185
+ get deployAt(): Date | undefined;
3186
+ /**
3187
+ * Represents the instructions needed for resolving.
3188
+ */
3189
+ get resolveInstruction(): ResolveInstruction | undefined;
3190
+ getInternalModel: () => UnPublishInstruction;
3191
+ }
3192
+
3193
+ /**
3194
+ * Represents the instructions needed for (un)publishing an item.
3195
+ */
3196
+ export declare abstract class PublishInstructionBase {
3197
+ protected _backendModel: PublishInstructionBase_2;
3198
+ constructor(backendModel: PublishInstructionBase_2);
3199
+ getInternalModel: () => PublishInstructionBase_2;
3200
+ }
3201
+
3202
+ export declare interface PublishInstructionConstructorArgs {
3203
+ backendModel: UnPublishInstruction;
3204
+ deployAt: Date | undefined;
3205
+ resolveInstruction: ResolveInstruction | undefined;
3206
+ }
3207
+
3083
3208
  /**
3084
3209
  * Represents a publishing location information for the objects that reside in Structure Groups.
3085
3210
  */
@@ -3122,6 +3247,100 @@ export declare interface PublishLocationInfoConstructorArgs extends LocationInfo
3122
3247
  */
3123
3248
  export declare type PublishPriority = 'low' | 'normal' | 'high';
3124
3249
 
3250
+ export declare class PublishTransaction extends SystemWideObject {
3251
+ protected _backendModel: PublishTransaction_2;
3252
+ private _creator;
3253
+ private _deployerAction;
3254
+ private _instruction;
3255
+ private _items;
3256
+ private _priority;
3257
+ private _publishContexts;
3258
+ private _state;
3259
+ private _targetType;
3260
+ private _stateChangeDateTime;
3261
+ constructor({ backendModel, creator, deployerAction, instruction, items, priority, publishContexts, state, targetType, stateChangeDateTime, ...systemWideObjectConstructorArgs }: PublishTransactionConstructorArgs);
3262
+ /**
3263
+ * Gets a value indicating whether one of the "PublishContext.ProcessedItems" in this instance has render failures.
3264
+ */
3265
+ get hasRenderFailures(): boolean | undefined;
3266
+ /**
3267
+ * Information about this publish transaction.
3268
+ */
3269
+ get information(): string | undefined;
3270
+ /**
3271
+ * Value whether the publishing of the "PublishTransaction" is finished.This property is set to true when the transaction is in the one of the final states: "PublishTransactionState.Success", "PublishTransactionState.Failed",
3272
+ * "PublishTransactionState.Warning"; otherwise, false.
3273
+ */
3274
+ get isCompleted(): boolean | undefined;
3275
+ /**
3276
+ * Name of the server with Publisher service that handles current "PublishTransaction".The value of this property is available after a Publisher has started processing this publish transaction and is an unqualified (domainless) server name. Prior to that the value of this property is null.
3277
+ */
3278
+ get publisherHost(): string | undefined;
3279
+ /**
3280
+ * Time span which was spent to render "PublishTransaction".The value of this property is available after a Publisher has finished rendering of the publish transaction.
3281
+ */
3282
+ get renderingTime(): string | undefined;
3283
+ /**
3284
+ * Time span which was spent to resolve items for "PublishTransaction".The value of this property is available after a Publisher has finished resolving of the items to be published for the publish transaction.
3285
+ */
3286
+ get resolvingTime(): string | undefined;
3287
+ /**
3288
+ * Date and time in UTC when the last state change occurred.
3289
+ */
3290
+ get stateChangeDateTime(): Date | undefined;
3291
+ /**
3292
+ * Time span which was spent for publishing "PublishTransaction".The value of this property is available after publish transaction gets to the one of the final states
3293
+ * ("PublishTransactionState.success", "PublishTransactionState.warning", "PublishTransactionState.failed").
3294
+ */
3295
+ get totalExecutionTime(): string | undefined;
3296
+ /**
3297
+ * User that created this "PublishTransaction" by publishing item(s).
3298
+ */
3299
+ get creator(): Link | undefined;
3300
+ /**
3301
+ * Action the deployer should take.
3302
+ */
3303
+ get deployerAction(): DeployerAction | undefined;
3304
+ /**
3305
+ * Instruction of this instance.
3306
+ */
3307
+ get instruction(): PublishInstructionBase | undefined;
3308
+ /**
3309
+ * Collection of items that need to be published or unpublished.
3310
+ */
3311
+ get items(): ReadonlyArray<Link> | undefined;
3312
+ /**
3313
+ * Priority of this instance. It can be one of three values: low, normal or high. Transactions are executed according to this priority.
3314
+ */
3315
+ get priority(): PublishPriority | undefined;
3316
+ /**
3317
+ * Collection of publish contexts that indicates where to publish/unpublish to.
3318
+ */
3319
+ get publishContexts(): ReadonlyArray<PublishContext> | undefined;
3320
+ /**
3321
+ * State of this instance.
3322
+ */
3323
+ get state(): PublishTransactionState | undefined;
3324
+ /**
3325
+ * Target Type for this Publish Transaction.This property might be null if associated Publication Target has none or more than one Target Type.
3326
+ */
3327
+ get targetType(): Link | undefined;
3328
+ getInternalModel: () => PublishTransaction_2;
3329
+ }
3330
+
3331
+ export declare interface PublishTransactionConstructorArgs extends SystemWideObjectConstructorArgs {
3332
+ backendModel: PublishTransaction_2;
3333
+ creator: Link | undefined;
3334
+ deployerAction: DeployerAction | undefined;
3335
+ instruction: PublishInstructionBase | undefined;
3336
+ items: ReadonlyArray<Link> | undefined;
3337
+ priority: PublishPriority | undefined;
3338
+ publishContexts: ReadonlyArray<PublishContext> | undefined;
3339
+ state: PublishTransactionState | undefined;
3340
+ targetType: Link | undefined;
3341
+ stateChangeDateTime: Date | undefined;
3342
+ }
3343
+
3125
3344
  export declare class PublishTransactionsCreationResult {
3126
3345
  protected _backendModel: PublishTransactionsCreationResult_2;
3127
3346
  private _publishTransactionIds;
@@ -3135,6 +3354,8 @@ export declare interface PublishTransactionsCreationResultConstructorArgs {
3135
3354
  publishTransactionIds: ReadonlyArray<ItemUri> | undefined;
3136
3355
  }
3137
3356
 
3357
+ export declare type PublishTransactionState = 'scheduledForPublish' | 'waitingForPublish' | 'inProgress' | 'scheduledForDeployment' | 'waitingForDeployment' | 'failed' | 'success' | 'warning' | 'resolving' | 'rendering' | 'throttled' | 'readyForTransport' | 'transporting' | 'deploying' | 'preparingDeployment' | 'preCommittingDeployment' | 'committingDeployment' | 'waitingForCdEnvironment' | 'unknownByClient';
3358
+
3138
3359
  export declare class PublishUrlInfo {
3139
3360
  protected _backendModel: PublishUrlInfo_2;
3140
3361
  constructor(backendModel: PublishUrlInfo_2);
@@ -3292,6 +3513,62 @@ export declare interface ResolvedItemConstructorArgs {
3292
3513
  template: Link | undefined;
3293
3514
  }
3294
3515
 
3516
+ export declare class ResolveInstruction extends ResolveInstructionBase {
3517
+ protected _backendModel: ResolveInstruction_2;
3518
+ constructor({ backendModel, ...resolveInstructionBaseConstructorArgs }: ResolveInstructionConstructorArgs);
3519
+ /**
3520
+ * Value indicating whether component links should also be resolved.
3521
+ */
3522
+ get includeComponentLinks(): boolean | undefined;
3523
+ /**
3524
+ * Value indicating whether dynamic version of the item will be resolved.
3525
+ */
3526
+ get includeDynamicVersion(): boolean | undefined;
3527
+ /**
3528
+ * Value indicating whether the item is published from the user's work list.
3529
+ */
3530
+ get includeWorkflow(): boolean | undefined;
3531
+ /**
3532
+ * Value indicating whether already published items should be published.
3533
+ */
3534
+ get publishNewContent(): boolean | undefined;
3535
+ getInternalModel: () => ResolveInstruction_2;
3536
+ }
3537
+
3538
+ export declare abstract class ResolveInstructionBase {
3539
+ protected _backendModel: ResolveInstructionBase_2;
3540
+ private _structureResolveOption;
3541
+ private _publishInChildPublications;
3542
+ constructor({ backendModel, structureResolveOption, publishInChildPublications, }: ResolveInstructionBaseConstructorArgs);
3543
+ /**
3544
+ * Value indicating whether to resolve items also from all child Publications where user has PublishManagement rights.
3545
+ */
3546
+ get includeChildPublications(): boolean | undefined;
3547
+ /**
3548
+ * Value indicating whether items will be (un)published inside the current Publication.
3549
+ */
3550
+ get includeCurrentPublication(): boolean | undefined;
3551
+ /**
3552
+ * Value indicating the option to include the resolved items and/or structure.
3553
+ */
3554
+ get structureResolveOption(): StructureResolveOption | undefined;
3555
+ /**
3556
+ * Collection of TCM URIs of child Publications where items will be (un)published.
3557
+ */
3558
+ get publishInChildPublications(): ReadonlyArray<ItemUri> | undefined;
3559
+ getInternalModel: () => ResolveInstructionBase_2;
3560
+ }
3561
+
3562
+ export declare interface ResolveInstructionBaseConstructorArgs {
3563
+ backendModel: ResolveInstructionBase_2;
3564
+ structureResolveOption: StructureResolveOption | undefined;
3565
+ publishInChildPublications: ReadonlyArray<ItemUri> | undefined;
3566
+ }
3567
+
3568
+ export declare interface ResolveInstructionConstructorArgs extends ResolveInstructionBaseConstructorArgs {
3569
+ backendModel: ResolveInstruction_2;
3570
+ }
3571
+
3295
3572
  /**
3296
3573
  * Defines which Items will be included in the Translation Job for an .
3297
3574
  *
@@ -3666,10 +3943,12 @@ export declare class SystemPrivilege {
3666
3943
  getInternalModel: () => SystemPrivilege_2;
3667
3944
  }
3668
3945
 
3946
+ export declare type SystemPrivilegeName = 'tcm:ApprovalStatusManagement' | 'tcm:ChildPublicationCreation' | 'tcm:GroupManagement' | 'tcm:MultimediaTypeManagement' | 'tcm:PublishTransactionManagement' | 'tcm:SystemAdministration' | 'tcm:SystemPrivilegeManagement' | 'ttm:TopologyManagementReadPrivilege';
3947
+
3669
3948
  /**
3670
3949
  * Represents a dictionary of the system-wide privilege keys associations with a collection of the Group's link.
3671
3950
  */
3672
- export declare type SystemPrivilegesDictionary = Record<string, ReadonlyArray<Link>>;
3951
+ export declare type SystemPrivilegesDictionary = Record<SystemPrivilegeName, ReadonlyArray<Link>>;
3673
3952
 
3674
3953
  /**
3675
3954
  * Abstract base class for the data of all system-wide objects.
@@ -4802,6 +5081,30 @@ export declare const tryMapToModel: <T>(backendItem: any) => T | undefined;
4802
5081
 
4803
5082
  export declare const tryParseItemUri: (backendId: string) => ItemUri | undefined;
4804
5083
 
5084
+ export declare class UnpublishInstruction extends PublishInstructionBase {
5085
+ protected _backendModel: UnPublishInstruction;
5086
+ private _startAt;
5087
+ private _resolveInstruction;
5088
+ constructor({ backendModel, startAt, resolveInstruction }: UnpublishInstructionConstructorArgs);
5089
+ /**
5090
+ * Date and time when the un-publishing should be started. Should be specified in UTC format.
5091
+ * The value will be converted to UTC time if specified with time zone shift, e.g. "2020-01-24T17:24:50+02:00" will be converted to "2020-01-24T15:24:50Z"
5092
+ * Conversion is not happening if time zone shift is not specified.
5093
+ */
5094
+ get startAt(): Date | undefined;
5095
+ /**
5096
+ * Represents the instructions needed for resolving.
5097
+ */
5098
+ get resolveInstruction(): ResolveInstruction | undefined;
5099
+ getInternalModel: () => UnPublishInstruction;
5100
+ }
5101
+
5102
+ export declare interface UnpublishInstructionConstructorArgs {
5103
+ backendModel: UnPublishInstruction;
5104
+ startAt: Date | undefined;
5105
+ resolveInstruction: ResolveInstruction | undefined;
5106
+ }
5107
+
4805
5108
  export declare class User extends Trustee {
4806
5109
  protected _backendModel: User_2;
4807
5110
  constructor({ backendModel, ...trusteeArgs }: UserConstructorArgs);