@microsoft/msgraph-sdk-applications 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 (290) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/applications/count/index.d.ts +40 -0
  4. package/applications/count/index.d.ts.map +1 -0
  5. package/applications/count/index.js +35 -0
  6. package/applications/delta/index.d.ts +83 -0
  7. package/applications/delta/index.d.ts.map +1 -0
  8. package/applications/delta/index.js +67 -0
  9. package/applications/getAvailableExtensionProperties/index.d.ts +83 -0
  10. package/applications/getAvailableExtensionProperties/index.d.ts.map +1 -0
  11. package/applications/getAvailableExtensionProperties/index.js +86 -0
  12. package/applications/getByIds/index.d.ts +87 -0
  13. package/applications/getByIds/index.d.ts.map +1 -0
  14. package/applications/getByIds/index.js +88 -0
  15. package/applications/index.d.ts +117 -0
  16. package/applications/index.d.ts.map +1 -0
  17. package/applications/index.js +91 -0
  18. package/applications/item/addKey/index.d.ts +69 -0
  19. package/applications/item/addKey/index.d.ts.map +1 -0
  20. package/applications/item/addKey/index.js +64 -0
  21. package/applications/item/addPassword/index.d.ts +61 -0
  22. package/applications/item/addPassword/index.d.ts.map +1 -0
  23. package/applications/item/addPassword/index.js +60 -0
  24. package/applications/item/appManagementPolicies/count/index.d.ts +40 -0
  25. package/applications/item/appManagementPolicies/count/index.d.ts.map +1 -0
  26. package/applications/item/appManagementPolicies/count/index.js +35 -0
  27. package/applications/item/appManagementPolicies/index.d.ts +86 -0
  28. package/applications/item/appManagementPolicies/index.d.ts.map +1 -0
  29. package/applications/item/appManagementPolicies/index.js +63 -0
  30. package/applications/item/appManagementPolicies/item/index.d.ts +20 -0
  31. package/applications/item/appManagementPolicies/item/index.d.ts.map +1 -0
  32. package/applications/item/appManagementPolicies/item/index.js +22 -0
  33. package/applications/item/appManagementPolicies/item/ref/index.d.ts +36 -0
  34. package/applications/item/appManagementPolicies/item/ref/index.d.ts.map +1 -0
  35. package/applications/item/appManagementPolicies/item/ref/index.js +33 -0
  36. package/applications/item/appManagementPolicies/ref/index.d.ts +71 -0
  37. package/applications/item/appManagementPolicies/ref/index.d.ts.map +1 -0
  38. package/applications/item/appManagementPolicies/ref/index.js +51 -0
  39. package/applications/item/checkMemberGroups/index.d.ts +83 -0
  40. package/applications/item/checkMemberGroups/index.d.ts.map +1 -0
  41. package/applications/item/checkMemberGroups/index.js +86 -0
  42. package/applications/item/checkMemberObjects/index.d.ts +82 -0
  43. package/applications/item/checkMemberObjects/index.d.ts.map +1 -0
  44. package/applications/item/checkMemberObjects/index.js +86 -0
  45. package/applications/item/createdOnBehalfOf/index.d.ts +41 -0
  46. package/applications/item/createdOnBehalfOf/index.d.ts.map +1 -0
  47. package/applications/item/createdOnBehalfOf/index.js +36 -0
  48. package/applications/item/extensionProperties/count/index.d.ts +40 -0
  49. package/applications/item/extensionProperties/count/index.d.ts.map +1 -0
  50. package/applications/item/extensionProperties/count/index.js +35 -0
  51. package/applications/item/extensionProperties/index.d.ts +97 -0
  52. package/applications/item/extensionProperties/index.d.ts.map +1 -0
  53. package/applications/item/extensionProperties/index.js +70 -0
  54. package/applications/item/extensionProperties/item/index.d.ts +68 -0
  55. package/applications/item/extensionProperties/item/index.d.ts.map +1 -0
  56. package/applications/item/extensionProperties/item/index.js +56 -0
  57. package/applications/item/federatedIdentityCredentials/count/index.d.ts +40 -0
  58. package/applications/item/federatedIdentityCredentials/count/index.d.ts.map +1 -0
  59. package/applications/item/federatedIdentityCredentials/count/index.js +35 -0
  60. package/applications/item/federatedIdentityCredentials/index.d.ts +97 -0
  61. package/applications/item/federatedIdentityCredentials/index.d.ts.map +1 -0
  62. package/applications/item/federatedIdentityCredentials/index.js +70 -0
  63. package/applications/item/federatedIdentityCredentials/item/index.d.ts +69 -0
  64. package/applications/item/federatedIdentityCredentials/item/index.d.ts.map +1 -0
  65. package/applications/item/federatedIdentityCredentials/item/index.js +56 -0
  66. package/applications/item/getMemberGroups/index.d.ts +83 -0
  67. package/applications/item/getMemberGroups/index.d.ts.map +1 -0
  68. package/applications/item/getMemberGroups/index.js +86 -0
  69. package/applications/item/getMemberObjects/index.d.ts +83 -0
  70. package/applications/item/getMemberObjects/index.d.ts.map +1 -0
  71. package/applications/item/getMemberObjects/index.js +86 -0
  72. package/applications/item/homeRealmDiscoveryPolicies/count/index.d.ts +40 -0
  73. package/applications/item/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -0
  74. package/applications/item/homeRealmDiscoveryPolicies/count/index.js +35 -0
  75. package/applications/item/homeRealmDiscoveryPolicies/index.d.ts +81 -0
  76. package/applications/item/homeRealmDiscoveryPolicies/index.d.ts.map +1 -0
  77. package/applications/item/homeRealmDiscoveryPolicies/index.js +58 -0
  78. package/applications/item/homeRealmDiscoveryPolicies/item/index.d.ts +41 -0
  79. package/applications/item/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -0
  80. package/applications/item/homeRealmDiscoveryPolicies/item/index.js +36 -0
  81. package/applications/item/index.d.ts +178 -0
  82. package/applications/item/index.d.ts.map +1 -0
  83. package/applications/item/index.js +174 -0
  84. package/applications/item/logo/index.d.ts +41 -0
  85. package/applications/item/logo/index.d.ts.map +1 -0
  86. package/applications/item/logo/index.js +38 -0
  87. package/applications/item/owners/count/index.d.ts +40 -0
  88. package/applications/item/owners/count/index.d.ts.map +1 -0
  89. package/applications/item/owners/count/index.js +35 -0
  90. package/applications/item/owners/graphAppRoleAssignment/count/index.d.ts +40 -0
  91. package/applications/item/owners/graphAppRoleAssignment/count/index.d.ts.map +1 -0
  92. package/applications/item/owners/graphAppRoleAssignment/count/index.js +35 -0
  93. package/applications/item/owners/graphAppRoleAssignment/index.d.ts +74 -0
  94. package/applications/item/owners/graphAppRoleAssignment/index.d.ts.map +1 -0
  95. package/applications/item/owners/graphAppRoleAssignment/index.js +52 -0
  96. package/applications/item/owners/graphEndpoint/count/index.d.ts +40 -0
  97. package/applications/item/owners/graphEndpoint/count/index.d.ts.map +1 -0
  98. package/applications/item/owners/graphEndpoint/count/index.js +35 -0
  99. package/applications/item/owners/graphEndpoint/index.d.ts +74 -0
  100. package/applications/item/owners/graphEndpoint/index.d.ts.map +1 -0
  101. package/applications/item/owners/graphEndpoint/index.js +52 -0
  102. package/applications/item/owners/graphServicePrincipal/count/index.d.ts +40 -0
  103. package/applications/item/owners/graphServicePrincipal/count/index.d.ts.map +1 -0
  104. package/applications/item/owners/graphServicePrincipal/count/index.js +35 -0
  105. package/applications/item/owners/graphServicePrincipal/index.d.ts +74 -0
  106. package/applications/item/owners/graphServicePrincipal/index.d.ts.map +1 -0
  107. package/applications/item/owners/graphServicePrincipal/index.js +52 -0
  108. package/applications/item/owners/graphUser/count/index.d.ts +40 -0
  109. package/applications/item/owners/graphUser/count/index.d.ts.map +1 -0
  110. package/applications/item/owners/graphUser/count/index.js +35 -0
  111. package/applications/item/owners/graphUser/index.d.ts +74 -0
  112. package/applications/item/owners/graphUser/index.d.ts.map +1 -0
  113. package/applications/item/owners/graphUser/index.js +52 -0
  114. package/applications/item/owners/index.d.ts +107 -0
  115. package/applications/item/owners/index.d.ts.map +1 -0
  116. package/applications/item/owners/index.js +87 -0
  117. package/applications/item/owners/item/graphAppRoleAssignment/index.d.ts +41 -0
  118. package/applications/item/owners/item/graphAppRoleAssignment/index.d.ts.map +1 -0
  119. package/applications/item/owners/item/graphAppRoleAssignment/index.js +36 -0
  120. package/applications/item/owners/item/graphEndpoint/index.d.ts +41 -0
  121. package/applications/item/owners/item/graphEndpoint/index.d.ts.map +1 -0
  122. package/applications/item/owners/item/graphEndpoint/index.js +36 -0
  123. package/applications/item/owners/item/graphServicePrincipal/index.d.ts +41 -0
  124. package/applications/item/owners/item/graphServicePrincipal/index.d.ts.map +1 -0
  125. package/applications/item/owners/item/graphServicePrincipal/index.js +36 -0
  126. package/applications/item/owners/item/graphUser/index.d.ts +41 -0
  127. package/applications/item/owners/item/graphUser/index.d.ts.map +1 -0
  128. package/applications/item/owners/item/graphUser/index.js +36 -0
  129. package/applications/item/owners/item/index.d.ts +40 -0
  130. package/applications/item/owners/item/index.d.ts.map +1 -0
  131. package/applications/item/owners/item/index.js +42 -0
  132. package/applications/item/owners/item/ref/index.d.ts +36 -0
  133. package/applications/item/owners/item/ref/index.d.ts.map +1 -0
  134. package/applications/item/owners/item/ref/index.js +33 -0
  135. package/applications/item/owners/ref/index.d.ts +72 -0
  136. package/applications/item/owners/ref/index.d.ts.map +1 -0
  137. package/applications/item/owners/ref/index.js +51 -0
  138. package/applications/item/removeKey/index.d.ts +64 -0
  139. package/applications/item/removeKey/index.d.ts.map +1 -0
  140. package/applications/item/removeKey/index.js +60 -0
  141. package/applications/item/removePassword/index.d.ts +60 -0
  142. package/applications/item/removePassword/index.d.ts.map +1 -0
  143. package/applications/item/removePassword/index.js +58 -0
  144. package/applications/item/restore/index.d.ts +29 -0
  145. package/applications/item/restore/index.d.ts.map +1 -0
  146. package/applications/item/restore/index.js +28 -0
  147. package/applications/item/setVerifiedPublisher/index.d.ts +59 -0
  148. package/applications/item/setVerifiedPublisher/index.d.ts.map +1 -0
  149. package/applications/item/setVerifiedPublisher/index.js +58 -0
  150. package/applications/item/synchronization/acquireAccessToken/index.d.ts +60 -0
  151. package/applications/item/synchronization/acquireAccessToken/index.d.ts.map +1 -0
  152. package/applications/item/synchronization/acquireAccessToken/index.js +59 -0
  153. package/applications/item/synchronization/index.d.ts +90 -0
  154. package/applications/item/synchronization/index.d.ts.map +1 -0
  155. package/applications/item/synchronization/index.js +84 -0
  156. package/applications/item/synchronization/jobs/count/index.d.ts +40 -0
  157. package/applications/item/synchronization/jobs/count/index.d.ts.map +1 -0
  158. package/applications/item/synchronization/jobs/count/index.js +35 -0
  159. package/applications/item/synchronization/jobs/index.d.ts +102 -0
  160. package/applications/item/synchronization/jobs/index.d.ts.map +1 -0
  161. package/applications/item/synchronization/jobs/index.js +76 -0
  162. package/applications/item/synchronization/jobs/item/index.d.ts +102 -0
  163. package/applications/item/synchronization/jobs/item/index.d.ts.map +1 -0
  164. package/applications/item/synchronization/jobs/item/index.js +92 -0
  165. package/applications/item/synchronization/jobs/item/pause/index.d.ts +27 -0
  166. package/applications/item/synchronization/jobs/item/pause/index.d.ts.map +1 -0
  167. package/applications/item/synchronization/jobs/item/pause/index.js +26 -0
  168. package/applications/item/synchronization/jobs/item/provisionOnDemand/index.d.ts +61 -0
  169. package/applications/item/synchronization/jobs/item/provisionOnDemand/index.d.ts.map +1 -0
  170. package/applications/item/synchronization/jobs/item/provisionOnDemand/index.js +60 -0
  171. package/applications/item/synchronization/jobs/item/restart/index.d.ts +60 -0
  172. package/applications/item/synchronization/jobs/item/restart/index.d.ts.map +1 -0
  173. package/applications/item/synchronization/jobs/item/restart/index.js +59 -0
  174. package/applications/item/synchronization/jobs/item/schema/directories/count/index.d.ts +40 -0
  175. package/applications/item/synchronization/jobs/item/schema/directories/count/index.d.ts.map +1 -0
  176. package/applications/item/synchronization/jobs/item/schema/directories/count/index.js +35 -0
  177. package/applications/item/synchronization/jobs/item/schema/directories/index.d.ts +95 -0
  178. package/applications/item/synchronization/jobs/item/schema/directories/index.d.ts.map +1 -0
  179. package/applications/item/synchronization/jobs/item/schema/directories/index.js +71 -0
  180. package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.d.ts +29 -0
  181. package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.d.ts.map +1 -0
  182. package/applications/item/synchronization/jobs/item/schema/directories/item/discover/index.js +28 -0
  183. package/applications/item/synchronization/jobs/item/schema/directories/item/index.d.ts +75 -0
  184. package/applications/item/synchronization/jobs/item/schema/directories/item/index.d.ts.map +1 -0
  185. package/applications/item/synchronization/jobs/item/schema/directories/item/index.js +66 -0
  186. package/applications/item/synchronization/jobs/item/schema/filterOperators/index.d.ts +83 -0
  187. package/applications/item/synchronization/jobs/item/schema/filterOperators/index.d.ts.map +1 -0
  188. package/applications/item/synchronization/jobs/item/schema/filterOperators/index.js +67 -0
  189. package/applications/item/synchronization/jobs/item/schema/functions/index.d.ts +83 -0
  190. package/applications/item/synchronization/jobs/item/schema/functions/index.d.ts.map +1 -0
  191. package/applications/item/synchronization/jobs/item/schema/functions/index.js +67 -0
  192. package/applications/item/synchronization/jobs/item/schema/index.d.ts +92 -0
  193. package/applications/item/synchronization/jobs/item/schema/index.d.ts.map +1 -0
  194. package/applications/item/synchronization/jobs/item/schema/index.js +82 -0
  195. package/applications/item/synchronization/jobs/item/schema/parseExpression/index.d.ts +69 -0
  196. package/applications/item/synchronization/jobs/item/schema/parseExpression/index.d.ts.map +1 -0
  197. package/applications/item/synchronization/jobs/item/schema/parseExpression/index.js +64 -0
  198. package/applications/item/synchronization/jobs/item/start/index.d.ts +27 -0
  199. package/applications/item/synchronization/jobs/item/start/index.d.ts.map +1 -0
  200. package/applications/item/synchronization/jobs/item/start/index.js +26 -0
  201. package/applications/item/synchronization/jobs/item/validateCredentials/index.d.ts +72 -0
  202. package/applications/item/synchronization/jobs/item/validateCredentials/index.d.ts.map +1 -0
  203. package/applications/item/synchronization/jobs/item/validateCredentials/index.js +65 -0
  204. package/applications/item/synchronization/jobs/validateCredentials/index.d.ts +71 -0
  205. package/applications/item/synchronization/jobs/validateCredentials/index.d.ts.map +1 -0
  206. package/applications/item/synchronization/jobs/validateCredentials/index.js +65 -0
  207. package/applications/item/synchronization/secrets/count/index.d.ts +40 -0
  208. package/applications/item/synchronization/secrets/count/index.d.ts.map +1 -0
  209. package/applications/item/synchronization/secrets/count/index.js +35 -0
  210. package/applications/item/synchronization/secrets/index.d.ts +39 -0
  211. package/applications/item/synchronization/secrets/index.d.ts.map +1 -0
  212. package/applications/item/synchronization/secrets/index.js +41 -0
  213. package/applications/item/synchronization/templates/count/index.d.ts +40 -0
  214. package/applications/item/synchronization/templates/count/index.d.ts.map +1 -0
  215. package/applications/item/synchronization/templates/count/index.js +35 -0
  216. package/applications/item/synchronization/templates/index.d.ts +96 -0
  217. package/applications/item/synchronization/templates/index.d.ts.map +1 -0
  218. package/applications/item/synchronization/templates/index.js +71 -0
  219. package/applications/item/synchronization/templates/item/index.d.ts +76 -0
  220. package/applications/item/synchronization/templates/item/index.d.ts.map +1 -0
  221. package/applications/item/synchronization/templates/item/index.js +67 -0
  222. package/applications/item/synchronization/templates/item/schema/directories/count/index.d.ts +40 -0
  223. package/applications/item/synchronization/templates/item/schema/directories/count/index.d.ts.map +1 -0
  224. package/applications/item/synchronization/templates/item/schema/directories/count/index.js +35 -0
  225. package/applications/item/synchronization/templates/item/schema/directories/index.d.ts +95 -0
  226. package/applications/item/synchronization/templates/item/schema/directories/index.d.ts.map +1 -0
  227. package/applications/item/synchronization/templates/item/schema/directories/index.js +71 -0
  228. package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.d.ts +29 -0
  229. package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.d.ts.map +1 -0
  230. package/applications/item/synchronization/templates/item/schema/directories/item/discover/index.js +28 -0
  231. package/applications/item/synchronization/templates/item/schema/directories/item/index.d.ts +75 -0
  232. package/applications/item/synchronization/templates/item/schema/directories/item/index.d.ts.map +1 -0
  233. package/applications/item/synchronization/templates/item/schema/directories/item/index.js +66 -0
  234. package/applications/item/synchronization/templates/item/schema/filterOperators/index.d.ts +83 -0
  235. package/applications/item/synchronization/templates/item/schema/filterOperators/index.d.ts.map +1 -0
  236. package/applications/item/synchronization/templates/item/schema/filterOperators/index.js +67 -0
  237. package/applications/item/synchronization/templates/item/schema/functions/index.d.ts +83 -0
  238. package/applications/item/synchronization/templates/item/schema/functions/index.d.ts.map +1 -0
  239. package/applications/item/synchronization/templates/item/schema/functions/index.js +67 -0
  240. package/applications/item/synchronization/templates/item/schema/index.d.ts +90 -0
  241. package/applications/item/synchronization/templates/item/schema/index.d.ts.map +1 -0
  242. package/applications/item/synchronization/templates/item/schema/index.js +82 -0
  243. package/applications/item/synchronization/templates/item/schema/parseExpression/index.d.ts +69 -0
  244. package/applications/item/synchronization/templates/item/schema/parseExpression/index.d.ts.map +1 -0
  245. package/applications/item/synchronization/templates/item/schema/parseExpression/index.js +64 -0
  246. package/applications/item/tokenIssuancePolicies/count/index.d.ts +40 -0
  247. package/applications/item/tokenIssuancePolicies/count/index.d.ts.map +1 -0
  248. package/applications/item/tokenIssuancePolicies/count/index.js +35 -0
  249. package/applications/item/tokenIssuancePolicies/index.d.ts +87 -0
  250. package/applications/item/tokenIssuancePolicies/index.d.ts.map +1 -0
  251. package/applications/item/tokenIssuancePolicies/index.js +63 -0
  252. package/applications/item/tokenIssuancePolicies/item/index.d.ts +20 -0
  253. package/applications/item/tokenIssuancePolicies/item/index.d.ts.map +1 -0
  254. package/applications/item/tokenIssuancePolicies/item/index.js +22 -0
  255. package/applications/item/tokenIssuancePolicies/item/ref/index.d.ts +36 -0
  256. package/applications/item/tokenIssuancePolicies/item/ref/index.d.ts.map +1 -0
  257. package/applications/item/tokenIssuancePolicies/item/ref/index.js +33 -0
  258. package/applications/item/tokenIssuancePolicies/ref/index.d.ts +72 -0
  259. package/applications/item/tokenIssuancePolicies/ref/index.d.ts.map +1 -0
  260. package/applications/item/tokenIssuancePolicies/ref/index.js +51 -0
  261. package/applications/item/tokenLifetimePolicies/count/index.d.ts +40 -0
  262. package/applications/item/tokenLifetimePolicies/count/index.d.ts.map +1 -0
  263. package/applications/item/tokenLifetimePolicies/count/index.js +35 -0
  264. package/applications/item/tokenLifetimePolicies/index.d.ts +87 -0
  265. package/applications/item/tokenLifetimePolicies/index.d.ts.map +1 -0
  266. package/applications/item/tokenLifetimePolicies/index.js +63 -0
  267. package/applications/item/tokenLifetimePolicies/item/index.d.ts +20 -0
  268. package/applications/item/tokenLifetimePolicies/item/index.d.ts.map +1 -0
  269. package/applications/item/tokenLifetimePolicies/item/index.js +22 -0
  270. package/applications/item/tokenLifetimePolicies/item/ref/index.d.ts +36 -0
  271. package/applications/item/tokenLifetimePolicies/item/ref/index.d.ts.map +1 -0
  272. package/applications/item/tokenLifetimePolicies/item/ref/index.js +33 -0
  273. package/applications/item/tokenLifetimePolicies/ref/index.d.ts +72 -0
  274. package/applications/item/tokenLifetimePolicies/ref/index.d.ts.map +1 -0
  275. package/applications/item/tokenLifetimePolicies/ref/index.js +51 -0
  276. package/applications/item/unsetVerifiedPublisher/index.d.ts +27 -0
  277. package/applications/item/unsetVerifiedPublisher/index.d.ts.map +1 -0
  278. package/applications/item/unsetVerifiedPublisher/index.js +26 -0
  279. package/applications/validateProperties/index.d.ts +72 -0
  280. package/applications/validateProperties/index.d.ts.map +1 -0
  281. package/applications/validateProperties/index.js +64 -0
  282. package/applicationsServiceClient.d.ts +25 -0
  283. package/applicationsServiceClient.d.ts.map +1 -0
  284. package/applicationsServiceClient.js +49 -0
  285. package/index.d.ts +11 -0
  286. package/index.d.ts.map +1 -0
  287. package/index.js +20 -0
  288. package/package.json +48 -0
  289. package/tsconfig.json +15 -0
  290. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,117 @@
