@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.
Files changed (314) hide show
  1. package/analytics/driveItems.d.ts +11 -0
  2. package/analytics/driveItems.d.ts.map +1 -0
  3. package/analytics/driveItems.js +4 -0
  4. package/analytics/driveItems.js.map +1 -0
  5. package/analytics/index.d.ts +5 -0
  6. package/analytics/index.d.ts.map +1 -0
  7. package/analytics/index.js +4 -0
  8. package/analytics/index.js.map +1 -0
  9. package/analytics/listItems.d.ts +11 -0
  10. package/analytics/listItems.d.ts.map +1 -0
  11. package/analytics/listItems.js +4 -0
  12. package/analytics/listItems.js.map +1 -0
  13. package/analytics/sites.d.ts +11 -0
  14. package/analytics/sites.d.ts.map +1 -0
  15. package/analytics/sites.js +4 -0
  16. package/analytics/sites.js.map +1 -0
  17. package/analytics/types.d.ts +6 -0
  18. package/analytics/types.d.ts.map +1 -0
  19. package/analytics/types.js +6 -0
  20. package/analytics/types.js.map +1 -0
  21. package/appCatalog/index.d.ts +8 -0
  22. package/appCatalog/index.d.ts.map +1 -0
  23. package/appCatalog/index.js +11 -0
  24. package/appCatalog/index.js.map +1 -0
  25. package/appCatalog/types.d.ts +79 -0
  26. package/appCatalog/types.d.ts.map +1 -0
  27. package/appCatalog/types.js +108 -0
  28. package/appCatalog/types.js.map +1 -0
  29. package/attachments/types.d.ts +3 -3
  30. package/attachments/types.d.ts.map +1 -1
  31. package/attachments/types.js +3 -4
  32. package/attachments/types.js.map +1 -1
  33. package/batching.d.ts.map +1 -1
  34. package/batching.js +1 -2
  35. package/batching.js.map +1 -1
  36. package/behaviors/paged.d.ts +9 -8
  37. package/behaviors/paged.d.ts.map +1 -1
  38. package/behaviors/paged.js +15 -26
  39. package/behaviors/paged.js.map +1 -1
  40. package/behaviors/spfx.d.ts.map +1 -1
  41. package/behaviors/spfx.js +12 -0
  42. package/behaviors/spfx.js.map +1 -1
  43. package/behaviors/telemetry.js +1 -1
  44. package/bookings/funcs.d.ts +2 -2
  45. package/bookings/funcs.d.ts.map +1 -1
  46. package/bookings/funcs.js +2 -2
  47. package/bookings/funcs.js.map +1 -1
  48. package/bookings/types.d.ts +15 -15
  49. package/bookings/types.d.ts.map +1 -1
  50. package/bookings/types.js +15 -16
  51. package/bookings/types.js.map +1 -1
  52. package/calendars/funcs.d.ts +4 -4
  53. package/calendars/funcs.d.ts.map +1 -1
  54. package/calendars/funcs.js +4 -4
  55. package/calendars/funcs.js.map +1 -1
  56. package/calendars/types.d.ts +5 -5
  57. package/calendars/types.d.ts.map +1 -1
  58. package/calendars/types.js +5 -6
  59. package/calendars/types.js.map +1 -1
  60. package/calendars/users.d.ts +3 -3
  61. package/calendars/users.d.ts.map +1 -1
  62. package/cloud-communications/types.d.ts +43 -5
  63. package/cloud-communications/types.d.ts.map +1 -1
  64. package/cloud-communications/types.js +46 -6
  65. package/cloud-communications/types.js.map +1 -1
  66. package/columns/addColumns.d.ts +1 -1
  67. package/columns/addColumns.d.ts.map +1 -1
  68. package/columns/addColumns.js +1 -1
  69. package/columns/addColumns.js.map +1 -1
  70. package/columns/content-types.js +1 -1
  71. package/columns/content-types.js.map +1 -1
  72. package/columns/types.d.ts +3 -3
  73. package/columns/types.d.ts.map +1 -1
  74. package/columns/types.js +3 -3
  75. package/columns/types.js.map +1 -1
  76. package/contacts/types.d.ts +5 -5
  77. package/contacts/types.d.ts.map +1 -1
  78. package/contacts/types.js +5 -6
  79. package/contacts/types.js.map +1 -1
  80. package/content-types/lists.d.ts.map +1 -1
  81. package/content-types/lists.js +2 -3
  82. package/content-types/lists.js.map +1 -1
  83. package/content-types/sites.d.ts.map +1 -1
  84. package/content-types/sites.js +2 -3
  85. package/content-types/sites.js.map +1 -1
  86. package/content-types/types.d.ts +3 -3
  87. package/content-types/types.d.ts.map +1 -1
  88. package/content-types/types.js +3 -4
  89. package/content-types/types.js.map +1 -1
  90. package/conversations/types.d.ts +8 -8
  91. package/conversations/types.d.ts.map +1 -1
  92. package/conversations/types.js +8 -9
  93. package/conversations/types.js.map +1 -1
  94. package/decorators.d.ts.map +1 -1
  95. package/decorators.js +1 -1
  96. package/decorators.js.map +1 -1
  97. package/directory-objects/types.d.ts +3 -10
  98. package/directory-objects/types.d.ts.map +1 -1
  99. package/directory-objects/types.js +5 -16
  100. package/directory-objects/types.js.map +1 -1
  101. package/{onedrive → files}/funcs.d.ts +1 -0
  102. package/files/funcs.d.ts.map +1 -0
  103. package/{onedrive → files}/funcs.js +4 -1
  104. package/files/funcs.js.map +1 -0
  105. package/files/groups.d.ts.map +1 -0
  106. package/files/groups.js.map +1 -0
  107. package/{onedrive → files}/index.d.ts +2 -2
  108. package/files/index.d.ts.map +1 -0
  109. package/{onedrive → files}/index.js +1 -1
  110. package/files/index.js.map +1 -0
  111. package/files/sites.d.ts.map +1 -0
  112. package/files/sites.js.map +1 -0
  113. package/{onedrive → files}/types.d.ts +20 -28
  114. package/files/types.d.ts.map +1 -0
  115. package/{onedrive → files}/types.js +22 -29
  116. package/files/types.js.map +1 -0
  117. package/{onedrive → files}/users.d.ts +1 -7
  118. package/files/users.d.ts.map +1 -0
  119. package/{onedrive → files}/users.js +1 -9
  120. package/files/users.js.map +1 -0
  121. package/graphqueryable.d.ts +14 -15
  122. package/graphqueryable.d.ts.map +1 -1
  123. package/graphqueryable.js +50 -17
  124. package/graphqueryable.js.map +1 -1
  125. package/groups/types.d.ts.map +1 -1
  126. package/groups/types.js +1 -2
  127. package/groups/types.js.map +1 -1
  128. package/index.d.ts +1 -2
  129. package/index.d.ts.map +1 -1
  130. package/index.js +1 -2
  131. package/index.js.map +1 -1
  132. package/insights/types.d.ts +9 -9
  133. package/insights/types.d.ts.map +1 -1
  134. package/insights/types.js +9 -9
  135. package/insights/types.js.map +1 -1
  136. package/invitations/types.d.ts +2 -2
  137. package/invitations/types.d.ts.map +1 -1
  138. package/invitations/types.js +2 -3
  139. package/invitations/types.js.map +1 -1
  140. package/list-item/document-sets.d.ts +10 -0
  141. package/list-item/document-sets.d.ts.map +1 -0
  142. package/list-item/document-sets.js +4 -0
  143. package/list-item/document-sets.js.map +1 -0
  144. package/list-item/index.d.ts +4 -0
  145. package/list-item/index.d.ts.map +1 -0
  146. package/list-item/index.js +4 -0
  147. package/list-item/index.js.map +1 -0
  148. package/list-item/list.d.ts +10 -0
  149. package/list-item/list.d.ts.map +1 -0
  150. package/list-item/list.js +5 -0
  151. package/list-item/list.js.map +1 -0
  152. package/list-item/types.d.ts +62 -0
  153. package/list-item/types.d.ts.map +1 -0
  154. package/list-item/types.js +65 -0
  155. package/list-item/types.js.map +1 -0
  156. package/lists/drive.d.ts +1 -1
  157. package/lists/drive.d.ts.map +1 -1
  158. package/lists/drive.js +1 -1
  159. package/lists/drive.js.map +1 -1
  160. package/lists/types.d.ts +6 -6
  161. package/lists/types.d.ts.map +1 -1
  162. package/lists/types.js +7 -8
  163. package/lists/types.js.map +1 -1
  164. package/mail/funcs.d.ts +12 -0
  165. package/mail/funcs.d.ts.map +1 -0
  166. package/mail/funcs.js +15 -0
  167. package/mail/funcs.js.map +1 -0
  168. package/mail/groups.d.ts +1 -0
  169. package/mail/groups.d.ts.map +1 -0
  170. package/mail/groups.js +1 -0
  171. package/mail/groups.js.map +1 -0
  172. package/mail/index.d.ts +2 -0
  173. package/mail/index.d.ts.map +1 -0
  174. package/mail/index.js +4 -0
  175. package/mail/index.js.map +1 -0
  176. package/mail/types.d.ts +1 -0
  177. package/mail/types.d.ts.map +1 -0
  178. package/mail/types.js +1 -0
  179. package/mail/types.js.map +1 -0
  180. package/mail/users.d.ts +10 -0
  181. package/mail/users.d.ts.map +1 -0
  182. package/mail/users.js +7 -0
  183. package/mail/users.js.map +1 -0
  184. package/members/types.d.ts +3 -3
  185. package/members/types.d.ts.map +1 -1
  186. package/members/types.js +3 -4
  187. package/members/types.js.map +1 -1
  188. package/messages/types.d.ts +6 -6
  189. package/messages/types.d.ts.map +1 -1
  190. package/messages/types.js +6 -6
  191. package/messages/types.js.map +1 -1
  192. package/messages/users.d.ts +3 -4
  193. package/messages/users.d.ts.map +1 -1
  194. package/messages/users.js +1 -1
  195. package/messages/users.js.map +1 -1
  196. package/onenote/types.d.ts +7 -7
  197. package/onenote/types.d.ts.map +1 -1
  198. package/onenote/types.js +7 -8
  199. package/onenote/types.js.map +1 -1
  200. package/operations/index.d.ts +4 -0
  201. package/operations/index.d.ts.map +1 -0
  202. package/operations/index.js +4 -0
  203. package/operations/index.js.map +1 -0
  204. package/operations/list.d.ts +10 -0
  205. package/operations/list.d.ts.map +1 -0
  206. package/operations/list.js +5 -0
  207. package/operations/list.js.map +1 -0
  208. package/operations/site.d.ts +10 -0
  209. package/operations/site.d.ts.map +1 -0
  210. package/operations/site.js +5 -0
  211. package/operations/site.js.map +1 -0
  212. package/operations/types.d.ts +11 -0
  213. package/operations/types.d.ts.map +1 -0
  214. package/operations/types.js +14 -0
  215. package/operations/types.js.map +1 -0
  216. package/outlook/types.d.ts +7 -7
  217. package/outlook/types.d.ts.map +1 -1
  218. package/outlook/types.js +4 -4
  219. package/outlook/types.js.map +1 -1
  220. package/package.json +5 -5
  221. package/permissions/index.d.ts +3 -0
  222. package/permissions/index.d.ts.map +1 -0
  223. package/permissions/index.js +3 -0
  224. package/permissions/index.js.map +1 -0
  225. package/permissions/site.d.ts +10 -0
  226. package/permissions/site.d.ts.map +1 -0
  227. package/permissions/site.js +5 -0
  228. package/permissions/site.js.map +1 -0
  229. package/permissions/types.d.ts +21 -0
  230. package/permissions/types.d.ts.map +1 -0
  231. package/permissions/types.js +30 -0
  232. package/permissions/types.js.map +1 -0
  233. package/photos/groups.d.ts +1 -3
  234. package/photos/groups.d.ts.map +1 -1
  235. package/photos/groups.js +1 -2
  236. package/photos/groups.js.map +1 -1
  237. package/photos/index.d.ts +0 -1
  238. package/photos/index.d.ts.map +1 -1
  239. package/photos/index.js +0 -1
  240. package/photos/index.js.map +1 -1
  241. package/photos/types.d.ts +3 -12
  242. package/photos/types.d.ts.map +1 -1
  243. package/photos/types.js +2 -16
  244. package/photos/types.js.map +1 -1
  245. package/photos/users.d.ts +1 -3
  246. package/photos/users.d.ts.map +1 -1
  247. package/photos/users.js +1 -2
  248. package/photos/users.js.map +1 -1
  249. package/planner/types.d.ts +10 -10
  250. package/planner/types.d.ts.map +1 -1
  251. package/planner/types.js +10 -11
  252. package/planner/types.js.map +1 -1
  253. package/presets/all.d.ts +6 -2
  254. package/presets/all.d.ts.map +1 -1
  255. package/presets/all.js +6 -2
  256. package/presets/all.js.map +1 -1
  257. package/search/types.d.ts +2 -2
  258. package/search/types.d.ts.map +1 -1
  259. package/search/types.js +2 -3
  260. package/search/types.js.map +1 -1
  261. package/shares/types.d.ts +4 -4
  262. package/shares/types.d.ts.map +1 -1
  263. package/shares/types.js +4 -4
  264. package/shares/types.js.map +1 -1
  265. package/sites/index.d.ts +1 -0
  266. package/sites/index.d.ts.map +1 -1
  267. package/sites/index.js +1 -0
  268. package/sites/index.js.map +1 -1
  269. package/sites/types.d.ts +37 -4
  270. package/sites/types.d.ts.map +1 -1
  271. package/sites/types.js +51 -5
  272. package/sites/types.js.map +1 -1
  273. package/sites/user.d.ts +10 -0
  274. package/sites/user.d.ts.map +1 -0
  275. package/sites/user.js +5 -0
  276. package/sites/user.js.map +1 -0
  277. package/subscriptions/types.d.ts +3 -3
  278. package/subscriptions/types.d.ts.map +1 -1
  279. package/subscriptions/types.js +3 -4
  280. package/subscriptions/types.js.map +1 -1
  281. package/teams/index.js +1 -1
  282. package/teams/index.js.map +1 -1
  283. package/teams/types.d.ts +16 -15
  284. package/teams/types.d.ts.map +1 -1
  285. package/teams/types.js +22 -18
  286. package/teams/types.js.map +1 -1
  287. package/teams/users.d.ts +3 -1
  288. package/teams/users.d.ts.map +1 -1
  289. package/teams/users.js +2 -1
  290. package/teams/users.js.map +1 -1
  291. package/onedrive/funcs.d.ts.map +0 -1
  292. package/onedrive/funcs.js.map +0 -1
  293. package/onedrive/groups.d.ts.map +0 -1
  294. package/onedrive/groups.js.map +0 -1
  295. package/onedrive/index.d.ts.map +0 -1
  296. package/onedrive/index.js.map +0 -1
  297. package/onedrive/sites.d.ts.map +0 -1
  298. package/onedrive/sites.js.map +0 -1
  299. package/onedrive/types.d.ts.map +0 -1
  300. package/onedrive/types.js.map +0 -1
  301. package/onedrive/users.d.ts.map +0 -1
  302. package/onedrive/users.js.map +0 -1
  303. package/operations.d.ts +0 -7
  304. package/operations.d.ts.map +0 -1
  305. package/operations.js +0 -17
  306. package/operations.js.map +0 -1
  307. package/photos/teams.d.ts +0 -10
  308. package/photos/teams.d.ts.map +0 -1
  309. package/photos/teams.js +0 -5
  310. package/photos/teams.js.map +0 -1
  311. /package/{onedrive → files}/groups.d.ts +0 -0
  312. /package/{onedrive → files}/groups.js +0 -0
  313. /package/{onedrive → files}/sites.d.ts +0 -0
  314. /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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,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
