@microsoft/msgraph-sdk-policies 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/policies/activityBasedTimeoutPolicies/count/index.d.ts +40 -0
  8. package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -0
  9. package/policies/activityBasedTimeoutPolicies/count/index.js +35 -0
  10. package/policies/activityBasedTimeoutPolicies/index.d.ts +97 -0
  11. package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -0
  12. package/policies/activityBasedTimeoutPolicies/index.js +71 -0
  13. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +40 -0
  14. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
  15. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +35 -0
  16. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +81 -0
  17. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -0
  18. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +58 -0
  19. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +41 -0
  20. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
  21. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +36 -0
  22. package/policies/activityBasedTimeoutPolicies/item/index.d.ts +78 -0
  23. package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -0
  24. package/policies/activityBasedTimeoutPolicies/item/index.js +67 -0
  25. package/policies/adminConsentRequestPolicy/index.d.ts +68 -0
  26. package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -0
  27. package/policies/adminConsentRequestPolicy/index.js +56 -0
  28. package/policies/appManagementPolicies/count/index.d.ts +40 -0
  29. package/policies/appManagementPolicies/count/index.d.ts.map +1 -0
  30. package/policies/appManagementPolicies/count/index.js +35 -0
  31. package/policies/appManagementPolicies/index.d.ts +97 -0
  32. package/policies/appManagementPolicies/index.d.ts.map +1 -0
  33. package/policies/appManagementPolicies/index.js +71 -0
  34. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +40 -0
  35. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -0
  36. package/policies/appManagementPolicies/item/appliesTo/count/index.js +35 -0
  37. package/policies/appManagementPolicies/item/appliesTo/index.d.ts +82 -0
  38. package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -0
  39. package/policies/appManagementPolicies/item/appliesTo/index.js +58 -0
  40. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +41 -0
  41. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -0
  42. package/policies/appManagementPolicies/item/appliesTo/item/index.js +36 -0
  43. package/policies/appManagementPolicies/item/index.d.ts +78 -0
  44. package/policies/appManagementPolicies/item/index.d.ts.map +1 -0
  45. package/policies/appManagementPolicies/item/index.js +67 -0
  46. package/policies/authenticationFlowsPolicy/index.d.ts +68 -0
  47. package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -0
  48. package/policies/authenticationFlowsPolicy/index.js +56 -0
  49. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +40 -0
  50. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -0
  51. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +35 -0
  52. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +95 -0
  53. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -0
  54. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +70 -0
  55. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +66 -0
  56. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -0
  57. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +56 -0
  58. package/policies/authenticationMethodsPolicy/index.d.ts +77 -0
  59. package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -0
  60. package/policies/authenticationMethodsPolicy/index.js +67 -0
  61. package/policies/authenticationStrengthPolicies/count/index.d.ts +40 -0
  62. package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -0
  63. package/policies/authenticationStrengthPolicies/count/index.js +35 -0
  64. package/policies/authenticationStrengthPolicies/index.d.ts +97 -0
  65. package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -0
  66. package/policies/authenticationStrengthPolicies/index.js +71 -0
  67. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +40 -0
  68. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -0
  69. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +35 -0
  70. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +97 -0
  71. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -0
  72. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +70 -0
  73. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +69 -0
  74. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -0
  75. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +56 -0
  76. package/policies/authenticationStrengthPolicies/item/index.d.ts +88 -0
  77. package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -0
  78. package/policies/authenticationStrengthPolicies/item/index.js +77 -0
  79. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +61 -0
  80. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -0
  81. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +61 -0
  82. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +28 -0
  83. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -0
  84. package/policies/authenticationStrengthPolicies/item/usage/index.js +28 -0
  85. package/policies/authorizationPolicy/index.d.ts +68 -0
  86. package/policies/authorizationPolicy/index.d.ts.map +1 -0
  87. package/policies/authorizationPolicy/index.js +56 -0
  88. package/policies/claimsMappingPolicies/count/index.d.ts +40 -0
  89. package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -0
  90. package/policies/claimsMappingPolicies/count/index.js +35 -0
  91. package/policies/claimsMappingPolicies/index.d.ts +97 -0
  92. package/policies/claimsMappingPolicies/index.d.ts.map +1 -0
  93. package/policies/claimsMappingPolicies/index.js +71 -0
  94. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +40 -0
  95. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -0
  96. package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +35 -0
  97. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +81 -0
  98. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -0
  99. package/policies/claimsMappingPolicies/item/appliesTo/index.js +58 -0
  100. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +41 -0
  101. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -0
  102. package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +36 -0
  103. package/policies/claimsMappingPolicies/item/index.d.ts +78 -0
  104. package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -0
  105. package/policies/claimsMappingPolicies/item/index.js +67 -0
  106. package/policies/conditionalAccessPolicies/count/index.d.ts +40 -0
  107. package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -0
  108. package/policies/conditionalAccessPolicies/count/index.js +35 -0
  109. package/policies/conditionalAccessPolicies/index.d.ts +95 -0
  110. package/policies/conditionalAccessPolicies/index.d.ts.map +1 -0
  111. package/policies/conditionalAccessPolicies/index.js +70 -0
  112. package/policies/conditionalAccessPolicies/item/index.d.ts +66 -0
  113. package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -0
  114. package/policies/conditionalAccessPolicies/item/index.js +56 -0
  115. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +77 -0
  116. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -0
  117. package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +66 -0
  118. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +27 -0
  119. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -0
  120. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +26 -0
  121. package/policies/crossTenantAccessPolicy/index.d.ts +82 -0
  122. package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -0
  123. package/policies/crossTenantAccessPolicy/index.js +73 -0
  124. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +40 -0
  125. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -0
  126. package/policies/crossTenantAccessPolicy/partners/count/index.js +35 -0
  127. package/policies/crossTenantAccessPolicy/partners/index.d.ts +97 -0
  128. package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -0
  129. package/policies/crossTenantAccessPolicy/partners/index.js +71 -0
  130. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +68 -0
  131. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -0
  132. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +56 -0
  133. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +78 -0
  134. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -0
  135. package/policies/crossTenantAccessPolicy/partners/item/index.js +66 -0
  136. package/policies/defaultAppManagementPolicy/index.d.ts +68 -0
  137. package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -0
  138. package/policies/defaultAppManagementPolicy/index.js +56 -0
  139. package/policies/featureRolloutPolicies/count/index.d.ts +40 -0
  140. package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -0
  141. package/policies/featureRolloutPolicies/count/index.js +35 -0
  142. package/policies/featureRolloutPolicies/index.d.ts +97 -0
  143. package/policies/featureRolloutPolicies/index.d.ts.map +1 -0
  144. package/policies/featureRolloutPolicies/index.js +71 -0
  145. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +40 -0
  146. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
  147. package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +35 -0
  148. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +101 -0
  149. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -0
  150. package/policies/featureRolloutPolicies/item/appliesTo/index.js +75 -0
  151. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +20 -0
  152. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
  153. package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +22 -0
  154. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +36 -0
  155. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -0
  156. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +33 -0
  157. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +71 -0
  158. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -0
  159. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +51 -0
  160. package/policies/featureRolloutPolicies/item/index.d.ts +78 -0
  161. package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -0
  162. package/policies/featureRolloutPolicies/item/index.js +67 -0
  163. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +40 -0
  164. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -0
  165. package/policies/homeRealmDiscoveryPolicies/count/index.js +35 -0
  166. package/policies/homeRealmDiscoveryPolicies/index.d.ts +97 -0
  167. package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -0
  168. package/policies/homeRealmDiscoveryPolicies/index.js +71 -0
  169. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +40 -0
  170. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -0
  171. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +35 -0
  172. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +81 -0
  173. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -0
  174. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +58 -0
  175. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +41 -0
  176. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -0
  177. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +36 -0
  178. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +78 -0
  179. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -0
  180. package/policies/homeRealmDiscoveryPolicies/item/index.js +67 -0
  181. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +68 -0
  182. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -0
  183. package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +56 -0
  184. package/policies/index.d.ts +154 -0
  185. package/policies/index.d.ts.map +1 -0
  186. package/policies/index.js +162 -0
  187. package/policies/permissionGrantPolicies/count/index.d.ts +40 -0
  188. package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -0
  189. package/policies/permissionGrantPolicies/count/index.js +35 -0
  190. package/policies/permissionGrantPolicies/index.d.ts +97 -0
  191. package/policies/permissionGrantPolicies/index.d.ts.map +1 -0
  192. package/policies/permissionGrantPolicies/index.js +71 -0
  193. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +40 -0
  194. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -0
  195. package/policies/permissionGrantPolicies/item/excludes/count/index.js +35 -0
  196. package/policies/permissionGrantPolicies/item/excludes/index.d.ts +97 -0
  197. package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -0
  198. package/policies/permissionGrantPolicies/item/excludes/index.js +70 -0
  199. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +67 -0
  200. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -0
  201. package/policies/permissionGrantPolicies/item/excludes/item/index.js +56 -0
  202. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +40 -0
  203. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -0
  204. package/policies/permissionGrantPolicies/item/includes/count/index.js +35 -0
  205. package/policies/permissionGrantPolicies/item/includes/index.d.ts +97 -0
  206. package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -0
  207. package/policies/permissionGrantPolicies/item/includes/index.js +70 -0
  208. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +67 -0
  209. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -0
  210. package/policies/permissionGrantPolicies/item/includes/item/index.js +56 -0
  211. package/policies/permissionGrantPolicies/item/index.d.ts +83 -0
  212. package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -0
  213. package/policies/permissionGrantPolicies/item/index.js +73 -0
  214. package/policies/roleManagementPolicies/count/index.d.ts +40 -0
  215. package/policies/roleManagementPolicies/count/index.d.ts.map +1 -0
  216. package/policies/roleManagementPolicies/count/index.js +35 -0
  217. package/policies/roleManagementPolicies/index.d.ts +96 -0
  218. package/policies/roleManagementPolicies/index.d.ts.map +1 -0
  219. package/policies/roleManagementPolicies/index.js +71 -0
  220. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +40 -0
  221. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -0
  222. package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +35 -0
  223. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +95 -0
  224. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -0
  225. package/policies/roleManagementPolicies/item/effectiveRules/index.js +70 -0
  226. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +66 -0
  227. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -0
  228. package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +56 -0
  229. package/policies/roleManagementPolicies/item/index.d.ts +81 -0
  230. package/policies/roleManagementPolicies/item/index.d.ts.map +1 -0
  231. package/policies/roleManagementPolicies/item/index.js +73 -0
  232. package/policies/roleManagementPolicies/item/rules/count/index.d.ts +40 -0
  233. package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -0
  234. package/policies/roleManagementPolicies/item/rules/count/index.js +35 -0
  235. package/policies/roleManagementPolicies/item/rules/index.d.ts +96 -0
  236. package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -0
  237. package/policies/roleManagementPolicies/item/rules/index.js +70 -0
  238. package/policies/roleManagementPolicies/item/rules/item/index.d.ts +68 -0
  239. package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -0
  240. package/policies/roleManagementPolicies/item/rules/item/index.js +56 -0
  241. package/policies/roleManagementPolicyAssignments/count/index.d.ts +40 -0
  242. package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -0
  243. package/policies/roleManagementPolicyAssignments/count/index.js +35 -0
  244. package/policies/roleManagementPolicyAssignments/index.d.ts +96 -0
  245. package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -0
  246. package/policies/roleManagementPolicyAssignments/index.js +71 -0
  247. package/policies/roleManagementPolicyAssignments/item/index.d.ts +76 -0
  248. package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -0
  249. package/policies/roleManagementPolicyAssignments/item/index.js +66 -0
  250. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +41 -0
  251. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -0
  252. package/policies/roleManagementPolicyAssignments/item/policy/index.js +36 -0
  253. package/policies/tokenIssuancePolicies/count/index.d.ts +40 -0
  254. package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -0
  255. package/policies/tokenIssuancePolicies/count/index.js +35 -0
  256. package/policies/tokenIssuancePolicies/index.d.ts +97 -0
  257. package/policies/tokenIssuancePolicies/index.d.ts.map +1 -0
  258. package/policies/tokenIssuancePolicies/index.js +71 -0
  259. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +40 -0
  260. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -0
  261. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +35 -0
  262. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +81 -0
  263. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -0
  264. package/policies/tokenIssuancePolicies/item/appliesTo/index.js +58 -0
  265. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +41 -0
  266. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -0
  267. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +36 -0
  268. package/policies/tokenIssuancePolicies/item/index.d.ts +77 -0
  269. package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -0
  270. package/policies/tokenIssuancePolicies/item/index.js +67 -0
  271. package/policies/tokenLifetimePolicies/count/index.d.ts +40 -0
  272. package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -0
  273. package/policies/tokenLifetimePolicies/count/index.js +35 -0
  274. package/policies/tokenLifetimePolicies/index.d.ts +97 -0
  275. package/policies/tokenLifetimePolicies/index.d.ts.map +1 -0
  276. package/policies/tokenLifetimePolicies/index.js +71 -0
  277. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +40 -0
  278. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -0
  279. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +35 -0
  280. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +81 -0
  281. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -0
  282. package/policies/tokenLifetimePolicies/item/appliesTo/index.js +58 -0
  283. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +41 -0
  284. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -0
  285. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +36 -0
  286. package/policies/tokenLifetimePolicies/item/index.d.ts +78 -0
  287. package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -0
  288. package/policies/tokenLifetimePolicies/item/index.js +67 -0
  289. package/policiesServiceClient.d.ts +25 -0
  290. package/policiesServiceClient.d.ts.map +1 -0
  291. package/policiesServiceClient.js +49 -0
  292. package/tsconfig.json +15 -0
  293. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,61 @@
