@microsoft/msgraph-sdk-print 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 (278) 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/print/connectors/count/index.d.ts +40 -0
  8. package/print/connectors/count/index.d.ts.map +1 -0
  9. package/print/connectors/count/index.js +35 -0
  10. package/print/connectors/index.d.ts +96 -0
  11. package/print/connectors/index.d.ts.map +1 -0
  12. package/print/connectors/index.js +70 -0
  13. package/print/connectors/item/index.d.ts +69 -0
  14. package/print/connectors/item/index.d.ts.map +1 -0
  15. package/print/connectors/item/index.js +56 -0
  16. package/print/index.d.ts +89 -0
  17. package/print/index.d.ts.map +1 -0
  18. package/print/index.js +89 -0
  19. package/print/operations/count/index.d.ts +40 -0
  20. package/print/operations/count/index.d.ts.map +1 -0
  21. package/print/operations/count/index.js +35 -0
  22. package/print/operations/index.d.ts +95 -0
  23. package/print/operations/index.d.ts.map +1 -0
  24. package/print/operations/index.js +70 -0
  25. package/print/operations/item/index.d.ts +67 -0
  26. package/print/operations/item/index.d.ts.map +1 -0
  27. package/print/operations/item/index.js +56 -0
  28. package/print/printers/count/index.d.ts +40 -0
  29. package/print/printers/count/index.d.ts.map +1 -0
  30. package/print/printers/count/index.js +35 -0
  31. package/print/printers/create/index.d.ts +84 -0
  32. package/print/printers/create/index.d.ts.map +1 -0
  33. package/print/printers/create/index.js +71 -0
  34. package/print/printers/index.d.ts +101 -0
  35. package/print/printers/index.d.ts.map +1 -0
  36. package/print/printers/index.js +76 -0
  37. package/print/printers/item/connectors/count/index.d.ts +40 -0
  38. package/print/printers/item/connectors/count/index.d.ts.map +1 -0
  39. package/print/printers/item/connectors/count/index.js +35 -0
  40. package/print/printers/item/connectors/index.d.ts +82 -0
  41. package/print/printers/item/connectors/index.d.ts.map +1 -0
  42. package/print/printers/item/connectors/index.js +58 -0
  43. package/print/printers/item/connectors/item/index.d.ts +41 -0
  44. package/print/printers/item/connectors/item/index.d.ts.map +1 -0
  45. package/print/printers/item/connectors/item/index.js +36 -0
  46. package/print/printers/item/index.d.ts +98 -0
  47. package/print/printers/item/index.d.ts.map +1 -0
  48. package/print/printers/item/index.js +90 -0
  49. package/print/printers/item/jobs/count/index.d.ts +40 -0
  50. package/print/printers/item/jobs/count/index.d.ts.map +1 -0
  51. package/print/printers/item/jobs/count/index.js +35 -0
  52. package/print/printers/item/jobs/index.d.ts +95 -0
  53. package/print/printers/item/jobs/index.d.ts.map +1 -0
  54. package/print/printers/item/jobs/index.js +71 -0
  55. package/print/printers/item/jobs/item/abort/index.d.ts +59 -0
  56. package/print/printers/item/jobs/item/abort/index.d.ts.map +1 -0
  57. package/print/printers/item/jobs/item/abort/index.js +58 -0
  58. package/print/printers/item/jobs/item/cancel/index.d.ts +27 -0
  59. package/print/printers/item/jobs/item/cancel/index.d.ts.map +1 -0
  60. package/print/printers/item/jobs/item/cancel/index.js +26 -0
  61. package/print/printers/item/jobs/item/documents/count/index.d.ts +40 -0
  62. package/print/printers/item/jobs/item/documents/count/index.d.ts.map +1 -0
  63. package/print/printers/item/jobs/item/documents/count/index.js +35 -0
  64. package/print/printers/item/jobs/item/documents/index.d.ts +95 -0
  65. package/print/printers/item/jobs/item/documents/index.d.ts.map +1 -0
  66. package/print/printers/item/jobs/item/documents/index.js +71 -0
  67. package/print/printers/item/jobs/item/documents/item/createUploadSession/index.d.ts +61 -0
  68. package/print/printers/item/jobs/item/documents/item/createUploadSession/index.d.ts.map +1 -0
  69. package/print/printers/item/jobs/item/documents/item/createUploadSession/index.js +60 -0
  70. package/print/printers/item/jobs/item/documents/item/index.d.ts +80 -0
  71. package/print/printers/item/jobs/item/documents/item/index.d.ts.map +1 -0
  72. package/print/printers/item/jobs/item/documents/item/index.js +71 -0
  73. package/print/printers/item/jobs/item/documents/item/value/index.d.ts +41 -0
  74. package/print/printers/item/jobs/item/documents/item/value/index.d.ts.map +1 -0
  75. package/print/printers/item/jobs/item/documents/item/value/index.js +38 -0
  76. package/print/printers/item/jobs/item/index.d.ts +100 -0
  77. package/print/printers/item/jobs/item/index.d.ts.map +1 -0
  78. package/print/printers/item/jobs/item/index.js +93 -0
  79. package/print/printers/item/jobs/item/redirect/index.d.ts +65 -0
  80. package/print/printers/item/jobs/item/redirect/index.d.ts.map +1 -0
  81. package/print/printers/item/jobs/item/redirect/index.js +62 -0
  82. package/print/printers/item/jobs/item/start/index.d.ts +29 -0
  83. package/print/printers/item/jobs/item/start/index.d.ts.map +1 -0
  84. package/print/printers/item/jobs/item/start/index.js +28 -0
  85. package/print/printers/item/jobs/item/tasks/count/index.d.ts +40 -0
  86. package/print/printers/item/jobs/item/tasks/count/index.d.ts.map +1 -0
  87. package/print/printers/item/jobs/item/tasks/count/index.js +35 -0
  88. package/print/printers/item/jobs/item/tasks/index.d.ts +95 -0
  89. package/print/printers/item/jobs/item/tasks/index.d.ts.map +1 -0
  90. package/print/printers/item/jobs/item/tasks/index.js +71 -0
  91. package/print/printers/item/jobs/item/tasks/item/definition/index.d.ts +41 -0
  92. package/print/printers/item/jobs/item/tasks/item/definition/index.d.ts.map +1 -0
  93. package/print/printers/item/jobs/item/tasks/item/definition/index.js +36 -0
  94. package/print/printers/item/jobs/item/tasks/item/index.d.ts +80 -0
  95. package/print/printers/item/jobs/item/tasks/item/index.d.ts.map +1 -0
  96. package/print/printers/item/jobs/item/tasks/item/index.js +71 -0
  97. package/print/printers/item/jobs/item/tasks/item/trigger/index.d.ts +41 -0
  98. package/print/printers/item/jobs/item/tasks/item/trigger/index.d.ts.map +1 -0
  99. package/print/printers/item/jobs/item/tasks/item/trigger/index.js +36 -0
  100. package/print/printers/item/restoreFactoryDefaults/index.d.ts +27 -0
  101. package/print/printers/item/restoreFactoryDefaults/index.d.ts.map +1 -0
  102. package/print/printers/item/restoreFactoryDefaults/index.js +26 -0
  103. package/print/printers/item/shares/count/index.d.ts +40 -0
  104. package/print/printers/item/shares/count/index.d.ts.map +1 -0
  105. package/print/printers/item/shares/count/index.js +35 -0
  106. package/print/printers/item/shares/index.d.ts +82 -0
  107. package/print/printers/item/shares/index.d.ts.map +1 -0
  108. package/print/printers/item/shares/index.js +58 -0
  109. package/print/printers/item/shares/item/index.d.ts +41 -0
  110. package/print/printers/item/shares/item/index.d.ts.map +1 -0
  111. package/print/printers/item/shares/item/index.js +36 -0
  112. package/print/printers/item/taskTriggers/count/index.d.ts +40 -0
  113. package/print/printers/item/taskTriggers/count/index.d.ts.map +1 -0
  114. package/print/printers/item/taskTriggers/count/index.js +35 -0
  115. package/print/printers/item/taskTriggers/index.d.ts +97 -0
  116. package/print/printers/item/taskTriggers/index.d.ts.map +1 -0
  117. package/print/printers/item/taskTriggers/index.js +71 -0
  118. package/print/printers/item/taskTriggers/item/definition/index.d.ts +41 -0
  119. package/print/printers/item/taskTriggers/item/definition/index.d.ts.map +1 -0
  120. package/print/printers/item/taskTriggers/item/definition/index.js +36 -0
  121. package/print/printers/item/taskTriggers/item/index.d.ts +77 -0
  122. package/print/printers/item/taskTriggers/item/index.d.ts.map +1 -0
  123. package/print/printers/item/taskTriggers/item/index.js +66 -0
  124. package/print/services/count/index.d.ts +40 -0
  125. package/print/services/count/index.d.ts.map +1 -0
  126. package/print/services/count/index.js +35 -0
  127. package/print/services/index.d.ts +96 -0
  128. package/print/services/index.d.ts.map +1 -0
  129. package/print/services/index.js +71 -0
  130. package/print/services/item/endpoints/count/index.d.ts +40 -0
  131. package/print/services/item/endpoints/count/index.d.ts.map +1 -0
  132. package/print/services/item/endpoints/count/index.js +35 -0
  133. package/print/services/item/endpoints/index.d.ts +96 -0
  134. package/print/services/item/endpoints/index.d.ts.map +1 -0
  135. package/print/services/item/endpoints/index.js +70 -0
  136. package/print/services/item/endpoints/item/index.d.ts +67 -0
  137. package/print/services/item/endpoints/item/index.d.ts.map +1 -0
  138. package/print/services/item/endpoints/item/index.js +56 -0
  139. package/print/services/item/index.d.ts +76 -0
  140. package/print/services/item/index.d.ts.map +1 -0
  141. package/print/services/item/index.js +67 -0
  142. package/print/shares/count/index.d.ts +40 -0
  143. package/print/shares/count/index.d.ts.map +1 -0
  144. package/print/shares/count/index.js +35 -0
  145. package/print/shares/index.d.ts +97 -0
  146. package/print/shares/index.d.ts.map +1 -0
  147. package/print/shares/index.js +71 -0
  148. package/print/shares/item/allowedGroups/count/index.d.ts +40 -0
  149. package/print/shares/item/allowedGroups/count/index.d.ts.map +1 -0
  150. package/print/shares/item/allowedGroups/count/index.js +35 -0
  151. package/print/shares/item/allowedGroups/index.d.ts +87 -0
  152. package/print/shares/item/allowedGroups/index.d.ts.map +1 -0
  153. package/print/shares/item/allowedGroups/index.js +63 -0
  154. package/print/shares/item/allowedGroups/item/index.d.ts +25 -0
  155. package/print/shares/item/allowedGroups/item/index.d.ts.map +1 -0
  156. package/print/shares/item/allowedGroups/item/index.js +28 -0
  157. package/print/shares/item/allowedGroups/item/ref/index.d.ts +36 -0
  158. package/print/shares/item/allowedGroups/item/ref/index.d.ts.map +1 -0
  159. package/print/shares/item/allowedGroups/item/ref/index.js +33 -0
  160. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.d.ts +40 -0
  161. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  162. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/count/index.js +35 -0
  163. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.d.ts +74 -0
  164. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  165. package/print/shares/item/allowedGroups/item/serviceProvisioningErrors/index.js +52 -0
  166. package/print/shares/item/allowedGroups/ref/index.d.ts +72 -0
  167. package/print/shares/item/allowedGroups/ref/index.d.ts.map +1 -0
  168. package/print/shares/item/allowedGroups/ref/index.js +51 -0
  169. package/print/shares/item/allowedUsers/count/index.d.ts +40 -0
  170. package/print/shares/item/allowedUsers/count/index.d.ts.map +1 -0
  171. package/print/shares/item/allowedUsers/count/index.js +35 -0
  172. package/print/shares/item/allowedUsers/index.d.ts +87 -0
  173. package/print/shares/item/allowedUsers/index.d.ts.map +1 -0
  174. package/print/shares/item/allowedUsers/index.js +63 -0
  175. package/print/shares/item/allowedUsers/item/index.d.ts +30 -0
  176. package/print/shares/item/allowedUsers/item/index.d.ts.map +1 -0
  177. package/print/shares/item/allowedUsers/item/index.js +33 -0
  178. package/print/shares/item/allowedUsers/item/mailboxSettings/index.d.ts +55 -0
  179. package/print/shares/item/allowedUsers/item/mailboxSettings/index.d.ts.map +1 -0
  180. package/print/shares/item/allowedUsers/item/mailboxSettings/index.js +48 -0
  181. package/print/shares/item/allowedUsers/item/ref/index.d.ts +36 -0
  182. package/print/shares/item/allowedUsers/item/ref/index.d.ts.map +1 -0
  183. package/print/shares/item/allowedUsers/item/ref/index.js +33 -0
  184. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.d.ts +40 -0
  185. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  186. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/count/index.js +35 -0
  187. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.d.ts +74 -0
  188. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  189. package/print/shares/item/allowedUsers/item/serviceProvisioningErrors/index.js +52 -0
  190. package/print/shares/item/allowedUsers/ref/index.d.ts +72 -0
  191. package/print/shares/item/allowedUsers/ref/index.d.ts.map +1 -0
  192. package/print/shares/item/allowedUsers/ref/index.js +51 -0
  193. package/print/shares/item/index.d.ts +93 -0
  194. package/print/shares/item/index.d.ts.map +1 -0
  195. package/print/shares/item/index.js +84 -0
  196. package/print/shares/item/jobs/count/index.d.ts +40 -0
  197. package/print/shares/item/jobs/count/index.d.ts.map +1 -0
  198. package/print/shares/item/jobs/count/index.js +35 -0
  199. package/print/shares/item/jobs/index.d.ts +95 -0
  200. package/print/shares/item/jobs/index.d.ts.map +1 -0
  201. package/print/shares/item/jobs/index.js +71 -0
  202. package/print/shares/item/jobs/item/abort/index.d.ts +59 -0
  203. package/print/shares/item/jobs/item/abort/index.d.ts.map +1 -0
  204. package/print/shares/item/jobs/item/abort/index.js +58 -0
  205. package/print/shares/item/jobs/item/cancel/index.d.ts +27 -0
  206. package/print/shares/item/jobs/item/cancel/index.d.ts.map +1 -0
  207. package/print/shares/item/jobs/item/cancel/index.js +26 -0
  208. package/print/shares/item/jobs/item/documents/count/index.d.ts +40 -0
  209. package/print/shares/item/jobs/item/documents/count/index.d.ts.map +1 -0
  210. package/print/shares/item/jobs/item/documents/count/index.js +35 -0
  211. package/print/shares/item/jobs/item/documents/index.d.ts +95 -0
  212. package/print/shares/item/jobs/item/documents/index.d.ts.map +1 -0
  213. package/print/shares/item/jobs/item/documents/index.js +71 -0
  214. package/print/shares/item/jobs/item/documents/item/createUploadSession/index.d.ts +61 -0
  215. package/print/shares/item/jobs/item/documents/item/createUploadSession/index.d.ts.map +1 -0
  216. package/print/shares/item/jobs/item/documents/item/createUploadSession/index.js +60 -0
  217. package/print/shares/item/jobs/item/documents/item/index.d.ts +80 -0
  218. package/print/shares/item/jobs/item/documents/item/index.d.ts.map +1 -0
  219. package/print/shares/item/jobs/item/documents/item/index.js +71 -0
  220. package/print/shares/item/jobs/item/documents/item/value/index.d.ts +41 -0
  221. package/print/shares/item/jobs/item/documents/item/value/index.d.ts.map +1 -0
  222. package/print/shares/item/jobs/item/documents/item/value/index.js +38 -0
  223. package/print/shares/item/jobs/item/index.d.ts +100 -0
  224. package/print/shares/item/jobs/item/index.d.ts.map +1 -0
  225. package/print/shares/item/jobs/item/index.js +93 -0
  226. package/print/shares/item/jobs/item/redirect/index.d.ts +65 -0
  227. package/print/shares/item/jobs/item/redirect/index.d.ts.map +1 -0
  228. package/print/shares/item/jobs/item/redirect/index.js +62 -0
  229. package/print/shares/item/jobs/item/start/index.d.ts +29 -0
  230. package/print/shares/item/jobs/item/start/index.d.ts.map +1 -0
  231. package/print/shares/item/jobs/item/start/index.js +28 -0
  232. package/print/shares/item/jobs/item/tasks/count/index.d.ts +40 -0
  233. package/print/shares/item/jobs/item/tasks/count/index.d.ts.map +1 -0
  234. package/print/shares/item/jobs/item/tasks/count/index.js +35 -0
  235. package/print/shares/item/jobs/item/tasks/index.d.ts +95 -0
  236. package/print/shares/item/jobs/item/tasks/index.d.ts.map +1 -0
  237. package/print/shares/item/jobs/item/tasks/index.js +71 -0
  238. package/print/shares/item/jobs/item/tasks/item/definition/index.d.ts +41 -0
  239. package/print/shares/item/jobs/item/tasks/item/definition/index.d.ts.map +1 -0
  240. package/print/shares/item/jobs/item/tasks/item/definition/index.js +36 -0
  241. package/print/shares/item/jobs/item/tasks/item/index.d.ts +80 -0
  242. package/print/shares/item/jobs/item/tasks/item/index.d.ts.map +1 -0
  243. package/print/shares/item/jobs/item/tasks/item/index.js +71 -0
  244. package/print/shares/item/jobs/item/tasks/item/trigger/index.d.ts +41 -0
  245. package/print/shares/item/jobs/item/tasks/item/trigger/index.d.ts.map +1 -0
  246. package/print/shares/item/jobs/item/tasks/item/trigger/index.js +36 -0
  247. package/print/shares/item/printer/index.d.ts +41 -0
  248. package/print/shares/item/printer/index.d.ts.map +1 -0
  249. package/print/shares/item/printer/index.js +36 -0
  250. package/print/taskDefinitions/count/index.d.ts +40 -0
  251. package/print/taskDefinitions/count/index.d.ts.map +1 -0
  252. package/print/taskDefinitions/count/index.js +35 -0
  253. package/print/taskDefinitions/index.d.ts +97 -0
  254. package/print/taskDefinitions/index.d.ts.map +1 -0
  255. package/print/taskDefinitions/index.js +71 -0
  256. package/print/taskDefinitions/item/index.d.ts +78 -0
  257. package/print/taskDefinitions/item/index.d.ts.map +1 -0
  258. package/print/taskDefinitions/item/index.js +67 -0
  259. package/print/taskDefinitions/item/tasks/count/index.d.ts +40 -0
  260. package/print/taskDefinitions/item/tasks/count/index.d.ts.map +1 -0
  261. package/print/taskDefinitions/item/tasks/count/index.js +35 -0
  262. package/print/taskDefinitions/item/tasks/index.d.ts +96 -0
  263. package/print/taskDefinitions/item/tasks/index.d.ts.map +1 -0
  264. package/print/taskDefinitions/item/tasks/index.js +71 -0
  265. package/print/taskDefinitions/item/tasks/item/definition/index.d.ts +41 -0
  266. package/print/taskDefinitions/item/tasks/item/definition/index.d.ts.map +1 -0
  267. package/print/taskDefinitions/item/tasks/item/definition/index.js +36 -0
  268. package/print/taskDefinitions/item/tasks/item/index.d.ts +82 -0
  269. package/print/taskDefinitions/item/tasks/item/index.d.ts.map +1 -0
  270. package/print/taskDefinitions/item/tasks/item/index.js +71 -0
  271. package/print/taskDefinitions/item/tasks/item/trigger/index.d.ts +41 -0
  272. package/print/taskDefinitions/item/tasks/item/trigger/index.d.ts.map +1 -0
  273. package/print/taskDefinitions/item/tasks/item/trigger/index.js +36 -0
  274. package/printServiceClient.d.ts +25 -0
  275. package/printServiceClient.d.ts.map +1 -0
  276. package/printServiceClient.js +49 -0
  277. package/tsconfig.json +15 -0
  278. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,55 @@