@@ -1,5 +1,5 @@
1
1
  import { IList } from "./types.js";
2
- declare module "../onedrive/types" {
2
+ declare module "../files/types" {
3
3
  interface _Drive {
4
4
  getList: () => Promise<IList>;
5
5
  }
@@ -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,mBAAmB,CAAC;IAC/B,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"}
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
@@ -1,4 +1,4 @@
1
- import { _Drive } from "../onedrive/types.js";
1
+ import { _Drive } from "../files/types.js";
2
2
  import { List } from "./types.js";
3
3
  _Drive.prototype.getList = async function () {
4
4
  const q = await this.list();
@@ -1 +1 @@
1
- {"version":3,"file":"drive.js","sourceRoot":"","sources":["../../../../packages/graph/lists/drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,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"}
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 { _GraphQueryableCollection, _GraphQueryableInstance } from "../graphqueryable.js";
2
+ import { _GraphCollection, _GraphInstance } from "../graphqueryable.js";
3
3
  import { IDeleteable, IUpdateable, IGetById } from "../decorators.js";
4
4
  /**
5
- * Represents a booking service entity
5
+ * Represents a list entity
6
6
  */
7
- export declare class _List extends _GraphQueryableInstance<IListEntity> {
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 booking service objects
13
+ * Describes a collection of list objects
14
14
  *
15
15
  */
16
- export declare class _Lists extends _GraphQueryableCollection<IListEntity[]> {
16
+ export declare class _Lists extends _GraphCollection<IListEntity[]> {
17
17
  /**
18
- * Create a new booking service as specified in the request body.
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
  */
@@ -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,yBAAyB,EAAyB,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACjH,OAAO,EAA2B,WAAW,EAAc,WAAW,EAAW,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIpH;;GAEG;AACH,qBAEa,KAAM,SAAQ,uBAAuB,CAAC,WAAW,CAAC;CAAI;AACnE,MAAM,WAAW,KAAM,SAAQ,KAAK,EAAE,WAAW,EAAE,WAAW;CAAI;AAClE,eAAO,MAAM,IAAI,8DAAsC,CAAC;AAExD;;;GAGG;AACH,qBAEa,MAAO,SAAQ,yBAAyB,CAAC,WAAW,EAAE,CAAC;IAChE;;;;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"}
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 { _GraphQueryableCollection, graphInvokableFactory, _GraphQueryableInstance } from "../graphqueryable.js";
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 booking service entity
6
+ * Represents a list entity
8
7
  */
9
- let _List = class _List extends _GraphQueryableInstance {
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 booking service objects
17
+ * Describes a collection of list objects
19
18
  *
20
19
  */
21
- let _Lists = class _Lists extends _GraphQueryableCollection {
20
+ let _Lists = class _Lists extends _GraphCollection {
22
21
  /**
23
- * Create a new booking service as specified in the request body.
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("services"),
35
+ defaultPath("lists"),
37
36
  getById(List)
38
37
  ], _Lists);
39
38
  export { _Lists };
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/lists/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACjH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAe,UAAU,EAAe,OAAO,EAAY,MAAM,kBAAkB,CAAC;AACpH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC;;GAEG;AAGH,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,uBAAoC;CAAI,CAAA;AAAtD,KAAK;IAFjB,UAAU,EAAE;IACZ,UAAU,EAAE;GACA,KAAK,CAAiD;SAAtD,KAAK;AAElB,MAAM,CAAC,MAAM,IAAI,GAAG,qBAAqB,CAAQ,KAAK,CAAC,CAAC;AAExD;;;GAGG;AAGH,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,yBAAwC;IAChE;;;;OAIG;IACI,KAAK,CAAC,GAAG,CAAC,IAAiB;QAC9B,MAAM,IAAI,GAAG,MAAM,SAAS,CA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M;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"}
@@ -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"}
@@ -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":""}
@@ -0,0 +1,2 @@
1
+ import "./users.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -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,4 @@
1
+ import "./users.js";
2
+ // export {
3
+ // } from "./types.js";
4
+ //# sourceMappingURL=index.js.map
@@ -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"}
@@ -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":""}
@@ -0,0 +1,10 @@
1
+ declare module "../users/types" {
2
+ interface _User {
3
+ mailSend(message: any): void;
4
+ }
5
+ interface IUser {
6
+ mailSend(message: any): void;
7
+ }
8
+ }
9
+ export {};
10
+ //# sourceMappingURL=users.d.ts.map
@@ -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"}
@@ -1,10 +1,10 @@
1
1
  import { User as IMemberType } from "@microsoft/microsoft-graph-types";
2
- import { _GraphQueryableCollection, _GraphQueryableInstance } from "../graphqueryable.js";
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 _GraphQueryableInstance<IMemberType> {
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 _GraphQueryableCollection<IMemberType[]> {
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.
@@ -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,yBAAyB,EAAE,uBAAuB,EAAyB,MAAM,sBAAsB,CAAC;AACjH,OAAO,EAAwB,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGlE;;GAEG;AACH,qBAAa,OAAQ,SAAQ,uBAAuB,CAAC,WAAW,CAAC;IAC7D;;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,yBAAyB,CAAC,WAAW,EAAE,CAAC;IAElE;;;;;;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"}
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 { _GraphQueryableCollection, _GraphQueryableInstance, graphInvokableFactory } from "../graphqueryable.js";
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 _GraphQueryableInstance {
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 _GraphQueryableCollection {
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.
@@ -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,yBAAyB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AACjH,OAAO,EAAE,WAAW,EAAE,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,uBAAoC;IAC7D;;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,yBAAwC;IAElE;;;;;;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"}
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"}
@@ -1,10 +1,10 @@
1
1
  import { Message as IMessageType, MailFolder as IMailFolderType, MailboxSettings as IMailboxSettingsType } from "@microsoft/microsoft-graph-types";
2
- import { _GraphQueryableInstance, _GraphQueryableCollection } from "../graphqueryable.js";
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 _GraphQueryableInstance<IMessageType> {
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 _GraphQueryableCollection<IMessageType[]> {
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 _GraphQueryableInstance<IMailFolderType> {
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 _GraphQueryableCollection<IMailFolderType[]> {
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 _GraphQueryableInstance<IMailboxSettingsType> {
39
+ export declare class _MailboxSettings extends _GraphInstance<IMailboxSettingsType> {
40
40
  }
41
41
  export interface IMailboxSettings extends _MailboxSettings, IUpdateable<IMailboxSettingsType> {
42
42
  }
@@ -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,CAA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{ _GraphQueryableInstance, _GraphQueryableCollection, graphInvokableFactory } from "../graphqueryable.js";
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 _GraphQueryableInstance {
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 _GraphQueryableCollection {
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 _GraphQueryableInstance {
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 _GraphQueryableCollection {
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 _GraphQueryableInstance {
43
+ let _MailboxSettings = class _MailboxSettings extends _GraphInstance {
44
44
  };
45
45
  _MailboxSettings = __decorate([
46
46
  defaultPath("mailboxSettings"),
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/graph/messages/types.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AACjH,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAsB,UAAU,EAAe,MAAM,kBAA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oft/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: Message): Promise<void>;
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: Message): Promise<void>;
13
+ sendMail(message: IMessage): Promise<void>;
15
14
  }
16
15
  }
17
16
  //# sourceMappingURL=users.d.ts.map
@@ -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,MAAM,YAAY,CAAC;AAE/G,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D,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,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAC7C;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,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;KAC7C;CACJ"}
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 "../operations.js";
4
+ import { graphPost } from "../graphqueryable.js";
5
5
  addProp(_User, "messages", Messages);
6
6
  addProp(_User, "mailboxSettings", MailboxSettings);
7
7
  addProp(_User, "mailFolders", MailFolders);
@@ -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,EAAE,MAAM,YAAY,CAAC;AAC/G,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAkB7C,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