UNPKG

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