@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,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConditionalAccessPoliciesRequestBuilderUriTemplate = exports.ConditionalAccessPoliciesRequestBuilderRequestsMetadata = exports.ConditionalAccessPoliciesRequestBuilderNavigationMetadata = 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 ConditionalAccessPoliciesRequestBuilderGetQueryParametersMapper = {
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.ConditionalAccessPoliciesRequestBuilderNavigationMetadata = {
28
+ byConditionalAccessPolicyId: {
29
+ uriTemplate: item_1.ConditionalAccessPolicyItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.ConditionalAccessPolicyItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["conditionalAccessPolicy%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.ConditionalAccessPoliciesRequestBuilderRequestsMetadata = {
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.createConditionalAccessPolicyCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: ConditionalAccessPoliciesRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createConditionalAccessPolicyFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeConditionalAccessPolicy,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.ConditionalAccessPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/conditionalAccessPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */
@@ -0,0 +1,66 @@
1
+ import { type ConditionalAccessPolicy } 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 conditionalAccessPolicies property of the microsoft.graph.policyRoot entity.
5
+ */
6
+ export interface ConditionalAccessPolicyItemRequestBuilder extends BaseRequestBuilder<ConditionalAccessPolicyItemRequestBuilder> {
7
+ /**
8
+ * Delete navigation property conditionalAccessPolicies 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
+ * The custom rules that define an access scenario.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a Promise of ConditionalAccessPolicy
16
+ */
17
+ get(requestConfiguration?: RequestConfiguration<ConditionalAccessPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<ConditionalAccessPolicy | undefined>;
18
+ /**
19
+ * Update the navigation property conditionalAccessPolicies in policies
20
+ * @param body The request body
21
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
+ * @returns a Promise of ConditionalAccessPolicy
23
+ */
24
+ patch(body: ConditionalAccessPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConditionalAccessPolicy | undefined>;
25
+ /**
26
+ * Delete navigation property conditionalAccessPolicies for policies
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a RequestInformation
29
+ */
30
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
31
+ /**
32
+ * The custom rules that define an access scenario.
33
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
+ * @returns a RequestInformation
35
+ */
36
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConditionalAccessPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
37
+ /**
38
+ * Update the navigation property conditionalAccessPolicies in policies
39
+ * @param body The request body
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toPatchRequestInformation(body: ConditionalAccessPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
+ }
45
+ /**
46
+ * The custom rules that define an access scenario.
47
+ */
48
+ export interface ConditionalAccessPolicyItemRequestBuilderGetQueryParameters {
49
+ /**
50
+ * Expand related entities
51
+ */
52
+ expand?: string[];
53
+ /**
54
+ * Select properties to be returned
55
+ */
56
+ select?: string[];
57
+ }
58
+ /**
59
+ * Metadata for all the requests in the request builder.
60
+ */
61
+ export declare const ConditionalAccessPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
62
+ /**
63
+ * Uri template for the request builder.
64
+ */
65
+ export declare const ConditionalAccessPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}{?%24select,%24expand}";
66
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyF,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAErK,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,yCAA0C,SAAQ,kBAAkB,CAAC,yCAAyC,CAAC;IAC5H;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,2DAA2D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;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,2DAA2D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACpK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,2DAA2D;IACxE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,gBA+BvE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,uGAAuG,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConditionalAccessPolicyItemRequestBuilderUriTemplate = exports.ConditionalAccessPolicyItemRequestBuilderRequestsMetadata = 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 ConditionalAccessPolicyItemRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.ConditionalAccessPolicyItemRequestBuilderRequestsMetadata = {
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.createConditionalAccessPolicyFromDiscriminatorValue,
36
+ queryParametersMapper: ConditionalAccessPolicyItemRequestBuilderGetQueryParametersMapper,
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.createConditionalAccessPolicyFromDiscriminatorValue,
46
+ requestBodyContentType: "application/json",
47
+ requestBodySerializer: models_1.serializeConditionalAccessPolicy,
48
+ requestInformationContentSetMethod: "setContentFromParsable",
49
+ },
50
+ };
51
+ /**
52
+ * Uri template for the request builder.
53
+ */
54
+ exports.ConditionalAccessPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}{?%24select,%24expand}";
55
+ /* tslint:enable */
56
+ /* eslint-enable */
@@ -0,0 +1,77 @@
1
+ import { type CrossTenantAccessPolicyConfigurationDefault } from '@microsoft/msgraph-sdk/models/';
2
+ import { type ResetToSystemDefaultRequestBuilder } from './resetToSystemDefault/';
3
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Provides operations to manage the default property of the microsoft.graph.crossTenantAccessPolicy entity.
6
+ */
7
+ export interface DefaultRequestBuilder extends BaseRequestBuilder<DefaultRequestBuilder> {
8
+ /**
9
+ * Provides operations to call the resetToSystemDefault method.
10
+ */
11
+ get resetToSystemDefault(): ResetToSystemDefaultRequestBuilder;
12
+ /**
13
+ * Delete navigation property default for policies
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ */
16
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
+ /**
18
+ * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false).
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of CrossTenantAccessPolicyConfigurationDefault
21
+ * @see {@link https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-get?view=graph-rest-1.0|Find more info here}
22
+ */
23
+ get(requestConfiguration?: RequestConfiguration<DefaultRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantAccessPolicyConfigurationDefault | undefined>;
24
+ /**
25
+ * Update the default configuration of a cross-tenant access policy.
26
+ * @param body The request body
27
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
+ * @returns a Promise of CrossTenantAccessPolicyConfigurationDefault
29
+ * @see {@link https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-update?view=graph-rest-1.0|Find more info here}
30
+ */
31
+ patch(body: CrossTenantAccessPolicyConfigurationDefault, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantAccessPolicyConfigurationDefault | undefined>;
32
+ /**
33
+ * Delete navigation property default for policies
34
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
+ * @returns a RequestInformation
36
+ */
37
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
38
+ /**
39
+ * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false).
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
42
+ */
43
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DefaultRequestBuilderGetQueryParameters> | undefined): RequestInformation;
44
+ /**
45
+ * Update the default configuration of a cross-tenant access policy.
46
+ * @param body The request body
47
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
+ * @returns a RequestInformation
49
+ */
50
+ toPatchRequestInformation(body: CrossTenantAccessPolicyConfigurationDefault, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
+ }
52
+ /**
53
+ * Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false).
54
+ */
55
+ export interface DefaultRequestBuilderGetQueryParameters {
56
+ /**
57
+ * Expand related entities
58
+ */
59
+ expand?: string[];
60
+ /**
61
+ * Select properties to be returned
62
+ */
63
+ select?: string[];
64
+ }
65
+ /**
66
+ * Metadata for all the navigation properties in the request builder.
67
+ */
68
+ export declare const DefaultRequestBuilderNavigationMetadata: Record<Exclude<keyof DefaultRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
69
+ /**
70
+ * Metadata for all the requests in the request builder.
71
+ */
72
+ export declare const DefaultRequestBuilderRequestsMetadata: RequestsMetadata;
73
+ /**
74
+ * Uri template for the request builder.
75
+ */
76
+ export declare const DefaultRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy/default{?%24select,%24expand}";
77
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiI,KAAK,2CAA2C,EAAE,MAAM,gCAAgC,CAAC;AAEjO,OAAO,EAAqG,KAAK,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AACrL,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,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,oBAAoB,IAAI,kCAAkC,CAAC;IAC/D;;;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,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,2CAA2C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC9L;;;;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,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,2CAA2C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvK;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBA+BnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,8EAA8E,CAAC"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DefaultRequestBuilderUriTemplate = exports.DefaultRequestBuilderRequestsMetadata = exports.DefaultRequestBuilderNavigationMetadata = 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 resetToSystemDefault_1 = require("./resetToSystemDefault/");
10
+ /**
11
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
+ */
13
+ const DefaultRequestBuilderGetQueryParametersMapper = {
14
+ "expand": "%24expand",
15
+ "select": "%24select",
16
+ };
17
+ /**
18
+ * Metadata for all the navigation properties in the request builder.
19
+ */
20
+ exports.DefaultRequestBuilderNavigationMetadata = {
21
+ resetToSystemDefault: {
22
+ uriTemplate: resetToSystemDefault_1.ResetToSystemDefaultRequestBuilderUriTemplate,
23
+ requestsMetadata: resetToSystemDefault_1.ResetToSystemDefaultRequestBuilderRequestsMetadata,
24
+ },
25
+ };
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ exports.DefaultRequestBuilderRequestsMetadata = {
30
+ delete: {
31
+ responseBodyContentType: "application/json",
32
+ errorMappings: {
33
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
+ },
36
+ adapterMethodName: "sendNoResponseContentAsync",
37
+ },
38
+ get: {
39
+ responseBodyContentType: "application/json",
40
+ errorMappings: {
41
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ },
44
+ adapterMethodName: "sendAsync",
45
+ responseBodyFactory: models_1.createCrossTenantAccessPolicyConfigurationDefaultFromDiscriminatorValue,
46
+ queryParametersMapper: DefaultRequestBuilderGetQueryParametersMapper,
47
+ },
48
+ patch: {
49
+ responseBodyContentType: "application/json",
50
+ errorMappings: {
51
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
52
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
53
+ },
54
+ adapterMethodName: "sendAsync",
55
+ responseBodyFactory: models_1.createCrossTenantAccessPolicyConfigurationDefaultFromDiscriminatorValue,
56
+ requestBodyContentType: "application/json",
57
+ requestBodySerializer: models_1.serializeCrossTenantAccessPolicyConfigurationDefault,
58
+ requestInformationContentSetMethod: "setContentFromParsable",
59
+ },
60
+ };
61
+ /**
62
+ * Uri template for the request builder.
63
+ */
64
+ exports.DefaultRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy/default{?%24select,%24expand}";
65
+ /* tslint:enable */
66
+ /* eslint-enable */
@@ -0,0 +1,27 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the resetToSystemDefault method.
4
+ */
5
+ export interface ResetToSystemDefaultRequestBuilder extends BaseRequestBuilder<ResetToSystemDefaultRequestBuilder> {
6
+ /**
7
+ * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default.
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @see {@link https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-resettosystemdefault?view=graph-rest-1.0|Find more info here}
10
+ */
11
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
+ /**
13
+ * Reset any changes made to the default configuration in a cross-tenant access policy back to the system default.
14
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @returns a RequestInformation
16
+ */
17
+ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
18
+ }
19
+ /**
20
+ * Metadata for all the requests in the request builder.
21
+ */
22
+ export declare const ResetToSystemDefaultRequestBuilderRequestsMetadata: RequestsMetadata;
23
+ /**
24
+ * Uri template for the request builder.
25
+ */
26
+ export declare const ResetToSystemDefaultRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy/default/resetToSystemDefault";
27
+ //# 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,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAShE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,6CAA6C,6EAA6E,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResetToSystemDefaultRequestBuilderUriTemplate = exports.ResetToSystemDefaultRequestBuilderRequestsMetadata = 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
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.ResetToSystemDefaultRequestBuilderRequestsMetadata = {
12
+ post: {
13
+ responseBodyContentType: "application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendNoResponseContentAsync",
19
+ },
20
+ };
21
+ /**
22
+ * Uri template for the request builder.
23
+ */
24
+ exports.ResetToSystemDefaultRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy/default/resetToSystemDefault";
25
+ /* tslint:enable */
26
+ /* eslint-enable */
@@ -0,0 +1,82 @@
1
+ import { type CrossTenantAccessPolicy } from '@microsoft/msgraph-sdk/models/';
2
+ import { type DefaultRequestBuilder } from './defaultEscaped/';
3
+ import { type PartnersRequestBuilder } from './partners/';
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 crossTenantAccessPolicy property of the microsoft.graph.policyRoot entity.
7
+ */
8
+ export interface CrossTenantAccessPolicyRequestBuilder extends BaseRequestBuilder<CrossTenantAccessPolicyRequestBuilder> {
9
+ /**
10
+ * Provides operations to manage the default property of the microsoft.graph.crossTenantAccessPolicy entity.
11
+ */
12
+ get defaultEscaped(): DefaultRequestBuilder;
13
+ /**
14
+ * Provides operations to manage the partners property of the microsoft.graph.crossTenantAccessPolicy entity.
15
+ */
16
+ get partners(): PartnersRequestBuilder;
17
+ /**
18
+ * Delete navigation property crossTenantAccessPolicy for policies
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ */
21
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
22
+ /**
23
+ * Read the properties and relationships of a crossTenantAccessPolicy object.
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns a Promise of CrossTenantAccessPolicy
26
+ * @see {@link https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-get?view=graph-rest-1.0|Find more info here}
27
+ */
28
+ get(requestConfiguration?: RequestConfiguration<CrossTenantAccessPolicyRequestBuilderGetQueryParameters> | undefined): Promise<CrossTenantAccessPolicy | undefined>;
29
+ /**
30
+ * Update the properties of a cross-tenant access policy.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a Promise of CrossTenantAccessPolicy
34
+ * @see {@link https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-update?view=graph-rest-1.0|Find more info here}
35
+ */
36
+ patch(body: CrossTenantAccessPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CrossTenantAccessPolicy | undefined>;
37
+ /**
38
+ * Delete navigation property crossTenantAccessPolicy for policies
39
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
40
+ * @returns a RequestInformation
41
+ */
42
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
43
+ /**
44
+ * Read the properties and relationships of a crossTenantAccessPolicy object.
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @returns a RequestInformation
47
+ */
48
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CrossTenantAccessPolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
49
+ /**
50
+ * Update the properties of a cross-tenant access policy.
51
+ * @param body The request body
52
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
+ * @returns a RequestInformation
54
+ */
55
+ toPatchRequestInformation(body: CrossTenantAccessPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
56
+ }
57
+ /**
58
+ * Read the properties and relationships of a crossTenantAccessPolicy object.
59
+ */
60
+ export interface CrossTenantAccessPolicyRequestBuilderGetQueryParameters {
61
+ /**
62
+ * Expand related entities
63
+ */
64
+ expand?: string[];
65
+ /**
66
+ * Select properties to be returned
67
+ */
68
+ select?: string[];
69
+ }
70
+ /**
71
+ * Metadata for all the navigation properties in the request builder.
72
+ */
73
+ export declare const CrossTenantAccessPolicyRequestBuilderNavigationMetadata: Record<Exclude<keyof CrossTenantAccessPolicyRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
74
+ /**
75
+ * Metadata for all the requests in the request builder.
76
+ */
77
+ export declare const CrossTenantAccessPolicyRequestBuilderRequestsMetadata: RequestsMetadata;
78
+ /**
79
+ * Uri template for the request builder.
80
+ */
81
+ export declare const CrossTenantAccessPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy{?%24select,%24expand}";
82
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyF,KAAK,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAErK,OAAO,EAAoH,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACjL,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,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,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,cAAc,IAAI,qBAAqB,CAAC;IAC5C;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;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,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gDAAgD,sEAAsE,CAAC"}
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CrossTenantAccessPolicyRequestBuilderUriTemplate = exports.CrossTenantAccessPolicyRequestBuilderRequestsMetadata = exports.CrossTenantAccessPolicyRequestBuilderNavigationMetadata = 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 defaultEscaped_1 = require("./defaultEscaped/");
10
+ const partners_1 = require("./partners/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const CrossTenantAccessPolicyRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.CrossTenantAccessPolicyRequestBuilderNavigationMetadata = {
22
+ defaultEscaped: {
23
+ uriTemplate: defaultEscaped_1.DefaultRequestBuilderUriTemplate,
24
+ requestsMetadata: defaultEscaped_1.DefaultRequestBuilderRequestsMetadata,
25
+ navigationMetadata: defaultEscaped_1.DefaultRequestBuilderNavigationMetadata,
26
+ },
27
+ partners: {
28
+ uriTemplate: partners_1.PartnersRequestBuilderUriTemplate,
29
+ requestsMetadata: partners_1.PartnersRequestBuilderRequestsMetadata,
30
+ navigationMetadata: partners_1.PartnersRequestBuilderNavigationMetadata,
31
+ },
32
+ };
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ exports.CrossTenantAccessPolicyRequestBuilderRequestsMetadata = {
37
+ delete: {
38
+ responseBodyContentType: "application/json",
39
+ errorMappings: {
40
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ },
43
+ adapterMethodName: "sendNoResponseContentAsync",
44
+ },
45
+ get: {
46
+ responseBodyContentType: "application/json",
47
+ errorMappings: {
48
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
+ },
51
+ adapterMethodName: "sendAsync",
52
+ responseBodyFactory: models_1.createCrossTenantAccessPolicyFromDiscriminatorValue,
53
+ queryParametersMapper: CrossTenantAccessPolicyRequestBuilderGetQueryParametersMapper,
54
+ },
55
+ patch: {
56
+ responseBodyContentType: "application/json",
57
+ errorMappings: {
58
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ },
61
+ adapterMethodName: "sendAsync",
62
+ responseBodyFactory: models_1.createCrossTenantAccessPolicyFromDiscriminatorValue,
63
+ requestBodyContentType: "application/json",
64
+ requestBodySerializer: models_1.serializeCrossTenantAccessPolicy,
65
+ requestInformationContentSetMethod: "setContentFromParsable",
66
+ },
67
+ };
68
+ /**
69
+ * Uri template for the request builder.
70
+ */
71
+ exports.CrossTenantAccessPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/crossTenantAccessPolicy{?%24select,%24expand}";
72
+ /* tslint:enable */
73
+ /* 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/crossTenantAccessPolicy/partners/$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,sFAAsF,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/crossTenantAccessPolicy/partners/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */