@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,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/print/shares/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type PrinterShare, type PrinterShareCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type PrinterShareItemRequestBuilder } 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 shares property of the microsoft.graph.print entity.
7
+ */
8
+ export interface SharesRequestBuilder extends BaseRequestBuilder<SharesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the shares property of the microsoft.graph.print entity.
15
+ * @param printerShareId The unique identifier of printerShare
16
+ * @returns a PrinterShareItemRequestBuilder
17
+ */
18
+ byPrinterShareId(printerShareId: string): PrinterShareItemRequestBuilder;
19
+ /**
20
+ * Retrieve a list of printerShares.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of PrinterShareCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/print-list-shares?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<SharesRequestBuilderGetQueryParameters> | undefined): Promise<PrinterShareCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new printerShare for the specified printer.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of PrinterShare
31
+ * @see {@link https://learn.microsoft.com/graph/api/print-post-shares?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: PrinterShare, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PrinterShare | undefined>;
34
+ /**
35
+ * Retrieve a list of printerShares.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SharesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new printerShare for the specified printer.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: PrinterShare, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Retrieve a list of printerShares.
50
+ */
51
+ export interface SharesRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const SharesRequestBuilderNavigationMetadata: Record<Exclude<keyof SharesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const SharesRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const SharesRequestBuilderUriTemplate = "{+baseurl}/print/shares{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAErO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA+I,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAC3M,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,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,8BAA8B,CAAC;IAC3E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC/H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/I;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;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,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAuBlD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,yGAAyG,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SharesRequestBuilderUriTemplate = exports.SharesRequestBuilderRequestsMetadata = exports.SharesRequestBuilderNavigationMetadata = 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 SharesRequestBuilderGetQueryParametersMapper = {
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.SharesRequestBuilderNavigationMetadata = {
28
+ byPrinterShareId: {
29
+ uriTemplate: item_1.PrinterShareItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.PrinterShareItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.PrinterShareItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["printerShare%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.SharesRequestBuilderRequestsMetadata = {
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.createPrinterShareCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: SharesRequestBuilderGetQueryParametersMapper,
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.createPrinterShareFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializePrinterShare,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.SharesRequestBuilderUriTemplate = "{+baseurl}/print/shares{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,2FAA2F,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,87 @@
1
+ import { type GroupCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type GroupItemRequestBuilder } from './item/';
4
+ import { type RefRequestBuilder } from './ref/';
5
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
6
+ /**
7
+ * Provides operations to manage the allowedGroups property of the microsoft.graph.printerShare entity.
8
+ */
9
+ export interface AllowedGroupsRequestBuilder extends BaseRequestBuilder<AllowedGroupsRequestBuilder> {
10
+ /**
11
+ * Provides operations to count the resources in the collection.
12
+ */
13
+ get count(): CountRequestBuilder;
14
+ /**
15
+ * Provides operations to manage the collection of print entities.
16
+ */
17
+ get ref(): RefRequestBuilder;
18
+ /**
19
+ * Gets an item from the github.com/microsoftgraph/msgraph-sdk-typescript/.print.shares.item.allowedGroups.item collection
20
+ * @param groupId The unique identifier of group
21
+ * @returns a GroupItemRequestBuilder
22
+ */
23
+ byGroupId(groupId: string): GroupItemRequestBuilder;
24
+ /**
25
+ * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of GroupCollectionResponse
28
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0|Find more info here}
29
+ */
30
+ get(requestConfiguration?: RequestConfiguration<AllowedGroupsRequestBuilderGetQueryParameters> | undefined): Promise<GroupCollectionResponse | undefined>;
31
+ /**
32
+ * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllowedGroupsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ }
38
+ /**
39
+ * Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare.
40
+ */
41
+ export interface AllowedGroupsRequestBuilderGetQueryParameters {
42
+ /**
43
+ * Include count of items
44
+ */
45
+ count?: boolean;
46
+ /**
47
+ * Expand related entities
48
+ */
49
+ expand?: string[];
50
+ /**
51
+ * Filter items by property values
52
+ */
53
+ filter?: string;
54
+ /**
55
+ * Order items by property values
56
+ */
57
+ orderby?: string[];
58
+ /**
59
+ * Search items by search phrases
60
+ */
61
+ search?: string;
62
+ /**
63
+ * Select properties to be returned
64
+ */
65
+ select?: string[];
66
+ /**
67
+ * Skip the first n items
68
+ */
69
+ skip?: number;
70
+ /**
71
+ * Show only the first n items
72
+ */
73
+ top?: number;
74
+ }
75
+ /**
76
+ * Metadata for all the navigation properties in the request builder.
77
+ */
78
+ export declare const AllowedGroupsRequestBuilderNavigationMetadata: Record<Exclude<keyof AllowedGroupsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
79
+ /**
80
+ * Metadata for all the requests in the request builder.
81
+ */
82
+ export declare const AllowedGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ /**
84
+ * Uri template for the request builder.
85
+ */
86
+ export declare const AllowedGroupsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
87
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuD,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEnI,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAiF,KAAK,uBAAuB,EAAE,MAAM,SAAS,CAAC;AACtI,OAAO,EAAmE,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACjH,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;;;OAIG;IACF,SAAS,CAAC,OAAO,EAAE,MAAM,GAAI,uBAAuB,CAAC;IACtD;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAcpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,2IAA2I,CAAC"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AllowedGroupsRequestBuilderUriTemplate = exports.AllowedGroupsRequestBuilderRequestsMetadata = exports.AllowedGroupsRequestBuilderNavigationMetadata = 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
+ const ref_1 = require("./ref/");
12
+ /**
13
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
14
+ */
15
+ const AllowedGroupsRequestBuilderGetQueryParametersMapper = {
16
+ "count": "%24count",
17
+ "expand": "%24expand",
18
+ "filter": "%24filter",
19
+ "orderby": "%24orderby",
20
+ "search": "%24search",
21
+ "select": "%24select",
22
+ "skip": "%24skip",
23
+ "top": "%24top",
24
+ };
25
+ /**
26
+ * Metadata for all the navigation properties in the request builder.
27
+ */
28
+ exports.AllowedGroupsRequestBuilderNavigationMetadata = {
29
+ byGroupId: {
30
+ uriTemplate: item_1.GroupItemRequestBuilderUriTemplate,
31
+ navigationMetadata: item_1.GroupItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["group%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ ref: {
39
+ uriTemplate: ref_1.RefRequestBuilderUriTemplate,
40
+ requestsMetadata: ref_1.RefRequestBuilderRequestsMetadata,
41
+ },
42
+ };
43
+ /**
44
+ * Metadata for all the requests in the request builder.
45
+ */
46
+ exports.AllowedGroupsRequestBuilderRequestsMetadata = {
47
+ get: {
48
+ responseBodyContentType: "application/json",
49
+ errorMappings: {
50
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ },
53
+ adapterMethodName: "sendAsync",
54
+ responseBodyFactory: models_1.createGroupCollectionResponseFromDiscriminatorValue,
55
+ queryParametersMapper: AllowedGroupsRequestBuilderGetQueryParametersMapper,
56
+ },
57
+ };
58
+ /**
59
+ * Uri template for the request builder.
60
+ */
61
+ exports.AllowedGroupsRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
62
+ /* tslint:enable */
63
+ /* eslint-enable */
@@ -0,0 +1,25 @@
1
+ import { type RefRequestBuilder } from './ref/';
2
+ import { type ServiceProvisioningErrorsRequestBuilder } from './serviceProvisioningErrors/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Builds and executes requests for operations under /print/shares/{printerShare-id}/allowedGroups/{group-id}
6
+ */
7
+ export interface GroupItemRequestBuilder extends BaseRequestBuilder<GroupItemRequestBuilder> {
8
+ /**
9
+ * Provides operations to manage the collection of print entities.
10
+ */
11
+ get ref(): RefRequestBuilder;
12
+ /**
13
+ * The serviceProvisioningErrors property
14
+ */
15
+ get serviceProvisioningErrors(): ServiceProvisioningErrorsRequestBuilder;
16
+ }
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ export declare const GroupItemRequestBuilderNavigationMetadata: Record<Exclude<keyof GroupItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
21
+ /**
22
+ * Uri template for the request builder.
23
+ */
24
+ export declare const GroupItemRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/{group%2Did}";
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACjH,OAAO,EAA0K,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACpQ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAE1I;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;OAEG;IACH,IAAI,yBAAyB,IAAI,uCAAuC,CAAC;CAC5E;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,2EAA2E,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GroupItemRequestBuilderUriTemplate = exports.GroupItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const ref_1 = require("./ref/");
8
+ const serviceProvisioningErrors_1 = require("./serviceProvisioningErrors/");
9
+ /**
10
+ * Metadata for all the navigation properties in the request builder.
11
+ */
12
+ exports.GroupItemRequestBuilderNavigationMetadata = {
13
+ ref: {
14
+ uriTemplate: ref_1.RefRequestBuilderUriTemplate,
15
+ requestsMetadata: ref_1.RefRequestBuilderRequestsMetadata,
16
+ },
17
+ serviceProvisioningErrors: {
18
+ uriTemplate: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderUriTemplate,
19
+ requestsMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderRequestsMetadata,
20
+ navigationMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderNavigationMetadata,
21
+ },
22
+ };
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ exports.GroupItemRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/{group%2Did}";
27
+ /* tslint:enable */
28
+ /* eslint-enable */
@@ -0,0 +1,36 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to manage the collection of print entities.
4
+ */
5
+ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
6
+ /**
7
+ * Revoke the specified group's access to submit print jobs to the associated printerShare.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @see {@link https://learn.microsoft.com/graph/api/printershare-delete-allowedgroup?view=graph-rest-1.0|Find more info here}
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): Promise<void>;
12
+ /**
13
+ * Revoke the specified group's access to submit print jobs to the associated printerShare.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Revoke the specified group's access to submit print jobs to the associated printerShare.
21
+ */
22
+ export interface RefRequestBuilderDeleteQueryParameters {
23
+ /**
24
+ * Delete Uri
25
+ */
26
+ id?: string;
27
+ }
28
+ /**
29
+ * Metadata for all the requests in the request builder.
30
+ */
31
+ export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
32
+ /**
33
+ * Uri template for the request builder.
34
+ */
35
+ export declare const RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/{group%2Did}/$ref{?%40id*}";
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sCAAsC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAOD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBAU/C,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,yFAAyF,CAAC"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const RefRequestBuilderDeleteQueryParametersMapper = {
12
+ "id": "%40id",
13
+ };
14
+ /**
15
+ * Metadata for all the requests in the request builder.
16
+ */
17
+ exports.RefRequestBuilderRequestsMetadata = {
18
+ delete: {
19
+ responseBodyContentType: "application/json",
20
+ errorMappings: {
21
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
22
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ },
24
+ adapterMethodName: "sendNoResponseContentAsync",
25
+ queryParametersMapper: RefRequestBuilderDeleteQueryParametersMapper,
26
+ },
27
+ };
28
+ /**
29
+ * Uri template for the request builder.
30
+ */
31
+ exports.RefRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/{group%2Did}/$ref{?%40id*}";
32
+ /* tslint:enable */
33
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/print/shares/{printerShare%2Did}/allowedGroups/{group%2Did}/serviceProvisioningErrors/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,kIAAkI,CAAC"}