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

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 (286) 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/featureRolloutPolicies/count/index.d.ts +7 -6
  135. package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -1
  136. package/policies/featureRolloutPolicies/count/index.js +7 -7
  137. package/policies/featureRolloutPolicies/index.d.ts +11 -9
  138. package/policies/featureRolloutPolicies/index.d.ts.map +1 -1
  139. package/policies/featureRolloutPolicies/index.js +9 -11
  140. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +7 -6
  141. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  142. package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +7 -7
  143. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +11 -9
  144. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -1
  145. package/policies/featureRolloutPolicies/item/appliesTo/index.js +9 -12
  146. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +4 -4
  147. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  148. package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +5 -6
  149. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +6 -5
  150. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -1
  151. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +7 -7
  152. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +11 -8
  153. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -1
  154. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +11 -11
  155. package/policies/featureRolloutPolicies/item/index.d.ts +12 -9
  156. package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -1
  157. package/policies/featureRolloutPolicies/item/index.js +11 -12
  158. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +7 -6
  159. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -1
  160. package/policies/homeRealmDiscoveryPolicies/count/index.js +7 -7
  161. package/policies/homeRealmDiscoveryPolicies/index.d.ts +11 -9
  162. package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -1
  163. package/policies/homeRealmDiscoveryPolicies/index.js +9 -11
  164. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +7 -6
  165. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  166. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +7 -7
  167. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +8 -7
  168. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -1
  169. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +7 -9
  170. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +7 -6
  171. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  172. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +7 -7
  173. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +12 -9
  174. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -1
  175. package/policies/homeRealmDiscoveryPolicies/item/index.js +11 -12
  176. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +12 -9
  177. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -1
  178. package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +11 -11
  179. package/policies/index.d.ts +10 -8
  180. package/policies/index.d.ts.map +1 -1
  181. package/policies/index.js +9 -28
  182. package/policies/permissionGrantPolicies/count/index.d.ts +7 -6
  183. package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -1
  184. package/policies/permissionGrantPolicies/count/index.js +7 -7
  185. package/policies/permissionGrantPolicies/index.d.ts +11 -9
  186. package/policies/permissionGrantPolicies/index.d.ts.map +1 -1
  187. package/policies/permissionGrantPolicies/index.js +9 -11
  188. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +7 -6
  189. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -1
  190. package/policies/permissionGrantPolicies/item/excludes/count/index.js +7 -7
  191. package/policies/permissionGrantPolicies/item/excludes/index.d.ts +11 -9
  192. package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -1
  193. package/policies/permissionGrantPolicies/item/excludes/index.js +9 -11
  194. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +12 -9
  195. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -1
  196. package/policies/permissionGrantPolicies/item/excludes/item/index.js +11 -11
  197. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +7 -6
  198. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -1
  199. package/policies/permissionGrantPolicies/item/includes/count/index.js +7 -7
  200. package/policies/permissionGrantPolicies/item/includes/index.d.ts +11 -9
  201. package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -1
  202. package/policies/permissionGrantPolicies/item/includes/index.js +9 -11
  203. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +12 -9
  204. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -1
  205. package/policies/permissionGrantPolicies/item/includes/item/index.js +11 -11
  206. package/policies/permissionGrantPolicies/item/index.d.ts +12 -9
  207. package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -1
  208. package/policies/permissionGrantPolicies/item/index.js +11 -13
  209. package/policies/roleManagementPolicies/count/index.d.ts +7 -6
  210. package/policies/roleManagementPolicies/count/index.d.ts.map +1 -1
  211. package/policies/roleManagementPolicies/count/index.js +7 -7
  212. package/policies/roleManagementPolicies/index.d.ts +11 -9
  213. package/policies/roleManagementPolicies/index.d.ts.map +1 -1
  214. package/policies/roleManagementPolicies/index.js +9 -11
  215. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +7 -6
  216. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -1
  217. package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +7 -7
  218. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +11 -9
  219. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -1
  220. package/policies/roleManagementPolicies/item/effectiveRules/index.js +9 -11
  221. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +12 -9
  222. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -1
  223. package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +11 -11
  224. package/policies/roleManagementPolicies/item/index.d.ts +12 -9
  225. package/policies/roleManagementPolicies/item/index.d.ts.map +1 -1
  226. package/policies/roleManagementPolicies/item/index.js +11 -13
  227. package/policies/roleManagementPolicies/item/rules/count/index.d.ts +7 -6
  228. package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -1
  229. package/policies/roleManagementPolicies/item/rules/count/index.js +7 -7
  230. package/policies/roleManagementPolicies/item/rules/index.d.ts +11 -9
  231. package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -1
  232. package/policies/roleManagementPolicies/item/rules/index.js +9 -11
  233. package/policies/roleManagementPolicies/item/rules/item/index.d.ts +12 -9
  234. package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -1
  235. package/policies/roleManagementPolicies/item/rules/item/index.js +11 -11
  236. package/policies/roleManagementPolicyAssignments/count/index.d.ts +7 -6
  237. package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -1
  238. package/policies/roleManagementPolicyAssignments/count/index.js +7 -7
  239. package/policies/roleManagementPolicyAssignments/index.d.ts +11 -9
  240. package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -1
  241. package/policies/roleManagementPolicyAssignments/index.js +9 -11
  242. package/policies/roleManagementPolicyAssignments/item/index.d.ts +12 -9
  243. package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -1
  244. package/policies/roleManagementPolicyAssignments/item/index.js +11 -12
  245. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +7 -6
  246. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -1
  247. package/policies/roleManagementPolicyAssignments/item/policy/index.js +7 -7
  248. package/policies/tokenIssuancePolicies/count/index.d.ts +7 -6
  249. package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -1
  250. package/policies/tokenIssuancePolicies/count/index.js +7 -7
  251. package/policies/tokenIssuancePolicies/index.d.ts +11 -9
  252. package/policies/tokenIssuancePolicies/index.d.ts.map +1 -1
  253. package/policies/tokenIssuancePolicies/index.js +9 -11
  254. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +7 -6
  255. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  256. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +7 -7
  257. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +8 -7
  258. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -1
  259. package/policies/tokenIssuancePolicies/item/appliesTo/index.js +7 -9
  260. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +7 -6
  261. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  262. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +7 -7
  263. package/policies/tokenIssuancePolicies/item/index.d.ts +12 -9
  264. package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -1
  265. package/policies/tokenIssuancePolicies/item/index.js +11 -12
  266. package/policies/tokenLifetimePolicies/count/index.d.ts +7 -6
  267. package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -1
  268. package/policies/tokenLifetimePolicies/count/index.js +7 -7
  269. package/policies/tokenLifetimePolicies/index.d.ts +11 -9
  270. package/policies/tokenLifetimePolicies/index.d.ts.map +1 -1
  271. package/policies/tokenLifetimePolicies/index.js +9 -11
  272. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +7 -6
  273. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  274. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +7 -7
  275. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +8 -7
  276. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -1
  277. package/policies/tokenLifetimePolicies/item/appliesTo/index.js +7 -9
  278. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +7 -6
  279. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  280. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +7 -7
  281. package/policies/tokenLifetimePolicies/item/index.d.ts +12 -9
  282. package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -1
  283. package/policies/tokenLifetimePolicies/item/index.js +11 -12
  284. package/policiesServiceClient.d.ts.map +1 -1
  285. package/policiesServiceClient.js +1 -2
  286. package/tsconfig.tsbuildinfo +1 -1
