@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,95 @@
1
+ import { type PrintDocument, type PrintDocumentCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type PrintDocumentItemRequestBuilder } 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 documents property of the microsoft.graph.printJob entity.
7
+ */
8
+ export interface DocumentsRequestBuilder extends BaseRequestBuilder<DocumentsRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the documents property of the microsoft.graph.printJob entity.
15
+ * @param printDocumentId The unique identifier of printDocument
16
+ * @returns a PrintDocumentItemRequestBuilder
17
+ */
18
+ byPrintDocumentId(printDocumentId: string): PrintDocumentItemRequestBuilder;
19
+ /**
20
+ * Get documents from print
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of PrintDocumentCollectionResponse
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<DocumentsRequestBuilderGetQueryParameters> | undefined): Promise<PrintDocumentCollectionResponse | undefined>;
25
+ /**
26
+ * Create new navigation property to documents for print
27
+ * @param body The request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a Promise of PrintDocument
30
+ */
31
+ post(body: PrintDocument, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintDocument | undefined>;
32
+ /**
33
+ * Get documents from print
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DocumentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
+ /**
39
+ * Create new navigation property to documents for print
40
+ * @param body The request body
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns a RequestInformation
43
+ */
44
+ toPostRequestInformation(body: PrintDocument, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
+ }
46
+ /**
47
+ * Get documents from print
48
+ */
49
+ export interface DocumentsRequestBuilderGetQueryParameters {
50
+ /**
51
+ * Include count of items
52
+ */
53
+ count?: boolean;
54
+ /**
55
+ * Expand related entities
56
+ */
57
+ expand?: string[];
58
+ /**
59
+ * Filter items by property values
60
+ */
61
+ filter?: string;
62
+ /**
63
+ * Order items by property values
64
+ */
65
+ orderby?: string[];
66
+ /**
67
+ * Search items by search phrases
68
+ */
69
+ search?: string;
70
+ /**
71
+ * Select properties to be returned
72
+ */
73
+ select?: string[];
74
+ /**
75
+ * Skip the first n items
76
+ */
77
+ skip?: number;
78
+ /**
79
+ * Show only the first n items
80
+ */
81
+ top?: number;
82
+ }
83
+ /**
84
+ * Metadata for all the navigation properties in the request builder.
85
+ */
86
+ export declare const DocumentsRequestBuilderNavigationMetadata: Record<Exclude<keyof DocumentsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
87
+ /**
88
+ * Metadata for all the requests in the request builder.
89
+ */
90
+ export declare const DocumentsRequestBuilderRequestsMetadata: RequestsMetadata;
91
+ /**
92
+ * Uri template for the request builder.
93
+ */
94
+ export declare const DocumentsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkI,KAAK,aAAa,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAE1O,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAkJ,KAAK,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAC/M,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAI,+BAA+B,CAAC;IAC9E;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAW5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,yJAAyJ,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DocumentsRequestBuilderUriTemplate = exports.DocumentsRequestBuilderRequestsMetadata = exports.DocumentsRequestBuilderNavigationMetadata = 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 DocumentsRequestBuilderGetQueryParametersMapper = {
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.DocumentsRequestBuilderNavigationMetadata = {
28
+ byPrintDocumentId: {
29
+ uriTemplate: item_1.PrintDocumentItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.PrintDocumentItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.PrintDocumentItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["printDocument%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.DocumentsRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createPrintDocumentCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: DocumentsRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createPrintDocumentFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializePrintDocument,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.DocumentsRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type PrintDocumentUploadProperties, type UploadSession } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a createUploadSessionPostRequestBody
7
+ */
8
+ export declare function createCreateUploadSessionPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCreateUploadSessionPostRequestBody;
9
+ export interface CreateUploadSessionPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
10
+ /**
11
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
12
+ */
13
+ additionalData?: Record<string, unknown>;
14
+ /**
15
+ * Stores model information.
16
+ */
17
+ backingStoreEnabled?: boolean;
18
+ /**
19
+ * The properties property
20
+ */
21
+ properties?: PrintDocumentUploadProperties;
22
+ }
23
+ /**
24
+ * Provides operations to call the createUploadSession method.
25
+ */
26
+ export interface CreateUploadSessionRequestBuilder extends BaseRequestBuilder<CreateUploadSessionRequestBuilder> {
27
+ /**
28
+ * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload.
29
+ * @param body The request body
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns a Promise of UploadSession
32
+ * @see {@link https://learn.microsoft.com/graph/api/printdocument-createuploadsession?view=graph-rest-1.0|Find more info here}
33
+ */
34
+ post(body: CreateUploadSessionPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UploadSession | undefined>;
35
+ /**
36
+ * Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload.
37
+ * @param body The request body
38
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
+ * @returns a RequestInformation
40
+ */
41
+ toPostRequestInformation(body: CreateUploadSessionPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
42
+ }
43
+ /**
44
+ * The deserialization information for the current model
45
+ * @returns a Record<string, (node: ParseNode) => void>
46
+ */
47
+ export declare function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSessionPostRequestBody?: CreateUploadSessionPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ export declare function serializeCreateUploadSessionPostRequestBody(writer: SerializationWriter, createUploadSessionPostRequestBody?: CreateUploadSessionPostRequestBody | undefined): void;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const CreateUploadSessionRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const CreateUploadSessionRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/createUploadSession";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwK,KAAK,6BAA6B,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE9Q,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,8DAA8D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,4DAE9G;AACD,MAAM,WAAW,kCAAmC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACnG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,6BAA6B,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC7J;AACD;;;GAGG;AACH,wBAAgB,iDAAiD,CAAC,kCAAkC,GAAE,kCAAkC,GAAG,SAAoD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3O;AACD;;;GAGG;AACH,wBAAgB,2CAA2C,CAAC,MAAM,EAAE,mBAAmB,EAAE,kCAAkC,GAAE,kCAAkC,GAAG,SAAoD,GAAI,IAAI,CAG7N;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAa/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,qHAAqH,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateUploadSessionRequestBuilderUriTemplate = exports.CreateUploadSessionRequestBuilderRequestsMetadata = exports.serializeCreateUploadSessionPostRequestBody = exports.deserializeIntoCreateUploadSessionPostRequestBody = exports.createCreateUploadSessionPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a createUploadSessionPostRequestBody
13
+ */
14
+ function createCreateUploadSessionPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoCreateUploadSessionPostRequestBody;
16
+ }
17
+ exports.createCreateUploadSessionPostRequestBodyFromDiscriminatorValue = createCreateUploadSessionPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoCreateUploadSessionPostRequestBody(createUploadSessionPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { createUploadSessionPostRequestBody.backingStoreEnabled = true; },
25
+ "properties": n => { createUploadSessionPostRequestBody.properties = n.getObjectValue(models_1.createPrintDocumentUploadPropertiesFromDiscriminatorValue); },
26
+ };
27
+ }
28
+ exports.deserializeIntoCreateUploadSessionPostRequestBody = deserializeIntoCreateUploadSessionPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeCreateUploadSessionPostRequestBody(writer, createUploadSessionPostRequestBody = {}) {
34
+ writer.writeObjectValue("properties", createUploadSessionPostRequestBody.properties, models_1.serializePrintDocumentUploadProperties);
35
+ writer.writeAdditionalData(createUploadSessionPostRequestBody.additionalData);
36
+ }
37
+ exports.serializeCreateUploadSessionPostRequestBody = serializeCreateUploadSessionPostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.CreateUploadSessionRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createUploadSessionFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeCreateUploadSessionPostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.CreateUploadSessionRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/createUploadSession";
59
+ /* tslint:enable */
60
+ /* eslint-enable */
@@ -0,0 +1,80 @@
1
+ import { type PrintDocument } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CreateUploadSessionRequestBuilder } from './createUploadSession/';
3
+ import { type ContentRequestBuilder } from './value/';
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 documents property of the microsoft.graph.printJob entity.
7
+ */
8
+ export interface PrintDocumentItemRequestBuilder extends BaseRequestBuilder<PrintDocumentItemRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the media for the print entity.
11
+ */
12
+ get content(): ContentRequestBuilder;
13
+ /**
14
+ * Provides operations to call the createUploadSession method.
15
+ */
16
+ get createUploadSession(): CreateUploadSessionRequestBuilder;
17
+ /**
18
+ * Delete navigation property documents for print
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ */
21
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
22
+ /**
23
+ * Get documents from print
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a Promise of PrintDocument
26
+ */
27
+ get(requestConfiguration?: RequestConfiguration<PrintDocumentItemRequestBuilderGetQueryParameters> | undefined): Promise<PrintDocument | undefined>;
28
+ /**
29
+ * Update the navigation property documents in print
30
+ * @param body The request body
31
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
+ * @returns a Promise of PrintDocument
33
+ */
34
+ patch(body: PrintDocument, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintDocument | undefined>;
35
+ /**
36
+ * Delete navigation property documents for print
37
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
+ * @returns a RequestInformation
39
+ */
40
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
41
+ /**
42
+ * Get documents from print
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintDocumentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
47
+ /**
48
+ * Update the navigation property documents in print
49
+ * @param body The request body
50
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
51
+ * @returns a RequestInformation
52
+ */
53
+ toPatchRequestInformation(body: PrintDocument, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
54
+ }
55
+ /**
56
+ * Get documents from print
57
+ */
58
+ export interface PrintDocumentItemRequestBuilderGetQueryParameters {
59
+ /**
60
+ * Expand related entities
61
+ */
62
+ expand?: string[];
63
+ /**
64
+ * Select properties to be returned
65
+ */
66
+ select?: string[];
67
+ }
68
+ /**
69
+ * Metadata for all the navigation properties in the request builder.
70
+ */
71
+ export declare const PrintDocumentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PrintDocumentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
72
+ /**
73
+ * Metadata for all the requests in the request builder.
74
+ */
75
+ export declare const PrintDocumentItemRequestBuilderRequestsMetadata: RequestsMetadata;
76
+ /**
77
+ * Uri template for the request builder.
78
+ */
79
+ export declare const PrintDocumentItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}{?%24select,%24expand}";
80
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEvI,OAAO,EAAmG,KAAK,iCAAiC,EAAE,MAAM,wBAAwB,CAAC;AACjL,OAAO,EAA2E,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAC/H,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;IACrC;;OAEG;IACH,IAAI,mBAAmB,IAAI,iCAAiC,CAAC;IAC7D;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAClI;;;;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,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBA+B7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,uHAAuH,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrintDocumentItemRequestBuilderUriTemplate = exports.PrintDocumentItemRequestBuilderRequestsMetadata = exports.PrintDocumentItemRequestBuilderNavigationMetadata = 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 createUploadSession_1 = require("./createUploadSession/");
10
+ const value_1 = require("./value/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const PrintDocumentItemRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.PrintDocumentItemRequestBuilderNavigationMetadata = {
22
+ content: {
23
+ uriTemplate: value_1.ContentRequestBuilderUriTemplate,
24
+ requestsMetadata: value_1.ContentRequestBuilderRequestsMetadata,
25
+ },
26
+ createUploadSession: {
27
+ uriTemplate: createUploadSession_1.CreateUploadSessionRequestBuilderUriTemplate,
28
+ requestsMetadata: createUploadSession_1.CreateUploadSessionRequestBuilderRequestsMetadata,
29
+ },
30
+ };
31
+ /**
32
+ * Metadata for all the requests in the request builder.
33
+ */
34
+ exports.PrintDocumentItemRequestBuilderRequestsMetadata = {
35
+ delete: {
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
39
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
+ },
41
+ adapterMethodName: "sendNoResponseContentAsync",
42
+ },
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createPrintDocumentFromDiscriminatorValue,
51
+ queryParametersMapper: PrintDocumentItemRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ patch: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createPrintDocumentFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializePrintDocument,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.PrintDocumentItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}{?%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,41 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to manage the media for the print entity.
4
+ */
5
+ export interface ContentRequestBuilder extends BaseRequestBuilder<ContentRequestBuilder> {
6
+ /**
7
+ * Get media content for the navigation property documents from print
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of ArrayBuffer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
12
+ /**
13
+ * Update media content for the navigation property documents in print
14
+ * @param body Binary request body
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a Promise of ArrayBuffer
17
+ */
18
+ put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
19
+ /**
20
+ * Get media content for the navigation property documents from print
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a RequestInformation
23
+ */
24
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
25
+ /**
26
+ * Update media content for the navigation property documents in print
27
+ * @param body Binary request body
28
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
+ * @returns a RequestInformation
30
+ */
31
+ toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
+ }
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const ContentRequestBuilderRequestsMetadata: RequestsMetadata;
37
+ /**
38
+ * Uri template for the request builder.
39
+ */
40
+ export declare const ContentRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/$value";
41
+ //# 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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAqBnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,wGAAwG,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContentRequestBuilderUriTemplate = exports.ContentRequestBuilderRequestsMetadata = 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
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.ContentRequestBuilderRequestsMetadata = {
12
+ get: {
13
+ responseBodyContentType: "application/octet-stream, application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendPrimitiveAsync",
19
+ responseBodyFactory: "ArrayBuffer",
20
+ },
21
+ put: {
22
+ responseBodyContentType: "application/json",
23
+ errorMappings: {
24
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
26
+ },
27
+ adapterMethodName: "sendPrimitiveAsync",
28
+ responseBodyFactory: "ArrayBuffer",
29
+ requestBodyContentType: "application/octet-stream",
30
+ requestInformationContentSetMethod: "setStreamContent",
31
+ },
32
+ };
33
+ /**
34
+ * Uri template for the request builder.
35
+ */
36
+ exports.ContentRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}/documents/{printDocument%2Did}/$value";
37
+ /* tslint:enable */
38
+ /* eslint-enable */
@@ -0,0 +1,100 @@
1
+ import { type PrintJob } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AbortRequestBuilder } from './abort/';
3
+ import { type CancelRequestBuilder } from './cancel/';
4
+ import { type DocumentsRequestBuilder } from './documents/';
5
+ import { type RedirectRequestBuilder } from './redirect/';
6
+ import { type StartRequestBuilder } from './start/';
7
+ import { type TasksRequestBuilder } from './tasks/';
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 jobs property of the microsoft.graph.printerBase entity.
11
+ */
12
+ export interface PrintJobItemRequestBuilder extends BaseRequestBuilder<PrintJobItemRequestBuilder> {
13
+ /**
14
+ * Provides operations to call the abort method.
15
+ */
16
+ get abort(): AbortRequestBuilder;
17
+ /**
18
+ * Provides operations to call the cancel method.
19
+ */
20
+ get cancel(): CancelRequestBuilder;
21
+ /**
22
+ * Provides operations to manage the documents property of the microsoft.graph.printJob entity.
23
+ */
24
+ get documents(): DocumentsRequestBuilder;
25
+ /**
26
+ * Provides operations to call the redirect method.
27
+ */
28
+ get redirect(): RedirectRequestBuilder;
29
+ /**
30
+ * Provides operations to call the start method.
31
+ */
32
+ get start(): StartRequestBuilder;
33
+ /**
34
+ * Provides operations to manage the tasks property of the microsoft.graph.printJob entity.
35
+ */
36
+ get tasks(): TasksRequestBuilder;
37
+ /**
38
+ * Delete navigation property jobs for print
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ */
41
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
42
+ /**
43
+ * The list of jobs that are queued for printing by the printer/printerShare.
44
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
45
+ * @returns a Promise of PrintJob
46
+ */
47
+ get(requestConfiguration?: RequestConfiguration<PrintJobItemRequestBuilderGetQueryParameters> | undefined): Promise<PrintJob | undefined>;
48
+ /**
49
+ * Update the navigation property jobs in print
50
+ * @param body The request body
51
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
+ * @returns a Promise of PrintJob
53
+ */
54
+ patch(body: PrintJob, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrintJob | undefined>;
55
+ /**
56
+ * Delete navigation property jobs for print
57
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
58
+ * @returns a RequestInformation
59
+ */
60
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
61
+ /**
62
+ * The list of jobs that are queued for printing by the printer/printerShare.
63
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
+ * @returns a RequestInformation
65
+ */
66
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrintJobItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
67
+ /**
68
+ * Update the navigation property jobs in print
69
+ * @param body The request body
70
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
71
+ * @returns a RequestInformation
72
+ */
73
+ toPatchRequestInformation(body: PrintJob, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
74
+ }
75
+ /**
76
+ * The list of jobs that are queued for printing by the printer/printerShare.
77
+ */
78
+ export interface PrintJobItemRequestBuilderGetQueryParameters {
79
+ /**
80
+ * Expand related entities
81
+ */
82
+ expand?: string[];
83
+ /**
84
+ * Select properties to be returned
85
+ */
86
+ select?: string[];
87
+ }
88
+ /**
89
+ * Metadata for all the navigation properties in the request builder.
90
+ */
91
+ export declare const PrintJobItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PrintJobItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
92
+ /**
93
+ * Metadata for all the requests in the request builder.
94
+ */
95
+ export declare const PrintJobItemRequestBuilderRequestsMetadata: RequestsMetadata;
96
+ /**
97
+ * Uri template for the request builder.
98
+ */
99
+ export declare const PrintJobItemRequestBuilderUriTemplate = "{+baseurl}/print/printers/{printer%2Did}/jobs/{printJob%2Did}{?%24select,%24expand}";
100
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAExH,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrI,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAC5I;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACxH;;;;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,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA2BlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,wFAAwF,CAAC"}