1 | export declare const emptyGuid = "00000000-0000-0000-0000-000000000000";
|
2 | /**
|
3 | * Represents the unique sequential location of a change within the change log.
|
4 | */
|
5 | export interface IChangeToken {
|
6 | /**
|
7 | * Gets or sets a string value that contains the serialized representation of the change token generated by the protocol server.
|
8 | */
|
9 | StringValue: string;
|
10 | }
|
11 | /**
|
12 | * Contains options used to modify the behaviour of a move or copy operation
|
13 | */
|
14 | export interface IMoveCopyOptions {
|
15 | /**
|
16 | * Boolean specifying whether to rename and copy the source file when the destination file exists
|
17 | */
|
18 | KeepBoth: boolean;
|
19 | /**
|
20 | * Boolean specifying whether to reset the destination of the copy author to the current user and the created by datetime to the current time.
|
21 | */
|
22 | ResetAuthorAndCreatedOnCopy: boolean;
|
23 | /**
|
24 | * Boolean specifying whether to allow File and Folder Move operations when file contain co-authoring shared locks
|
25 | */
|
26 | ShouldBypassSharedLocks: boolean;
|
27 | /**
|
28 | * Boolean specifying whether to retain the source of the move's editor and modified by datetime.
|
29 | */
|
30 | RetainEditorAndModifiedOnMove: boolean;
|
31 | }
|
32 | /**
|
33 | * Defines a query that is performed against the change log.
|
34 | */
|
35 | export interface IChangeQuery {
|
36 | /**
|
37 | * Gets or sets a value that specifies whether add changes are included in the query.
|
38 | */
|
39 | Add?: boolean;
|
40 | /**
|
41 | * Gets or sets a value that specifies whether changes to alerts are included in the query.
|
42 | */
|
43 | Alert?: boolean;
|
44 | /**
|
45 | * Gets or sets a value that specifies the end date and end time for changes that are returned through the query.
|
46 | */
|
47 | ChangeTokenEnd?: IChangeToken;
|
48 | /**
|
49 | * Gets or sets a value that specifies the start date and start time for changes that are returned through the query.
|
50 | */
|
51 | ChangeTokenStart?: IChangeToken;
|
52 | /**
|
53 | * Gets or sets a value that specifies whether changes to content types are included in the query.
|
54 | */
|
55 | ContentType?: boolean;
|
56 | /**
|
57 | * Gets or sets a value that specifies whether deleted objects are included in the query.
|
58 | */
|
59 | DeleteObject?: boolean;
|
60 | /**
|
61 | * Gets or sets a value that specifies whether changes to fields are included in the query.
|
62 | */
|
63 | Field?: boolean;
|
64 | /**
|
65 | * Gets or sets a value that specifies whether changes to files are included in the query.
|
66 | */
|
67 | File?: boolean;
|
68 | /**
|
69 | * Gets or sets value that specifies whether changes to folders are included in the query.
|
70 | */
|
71 | Folder?: boolean;
|
72 | /**
|
73 | * Gets or sets a value that specifies whether changes to groups are included in the query.
|
74 | */
|
75 | Group?: boolean;
|
76 | /**
|
77 | * Gets or sets a value that specifies whether adding users to groups is included in the query.
|
78 | */
|
79 | GroupMembershipAdd?: boolean;
|
80 | /**
|
81 | * Gets or sets a value that specifies whether deleting users from the groups is included in the query.
|
82 | */
|
83 | GroupMembershipDelete?: boolean;
|
84 | /**
|
85 | * Gets or sets a value that specifies whether general changes to list items are included in the query.
|
86 | */
|
87 | Item?: boolean;
|
88 | /**
|
89 | * Gets or sets a value that specifies whether changes to lists are included in the query.
|
90 | */
|
91 | List?: boolean;
|
92 | /**
|
93 | * Gets or sets a value that specifies whether move changes are included in the query.
|
94 | */
|
95 | Move?: boolean;
|
96 | /**
|
97 | * Gets or sets a value that specifies whether changes to the navigation structure of a site collection are included in the query.
|
98 | */
|
99 | Navigation?: boolean;
|
100 | /**
|
101 | * Gets or sets a value that specifies whether renaming changes are included in the query.
|
102 | */
|
103 | Rename?: boolean;
|
104 | /**
|
105 | * Gets or sets a value that specifies whether restoring items from the recycle bin or from backups is included in the query.
|
106 | */
|
107 | Restore?: boolean;
|
108 | /**
|
109 | * Gets or sets a value that specifies whether adding role assignments is included in the query.
|
110 | */
|
111 | RoleAssignmentAdd?: boolean;
|
112 | /**
|
113 | * Gets or sets a value that specifies whether adding role assignments is included in the query.
|
114 | */
|
115 | RoleAssignmentDelete?: boolean;
|
116 | /**
|
117 | * Gets or sets a value that specifies whether adding role assignments is included in the query.
|
118 | */
|
119 | RoleDefinitionAdd?: boolean;
|
120 | /**
|
121 | * Gets or sets a value that specifies whether adding role assignments is included in the query.
|
122 | */
|
123 | RoleDefinitionDelete?: boolean;
|
124 | /**
|
125 | * Gets or sets a value that specifies whether adding role assignments is included in the query.
|
126 | */
|
127 | RoleDefinitionUpdate?: boolean;
|
128 | /**
|
129 | * Gets or sets a value that specifies whether modifications to security policies are included in the query.
|
130 | */
|
131 | SecurityPolicy?: boolean;
|
132 | /**
|
133 | * Gets or sets a value that specifies whether changes to site collections are included in the query.
|
134 | */
|
135 | Site?: boolean;
|
136 | /**
|
137 | * Gets or sets a value that specifies whether updates made using the item SystemUpdate method are included in the query.
|
138 | */
|
139 | SystemUpdate?: boolean;
|
140 | /**
|
141 | * Gets or sets a value that specifies whether update changes are included in the query.
|
142 | */
|
143 | Update?: boolean;
|
144 | /**
|
145 | * Gets or sets a value that specifies whether changes to users are included in the query.
|
146 | */
|
147 | User?: boolean;
|
148 | /**
|
149 | * Gets or sets a value that specifies whether changes to views are included in the query.
|
150 | */
|
151 | View?: boolean;
|
152 | /**
|
153 | * Gets or sets a value that specifies whether changes to Web sites are included in the query.
|
154 | */
|
155 | Web?: boolean;
|
156 | }
|
157 | /**
|
158 | * Specifies the type of a principal.
|
159 | */
|
160 | export declare enum PrincipalType {
|
161 | /**
|
162 | * Enumeration whose value specifies no principal type.
|
163 | */
|
164 | None = 0,
|
165 | /**
|
166 | * Enumeration whose value specifies a user as the principal type.
|
167 | */
|
168 | User = 1,
|
169 | /**
|
170 | * Enumeration whose value specifies a distribution list as the principal type.
|
171 | */
|
172 | DistributionList = 2,
|
173 | /**
|
174 | * Enumeration whose value specifies a security group as the principal type.
|
175 | */
|
176 | SecurityGroup = 4,
|
177 | /**
|
178 | * Enumeration whose value specifies a group as the principal type.
|
179 | */
|
180 | SharePointGroup = 8,
|
181 | /**
|
182 | * Enumeration whose value specifies all principal types.
|
183 | */
|
184 | All = 15
|
185 | }
|
186 | /**
|
187 | * Specifies the source of a principal.
|
188 | */
|
189 | export declare enum PrincipalSource {
|
190 | /**
|
191 | * Enumeration whose value specifies no principal source.
|
192 | */
|
193 | None = 0,
|
194 | /**
|
195 | * Enumeration whose value specifies user information list as the principal source.
|
196 | */
|
197 | UserInfoList = 1,
|
198 | /**
|
199 | * Enumeration whose value specifies Active Directory as the principal source.
|
200 | */
|
201 | Windows = 2,
|
202 | /**
|
203 | * Enumeration whose value specifies the current membership provider as the principal source.
|
204 | */
|
205 | MembershipProvider = 4,
|
206 | /**
|
207 | * Enumeration whose value specifies the current role provider as the principal source.
|
208 | */
|
209 | RoleProvider = 8,
|
210 | /**
|
211 | * Enumeration whose value specifies all principal sources.
|
212 | */
|
213 | All = 15
|
214 | }
|
215 | export interface IPrincipalInfo {
|
216 | Department: string;
|
217 | DisplayName: string;
|
218 | Email: string;
|
219 | JobTitle: string;
|
220 | LoginName: string;
|
221 | Mobile: string;
|
222 | PrincipalId: number;
|
223 | PrincipalType: PrincipalType;
|
224 | SIPAddress: string;
|
225 | }
|
226 | export declare enum PageType {
|
227 | Invalid = -1,
|
228 | DefaultView = 0,
|
229 | NormalView = 1,
|
230 | DialogView = 2,
|
231 | View = 3,
|
232 | DisplayForm = 4,
|
233 | DisplayFormDialog = 5,
|
234 | EditForm = 6,
|
235 | EditFormDialog = 7,
|
236 | NewForm = 8,
|
237 | NewFormDialog = 9,
|
238 | SolutionForm = 10,
|
239 | PAGE_MAXITEMS = 11
|
240 | }
|
241 | //# sourceMappingURL=types.d.ts.map |
\ | No newline at end of file |