@microsoft/msgraph-sdk-shares 1.0.0-preview.10

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 (299) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/shares/count/index.d.ts +40 -0
  8. package/shares/count/index.d.ts.map +1 -0
  9. package/shares/count/index.js +35 -0
  10. package/shares/index.d.ts +95 -0
  11. package/shares/index.d.ts.map +1 -0
  12. package/shares/index.js +71 -0
  13. package/shares/item/createdByUser/index.d.ts +55 -0
  14. package/shares/item/createdByUser/index.d.ts.map +1 -0
  15. package/shares/item/createdByUser/index.js +52 -0
  16. package/shares/item/createdByUser/mailboxSettings/index.d.ts +55 -0
  17. package/shares/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  18. package/shares/item/createdByUser/mailboxSettings/index.js +48 -0
  19. package/shares/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  20. package/shares/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  21. package/shares/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  22. package/shares/item/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
  23. package/shares/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  24. package/shares/item/createdByUser/serviceProvisioningErrors/index.js +52 -0
  25. package/shares/item/driveItem/content/index.d.ts +43 -0
  26. package/shares/item/driveItem/content/index.d.ts.map +1 -0
  27. package/shares/item/driveItem/content/index.js +39 -0
  28. package/shares/item/driveItem/index.d.ts +51 -0
  29. package/shares/item/driveItem/index.d.ts.map +1 -0
  30. package/shares/item/driveItem/index.js +46 -0
  31. package/shares/item/index.d.ts +116 -0
  32. package/shares/item/index.d.ts.map +1 -0
  33. package/shares/item/index.js +113 -0
  34. package/shares/item/items/count/index.d.ts +40 -0
  35. package/shares/item/items/count/index.d.ts.map +1 -0
  36. package/shares/item/items/count/index.js +35 -0
  37. package/shares/item/items/index.d.ts +81 -0
  38. package/shares/item/items/index.d.ts.map +1 -0
  39. package/shares/item/items/index.js +59 -0
  40. package/shares/item/items/item/content/index.d.ts +42 -0
  41. package/shares/item/items/item/content/index.d.ts.map +1 -0
  42. package/shares/item/items/item/content/index.js +39 -0
  43. package/shares/item/items/item/index.d.ts +50 -0
  44. package/shares/item/items/item/index.d.ts.map +1 -0
  45. package/shares/item/items/item/index.js +46 -0
  46. package/shares/item/lastModifiedByUser/index.d.ts +55 -0
  47. package/shares/item/lastModifiedByUser/index.d.ts.map +1 -0
  48. package/shares/item/lastModifiedByUser/index.js +52 -0
  49. package/shares/item/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
  50. package/shares/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  51. package/shares/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
  52. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  53. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  54. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  55. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
  56. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  57. package/shares/item/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
  58. package/shares/item/list/columns/count/index.d.ts +40 -0
  59. package/shares/item/list/columns/count/index.d.ts.map +1 -0
  60. package/shares/item/list/columns/count/index.js +35 -0
  61. package/shares/item/list/columns/index.d.ts +97 -0
  62. package/shares/item/list/columns/index.d.ts.map +1 -0
  63. package/shares/item/list/columns/index.js +71 -0
  64. package/shares/item/list/columns/item/index.d.ts +75 -0
  65. package/shares/item/list/columns/item/index.d.ts.map +1 -0
  66. package/shares/item/list/columns/item/index.js +66 -0
  67. package/shares/item/list/columns/item/sourceColumn/index.d.ts +41 -0
  68. package/shares/item/list/columns/item/sourceColumn/index.d.ts.map +1 -0
  69. package/shares/item/list/columns/item/sourceColumn/index.js +36 -0
  70. package/shares/item/list/contentTypes/addCopy/index.d.ts +61 -0
  71. package/shares/item/list/contentTypes/addCopy/index.d.ts.map +1 -0
  72. package/shares/item/list/contentTypes/addCopy/index.js +60 -0
  73. package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.d.ts +61 -0
  74. package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.d.ts.map +1 -0
  75. package/shares/item/list/contentTypes/addCopyFromContentTypeHub/index.js +60 -0
  76. package/shares/item/list/contentTypes/count/index.d.ts +40 -0
  77. package/shares/item/list/contentTypes/count/index.d.ts.map +1 -0
  78. package/shares/item/list/contentTypes/count/index.js +35 -0
  79. package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.d.ts +83 -0
  80. package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.d.ts.map +1 -0
  81. package/shares/item/list/contentTypes/getCompatibleHubContentTypes/index.js +67 -0
  82. package/shares/item/list/contentTypes/index.d.ts +111 -0
  83. package/shares/item/list/contentTypes/index.d.ts.map +1 -0
  84. package/shares/item/list/contentTypes/index.js +86 -0
  85. package/shares/item/list/contentTypes/item/associateWithHubSites/index.d.ts +63 -0
  86. package/shares/item/list/contentTypes/item/associateWithHubSites/index.d.ts.map +1 -0
  87. package/shares/item/list/contentTypes/item/associateWithHubSites/index.js +60 -0
  88. package/shares/item/list/contentTypes/item/base/index.d.ts +41 -0
  89. package/shares/item/list/contentTypes/item/base/index.d.ts.map +1 -0
  90. package/shares/item/list/contentTypes/item/base/index.js +35 -0
  91. package/shares/item/list/contentTypes/item/baseTypes/count/index.d.ts +40 -0
  92. package/shares/item/list/contentTypes/item/baseTypes/count/index.d.ts.map +1 -0
  93. package/shares/item/list/contentTypes/item/baseTypes/count/index.js +35 -0
  94. package/shares/item/list/contentTypes/item/baseTypes/index.d.ts +81 -0
  95. package/shares/item/list/contentTypes/item/baseTypes/index.d.ts.map +1 -0
  96. package/shares/item/list/contentTypes/item/baseTypes/index.js +58 -0
  97. package/shares/item/list/contentTypes/item/baseTypes/item/index.d.ts +41 -0
  98. package/shares/item/list/contentTypes/item/baseTypes/item/index.d.ts.map +1 -0
  99. package/shares/item/list/contentTypes/item/baseTypes/item/index.js +36 -0
  100. package/shares/item/list/contentTypes/item/columnLinks/count/index.d.ts +40 -0
  101. package/shares/item/list/contentTypes/item/columnLinks/count/index.d.ts.map +1 -0
  102. package/shares/item/list/contentTypes/item/columnLinks/count/index.js +35 -0
  103. package/shares/item/list/contentTypes/item/columnLinks/index.d.ts +95 -0
  104. package/shares/item/list/contentTypes/item/columnLinks/index.d.ts.map +1 -0
  105. package/shares/item/list/contentTypes/item/columnLinks/index.js +70 -0
  106. package/shares/item/list/contentTypes/item/columnLinks/item/index.d.ts +66 -0
  107. package/shares/item/list/contentTypes/item/columnLinks/item/index.d.ts.map +1 -0
  108. package/shares/item/list/contentTypes/item/columnLinks/item/index.js +56 -0
  109. package/shares/item/list/contentTypes/item/columnPositions/count/index.d.ts +40 -0
  110. package/shares/item/list/contentTypes/item/columnPositions/count/index.d.ts.map +1 -0
  111. package/shares/item/list/contentTypes/item/columnPositions/count/index.js +35 -0
  112. package/shares/item/list/contentTypes/item/columnPositions/index.d.ts +81 -0
  113. package/shares/item/list/contentTypes/item/columnPositions/index.d.ts.map +1 -0
  114. package/shares/item/list/contentTypes/item/columnPositions/index.js +58 -0
  115. package/shares/item/list/contentTypes/item/columnPositions/item/index.d.ts +41 -0
  116. package/shares/item/list/contentTypes/item/columnPositions/item/index.d.ts.map +1 -0
  117. package/shares/item/list/contentTypes/item/columnPositions/item/index.js +36 -0
  118. package/shares/item/list/contentTypes/item/columns/count/index.d.ts +40 -0
  119. package/shares/item/list/contentTypes/item/columns/count/index.d.ts.map +1 -0
  120. package/shares/item/list/contentTypes/item/columns/count/index.js +35 -0
  121. package/shares/item/list/contentTypes/item/columns/index.d.ts +97 -0
  122. package/shares/item/list/contentTypes/item/columns/index.d.ts.map +1 -0
  123. package/shares/item/list/contentTypes/item/columns/index.js +71 -0
  124. package/shares/item/list/contentTypes/item/columns/item/index.d.ts +78 -0
  125. package/shares/item/list/contentTypes/item/columns/item/index.d.ts.map +1 -0
  126. package/shares/item/list/contentTypes/item/columns/item/index.js +66 -0
  127. package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.d.ts +41 -0
  128. package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.d.ts.map +1 -0
  129. package/shares/item/list/contentTypes/item/columns/item/sourceColumn/index.js +36 -0
  130. package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.d.ts +64 -0
  131. package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.d.ts.map +1 -0
  132. package/shares/item/list/contentTypes/item/copyToDefaultContentLocation/index.js +61 -0
  133. package/shares/item/list/contentTypes/item/index.d.ts +120 -0
  134. package/shares/item/list/contentTypes/item/index.d.ts.map +1 -0
  135. package/shares/item/list/contentTypes/item/index.js +115 -0
  136. package/shares/item/list/contentTypes/item/isPublished/index.d.ts +57 -0
  137. package/shares/item/list/contentTypes/item/isPublished/index.d.ts.map +1 -0
  138. package/shares/item/list/contentTypes/item/isPublished/index.js +56 -0
  139. package/shares/item/list/contentTypes/item/publish/index.d.ts +27 -0
  140. package/shares/item/list/contentTypes/item/publish/index.d.ts.map +1 -0
  141. package/shares/item/list/contentTypes/item/publish/index.js +26 -0
  142. package/shares/item/list/contentTypes/item/unpublish/index.d.ts +27 -0
  143. package/shares/item/list/contentTypes/item/unpublish/index.d.ts.map +1 -0
  144. package/shares/item/list/contentTypes/item/unpublish/index.js +26 -0
  145. package/shares/item/list/createdByUser/index.d.ts +55 -0
  146. package/shares/item/list/createdByUser/index.d.ts.map +1 -0
  147. package/shares/item/list/createdByUser/index.js +52 -0
  148. package/shares/item/list/createdByUser/mailboxSettings/index.d.ts +55 -0
  149. package/shares/item/list/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  150. package/shares/item/list/createdByUser/mailboxSettings/index.js +48 -0
  151. package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  152. package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  153. package/shares/item/list/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  154. package/shares/item/list/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
  155. package/shares/item/list/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  156. package/shares/item/list/createdByUser/serviceProvisioningErrors/index.js +52 -0
  157. package/shares/item/list/drive/index.d.ts +41 -0
  158. package/shares/item/list/drive/index.d.ts.map +1 -0
  159. package/shares/item/list/drive/index.js +36 -0
  160. package/shares/item/list/index.d.ts +110 -0
  161. package/shares/item/list/index.d.ts.map +1 -0
  162. package/shares/item/list/index.js +108 -0
  163. package/shares/item/list/items/index.d.ts +88 -0
  164. package/shares/item/list/items/index.d.ts.map +1 -0
  165. package/shares/item/list/items/index.js +65 -0
  166. package/shares/item/list/items/item/analytics/index.d.ts +41 -0
  167. package/shares/item/list/items/item/analytics/index.d.ts.map +1 -0
  168. package/shares/item/list/items/item/analytics/index.js +36 -0
  169. package/shares/item/list/items/item/createLink/index.d.ts +88 -0
  170. package/shares/item/list/items/item/createLink/index.d.ts.map +1 -0
  171. package/shares/item/list/items/item/createLink/index.js +74 -0
  172. package/shares/item/list/items/item/createdByUser/index.d.ts +55 -0
  173. package/shares/item/list/items/item/createdByUser/index.d.ts.map +1 -0
  174. package/shares/item/list/items/item/createdByUser/index.js +52 -0
  175. package/shares/item/list/items/item/createdByUser/mailboxSettings/index.d.ts +55 -0
  176. package/shares/item/list/items/item/createdByUser/mailboxSettings/index.d.ts.map +1 -0
  177. package/shares/item/list/items/item/createdByUser/mailboxSettings/index.js +48 -0
  178. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  179. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  180. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/count/index.js +35 -0
  181. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.d.ts +74 -0
  182. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  183. package/shares/item/list/items/item/createdByUser/serviceProvisioningErrors/index.js +52 -0
  184. package/shares/item/list/items/item/documentSetVersions/count/index.d.ts +40 -0
  185. package/shares/item/list/items/item/documentSetVersions/count/index.d.ts.map +1 -0
  186. package/shares/item/list/items/item/documentSetVersions/count/index.js +35 -0
  187. package/shares/item/list/items/item/documentSetVersions/index.d.ts +97 -0
  188. package/shares/item/list/items/item/documentSetVersions/index.d.ts.map +1 -0
  189. package/shares/item/list/items/item/documentSetVersions/index.js +71 -0
  190. package/shares/item/list/items/item/documentSetVersions/item/fields/index.d.ts +66 -0
  191. package/shares/item/list/items/item/documentSetVersions/item/fields/index.d.ts.map +1 -0
  192. package/shares/item/list/items/item/documentSetVersions/item/fields/index.js +56 -0
  193. package/shares/item/list/items/item/documentSetVersions/item/index.d.ts +82 -0
  194. package/shares/item/list/items/item/documentSetVersions/item/index.d.ts.map +1 -0
  195. package/shares/item/list/items/item/documentSetVersions/item/index.js +71 -0
  196. package/shares/item/list/items/item/documentSetVersions/item/restore/index.d.ts +27 -0
  197. package/shares/item/list/items/item/documentSetVersions/item/restore/index.d.ts.map +1 -0
  198. package/shares/item/list/items/item/documentSetVersions/item/restore/index.js +26 -0
  199. package/shares/item/list/items/item/driveItem/content/index.d.ts +42 -0
  200. package/shares/item/list/items/item/driveItem/content/index.d.ts.map +1 -0
  201. package/shares/item/list/items/item/driveItem/content/index.js +39 -0
  202. package/shares/item/list/items/item/driveItem/index.d.ts +50 -0
  203. package/shares/item/list/items/item/driveItem/index.d.ts.map +1 -0
  204. package/shares/item/list/items/item/driveItem/index.js +46 -0
  205. package/shares/item/list/items/item/fields/index.d.ts +67 -0
  206. package/shares/item/list/items/item/fields/index.d.ts.map +1 -0
  207. package/shares/item/list/items/item/fields/index.js +56 -0
  208. package/shares/item/list/items/item/getActivitiesByInterval/index.d.ts +83 -0
  209. package/shares/item/list/items/item/getActivitiesByInterval/index.d.ts.map +1 -0
  210. package/shares/item/list/items/item/getActivitiesByInterval/index.js +67 -0
  211. package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.d.ts +83 -0
  212. package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.d.ts.map +1 -0
  213. package/shares/item/list/items/item/getActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/index.js +67 -0
  214. package/shares/item/list/items/item/index.d.ts +126 -0
  215. package/shares/item/list/items/item/index.d.ts.map +1 -0
  216. package/shares/item/list/items/item/index.js +116 -0
  217. package/shares/item/list/items/item/lastModifiedByUser/index.d.ts +55 -0
  218. package/shares/item/list/items/item/lastModifiedByUser/index.d.ts.map +1 -0
  219. package/shares/item/list/items/item/lastModifiedByUser/index.js +52 -0
  220. package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
  221. package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  222. package/shares/item/list/items/item/lastModifiedByUser/mailboxSettings/index.js +48 -0
  223. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  224. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  225. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  226. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
  227. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  228. package/shares/item/list/items/item/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
  229. package/shares/item/list/items/item/versions/count/index.d.ts +40 -0
  230. package/shares/item/list/items/item/versions/count/index.d.ts.map +1 -0
  231. package/shares/item/list/items/item/versions/count/index.js +35 -0
  232. package/shares/item/list/items/item/versions/index.d.ts +96 -0
  233. package/shares/item/list/items/item/versions/index.d.ts.map +1 -0
  234. package/shares/item/list/items/item/versions/index.js +71 -0
  235. package/shares/item/list/items/item/versions/item/fields/index.d.ts +66 -0
  236. package/shares/item/list/items/item/versions/item/fields/index.d.ts.map +1 -0
  237. package/shares/item/list/items/item/versions/item/fields/index.js +56 -0
  238. package/shares/item/list/items/item/versions/item/index.d.ts +81 -0
  239. package/shares/item/list/items/item/versions/item/index.d.ts.map +1 -0
  240. package/shares/item/list/items/item/versions/item/index.js +71 -0
  241. package/shares/item/list/items/item/versions/item/restoreVersion/index.d.ts +27 -0
  242. package/shares/item/list/items/item/versions/item/restoreVersion/index.d.ts.map +1 -0
  243. package/shares/item/list/items/item/versions/item/restoreVersion/index.js +26 -0
  244. package/shares/item/list/lastModifiedByUser/index.d.ts +55 -0
  245. package/shares/item/list/lastModifiedByUser/index.d.ts.map +1 -0
  246. package/shares/item/list/lastModifiedByUser/index.js +52 -0
  247. package/shares/item/list/lastModifiedByUser/mailboxSettings/index.d.ts +55 -0
  248. package/shares/item/list/lastModifiedByUser/mailboxSettings/index.d.ts.map +1 -0
  249. package/shares/item/list/lastModifiedByUser/mailboxSettings/index.js +48 -0
  250. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts +40 -0
  251. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  252. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/count/index.js +35 -0
  253. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.d.ts +74 -0
  254. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.d.ts.map +1 -0
  255. package/shares/item/list/lastModifiedByUser/serviceProvisioningErrors/index.js +52 -0
  256. package/shares/item/list/operations/count/index.d.ts +40 -0
  257. package/shares/item/list/operations/count/index.d.ts.map +1 -0
  258. package/shares/item/list/operations/count/index.js +35 -0
  259. package/shares/item/list/operations/index.d.ts +95 -0
  260. package/shares/item/list/operations/index.d.ts.map +1 -0
  261. package/shares/item/list/operations/index.js +70 -0
  262. package/shares/item/list/operations/item/index.d.ts +66 -0
  263. package/shares/item/list/operations/item/index.d.ts.map +1 -0
  264. package/shares/item/list/operations/item/index.js +56 -0
  265. package/shares/item/list/subscriptions/count/index.d.ts +40 -0
  266. package/shares/item/list/subscriptions/count/index.d.ts.map +1 -0
  267. package/shares/item/list/subscriptions/count/index.js +35 -0
  268. package/shares/item/list/subscriptions/index.d.ts +95 -0
  269. package/shares/item/list/subscriptions/index.d.ts.map +1 -0
  270. package/shares/item/list/subscriptions/index.js +71 -0
  271. package/shares/item/list/subscriptions/item/index.d.ts +75 -0
  272. package/shares/item/list/subscriptions/item/index.d.ts.map +1 -0
  273. package/shares/item/list/subscriptions/item/index.js +66 -0
  274. package/shares/item/list/subscriptions/item/reauthorize/index.d.ts +27 -0
  275. package/shares/item/list/subscriptions/item/reauthorize/index.d.ts.map +1 -0
  276. package/shares/item/list/subscriptions/item/reauthorize/index.js +26 -0
  277. package/shares/item/listItem/index.d.ts +41 -0
  278. package/shares/item/listItem/index.d.ts.map +1 -0
  279. package/shares/item/listItem/index.js +36 -0
  280. package/shares/item/permission/grant/index.d.ts +87 -0
  281. package/shares/item/permission/grant/index.d.ts.map +1 -0
  282. package/shares/item/permission/grant/index.js +88 -0
  283. package/shares/item/permission/index.d.ts +75 -0
  284. package/shares/item/permission/index.d.ts.map +1 -0
  285. package/shares/item/permission/index.js +66 -0
  286. package/shares/item/root/content/index.d.ts +42 -0
  287. package/shares/item/root/content/index.d.ts.map +1 -0
  288. package/shares/item/root/content/index.js +39 -0
  289. package/shares/item/root/index.d.ts +50 -0
  290. package/shares/item/root/index.d.ts.map +1 -0
  291. package/shares/item/root/index.js +46 -0
  292. package/shares/item/site/index.d.ts +41 -0
  293. package/shares/item/site/index.d.ts.map +1 -0
  294. package/shares/item/site/index.js +36 -0
  295. package/sharesServiceClient.d.ts +25 -0
  296. package/sharesServiceClient.d.ts.map +1 -0
  297. package/sharesServiceClient.js +49 -0
  298. package/tsconfig.json +15 -0
  299. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,61 @@
