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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/package.json +3 -3
  2. package/policies/activityBasedTimeoutPolicies/count/index.d.ts +7 -6
  3. package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -1
  4. package/policies/activityBasedTimeoutPolicies/count/index.js +7 -7
  5. package/policies/activityBasedTimeoutPolicies/index.d.ts +11 -9
  6. package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -1
  7. package/policies/activityBasedTimeoutPolicies/index.js +9 -11
  8. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +7 -6
  9. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  10. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +7 -7
  11. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +8 -7
  12. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -1
  13. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +7 -9
  14. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +7 -6
  15. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  16. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +7 -7
  17. package/policies/activityBasedTimeoutPolicies/item/index.d.ts +12 -9
  18. package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -1
  19. package/policies/activityBasedTimeoutPolicies/item/index.js +11 -12
  20. package/policies/adminConsentRequestPolicy/index.d.ts +12 -9
  21. package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -1
  22. package/policies/adminConsentRequestPolicy/index.js +11 -11
  23. package/policies/appManagementPolicies/count/index.d.ts +7 -6
  24. package/policies/appManagementPolicies/count/index.d.ts.map +1 -1
  25. package/policies/appManagementPolicies/count/index.js +7 -7
  26. package/policies/appManagementPolicies/index.d.ts +11 -9
  27. package/policies/appManagementPolicies/index.d.ts.map +1 -1
  28. package/policies/appManagementPolicies/index.js +9 -11
  29. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +7 -6
  30. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  31. package/policies/appManagementPolicies/item/appliesTo/count/index.js +7 -7
  32. package/policies/appManagementPolicies/item/appliesTo/index.d.ts +8 -7
  33. package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -1
  34. package/policies/appManagementPolicies/item/appliesTo/index.js +7 -9
  35. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +7 -6
  36. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  37. package/policies/appManagementPolicies/item/appliesTo/item/index.js +7 -7
  38. package/policies/appManagementPolicies/item/index.d.ts +12 -9
  39. package/policies/appManagementPolicies/item/index.d.ts.map +1 -1
  40. package/policies/appManagementPolicies/item/index.js +11 -12
  41. package/policies/authenticationFlowsPolicy/index.d.ts +12 -9
  42. package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -1
  43. package/policies/authenticationFlowsPolicy/index.js +11 -11
  44. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +7 -6
  45. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -1
  46. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +7 -7
  47. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +11 -9
  48. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -1
  49. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +9 -11
  50. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +12 -9
  51. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -1
  52. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +11 -11
  53. package/policies/authenticationMethodsPolicy/index.d.ts +12 -9
  54. package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -1
  55. package/policies/authenticationMethodsPolicy/index.js +11 -12
  56. package/policies/authenticationStrengthPolicies/count/index.d.ts +7 -6
  57. package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -1
  58. package/policies/authenticationStrengthPolicies/count/index.js +7 -7
  59. package/policies/authenticationStrengthPolicies/index.d.ts +11 -9
  60. package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -1
  61. package/policies/authenticationStrengthPolicies/index.js +9 -11
  62. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +7 -6
  63. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -1
  64. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +7 -7
  65. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +11 -9
  66. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -1
  67. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +9 -11
  68. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +12 -9
  69. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -1
  70. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +11 -11
  71. package/policies/authenticationStrengthPolicies/item/index.d.ts +12 -9
  72. package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -1
  73. package/policies/authenticationStrengthPolicies/item/index.js +11 -14
  74. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +9 -8
  75. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -1
  76. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +9 -9
  77. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +7 -6
  78. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -1
  79. package/policies/authenticationStrengthPolicies/item/usage/index.js +7 -7
  80. package/policies/authorizationPolicy/index.d.ts +12 -9
  81. package/policies/authorizationPolicy/index.d.ts.map +1 -1
  82. package/policies/authorizationPolicy/index.js +11 -11
  83. package/policies/claimsMappingPolicies/count/index.d.ts +7 -6
  84. package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -1
  85. package/policies/claimsMappingPolicies/count/index.js +7 -7
  86. package/policies/claimsMappingPolicies/index.d.ts +11 -9
  87. package/policies/claimsMappingPolicies/index.d.ts.map +1 -1
  88. package/policies/claimsMappingPolicies/index.js +9 -11
  89. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +7 -6
  90. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  91. package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +7 -7
  92. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +8 -7
  93. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -1
  94. package/policies/claimsMappingPolicies/item/appliesTo/index.js +7 -9
  95. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +7 -6
  96. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  97. package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +7 -7
  98. package/policies/claimsMappingPolicies/item/index.d.ts +12 -9
  99. package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -1
  100. package/policies/claimsMappingPolicies/item/index.js +11 -12
  101. package/policies/conditionalAccessPolicies/count/index.d.ts +7 -6
  102. package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -1
  103. package/policies/conditionalAccessPolicies/count/index.js +7 -7
  104. package/policies/conditionalAccessPolicies/index.d.ts +11 -9
  105. package/policies/conditionalAccessPolicies/index.d.ts.map +1 -1
  106. package/policies/conditionalAccessPolicies/index.js +9 -11
  107. package/policies/conditionalAccessPolicies/item/index.d.ts +12 -9
  108. package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -1
  109. package/policies/conditionalAccessPolicies/item/index.js +11 -11
  110. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +12 -9
  111. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -1
  112. package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +11 -12
  113. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +6 -5
  114. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -1
  115. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +7 -7
  116. package/policies/crossTenantAccessPolicy/index.d.ts +12 -9
  117. package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -1
  118. package/policies/crossTenantAccessPolicy/index.js +11 -13
  119. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +7 -6
  120. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -1
  121. package/policies/crossTenantAccessPolicy/partners/count/index.js +7 -7
  122. package/policies/crossTenantAccessPolicy/partners/index.d.ts +11 -9
  123. package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -1
  124. package/policies/crossTenantAccessPolicy/partners/index.js +9 -11
  125. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +12 -9
  126. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -1
  127. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +11 -11
  128. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +12 -9
  129. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -1
  130. package/policies/crossTenantAccessPolicy/partners/item/index.js +11 -12
  131. package/policies/defaultAppManagementPolicy/index.d.ts +12 -9
  132. package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -1
  133. package/policies/defaultAppManagementPolicy/index.js +11 -11
  134. package/policies/deviceRegistrationPolicy/index.d.ts +38 -0
  135. package/policies/deviceRegistrationPolicy/index.d.ts.map +1 -0
  136. package/policies/deviceRegistrationPolicy/index.js +35 -0
  137. package/policies/featureRolloutPolicies/count/index.d.ts +7 -6
  138. package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -1
  139. package/policies/featureRolloutPolicies/count/index.js +7 -7
  140. package/policies/featureRolloutPolicies/index.d.ts +11 -9
  141. package/policies/featureRolloutPolicies/index.d.ts.map +1 -1
  142. package/policies/featureRolloutPolicies/index.js +9 -11
  143. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +7 -6
  144. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  145. package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +7 -7
  146. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +11 -9
  147. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -1
  148. package/policies/featureRolloutPolicies/item/appliesTo/index.js +9 -12
  149. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +4 -4
  150. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  151. package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +5 -6
  152. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +6 -5
  153. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -1
  154. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +7 -7
  155. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +11 -8
  156. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -1
  157. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +11 -11
  158. package/policies/featureRolloutPolicies/item/index.d.ts +12 -9
  159. package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -1
  160. package/policies/featureRolloutPolicies/item/index.js +11 -12
  161. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +7 -6
  162. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -1
  163. package/policies/homeRealmDiscoveryPolicies/count/index.js +7 -7
  164. package/policies/homeRealmDiscoveryPolicies/index.d.ts +11 -9
  165. package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -1
  166. package/policies/homeRealmDiscoveryPolicies/index.js +9 -11
  167. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +7 -6
  168. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  169. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +7 -7
  170. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +8 -7
  171. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -1
  172. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +7 -9
  173. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +7 -6
  174. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  175. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +7 -7
  176. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +12 -9
  177. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -1
  178. package/policies/homeRealmDiscoveryPolicies/item/index.js +11 -12
  179. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +12 -9
  180. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -1
  181. package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +11 -11
  182. package/policies/index.d.ts +15 -8
  183. package/policies/index.d.ts.map +1 -1
  184. package/policies/index.js +13 -28
  185. package/policies/permissionGrantPolicies/count/index.d.ts +7 -6
  186. package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -1
  187. package/policies/permissionGrantPolicies/count/index.js +7 -7
  188. package/policies/permissionGrantPolicies/index.d.ts +11 -9
  189. package/policies/permissionGrantPolicies/index.d.ts.map +1 -1
  190. package/policies/permissionGrantPolicies/index.js +9 -11
  191. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +7 -6
  192. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -1
  193. package/policies/permissionGrantPolicies/item/excludes/count/index.js +7 -7
  194. package/policies/permissionGrantPolicies/item/excludes/index.d.ts +11 -9
  195. package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -1
  196. package/policies/permissionGrantPolicies/item/excludes/index.js +9 -11
  197. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +12 -9
  198. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -1
  199. package/policies/permissionGrantPolicies/item/excludes/item/index.js +11 -11
  200. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +7 -6
  201. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -1
  202. package/policies/permissionGrantPolicies/item/includes/count/index.js +7 -7
  203. package/policies/permissionGrantPolicies/item/includes/index.d.ts +11 -9
  204. package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -1
  205. package/policies/permissionGrantPolicies/item/includes/index.js +9 -11
  206. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +12 -9
  207. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -1
  208. package/policies/permissionGrantPolicies/item/includes/item/index.js +11 -11
  209. package/policies/permissionGrantPolicies/item/index.d.ts +12 -9
  210. package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -1
  211. package/policies/permissionGrantPolicies/item/index.js +11 -13
  212. package/policies/roleManagementPolicies/count/index.d.ts +7 -6
  213. package/policies/roleManagementPolicies/count/index.d.ts.map +1 -1
  214. package/policies/roleManagementPolicies/count/index.js +7 -7
  215. package/policies/roleManagementPolicies/index.d.ts +11 -9
  216. package/policies/roleManagementPolicies/index.d.ts.map +1 -1
  217. package/policies/roleManagementPolicies/index.js +9 -11
  218. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +7 -6
  219. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -1
  220. package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +7 -7
  221. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +11 -9
  222. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -1
  223. package/policies/roleManagementPolicies/item/effectiveRules/index.js +9 -11
  224. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +12 -9
  225. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -1
  226. package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +11 -11
  227. package/policies/roleManagementPolicies/item/index.d.ts +12 -9
  228. package/policies/roleManagementPolicies/item/index.d.ts.map +1 -1
  229. package/policies/roleManagementPolicies/item/index.js +11 -13
  230. package/policies/roleManagementPolicies/item/rules/count/index.d.ts +7 -6
  231. package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -1
  232. package/policies/roleManagementPolicies/item/rules/count/index.js +7 -7
  233. package/policies/roleManagementPolicies/item/rules/index.d.ts +11 -9
  234. package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -1
  235. package/policies/roleManagementPolicies/item/rules/index.js +9 -11
  236. package/policies/roleManagementPolicies/item/rules/item/index.d.ts +12 -9
  237. package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -1
  238. package/policies/roleManagementPolicies/item/rules/item/index.js +11 -11
  239. package/policies/roleManagementPolicyAssignments/count/index.d.ts +7 -6
  240. package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -1
  241. package/policies/roleManagementPolicyAssignments/count/index.js +7 -7
  242. package/policies/roleManagementPolicyAssignments/index.d.ts +11 -9
  243. package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -1
  244. package/policies/roleManagementPolicyAssignments/index.js +9 -11
  245. package/policies/roleManagementPolicyAssignments/item/index.d.ts +12 -9
  246. package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -1
  247. package/policies/roleManagementPolicyAssignments/item/index.js +11 -12
  248. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +7 -6
  249. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -1
  250. package/policies/roleManagementPolicyAssignments/item/policy/index.js +7 -7
  251. package/policies/tokenIssuancePolicies/count/index.d.ts +7 -6
  252. package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -1
  253. package/policies/tokenIssuancePolicies/count/index.js +7 -7
  254. package/policies/tokenIssuancePolicies/index.d.ts +11 -9
  255. package/policies/tokenIssuancePolicies/index.d.ts.map +1 -1
  256. package/policies/tokenIssuancePolicies/index.js +9 -11
  257. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +7 -6
  258. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  259. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +7 -7
  260. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +8 -7
  261. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -1
  262. package/policies/tokenIssuancePolicies/item/appliesTo/index.js +7 -9
  263. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +7 -6
  264. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  265. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +7 -7
  266. package/policies/tokenIssuancePolicies/item/index.d.ts +12 -9
  267. package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -1
  268. package/policies/tokenIssuancePolicies/item/index.js +11 -12
  269. package/policies/tokenLifetimePolicies/count/index.d.ts +7 -6
  270. package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -1
  271. package/policies/tokenLifetimePolicies/count/index.js +7 -7
  272. package/policies/tokenLifetimePolicies/index.d.ts +11 -9
  273. package/policies/tokenLifetimePolicies/index.d.ts.map +1 -1
  274. package/policies/tokenLifetimePolicies/index.js +9 -11
  275. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +7 -6
  276. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  277. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +7 -7
  278. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +8 -7
  279. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -1
  280. package/policies/tokenLifetimePolicies/item/appliesTo/index.js +7 -9
  281. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +7 -6
  282. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  283. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +7 -7
  284. package/policies/tokenLifetimePolicies/item/index.d.ts +12 -9
  285. package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -1
  286. package/policies/tokenLifetimePolicies/item/index.js +11 -12
  287. package/policiesServiceClient.d.ts.map +1 -1
  288. package/policiesServiceClient.js +1 -2
  289. package/tsconfig.tsbuildinfo +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IncludesRequestBuilderUriTemplate = exports.IncludesRequestBuilderRequestsMetadata = exports.IncludesRequestBuilderNavigationMetadata = void 0;
