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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/package.json +3 -3
  2. package/policies/activityBasedTimeoutPolicies/count/index.d.ts +7 -6
  3. package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -1
  4. package/policies/activityBasedTimeoutPolicies/count/index.js +7 -7
  5. package/policies/activityBasedTimeoutPolicies/index.d.ts +11 -9
  6. package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -1
  7. package/policies/activityBasedTimeoutPolicies/index.js +9 -11
  8. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +7 -6
  9. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  10. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +7 -7
  11. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +8 -7
  12. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -1
  13. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +7 -9
  14. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +7 -6
  15. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  16. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +7 -7
  17. package/policies/activityBasedTimeoutPolicies/item/index.d.ts +12 -9
  18. package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -1
  19. package/policies/activityBasedTimeoutPolicies/item/index.js +11 -12
  20. package/policies/adminConsentRequestPolicy/index.d.ts +12 -9
  21. package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -1
  22. package/policies/adminConsentRequestPolicy/index.js +11 -11
  23. package/policies/appManagementPolicies/count/index.d.ts +7 -6
  24. package/policies/appManagementPolicies/count/index.d.ts.map +1 -1
  25. package/policies/appManagementPolicies/count/index.js +7 -7
  26. package/policies/appManagementPolicies/index.d.ts +11 -9
  27. package/policies/appManagementPolicies/index.d.ts.map +1 -1
  28. package/policies/appManagementPolicies/index.js +9 -11
  29. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +7 -6
  30. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  31. package/policies/appManagementPolicies/item/appliesTo/count/index.js +7 -7
  32. package/policies/appManagementPolicies/item/appliesTo/index.d.ts +8 -7
  33. package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -1
  34. package/policies/appManagementPolicies/item/appliesTo/index.js +7 -9
  35. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +7 -6
  36. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  37. package/policies/appManagementPolicies/item/appliesTo/item/index.js +7 -7
  38. package/policies/appManagementPolicies/item/index.d.ts +12 -9
  39. package/policies/appManagementPolicies/item/index.d.ts.map +1 -1
  40. package/policies/appManagementPolicies/item/index.js +11 -12
  41. package/policies/authenticationFlowsPolicy/index.d.ts +12 -9
  42. package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -1
  43. package/policies/authenticationFlowsPolicy/index.js +11 -11
  44. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +7 -6
  45. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -1
  46. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +7 -7
  47. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +11 -9
  48. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -1
  49. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +9 -11
  50. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +12 -9
  51. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -1
  52. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +11 -11
  53. package/policies/authenticationMethodsPolicy/index.d.ts +12 -9
  54. package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -1
  55. package/policies/authenticationMethodsPolicy/index.js +11 -12
  56. package/policies/authenticationStrengthPolicies/count/index.d.ts +7 -6
  57. package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -1
  58. package/policies/authenticationStrengthPolicies/count/index.js +7 -7
  59. package/policies/authenticationStrengthPolicies/index.d.ts +11 -9
  60. package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -1
  61. package/policies/authenticationStrengthPolicies/index.js +9 -11
  62. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +7 -6
  63. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -1
  64. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +7 -7
  65. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +11 -9
  66. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -1
  67. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +9 -11
  68. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +12 -9
  69. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -1
  70. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +11 -11
  71. package/policies/authenticationStrengthPolicies/item/index.d.ts +12 -9
  72. package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -1
  73. package/policies/authenticationStrengthPolicies/item/index.js +11 -14
  74. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +9 -8
  75. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -1
  76. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +9 -9
  77. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +7 -6
  78. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -1
  79. package/policies/authenticationStrengthPolicies/item/usage/index.js +7 -7
  80. package/policies/authorizationPolicy/index.d.ts +12 -9
  81. package/policies/authorizationPolicy/index.d.ts.map +1 -1
  82. package/policies/authorizationPolicy/index.js +11 -11
  83. package/policies/claimsMappingPolicies/count/index.d.ts +7 -6
  84. package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -1
  85. package/policies/claimsMappingPolicies/count/index.js +7 -7
  86. package/policies/claimsMappingPolicies/index.d.ts +11 -9
  87. package/policies/claimsMappingPolicies/index.d.ts.map +1 -1
  88. package/policies/claimsMappingPolicies/index.js +9 -11
  89. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +7 -6
  90. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  91. package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +7 -7
  92. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +8 -7
  93. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -1
  94. package/policies/claimsMappingPolicies/item/appliesTo/index.js +7 -9
  95. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +7 -6
  96. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  97. package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +7 -7
  98. package/policies/claimsMappingPolicies/item/index.d.ts +12 -9
  99. package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -1
  100. package/policies/claimsMappingPolicies/item/index.js +11 -12
  101. package/policies/conditionalAccessPolicies/count/index.d.ts +7 -6
  102. package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -1
  103. package/policies/conditionalAccessPolicies/count/index.js +7 -7
  104. package/policies/conditionalAccessPolicies/index.d.ts +11 -9
  105. package/policies/conditionalAccessPolicies/index.d.ts.map +1 -1
  106. package/policies/conditionalAccessPolicies/index.js +9 -11
  107. package/policies/conditionalAccessPolicies/item/index.d.ts +12 -9
  108. package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -1
  109. package/policies/conditionalAccessPolicies/item/index.js +11 -11
  110. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +12 -9
  111. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -1
  112. package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +11 -12
  113. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +6 -5
  114. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -1
  115. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +7 -7
  116. package/policies/crossTenantAccessPolicy/index.d.ts +12 -9
  117. package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -1
  118. package/policies/crossTenantAccessPolicy/index.js +11 -13
  119. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +7 -6
  120. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -1
  121. package/policies/crossTenantAccessPolicy/partners/count/index.js +7 -7
  122. package/policies/crossTenantAccessPolicy/partners/index.d.ts +11 -9
  123. package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -1
  124. package/policies/crossTenantAccessPolicy/partners/index.js +9 -11
  125. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +12 -9
  126. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -1
  127. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +11 -11
  128. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +12 -9
  129. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -1
  130. package/policies/crossTenantAccessPolicy/partners/item/index.js +11 -12
  131. package/policies/defaultAppManagementPolicy/index.d.ts +12 -9
  132. package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -1
  133. package/policies/defaultAppManagementPolicy/index.js +11 -11
  134. package/policies/deviceRegistrationPolicy/index.d.ts +38 -0
  135. package/policies/deviceRegistrationPolicy/index.d.ts.map +1 -0
  136. package/policies/deviceRegistrationPolicy/index.js +35 -0
  137. package/policies/featureRolloutPolicies/count/index.d.ts +7 -6
  138. package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -1
  139. package/policies/featureRolloutPolicies/count/index.js +7 -7
  140. package/policies/featureRolloutPolicies/index.d.ts +11 -9
  141. package/policies/featureRolloutPolicies/index.d.ts.map +1 -1
  142. package/policies/featureRolloutPolicies/index.js +9 -11
  143. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +7 -6
  144. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  145. package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +7 -7
  146. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +11 -9
  147. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -1
  148. package/policies/featureRolloutPolicies/item/appliesTo/index.js +9 -12
  149. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +4 -4
  150. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  151. package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +5 -6
  152. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +6 -5
  153. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -1
  154. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +7 -7
  155. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +11 -8
  156. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -1
  157. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +11 -11
  158. package/policies/featureRolloutPolicies/item/index.d.ts +12 -9
  159. package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -1
  160. package/policies/featureRolloutPolicies/item/index.js +11 -12
  161. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +7 -6
  162. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -1
  163. package/policies/homeRealmDiscoveryPolicies/count/index.js +7 -7
  164. package/policies/homeRealmDiscoveryPolicies/index.d.ts +11 -9
  165. package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -1
  166. package/policies/homeRealmDiscoveryPolicies/index.js +9 -11
  167. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +7 -6
  168. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  169. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +7 -7
  170. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +8 -7
  171. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -1
  172. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +7 -9
  173. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +7 -6
  174. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  175. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +7 -7
  176. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +12 -9
  177. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -1
  178. package/policies/homeRealmDiscoveryPolicies/item/index.js +11 -12
  179. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +12 -9
  180. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -1
  181. package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +11 -11
  182. package/policies/index.d.ts +15 -8
  183. package/policies/index.d.ts.map +1 -1
  184. package/policies/index.js +13 -28
  185. package/policies/permissionGrantPolicies/count/index.d.ts +7 -6
  186. package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -1
  187. package/policies/permissionGrantPolicies/count/index.js +7 -7
  188. package/policies/permissionGrantPolicies/index.d.ts +11 -9
  189. package/policies/permissionGrantPolicies/index.d.ts.map +1 -1
  190. package/policies/permissionGrantPolicies/index.js +9 -11
  191. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +7 -6
  192. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -1
  193. package/policies/permissionGrantPolicies/item/excludes/count/index.js +7 -7
  194. package/policies/permissionGrantPolicies/item/excludes/index.d.ts +11 -9
  195. package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -1
  196. package/policies/permissionGrantPolicies/item/excludes/index.js +9 -11
  197. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +12 -9
  198. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -1
  199. package/policies/permissionGrantPolicies/item/excludes/item/index.js +11 -11
  200. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +7 -6
  201. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -1
  202. package/policies/permissionGrantPolicies/item/includes/count/index.js +7 -7
  203. package/policies/permissionGrantPolicies/item/includes/index.d.ts +11 -9
  204. package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -1
  205. package/policies/permissionGrantPolicies/item/includes/index.js +9 -11
  206. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +12 -9
  207. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -1
  208. package/policies/permissionGrantPolicies/item/includes/item/index.js +11 -11
  209. package/policies/permissionGrantPolicies/item/index.d.ts +12 -9
  210. package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -1
  211. package/policies/permissionGrantPolicies/item/index.js +11 -13
  212. package/policies/roleManagementPolicies/count/index.d.ts +7 -6
  213. package/policies/roleManagementPolicies/count/index.d.ts.map +1 -1
  214. package/policies/roleManagementPolicies/count/index.js +7 -7
  215. package/policies/roleManagementPolicies/index.d.ts +11 -9
  216. package/policies/roleManagementPolicies/index.d.ts.map +1 -1
  217. package/policies/roleManagementPolicies/index.js +9 -11
  218. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +7 -6
  219. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -1
  220. package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +7 -7
  221. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +11 -9
  222. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -1
  223. package/policies/roleManagementPolicies/item/effectiveRules/index.js +9 -11
  224. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +12 -9
  225. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -1
  226. package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +11 -11
  227. package/policies/roleManagementPolicies/item/index.d.ts +12 -9
  228. package/policies/roleManagementPolicies/item/index.d.ts.map +1 -1
  229. package/policies/roleManagementPolicies/item/index.js +11 -13
  230. package/policies/roleManagementPolicies/item/rules/count/index.d.ts +7 -6
  231. package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -1
  232. package/policies/roleManagementPolicies/item/rules/count/index.js +7 -7
  233. package/policies/roleManagementPolicies/item/rules/index.d.ts +11 -9
  234. package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -1
  235. package/policies/roleManagementPolicies/item/rules/index.js +9 -11
  236. package/policies/roleManagementPolicies/item/rules/item/index.d.ts +12 -9
  237. package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -1
  238. package/policies/roleManagementPolicies/item/rules/item/index.js +11 -11
  239. package/policies/roleManagementPolicyAssignments/count/index.d.ts +7 -6
  240. package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -1
  241. package/policies/roleManagementPolicyAssignments/count/index.js +7 -7
  242. package/policies/roleManagementPolicyAssignments/index.d.ts +11 -9
  243. package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -1
  244. package/policies/roleManagementPolicyAssignments/index.js +9 -11
  245. package/policies/roleManagementPolicyAssignments/item/index.d.ts +12 -9
  246. package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -1
  247. package/policies/roleManagementPolicyAssignments/item/index.js +11 -12
  248. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +7 -6
  249. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -1
  250. package/policies/roleManagementPolicyAssignments/item/policy/index.js +7 -7
  251. package/policies/tokenIssuancePolicies/count/index.d.ts +7 -6
  252. package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -1
  253. package/policies/tokenIssuancePolicies/count/index.js +7 -7
  254. package/policies/tokenIssuancePolicies/index.d.ts +11 -9
  255. package/policies/tokenIssuancePolicies/index.d.ts.map +1 -1
  256. package/policies/tokenIssuancePolicies/index.js +9 -11
  257. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +7 -6
  258. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  259. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +7 -7
  260. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +8 -7
  261. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -1
  262. package/policies/tokenIssuancePolicies/item/appliesTo/index.js +7 -9
  263. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +7 -6
  264. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  265. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +7 -7
  266. package/policies/tokenIssuancePolicies/item/index.d.ts +12 -9
  267. package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -1
  268. package/policies/tokenIssuancePolicies/item/index.js +11 -12
  269. package/policies/tokenLifetimePolicies/count/index.d.ts +7 -6
  270. package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -1
  271. package/policies/tokenLifetimePolicies/count/index.js +7 -7
  272. package/policies/tokenLifetimePolicies/index.d.ts +11 -9
  273. package/policies/tokenLifetimePolicies/index.d.ts.map +1 -1
  274. package/policies/tokenLifetimePolicies/index.js +9 -11
  275. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +7 -6
  276. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  277. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +7 -7
  278. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +8 -7
  279. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -1
  280. package/policies/tokenLifetimePolicies/item/appliesTo/index.js +7 -9
  281. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +7 -6
  282. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  283. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +7 -7
  284. package/policies/tokenLifetimePolicies/item/index.d.ts +12 -9
  285. package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -1
  286. package/policies/tokenLifetimePolicies/item/index.js +11 -12
  287. package/policiesServiceClient.d.ts.map +1 -1
  288. package/policiesServiceClient.js +1 -2
  289. package/tsconfig.tsbuildinfo +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RulesRequestBuilderUriTemplate = exports.RulesRequestBuilderRequestsMetadata = exports.RulesRequestBuilderNavigationMetadata = void 0;
