@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
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Microsoft Graph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@microsoft/msgraph-sdk-print`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const msgraphSdkJavascriptPrint = require('@microsoft/msgraph-sdk-print');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { PrintRequestBuilder } from "./print";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the print singleton.
6
+ */
7
+ get print(): PrintRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./printServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;KAClC;CACF;AAED,cAAc,sBAAsB,CAAC"}
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
18
+ const printServiceClient_1 = require("./printServiceClient");
19
+ (0, msgraph_sdk_1.extendGraphServiceClient)(printServiceClient_1.PrintServiceClientNavigationMetadata);
20
+ __exportStar(require("./printServiceClient"), exports);
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@microsoft/msgraph-sdk-print",
3
+ "version": "1.0.0-preview.10",
4
+ "description": "Print fluent API for Microsoft Graph",
5
+ "keywords": [
6
+ "Microsoft",
7
+ "Graph",
8
+ "msgraph",
9
+ "API",
10
+ "SDK",
11
+ "print"
12
+ ],
13
+ "author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
14
+ "license": "MIT",
15
+ "main": "index.js",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
22
+ },
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "lint": "eslint . --ext .ts",
26
+ "lint:fix": "eslint . --ext .ts --fix",
27
+ "clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
31
+ },
32
+ "homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
33
+ "types": "index.d.ts",
34
+ "dependencies": {
35
+ "@microsoft/kiota-abstractions": "^1.0.0-preview.38",
36
+ "@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
37
+ "@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
38
+ "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
39
+ "@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.10",
41
+ "guid-typescript": "^1.0.9",
42
+ "tslib": "^2.6.2"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.3.3"
46
+ },
47
+ "gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
48
+ }
@@ -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/connectors/$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,6DAA6D,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/connectors/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,96 @@
1
+ import { type PrintConnector, type PrintConnectorCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type PrintConnectorItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the connectors property of the microsoft.graph.print entity.
7
+ */
8
+ export interface ConnectorsRequestBuilder extends BaseRequestBuilder<ConnectorsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the connectors property of the microsoft.graph.print entity.
15
+ * @param printConnectorId The unique identifier of printConnector
16
+ * @returns a PrintConnectorItemRequestBuilder
17
+ */
18
+ byPrintConnectorId(printConnectorId: string): PrintConnectorItemRequestBuilder;
19
+ /**
20
+ * Retrieve a list of print connectors.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of PrintConnectorCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/print-list-connectors?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ConnectorsRequestBuilderGetQueryParameters> | undefined): Promise<PrintConnectorCollectionResponse | undefined>;
26
+ /**
27
+ * Create new navigation property to connectors for print
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of PrintConnector
31
+ */
32
+ post(body: PrintConnector, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintConnector | undefined>;
33
+ /**
34
+ * Retrieve a list of print connectors.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConnectorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Create new navigation property to connectors for print
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPostRequestInformation(body: PrintConnector, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Retrieve a list of print connectors.
49
+ */
50
+ export interface ConnectorsRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Include count of items
53
+ */
54
+ count?: boolean;
55
+ /**
56
+ * Expand related entities
57
+ */
58
+ expand?: string[];
59
+ /**
60
+ * Filter items by property values
61
+ */
62
+ filter?: string;
63
+ /**
64
+ * Order items by property values
65
+ */
66
+ orderby?: string[];
67
+ /**
68
+ * Search items by search phrases
69
+ */
70
+ search?: string;
71
+ /**
72
+ * Select properties to be returned
73
+ */
74
+ select?: string[];
75
+ /**
76
+ * Skip the first n items
77
+ */
78
+ skip?: number;
79
+ /**
80
+ * Show only the first n items
81
+ */
82
+ top?: number;
83
+ }
84
+ /**
85
+ * Metadata for all the navigation properties in the request builder.
86
+ */
87
+ export declare const ConnectorsRequestBuilderNavigationMetadata: Record<Exclude<keyof ConnectorsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
88
+ /**
89
+ * Metadata for all the requests in the request builder.
90
+ */
91
+ export declare const ConnectorsRequestBuilderRequestsMetadata: RequestsMetadata;
92
+ /**
93
+ * Uri template for the request builder.
94
+ */
95
+ export declare const ConnectorsRequestBuilderUriTemplate = "{+baseurl}/print/connectors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
96
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqI,KAAK,cAAc,EAAE,KAAK,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAE/O,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,SAAS,CAAC;AAC/J,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,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,kBAAkB,CAAC,gBAAgB,EAAE,MAAM,GAAI,gCAAgC,CAAC;IACjF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0CAA0C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;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,0CAA0C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wBAAwB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU9J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAuBtD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,6GAA6G,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectorsRequestBuilderUriTemplate = exports.ConnectorsRequestBuilderRequestsMetadata = exports.ConnectorsRequestBuilderNavigationMetadata = 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
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const ConnectorsRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.ConnectorsRequestBuilderNavigationMetadata = {
28
+ byPrintConnectorId: {
29
+ uriTemplate: item_1.PrintConnectorItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.PrintConnectorItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["printConnector%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.ConnectorsRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createPrintConnectorCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: ConnectorsRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createPrintConnectorFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializePrintConnector,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.ConnectorsRequestBuilderUriTemplate = "{+baseurl}/print/connectors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type PrintConnector } 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 connectors property of the microsoft.graph.print entity.
5
+ */
6
+ export interface PrintConnectorItemRequestBuilder extends BaseRequestBuilder<PrintConnectorItemRequestBuilder> {
7
+ /**
8
+ * Delete (unregister) a printConnector.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @see {@link https://learn.microsoft.com/graph/api/printconnector-delete?view=graph-rest-1.0|Find more info here}
11
+ */
12
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
+ /**
14
+ * Retrieve the properties and relationships of a printConnector object.
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a Promise of PrintConnector
17
+ * @see {@link https://learn.microsoft.com/graph/api/printconnector-get?view=graph-rest-1.0|Find more info here}
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<PrintConnectorItemRequestBuilderGetQueryParameters> | undefined): Promise<PrintConnector | undefined>;
20
+ /**
21
+ * Update the properties of a printConnector object.
22
+ * @param body The request body
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a Promise of PrintConnector
25
+ * @see {@link https://learn.microsoft.com/graph/api/printconnector-update?view=graph-rest-1.0|Find more info here}
26
+ */
27
+ patch(body: PrintConnector, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintConnector | undefined>;
28
+ /**
29
+ * Delete (unregister) a printConnector.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a RequestInformation
32
+ */
33
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
+ /**
35
+ * Retrieve the properties and relationships of a printConnector object.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintConnectorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Update the properties of a printConnector object.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPatchRequestInformation(body: PrintConnector, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Retrieve the properties and relationships of a printConnector object.
50
+ */
51
+ export interface PrintConnectorItemRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Expand related entities
54
+ */
55
+ expand?: string[];
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ }
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const PrintConnectorItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const PrintConnectorItemRequestBuilderUriTemplate = "{+baseurl}/print/connectors/{printConnector%2Did}{?%24select,%24expand}";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAE1I,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACxJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpI;;;;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,kDAAkD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC3J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;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,gBA+B9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,4EAA4E,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrintConnectorItemRequestBuilderUriTemplate = exports.PrintConnectorItemRequestBuilderRequestsMetadata = 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 PrintConnectorItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.PrintConnectorItemRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createPrintConnectorFromDiscriminatorValue,
36
+ queryParametersMapper: PrintConnectorItemRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createPrintConnectorFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializePrintConnector,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.PrintConnectorItemRequestBuilderUriTemplate = "{+baseurl}/print/connectors/{printConnector%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,89 @@
1
+ import { type Print } from '@microsoft/msgraph-sdk/models/';
2
+ import { type ConnectorsRequestBuilder } from './connectors/';
3
+ import { type OperationsRequestBuilder } from './operations/';
4
+ import { type PrintersRequestBuilder } from './printers/';
5
+ import { type ServicesRequestBuilder } from './services/';
6
+ import { type SharesRequestBuilder } from './shares/';
7
+ import { type TaskDefinitionsRequestBuilder } from './taskDefinitions/';
8
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
9
+ /**
10
+ * Provides operations to manage the print singleton.
11
+ */
12
+ export interface PrintRequestBuilder extends BaseRequestBuilder<PrintRequestBuilder> {
13
+ /**
14
+ * Provides operations to manage the connectors property of the microsoft.graph.print entity.
15
+ */
16
+ get connectors(): ConnectorsRequestBuilder;
17
+ /**
18
+ * Provides operations to manage the operations property of the microsoft.graph.print entity.
19
+ */
20
+ get operations(): OperationsRequestBuilder;
21
+ /**
22
+ * Provides operations to manage the printers property of the microsoft.graph.print entity.
23
+ */
24
+ get printers(): PrintersRequestBuilder;
25
+ /**
26
+ * Provides operations to manage the services property of the microsoft.graph.print entity.
27
+ */
28
+ get services(): ServicesRequestBuilder;
29
+ /**
30
+ * Provides operations to manage the shares property of the microsoft.graph.print entity.
31
+ */
32
+ get shares(): SharesRequestBuilder;
33
+ /**
34
+ * Provides operations to manage the taskDefinitions property of the microsoft.graph.print entity.
35
+ */
36
+ get taskDefinitions(): TaskDefinitionsRequestBuilder;
37
+ /**
38
+ * Get print
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a Promise of Print
41
+ */
42
+ get(requestConfiguration?: RequestConfiguration<PrintRequestBuilderGetQueryParameters> | undefined): Promise<Print | undefined>;
43
+ /**
44
+ * Update print
45
+ * @param body The request body
46
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
+ * @returns a Promise of Print
48
+ */
49
+ patch(body: Print, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Print | undefined>;
50
+ /**
51
+ * Get print
52
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
+ * @returns a RequestInformation
54
+ */
55
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintRequestBuilderGetQueryParameters> | undefined): RequestInformation;
56
+ /**
57
+ * Update print
58
+ * @param body The request body
59
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
60
+ * @returns a RequestInformation
61
+ */
62
+ toPatchRequestInformation(body: Print, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
63
+ }
64
+ /**
65
+ * Get print
66
+ */
67
+ export interface PrintRequestBuilderGetQueryParameters {
68
+ /**
69
+ * Expand related entities
70
+ */
71
+ expand?: string[];
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ }
77
+ /**
78
+ * Metadata for all the navigation properties in the request builder.
79
+ */
80
+ export declare const PrintRequestBuilderNavigationMetadata: Record<Exclude<keyof PrintRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
81
+ /**
82
+ * Metadata for all the requests in the request builder.
83
+ */
84
+ export declare const PrintRequestBuilderRequestsMetadata: RequestsMetadata;
85
+ /**
86
+ * Uri template for the request builder.
87
+ */
88
+ export declare const PrintRequestBuilderUriTemplate = "{+baseurl}/print{?%24select,%24expand}";
89
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqD,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAE/G,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAA6H,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzL,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAiH,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACrK,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAClN,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;IAClI;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,KAAK,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA+BpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,2CAA2C,CAAC"}