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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/package.json +3 -3
  2. package/policies/activityBasedTimeoutPolicies/count/index.d.ts +7 -6
  3. package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -1
  4. package/policies/activityBasedTimeoutPolicies/count/index.js +7 -7
  5. package/policies/activityBasedTimeoutPolicies/index.d.ts +11 -9
  6. package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -1
  7. package/policies/activityBasedTimeoutPolicies/index.js +9 -11
  8. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +7 -6
  9. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  10. package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +7 -7
  11. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +8 -7
  12. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -1
  13. package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +7 -9
  14. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +7 -6
  15. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  16. package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +7 -7
  17. package/policies/activityBasedTimeoutPolicies/item/index.d.ts +12 -9
  18. package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -1
  19. package/policies/activityBasedTimeoutPolicies/item/index.js +11 -12
  20. package/policies/adminConsentRequestPolicy/index.d.ts +12 -9
  21. package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -1
  22. package/policies/adminConsentRequestPolicy/index.js +11 -11
  23. package/policies/appManagementPolicies/count/index.d.ts +7 -6
  24. package/policies/appManagementPolicies/count/index.d.ts.map +1 -1
  25. package/policies/appManagementPolicies/count/index.js +7 -7
  26. package/policies/appManagementPolicies/index.d.ts +11 -9
  27. package/policies/appManagementPolicies/index.d.ts.map +1 -1
  28. package/policies/appManagementPolicies/index.js +9 -11
  29. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +7 -6
  30. package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  31. package/policies/appManagementPolicies/item/appliesTo/count/index.js +7 -7
  32. package/policies/appManagementPolicies/item/appliesTo/index.d.ts +8 -7
  33. package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -1
  34. package/policies/appManagementPolicies/item/appliesTo/index.js +7 -9
  35. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +7 -6
  36. package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  37. package/policies/appManagementPolicies/item/appliesTo/item/index.js +7 -7
  38. package/policies/appManagementPolicies/item/index.d.ts +12 -9
  39. package/policies/appManagementPolicies/item/index.d.ts.map +1 -1
  40. package/policies/appManagementPolicies/item/index.js +11 -12
  41. package/policies/authenticationFlowsPolicy/index.d.ts +12 -9
  42. package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -1
  43. package/policies/authenticationFlowsPolicy/index.js +11 -11
  44. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +7 -6
  45. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -1
  46. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +7 -7
  47. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +11 -9
  48. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -1
  49. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +9 -11
  50. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +12 -9
  51. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -1
  52. package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +11 -11
  53. package/policies/authenticationMethodsPolicy/index.d.ts +12 -9
  54. package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -1
  55. package/policies/authenticationMethodsPolicy/index.js +11 -12
  56. package/policies/authenticationStrengthPolicies/count/index.d.ts +7 -6
  57. package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -1
  58. package/policies/authenticationStrengthPolicies/count/index.js +7 -7
  59. package/policies/authenticationStrengthPolicies/index.d.ts +11 -9
  60. package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -1
  61. package/policies/authenticationStrengthPolicies/index.js +9 -11
  62. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +7 -6
  63. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -1
  64. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +7 -7
  65. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +11 -9
  66. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -1
  67. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +9 -11
  68. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +12 -9
  69. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -1
  70. package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +11 -11
  71. package/policies/authenticationStrengthPolicies/item/index.d.ts +12 -9
  72. package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -1
  73. package/policies/authenticationStrengthPolicies/item/index.js +11 -14
  74. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +9 -8
  75. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -1
  76. package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +9 -9
  77. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +7 -6
  78. package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -1
  79. package/policies/authenticationStrengthPolicies/item/usage/index.js +7 -7
  80. package/policies/authorizationPolicy/index.d.ts +12 -9
  81. package/policies/authorizationPolicy/index.d.ts.map +1 -1
  82. package/policies/authorizationPolicy/index.js +11 -11
  83. package/policies/claimsMappingPolicies/count/index.d.ts +7 -6
  84. package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -1
  85. package/policies/claimsMappingPolicies/count/index.js +7 -7
  86. package/policies/claimsMappingPolicies/index.d.ts +11 -9
  87. package/policies/claimsMappingPolicies/index.d.ts.map +1 -1
  88. package/policies/claimsMappingPolicies/index.js +9 -11
  89. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +7 -6
  90. package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  91. package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +7 -7
  92. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +8 -7
  93. package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -1
  94. package/policies/claimsMappingPolicies/item/appliesTo/index.js +7 -9
  95. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +7 -6
  96. package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  97. package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +7 -7
  98. package/policies/claimsMappingPolicies/item/index.d.ts +12 -9
  99. package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -1
  100. package/policies/claimsMappingPolicies/item/index.js +11 -12
  101. package/policies/conditionalAccessPolicies/count/index.d.ts +7 -6
  102. package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -1
  103. package/policies/conditionalAccessPolicies/count/index.js +7 -7
  104. package/policies/conditionalAccessPolicies/index.d.ts +11 -9
  105. package/policies/conditionalAccessPolicies/index.d.ts.map +1 -1
  106. package/policies/conditionalAccessPolicies/index.js +9 -11
  107. package/policies/conditionalAccessPolicies/item/index.d.ts +12 -9
  108. package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -1
  109. package/policies/conditionalAccessPolicies/item/index.js +11 -11
  110. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +12 -9
  111. package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -1
  112. package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +11 -12
  113. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +6 -5
  114. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -1
  115. package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +7 -7
  116. package/policies/crossTenantAccessPolicy/index.d.ts +12 -9
  117. package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -1
  118. package/policies/crossTenantAccessPolicy/index.js +11 -13
  119. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +7 -6
  120. package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -1
  121. package/policies/crossTenantAccessPolicy/partners/count/index.js +7 -7
  122. package/policies/crossTenantAccessPolicy/partners/index.d.ts +11 -9
  123. package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -1
  124. package/policies/crossTenantAccessPolicy/partners/index.js +9 -11
  125. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +12 -9
  126. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -1
  127. package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +11 -11
  128. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +12 -9
  129. package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -1
  130. package/policies/crossTenantAccessPolicy/partners/item/index.js +11 -12
  131. package/policies/defaultAppManagementPolicy/index.d.ts +12 -9
  132. package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -1
  133. package/policies/defaultAppManagementPolicy/index.js +11 -11
  134. package/policies/featureRolloutPolicies/count/index.d.ts +7 -6
  135. package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -1
  136. package/policies/featureRolloutPolicies/count/index.js +7 -7
  137. package/policies/featureRolloutPolicies/index.d.ts +11 -9
  138. package/policies/featureRolloutPolicies/index.d.ts.map +1 -1
  139. package/policies/featureRolloutPolicies/index.js +9 -11
  140. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +7 -6
  141. package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  142. package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +7 -7
  143. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +11 -9
  144. package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -1
  145. package/policies/featureRolloutPolicies/item/appliesTo/index.js +9 -12
  146. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +4 -4
  147. package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  148. package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +5 -6
  149. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +6 -5
  150. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -1
  151. package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +7 -7
  152. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +11 -8
  153. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -1
  154. package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +11 -11
  155. package/policies/featureRolloutPolicies/item/index.d.ts +12 -9
  156. package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -1
  157. package/policies/featureRolloutPolicies/item/index.js +11 -12
  158. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +7 -6
  159. package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -1
  160. package/policies/homeRealmDiscoveryPolicies/count/index.js +7 -7
  161. package/policies/homeRealmDiscoveryPolicies/index.d.ts +11 -9
  162. package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -1
  163. package/policies/homeRealmDiscoveryPolicies/index.js +9 -11
  164. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +7 -6
  165. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -1
  166. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +7 -7
  167. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +8 -7
  168. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -1
  169. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +7 -9
  170. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +7 -6
  171. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -1
  172. package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +7 -7
  173. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +12 -9
  174. package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -1
  175. package/policies/homeRealmDiscoveryPolicies/item/index.js +11 -12
  176. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +12 -9
  177. package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -1
  178. package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +11 -11
  179. package/policies/index.d.ts +10 -8
  180. package/policies/index.d.ts.map +1 -1
  181. package/policies/index.js +9 -28
  182. package/policies/permissionGrantPolicies/count/index.d.ts +7 -6
  183. package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -1
  184. package/policies/permissionGrantPolicies/count/index.js +7 -7
  185. package/policies/permissionGrantPolicies/index.d.ts +11 -9
  186. package/policies/permissionGrantPolicies/index.d.ts.map +1 -1
  187. package/policies/permissionGrantPolicies/index.js +9 -11
  188. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +7 -6
  189. package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -1
  190. package/policies/permissionGrantPolicies/item/excludes/count/index.js +7 -7
  191. package/policies/permissionGrantPolicies/item/excludes/index.d.ts +11 -9
  192. package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -1
  193. package/policies/permissionGrantPolicies/item/excludes/index.js +9 -11
  194. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +12 -9
  195. package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -1
  196. package/policies/permissionGrantPolicies/item/excludes/item/index.js +11 -11
  197. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +7 -6
  198. package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -1
  199. package/policies/permissionGrantPolicies/item/includes/count/index.js +7 -7
  200. package/policies/permissionGrantPolicies/item/includes/index.d.ts +11 -9
  201. package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -1
  202. package/policies/permissionGrantPolicies/item/includes/index.js +9 -11
  203. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +12 -9
  204. package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -1
  205. package/policies/permissionGrantPolicies/item/includes/item/index.js +11 -11
  206. package/policies/permissionGrantPolicies/item/index.d.ts +12 -9
  207. package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -1
  208. package/policies/permissionGrantPolicies/item/index.js +11 -13
  209. package/policies/roleManagementPolicies/count/index.d.ts +7 -6
  210. package/policies/roleManagementPolicies/count/index.d.ts.map +1 -1
  211. package/policies/roleManagementPolicies/count/index.js +7 -7
  212. package/policies/roleManagementPolicies/index.d.ts +11 -9
  213. package/policies/roleManagementPolicies/index.d.ts.map +1 -1
  214. package/policies/roleManagementPolicies/index.js +9 -11
  215. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +7 -6
  216. package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -1
  217. package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +7 -7
  218. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +11 -9
  219. package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -1
  220. package/policies/roleManagementPolicies/item/effectiveRules/index.js +9 -11
  221. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +12 -9
  222. package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -1
  223. package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +11 -11
  224. package/policies/roleManagementPolicies/item/index.d.ts +12 -9
  225. package/policies/roleManagementPolicies/item/index.d.ts.map +1 -1
  226. package/policies/roleManagementPolicies/item/index.js +11 -13
  227. package/policies/roleManagementPolicies/item/rules/count/index.d.ts +7 -6
  228. package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -1
  229. package/policies/roleManagementPolicies/item/rules/count/index.js +7 -7
  230. package/policies/roleManagementPolicies/item/rules/index.d.ts +11 -9
  231. package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -1
  232. package/policies/roleManagementPolicies/item/rules/index.js +9 -11
  233. package/policies/roleManagementPolicies/item/rules/item/index.d.ts +12 -9
  234. package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -1
  235. package/policies/roleManagementPolicies/item/rules/item/index.js +11 -11
  236. package/policies/roleManagementPolicyAssignments/count/index.d.ts +7 -6
  237. package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -1
  238. package/policies/roleManagementPolicyAssignments/count/index.js +7 -7
  239. package/policies/roleManagementPolicyAssignments/index.d.ts +11 -9
  240. package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -1
  241. package/policies/roleManagementPolicyAssignments/index.js +9 -11
  242. package/policies/roleManagementPolicyAssignments/item/index.d.ts +12 -9
  243. package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -1
  244. package/policies/roleManagementPolicyAssignments/item/index.js +11 -12
  245. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +7 -6
  246. package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -1
  247. package/policies/roleManagementPolicyAssignments/item/policy/index.js +7 -7
  248. package/policies/tokenIssuancePolicies/count/index.d.ts +7 -6
  249. package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -1
  250. package/policies/tokenIssuancePolicies/count/index.js +7 -7
  251. package/policies/tokenIssuancePolicies/index.d.ts +11 -9
  252. package/policies/tokenIssuancePolicies/index.d.ts.map +1 -1
  253. package/policies/tokenIssuancePolicies/index.js +9 -11
  254. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +7 -6
  255. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  256. package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +7 -7
  257. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +8 -7
  258. package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -1
  259. package/policies/tokenIssuancePolicies/item/appliesTo/index.js +7 -9
  260. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +7 -6
  261. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  262. package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +7 -7
  263. package/policies/tokenIssuancePolicies/item/index.d.ts +12 -9
  264. package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -1
  265. package/policies/tokenIssuancePolicies/item/index.js +11 -12
  266. package/policies/tokenLifetimePolicies/count/index.d.ts +7 -6
  267. package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -1
  268. package/policies/tokenLifetimePolicies/count/index.js +7 -7
  269. package/policies/tokenLifetimePolicies/index.d.ts +11 -9
  270. package/policies/tokenLifetimePolicies/index.d.ts.map +1 -1
  271. package/policies/tokenLifetimePolicies/index.js +9 -11
  272. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +7 -6
  273. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -1
  274. package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +7 -7
  275. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +8 -7
  276. package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -1
  277. package/policies/tokenLifetimePolicies/item/appliesTo/index.js +7 -9
  278. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +7 -6
  279. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -1
  280. package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +7 -7
  281. package/policies/tokenLifetimePolicies/item/index.d.ts +12 -9
  282. package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -1
  283. package/policies/tokenLifetimePolicies/item/index.js +11 -12
  284. package/policiesServiceClient.d.ts.map +1 -1
  285. package/policiesServiceClient.js +1 -2
  286. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-policies",
