@microsoft/msgraph-sdk-print 1.0.0-preview.13 → 1.0.0-preview.15

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