1
+ import { type MailboxSettings } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /print/shares/{printerShare-id}/allowedUsers/{user-id}/mailboxSettings
5
+ */
6
+ export interface MailboxSettingsRequestBuilder extends BaseRequestBuilder<MailboxSettingsRequestBuilder> {
7
+ /**
8
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of MailboxSettings
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<MailboxSettingsRequestBuilderGetQueryParameters> | undefined): Promise<MailboxSettings | undefined>;
13
+ /**
14
+ * Update property mailboxSettings value.
15
+ * @param body The request body
16
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
+ * @returns a Promise of MailboxSettings
18
+ */
19
+ patch(body: MailboxSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MailboxSettings | undefined>;
20
+ /**
21
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns a RequestInformation
24
+ */
25
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<MailboxSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
26
+ /**
27
+ * Update property mailboxSettings value.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a RequestInformation
31
+ */
32
+ toPatchRequestInformation(body: MailboxSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
+ }
34
+ /**
35
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
36
+ */
37
+ export interface MailboxSettingsRequestBuilderGetQueryParameters {
38
+ /**
39
+ * Expand related entities
40
+ */
41
+ expand?: string[];
42
+ /**
43
+ * Select properties to be returned
44
+ */
45
+ select?: string[];
46
+ }
47
+ /**
48
+ * Metadata for all the requests in the request builder.
49
+ */
50
+ export declare const MailboxSettingsRequestBuilderRequestsMetadata: RequestsMetadata;
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ export declare const MailboxSettingsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/mailboxSettings{?%24select,%24expand}";
55
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAuB3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,+GAA+G,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MailboxSettingsRequestBuilderUriTemplate = exports.MailboxSettingsRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const MailboxSettingsRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.MailboxSettingsRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createMailboxSettingsFromDiscriminatorValue,
28
+ queryParametersMapper: MailboxSettingsRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ patch: {
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "sendAsync",
37
+ responseBodyFactory: models_1.createMailboxSettingsFromDiscriminatorValue,
38
+ requestBodyContentType: "application/json",
39
+ requestBodySerializer: models_1.serializeMailboxSettings,
40
+ requestInformationContentSetMethod: "setContentFromParsable",
41
+ },
42
+ };
43
+ /**
44
+ * Uri template for the request builder.
45
+ */
46
+ exports.MailboxSettingsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/mailboxSettings{?%24select,%24expand}";
47
+ /* tslint:enable */
48
+ /* eslint-enable */
@@ -0,0 +1,36 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to manage the collection of print entities.
4
+ */
5
+ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
6
+ /**
7
+ * Revoke the specified user's access to submit print jobs to the associated printerShare.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-delete-alloweduser?view=graph-rest-1.0|Find more info here}
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): Promise<void>;
12
+ /**
13
+ * Revoke the specified user's access to submit print jobs to the associated printerShare.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Revoke the specified user's access to submit print jobs to the associated printerShare.
21
+ */
22
+ export interface RefRequestBuilderDeleteQueryParameters {
23
+ /**
24
+ * Delete Uri
25
+ */
26
+ id?: string;
27
+ }
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ /**
33
+ * Uri template for the request builder.
34
+ */
35
+ export declare const RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/$ref{?%40id*}";
36
+ //# 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,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAOD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAU/C,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,uFAAuF,CAAC"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata = 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 RefRequestBuilderDeleteQueryParametersMapper = {
12
+ "id": "%40id",
13
+ };
14
+ /**
15
+ * Metadata for all the requests in the request builder.
16
+ */
17
+ exports.RefRequestBuilderRequestsMetadata = {
18
+ delete: {
19
+ responseBodyContentType: "application/json",
20
+ errorMappings: {
21
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
22
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ },
24
+ adapterMethodName: "sendNoResponseContentAsync",
25
+ queryParametersMapper: RefRequestBuilderDeleteQueryParametersMapper,
26
+ },
27
+ };
28
+ /**
29
+ * Uri template for the request builder.
30
+ */
31
+ exports.RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/$ref{?%40id*}";
32
+ /* tslint:enable */
33
+ /* 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}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/serviceProvisioningErrors/$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,gIAAgI,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}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/serviceProvisioningErrors/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,74 @@
1
+ import { type ServiceProvisioningErrorCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /print/shares/{printerShare-id}/allowedUsers/{user-id}/serviceProvisioningErrors
6
+ */
7
+ export interface ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuilder<ServiceProvisioningErrorsRequestBuilder> {
8
+ /**
9
+ * Provides operations to count the resources in the collection.
10
+ */
11
+ get count(): CountRequestBuilder;
12
+ /**
13
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of ServiceProvisioningErrorCollectionResponse
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceProvisioningErrorCollectionResponse | undefined>;
18
+ /**
19
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
20
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
+ * @returns a RequestInformation
22
+ */
23
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
+ }
25
+ /**
26
+ * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
27
+ */
28
+ export interface ServiceProvisioningErrorsRequestBuilderGetQueryParameters {
29
+ /**
30
+ * Include count of items
31
+ */
32
+ count?: boolean;
33
+ /**
34
+ * Expand related entities
35
+ */
36
+ expand?: string[];
37
+ /**
38
+ * Filter items by property values
39
+ */
40
+ filter?: string;
41
+ /**
42
+ * Order items by property values
43
+ */
44
+ orderby?: string[];
45
+ /**
46
+ * Search items by search phrases
47
+ */
48
+ search?: string;
49
+ /**
50
+ * Select properties to be returned
51
+ */
52
+ select?: string[];
53
+ /**
54
+ * Skip the first n items
55
+ */
56
+ skip?: number;
57
+ /**
58
+ * Show only the first n items
59
+ */
60
+ top?: number;
61
+ }
62
+ /**
63
+ * Metadata for all the navigation properties in the request builder.
64
+ */
65
+ export declare const ServiceProvisioningErrorsRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceProvisioningErrorsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
66
+ /**
67
+ * Metadata for all the requests in the request builder.
68
+ */
69
+ export declare const ServiceProvisioningErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
70
+ /**
71
+ * Uri template for the request builder.
72
+ */
73
+ export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
74
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0E,KAAK,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAEzK,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;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,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAWrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,gLAAgL,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = 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
+ const count_1 = require("./count/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper = {
14
+ "count": "%24count",
15
+ "expand": "%24expand",
16
+ "filter": "%24filter",
17
+ "orderby": "%24orderby",
18
+ "search": "%24search",
19
+ "select": "%24select",
20
+ "skip": "%24skip",
21
+ "top": "%24top",
22
+ };
23
+ /**
24
+ * Metadata for all the navigation properties in the request builder.
25
+ */
26
+ exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
27
+ count: {
28
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
29
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
30
+ },
31
+ };
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = {
36
+ get: {
37
+ responseBodyContentType: "application/json",
38
+ errorMappings: {
39
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ },
42
+ adapterMethodName: "sendAsync",
43
+ responseBodyFactory: models_1.createServiceProvisioningErrorCollectionResponseFromDiscriminatorValue,
44
+ queryParametersMapper: ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper,
45
+ },
46
+ };
47
+ /**
48
+ * Uri template for the request builder.
49
+ */
50
+ exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/{user%2Did}/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
51
+ /* tslint:enable */
52
+ /* eslint-enable */
@@ -0,0 +1,72 @@
1
+ import { type ReferenceCreate, type StringCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the collection of print entities.
5
+ */
6
+ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
7
+ /**
8
+ * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of StringCollectionResponse
11
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0|Find more info here}
12
+ */
13
+ get(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): Promise<StringCollectionResponse | undefined>;
14
+ /**
15
+ * Grant the specified user access to submit print jobs to the associated printerShare.
16
+ * @param body The request body
17
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-post-allowedusers?view=graph-rest-1.0|Find more info here}
19
+ */
20
+ post(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
21
+ /**
22
+ * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare.
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a RequestInformation
25
+ */
26
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderGetQueryParameters> | undefined): RequestInformation;
27
+ /**
28
+ * Grant the specified user access to submit print jobs to the associated printerShare.
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toPostRequestInformation(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ }
35
+ /**
36
+ * Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare.
37
+ */
38
+ export interface RefRequestBuilderGetQueryParameters {
39
+ /**
40
+ * Include count of items
41
+ */
42
+ count?: boolean;
43
+ /**
44
+ * Filter items by property values
45
+ */
46
+ filter?: string;
47
+ /**
48
+ * Order items by property values
49
+ */
50
+ orderby?: string[];
51
+ /**
52
+ * Search items by search phrases
53
+ */
54
+ search?: string;
55
+ /**
56
+ * Skip the first n items
57
+ */
58
+ skip?: number;
59
+ /**
60
+ * Show only the first n items
61
+ */
62
+ top?: number;
63
+ }
64
+ /**
65
+ * Metadata for all the requests in the request builder.
66
+ */
67
+ export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
68
+ /**
69
+ * Uri template for the request builder.
70
+ */
71
+ export declare const RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
72
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkF,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAErL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9G;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;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,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAYD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAsB/C,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,2HAA2H,CAAC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata = 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
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const RefRequestBuilderGetQueryParametersMapper = {
13
+ "count": "%24count",
14
+ "filter": "%24filter",
15
+ "orderby": "%24orderby",
16
+ "search": "%24search",
17
+ "skip": "%24skip",
18
+ "top": "%24top",
19
+ };
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ exports.RefRequestBuilderRequestsMetadata = {
24
+ get: {
25
+ responseBodyContentType: "application/json",
26
+ errorMappings: {
27
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
29
+ },
30
+ adapterMethodName: "sendAsync",
31
+ responseBodyFactory: models_1.createStringCollectionResponseFromDiscriminatorValue,
32
+ queryParametersMapper: RefRequestBuilderGetQueryParametersMapper,
33
+ },
34
+ post: {
35
+ responseBodyContentType: "application/json",
36
+ errorMappings: {
37
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
38
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
39
+ },
40
+ adapterMethodName: "sendNoResponseContentAsync",
41
+ requestBodyContentType: "application/json",
42
+ requestBodySerializer: models_1.serializeReferenceCreate,
43
+ requestInformationContentSetMethod: "setContentFromParsable",
44
+ },
45
+ };
46
+ /**
47
+ * Uri template for the request builder.
48
+ */
49
+ exports.RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
50
+ /* tslint:enable */
51
+ /* eslint-enable */
@@ -0,0 +1,93 @@
1
+ import { type PrinterShare } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AllowedGroupsRequestBuilder } from './allowedGroups/';
3
+ import { type AllowedUsersRequestBuilder } from './allowedUsers/';
4
+ import { type JobsRequestBuilder } from './jobs/';
5
+ import { type PrinterRequestBuilder } from './printer/';
6
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
7
+ /**
8
+ * Provides operations to manage the shares property of the microsoft.graph.print entity.
9
+ */
10
+ export interface PrinterShareItemRequestBuilder extends BaseRequestBuilder<PrinterShareItemRequestBuilder> {
11
+ /**
12
+ * Provides operations to manage the allowedGroups property of the microsoft.graph.printerShare entity.
13
+ */
14
+ get allowedGroups(): AllowedGroupsRequestBuilder;
15
+ /**
16
+ * Provides operations to manage the allowedUsers property of the microsoft.graph.printerShare entity.
17
+ */
18
+ get allowedUsers(): AllowedUsersRequestBuilder;
19
+ /**
20
+ * Provides operations to manage the jobs property of the microsoft.graph.printerBase entity.
21
+ */
22
+ get jobs(): JobsRequestBuilder;
23
+ /**
24
+ * Provides operations to manage the printer property of the microsoft.graph.printerShare entity.
25
+ */
26
+ get printer(): PrinterRequestBuilder;
27
+ /**
28
+ * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it.
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-delete?view=graph-rest-1.0|Find more info here}
31
+ */
32
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
33
+ /**
34
+ * Retrieve the properties and relationships of a printer share.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a Promise of PrinterShare
37
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-get?view=graph-rest-1.0|Find more info here}
38
+ */
39
+ get(requestConfiguration?: RequestConfiguration<PrinterShareItemRequestBuilderGetQueryParameters> | undefined): Promise<PrinterShare | undefined>;
40
+ /**
41
+ * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a Promise of PrinterShare
45
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-update?view=graph-rest-1.0|Find more info here}
46
+ */
47
+ patch(body: PrinterShare, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrinterShare | undefined>;
48
+ /**
49
+ * Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it.
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns a RequestInformation
52
+ */
53
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
54
+ /**
55
+ * Retrieve the properties and relationships of a printer share.
56
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
+ * @returns a RequestInformation
58
+ */
59
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrinterShareItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
60
+ /**
61
+ * Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action.
62
+ * @param body The request body
63
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
+ * @returns a RequestInformation
65
+ */
66
+ toPatchRequestInformation(body: PrinterShare, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
67
+ }
68
+ /**
69
+ * Retrieve the properties and relationships of a printer share.
70
+ */
71
+ export interface PrinterShareItemRequestBuilderGetQueryParameters {
72
+ /**
73
+ * Expand related entities
74
+ */
75
+ expand?: string[];
76
+ /**
77
+ * Select properties to be returned
78
+ */
79
+ select?: string[];
80
+ }
81
+ /**
82
+ * Metadata for all the navigation properties in the request builder.
83
+ */
84
+ export declare const PrinterShareItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PrinterShareItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
85
+ /**
86
+ * Metadata for all the requests in the request builder.
87
+ */
88
+ export declare const PrinterShareItemRequestBuilderRequestsMetadata: RequestsMetadata;
89
+ /**
90
+ * Uri template for the request builder.
91
+ */
92
+ export declare const PrinterShareItemRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}{?%24select,%24expand}";
93
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACxM,OAAO,EAAmI,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AACnM,OAAO,EAA2G,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC3J,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjI,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,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;OAEG;IACH,IAAI,YAAY,IAAI,0BAA0B,CAAC;IAC/C;;OAEG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAChI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACzJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAoB1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,sEAAsE,CAAC"}