3
+ exports.RulesRequestBuilderRequestsMetadata = exports.RulesRequestBuilderNavigationMetadata = exports.RulesRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.RulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const RulesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.RulesRequestBuilderNavigationMetadata = {
28
32
  byUnifiedRoleManagementPolicyRuleId: {
29
- uriTemplate: item_1.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["unifiedRoleManagementPolicyRule%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.RulesRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.RulesRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.RulesRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: RulesRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.RulesRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.RulesRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.RulesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface UnifiedRoleManagementPolicyRuleItemRequestBuilder extends BaseR
7
7
  /**
8
8
  * Delete navigation property rules for policies
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object:
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of UnifiedRoleManagementPolicyRule
16
+ * @returns {Promise<UnifiedRoleManagementPolicyRule>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
@@ -20,27 +22,28 @@ export interface UnifiedRoleManagementPolicyRuleItemRequestBuilder extends BaseR
20
22
  * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of UnifiedRoleManagementPolicyRule
25
+ * @returns {Promise<UnifiedRoleManagementPolicyRule>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  * @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-update?view=graph-rest-1.0|Find more info here}
25
28
  */
26
29
  patch(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyRule | undefined>;
27
30
  /**
28
31
  * Delete navigation property rules for policies
29
32
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a RequestInformation
33
+ * @returns {RequestInformation}
31
34
  */
32
35
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
36
  /**
34
37
  * Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object:
35
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
37
40
  */
38
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
42
  /**
40
43
  * Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:
41
44
  * @param body The request body
42
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
44
47
  */
45
48
  toPatchRequestInformation(body: UnifiedRoleManagementPolicyRule, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
49
  }
@@ -57,12 +60,12 @@ export interface UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParame
57
60
  */
58
61
  select?: string[];
59
62
  }
60
- /**
61
- * Metadata for all the requests in the request builder.
62
- */
63
- export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata: RequestsMetadata;
64
63
  /**
65
64
  * Uri template for the request builder.
66
65
  */
67
66
  export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/{unifiedRoleManagementPolicyRule%2Did}{?%24expand,%24select}";
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata: RequestsMetadata;
68
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyG,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAE7L,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iDAAkD,SAAQ,kBAAkB,CAAC,iDAAiD,CAAC;IAC5I;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mEAAmE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC1L;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;OAIG;IACF,0BAA0B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OG;IACF,KAAK,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mEAAmE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5K;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;GAEG;AACH,MAAM,WAAW,mEAAmE;IAChF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,4DAA4D,qJAAqJ,CAAC;AAQ/N;;GAEG;AACH,eAAO,MAAM,iEAAiE,EAAE,gBA+B/E,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/{unifiedRoleManagementPolicyRule%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParametersMapper
18
22
  */
19
23
  exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
36
40
  queryParametersMapper: UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.UnifiedRoleManagementPolicyRuleItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/rules/{unifiedRoleManagementPolicyRule%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,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,qFAAqF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,qFAAqF,CAAC;AAQjI;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface RoleManagementPolicyAssignmentsRequestBuilder extends BaseReque
13
13
  /**
14
14
  * Provides operations to manage the roleManagementPolicyAssignments property of the microsoft.graph.policyRoot entity.
15
15
  * @param unifiedRoleManagementPolicyAssignmentId The unique identifier of unifiedRoleManagementPolicyAssignment
16
- * @returns a UnifiedRoleManagementPolicyAssignmentItemRequestBuilder
16
+ * @returns {UnifiedRoleManagementPolicyAssignmentItemRequestBuilder}
17
17
  */
18
18
  byUnifiedRoleManagementPolicyAssignmentId(unifiedRoleManagementPolicyAssignmentId: string): UnifiedRoleManagementPolicyAssignmentItemRequestBuilder;
19
19
  /**
20
20
  * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of UnifiedRoleManagementPolicyAssignmentCollectionResponse
22
+ * @returns {Promise<UnifiedRoleManagementPolicyAssignmentCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicyassignments?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyAssignmentCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface RoleManagementPolicyAssignmentsRequestBuilder extends BaseReque
27
28
  * Create new navigation property to roleManagementPolicyAssignments for policies
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of UnifiedRoleManagementPolicyAssignment
31
+ * @returns {Promise<UnifiedRoleManagementPolicyAssignment>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
33
35
  /**
34
36
  * Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups.
35
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to roleManagementPolicyAssignments for policies
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const RoleManagementPolicyAssignmentsRequestBuilderNavigationMeta
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0M,KAAK,qCAAqC,EAAE,KAAK,uDAAuD,EAAE,MAAM,gCAAgC,CAAC;AAElW,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAE,KAAK,uDAAuD,EAA0N,MAAM,SAAS,CAAC;AAC/S,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,6CAA8C,SAAQ,kBAAkB,CAAC,6CAA6C,CAAC;IACpI;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,yCAAyC,CAAC,uCAAuC,EAAE,MAAM,GAAI,uDAAuD,CAAC;IACtJ;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+DAA+D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uDAAuD,GAAG,SAAS,CAAC,CAAC;IAC9M;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACjL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CA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IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,wDAAwD,qIAAqI,CAAC;AAc3M;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,6CAA6C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASxM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBAuB3E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = exports.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = void 0;
3
+ exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = exports.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,13 +30,11 @@ const RoleManagementPolicyAssignmentsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = {
28
32
  byUnifiedRoleManagementPolicyAssignmentId: {
29
- uriTemplate: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["unifiedRoleManagementPolicyAssignment%2Did"],
33
36
  },
34
37
  count: {
35
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
38
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
39
  },
38
40
  };
@@ -41,20 +43,20 @@ exports.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate,
44
47
  responseBodyContentType: "application/json",
45
48
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
50
  },
49
51
  adapterMethodName: "sendAsync",
50
52
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: RoleManagementPolicyAssignmentsRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate,
54
57
  responseBodyContentType: "application/json",
55
58
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
60
  },
59
61
  adapterMethodName: "sendAsync",
60
62
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* eslint-enable */
@@ -12,12 +12,14 @@ export interface UnifiedRoleManagementPolicyAssignmentItemRequestBuilder extends
12
12
  /**
13
13
  * Delete navigation property roleManagementPolicyAssignments for policies
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
15
16
  */
16
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
18
  /**
18
19
  * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership.
19
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
- * @returns a Promise of UnifiedRoleManagementPolicyAssignment
21
+ * @returns {Promise<UnifiedRoleManagementPolicyAssignment>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
23
  * @see {@link https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyassignment-get?view=graph-rest-1.0|Find more info here}
22
24
  */
23
25
  get(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
@@ -25,26 +27,27 @@ export interface UnifiedRoleManagementPolicyAssignmentItemRequestBuilder extends
25
27
  * Update the navigation property roleManagementPolicyAssignments in policies
26
28
  * @param body The request body
27
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a Promise of UnifiedRoleManagementPolicyAssignment
30
+ * @returns {Promise<UnifiedRoleManagementPolicyAssignment>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
32
  */
30
33
  patch(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicyAssignment | undefined>;
31
34
  /**
32
35
  * Delete navigation property roleManagementPolicyAssignments for policies
33
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a RequestInformation
37
+ * @returns {RequestInformation}
35
38
  */
36
39
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
37
40
  /**
38
41
  * Get the details of a policy assignment in PIM that's assigned to Microsoft Entra roles or group membership or ownership.
39
42
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
- * @returns a RequestInformation
43
+ * @returns {RequestInformation}
41
44
  */
42
45
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
43
46
  /**
44
47
  * Update the navigation property roleManagementPolicyAssignments in policies
45
48
  * @param body The request body
46
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
- * @returns a RequestInformation
50
+ * @returns {RequestInformation}
48
51
  */
49
52
  toPatchRequestInformation(body: UnifiedRoleManagementPolicyAssignment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
50
53
  }
@@ -61,6 +64,10 @@ export interface UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQuery
61
64
  */
62
65
  select?: string[];
63
66
  }
67
+ /**
68
+ * Uri template for the request builder.
69
+ */
70
+ export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24expand,%24select}";
64
71
  /**
65
72
  * Metadata for all the navigation properties in the request builder.
66
73
  */
@@ -69,8 +76,4 @@ export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavi
69
76
  * Metadata for all the requests in the request builder.
70
77
  */
71
78
  export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
72
- /**
73
- * Uri template for the request builder.
74
- */
75
- export declare const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24expand,%24select}";
76
79
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqH,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAE/M,OAAO,EAAyE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC7H,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,uDAAwD,SAAQ,kBAAkB,CAAC,uDAAuD,CAAC;IACxJ;;OAEG;IACH,IAAI,MAAM,IAAI,oBAAoB,CAAC;IACnC;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yEAAyE,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACtM;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,qCAAqC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,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AAE,gBA+BrF,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata = exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const policy_1 = require("./policy/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24expand,%24select}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -19,7 +23,6 @@ const UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParametersM
19
23
  */
20
24
  exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadata = {
21
25
  policy: {
22
- uriTemplate: policy_1.PolicyRequestBuilderUriTemplate,
23
26
  requestsMetadata: policy_1.PolicyRequestBuilderRequestsMetadata,
24
27
  },
25
28
  };
@@ -28,28 +31,28 @@ exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderNavigationMetadat
28
31
  */
29
32
  exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata = {
30
33
  delete: {
34
+ uriTemplate: exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate,
31
35
  responseBodyContentType: "application/json",
32
36
  errorMappings: {
33
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
37
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
38
  },
36
39
  adapterMethodName: "sendNoResponseContentAsync",
37
40
  },
38
41
  get: {
42
+ uriTemplate: exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate,
39
43
  responseBodyContentType: "application/json",
40
44
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
45
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
46
  },
44
47
  adapterMethodName: "sendAsync",
45
48
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
46
49
  queryParametersMapper: UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetQueryParametersMapper,
47
50
  },
48
51
  patch: {
52
+ uriTemplate: exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate,
49
53
  responseBodyContentType: "application/json",
50
54
  errorMappings: {
51
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
55
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
56
  },
54
57
  adapterMethodName: "sendAsync",
55
58
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyAssignmentFromDiscriminatorValue,
@@ -58,9 +61,5 @@ exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderRequestsMetadata
58
61
  requestInformationContentSetMethod: "setContentFromParsable",
59
62
  },
60
63
  };
61
- /**
62
- * Uri template for the request builder.
63
- */
64
- exports.UnifiedRoleManagementPolicyAssignmentItemRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}{?%24expand,%24select}";
65
64
  /* tslint:enable */
66
65
  /* eslint-enable */
@@ -7,13 +7,14 @@ export interface PolicyRequestBuilder extends BaseRequestBuilder<PolicyRequestBu
7
7
  /**
8
8
  * The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of UnifiedRoleManagementPolicy
10
+ * @returns {Promise<UnifiedRoleManagementPolicy>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
13
14
  /**
14
15
  * The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
20
  }
@@ -30,12 +31,12 @@ export interface PolicyRequestBuilderGetQueryParameters {
30
31
  */
31
32
  select?: string[];
32
33
  }
33
- /**
34
- * Metadata for all the requests in the request builder.
35
- */
36
- export declare const PolicyRequestBuilderRequestsMetadata: RequestsMetadata;
37
34
  /**
38
35
  * Uri template for the request builder.
39
36
  */
40
37
  export declare const PolicyRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicyAssignments/{unifiedRoleManagementPolicyAssignment%2Did}/policy{?%24expand,%24select}";
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ export declare const PolicyRequestBuilderRequestsMetadata: RequestsMetadata;
41
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings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