@pnp/graph 3.21.0 → 4.0.0-alpha0
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/analytics/driveItems.d.ts +11 -0
- package/analytics/driveItems.d.ts.map +1 -0
- package/analytics/driveItems.js +4 -0
- package/analytics/driveItems.js.map +1 -0
- package/analytics/index.d.ts +5 -0
- package/analytics/index.d.ts.map +1 -0
- package/analytics/index.js +4 -0
- package/analytics/index.js.map +1 -0
- package/analytics/listItems.d.ts +11 -0
- package/analytics/listItems.d.ts.map +1 -0
- package/analytics/listItems.js +4 -0
- package/analytics/listItems.js.map +1 -0
- package/analytics/sites.d.ts +11 -0
- package/analytics/sites.d.ts.map +1 -0
- package/analytics/sites.js +4 -0
- package/analytics/sites.js.map +1 -0
- package/analytics/types.d.ts +6 -0
- package/analytics/types.d.ts.map +1 -0
- package/analytics/types.js +6 -0
- package/analytics/types.js.map +1 -0
- package/appCatalog/index.d.ts +8 -0
- package/appCatalog/index.d.ts.map +1 -0
- package/appCatalog/index.js +11 -0
- package/appCatalog/index.js.map +1 -0
- package/appCatalog/types.d.ts +79 -0
- package/appCatalog/types.d.ts.map +1 -0
- package/appCatalog/types.js +108 -0
- package/appCatalog/types.js.map +1 -0
- package/attachments/types.d.ts +3 -3
- package/attachments/types.d.ts.map +1 -1
- package/attachments/types.js +3 -4
- package/attachments/types.js.map +1 -1
- package/batching.d.ts.map +1 -1
- package/batching.js +1 -2
- package/batching.js.map +1 -1
- package/behaviors/paged.d.ts +9 -8
- package/behaviors/paged.d.ts.map +1 -1
- package/behaviors/paged.js +15 -26
- package/behaviors/paged.js.map +1 -1
- package/behaviors/spfx.d.ts.map +1 -1
- package/behaviors/spfx.js +12 -0
- package/behaviors/spfx.js.map +1 -1
- package/behaviors/telemetry.js +1 -1
- package/bookings/funcs.d.ts +2 -2
- package/bookings/funcs.d.ts.map +1 -1
- package/bookings/funcs.js +2 -2
- package/bookings/funcs.js.map +1 -1
- package/bookings/types.d.ts +15 -15
- package/bookings/types.d.ts.map +1 -1
- package/bookings/types.js +15 -16
- package/bookings/types.js.map +1 -1
- package/calendars/funcs.d.ts +4 -4
- package/calendars/funcs.d.ts.map +1 -1
- package/calendars/funcs.js +4 -4
- package/calendars/funcs.js.map +1 -1
- package/calendars/types.d.ts +5 -5
- package/calendars/types.d.ts.map +1 -1
- package/calendars/types.js +5 -6
- package/calendars/types.js.map +1 -1
- package/calendars/users.d.ts +3 -3
- package/calendars/users.d.ts.map +1 -1
- package/cloud-communications/types.d.ts +43 -5
- package/cloud-communications/types.d.ts.map +1 -1
- package/cloud-communications/types.js +46 -6
- package/cloud-communications/types.js.map +1 -1
- package/columns/addColumns.d.ts +1 -1
- package/columns/addColumns.d.ts.map +1 -1
- package/columns/addColumns.js +1 -1
- package/columns/addColumns.js.map +1 -1
- package/columns/content-types.js +1 -1
- package/columns/content-types.js.map +1 -1
- package/columns/types.d.ts +3 -3
- package/columns/types.d.ts.map +1 -1
- package/columns/types.js +3 -3
- package/columns/types.js.map +1 -1
- package/contacts/types.d.ts +5 -5
- package/contacts/types.d.ts.map +1 -1
- package/contacts/types.js +5 -6
- package/contacts/types.js.map +1 -1
- package/content-types/lists.d.ts.map +1 -1
- package/content-types/lists.js +2 -3
- package/content-types/lists.js.map +1 -1
- package/content-types/sites.d.ts.map +1 -1
- package/content-types/sites.js +2 -3
- package/content-types/sites.js.map +1 -1
- package/content-types/types.d.ts +3 -3
- package/content-types/types.d.ts.map +1 -1
- package/content-types/types.js +3 -4
- package/content-types/types.js.map +1 -1
- package/conversations/types.d.ts +8 -8
- package/conversations/types.d.ts.map +1 -1
- package/conversations/types.js +8 -9
- package/conversations/types.js.map +1 -1
- package/decorators.d.ts.map +1 -1
- package/decorators.js +1 -1
- package/decorators.js.map +1 -1
- package/directory-objects/types.d.ts +3 -10
- package/directory-objects/types.d.ts.map +1 -1
- package/directory-objects/types.js +5 -16
- package/directory-objects/types.js.map +1 -1
- package/{onedrive → files}/funcs.d.ts +1 -0
- package/files/funcs.d.ts.map +1 -0
- package/{onedrive → files}/funcs.js +4 -1
- package/files/funcs.js.map +1 -0
- package/files/groups.d.ts.map +1 -0
- package/files/groups.js.map +1 -0
- package/{onedrive → files}/index.d.ts +2 -2
- package/files/index.d.ts.map +1 -0
- package/{onedrive → files}/index.js +1 -1
- package/files/index.js.map +1 -0
- package/files/sites.d.ts.map +1 -0
- package/files/sites.js.map +1 -0
- package/{onedrive → files}/types.d.ts +20 -28
- package/files/types.d.ts.map +1 -0
- package/{onedrive → files}/types.js +22 -29
- package/files/types.js.map +1 -0
- package/{onedrive → files}/users.d.ts +1 -7
- package/files/users.d.ts.map +1 -0
- package/{onedrive → files}/users.js +1 -9
- package/files/users.js.map +1 -0
- package/graphqueryable.d.ts +14 -15
- package/graphqueryable.d.ts.map +1 -1
- package/graphqueryable.js +50 -17
- package/graphqueryable.js.map +1 -1
- package/groups/types.d.ts.map +1 -1
- package/groups/types.js +1 -2
- package/groups/types.js.map +1 -1
- package/index.d.ts +1 -2
- package/index.d.ts.map +1 -1
- package/index.js +1 -2
- package/index.js.map +1 -1
- package/insights/types.d.ts +9 -9
- package/insights/types.d.ts.map +1 -1
- package/insights/types.js +9 -9
- package/insights/types.js.map +1 -1
- package/invitations/types.d.ts +2 -2
- package/invitations/types.d.ts.map +1 -1
- package/invitations/types.js +2 -3
- package/invitations/types.js.map +1 -1
- package/list-item/document-sets.d.ts +10 -0
- package/list-item/document-sets.d.ts.map +1 -0
- package/list-item/document-sets.js +4 -0
- package/list-item/document-sets.js.map +1 -0
- package/list-item/index.d.ts +4 -0
- package/list-item/index.d.ts.map +1 -0
- package/list-item/index.js +4 -0
- package/list-item/index.js.map +1 -0
- package/list-item/list.d.ts +10 -0
- package/list-item/list.d.ts.map +1 -0
- package/list-item/list.js +5 -0
- package/list-item/list.js.map +1 -0
- package/list-item/types.d.ts +62 -0
- package/list-item/types.d.ts.map +1 -0
- package/list-item/types.js +65 -0
- package/list-item/types.js.map +1 -0
- package/lists/drive.d.ts +1 -1
- package/lists/drive.d.ts.map +1 -1
- package/lists/drive.js +1 -1
- package/lists/drive.js.map +1 -1
- package/lists/types.d.ts +6 -6
- package/lists/types.d.ts.map +1 -1
- package/lists/types.js +7 -8
- package/lists/types.js.map +1 -1
- package/mail/funcs.d.ts +12 -0
- package/mail/funcs.d.ts.map +1 -0
- package/mail/funcs.js +15 -0
- package/mail/funcs.js.map +1 -0
- package/mail/groups.d.ts +1 -0
- package/mail/groups.d.ts.map +1 -0
- package/mail/groups.js +1 -0
- package/mail/groups.js.map +1 -0
- package/mail/index.d.ts +2 -0
- package/mail/index.d.ts.map +1 -0
- package/mail/index.js +4 -0
- package/mail/index.js.map +1 -0
- package/mail/types.d.ts +1 -0
- package/mail/types.d.ts.map +1 -0
- package/mail/types.js +1 -0
- package/mail/types.js.map +1 -0
- package/mail/users.d.ts +10 -0
- package/mail/users.d.ts.map +1 -0
- package/mail/users.js +7 -0
- package/mail/users.js.map +1 -0
- package/members/types.d.ts +3 -3
- package/members/types.d.ts.map +1 -1
- package/members/types.js +3 -4
- package/members/types.js.map +1 -1
- package/messages/types.d.ts +6 -6
- package/messages/types.d.ts.map +1 -1
- package/messages/types.js +6 -6
- package/messages/types.js.map +1 -1
- package/messages/users.d.ts +3 -4
- package/messages/users.d.ts.map +1 -1
- package/messages/users.js +1 -1
- package/messages/users.js.map +1 -1
- package/onenote/types.d.ts +7 -7
- package/onenote/types.d.ts.map +1 -1
- package/onenote/types.js +7 -8
- package/onenote/types.js.map +1 -1
- package/operations/index.d.ts +4 -0
- package/operations/index.d.ts.map +1 -0
- package/operations/index.js +4 -0
- package/operations/index.js.map +1 -0
- package/operations/list.d.ts +10 -0
- package/operations/list.d.ts.map +1 -0
- package/operations/list.js +5 -0
- package/operations/list.js.map +1 -0
- package/operations/site.d.ts +10 -0
- package/operations/site.d.ts.map +1 -0
- package/operations/site.js +5 -0
- package/operations/site.js.map +1 -0
- package/operations/types.d.ts +11 -0
- package/operations/types.d.ts.map +1 -0
- package/operations/types.js +14 -0
- package/operations/types.js.map +1 -0
- package/outlook/types.d.ts +7 -7
- package/outlook/types.d.ts.map +1 -1
- package/outlook/types.js +4 -4
- package/outlook/types.js.map +1 -1
- package/package.json +5 -5
- package/permissions/index.d.ts +3 -0
- package/permissions/index.d.ts.map +1 -0
- package/permissions/index.js +3 -0
- package/permissions/index.js.map +1 -0
- package/permissions/site.d.ts +10 -0
- package/permissions/site.d.ts.map +1 -0
- package/permissions/site.js +5 -0
- package/permissions/site.js.map +1 -0
- package/permissions/types.d.ts +21 -0
- package/permissions/types.d.ts.map +1 -0
- package/permissions/types.js +30 -0
- package/permissions/types.js.map +1 -0
- package/photos/groups.d.ts +1 -3
- package/photos/groups.d.ts.map +1 -1
- package/photos/groups.js +1 -2
- package/photos/groups.js.map +1 -1
- package/photos/index.d.ts +0 -1
- package/photos/index.d.ts.map +1 -1
- package/photos/index.js +0 -1
- package/photos/index.js.map +1 -1
- package/photos/types.d.ts +3 -12
- package/photos/types.d.ts.map +1 -1
- package/photos/types.js +2 -16
- package/photos/types.js.map +1 -1
- package/photos/users.d.ts +1 -3
- package/photos/users.d.ts.map +1 -1
- package/photos/users.js +1 -2
- package/photos/users.js.map +1 -1
- package/planner/types.d.ts +10 -10
- package/planner/types.d.ts.map +1 -1
- package/planner/types.js +10 -11
- package/planner/types.js.map +1 -1
- package/presets/all.d.ts +6 -2
- package/presets/all.d.ts.map +1 -1
- package/presets/all.js +6 -2
- package/presets/all.js.map +1 -1
- package/search/types.d.ts +2 -2
- package/search/types.d.ts.map +1 -1
- package/search/types.js +2 -3
- package/search/types.js.map +1 -1
- package/shares/types.d.ts +4 -4
- package/shares/types.d.ts.map +1 -1
- package/shares/types.js +4 -4
- package/shares/types.js.map +1 -1
- package/sites/index.d.ts +1 -0
- package/sites/index.d.ts.map +1 -1
- package/sites/index.js +1 -0
- package/sites/index.js.map +1 -1
- package/sites/types.d.ts +37 -4
- package/sites/types.d.ts.map +1 -1
- package/sites/types.js +51 -5
- package/sites/types.js.map +1 -1
- package/sites/user.d.ts +10 -0
- package/sites/user.d.ts.map +1 -0
- package/sites/user.js +5 -0
- package/sites/user.js.map +1 -0
- package/subscriptions/types.d.ts +3 -3
- package/subscriptions/types.d.ts.map +1 -1
- package/subscriptions/types.js +3 -4
- package/subscriptions/types.js.map +1 -1
- package/teams/index.js +1 -1
- package/teams/index.js.map +1 -1
- package/teams/types.d.ts +16 -15
- package/teams/types.d.ts.map +1 -1
- package/teams/types.js +22 -18
- package/teams/types.js.map +1 -1
- package/teams/users.d.ts +3 -1
- package/teams/users.d.ts.map +1 -1
- package/teams/users.js +2 -1
- package/teams/users.js.map +1 -1
- package/onedrive/funcs.d.ts.map +0 -1
- package/onedrive/funcs.js.map +0 -1
- package/onedrive/groups.d.ts.map +0 -1
- package/onedrive/groups.js.map +0 -1
- package/onedrive/index.d.ts.map +0 -1
- package/onedrive/index.js.map +0 -1
- package/onedrive/sites.d.ts.map +0 -1
- package/onedrive/sites.js.map +0 -1
- package/onedrive/types.d.ts.map +0 -1
- package/onedrive/types.js.map +0 -1
- package/onedrive/users.d.ts.map +0 -1
- package/onedrive/users.js.map +0 -1
- package/operations.d.ts +0 -7
- package/operations.d.ts.map +0 -1
- package/operations.js +0 -17
- package/operations.js.map +0 -1
- package/photos/teams.d.ts +0 -10
- package/photos/teams.d.ts.map +0 -1
- package/photos/teams.js +0 -5
- package/photos/teams.js.map +0 -1
- /package/{onedrive → files}/groups.d.ts +0 -0
- /package/{onedrive → files}/groups.js +0 -0
- /package/{onedrive → files}/sites.d.ts +0 -0
- /package/{onedrive → files}/sites.js +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ListItem as IListItemEntity, ListItemVersion as IListItemVersion, DocumentSetVersion as IDocumentSetVersionEntity } from "@microsoft/microsoft-graph-types";
|
|
2
|
+
import { _GraphCollection, _GraphInstance, IGraphCollection } from "../graphqueryable.js";
|
|
3
|
+
import { IDeleteable, IUpdateable, IGetById, IAddable } from "../decorators.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a list item entity
|
|
6
|
+
*/
|
|
7
|
+
export declare class _ListItem extends _GraphInstance<IListItemEntity> {
|
|
8
|
+
/**
|
|
9
|
+
* Method for retrieving the versions of a list item.
|
|
10
|
+
* @returns IListItemVersion
|
|
11
|
+
*/
|
|
12
|
+
get versions(): IGraphCollection<IListItemVersion>;
|
|
13
|
+
}
|
|
14
|
+
export interface IListItem extends _ListItem, IDeleteable, IUpdateable {
|
|
15
|
+
}
|
|
16
|
+
export declare const ListItem: import("../graphqueryable.js").IGraphInvokableFactory<IListItem>;
|
|
17
|
+
/**
|
|
18
|
+
* Describes a collection of list item objects
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class _ListItems extends _GraphCollection<IListItemEntity[]> {
|
|
22
|
+
}
|
|
23
|
+
export interface IListItems extends _ListItems, IGetById<IListItem>, IAddable<IListItemEntity> {
|
|
24
|
+
}
|
|
25
|
+
export declare const ListItems: import("../graphqueryable.js").IGraphInvokableFactory<IListItems>;
|
|
26
|
+
/**
|
|
27
|
+
* Represents a document set version
|
|
28
|
+
*/
|
|
29
|
+
export declare class _DocumentSetVersion extends _GraphInstance<IDocumentSetVersionEntity> {
|
|
30
|
+
/**
|
|
31
|
+
* Restore a document set version
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
restore(): Promise<void>;
|
|
35
|
+
}
|
|
36
|
+
export interface IDocumentSetVersion extends _DocumentSetVersion, IDeleteable {
|
|
37
|
+
}
|
|
38
|
+
export declare const DocumentSetVersion: import("../graphqueryable.js").IGraphInvokableFactory<IDocumentSetVersion>;
|
|
39
|
+
/**
|
|
40
|
+
* Describes a collection of document set versions
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export declare class _DocumentSetVersions extends _GraphCollection<IDocumentSetVersionEntity[]> {
|
|
44
|
+
}
|
|
45
|
+
export interface IDocumentSetVersions extends _DocumentSetVersions, IGetById<IDocumentSetVersion>, IAddable<IDocumentSetVersionEntity> {
|
|
46
|
+
}
|
|
47
|
+
export declare const DocumentSetVersions: import("../graphqueryable.js").IGraphInvokableFactory<IDocumentSetVersions>;
|
|
48
|
+
/**
|
|
49
|
+
* IDocumentSetVersionAddResult
|
|
50
|
+
*/
|
|
51
|
+
export interface IDocumentSetVersionAddResult {
|
|
52
|
+
item: IDocumentSetVersion;
|
|
53
|
+
data: IDocumentSetVersionEntity;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* IListAddResult
|
|
57
|
+
*/
|
|
58
|
+
export interface IListItemAddResult {
|
|
59
|
+
list: IListItem;
|
|
60
|
+
data: IListItemEntity;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/list-item/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,eAAe,IAAI,gBAAgB,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AACrK,OAAO,EAAE,gBAAgB,EAAyB,cAAc,EAAE,gBAAgB,EAA8B,MAAM,sBAAsB,CAAC;AAC7I,OAAO,EAA2B,WAAW,EAAc,WAAW,EAAW,QAAQ,EAAW,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvI;;GAEG;AACH,qBAEa,SAAU,SAAQ,cAAc,CAAC,eAAe,CAAC;IAC1D;;;OAGG;IACH,IAAW,QAAQ,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAExD;CACJ;AACD,MAAM,WAAW,SAAU,SAAQ,SAAS,EAAE,WAAW,EAAE,WAAW;CAAG;AACzE,eAAO,MAAM,QAAQ,kEAA8C,CAAC;AAEpE;;;GAGG;AACH,qBAGa,UAAW,SAAQ,gBAAgB,CAAC,eAAe,EAAE,CAAC;CAAE;AAErE,MAAM,WAAW,UAAW,SAAQ,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;CAAI;AAClG,eAAO,MAAM,SAAS,mEAAgD,CAAC;AAEvE;;GAEG;AACH,qBACa,mBAAoB,SAAQ,cAAc,CAAC,yBAAyB,CAAC;IAC9E;;;OAGG;IACU,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAGxC;AACD,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB,EAAE,WAAW;CAAI;AACjF,eAAO,MAAM,kBAAkB,4EAAkE,CAAC;AAElG;;;GAGG;AACH,qBAGa,oBAAqB,SAAQ,gBAAgB,CAAC,yBAAyB,EAAE,CAAC;CAAE;AACzF,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB,EAAE,QAAQ,CAAC,mBAAmB,CAAC,EAAE,QAAQ,CAAC,yBAAyB,CAAC;CAAI;AAC1I,eAAO,MAAM,mBAAmB,6EAAoE,CAAC;AAErG;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,IAAI,EAAE,yBAAyB,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,eAAe,CAAC;CACzB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { _GraphCollection, graphInvokableFactory, _GraphInstance, GraphCollection, graphPost } from "../graphqueryable.js";
|
|
3
|
+
import { defaultPath, deleteable, updateable, getById, addable } from "../decorators.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a list item entity
|
|
6
|
+
*/
|
|
7
|
+
let _ListItem = class _ListItem extends _GraphInstance {
|
|
8
|
+
/**
|
|
9
|
+
* Method for retrieving the versions of a list item.
|
|
10
|
+
* @returns IListItemVersion
|
|
11
|
+
*/
|
|
12
|
+
get versions() {
|
|
13
|
+
return GraphCollection(this, "versions");
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
_ListItem = __decorate([
|
|
17
|
+
deleteable(),
|
|
18
|
+
updateable()
|
|
19
|
+
], _ListItem);
|
|
20
|
+
export { _ListItem };
|
|
21
|
+
export const ListItem = graphInvokableFactory(_ListItem);
|
|
22
|
+
/**
|
|
23
|
+
* Describes a collection of list item objects
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
let _ListItems = class _ListItems extends _GraphCollection {
|
|
27
|
+
};
|
|
28
|
+
_ListItems = __decorate([
|
|
29
|
+
defaultPath("items"),
|
|
30
|
+
getById(ListItem),
|
|
31
|
+
addable()
|
|
32
|
+
], _ListItems);
|
|
33
|
+
export { _ListItems };
|
|
34
|
+
export const ListItems = graphInvokableFactory(_ListItems);
|
|
35
|
+
/**
|
|
36
|
+
* Represents a document set version
|
|
37
|
+
*/
|
|
38
|
+
let _DocumentSetVersion = class _DocumentSetVersion extends _GraphInstance {
|
|
39
|
+
/**
|
|
40
|
+
* Restore a document set version
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
async restore() {
|
|
44
|
+
return graphPost(DocumentSetVersion(this, "restore"));
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
_DocumentSetVersion = __decorate([
|
|
48
|
+
deleteable()
|
|
49
|
+
], _DocumentSetVersion);
|
|
50
|
+
export { _DocumentSetVersion };
|
|
51
|
+
export const DocumentSetVersion = graphInvokableFactory(_DocumentSetVersion);
|
|
52
|
+
/**
|
|
53
|
+
* Describes a collection of document set versions
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
let _DocumentSetVersions = class _DocumentSetVersions extends _GraphCollection {
|
|
57
|
+
};
|
|
58
|
+
_DocumentSetVersions = __decorate([
|
|
59
|
+
defaultPath("documentSetVersions"),
|
|
60
|
+
getById(DocumentSetVersion),
|
|
61
|
+
addable()
|
|
62
|
+
], _DocumentSetVersions);
|
|
63
|
+
export { _DocumentSetVersions };
|
|
64
|
+
export const DocumentSetVersions = graphInvokableFactory(_DocumentSetVersions);
|
|
65
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/list-item/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,cAAc,EAAoB,eAAe,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC7I,OAAO,EAAE,WAAW,EAAE,UAAU,EAAe,UAAU,EAAe,OAAO,EAAY,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAEvI;;GAEG;AAGH,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,cAA+B;IAC1D;;;OAGG;IACH,IAAW,QAAQ;QACf,OAAY,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AARY,SAAS;IAFrB,UAAU,EAAE;IACZ,UAAU,EAAE;GACA,SAAS,CAQrB;SARY,SAAS;AAUtB,MAAM,CAAC,MAAM,QAAQ,GAAG,qBAAqB,CAAY,SAAS,CAAC,CAAC;AAEpE;;;GAGG;AAIH,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,gBAAmC;CAAE,CAAA;AAAxD,UAAU;IAHtB,WAAW,CAAC,OAAO,CAAC;IACpB,OAAO,CAAC,QAAQ,CAAC;IACjB,OAAO,EAAE;GACG,UAAU,CAA8C;SAAxD,UAAU;AAGvB,MAAM,CAAC,MAAM,SAAS,GAAG,qBAAqB,CAAa,UAAU,CAAC,CAAC;AAEvE;;GAEG;AAEH,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,cAAyC;IAC9E;;;OAGG;IACI,KAAK,CAAC,OAAO;QAChB,OAAO,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;IAC1D,CAAC;CACJ,CAAA;AARY,mBAAmB;IAD/B,UAAU,EAAE;GACA,mBAAmB,CAQ/B;SARY,mBAAmB;AAUhC,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAsB,mBAAmB,CAAC,CAAC;AAElG;;;GAGG;AAIH,IAAa,oBAAoB,GAAjC,MAAa,oBAAqB,SAAQ,gBAA6C;CAAE,CAAA;AAA5E,oBAAoB;IAHhC,WAAW,CAAC,qBAAqB,CAAC;IAClC,OAAO,CAAC,kBAAkB,CAAC;IAC3B,OAAO,EAAE;GACG,oBAAoB,CAAwD;SAA5E,oBAAoB;AAEjC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAuB,oBAAoB,CAAC,CAAC"}
|
package/lists/drive.d.ts
CHANGED
package/lists/drive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive.d.ts","sourceRoot":"","sources":["../../../../packages/graph/lists/drive.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"drive.d.ts","sourceRoot":"","sources":["../../../../packages/graph/lists/drive.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,QAAQ,gBAAgB,CAAC;IAC5B,UAAU,MAAM;QACZ,OAAO,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC;KACjC;IACD,UAAU,MAAM;QACZ;;WAEG;QACH,OAAO,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC;KACjC;CACJ"}
|
package/lists/drive.js
CHANGED
package/lists/drive.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../../../packages/graph/lists/drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"drive.js","sourceRoot":"","sources":["../../../../packages/graph/lists/drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAS,MAAM,YAAY,CAAC;AAczC,MAAM,CAAC,SAAS,CAAC,OAAO,GAAG,KAAK;IAC5B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;IAE5B,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,eAAe,CAAC,MAAM,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC;IAC/D,OAAO,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;AAC7B,CAAC,CAAC"}
|
package/lists/types.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { List as IListEntity } from "@microsoft/microsoft-graph-types";
|
|
2
|
-
import {
|
|
2
|
+
import { _GraphCollection, _GraphInstance } from "../graphqueryable.js";
|
|
3
3
|
import { IDeleteable, IUpdateable, IGetById } from "../decorators.js";
|
|
4
4
|
/**
|
|
5
|
-
* Represents a
|
|
5
|
+
* Represents a list entity
|
|
6
6
|
*/
|
|
7
|
-
export declare class _List extends
|
|
7
|
+
export declare class _List extends _GraphInstance<IListEntity> {
|
|
8
8
|
}
|
|
9
9
|
export interface IList extends _List, IDeleteable, IUpdateable {
|
|
10
10
|
}
|
|
11
11
|
export declare const List: import("../graphqueryable.js").IGraphInvokableFactory<IList>;
|
|
12
12
|
/**
|
|
13
|
-
* Describes a collection of
|
|
13
|
+
* Describes a collection of list objects
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
export declare class _Lists extends
|
|
16
|
+
export declare class _Lists extends _GraphCollection<IListEntity[]> {
|
|
17
17
|
/**
|
|
18
|
-
* Create a new
|
|
18
|
+
* Create a new list as specified in the request body.
|
|
19
19
|
*
|
|
20
20
|
* @param list a JSON representation of a List object.
|
|
21
21
|
*/
|
package/lists/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/lists/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/lists/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAyB,cAAc,EAAa,MAAM,sBAAsB,CAAC;AAC1G,OAAO,EAA2B,WAAW,EAAc,WAAW,EAAW,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGpH;;GAEG;AACH,qBAEa,KAAM,SAAQ,cAAc,CAAC,WAAW,CAAC;CAAI;AAC1D,MAAM,WAAW,KAAM,SAAQ,KAAK,EAAE,WAAW,EAAE,WAAW;CAAI;AAClE,eAAO,MAAM,IAAI,8DAAsC,CAAC;AAExD;;;GAGG;AACH,qBAEa,MAAO,SAAQ,gBAAgB,CAAC,WAAW,EAAE,CAAC;IACvD;;;;OAIG;IACU,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC;CAQ/D;AAED,MAAM,WAAW,MAAO,SAAQ,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC;CAAI;AAC3D,eAAO,MAAM,KAAK,+DAAwC,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,WAAW,CAAC;CACrB"}
|
package/lists/types.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { _GraphCollection, graphInvokableFactory, _GraphInstance, graphPost } from "../graphqueryable.js";
|
|
3
3
|
import { defaultPath, deleteable, updateable, getById } from "../decorators.js";
|
|
4
|
-
import { graphPost } from "../operations.js";
|
|
5
4
|
import { body } from "@pnp/queryable";
|
|
6
5
|
/**
|
|
7
|
-
* Represents a
|
|
6
|
+
* Represents a list entity
|
|
8
7
|
*/
|
|
9
|
-
let _List = class _List extends
|
|
8
|
+
let _List = class _List extends _GraphInstance {
|
|
10
9
|
};
|
|
11
10
|
_List = __decorate([
|
|
12
11
|
deleteable(),
|
|
@@ -15,12 +14,12 @@ _List = __decorate([
|
|
|
15
14
|
export { _List };
|
|
16
15
|
export const List = graphInvokableFactory(_List);
|
|
17
16
|
/**
|
|
18
|
-
* Describes a collection of
|
|
17
|
+
* Describes a collection of list objects
|
|
19
18
|
*
|
|
20
19
|
*/
|
|
21
|
-
let _Lists = class _Lists extends
|
|
20
|
+
let _Lists = class _Lists extends _GraphCollection {
|
|
22
21
|
/**
|
|
23
|
-
* Create a new
|
|
22
|
+
* Create a new list as specified in the request body.
|
|
24
23
|
*
|
|
25
24
|
* @param list a JSON representation of a List object.
|
|
26
25
|
*/
|
|
@@ -33,7 +32,7 @@ let _Lists = class _Lists extends _GraphQueryableCollection {
|
|
|
33
32
|
}
|
|
34
33
|
};
|
|
35
34
|
_Lists = __decorate([
|
|
36
|
-
defaultPath("
|
|
35
|
+
defaultPath("lists"),
|
|
37
36
|
getById(List)
|
|
38
37
|
], _Lists);
|
|
39
38
|
export { _Lists };
|
package/lists/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/lists/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/lists/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1G,OAAO,EAAE,WAAW,EAAE,UAAU,EAAe,UAAU,EAAe,OAAO,EAAY,MAAM,kBAAkB,CAAC;AACpH,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC;;GAEG;AAGH,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,cAA2B;CAAI,CAAA;AAA7C,KAAK;IAFjB,UAAU,EAAE;IACZ,UAAU,EAAE;GACA,KAAK,CAAwC;SAA7C,KAAK;AAElB,MAAM,CAAC,MAAM,IAAI,GAAG,qBAAqB,CAAQ,KAAK,CAAC,CAAC;AAExD;;;GAGG;AAGH,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,gBAA+B;IACvD;;;;OAIG;IACI,KAAK,CAAC,GAAG,CAAC,IAAiB;QAC9B,MAAM,IAAI,GAAG,MAAM,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAE/C,OAAO;YACH,IAAI;YACJ,IAAI,EAAQ,IAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;SACrC,CAAC;IACN,CAAC;CACJ,CAAA;AAdY,MAAM;IAFlB,WAAW,CAAC,OAAO,CAAC;IACpB,OAAO,CAAC,IAAI,CAAC;GACD,MAAM,CAclB;SAdY,MAAM;AAiBnB,MAAM,CAAC,MAAM,KAAK,GAAG,qBAAqB,CAAS,MAAM,CAAC,CAAC"}
|
package/mail/funcs.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IGraphQueryable } from "../graphqueryable.js";
|
|
2
|
+
/**
|
|
3
|
+
* Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,
|
|
4
|
+
* from the user's default calendar, or from some other calendar of the user's
|
|
5
|
+
*
|
|
6
|
+
* @param this IGraphQueryable instance
|
|
7
|
+
* @param message - should roughly match Message type in @microsoft/microsoft-graph-types.
|
|
8
|
+
* Am not typing the property because attaching a file require the property "@odata.type": "#microsoft.graph.fileAttachment"
|
|
9
|
+
* which is not included the typing and therefore will make the function unusable in that scenario.
|
|
10
|
+
*/
|
|
11
|
+
export declare function mailSend(this: IGraphQueryable, message: any): Promise<void>;
|
|
12
|
+
//# sourceMappingURL=funcs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funcs.d.ts","sourceRoot":"","sources":["../../../../packages/graph/mail/funcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA8B,MAAM,sBAAsB,CAAC;AAGnF;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3E"}
|
package/mail/funcs.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GraphCollection, graphPost } from "../graphqueryable.js";
|
|
2
|
+
import { body } from "@pnp/queryable";
|
|
3
|
+
/**
|
|
4
|
+
* Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,
|
|
5
|
+
* from the user's default calendar, or from some other calendar of the user's
|
|
6
|
+
*
|
|
7
|
+
* @param this IGraphQueryable instance
|
|
8
|
+
* @param message - should roughly match Message type in @microsoft/microsoft-graph-types.
|
|
9
|
+
* Am not typing the property because attaching a file require the property "@odata.type": "#microsoft.graph.fileAttachment"
|
|
10
|
+
* which is not included the typing and therefore will make the function unusable in that scenario.
|
|
11
|
+
*/
|
|
12
|
+
export function mailSend(message) {
|
|
13
|
+
return graphPost(GraphCollection(this, "mailSend"), body(message));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=funcs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funcs.js","sourceRoot":"","sources":["../../../../packages/graph/mail/funcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,UAAU,QAAQ,CAAwB,OAAY;IACxD,OAAO,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACvE,CAAC"}
|
package/mail/groups.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../packages/graph/mail/groups.ts"],"names":[],"mappings":""}
|
package/mail/groups.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=groups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../../packages/graph/mail/groups.ts"],"names":[],"mappings":""}
|
package/mail/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/graph/mail/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC"}
|
package/mail/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/graph/mail/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAEpB,WAAW;AAEX,uBAAuB"}
|
package/mail/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/mail/types.ts"],"names":[],"mappings":""}
|
package/mail/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/mail/types.ts"],"names":[],"mappings":""}
|
package/mail/users.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../packages/graph/mail/users.ts"],"names":[],"mappings":"AAGA,OAAO,QAAQ,gBAAgB,CAAC;IAC5B,UAAU,KAAK;QACX,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;KAChC;IACD,UAAU,KAAK;QACX,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;KAChC;CACJ"}
|
package/mail/users.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { _User } from "../users/types.js";
|
|
2
|
+
import { mailSend } from "./funcs.js";
|
|
3
|
+
// addProp(_User, "calendar", Calendar);
|
|
4
|
+
// addProp(_User, "calendars", Calendars);
|
|
5
|
+
// addProp(_User, "events", Events);
|
|
6
|
+
_User.prototype.mailSend = mailSend;
|
|
7
|
+
//# sourceMappingURL=users.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../packages/graph/mail/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAWtC,wCAAwC;AACxC,0CAA0C;AAC1C,oCAAoC;AAEpC,KAAK,CAAC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
package/members/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { User as IMemberType } from "@microsoft/microsoft-graph-types";
|
|
2
|
-
import {
|
|
2
|
+
import { _GraphCollection, _GraphInstance } from "../graphqueryable.js";
|
|
3
3
|
import { IGetById } from "../decorators.js";
|
|
4
4
|
/**
|
|
5
5
|
* Member
|
|
6
6
|
*/
|
|
7
|
-
export declare class _Member extends
|
|
7
|
+
export declare class _Member extends _GraphInstance<IMemberType> {
|
|
8
8
|
/**
|
|
9
9
|
* Removes this Member
|
|
10
10
|
*/
|
|
@@ -16,7 +16,7 @@ export declare const Member: import("../graphqueryable.js").IGraphInvokableFacto
|
|
|
16
16
|
/**
|
|
17
17
|
* Members
|
|
18
18
|
*/
|
|
19
|
-
export declare class _Members extends
|
|
19
|
+
export declare class _Members extends _GraphCollection<IMemberType[]> {
|
|
20
20
|
/**
|
|
21
21
|
* Use this API to add a member to an Office 365 group, a security group or a mail-enabled security group through
|
|
22
22
|
* the members navigation property. You can add users or other groups.
|
package/members/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/members/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/members/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAiD,MAAM,sBAAsB,CAAC;AACvH,OAAO,EAAwB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpD;;OAEG;IACI,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;CAGjC;AACD,MAAM,WAAW,OAAQ,SAAQ,OAAO;CAAI;AAC5C,eAAO,MAAM,MAAM,gEAA0C,CAAC;AAE9D;;GAEG;AACH,qBAEa,QAAS,SAAQ,gBAAgB,CAAC,WAAW,EAAE,CAAC;IAEzD;;;;;;OAMG;IACI,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAGvC;AACD,MAAM,WAAW,QAAS,SAAQ,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC;CAAI;AACjE,eAAO,MAAM,OAAO,iEAA4C,CAAC"}
|
package/members/types.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { body } from "@pnp/queryable";
|
|
3
|
-
import {
|
|
3
|
+
import { _GraphCollection, _GraphInstance, graphInvokableFactory, graphDelete, graphPost } from "../graphqueryable.js";
|
|
4
4
|
import { defaultPath, getById } from "../decorators.js";
|
|
5
|
-
import { graphDelete, graphPost } from "../operations.js";
|
|
6
5
|
/**
|
|
7
6
|
* Member
|
|
8
7
|
*/
|
|
9
|
-
export class _Member extends
|
|
8
|
+
export class _Member extends _GraphInstance {
|
|
10
9
|
/**
|
|
11
10
|
* Removes this Member
|
|
12
11
|
*/
|
|
@@ -18,7 +17,7 @@ export const Member = graphInvokableFactory(_Member);
|
|
|
18
17
|
/**
|
|
19
18
|
* Members
|
|
20
19
|
*/
|
|
21
|
-
let _Members = class _Members extends
|
|
20
|
+
let _Members = class _Members extends _GraphCollection {
|
|
22
21
|
/**
|
|
23
22
|
* Use this API to add a member to an Office 365 group, a security group or a mail-enabled security group through
|
|
24
23
|
* the members navigation property. You can add users or other groups.
|
package/members/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/members/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/members/types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,qBAAqB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACvH,OAAO,EAAE,WAAW,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAElE;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,cAA2B;IACpD;;OAEG;IACI,MAAM;QACT,OAAO,WAAW,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;CACJ;AAED,MAAM,CAAC,MAAM,MAAM,GAAG,qBAAqB,CAAU,OAAO,CAAC,CAAC;AAE9D;;GAEG;AAGH,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,gBAA+B;IAEzD;;;;;;OAMG;IACI,GAAG,CAAC,EAAU;QACjB,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,IAAI,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;CACJ,CAAA;AAZY,QAAQ;IAFpB,WAAW,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,MAAM,CAAC;GACH,QAAQ,CAYpB;SAZY,QAAQ;AAcrB,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAW,QAAQ,CAAC,CAAC"}
|
package/messages/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Message as IMessageType, MailFolder as IMailFolderType, MailboxSettings as IMailboxSettingsType } from "@microsoft/microsoft-graph-types";
|
|
2
|
-
import {
|
|
2
|
+
import { _GraphInstance, _GraphCollection } from "../graphqueryable.js";
|
|
3
3
|
import { IGetById, IAddable, IUpdateable } from "../decorators.js";
|
|
4
4
|
/**
|
|
5
5
|
* Message
|
|
6
6
|
*/
|
|
7
|
-
export declare class _Message extends
|
|
7
|
+
export declare class _Message extends _GraphInstance<IMessageType> {
|
|
8
8
|
}
|
|
9
9
|
export interface IMessage extends _Message {
|
|
10
10
|
}
|
|
@@ -12,7 +12,7 @@ export declare const Message: import("../graphqueryable.js").IGraphInvokableFact
|
|
|
12
12
|
/**
|
|
13
13
|
* Messages
|
|
14
14
|
*/
|
|
15
|
-
export declare class _Messages extends
|
|
15
|
+
export declare class _Messages extends _GraphCollection<IMessageType[]> {
|
|
16
16
|
}
|
|
17
17
|
export interface IMessages extends _Messages, IGetById<IMessage>, IAddable<IMessageType> {
|
|
18
18
|
}
|
|
@@ -20,7 +20,7 @@ export declare const Messages: import("../graphqueryable.js").IGraphInvokableFac
|
|
|
20
20
|
/**
|
|
21
21
|
* MailFolder
|
|
22
22
|
*/
|
|
23
|
-
export declare class _MailFolder extends
|
|
23
|
+
export declare class _MailFolder extends _GraphInstance<IMailFolderType> {
|
|
24
24
|
}
|
|
25
25
|
export interface IMailFolder extends _MailFolder {
|
|
26
26
|
}
|
|
@@ -28,7 +28,7 @@ export declare const MailFolder: import("../graphqueryable.js").IGraphInvokableF
|
|
|
28
28
|
/**
|
|
29
29
|
* MailFolders
|
|
30
30
|
*/
|
|
31
|
-
export declare class _MailFolders extends
|
|
31
|
+
export declare class _MailFolders extends _GraphCollection<IMailFolderType[]> {
|
|
32
32
|
}
|
|
33
33
|
export interface IMailFolders extends _MailFolders, IGetById<IMailFolder>, IAddable<IMailFolderType> {
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@ export declare const MailFolders: import("../graphqueryable.js").IGraphInvokable
|
|
|
36
36
|
/**
|
|
37
37
|
* MailboxSettings
|
|
38
38
|
*/
|
|
39
|
-
export declare class _MailboxSettings extends
|
|
39
|
+
export declare class _MailboxSettings extends _GraphInstance<IMailboxSettingsType> {
|
|
40
40
|
}
|
|
41
41
|
export interface IMailboxSettings extends _MailboxSettings, IUpdateable<IMailboxSettingsType> {
|
|
42
42
|
}
|
package/messages/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/messages/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,UAAU,IAAI,eAAe,EAAE,eAAe,IAAI,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACnJ,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/graph/messages/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,UAAU,IAAI,eAAe,EAAE,eAAe,IAAI,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACnJ,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAyB,MAAM,sBAAsB,CAAC;AAC/F,OAAO,EAAiC,QAAQ,EAAE,QAAQ,EAAc,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE9G;;GAEG;AACH,qBAAa,QAAS,SAAQ,cAAc,CAAC,YAAY,CAAC;CAAI;AAC9D,MAAM,WAAW,QAAS,SAAQ,QAAQ;CAAI;AAC9C,eAAO,MAAM,OAAO,iEAA4C,CAAC;AAEjE;;GAEG;AACH,qBAGa,SAAU,SAAQ,gBAAgB,CAAC,YAAY,EAAE,CAAC;CAAI;AACnE,MAAM,WAAW,SAAU,SAAQ,SAAS,EAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC;CAAI;AAC5F,eAAO,MAAM,QAAQ,kEAA8C,CAAC;AAEpE;;GAEG;AACH,qBAAa,WAAY,SAAQ,cAAc,CAAC,eAAe,CAAC;CAAI;AACpE,MAAM,WAAW,WAAY,SAAQ,WAAW;CAAI;AACpD,eAAO,MAAM,UAAU,oEAAkD,CAAC;AAE1E;;GAEG;AACH,qBAGa,YAAa,SAAQ,gBAAgB,CAAC,eAAe,EAAE,CAAC;CAAI;AACzE,MAAM,WAAW,YAAa,SAAQ,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;CAAI;AACxG,eAAO,MAAM,WAAW,qEAAoD,CAAC;AAE7E;;GAEG;AACH,qBAEa,gBAAiB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAI;AAC9E,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB,EAAE,WAAW,CAAC,oBAAoB,CAAC;CAAI;AACjG,eAAO,MAAM,eAAe,yEAA4D,CAAC"}
|
package/messages/types.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { _GraphInstance, _GraphCollection, graphInvokableFactory } from "../graphqueryable.js";
|
|
3
3
|
import { defaultPath, getById, addable, updateable } from "../decorators.js";
|
|
4
4
|
/**
|
|
5
5
|
* Message
|
|
6
6
|
*/
|
|
7
|
-
export class _Message extends
|
|
7
|
+
export class _Message extends _GraphInstance {
|
|
8
8
|
}
|
|
9
9
|
export const Message = graphInvokableFactory(_Message);
|
|
10
10
|
/**
|
|
11
11
|
* Messages
|
|
12
12
|
*/
|
|
13
|
-
let _Messages = class _Messages extends
|
|
13
|
+
let _Messages = class _Messages extends _GraphCollection {
|
|
14
14
|
};
|
|
15
15
|
_Messages = __decorate([
|
|
16
16
|
defaultPath("messages"),
|
|
@@ -22,13 +22,13 @@ export const Messages = graphInvokableFactory(_Messages);
|
|
|
22
22
|
/**
|
|
23
23
|
* MailFolder
|
|
24
24
|
*/
|
|
25
|
-
export class _MailFolder extends
|
|
25
|
+
export class _MailFolder extends _GraphInstance {
|
|
26
26
|
}
|
|
27
27
|
export const MailFolder = graphInvokableFactory(_MailFolder);
|
|
28
28
|
/**
|
|
29
29
|
* MailFolders
|
|
30
30
|
*/
|
|
31
|
-
let _MailFolders = class _MailFolders extends
|
|
31
|
+
let _MailFolders = class _MailFolders extends _GraphCollection {
|
|
32
32
|
};
|
|
33
33
|
_MailFolders = __decorate([
|
|
34
34
|
defaultPath("mailFolders"),
|
|
@@ -40,7 +40,7 @@ export const MailFolders = graphInvokableFactory(_MailFolders);
|
|
|
40
40
|
/**
|
|
41
41
|
* MailboxSettings
|
|
42
42
|
*/
|
|
43
|
-
let _MailboxSettings = class _MailboxSettings extends
|
|
43
|
+
let _MailboxSettings = class _MailboxSettings extends _GraphInstance {
|
|
44
44
|
};
|
|
45
45
|
_MailboxSettings = __decorate([
|
|
46
46
|
defaultPath("mailboxSettings"),
|
package/messages/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/messages/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/messages/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAsB,UAAU,EAAe,MAAM,kBAAkB,CAAC;AAE9G;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,cAA4B;CAAI;AAE9D,MAAM,CAAC,MAAM,OAAO,GAAG,qBAAqB,CAAW,QAAQ,CAAC,CAAC;AAEjE;;GAEG;AAIH,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,gBAAgC;CAAI,CAAA;AAAtD,SAAS;IAHrB,WAAW,CAAC,UAAU,CAAC;IACvB,OAAO,CAAC,OAAO,CAAC;IAChB,OAAO,EAAE;GACG,SAAS,CAA6C;SAAtD,SAAS;AAEtB,MAAM,CAAC,MAAM,QAAQ,GAAG,qBAAqB,CAAY,SAAS,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,cAA+B;CAAI;AAEpE,MAAM,CAAC,MAAM,UAAU,GAAG,qBAAqB,CAAc,WAAW,CAAC,CAAC;AAE1E;;GAEG;AAIH,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,gBAAmC;CAAI,CAAA;AAA5D,YAAY;IAHxB,WAAW,CAAC,aAAa,CAAC;IAC1B,OAAO,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE;GACG,YAAY,CAAgD;SAA5D,YAAY;AAEzB,MAAM,CAAC,MAAM,WAAW,GAAG,qBAAqB,CAAe,YAAY,CAAC,CAAC;AAE7E;;GAEG;AAGH,IAAa,gBAAgB,GAA7B,MAAa,gBAAiB,SAAQ,cAAoC;CAAI,CAAA;AAAjE,gBAAgB;IAF5B,WAAW,CAAC,iBAAiB,CAAC;IAC9B,UAAU,EAAE;GACA,gBAAgB,CAAiD;SAAjE,gBAAgB;AAE7B,MAAM,CAAC,MAAM,eAAe,GAAG,qBAAqB,CAAmB,gBAAgB,CAAC,CAAC"}
|
package/messages/users.d.ts
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { IMessages, IMailboxSettings, IMailFolders } from "./types.js";
|
|
2
|
-
import { Message } from "@microsoft/microsoft-graph-types";
|
|
1
|
+
import { IMessages, IMailboxSettings, IMailFolders, IMessage } from "./types.js";
|
|
3
2
|
declare module "../users/types" {
|
|
4
3
|
interface _User {
|
|
5
4
|
readonly messages: IMessages;
|
|
6
5
|
readonly mailboxSettings: IMailboxSettings;
|
|
7
6
|
readonly mailFolders: IMailFolders;
|
|
8
|
-
sendMail(message:
|
|
7
|
+
sendMail(message: IMessage): Promise<void>;
|
|
9
8
|
}
|
|
10
9
|
interface IUser {
|
|
11
10
|
readonly messages: IMessages;
|
|
12
11
|
readonly mailboxSettings: IMailboxSettings;
|
|
13
12
|
readonly mailFolders: IMailFolders;
|
|
14
|
-
sendMail(message:
|
|
13
|
+
sendMail(message: IMessage): Promise<void>;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
//# sourceMappingURL=users.d.ts.map
|
package/messages/users.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../packages/graph/messages/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAY,gBAAgB,EAAmB,YAAY,EAAe,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../packages/graph/messages/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAY,gBAAgB,EAAmB,YAAY,EAAe,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGzH,OAAO,QAAQ,gBAAgB,CAAC;IAC5B,UAAU,KAAK;QACX,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC7B,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;QAC3C,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;QACnC,QAAQ,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAC9C;IACD,UAAU,KAAK;QACX,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC7B,QAAQ,CAAC,eAAe,EAAE,gBAAgB,CAAC;QAC3C,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;QACnC,QAAQ,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAC9C;CACJ"}
|
package/messages/users.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { addProp, body } from "@pnp/queryable";
|
|
2
2
|
import { _User, User } from "../users/types.js";
|
|
3
3
|
import { Messages, MailboxSettings, MailFolders } from "./types.js";
|
|
4
|
-
import { graphPost } from "../
|
|
4
|
+
import { graphPost } from "../graphqueryable.js";
|
|
5
5
|
addProp(_User, "messages", Messages);
|
|
6
6
|
addProp(_User, "mailboxSettings", MailboxSettings);
|
|
7
7
|
addProp(_User, "mailFolders", MailFolders);
|
package/messages/users.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../packages/graph/messages/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAa,QAAQ,EAAoB,eAAe,EAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../packages/graph/messages/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAa,QAAQ,EAAoB,eAAe,EAAgB,WAAW,EAAY,MAAM,YAAY,CAAC;AACzH,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAiBjD,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AACrC,OAAO,CAAC,KAAK,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAC;AACnD,OAAO,CAAC,KAAK,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;AAE3C,KAAK,CAAC,SAAS,CAAC,QAAQ,GAAG,UAAuB,OAAiB;IAC/D,OAAO,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5D,CAAC,CAAC"}
|