1
+ import { type ContentType } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface AddCopyPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
+ */
7
+ additionalData?: Record<string, unknown>;
8
+ /**
9
+ * Stores model information.
10
+ */
11
+ backingStoreEnabled?: boolean;
12
+ /**
13
+ * The contentType property
14
+ */
15
+ contentType?: string;
16
+ }
17
+ /**
18
+ * Provides operations to call the addCopy method.
19
+ */
20
+ export interface AddCopyRequestBuilder extends BaseRequestBuilder<AddCopyRequestBuilder> {
21
+ /**
22
+ * Add a copy of a [content type][contentType] from a [site][site] to a [list][list].
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a Promise of ContentType
26
+ * @see {@link https://learn.microsoft.com/graph/api/contenttype-addcopy?view=graph-rest-1.0|Find more info here}
27
+ */
28
+ post(body: AddCopyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
29
+ /**
30
+ * Add a copy of a [content type][contentType] from a [site][site] to a [list][list].
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toPostRequestInformation(body: AddCopyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ }
37
+ /**
38
+ * Creates a new instance of the appropriate class based on discriminator value
39
+ * @param parseNode The parse node to use to read the discriminator value and create the object
40
+ * @returns a addCopyPostRequestBody
41
+ */
42
+ export declare function createAddCopyPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddCopyPostRequestBody;
43
+ /**
44
+ * The deserialization information for the current model
45
+ * @returns a Record<string, (node: ParseNode) => void>
46
+ */
47
+ export declare function deserializeIntoAddCopyPostRequestBody(addCopyPostRequestBody?: AddCopyPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ export declare function serializeAddCopyPostRequestBody(writer: SerializationWriter, addCopyPostRequestBody?: AddCopyPostRequestBody | undefined): void;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const AddCopyRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const AddCopyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopy";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACvF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,sBAAsB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;;;GAIG;AACH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,gDAElG;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3L;AACD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,sBAAsB,GAAG,SAAwC,GAAI,IAAI,CAG7K;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAanD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,uEAAuE,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddCopyRequestBuilderUriTemplate = exports.AddCopyRequestBuilderRequestsMetadata = exports.serializeAddCopyPostRequestBody = exports.deserializeIntoAddCopyPostRequestBody = exports.createAddCopyPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a addCopyPostRequestBody
13
+ */
14
+ function createAddCopyPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoAddCopyPostRequestBody;
16
+ }
17
+ exports.createAddCopyPostRequestBodyFromDiscriminatorValue = createAddCopyPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoAddCopyPostRequestBody(addCopyPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { addCopyPostRequestBody.backingStoreEnabled = true; },
25
+ "contentType": n => { addCopyPostRequestBody.contentType = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoAddCopyPostRequestBody = deserializeIntoAddCopyPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeAddCopyPostRequestBody(writer, addCopyPostRequestBody = {}) {
34
+ writer.writeStringValue("contentType", addCopyPostRequestBody.contentType);
35
+ writer.writeAdditionalData(addCopyPostRequestBody.additionalData);
36
+ }
37
+ exports.serializeAddCopyPostRequestBody = serializeAddCopyPostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.AddCopyRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createContentTypeFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeAddCopyPostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.AddCopyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopy";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type ContentType } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface AddCopyFromContentTypeHubPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
+ */
7
+ additionalData?: Record<string, unknown>;
8
+ /**
9
+ * Stores model information.
10
+ */
11
+ backingStoreEnabled?: boolean;
12
+ /**
13
+ * The contentTypeId property
14
+ */
15
+ contentTypeId?: string;
16
+ }
17
+ /**
18
+ * Provides operations to call the addCopyFromContentTypeHub method.
19
+ */
20
+ export interface AddCopyFromContentTypeHubRequestBuilder extends BaseRequestBuilder<AddCopyFromContentTypeHubRequestBuilder> {
21
+ /**
22
+ * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021.
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a Promise of ContentType
26
+ * @see {@link https://learn.microsoft.com/graph/api/contenttype-addcopyfromcontenttypehub?view=graph-rest-1.0|Find more info here}
27
+ */
28
+ post(body: AddCopyFromContentTypeHubPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
29
+ /**
30
+ * Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toPostRequestInformation(body: AddCopyFromContentTypeHubPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ }
37
+ /**
38
+ * Creates a new instance of the appropriate class based on discriminator value
39
+ * @param parseNode The parse node to use to read the discriminator value and create the object
40
+ * @returns a addCopyFromContentTypeHubPostRequestBody
41
+ */
42
+ export declare function createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
43
+ /**
44
+ * The deserialization information for the current model
45
+ * @returns a Record<string, (node: ParseNode) => void>
46
+ */
47
+ export declare function deserializeIntoAddCopyFromContentTypeHubPostRequestBody(addCopyFromContentTypeHubPostRequestBody?: AddCopyFromContentTypeHubPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ export declare function serializeAddCopyFromContentTypeHubPostRequestBody(writer: SerializationWriter, addCopyFromContentTypeHubPostRequestBody?: AddCopyFromContentTypeHubPostRequestBody | undefined): void;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const AddCopyFromContentTypeHubRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const AddCopyFromContentTypeHubRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopyFromContentTypeHub";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,wCAAyC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACzG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;;;GAIG;AACH,wBAAgB,oEAAoE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,kEAEpH;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnQ;AACD;;;GAGG;AACH,wBAAgB,iDAAiD,CAAC,MAAM,EAAE,mBAAmB,EAAE,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,IAAI,CAGrP;AACD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAarE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,yFAAyF,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddCopyFromContentTypeHubRequestBuilderUriTemplate = exports.AddCopyFromContentTypeHubRequestBuilderRequestsMetadata = exports.serializeAddCopyFromContentTypeHubPostRequestBody = exports.deserializeIntoAddCopyFromContentTypeHubPostRequestBody = exports.createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a addCopyFromContentTypeHubPostRequestBody
13
+ */
14
+ function createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
16
+ }
17
+ exports.createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue = createAddCopyFromContentTypeHubPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoAddCopyFromContentTypeHubPostRequestBody(addCopyFromContentTypeHubPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { addCopyFromContentTypeHubPostRequestBody.backingStoreEnabled = true; },
25
+ "contentTypeId": n => { addCopyFromContentTypeHubPostRequestBody.contentTypeId = n.getStringValue(); },
26
+ };
27
+ }
28
+ exports.deserializeIntoAddCopyFromContentTypeHubPostRequestBody = deserializeIntoAddCopyFromContentTypeHubPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeAddCopyFromContentTypeHubPostRequestBody(writer, addCopyFromContentTypeHubPostRequestBody = {}) {
34
+ writer.writeStringValue("contentTypeId", addCopyFromContentTypeHubPostRequestBody.contentTypeId);
35
+ writer.writeAdditionalData(addCopyFromContentTypeHubPostRequestBody.additionalData);
36
+ }
37
+ exports.serializeAddCopyFromContentTypeHubPostRequestBody = serializeAddCopyFromContentTypeHubPostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.AddCopyFromContentTypeHubRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createContentTypeFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeAddCopyFromContentTypeHubPostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.AddCopyFromContentTypeHubRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/addCopyFromContentTypeHub";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4FAA4F,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,83 @@
1
+ import { type BaseCollectionPaginationCountResponse, type ContentType } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a getCompatibleHubContentTypesGetResponse
7
+ */
8
+ export declare function createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetCompatibleHubContentTypesGetResponse;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoGetCompatibleHubContentTypesGetResponse(getCompatibleHubContentTypesGetResponse?: GetCompatibleHubContentTypesGetResponse | undefined): Record<string, (node: ParseNode) => void>;
14
+ export interface GetCompatibleHubContentTypesGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
15
+ /**
16
+ * The value property
17
+ */
18
+ value?: ContentType[];
19
+ }
20
+ /**
21
+ * Provides operations to call the getCompatibleHubContentTypes method.
22
+ */
23
+ export interface GetCompatibleHubContentTypesRequestBuilder extends BaseRequestBuilder<GetCompatibleHubContentTypesRequestBuilder> {
24
+ /**
25
+ * Invoke function getCompatibleHubContentTypes
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of GetCompatibleHubContentTypesGetResponse
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<GetCompatibleHubContentTypesGetResponse | undefined>;
30
+ /**
31
+ * Invoke function getCompatibleHubContentTypes
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GetCompatibleHubContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
36
+ }
37
+ /**
38
+ * Invoke function getCompatibleHubContentTypes
39
+ */
40
+ export interface GetCompatibleHubContentTypesRequestBuilderGetQueryParameters {
41
+ /**
42
+ * Include count of items
43
+ */
44
+ count?: boolean;
45
+ /**
46
+ * Filter items by property values
47
+ */
48
+ filter?: string;
49
+ /**
50
+ * Order items by property values
51
+ */
52
+ orderby?: string[];
53
+ /**
54
+ * Search items by search phrases
55
+ */
56
+ search?: string;
57
+ /**
58
+ * Select properties to be returned
59
+ */
60
+ select?: string[];
61
+ /**
62
+ * Skip the first n items
63
+ */
64
+ skip?: number;
65
+ /**
66
+ * Show only the first n items
67
+ */
68
+ top?: number;
69
+ }
70
+ /**
71
+ * Serializes information the current object
72
+ * @param writer Serialization writer to use to serialize this model
73
+ */
74
+ export declare function serializeGetCompatibleHubContentTypesGetResponse(writer: SerializationWriter, getCompatibleHubContentTypesGetResponse?: GetCompatibleHubContentTypesGetResponse | undefined): void;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const GetCompatibleHubContentTypesRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const GetCompatibleHubContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/getCompatibleHubContentTypes(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuK,KAAK,qCAAqC,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAEnR,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElO;;;;GAIG;AACH,wBAAgB,mEAAmE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,iEAEnH;AACD;;;GAGG;AACH,wBAAgB,sDAAsD,CAAC,uCAAuC,GAAE,uCAAuC,GAAG,SAAyD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/P;AACD,MAAM,WAAW,uCAAwC,SAAQ,qCAAqC,EAAE,QAAQ;IAC5G;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;CACzB;AACD;;GAEG;AACH,MAAM,WAAW,0CAA2C,SAAQ,kBAAkB,CAAC,0CAA0C,CAAC;IAC9H;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxK;AACD;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,MAAM,EAAE,mBAAmB,EAAE,uCAAuC,GAAE,uCAAuC,GAAG,SAAyD,GAAI,IAAI,CAGjP;AAaD;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBAWxE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,iKAAiK,CAAC"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCompatibleHubContentTypesRequestBuilderUriTemplate = exports.GetCompatibleHubContentTypesRequestBuilderRequestsMetadata = exports.serializeGetCompatibleHubContentTypesGetResponse = exports.deserializeIntoGetCompatibleHubContentTypesGetResponse = exports.createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getCompatibleHubContentTypesGetResponse
13
+ */
14
+ function createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoGetCompatibleHubContentTypesGetResponse;
16
+ }
17
+ exports.createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue = createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoGetCompatibleHubContentTypesGetResponse(getCompatibleHubContentTypesGetResponse = {}) {
23
+ return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getCompatibleHubContentTypesGetResponse)), { "value": n => { getCompatibleHubContentTypesGetResponse.value = n.getCollectionOfObjectValues(models_1.createContentTypeFromDiscriminatorValue); } });
24
+ }
25
+ exports.deserializeIntoGetCompatibleHubContentTypesGetResponse = deserializeIntoGetCompatibleHubContentTypesGetResponse;
26
+ /**
27
+ * Serializes information the current object
28
+ * @param writer Serialization writer to use to serialize this model
29
+ */
30
+ function serializeGetCompatibleHubContentTypesGetResponse(writer, getCompatibleHubContentTypesGetResponse = {}) {
31
+ (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getCompatibleHubContentTypesGetResponse);
32
+ writer.writeCollectionOfObjectValues("value", getCompatibleHubContentTypesGetResponse.value, models_1.serializeContentType);
33
+ }
34
+ exports.serializeGetCompatibleHubContentTypesGetResponse = serializeGetCompatibleHubContentTypesGetResponse;
35
+ /**
36
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
37
+ */
38
+ const GetCompatibleHubContentTypesRequestBuilderGetQueryParametersMapper = {
39
+ "count": "%24count",
40
+ "filter": "%24filter",
41
+ "orderby": "%24orderby",
42
+ "search": "%24search",
43
+ "select": "%24select",
44
+ "skip": "%24skip",
45
+ "top": "%24top",
46
+ };
47
+ /**
48
+ * Metadata for all the requests in the request builder.
49
+ */
50
+ exports.GetCompatibleHubContentTypesRequestBuilderRequestsMetadata = {
51
+ get: {
52
+ responseBodyContentType: "application/json",
53
+ errorMappings: {
54
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
55
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ },
57
+ adapterMethodName: "sendAsync",
58
+ responseBodyFactory: createGetCompatibleHubContentTypesGetResponseFromDiscriminatorValue,
59
+ queryParametersMapper: GetCompatibleHubContentTypesRequestBuilderGetQueryParametersMapper,
60
+ },
61
+ };
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ exports.GetCompatibleHubContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes/getCompatibleHubContentTypes(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
66
+ /* tslint:enable */
67
+ /* eslint-enable */
@@ -0,0 +1,111 @@
1
+ import { type ContentType, type ContentTypeCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AddCopyRequestBuilder } from './addCopy/';
3
+ import { type AddCopyFromContentTypeHubRequestBuilder } from './addCopyFromContentTypeHub/';
4
+ import { type CountRequestBuilder } from './count/';
5
+ import { type GetCompatibleHubContentTypesRequestBuilder } from './getCompatibleHubContentTypes/';
6
+ import { type ContentTypeItemRequestBuilder } from './item/';
7
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
8
+ /**
9
+ * Provides operations to manage the contentTypes property of the microsoft.graph.list entity.
10
+ */
11
+ export interface ContentTypesRequestBuilder extends BaseRequestBuilder<ContentTypesRequestBuilder> {
12
+ /**
13
+ * Provides operations to call the addCopy method.
14
+ */
15
+ get addCopy(): AddCopyRequestBuilder;
16
+ /**
17
+ * Provides operations to call the addCopyFromContentTypeHub method.
18
+ */
19
+ get addCopyFromContentTypeHub(): AddCopyFromContentTypeHubRequestBuilder;
20
+ /**
21
+ * Provides operations to count the resources in the collection.
22
+ */
23
+ get count(): CountRequestBuilder;
24
+ /**
25
+ * Provides operations to call the getCompatibleHubContentTypes method.
26
+ */
27
+ get getCompatibleHubContentTypes(): GetCompatibleHubContentTypesRequestBuilder;
28
+ /**
29
+ * Provides operations to manage the contentTypes property of the microsoft.graph.list entity.
30
+ * @param contentTypeId The unique identifier of contentType
31
+ * @returns a ContentTypeItemRequestBuilder
32
+ */
33
+ byContentTypeId(contentTypeId: string): ContentTypeItemRequestBuilder;
34
+ /**
35
+ * Get the collection of [contentType][contentType] resources in a [list][].
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a Promise of ContentTypeCollectionResponse
38
+ * @see {@link https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0|Find more info here}
39
+ */
40
+ get(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): Promise<ContentTypeCollectionResponse | undefined>;
41
+ /**
42
+ * Create new navigation property to contentTypes for shares
43
+ * @param body The request body
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns a Promise of ContentType
46
+ */
47
+ post(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ContentType | undefined>;
48
+ /**
49
+ * Get the collection of [contentType][contentType] resources in a [list][].
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns a RequestInformation
52
+ */
53
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContentTypesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
54
+ /**
55
+ * Create new navigation property to contentTypes for shares
56
+ * @param body The request body
57
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
+ * @returns a RequestInformation
59
+ */
60
+ toPostRequestInformation(body: ContentType, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
+ }
62
+ /**
63
+ * Get the collection of [contentType][contentType] resources in a [list][].
64
+ */
65
+ export interface ContentTypesRequestBuilderGetQueryParameters {
66
+ /**
67
+ * Include count of items
68
+ */
69
+ count?: boolean;
70
+ /**
71
+ * Expand related entities
72
+ */
73
+ expand?: string[];
74
+ /**
75
+ * Filter items by property values
76
+ */
77
+ filter?: string;
78
+ /**
79
+ * Order items by property values
80
+ */
81
+ orderby?: string[];
82
+ /**
83
+ * Search items by search phrases
84
+ */
85
+ search?: string;
86
+ /**
87
+ * Select properties to be returned
88
+ */
89
+ select?: string[];
90
+ /**
91
+ * Skip the first n items
92
+ */
93
+ skip?: number;
94
+ /**
95
+ * Show only the first n items
96
+ */
97
+ top?: number;
98
+ }
99
+ /**
100
+ * Metadata for all the navigation properties in the request builder.
101
+ */
102
+ export declare const ContentTypesRequestBuilderNavigationMetadata: Record<Exclude<keyof ContentTypesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
103
+ /**
104
+ * Metadata for all the requests in the request builder.
105
+ */
106
+ export declare const ContentTypesRequestBuilderRequestsMetadata: RequestsMetadata;
107
+ /**
108
+ * Uri template for the request builder.
109
+ */
110
+ export declare const ContentTypesRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/contentTypes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
111
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4H,KAAK,WAAW,EAAE,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEhO,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,OAAO,EAA+G,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACzM,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAqH,KAAK,0CAA0C,EAAE,MAAM,iCAAiC,CAAC;AACrN,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,SAAS,CAAC;AACvM,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,yBAAyB,IAAI,uCAAuC,CAAC;IACzE;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,4BAA4B,IAAI,0CAA0C,CAAC;IAC/E;;;;OAIG;IACF,eAAe,CAAC,aAAa,EAAE,MAAM,GAAI,6BAA6B,CAAC;IACxE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACjK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAuBlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,4IAA4I,CAAC"}