1 | import { _SPCollection, _SPInstance } from "../spqueryable.js";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export declare class _RecycleBinItem extends _SPInstance<IRecycleBinItemObject> {
|
7 | |
8 |
|
9 |
|
10 |
|
11 | delete(): Promise<void>;
|
12 | |
13 |
|
14 |
|
15 |
|
16 | moveToSecondStage(): Promise<void>;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | restore(): Promise<void>;
|
22 | }
|
23 | export interface IRecycleBinItem extends _RecycleBinItem {
|
24 | }
|
25 | export declare const RecycleBinItem: import("../spqueryable.js").ISPInvokableFactory<IRecycleBinItem>;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare class _RecycleBin extends _SPCollection<IRecycleBinItemObject[]> {
|
31 | |
32 |
|
33 |
|
34 |
|
35 |
|
36 | getById(id: string): IRecycleBinItem;
|
37 | |
38 |
|
39 |
|
40 |
|
41 | deleteAll(): Promise<void>;
|
42 | |
43 |
|
44 |
|
45 |
|
46 | deleteAllSecondStageItems(): Promise<void>;
|
47 | |
48 |
|
49 |
|
50 |
|
51 | moveAllToSecondStage(): Promise<void>;
|
52 | |
53 |
|
54 |
|
55 |
|
56 | restoreAll(): Promise<void>;
|
57 | }
|
58 | export interface IRecycleBin extends _RecycleBin {
|
59 | }
|
60 | export declare const RecycleBin: import("../spqueryable.js").ISPInvokableFactory<IRecycleBin>;
|
61 | export interface IRecycleBinItemObject {
|
62 | AuthorEmail: string;
|
63 | AuthorName: string;
|
64 | DeletedByEmail: string;
|
65 | DeletedByName: string;
|
66 | DeletedDate: string;
|
67 | DeletedDateLocalFormatted: string;
|
68 | DirName: string;
|
69 | DirNamePath: {
|
70 | DecodedUrl: string;
|
71 | };
|
72 | Id: string;
|
73 | ItemState: number;
|
74 | ItemType: number;
|
75 | LeafName: string;
|
76 | LeafNamePath: {
|
77 | DecodedUrl: string;
|
78 | };
|
79 | Size: number;
|
80 | Title: string;
|
81 | }
|
82 |
|
\ | No newline at end of file |