3
+ exports.IncludesRequestBuilderRequestsMetadata = exports.IncludesRequestBuilderNavigationMetadata = exports.IncludesRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.IncludesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,12 +30,10 @@ const IncludesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.IncludesRequestBuilderNavigationMetadata = {
28
32
  byPermissionGrantConditionSetId: {
29
- uriTemplate: item_1.PermissionGrantConditionSetItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["permissionGrantConditionSet%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,20 +42,20 @@ exports.IncludesRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.IncludesRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.IncludesRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createPermissionGrantConditionSetCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: IncludesRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.IncludesRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createPermissionGrantConditionSetFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.IncludesRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.IncludesRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,39 +7,42 @@ export interface PermissionGrantConditionSetItemRequestBuilder extends BaseReque
7
7
  /**
8
8
  * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete-includes?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
14
  /**
14
15
  * Condition sets which are included in this permission grant policy. Automatically expanded on GET.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a Promise of PermissionGrantConditionSet
17
+ * @returns {Promise<PermissionGrantConditionSet>}
18
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<PermissionGrantConditionSetItemRequestBuilderGetQueryParameters> | undefined): Promise<PermissionGrantConditionSet | undefined>;
19
21
  /**
20
22
  * Update the navigation property includes in policies
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of PermissionGrantConditionSet
25
+ * @returns {Promise<PermissionGrantConditionSet>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  */
25
28
  patch(body: PermissionGrantConditionSet, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PermissionGrantConditionSet | undefined>;
26
29
  /**
27
30
  * Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy.
28
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a RequestInformation
32
+ * @returns {RequestInformation}
30
33
  */
31
34
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
32
35
  /**
33
36
  * Condition sets which are included in this permission grant policy. Automatically expanded on GET.
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantConditionSetItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
38
41
  /**
39
42
  * Update the navigation property includes in policies
40
43
  * @param body The request body
41
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
42
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
43
46
  */
44
47
  toPatchRequestInformation(body: PermissionGrantConditionSet, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
45
48
  }
@@ -56,12 +59,12 @@ export interface PermissionGrantConditionSetItemRequestBuilderGetQueryParameters
56
59
  */
57
60
  select?: string[];
58
61
  }
59
- /**
60
- * Metadata for all the requests in the request builder.
61
- */
62
- export declare const PermissionGrantConditionSetItemRequestBuilderRequestsMetadata: RequestsMetadata;
63
62
  /**
64
63
  * Uri template for the request builder.
65
64
  */
66
65
  export declare const PermissionGrantConditionSetItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes/{permissionGrantConditionSet%2Did}{?%24expand,%24select}";
66
+ /**
67
+ * Metadata for all the requests in the request builder.
68
+ */
69
+ export declare const PermissionGrantConditionSetItemRequestBuilderRequestsMetadata: RequestsMetadata;
67
70
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1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,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvJ;AACD;;GAEG;AACH,MAAM,WAAW,+DAA+D;IAC5E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wDAAwD,+IAA+I,CAAC;AAQrN;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBA+B3E,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Uri template for the request builder.
11
+ */
12
+ exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes/{permissionGrantConditionSet%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,28 +22,28 @@ const PermissionGrantConditionSetItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createPermissionGrantConditionSetFromDiscriminatorValue,
36
40
  queryParametersMapper: PermissionGrantConditionSetItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createPermissionGrantConditionSetFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes/{permissionGrantConditionSet%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -17,13 +17,15 @@ export interface PermissionGrantPolicyItemRequestBuilder extends BaseRequestBuil
17
17
  /**
18
18
  * Delete a permissionGrantPolicy object.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
20
21
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete?view=graph-rest-1.0|Find more info here}
21
22
  */
22
23
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
23
24
  /**
24
25
  * Retrieve a single permissionGrantPolicy object.
25
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
- * @returns a Promise of PermissionGrantPolicy
27
+ * @returns {Promise<PermissionGrantPolicy>}
28
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
27
29
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-get?view=graph-rest-1.0|Find more info here}
28
30
  */
29
31
  get(requestConfiguration?: RequestConfiguration<PermissionGrantPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<PermissionGrantPolicy | undefined>;
@@ -31,27 +33,28 @@ export interface PermissionGrantPolicyItemRequestBuilder extends BaseRequestBuil
31
33
  * Update properties of a permissionGrantPolicy.
32
34
  * @param body The request body
33
35
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
34
- * @returns a Promise of PermissionGrantPolicy
36
+ * @returns {Promise<PermissionGrantPolicy>}
37
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
35
38
  * @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-update?view=graph-rest-1.0|Find more info here}
36
39
  */
37
40
  patch(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PermissionGrantPolicy | undefined>;
38
41
  /**
39
42
  * Delete a permissionGrantPolicy object.
40
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
42
45
  */
43
46
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
44
47
  /**
45
48
  * Retrieve a single permissionGrantPolicy object.
46
49
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
47
- * @returns a RequestInformation
50
+ * @returns {RequestInformation}
48
51
  */
49
52
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
50
53
  /**
51
54
  * Update properties of a permissionGrantPolicy.
52
55
  * @param body The request body
53
56
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
54
- * @returns a RequestInformation
57
+ * @returns {RequestInformation}
55
58
  */
56
59
  toPatchRequestInformation(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
57
60
  }
@@ -68,6 +71,10 @@ export interface PermissionGrantPolicyItemRequestBuilderGetQueryParameters {
68
71
  */
69
72
  select?: string[];
70
73
  }
74
+ /**
75
+ * Uri template for the request builder.
76
+ */
77
+ export declare const PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24expand,%24select}";
71
78
  /**
72
79
  * Metadata for all the navigation properties in the request builder.
73
80
  */
@@ -76,8 +83,4 @@ export declare const PermissionGrantPolicyItemRequestBuilderNavigationMetadata:
76
83
  * Metadata for all the requests in the request builder.
77
84
  */
78
85
  export declare const PermissionGrantPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
79
- /**
80
- * Uri template for the request builder.
81
- */
82
- export declare const PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24expand,%24select}";
83
86
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqF,KAAK,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE/J,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;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AAS,CAAC,CAAC;IACtK;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;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,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,qBAAqB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,mGAAmG,CAAC;AAQnK;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBA+BrE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const excludes_1 = require("./excludes/");
10
10
  const includes_1 = require("./includes/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24expand,%24select}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -20,12 +24,10 @@ const PermissionGrantPolicyItemRequestBuilderGetQueryParametersMapper = {
20
24
  */
21
25
  exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = {
22
26
  excludes: {
23
- uriTemplate: excludes_1.ExcludesRequestBuilderUriTemplate,
24
27
  requestsMetadata: excludes_1.ExcludesRequestBuilderRequestsMetadata,
25
28
  navigationMetadata: excludes_1.ExcludesRequestBuilderNavigationMetadata,
26
29
  },
27
30
  includes: {
28
- uriTemplate: includes_1.IncludesRequestBuilderUriTemplate,
29
31
  requestsMetadata: includes_1.IncludesRequestBuilderRequestsMetadata,
30
32
  navigationMetadata: includes_1.IncludesRequestBuilderNavigationMetadata,
31
33
  },
@@ -35,28 +37,28 @@ exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = {
35
37
  */
36
38
  exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = {
37
39
  delete: {
40
+ uriTemplate: exports.PermissionGrantPolicyItemRequestBuilderUriTemplate,
38
41
  responseBodyContentType: "application/json",
39
42
  errorMappings: {
40
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
44
  },
43
45
  adapterMethodName: "sendNoResponseContentAsync",
44
46
  },
45
47
  get: {
48
+ uriTemplate: exports.PermissionGrantPolicyItemRequestBuilderUriTemplate,
46
49
  responseBodyContentType: "application/json",
47
50
  errorMappings: {
48
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
51
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
50
52
  },
51
53
  adapterMethodName: "sendAsync",
52
54
  responseBodyFactory: models_1.createPermissionGrantPolicyFromDiscriminatorValue,
53
55
  queryParametersMapper: PermissionGrantPolicyItemRequestBuilderGetQueryParametersMapper,
54
56
  },
55
57
  patch: {
58
+ uriTemplate: exports.PermissionGrantPolicyItemRequestBuilderUriTemplate,
56
59
  responseBodyContentType: "application/json",
57
60
  errorMappings: {
58
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
61
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
62
  },
61
63
  adapterMethodName: "sendAsync",
62
64
  responseBodyFactory: models_1.createPermissionGrantPolicyFromDiscriminatorValue,
@@ -65,9 +67,5 @@ exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = {
65
67
  requestInformationContentSetMethod: "setContentFromParsable",
66
68
  },
67
69
  };
68
- /**
69
- * Uri template for the request builder.
70
- */
71
- exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24expand,%24select}";
72
70
  /* tslint:enable */
73
71
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4EAA4E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4EAA4E,CAAC;AAQxH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
3
+ exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Uri template for the request builder.
10
+ */
11
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface RoleManagementPoliciesRequestBuilder extends BaseRequestBuilder
13
13
  /**
14
14
  * Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.
15
15
  * @param unifiedRoleManagementPolicyId The unique identifier of unifiedRoleManagementPolicy
16
- * @returns a UnifiedRoleManagementPolicyItemRequestBuilder
16
+ * @returns {UnifiedRoleManagementPolicyItemRequestBuilder}
17
17
  */
18
18
  byUnifiedRoleManagementPolicyId(unifiedRoleManagementPolicyId: string): UnifiedRoleManagementPolicyItemRequestBuilder;
19
19
  /**
20
20
  * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of UnifiedRoleManagementPolicyCollectionResponse
22
+ * @returns {Promise<UnifiedRoleManagementPolicyCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicies?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<RoleManagementPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface RoleManagementPoliciesRequestBuilder extends BaseRequestBuilder
27
28
  * Create new navigation property to roleManagementPolicies for policies
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of UnifiedRoleManagementPolicy
31
+ * @returns {Promise<UnifiedRoleManagementPolicy>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
33
35
  /**
34
36
  * Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies.
35
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoleManagementPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to roleManagementPolicies for policies
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface RoleManagementPoliciesRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const RoleManagementPoliciesRequestBuilderNavigationMetadata: Rec
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const RoleManagementPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA4K,KAAK,2BAA2B,EAAE,KAAK,6CAA6C,EAAE,MAAM,gCAAgC,CAAC;AAEhT,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAE,KAAK,6CAA6C,EAA4L,MAAM,SAAS,CAAC;AACvQ,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,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;OAEG;IACH,IA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wBAAwB,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,sDAAsD;IACnE;;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,+CAA+C,4HAA4H,CAAC;AAczL;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAStL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAuBlE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RoleManagementPoliciesRequestBuilderUriTemplate = exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = void 0;
3
+ exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = exports.RoleManagementPoliciesRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
10
  const item_1 = require("./item/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,13 +30,11 @@ const RoleManagementPoliciesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = {
28
32
  byUnifiedRoleManagementPolicyId: {
29
- uriTemplate: item_1.UnifiedRoleManagementPolicyItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.UnifiedRoleManagementPolicyItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.UnifiedRoleManagementPolicyItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["unifiedRoleManagementPolicy%2Did"],
33
36
  },
34
37
  count: {
35
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
38
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
39
  },
38
40
  };
@@ -41,20 +43,20 @@ exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.RoleManagementPoliciesRequestBuilderUriTemplate,
44
47
  responseBodyContentType: "application/json",
45
48
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
50
  },
49
51
  adapterMethodName: "sendAsync",
50
52
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: RoleManagementPoliciesRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.RoleManagementPoliciesRequestBuilderUriTemplate,
54
57
  responseBodyContentType: "application/json",
55
58
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
60
  },
59
61
  adapterMethodName: "sendAsync",
60
62
  responseBodyFactory: models_1.createUnifiedRoleManagementPolicyFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* eslint-enable */
@@ -6,13 +6,14 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
6
6
  /**
7
7
  * Get the number of the resource
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of Integer
9
+ * @returns {Promise<number>}
10
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
10
11
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,8HAA8H,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,K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