@@ -7,12 +7,14 @@ export interface IdentitySecurityDefaultsEnforcementPolicyRequestBuilder extends
7
7
  /**
8
8
  * Delete navigation property identitySecurityDefaultsEnforcementPolicy 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 the properties of an identitySecurityDefaultsEnforcementPolicy object.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of IdentitySecurityDefaultsEnforcementPolicy
16
+ * @returns {Promise<IdentitySecurityDefaultsEnforcementPolicy>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/identitysecuritydefaultsenforcementpolicy-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters> | undefined): Promise<IdentitySecurityDefaultsEnforcementPolicy | undefined>;
@@ -20,27 +22,28 @@ export interface IdentitySecurityDefaultsEnforcementPolicyRequestBuilder extends
20
22
  * Update the properties of an identitySecurityDefaultsEnforcementPolicy object.
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 IdentitySecurityDefaultsEnforcementPolicy
25
+ * @returns {Promise<IdentitySecurityDefaultsEnforcementPolicy>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  * @see {@link https://learn.microsoft.com/graph/api/identitysecuritydefaultsenforcementpolicy-update?view=graph-rest-1.0|Find more info here}
25
28
  */
26
29
  patch(body: IdentitySecurityDefaultsEnforcementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentitySecurityDefaultsEnforcementPolicy | undefined>;
27
30
  /**
28
31
  * Delete navigation property identitySecurityDefaultsEnforcementPolicy 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 the properties of an identitySecurityDefaultsEnforcementPolicy 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<IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
42
  /**
40
43
  * Update the properties of an identitySecurityDefaultsEnforcementPolicy object.
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: IdentitySecurityDefaultsEnforcementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
49
  }
@@ -57,12 +60,12 @@ export interface IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQuery
57
60
  */
58
61
  select?: string[];
59
62
  }