1
+ import { AuthenticationMethodModes, type UpdateAllowedCombinationsResult } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a updateAllowedCombinationsPostRequestBody
7
+ */
8
+ export declare function createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUpdateAllowedCombinationsPostRequestBody;
9
+ /**
10
+ * The deserialization information for the current model
11
+ * @returns a Record<string, (node: ParseNode) => void>
12
+ */
13
+ export declare function deserializeIntoUpdateAllowedCombinationsPostRequestBody(updateAllowedCombinationsPostRequestBody?: UpdateAllowedCombinationsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
14
+ /**
15
+ * Serializes information the current object
16
+ * @param writer Serialization writer to use to serialize this model
17
+ */
18
+ export declare function serializeUpdateAllowedCombinationsPostRequestBody(writer: SerializationWriter, updateAllowedCombinationsPostRequestBody?: UpdateAllowedCombinationsPostRequestBody | undefined): void;
19
+ export interface UpdateAllowedCombinationsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
20
+ /**
21
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
22
+ */
23
+ additionalData?: Record<string, unknown>;
24
+ /**
25
+ * The allowedCombinations property
26
+ */
27
+ allowedCombinations?: AuthenticationMethodModes[];
28
+ /**
29
+ * Stores model information.
30
+ */
31
+ backingStoreEnabled?: boolean;
32
+ }
33
+ /**
34
+ * Provides operations to call the updateAllowedCombinations method.
35
+ */
36
+ export interface UpdateAllowedCombinationsRequestBuilder extends BaseRequestBuilder<UpdateAllowedCombinationsRequestBuilder> {
37
+ /**
38
+ * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method.
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a Promise of UpdateAllowedCombinationsResult
42
+ * @see {@link https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-updateallowedcombinations?view=graph-rest-1.0|Find more info here}
43
+ */
44
+ post(body: UpdateAllowedCombinationsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UpdateAllowedCombinationsResult | undefined>;
45
+ /**
46
+ * Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method.
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns a RequestInformation
50
+ */
51
+ toPostRequestInformation(body: UpdateAllowedCombinationsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
+ }
53
+ /**
54
+ * Metadata for all the requests in the request builder.
55
+ */
56
+ export declare const UpdateAllowedCombinationsRequestBuilderRequestsMetadata: RequestsMetadata;
57
+ /**
58
+ * Uri template for the request builder.
59
+ */
60
+ export declare const UpdateAllowedCombinationsRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}/updateAllowedCombinations";
61
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAA0I,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAEzP,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,oEAAoE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,kEAEpH;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnQ;AACD;;;GAGG;AACH,wBAAgB,iDAAiD,CAAC,MAAM,EAAE,mBAAmB,EAAE,wCAAwC,GAAE,wCAAwC,GAAG,SAA0D,GAAI,IAAI,CAIrP;AACD,MAAM,WAAW,wCAAyC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACzG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,yBAAyB,EAAE,CAAC;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC9K;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wCAAwC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAarE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,qHAAqH,CAAC"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAllowedCombinationsRequestBuilderUriTemplate = exports.UpdateAllowedCombinationsRequestBuilderRequestsMetadata = exports.serializeUpdateAllowedCombinationsPostRequestBody = exports.deserializeIntoUpdateAllowedCombinationsPostRequestBody = exports.createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a updateAllowedCombinationsPostRequestBody
13
+ */
14
+ function createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoUpdateAllowedCombinationsPostRequestBody;
16
+ }
17
+ exports.createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorValue = createUpdateAllowedCombinationsPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * The deserialization information for the current model
20
+ * @returns a Record<string, (node: ParseNode) => void>
21
+ */
22
+ function deserializeIntoUpdateAllowedCombinationsPostRequestBody(updateAllowedCombinationsPostRequestBody = {}) {
23
+ return {
24
+ "allowedCombinations": n => { updateAllowedCombinationsPostRequestBody.allowedCombinations = n.getCollectionOfEnumValues(models_1.AuthenticationMethodModesObject); },
25
+ "backingStoreEnabled": n => { updateAllowedCombinationsPostRequestBody.backingStoreEnabled = true; },
26
+ };
27
+ }
28
+ exports.deserializeIntoUpdateAllowedCombinationsPostRequestBody = deserializeIntoUpdateAllowedCombinationsPostRequestBody;
29
+ /**
30
+ * Serializes information the current object
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ function serializeUpdateAllowedCombinationsPostRequestBody(writer, updateAllowedCombinationsPostRequestBody = {}) {
34
+ if (updateAllowedCombinationsPostRequestBody.allowedCombinations)
35
+ writer.writeEnumValue("allowedCombinations", ...updateAllowedCombinationsPostRequestBody.allowedCombinations);
36
+ writer.writeAdditionalData(updateAllowedCombinationsPostRequestBody.additionalData);
37
+ }
38
+ exports.serializeUpdateAllowedCombinationsPostRequestBody = serializeUpdateAllowedCombinationsPostRequestBody;
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.UpdateAllowedCombinationsRequestBuilderRequestsMetadata = {
43
+ post: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createUpdateAllowedCombinationsResultFromDiscriminatorValue,
51
+ requestBodyContentType: "application/json",
52
+ requestBodySerializer: serializeUpdateAllowedCombinationsPostRequestBody,
53
+ requestInformationContentSetMethod: "setContentFromParsable",
54
+ },
55
+ };
56
+ /**
57
+ * Uri template for the request builder.
58
+ */
59
+ exports.UpdateAllowedCombinationsRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}/updateAllowedCombinations";
60
+ /* tslint:enable */
61
+ /* eslint-enable */
@@ -0,0 +1,28 @@
1
+ import { type AuthenticationStrengthUsage } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to call the usage method.
5
+ */
6
+ export interface UsageRequestBuilder extends BaseRequestBuilder<UsageRequestBuilder> {
7
+ /**
8
+ * Invoke function usage
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of AuthenticationStrengthUsage
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthenticationStrengthUsage | undefined>;
13
+ /**
14
+ * Invoke function usage
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Metadata for all the requests in the request builder.
22
+ */
23
+ export declare const UsageRequestBuilderRequestsMetadata: RequestsMetadata;
24
+ /**
25
+ * Uri template for the request builder.
26
+ */
27
+ export declare const UsageRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}/usage()";
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2D,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE3I,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,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IACzH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAUjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,mGAAmG,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UsageRequestBuilderUriTemplate = exports.UsageRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Metadata for all the requests in the request builder.
11
+ */
12
+ exports.UsageRequestBuilderRequestsMetadata = {
13
+ get: {
14
+ responseBodyContentType: "application/json",
15
+ errorMappings: {
16
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
18
+ },
19
+ adapterMethodName: "sendAsync",
20
+ responseBodyFactory: models_1.createAuthenticationStrengthUsageFromDiscriminatorValue,
21
+ },
22
+ };
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ exports.UsageRequestBuilderUriTemplate = "{+baseurl}/policies/authenticationStrengthPolicies/{authenticationStrengthPolicy%2Did}/usage()";
27
+ /* tslint:enable */
28
+ /* eslint-enable */
@@ -0,0 +1,68 @@
1
+ import { type AuthorizationPolicy } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Provides operations to manage the authorizationPolicy property of the microsoft.graph.policyRoot entity.
5
+ */
6
+ export interface AuthorizationPolicyRequestBuilder extends BaseRequestBuilder<AuthorizationPolicyRequestBuilder> {
7
+ /**
8
+ * Delete navigation property authorizationPolicy for policies
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ */
11
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Retrieve the properties of an authorizationPolicy object.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of AuthorizationPolicy
16
+ * @see {@link https://learn.microsoft.com/graph/api/authorizationpolicy-get?view=graph-rest-1.0|Find more info here}
17
+ */
18
+ get(requestConfiguration?: RequestConfiguration<AuthorizationPolicyRequestBuilderGetQueryParameters> | undefined): Promise<AuthorizationPolicy | undefined>;
19
+ /**
20
+ * Update the properties of an authorizationPolicy object.
21
+ * @param body The request body
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns a Promise of AuthorizationPolicy
24
+ * @see {@link https://learn.microsoft.com/graph/api/authorizationpolicy-update?view=graph-rest-1.0|Find more info here}
25
+ */
26
+ patch(body: AuthorizationPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthorizationPolicy | undefined>;
27
+ /**
28
+ * Delete navigation property authorizationPolicy for policies
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a RequestInformation
31
+ */
32
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
+ /**
34
+ * Retrieve the properties of an authorizationPolicy object.
35
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
+ * @returns a RequestInformation
37
+ */
38
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthorizationPolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
+ /**
40
+ * Update the properties of an authorizationPolicy object.
41
+ * @param body The request body
42
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
+ * @returns a RequestInformation
44
+ */
45
+ toPatchRequestInformation(body: AuthorizationPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
+ }
47
+ /**
48
+ * Retrieve the properties of an authorizationPolicy object.
49
+ */
50
+ export interface AuthorizationPolicyRequestBuilderGetQueryParameters {
51
+ /**
52
+ * Expand related entities
53
+ */
54
+ expand?: string[];
55
+ /**
56
+ * Select properties to be returned
57
+ */
58
+ select?: string[];
59
+ }
60
+ /**
61
+ * Metadata for all the requests in the request builder.
62
+ */
63
+ export declare const AuthorizationPolicyRequestBuilderRequestsMetadata: RequestsMetadata;
64
+ /**
65
+ * Uri template for the request builder.
66
+ */
67
+ export declare const AuthorizationPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/authorizationPolicy{?%24select,%24expand}";
68
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAEzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;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,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC9I;;;;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,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC5J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBA+B/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,kEAAkE,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizationPolicyRequestBuilderUriTemplate = exports.AuthorizationPolicyRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const AuthorizationPolicyRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.AuthorizationPolicyRequestBuilderRequestsMetadata = {
20
+ delete: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendNoResponseContentAsync",
27
+ },
28
+ get: {
29
+ responseBodyContentType: "application/json",
30
+ errorMappings: {
31
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
+ },
34
+ adapterMethodName: "sendAsync",
35
+ responseBodyFactory: models_1.createAuthorizationPolicyFromDiscriminatorValue,
36
+ queryParametersMapper: AuthorizationPolicyRequestBuilderGetQueryParametersMapper,
37
+ },
38
+ patch: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createAuthorizationPolicyFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeAuthorizationPolicy,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.AuthorizationPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/authorizationPolicy{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/claimsMappingPolicies/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,2EAA2E,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/claimsMappingPolicies/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type ClaimsMappingPolicy, type ClaimsMappingPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type ClaimsMappingPolicyItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity.
7
+ */
8
+ export interface ClaimsMappingPoliciesRequestBuilder extends BaseRequestBuilder<ClaimsMappingPoliciesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.policyRoot entity.
15
+ * @param claimsMappingPolicyId The unique identifier of claimsMappingPolicy
16
+ * @returns a ClaimsMappingPolicyItemRequestBuilder
17
+ */
18
+ byClaimsMappingPolicyId(claimsMappingPolicyId: string): ClaimsMappingPolicyItemRequestBuilder;
19
+ /**
20
+ * Get a list of claimsMappingPolicy objects.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of ClaimsMappingPolicyCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/claimsmappingpolicy-list?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ClaimsMappingPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<ClaimsMappingPolicyCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new claimsMappingPolicy object.
28
+ * @param body The request body
29
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
+ * @returns a Promise of ClaimsMappingPolicy
31
+ * @see {@link https://learn.microsoft.com/graph/api/claimsmappingpolicy-post-claimsmappingpolicies?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: ClaimsMappingPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ClaimsMappingPolicy | undefined>;
34
+ /**
35
+ * Get a list of claimsMappingPolicy objects.
36
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
+ * @returns a RequestInformation
38
+ */
39
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ClaimsMappingPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new claimsMappingPolicy object.
42
+ * @param body The request body
43
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
+ * @returns a RequestInformation
45
+ */
46
+ toPostRequestInformation(body: ClaimsMappingPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of claimsMappingPolicy objects.
50
+ */
51
+ export interface ClaimsMappingPoliciesRequestBuilderGetQueryParameters {
52
+ /**
53
+ * Include count of items
54
+ */
55
+ count?: boolean;
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Filter items by property values
62
+ */
63
+ filter?: string;
64
+ /**
65
+ * Order items by property values
66
+ */
67
+ orderby?: string[];
68
+ /**
69
+ * Search items by search phrases
70
+ */
71
+ search?: string;
72
+ /**
73
+ * Select properties to be returned
74
+ */
75
+ select?: string[];
76
+ /**
77
+ * Skip the first n items
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * Show only the first n items
82
+ */
83
+ top?: number;
84
+ }
85
+ /**
86
+ * Metadata for all the navigation properties in the request builder.
87
+ */
88
+ export declare const ClaimsMappingPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof ClaimsMappingPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const ClaimsMappingPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const ClaimsMappingPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/claimsMappingPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
97
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAoK,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AACvO,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,2HAA2H,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClaimsMappingPoliciesRequestBuilderUriTemplate = exports.ClaimsMappingPoliciesRequestBuilderRequestsMetadata = exports.ClaimsMappingPoliciesRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const ClaimsMappingPoliciesRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.ClaimsMappingPoliciesRequestBuilderNavigationMetadata = {
28
+ byClaimsMappingPolicyId: {
29
+ uriTemplate: item_1.ClaimsMappingPolicyItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.ClaimsMappingPolicyItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.ClaimsMappingPolicyItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["claimsMappingPolicy%2Did"],
33
+ },
34
+ count: {
35
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
+ },
38
+ };
39
+ /**
40
+ * Metadata for all the requests in the request builder.
41
+ */
42
+ exports.ClaimsMappingPoliciesRequestBuilderRequestsMetadata = {
43
+ get: {
44
+ responseBodyContentType: "application/json",
45
+ errorMappings: {
46
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ },
49
+ adapterMethodName: "sendAsync",
50
+ responseBodyFactory: models_1.createClaimsMappingPolicyCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: ClaimsMappingPoliciesRequestBuilderGetQueryParametersMapper,
52
+ },
53
+ post: {
54
+ responseBodyContentType: "application/json",
55
+ errorMappings: {
56
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ },
59
+ adapterMethodName: "sendAsync",
60
+ responseBodyFactory: models_1.createClaimsMappingPolicyFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeClaimsMappingPolicy,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.ClaimsMappingPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/claimsMappingPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
70
+ /* tslint:enable */
71
+ /* eslint-enable */
@@ -0,0 +1,40 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ */
11
+ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
+ /**
13
+ * Get the number of the resource
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Get the number of the resource
21
+ */
22
+ export interface CountRequestBuilderGetQueryParameters {
23
+ /**
24
+ * Filter items by property values
25
+ */
26
+ filter?: string;
27
+ /**
28
+ * Search items by search phrases
29
+ */
30
+ search?: string;
31
+ }
32
+ /**
33
+ * Metadata for all the requests in the request builder.
34
+ */
35
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
+ /**
37
+ * Uri template for the request builder.
38
+ */
39
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/claimsMappingPolicies/{claimsMappingPolicy%2Did}/appliesTo/$count{?%24search,%24filter}";
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,gHAAgH,CAAC"}