@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
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Microsoft Graph
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # `@microsoft/msgraph-sdk-policies`
2
+
3
+ > TODO: description
4
+
5
+ ## Usage
6
+
7
+ ```
8
+ const msgraphSdkJavascriptPolicies = require('@microsoft/msgraph-sdk-policies');
9
+
10
+ // TODO: DEMONSTRATE API
11
+ ```
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type { PoliciesRequestBuilder } from "./policies";
2
+ declare module "@microsoft/msgraph-sdk" {
3
+ interface GraphServiceClient {
4
+ /**
5
+ * Provides operations to manage the policies singleton.
6
+ */
7
+ get policies(): PoliciesRequestBuilder;
8
+ }
9
+ }
10
+ export * from "./policiesServiceClient";
11
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAGzD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;KACxC;CACF;AAED,cAAc,yBAAyB,CAAC"}
package/index.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
18
+ const policiesServiceClient_1 = require("./policiesServiceClient");
19
+ (0, msgraph_sdk_1.extendGraphServiceClient)(policiesServiceClient_1.PoliciesServiceClientNavigationMetadata);
20
+ __exportStar(require("./policiesServiceClient"), exports);
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@microsoft/msgraph-sdk-policies",
3
+ "version": "1.0.0-preview.10",
4
+ "description": "Policies fluent API for Microsoft Graph",
5
+ "keywords": [
6
+ "Microsoft",
7
+ "Graph",
8
+ "msgraph",
9
+ "API",
10
+ "SDK",
11
+ "policies"
12
+ ],
13
+ "author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
14
+ "license": "MIT",
15
+ "main": "index.js",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
22
+ },
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "lint": "eslint . --ext .ts",
26
+ "lint:fix": "eslint . --ext .ts --fix",
27
+ "clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
31
+ },
32
+ "homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
33
+ "types": "index.d.ts",
34
+ "dependencies": {
35
+ "@microsoft/kiota-abstractions": "^1.0.0-preview.38",
36
+ "@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
37
+ "@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
38
+ "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
39
+ "@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.10",
41
+ "guid-typescript": "^1.0.9",
42
+ "tslib": "^2.6.2"
43
+ },
44
+ "devDependencies": {
45
+ "typescript": "^5.3.3"
46
+ },
47
+ "gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
48
+ }
@@ -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/activityBasedTimeoutPolicies/$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,kFAAkF,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/activityBasedTimeoutPolicies/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,97 @@
1
+ import { type ActivityBasedTimeoutPolicy, type ActivityBasedTimeoutPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type ActivityBasedTimeoutPolicyItemRequestBuilder } 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 activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.
7
+ */
8
+ export interface ActivityBasedTimeoutPoliciesRequestBuilder extends BaseRequestBuilder<ActivityBasedTimeoutPoliciesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.
15
+ * @param activityBasedTimeoutPolicyId The unique identifier of activityBasedTimeoutPolicy
16
+ * @returns a ActivityBasedTimeoutPolicyItemRequestBuilder
17
+ */
18
+ byActivityBasedTimeoutPolicyId(activityBasedTimeoutPolicyId: string): ActivityBasedTimeoutPolicyItemRequestBuilder;
19
+ /**
20
+ * Get a list of activityBasedTimeoutPolicy objects.
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of ActivityBasedTimeoutPolicyCollectionResponse
23
+ * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-list?view=graph-rest-1.0|Find more info here}
24
+ */
25
+ get(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<ActivityBasedTimeoutPolicyCollectionResponse | undefined>;
26
+ /**
27
+ * Create a new activityBasedTimeoutPolicy 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 ActivityBasedTimeoutPolicy
31
+ * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies?view=graph-rest-1.0|Find more info here}
32
+ */
33
+ post(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
34
+ /**
35
+ * Get a list of activityBasedTimeoutPolicy 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<ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
+ /**
41
+ * Create a new activityBasedTimeoutPolicy 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: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
+ }
48
+ /**
49
+ * Get a list of activityBasedTimeoutPolicy objects.
50
+ */
51
+ export interface ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters {
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 ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof ActivityBasedTimeoutPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
89
+ /**
90
+ * Metadata for all the requests in the request builder.
91
+ */
92
+ export declare const ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
93
+ /**
94
+ * Uri template for the request builder.
95
+ */
96
+ export declare const ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%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,EAAyK,KAAK,0BAA0B,EAAE,KAAK,4CAA4C,EAAE,MAAM,gCAAgC,CAAC;AAE3S,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyL,KAAK,4CAA4C,EAAE,MAAM,SAAS,CAAC;AACnQ,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,0CAA2C,SAAQ,kBAAkB,CAAC,0CAA0C,CAAC;IAC9H;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,8BAA8B,CAAC,4BAA4B,EAAE,MAAM,GAAI,4CAA4C,CAAC;IACrH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4CAA4C,GAAG,SAAS,CAAC,CAAC;IAChM;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;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,4DAA4D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0CAA0C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBAuBxE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,kIAAkI,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = exports.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = exports.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = 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 ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParametersMapper = {
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.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = {
28
+ byActivityBasedTimeoutPolicyId: {
29
+ uriTemplate: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata,
31
+ navigationMetadata: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetadata,
32
+ pathParametersMappings: ["activityBasedTimeoutPolicy%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.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = {
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.createActivityBasedTimeoutPolicyCollectionResponseFromDiscriminatorValue,
51
+ queryParametersMapper: ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParametersMapper,
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.createActivityBasedTimeoutPolicyFromDiscriminatorValue,
61
+ requestBodyContentType: "application/json",
62
+ requestBodySerializer: models_1.serializeActivityBasedTimeoutPolicy,
63
+ requestInformationContentSetMethod: "setContentFromParsable",
64
+ },
65
+ };
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%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/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%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,8HAA8H,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/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,81 @@
1
+ import { type DirectoryObjectCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type DirectoryObjectItemRequestBuilder } 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 appliesTo property of the microsoft.graph.stsPolicy entity.
7
+ */
8
+ export interface AppliesToRequestBuilder extends BaseRequestBuilder<AppliesToRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
11
+ */
12
+ get count(): CountRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity.
15
+ * @param directoryObjectId The unique identifier of directoryObject
16
+ * @returns a DirectoryObjectItemRequestBuilder
17
+ */
18
+ byDirectoryObjectId(directoryObjectId: string): DirectoryObjectItemRequestBuilder;
19
+ /**
20
+ * Get appliesTo from policies
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of DirectoryObjectCollectionResponse
23
+ */
24
+ get(requestConfiguration?: RequestConfiguration<AppliesToRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObjectCollectionResponse | undefined>;
25
+ /**
26
+ * Get appliesTo from policies
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppliesToRequestBuilderGetQueryParameters> | undefined): RequestInformation;
31
+ }
32
+ /**
33
+ * Get appliesTo from policies
34
+ */
35
+ export interface AppliesToRequestBuilderGetQueryParameters {
36
+ /**
37
+ * Include count of items
38
+ */
39
+ count?: boolean;
40
+ /**
41
+ * Expand related entities
42
+ */
43
+ expand?: string[];
44
+ /**
45
+ * Filter items by property values
46
+ */
47
+ filter?: string;
48
+ /**
49
+ * Order items by property values
50
+ */
51
+ orderby?: string[];
52
+ /**
53
+ * Search items by search phrases
54
+ */
55
+ search?: string;
56
+ /**
57
+ * Select properties to be returned
58
+ */
59
+ select?: string[];
60
+ /**
61
+ * Skip the first n items
62
+ */
63
+ skip?: number;
64
+ /**
65
+ * Show only the first n items
66
+ */
67
+ top?: number;
68
+ }
69
+ /**
70
+ * Metadata for all the navigation properties in the request builder.
71
+ */
72
+ export declare const AppliesToRequestBuilderNavigationMetadata: Record<Exclude<keyof AppliesToRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
73
+ /**
74
+ * Metadata for all the requests in the request builder.
75
+ */
76
+ export declare const AppliesToRequestBuilderRequestsMetadata: RequestsMetadata;
77
+ /**
78
+ * Uri template for the request builder.
79
+ */
80
+ export declare const AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
81
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEvJ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAmG,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AAClK,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,iCAAiC,GAAG,SAAS,CAAC,CAAC;IAClK;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,8KAA8K,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppliesToRequestBuilderUriTemplate = exports.AppliesToRequestBuilderRequestsMetadata = exports.AppliesToRequestBuilderNavigationMetadata = 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 AppliesToRequestBuilderGetQueryParametersMapper = {
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.AppliesToRequestBuilderNavigationMetadata = {
28
+ byDirectoryObjectId: {
29
+ uriTemplate: item_1.DirectoryObjectItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.DirectoryObjectItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["directoryObject%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.AppliesToRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createDirectoryObjectCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: AppliesToRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ };
53
+ /**
54
+ * Uri template for the request builder.
55
+ */
56
+ exports.AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
57
+ /* tslint:enable */
58
+ /* eslint-enable */
@@ -0,0 +1,41 @@
1
+ import { type DirectoryObject } 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 appliesTo property of the microsoft.graph.stsPolicy entity.
5
+ */
6
+ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<DirectoryObjectItemRequestBuilder> {
7
+ /**
8
+ * Get appliesTo from policies
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of DirectoryObject
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
13
+ /**
14
+ * Get appliesTo from policies
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get appliesTo from policies
22
+ */
23
+ export interface DirectoryObjectItemRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Expand related entities
26
+ */
27
+ expand?: string[];
28
+ /**
29
+ * Select properties to be returned
30
+ */
31
+ select?: string[];
32
+ }
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata;
37
+ /**
38
+ * Uri template for the request builder.
39
+ */
40
+ export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/{directoryObject%2Did}{?%24select,%24expand}";
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,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;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/J;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,gBAW/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,8IAA8I,CAAC"}