60
- /**
61
- * Metadata for all the requests in the request builder.
62
- */
63
- export declare const IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata: RequestsMetadata;
64
63
  /**
65
64
  * Uri template for the request builder.
66
65
  */
67
66
  export declare const IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/identitySecurityDefaultsEnforcementPolicy{?%24expand,%24select}";
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata: 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,EAA6H,KAAK,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAE3N,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uDAAwD,SAAQ,kBAAkB,CAAC,uDAAuD,CAAC;IACxJ;;;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,yCAAyC,GAAG,SAAS,CAAC,CAAC;IAC1M;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,yCAAyC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO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AI,OAAO,CAAC,yCAAyC,GAAG,SAAS,CAAC,CAAC;IAC1M;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,yCAAyC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yCAAyC,GAAG,SAAS,CAAC,CAAC;IAC1L;;;;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,yEAAyE,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClL;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,yCAAyC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yEAAyE;IACtF;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kEAAkE,wFAAwF,CAAC;AAQxK;;GAEG;AACH,eAAO,MAAM,uEAAuE,EAAE,gBA+BrF,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate = exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata = void 0;
3
+ exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata = exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate = 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.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/identitySecurityDefaultsEnforcementPolicy{?%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 IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParametersM
18
22
  */
19
23
  exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate,
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.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate,
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.createIdentitySecurityDefaultsEnforcementPolicyFromDiscriminatorValue,
36
40
  queryParametersMapper: IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate,
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.createIdentitySecurityDefaultsEnforcementPolicyFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/identitySecurityDefaultsEnforcementPolicy{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -102,27 +102,29 @@ export interface PoliciesRequestBuilder extends BaseRequestBuilder<PoliciesReque
102
102
  /**
103
103
  * Get policies
104
104
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
105
- * @returns a Promise of PolicyRoot
105
+ * @returns {Promise<PolicyRoot>}
106
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
106
107
  */
107
108
  get(requestConfiguration?: RequestConfiguration<PoliciesRequestBuilderGetQueryParameters> | undefined): Promise<PolicyRoot | undefined>;
108
109
  /**
109
110
  * Update policies
110
111
  * @param body The request body
111
112
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
112
- * @returns a Promise of PolicyRoot
113
+ * @returns {Promise<PolicyRoot>}
114
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
113
115
  */
114
116
  patch(body: PolicyRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PolicyRoot | undefined>;
115
117
  /**
116
118
  * Get policies
117
119
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
118
- * @returns a RequestInformation
120
+ * @returns {RequestInformation}
119
121
  */
120
122
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
121
123
  /**
122
124
  * Update policies
123
125
  * @param body The request body
124
126
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
125
- * @returns a RequestInformation
127
+ * @returns {RequestInformation}
126
128
  */
127
129
  toPatchRequestInformation(body: PolicyRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
128
130
  }
@@ -139,6 +141,10 @@ export interface PoliciesRequestBuilderGetQueryParameters {
139
141
  */
140
142
  select?: string[];
141
143
  }
144
+ /**
145
+ * Uri template for the request builder.
146
+ */
147
+ export declare const PoliciesRequestBuilderUriTemplate = "{+baseurl}/policies{?%24expand,%24select}";
142
148
  /**
143
149
  * Metadata for all the navigation properties in the request builder.
144
150
  */
@@ -147,8 +153,4 @@ export declare const PoliciesRequestBuilderNavigationMetadata: Record<Exclude<ke
147
153
  * Metadata for all the requests in the request builder.
148
154
  */
149
155
  export declare const PoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
150
- /**
151
- * Uri template for the request builder.
152
- */
153
- export declare const PoliciesRequestBuilderUriTemplate = "{+baseurl}/policies{?%24expand,%24select}";
154
156
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+D,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE9H,OAAO,EAAmL,KAAK,0CAA0C,EAAE,MAAM,iCAAiC,CAAC;AACnR,OAAO,EAA+G,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACzM,OAAO,EAA8J,KAAK,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAChP,OAAO,EAA+G,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AACzM,OAAO,EAAgL,KAAK,yCAAyC,EAAE,MAAM,gCAAgC,CAAC;AAC9Q,OAAO,EAAyL,KAAK,4CAA4C,EAAE,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;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,8CAA8C,CAAC;AAQ7F;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAwE1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
package/policies/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PoliciesRequestBuilderUriTemplate = exports.PoliciesRequestBuilderRequestsMetadata = exports.PoliciesRequestBuilderNavigationMetadata = void 0;
3
+ exports.PoliciesRequestBuilderRequestsMetadata = exports.PoliciesRequestBuilderNavigationMetadata = exports.PoliciesRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -25,6 +25,10 @@ const roleManagementPolicies_1 = require("./roleManagementPolicies/");
25
25
  const roleManagementPolicyAssignments_1 = require("./roleManagementPolicyAssignments/");
26
26
  const tokenIssuancePolicies_1 = require("./tokenIssuancePolicies/");
27
27
  const tokenLifetimePolicies_1 = require("./tokenLifetimePolicies/");
28
+ /**
29
+ * Uri template for the request builder.
30
+ */
31
+ exports.PoliciesRequestBuilderUriTemplate = "{+baseurl}/policies{?%24expand,%24select}";
28
32
  /**
29
33
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
30
34
  */
@@ -37,92 +41,73 @@ const PoliciesRequestBuilderGetQueryParametersMapper = {
37
41
  */
38
42
  exports.PoliciesRequestBuilderNavigationMetadata = {
39
43
  activityBasedTimeoutPolicies: {
40
- uriTemplate: activityBasedTimeoutPolicies_1.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate,
41
44
  requestsMetadata: activityBasedTimeoutPolicies_1.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata,
42
45
  navigationMetadata: activityBasedTimeoutPolicies_1.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata,
43
46
  },
44
47
  adminConsentRequestPolicy: {
45
- uriTemplate: adminConsentRequestPolicy_1.AdminConsentRequestPolicyRequestBuilderUriTemplate,
46
48
  requestsMetadata: adminConsentRequestPolicy_1.AdminConsentRequestPolicyRequestBuilderRequestsMetadata,
47
49
  },
48
50
  appManagementPolicies: {
49
- uriTemplate: appManagementPolicies_1.AppManagementPoliciesRequestBuilderUriTemplate,
50
51
  requestsMetadata: appManagementPolicies_1.AppManagementPoliciesRequestBuilderRequestsMetadata,
51
52
  navigationMetadata: appManagementPolicies_1.AppManagementPoliciesRequestBuilderNavigationMetadata,
52
53
  },
53
54
  authenticationFlowsPolicy: {
54
- uriTemplate: authenticationFlowsPolicy_1.AuthenticationFlowsPolicyRequestBuilderUriTemplate,
55
55
  requestsMetadata: authenticationFlowsPolicy_1.AuthenticationFlowsPolicyRequestBuilderRequestsMetadata,
56
56
  },
57
57
  authenticationMethodsPolicy: {
58
- uriTemplate: authenticationMethodsPolicy_1.AuthenticationMethodsPolicyRequestBuilderUriTemplate,
59
58
  requestsMetadata: authenticationMethodsPolicy_1.AuthenticationMethodsPolicyRequestBuilderRequestsMetadata,
60
59
  navigationMetadata: authenticationMethodsPolicy_1.AuthenticationMethodsPolicyRequestBuilderNavigationMetadata,
61
60
  },
62
61
  authenticationStrengthPolicies: {
63
- uriTemplate: authenticationStrengthPolicies_1.AuthenticationStrengthPoliciesRequestBuilderUriTemplate,
64
62
  requestsMetadata: authenticationStrengthPolicies_1.AuthenticationStrengthPoliciesRequestBuilderRequestsMetadata,
65
63
  navigationMetadata: authenticationStrengthPolicies_1.AuthenticationStrengthPoliciesRequestBuilderNavigationMetadata,
66
64
  },
67
65
  authorizationPolicy: {
68
- uriTemplate: authorizationPolicy_1.AuthorizationPolicyRequestBuilderUriTemplate,
69
66
  requestsMetadata: authorizationPolicy_1.AuthorizationPolicyRequestBuilderRequestsMetadata,
70
67
  },
71
68
  claimsMappingPolicies: {
72
- uriTemplate: claimsMappingPolicies_1.ClaimsMappingPoliciesRequestBuilderUriTemplate,
73
69
  requestsMetadata: claimsMappingPolicies_1.ClaimsMappingPoliciesRequestBuilderRequestsMetadata,
74
70
  navigationMetadata: claimsMappingPolicies_1.ClaimsMappingPoliciesRequestBuilderNavigationMetadata,
75
71
  },
76
72
  conditionalAccessPolicies: {
77
- uriTemplate: conditionalAccessPolicies_1.ConditionalAccessPoliciesRequestBuilderUriTemplate,
78
73
  requestsMetadata: conditionalAccessPolicies_1.ConditionalAccessPoliciesRequestBuilderRequestsMetadata,
79
74
  navigationMetadata: conditionalAccessPolicies_1.ConditionalAccessPoliciesRequestBuilderNavigationMetadata,
80
75
  },
81
76
  crossTenantAccessPolicy: {
82
- uriTemplate: crossTenantAccessPolicy_1.CrossTenantAccessPolicyRequestBuilderUriTemplate,
83
77
  requestsMetadata: crossTenantAccessPolicy_1.CrossTenantAccessPolicyRequestBuilderRequestsMetadata,
84
78
  navigationMetadata: crossTenantAccessPolicy_1.CrossTenantAccessPolicyRequestBuilderNavigationMetadata,
85
79
  },
86
80
  defaultAppManagementPolicy: {
87
- uriTemplate: defaultAppManagementPolicy_1.DefaultAppManagementPolicyRequestBuilderUriTemplate,
88
81
  requestsMetadata: defaultAppManagementPolicy_1.DefaultAppManagementPolicyRequestBuilderRequestsMetadata,
89
82
  },
90
83
  featureRolloutPolicies: {
91
- uriTemplate: featureRolloutPolicies_1.FeatureRolloutPoliciesRequestBuilderUriTemplate,
92
84
  requestsMetadata: featureRolloutPolicies_1.FeatureRolloutPoliciesRequestBuilderRequestsMetadata,
93
85
  navigationMetadata: featureRolloutPolicies_1.FeatureRolloutPoliciesRequestBuilderNavigationMetadata,
94
86
  },
95
87
  homeRealmDiscoveryPolicies: {
96
- uriTemplate: homeRealmDiscoveryPolicies_1.HomeRealmDiscoveryPoliciesRequestBuilderUriTemplate,
97
88
  requestsMetadata: homeRealmDiscoveryPolicies_1.HomeRealmDiscoveryPoliciesRequestBuilderRequestsMetadata,
98
89
  navigationMetadata: homeRealmDiscoveryPolicies_1.HomeRealmDiscoveryPoliciesRequestBuilderNavigationMetadata,
99
90
  },
100
91
  identitySecurityDefaultsEnforcementPolicy: {
101
- uriTemplate: identitySecurityDefaultsEnforcementPolicy_1.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderUriTemplate,
102
92
  requestsMetadata: identitySecurityDefaultsEnforcementPolicy_1.IdentitySecurityDefaultsEnforcementPolicyRequestBuilderRequestsMetadata,
103
93
  },
104
94
  permissionGrantPolicies: {
105
- uriTemplate: permissionGrantPolicies_1.PermissionGrantPoliciesRequestBuilderUriTemplate,
106
95
  requestsMetadata: permissionGrantPolicies_1.PermissionGrantPoliciesRequestBuilderRequestsMetadata,
107
96
  navigationMetadata: permissionGrantPolicies_1.PermissionGrantPoliciesRequestBuilderNavigationMetadata,
108
97
  },
109
98
  roleManagementPolicies: {
110
- uriTemplate: roleManagementPolicies_1.RoleManagementPoliciesRequestBuilderUriTemplate,
111
99
  requestsMetadata: roleManagementPolicies_1.RoleManagementPoliciesRequestBuilderRequestsMetadata,
112
100
  navigationMetadata: roleManagementPolicies_1.RoleManagementPoliciesRequestBuilderNavigationMetadata,
113
101
  },
114
102
  roleManagementPolicyAssignments: {
115
- uriTemplate: roleManagementPolicyAssignments_1.RoleManagementPolicyAssignmentsRequestBuilderUriTemplate,
116
103
  requestsMetadata: roleManagementPolicyAssignments_1.RoleManagementPolicyAssignmentsRequestBuilderRequestsMetadata,
117
104
  navigationMetadata: roleManagementPolicyAssignments_1.RoleManagementPolicyAssignmentsRequestBuilderNavigationMetadata,
118
105
  },
119
106
  tokenIssuancePolicies: {
120
- uriTemplate: tokenIssuancePolicies_1.TokenIssuancePoliciesRequestBuilderUriTemplate,
121
107
  requestsMetadata: tokenIssuancePolicies_1.TokenIssuancePoliciesRequestBuilderRequestsMetadata,
122
108
  navigationMetadata: tokenIssuancePolicies_1.TokenIssuancePoliciesRequestBuilderNavigationMetadata,
123
109
  },
124
110
  tokenLifetimePolicies: {
125
- uriTemplate: tokenLifetimePolicies_1.TokenLifetimePoliciesRequestBuilderUriTemplate,
126
111
  requestsMetadata: tokenLifetimePolicies_1.TokenLifetimePoliciesRequestBuilderRequestsMetadata,
127
112
  navigationMetadata: tokenLifetimePolicies_1.TokenLifetimePoliciesRequestBuilderNavigationMetadata,
128
113
  },
@@ -132,20 +117,20 @@ exports.PoliciesRequestBuilderNavigationMetadata = {
132
117
  */
133
118
  exports.PoliciesRequestBuilderRequestsMetadata = {
134
119
  get: {
120
+ uriTemplate: exports.PoliciesRequestBuilderUriTemplate,
135
121
  responseBodyContentType: "application/json",
136
122
  errorMappings: {
137
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
138
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
123
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
139
124
  },
140
125
  adapterMethodName: "sendAsync",
141
126
  responseBodyFactory: models_1.createPolicyRootFromDiscriminatorValue,
142
127
  queryParametersMapper: PoliciesRequestBuilderGetQueryParametersMapper,
143
128
  },
144
129
  patch: {
130
+ uriTemplate: exports.PoliciesRequestBuilderUriTemplate,
145
131
  responseBodyContentType: "application/json",
146
132
  errorMappings: {
147
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
148
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
133
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
149
134
  },
150
135
  adapterMethodName: "sendAsync",
151
136
  responseBodyFactory: models_1.createPolicyRootFromDiscriminatorValue,
@@ -154,9 +139,5 @@ exports.PoliciesRequestBuilderRequestsMetadata = {
154
139
  requestInformationContentSetMethod: "setContentFromParsable",
155
140
  },
156
141
  };
157
- /**
158
- * Uri template for the request builder.
159
- */
160
- exports.PoliciesRequestBuilderUriTemplate = "{+baseurl}/policies{?%24expand,%24select}";
161
142
  /* tslint:enable */
162
143
  /* 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/permissionGrantPolicies/$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,kB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MAAM,8BAA8B,6EAA6E,CAAC;AAQzH;;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/permissionGrantPolicies/$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/permissionGrantPolicies/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface PermissionGrantPoliciesRequestBuilder extends BaseRequestBuilde
13
13
  /**
14
14
  * Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity.
15
15
  * @param permissionGrantPolicyId The unique identifier of permissionGrantPolicy
16
- * @returns a PermissionGrantPolicyItemRequestBuilder
16
+ * @returns {PermissionGrantPolicyItemRequestBuilder}
17
17
  */
18
18
  byPermissionGrantPolicyId(permissionGrantPolicyId: string): PermissionGrantPolicyItemRequestBuilder;
19
19
  /**
20
20
  * Retrieve the list of permissionGrantPolicy objects.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of PermissionGrantPolicyCollectionResponse
22
+ * @returns {Promise<PermissionGrantPolicyCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-list?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<PermissionGrantPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<PermissionGrantPolicyCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface PermissionGrantPoliciesRequestBuilder extends BaseRequestBuilde
27
28
  * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules.
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 PermissionGrantPolicy
31
+ * @returns {Promise<PermissionGrantPolicy>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-post-permissiongrantpolicies?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PermissionGrantPolicy | undefined>;
34
36
  /**
35
37
  * Retrieve the list of permissionGrantPolicy objects.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
45
47
  */
46
48
  toPostRequestInformation(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface PermissionGrantPoliciesRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const PermissionGrantPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
91
  /**
86
92
  * Metadata for all the navigation properties in the request builder.
87
93
  */
@@ -90,8 +96,4 @@ export declare const PermissionGrantPoliciesRequestBuilderNavigationMetadata: Re
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const PermissionGrantPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const PermissionGrantPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
97
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0J,KAAK,qBAAqB,EAAE,KAAK,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAElR,OAAO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__esModule", { value: true });
3
- exports.PermissionGrantPoliciesRequestBuilderUriTemplate = exports.PermissionGrantPoliciesRequestBuilderRequestsMetadata = exports.PermissionGrantPoliciesRequestBuilderNavigationMetadata = void 0;
3
+ exports.PermissionGrantPoliciesRequestBuilderRequestsMetadata = exports.PermissionGrantPoliciesRequestBuilderNavigationMetadata = exports.PermissionGrantPoliciesRequestBuilderUriTemplate = 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.PermissionGrantPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies{?%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 PermissionGrantPoliciesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.PermissionGrantPoliciesRequestBuilderNavigationMetadata = {
28
32
  byPermissionGrantPolicyId: {
29
- uriTemplate: item_1.PermissionGrantPolicyItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.PermissionGrantPolicyItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.PermissionGrantPolicyItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["permissionGrantPolicy%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.PermissionGrantPoliciesRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.PermissionGrantPoliciesRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.PermissionGrantPoliciesRequestBuilderUriTemplate,
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.createPermissionGrantPolicyCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: PermissionGrantPoliciesRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.PermissionGrantPoliciesRequestBuilderUriTemplate,
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.createPermissionGrantPolicyFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.PermissionGrantPoliciesRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.PermissionGrantPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* 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/permissionGrantPolicies/{permissionGrantPolicy%2Did}/excludes/$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;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