3
- "version": "1.0.0-preview.13",
3
+ "version": "1.0.0-preview.14",
4
4
  "description": "Policies fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.13",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.14",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "906523af8adf701b2d621c1a44f91c8039b77418"
47
+ "gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7"
48
48
  }
@@ -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/activityBasedTimeoutPolicies/$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,kFAAkF,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,kFAAkF,CAAC;AAQ9H;;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/activityBasedTimeoutPolicies/$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/activityBasedTimeoutPolicies/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface ActivityBasedTimeoutPoliciesRequestBuilder extends BaseRequestB
13
13
  /**
14
14
  * Provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.
15
15
  * @param activityBasedTimeoutPolicyId The unique identifier of activityBasedTimeoutPolicy
16
- * @returns a ActivityBasedTimeoutPolicyItemRequestBuilder
16
+ * @returns {ActivityBasedTimeoutPolicyItemRequestBuilder}
17
17
  */
18
18
  byActivityBasedTimeoutPolicyId(activityBasedTimeoutPolicyId: string): ActivityBasedTimeoutPolicyItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of activityBasedTimeoutPolicy objects.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of ActivityBasedTimeoutPolicyCollectionResponse
22
+ * @returns {Promise<ActivityBasedTimeoutPolicyCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-list?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<ActivityBasedTimeoutPolicyCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface ActivityBasedTimeoutPoliciesRequestBuilder extends BaseRequestB
27
28
  * Create a new activityBasedTimeoutPolicy object.
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 ActivityBasedTimeoutPolicy
31
+ * @returns {Promise<ActivityBasedTimeoutPolicy>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
34
36
  /**
35
37
  * Get a list of activityBasedTimeoutPolicy objects.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new activityBasedTimeoutPolicy object.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
45
47
  */
46
48
  toPostRequestInformation(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
91
  /**
86
92
  * Metadata for all the navigation properties in the request builder.
87
93
  */
@@ -90,8 +96,4 @@ export declare const ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadat
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
97
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyK,KAAK,0BAA0B,EAAE,KAAK,4CAA4C,EAAE,MAAM,gCAAgC,CAAC;AAE3S,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAyL,KAAK,4CAA4C,EAAE,MAAM,SAAS,CAAC;AACnQ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,E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C,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4DAA4D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,qDAAqD,kIAAkI,CAAC;AAcrM;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0CAA0C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASlM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,gBAuBxE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = exports.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = exports.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = void 0;
3
+ exports.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = exports.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = 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.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%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 ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = {
28
32
  byActivityBasedTimeoutPolicyId: {
29
- uriTemplate: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["activityBasedTimeoutPolicy%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.ActivityBasedTimeoutPoliciesRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate,
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.createActivityBasedTimeoutPolicyCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate,
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.createActivityBasedTimeoutPolicyFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.ActivityBasedTimeoutPoliciesRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.ActivityBasedTimeoutPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies{?%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/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/$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,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,8HAA8H,CAAC;AAQ1K;;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/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/$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/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,19 +13,20 @@ export interface AppliesToRequestBuilder extends BaseRequestBuilder<AppliesToReq
13
13
  /**
14
14
  * Provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity.
15
15
  * @param directoryObjectId The unique identifier of directoryObject
16
- * @returns a DirectoryObjectItemRequestBuilder
16
+ * @returns {DirectoryObjectItemRequestBuilder}
17
17
  */
18
18
  byDirectoryObjectId(directoryObjectId: string): DirectoryObjectItemRequestBuilder;
19
19
  /**
20
20
  * Get appliesTo from policies
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DirectoryObjectCollectionResponse
22
+ * @returns {Promise<DirectoryObjectCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<AppliesToRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObjectCollectionResponse | undefined>;
25
26
  /**
26
27
  * Get appliesTo from policies
27
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a RequestInformation
29
+ * @returns {RequestInformation}
29
30
  */
30
31
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppliesToRequestBuilderGetQueryParameters> | undefined): RequestInformation;
31
32
  }
@@ -66,6 +67,10 @@ export interface AppliesToRequestBuilderGetQueryParameters {
66
67
  */
67
68
  top?: number;
68
69
  }
70
+ /**
71
+ * Uri template for the request builder.
72
+ */
73
+ export declare const AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
74
  /**
70
75
  * Metadata for all the navigation properties in the request builder.
71
76
  */
@@ -74,8 +79,4 @@ export declare const AppliesToRequestBuilderNavigationMetadata: Record<Exclude<k
74
79
  * Metadata for all the requests in the request builder.
75
80
  */
76
81
  export declare const AppliesToRequestBuilderRequestsMetadata: RequestsMetadata;
77
- /**
78
- * Uri template for the request builder.
79
- */
80
- export declare const AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
81
82
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,iCAAiC,EAAE,MAA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AAC;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,kCAAkC,8KAA8K,CAAC;AAc9N;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppliesToRequestBuilderUriTemplate = exports.AppliesToRequestBuilderRequestsMetadata = exports.AppliesToRequestBuilderNavigationMetadata = void 0;
3
+ exports.AppliesToRequestBuilderRequestsMetadata = exports.AppliesToRequestBuilderNavigationMetadata = exports.AppliesToRequestBuilderUriTemplate = 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.AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%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 AppliesToRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.AppliesToRequestBuilderNavigationMetadata = {
28
32
  byDirectoryObjectId: {
29
- uriTemplate: item_1.DirectoryObjectItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.DirectoryObjectItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["directoryObject%2Did"],
32
35
  },
33
36
  count: {
34
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
37
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
38
  },
37
39
  };
@@ -40,19 +42,15 @@ exports.AppliesToRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.AppliesToRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.AppliesToRequestBuilderUriTemplate,
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.createDirectoryObjectCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: AppliesToRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  };
53
- /**
54
- * Uri template for the request builder.
55
- */
56
- exports.AppliesToRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
57
55
  /* tslint:enable */
58
56
  /* eslint-enable */
@@ -7,13 +7,14 @@ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<Di
7
7
  /**
8
8
  * Get appliesTo from policies
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of DirectoryObject
10
+ * @returns {Promise<DirectoryObject>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
13
14
  /**
14
15
  * Get appliesTo from policies
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
20
  }
@@ -30,12 +31,12 @@ export interface DirectoryObjectItemRequestBuilderGetQueryParameters {
30
31
  */
31
32
  select?: string[];
32
33
  }
33
- /**
34
- * Metadata for all the requests in the request builder.
35
- */
36
- export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata;
37
34
  /**
38
35
  * Uri template for the request builder.
39
36
  */
40
37
  export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/{directoryObject%2Did}{?%24expand,%24select}";
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata;
41
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;;;OAIG;IACF,GAAG,CAAC,oBAA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AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,8IAA8I,CAAC;AAQxM;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAW/D,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectoryObjectItemRequestBuilderUriTemplate = exports.DirectoryObjectItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.DirectoryObjectItemRequestBuilderRequestsMetadata = exports.DirectoryObjectItemRequestBuilderUriTemplate = 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.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/{directoryObject%2Did}{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,19 +22,15 @@ const DirectoryObjectItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.DirectoryObjectItemRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.DirectoryObjectItemRequestBuilderUriTemplate,
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: "sendAsync",
27
31
  responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
28
32
  queryParametersMapper: DirectoryObjectItemRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  };
31
- /**
32
- * Uri template for the request builder.
33
- */
34
- exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/{directoryObject%2Did}{?%24expand,%24select}";
35
35
  /* tslint:enable */
36
36
  /* eslint-enable */
@@ -12,13 +12,15 @@ export interface ActivityBasedTimeoutPolicyItemRequestBuilder extends BaseReques
12
12
  /**
13
13
  * Delete an activityBasedTimeoutPolicy object.
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
15
16
  * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-delete?view=graph-rest-1.0|Find more info here}
16
17
  */
17
18
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
18
19
  /**
19
20
  * Get the properties of an activityBasedTimeoutPolicy object.
20
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns a Promise of ActivityBasedTimeoutPolicy
22
+ * @returns {Promise<ActivityBasedTimeoutPolicy>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
22
24
  * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-get?view=graph-rest-1.0|Find more info here}
23
25
  */
24
26
  get(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
@@ -26,27 +28,28 @@ export interface ActivityBasedTimeoutPolicyItemRequestBuilder extends BaseReques
26
28
  * Update the properties of an activityBasedTimeoutPolicy object.
27
29
  * @param body The request body
28
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
29
- * @returns a Promise of ActivityBasedTimeoutPolicy
31
+ * @returns {Promise<ActivityBasedTimeoutPolicy>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
30
33
  * @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-update?view=graph-rest-1.0|Find more info here}
31
34
  */
32
35
  patch(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
33
36
  /**
34
37
  * Delete an activityBasedTimeoutPolicy object.
35
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
37
40
  */
38
41
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
39
42
  /**
40
43
  * Get the properties of an activityBasedTimeoutPolicy object.
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
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
48
  /**
46
49
  * Update the properties of an activityBasedTimeoutPolicy object.
47
50
  * @param body The request body
48
51
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
- * @returns a RequestInformation
52
+ * @returns {RequestInformation}
50
53
  */
51
54
  toPatchRequestInformation(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
52
55
  }
@@ -63,6 +66,10 @@ export interface ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters
63
66
  */
64
67
  select?: string[];
65
68
  }
69
+ /**
70
+ * Uri template for the request builder.
71
+ */
72
+ export declare const ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}{?%24expand,%24select}";
66
73
  /**
67
74
  * Metadata for all the navigation properties in the request builder.
68
75
  */
@@ -71,8 +78,4 @@ export declare const ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetad
71
78
  * Metadata for all the requests in the request builder.
72
79
  */
73
80
  export declare const ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
74
- /**
75
- * Uri template for the request builder.
76
- */
77
- export declare const ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}{?%24expand,%24select}";
78
81
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+F,KAAK,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE9K,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,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,4CAA6C,SAAQ,kBAAkB,CAAC,4CAA4C,CAAC;IAClI;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;OAIG;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,8DAA8D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAChL;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,k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