1
+ import { type Application, type ApplicationCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type DeltaRequestBuilder } from './delta/';
4
+ import { type GetAvailableExtensionPropertiesRequestBuilder } from './getAvailableExtensionProperties/';
5
+ import { type GetByIdsRequestBuilder } from './getByIds/';
6
+ import { type ApplicationItemRequestBuilder } from './item/';
7
+ import { type ValidatePropertiesRequestBuilder } from './validateProperties/';
8
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
9
+ /**
10
+ * Provides operations to manage the collection of application entities.
11
+ */
12
+ export interface ApplicationsRequestBuilder extends BaseRequestBuilder<ApplicationsRequestBuilder> {
13
+ /**
14
+ * Provides operations to count the resources in the collection.
15
+ */
16
+ get count(): CountRequestBuilder;
17
+ /**
18
+ * Provides operations to call the delta method.
19
+ */
20
+ get delta(): DeltaRequestBuilder;
21
+ /**
22
+ * Provides operations to call the getAvailableExtensionProperties method.
23
+ */
24
+ get getAvailableExtensionProperties(): GetAvailableExtensionPropertiesRequestBuilder;
25
+ /**
26
+ * Provides operations to call the getByIds method.
27
+ */
28
+ get getByIds(): GetByIdsRequestBuilder;
29
+ /**
30
+ * Provides operations to call the validateProperties method.
31
+ */
32
+ get validateProperties(): ValidatePropertiesRequestBuilder;
33
+ /**
34
+ * Provides operations to manage the collection of application entities.
35
+ * @param applicationId The unique identifier of application
36
+ * @returns a ApplicationItemRequestBuilder
37
+ */
38
+ byApplicationId(applicationId: string): ApplicationItemRequestBuilder;
39
+ /**
40
+ * Get the list of applications in this organization.
41
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
+ * @returns a Promise of ApplicationCollectionResponse
43
+ * @see {@link https://learn.microsoft.com/graph/api/application-list?view=graph-rest-1.0|Find more info here}
44
+ */
45
+ get(requestConfiguration?: RequestConfiguration<ApplicationsRequestBuilderGetQueryParameters> | undefined): Promise<ApplicationCollectionResponse | undefined>;
46
+ /**
47
+ * Create a new application object.
48
+ * @param body The request body
49
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
+ * @returns a Promise of Application
51
+ * @see {@link https://learn.microsoft.com/graph/api/application-post-applications?view=graph-rest-1.0|Find more info here}
52
+ */
53
+ post(body: Application, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Application | undefined>;
54
+ /**
55
+ * Get the list of applications in this organization.
56
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
+ * @returns a RequestInformation
58
+ */
59
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApplicationsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
60
+ /**
61
+ * Create a new application object.
62
+ * @param body The request body
63
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
64
+ * @returns a RequestInformation
65
+ */
66
+ toPostRequestInformation(body: Application, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
67
+ }
68
+ /**
69
+ * Get the list of applications in this organization.
70
+ */
71
+ export interface ApplicationsRequestBuilderGetQueryParameters {
72
+ /**
73
+ * Include count of items
74
+ */
75
+ count?: boolean;
76
+ /**
77
+ * Expand related entities
78
+ */
79
+ expand?: string[];
80
+ /**
81
+ * Filter items by property values
82
+ */
83
+ filter?: string;
84
+ /**
85
+ * Order items by property values
86
+ */
87
+ orderby?: string[];
88
+ /**
89
+ * Search items by search phrases
90
+ */
91
+ search?: string;
92
+ /**
93
+ * Select properties to be returned
94
+ */
95
+ select?: string[];
96
+ /**
97
+ * Skip the first n items
98
+ */
99
+ skip?: number;
100
+ /**
101
+ * Show only the first n items
102
+ */
103
+ top?: number;
104
+ }
105
+ /**
106
+ * Metadata for all the navigation properties in the request builder.
107
+ */
108
+ export declare const ApplicationsRequestBuilderNavigationMetadata: Record<Exclude<keyof ApplicationsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
109
+ /**
110
+ * Metadata for all the requests in the request builder.
111
+ */
112
+ export declare const ApplicationsRequestBuilderRequestsMetadata: RequestsMetadata;
113
+ /**
114
+ * Uri template for the request builder.
115
+ */
116
+ export declare const ApplicationsRequestBuilderUriTemplate = "{+baseurl}/applications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
117
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4H,KAAK,WAAW,EAAE,KAAK,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAEhO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2H,KAAK,6CAA6C,EAAE,MAAM,oCAAoC,CAAC;AACjO,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrI,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,SAAS,CAAC;AACvM,OAAO,EAAE,KAAK,gCAAgC,EAAiG,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB,CAAC,0BAA0B,CAAC;IAC9F;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,+BAA+B,IAAI,6CAA6C,CAAC;IACrF;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;;OAIG;IACF,eAAe,CAAC,aAAa,EAAE,MAAM,GAAI,6BAA6B,CAAC;IACxE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACjK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IAC7H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;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,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA2BlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBAuBxD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,yGAAyG,CAAC"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplicationsRequestBuilderUriTemplate = exports.ApplicationsRequestBuilderRequestsMetadata = exports.ApplicationsRequestBuilderNavigationMetadata = 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 delta_1 = require("./delta/");
11
+ const getAvailableExtensionProperties_1 = require("./getAvailableExtensionProperties/");
12
+ const getByIds_1 = require("./getByIds/");
13
+ const item_1 = require("./item/");
14
+ const validateProperties_1 = require("./validateProperties/");
15
+ /**
16
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
17
+ */
18
+ const ApplicationsRequestBuilderGetQueryParametersMapper = {
19
+ "count": "%24count",
20
+ "expand": "%24expand",
21
+ "filter": "%24filter",
22
+ "orderby": "%24orderby",
23
+ "search": "%24search",
24
+ "select": "%24select",
25
+ "skip": "%24skip",
26
+ "top": "%24top",
27
+ };
28
+ /**
29
+ * Metadata for all the navigation properties in the request builder.
30
+ */
31
+ exports.ApplicationsRequestBuilderNavigationMetadata = {
32
+ byApplicationId: {
33
+ uriTemplate: item_1.ApplicationItemRequestBuilderUriTemplate,
34
+ requestsMetadata: item_1.ApplicationItemRequestBuilderRequestsMetadata,
35
+ navigationMetadata: item_1.ApplicationItemRequestBuilderNavigationMetadata,
36
+ pathParametersMappings: ["application%2Did"],
37
+ },
38
+ count: {
39
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
40
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
41
+ },
42
+ delta: {
43
+ uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
44
+ requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
45
+ },
46
+ getAvailableExtensionProperties: {
47
+ uriTemplate: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
48
+ requestsMetadata: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
49
+ },
50
+ getByIds: {
51
+ uriTemplate: getByIds_1.GetByIdsRequestBuilderUriTemplate,
52
+ requestsMetadata: getByIds_1.GetByIdsRequestBuilderRequestsMetadata,
53
+ },
54
+ validateProperties: {
55
+ uriTemplate: validateProperties_1.ValidatePropertiesRequestBuilderUriTemplate,
56
+ requestsMetadata: validateProperties_1.ValidatePropertiesRequestBuilderRequestsMetadata,
57
+ },
58
+ };
59
+ /**
60
+ * Metadata for all the requests in the request builder.
61
+ */
62
+ exports.ApplicationsRequestBuilderRequestsMetadata = {
63
+ get: {
64
+ responseBodyContentType: "application/json",
65
+ errorMappings: {
66
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
67
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
68
+ },
69
+ adapterMethodName: "sendAsync",
70
+ responseBodyFactory: models_1.createApplicationCollectionResponseFromDiscriminatorValue,
71
+ queryParametersMapper: ApplicationsRequestBuilderGetQueryParametersMapper,
72
+ },
73
+ post: {
74
+ responseBodyContentType: "application/json",
75
+ errorMappings: {
76
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
77
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
78
+ },
79
+ adapterMethodName: "sendAsync",
80
+ responseBodyFactory: models_1.createApplicationFromDiscriminatorValue,
81
+ requestBodyContentType: "application/json",
82
+ requestBodySerializer: models_1.serializeApplication,
83
+ requestInformationContentSetMethod: "setContentFromParsable",
84
+ },
85
+ };
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ exports.ApplicationsRequestBuilderUriTemplate = "{+baseurl}/applications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
90
+ /* tslint:enable */
91
+ /* eslint-enable */
@@ -0,0 +1,69 @@
1
+ import { type KeyCredential, type PasswordCredential } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface AddKeyPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
+ */
7
+ additionalData?: Record<string, unknown>;
8
+ /**
9
+ * Stores model information.
10
+ */
11
+ backingStoreEnabled?: boolean;
12
+ /**
13
+ * The keyCredential property
14
+ */
15
+ keyCredential?: KeyCredential;
16
+ /**
17
+ * The passwordCredential property
18
+ */
19
+ passwordCredential?: PasswordCredential;
20
+ /**
21
+ * The proof property
22
+ */
23
+ proof?: string;
24
+ }
25
+ /**
26
+ * Provides operations to call the addKey method.
27
+ */
28
+ export interface AddKeyRequestBuilder extends BaseRequestBuilder<AddKeyRequestBuilder> {
29
+ /**
30
+ * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a Promise of KeyCredential
34
+ * @see {@link https://learn.microsoft.com/graph/api/application-addkey?view=graph-rest-1.0|Find more info here}
35
+ */
36
+ post(body: AddKeyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<KeyCredential | undefined>;
37
+ /**
38
+ * Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead.
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPostRequestInformation(body: AddKeyPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * Creates a new instance of the appropriate class based on discriminator value
47
+ * @param parseNode The parse node to use to read the discriminator value and create the object
48
+ * @returns a addKeyPostRequestBody
49
+ */
50
+ export declare function createAddKeyPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddKeyPostRequestBody;
51
+ /**
52
+ * The deserialization information for the current model
53
+ * @returns a Record<string, (node: ParseNode) => void>
54
+ */
55
+ export declare function deserializeIntoAddKeyPostRequestBody(addKeyPostRequestBody?: AddKeyPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
56
+ /**
57
+ * Serializes information the current object
58
+ * @param writer Serialization writer to use to serialize this model
59
+ */
60
+ export declare function serializeAddKeyPostRequestBody(writer: SerializationWriter, addKeyPostRequestBody?: AddKeyPostRequestBody | undefined): void;
61
+ /**
62
+ * Metadata for all the requests in the request builder.
63
+ */
64
+ export declare const AddKeyRequestBuilderRequestsMetadata: RequestsMetadata;
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ export declare const AddKeyRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/addKey";
69
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkJ,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAE7O,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACzI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,+CAEjG;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAOvL;AACD;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,qBAAqB,GAAG,SAAuC,GAAI,IAAI,CAKzK;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,sDAAsD,CAAC"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddKeyRequestBuilderUriTemplate = exports.AddKeyRequestBuilderRequestsMetadata = exports.serializeAddKeyPostRequestBody = exports.deserializeIntoAddKeyPostRequestBody = exports.createAddKeyPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a addKeyPostRequestBody
13
+ */
14
+ function createAddKeyPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoAddKeyPostRequestBody;
16
+ }
17
+ exports.createAddKeyPostRequestBodyFromDiscriminatorValue = createAddKeyPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoAddKeyPostRequestBody(addKeyPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { addKeyPostRequestBody.backingStoreEnabled = true; },
25
+ "keyCredential": n => { addKeyPostRequestBody.keyCredential = n.getObjectValue(models_1.createKeyCredentialFromDiscriminatorValue); },
26
+ "passwordCredential": n => { addKeyPostRequestBody.passwordCredential = n.getObjectValue(models_1.createPasswordCredentialFromDiscriminatorValue); },
27
+ "proof": n => { addKeyPostRequestBody.proof = n.getStringValue(); },
28
+ };
29
+ }
30
+ exports.deserializeIntoAddKeyPostRequestBody = deserializeIntoAddKeyPostRequestBody;
31
+ /**
32
+ * Serializes information the current object
33
+ * @param writer Serialization writer to use to serialize this model
34
+ */
35
+ function serializeAddKeyPostRequestBody(writer, addKeyPostRequestBody = {}) {
36
+ writer.writeObjectValue("keyCredential", addKeyPostRequestBody.keyCredential, models_1.serializeKeyCredential);
37
+ writer.writeObjectValue("passwordCredential", addKeyPostRequestBody.passwordCredential, models_1.serializePasswordCredential);
38
+ writer.writeStringValue("proof", addKeyPostRequestBody.proof);
39
+ writer.writeAdditionalData(addKeyPostRequestBody.additionalData);
40
+ }
41
+ exports.serializeAddKeyPostRequestBody = serializeAddKeyPostRequestBody;
42
+ /**
43
+ * Metadata for all the requests in the request builder.
44
+ */
45
+ exports.AddKeyRequestBuilderRequestsMetadata = {
46
+ post: {
47
+ responseBodyContentType: "application/json",
48
+ errorMappings: {
49
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ },
52
+ adapterMethodName: "sendAsync",
53
+ responseBodyFactory: models_1.createKeyCredentialFromDiscriminatorValue,
54
+ requestBodyContentType: "application/json",
55
+ requestBodySerializer: serializeAddKeyPostRequestBody,
56
+ requestInformationContentSetMethod: "setContentFromParsable",
57
+ },
58
+ };
59
+ /**
60
+ * Uri template for the request builder.
61
+ */
62
+ exports.AddKeyRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/addKey";
63
+ /* tslint:enable */
64
+ /* eslint-enable */
@@ -0,0 +1,61 @@
1
+ import { type PasswordCredential } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export interface AddPasswordPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
4
+ /**
5
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
6
+ */
7
+ additionalData?: Record<string, unknown>;
8
+ /**
9
+ * Stores model information.
10
+ */
11
+ backingStoreEnabled?: boolean;
12
+ /**
13
+ * The passwordCredential property
14
+ */
15
+ passwordCredential?: PasswordCredential;
16
+ }
17
+ /**
18
+ * Provides operations to call the addPassword method.
19
+ */
20
+ export interface AddPasswordRequestBuilder extends BaseRequestBuilder<AddPasswordRequestBuilder> {
21
+ /**
22
+ * Adds a strong password or secret to an application.
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a Promise of PasswordCredential
26
+ * @see {@link https://learn.microsoft.com/graph/api/application-addpassword?view=graph-rest-1.0|Find more info here}
27
+ */
28
+ post(body: AddPasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PasswordCredential | undefined>;
29
+ /**
30
+ * Adds a strong password or secret to an application.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toPostRequestInformation(body: AddPasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
36
+ }
37
+ /**
38
+ * Creates a new instance of the appropriate class based on discriminator value
39
+ * @param parseNode The parse node to use to read the discriminator value and create the object
40
+ * @returns a addPasswordPostRequestBody
41
+ */
42
+ export declare function createAddPasswordPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAddPasswordPostRequestBody;
43
+ /**
44
+ * The deserialization information for the current model
45
+ * @returns a Record<string, (node: ParseNode) => void>
46
+ */
47
+ export declare function deserializeIntoAddPasswordPostRequestBody(addPasswordPostRequestBody?: AddPasswordPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
48
+ /**
49
+ * Serializes information the current object
50
+ * @param writer Serialization writer to use to serialize this model
51
+ */
52
+ export declare function serializeAddPasswordPostRequestBody(writer: SerializationWriter, addPasswordPostRequestBody?: AddPasswordPostRequestBody | undefined): void;
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const AddPasswordRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const AddPasswordRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/addPassword";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEtJ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,0BAA2B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC3F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CAC3C;AACD;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,kBAAkB,CAAC,yBAAyB,CAAC;IAC5F;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;;;GAIG;AACH,wBAAgB,sDAAsD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,oDAEtG;AACD;;;GAGG;AACH,wBAAgB,yCAAyC,CAAC,0BAA0B,GAAE,0BAA0B,GAAG,SAA4C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3M;AACD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,mBAAmB,EAAE,0BAA0B,GAAE,0BAA0B,GAAG,SAA4C,GAAI,IAAI,CAG7L;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAavD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,2DAA2D,CAAC"}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddPasswordRequestBuilderUriTemplate = exports.AddPasswordRequestBuilderRequestsMetadata = exports.serializeAddPasswordPostRequestBody = exports.deserializeIntoAddPasswordPostRequestBody = exports.createAddPasswordPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a addPasswordPostRequestBody
13
+ */
14
+ function createAddPasswordPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoAddPasswordPostRequestBody;
16
+ }
17
+ exports.createAddPasswordPostRequestBodyFromDiscriminatorValue = createAddPasswordPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoAddPasswordPostRequestBody(addPasswordPostRequestBody = {}) {
23
+ return {
24
+ "backingStoreEnabled": n => { addPasswordPostRequestBody.backingStoreEnabled = true; },
25
+ "passwordCredential": n => { addPasswordPostRequestBody.passwordCredential = n.getObjectValue(models_1.createPasswordCredentialFromDiscriminatorValue); },
26
+ };
27
+ }
28
+ exports.deserializeIntoAddPasswordPostRequestBody = deserializeIntoAddPasswordPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeAddPasswordPostRequestBody(writer, addPasswordPostRequestBody = {}) {
34
+ writer.writeObjectValue("passwordCredential", addPasswordPostRequestBody.passwordCredential, models_1.serializePasswordCredential);
35
+ writer.writeAdditionalData(addPasswordPostRequestBody.additionalData);
36
+ }
37
+ exports.serializeAddPasswordPostRequestBody = serializeAddPasswordPostRequestBody;
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.AddPasswordRequestBuilderRequestsMetadata = {
42
+ post: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createPasswordCredentialFromDiscriminatorValue,
50
+ requestBodyContentType: "application/json",
51
+ requestBodySerializer: serializeAddPasswordPostRequestBody,
52
+ requestInformationContentSetMethod: "setContentFromParsable",
53
+ },
54
+ };
55
+ /**
56
+ * Uri template for the request builder.
57
+ */
58
+ exports.AddPasswordRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/addPassword";
59
+ /* tslint:enable */
60
+ /* 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}/applications/{application%2Did}/appManagementPolicies/$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,kGAAkG,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}/applications/{application%2Did}/appManagementPolicies/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,86 @@
1
+ import { type AppManagementPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type AppManagementPolicyItemRequestBuilder } 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 appManagementPolicies property of the microsoft.graph.application entity.
8
+ */
9
+ export interface AppManagementPoliciesRequestBuilder extends BaseRequestBuilder<AppManagementPoliciesRequestBuilder> {
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 application entities.
16
+ */
17
+ get ref(): RefRequestBuilder;
18
+ /**
19
+ * Gets an item from the github.com/microsoftgraph/msgraph-sdk-typescript/.applications.item.appManagementPolicies.item collection
20
+ * @param appManagementPolicyId The unique identifier of appManagementPolicy
21
+ * @returns a AppManagementPolicyItemRequestBuilder
22
+ */
23
+ byAppManagementPolicyId(appManagementPolicyId: string): AppManagementPolicyItemRequestBuilder;
24
+ /**
25
+ * The appManagementPolicy applied to this application.
26
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
27
+ * @returns a Promise of AppManagementPolicyCollectionResponse
28
+ */
29
+ get(requestConfiguration?: RequestConfiguration<AppManagementPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<AppManagementPolicyCollectionResponse | undefined>;
30
+ /**
31
+ * The appManagementPolicy applied to this application.
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a RequestInformation
34
+ */
35
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppManagementPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
36
+ }
37
+ /**
38
+ * The appManagementPolicy applied to this application.
39
+ */
40
+ export interface AppManagementPoliciesRequestBuilderGetQueryParameters {
41
+ /**
42
+ * Include count of items
43
+ */
44
+ count?: boolean;
45
+ /**
46
+ * Expand related entities
47
+ */
48
+ expand?: string[];
49
+ /**
50
+ * Filter items by property values
51
+ */
52
+ filter?: string;
53
+ /**
54
+ * Order items by property values
55
+ */
56
+ orderby?: string[];
57
+ /**
58
+ * Search items by search phrases
59
+ */
60
+ search?: string;
61
+ /**
62
+ * Select properties to be returned
63
+ */
64
+ select?: string[];
65
+ /**
66
+ * Skip the first n items
67
+ */
68
+ skip?: number;
69
+ /**
70
+ * Show only the first n items
71
+ */
72
+ top?: number;
73
+ }
74
+ /**
75
+ * Metadata for all the navigation properties in the request builder.
76
+ */
77
+ export declare const AppManagementPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof AppManagementPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
78
+ /**
79
+ * Metadata for all the requests in the request builder.
80
+ */
81
+ export declare const AppManagementPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
82
+ /**
83
+ * Uri template for the request builder.
84
+ */
85
+ export declare const AppManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/applications/{application%2Did}/appManagementPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
86
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6G,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAChL,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,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjK;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;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,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAcpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAWjE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,kJAAkJ,CAAC"}