@microsoft/msgraph-sdk-policies 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/policies/activityBasedTimeoutPolicies/count/index.d.ts +40 -0
- package/policies/activityBasedTimeoutPolicies/count/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/count/index.js +35 -0
- package/policies/activityBasedTimeoutPolicies/index.d.ts +97 -0
- package/policies/activityBasedTimeoutPolicies/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/index.js +71 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/index.js +58 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/activityBasedTimeoutPolicies/item/index.d.ts +78 -0
- package/policies/activityBasedTimeoutPolicies/item/index.d.ts.map +1 -0
- package/policies/activityBasedTimeoutPolicies/item/index.js +67 -0
- package/policies/adminConsentRequestPolicy/index.d.ts +68 -0
- package/policies/adminConsentRequestPolicy/index.d.ts.map +1 -0
- package/policies/adminConsentRequestPolicy/index.js +56 -0
- package/policies/appManagementPolicies/count/index.d.ts +40 -0
- package/policies/appManagementPolicies/count/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/count/index.js +35 -0
- package/policies/appManagementPolicies/index.d.ts +97 -0
- package/policies/appManagementPolicies/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/index.js +71 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/appManagementPolicies/item/appliesTo/index.d.ts +82 -0
- package/policies/appManagementPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/index.js +58 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/appManagementPolicies/item/index.d.ts +78 -0
- package/policies/appManagementPolicies/item/index.d.ts.map +1 -0
- package/policies/appManagementPolicies/item/index.js +67 -0
- package/policies/authenticationFlowsPolicy/index.d.ts +68 -0
- package/policies/authenticationFlowsPolicy/index.d.ts.map +1 -0
- package/policies/authenticationFlowsPolicy/index.js +56 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts +40 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/count/index.js +35 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts +95 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/index.js +70 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts +66 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/item/index.js +56 -0
- package/policies/authenticationMethodsPolicy/index.d.ts +77 -0
- package/policies/authenticationMethodsPolicy/index.d.ts.map +1 -0
- package/policies/authenticationMethodsPolicy/index.js +67 -0
- package/policies/authenticationStrengthPolicies/count/index.d.ts +40 -0
- package/policies/authenticationStrengthPolicies/count/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/count/index.js +35 -0
- package/policies/authenticationStrengthPolicies/index.d.ts +97 -0
- package/policies/authenticationStrengthPolicies/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/index.js +71 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts +40 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/count/index.js +35 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts +97 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/index.js +70 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts +69 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/combinationConfigurations/item/index.js +56 -0
- package/policies/authenticationStrengthPolicies/item/index.d.ts +88 -0
- package/policies/authenticationStrengthPolicies/item/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/index.js +77 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts +61 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/updateAllowedCombinations/index.js +61 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.d.ts +28 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.d.ts.map +1 -0
- package/policies/authenticationStrengthPolicies/item/usage/index.js +28 -0
- package/policies/authorizationPolicy/index.d.ts +68 -0
- package/policies/authorizationPolicy/index.d.ts.map +1 -0
- package/policies/authorizationPolicy/index.js +56 -0
- package/policies/claimsMappingPolicies/count/index.d.ts +40 -0
- package/policies/claimsMappingPolicies/count/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/count/index.js +35 -0
- package/policies/claimsMappingPolicies/index.d.ts +97 -0
- package/policies/claimsMappingPolicies/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/index.js +71 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/index.js +58 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/claimsMappingPolicies/item/index.d.ts +78 -0
- package/policies/claimsMappingPolicies/item/index.d.ts.map +1 -0
- package/policies/claimsMappingPolicies/item/index.js +67 -0
- package/policies/conditionalAccessPolicies/count/index.d.ts +40 -0
- package/policies/conditionalAccessPolicies/count/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/count/index.js +35 -0
- package/policies/conditionalAccessPolicies/index.d.ts +95 -0
- package/policies/conditionalAccessPolicies/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/index.js +70 -0
- package/policies/conditionalAccessPolicies/item/index.d.ts +66 -0
- package/policies/conditionalAccessPolicies/item/index.d.ts.map +1 -0
- package/policies/conditionalAccessPolicies/item/index.js +56 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts +77 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/index.js +66 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts +27 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/defaultEscaped/resetToSystemDefault/index.js +26 -0
- package/policies/crossTenantAccessPolicy/index.d.ts +82 -0
- package/policies/crossTenantAccessPolicy/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/index.js +73 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.d.ts +40 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/count/index.js +35 -0
- package/policies/crossTenantAccessPolicy/partners/index.d.ts +97 -0
- package/policies/crossTenantAccessPolicy/partners/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/index.js +71 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts +68 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/item/identitySynchronization/index.js +56 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.d.ts +78 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.d.ts.map +1 -0
- package/policies/crossTenantAccessPolicy/partners/item/index.js +66 -0
- package/policies/defaultAppManagementPolicy/index.d.ts +68 -0
- package/policies/defaultAppManagementPolicy/index.d.ts.map +1 -0
- package/policies/defaultAppManagementPolicy/index.js +56 -0
- package/policies/featureRolloutPolicies/count/index.d.ts +40 -0
- package/policies/featureRolloutPolicies/count/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/count/index.js +35 -0
- package/policies/featureRolloutPolicies/index.d.ts +97 -0
- package/policies/featureRolloutPolicies/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/index.js +71 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts +101 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/index.js +75 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts +20 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/index.js +22 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts +36 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/item/ref/index.js +33 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts +71 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/appliesTo/ref/index.js +51 -0
- package/policies/featureRolloutPolicies/item/index.d.ts +78 -0
- package/policies/featureRolloutPolicies/item/index.d.ts.map +1 -0
- package/policies/featureRolloutPolicies/item/index.js +67 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.d.ts +40 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/count/index.js +35 -0
- package/policies/homeRealmDiscoveryPolicies/index.d.ts +97 -0
- package/policies/homeRealmDiscoveryPolicies/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/index.js +71 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/count/index.js +35 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/index.js +58 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/appliesTo/item/index.js +36 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.d.ts +78 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.d.ts.map +1 -0
- package/policies/homeRealmDiscoveryPolicies/item/index.js +67 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts +68 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.d.ts.map +1 -0
- package/policies/identitySecurityDefaultsEnforcementPolicy/index.js +56 -0
- package/policies/index.d.ts +154 -0
- package/policies/index.d.ts.map +1 -0
- package/policies/index.js +162 -0
- package/policies/permissionGrantPolicies/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/count/index.js +35 -0
- package/policies/permissionGrantPolicies/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/index.js +71 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/count/index.js +35 -0
- package/policies/permissionGrantPolicies/item/excludes/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/item/excludes/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/index.js +70 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts +67 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/excludes/item/index.js +56 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.d.ts +40 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/count/index.js +35 -0
- package/policies/permissionGrantPolicies/item/includes/index.d.ts +97 -0
- package/policies/permissionGrantPolicies/item/includes/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/index.js +70 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.d.ts +67 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/includes/item/index.js +56 -0
- package/policies/permissionGrantPolicies/item/index.d.ts +83 -0
- package/policies/permissionGrantPolicies/item/index.d.ts.map +1 -0
- package/policies/permissionGrantPolicies/item/index.js +73 -0
- package/policies/roleManagementPolicies/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/count/index.js +35 -0
- package/policies/roleManagementPolicies/index.d.ts +96 -0
- package/policies/roleManagementPolicies/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/index.js +71 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/count/index.js +35 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts +95 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/index.js +70 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts +66 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/effectiveRules/item/index.js +56 -0
- package/policies/roleManagementPolicies/item/index.d.ts +81 -0
- package/policies/roleManagementPolicies/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/index.js +73 -0
- package/policies/roleManagementPolicies/item/rules/count/index.d.ts +40 -0
- package/policies/roleManagementPolicies/item/rules/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/count/index.js +35 -0
- package/policies/roleManagementPolicies/item/rules/index.d.ts +96 -0
- package/policies/roleManagementPolicies/item/rules/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/index.js +70 -0
- package/policies/roleManagementPolicies/item/rules/item/index.d.ts +68 -0
- package/policies/roleManagementPolicies/item/rules/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicies/item/rules/item/index.js +56 -0
- package/policies/roleManagementPolicyAssignments/count/index.d.ts +40 -0
- package/policies/roleManagementPolicyAssignments/count/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/count/index.js +35 -0
- package/policies/roleManagementPolicyAssignments/index.d.ts +96 -0
- package/policies/roleManagementPolicyAssignments/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/index.js +71 -0
- package/policies/roleManagementPolicyAssignments/item/index.d.ts +76 -0
- package/policies/roleManagementPolicyAssignments/item/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/item/index.js +66 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts +41 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.d.ts.map +1 -0
- package/policies/roleManagementPolicyAssignments/item/policy/index.js +36 -0
- package/policies/tokenIssuancePolicies/count/index.d.ts +40 -0
- package/policies/tokenIssuancePolicies/count/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/count/index.js +35 -0
- package/policies/tokenIssuancePolicies/index.d.ts +97 -0
- package/policies/tokenIssuancePolicies/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/index.js +71 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/count/index.js +35 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/index.js +58 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/appliesTo/item/index.js +36 -0
- package/policies/tokenIssuancePolicies/item/index.d.ts +77 -0
- package/policies/tokenIssuancePolicies/item/index.d.ts.map +1 -0
- package/policies/tokenIssuancePolicies/item/index.js +67 -0
- package/policies/tokenLifetimePolicies/count/index.d.ts +40 -0
- package/policies/tokenLifetimePolicies/count/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/count/index.js +35 -0
- package/policies/tokenLifetimePolicies/index.d.ts +97 -0
- package/policies/tokenLifetimePolicies/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/index.js +71 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts +40 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/count/index.js +35 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts +81 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/index.js +58 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts +41 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/appliesTo/item/index.js +36 -0
- package/policies/tokenLifetimePolicies/item/index.d.ts +78 -0
- package/policies/tokenLifetimePolicies/item/index.d.ts.map +1 -0
- package/policies/tokenLifetimePolicies/item/index.js +67 -0
- package/policiesServiceClient.d.ts +25 -0
- package/policiesServiceClient.d.ts.map +1 -0
- package/policiesServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type PermissionGrantConditionSet } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the includes property of the microsoft.graph.permissionGrantPolicy entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface PermissionGrantConditionSetItemRequestBuilder extends BaseRequestBuilder<PermissionGrantConditionSetItemRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete-includes?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Condition sets which are included in this permission grant policy. Automatically expanded on GET.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns a Promise of PermissionGrantConditionSet
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<PermissionGrantConditionSetItemRequestBuilderGetQueryParameters> | undefined): Promise<PermissionGrantConditionSet | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the navigation property includes in policies
|
|
21
|
+
* @param body The request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a Promise of PermissionGrantConditionSet
|
|
24
|
+
*/
|
|
25
|
+
patch(body: PermissionGrantConditionSet, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PermissionGrantConditionSet | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a RequestInformation
|
|
30
|
+
*/
|
|
31
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
/**
|
|
33
|
+
* Condition sets which are included in this permission grant policy. Automatically expanded on GET.
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns a RequestInformation
|
|
36
|
+
*/
|
|
37
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantConditionSetItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
38
|
+
/**
|
|
39
|
+
* Update the navigation property includes in policies
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toPatchRequestInformation(body: PermissionGrantConditionSet, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Condition sets which are included in this permission grant policy. Automatically expanded on GET.
|
|
48
|
+
*/
|
|
49
|
+
export interface PermissionGrantConditionSetItemRequestBuilderGetQueryParameters {
|
|
50
|
+
/**
|
|
51
|
+
* Expand related entities
|
|
52
|
+
*/
|
|
53
|
+
expand?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Select properties to be returned
|
|
56
|
+
*/
|
|
57
|
+
select?: string[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
export declare const PermissionGrantConditionSetItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
63
|
+
/**
|
|
64
|
+
* Uri template for the request builder.
|
|
65
|
+
*/
|
|
66
|
+
export declare const PermissionGrantConditionSetItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes/{permissionGrantConditionSet%2Did}{?%24select,%24expand}";
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiG,KAAK,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAEjL,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6CAA8C,SAAQ,kBAAkB,CAAC,6CAA6C,CAAC;IACpI;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+DAA+D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;OAKG;IACF,KAAK,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;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,+DAA+D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,2BAA2B,EAAE,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;AAQD;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBA+B3E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,+IAA+I,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const PermissionGrantConditionSetItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.PermissionGrantConditionSetItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
delete: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
|
+
},
|
|
28
|
+
get: {
|
|
29
|
+
responseBodyContentType: "application/json",
|
|
30
|
+
errorMappings: {
|
|
31
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
32
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
|
+
},
|
|
34
|
+
adapterMethodName: "sendAsync",
|
|
35
|
+
responseBodyFactory: models_1.createPermissionGrantConditionSetFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: PermissionGrantConditionSetItemRequestBuilderGetQueryParametersMapper,
|
|
37
|
+
},
|
|
38
|
+
patch: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createPermissionGrantConditionSetFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializePermissionGrantConditionSet,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.PermissionGrantConditionSetItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}/includes/{permissionGrantConditionSet%2Did}{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type PermissionGrantPolicy } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type ExcludesRequestBuilder } from './excludes/';
|
|
3
|
+
import { type IncludesRequestBuilder } from './includes/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface PermissionGrantPolicyItemRequestBuilder extends BaseRequestBuilder<PermissionGrantPolicyItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the excludes property of the microsoft.graph.permissionGrantPolicy entity.
|
|
11
|
+
*/
|
|
12
|
+
get excludes(): ExcludesRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the includes property of the microsoft.graph.permissionGrantPolicy entity.
|
|
15
|
+
*/
|
|
16
|
+
get includes(): IncludesRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete a permissionGrantPolicy object.
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
* @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-delete?view=graph-rest-1.0|Find more info here}
|
|
21
|
+
*/
|
|
22
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve a single permissionGrantPolicy object.
|
|
25
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
+
* @returns a Promise of PermissionGrantPolicy
|
|
27
|
+
* @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-get?view=graph-rest-1.0|Find more info here}
|
|
28
|
+
*/
|
|
29
|
+
get(requestConfiguration?: RequestConfiguration<PermissionGrantPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<PermissionGrantPolicy | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Update properties of a permissionGrantPolicy.
|
|
32
|
+
* @param body The request body
|
|
33
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
34
|
+
* @returns a Promise of PermissionGrantPolicy
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/permissiongrantpolicy-update?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
patch(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PermissionGrantPolicy | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete a permissionGrantPolicy object.
|
|
40
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
+
* @returns a RequestInformation
|
|
42
|
+
*/
|
|
43
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieve a single permissionGrantPolicy object.
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns a RequestInformation
|
|
48
|
+
*/
|
|
49
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
50
|
+
/**
|
|
51
|
+
* Update properties of a permissionGrantPolicy.
|
|
52
|
+
* @param body The request body
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns a RequestInformation
|
|
55
|
+
*/
|
|
56
|
+
toPatchRequestInformation(body: PermissionGrantPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Retrieve a single permissionGrantPolicy object.
|
|
60
|
+
*/
|
|
61
|
+
export interface PermissionGrantPolicyItemRequestBuilderGetQueryParameters {
|
|
62
|
+
/**
|
|
63
|
+
* Expand related entities
|
|
64
|
+
*/
|
|
65
|
+
expand?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* Select properties to be returned
|
|
68
|
+
*/
|
|
69
|
+
select?: string[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the navigation properties in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const PermissionGrantPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PermissionGrantPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const PermissionGrantPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24select,%24expand}";
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;AAC/K,OAAO,EAAuH,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC/K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;;;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,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;;OAMG;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;AAQD;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAW5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBA+BrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,mGAAmG,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const excludes_1 = require("./excludes/");
|
|
10
|
+
const includes_1 = require("./includes/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const PermissionGrantPolicyItemRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"select": "%24select",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
exports.PermissionGrantPolicyItemRequestBuilderNavigationMetadata = {
|
|
22
|
+
excludes: {
|
|
23
|
+
uriTemplate: excludes_1.ExcludesRequestBuilderUriTemplate,
|
|
24
|
+
requestsMetadata: excludes_1.ExcludesRequestBuilderRequestsMetadata,
|
|
25
|
+
navigationMetadata: excludes_1.ExcludesRequestBuilderNavigationMetadata,
|
|
26
|
+
},
|
|
27
|
+
includes: {
|
|
28
|
+
uriTemplate: includes_1.IncludesRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: includes_1.IncludesRequestBuilderRequestsMetadata,
|
|
30
|
+
navigationMetadata: includes_1.IncludesRequestBuilderNavigationMetadata,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Metadata for all the requests in the request builder.
|
|
35
|
+
*/
|
|
36
|
+
exports.PermissionGrantPolicyItemRequestBuilderRequestsMetadata = {
|
|
37
|
+
delete: {
|
|
38
|
+
responseBodyContentType: "application/json",
|
|
39
|
+
errorMappings: {
|
|
40
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
},
|
|
43
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
44
|
+
},
|
|
45
|
+
get: {
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
},
|
|
51
|
+
adapterMethodName: "sendAsync",
|
|
52
|
+
responseBodyFactory: models_1.createPermissionGrantPolicyFromDiscriminatorValue,
|
|
53
|
+
queryParametersMapper: PermissionGrantPolicyItemRequestBuilderGetQueryParametersMapper,
|
|
54
|
+
},
|
|
55
|
+
patch: {
|
|
56
|
+
responseBodyContentType: "application/json",
|
|
57
|
+
errorMappings: {
|
|
58
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
},
|
|
61
|
+
adapterMethodName: "sendAsync",
|
|
62
|
+
responseBodyFactory: models_1.createPermissionGrantPolicyFromDiscriminatorValue,
|
|
63
|
+
requestBodyContentType: "application/json",
|
|
64
|
+
requestBodySerializer: models_1.serializePermissionGrantPolicy,
|
|
65
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Uri template for the request builder.
|
|
70
|
+
*/
|
|
71
|
+
exports.PermissionGrantPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/permissionGrantPolicies/{permissionGrantPolicy%2Did}{?%24select,%24expand}";
|
|
72
|
+
/* tslint:enable */
|
|
73
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4EAA4E,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type UnifiedRoleManagementPolicy, type UnifiedRoleManagementPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type UnifiedRoleManagementPolicyItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface RoleManagementPoliciesRequestBuilder extends BaseRequestBuilder<RoleManagementPoliciesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the roleManagementPolicies property of the microsoft.graph.policyRoot entity.
|
|
15
|
+
* @param unifiedRoleManagementPolicyId The unique identifier of unifiedRoleManagementPolicy
|
|
16
|
+
* @returns a UnifiedRoleManagementPolicyItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byUnifiedRoleManagementPolicyId(unifiedRoleManagementPolicyId: string): UnifiedRoleManagementPolicyItemRequestBuilder;
|
|
19
|
+
/**
|
|
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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of UnifiedRoleManagementPolicyCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicies?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<RoleManagementPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<UnifiedRoleManagementPolicyCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to roleManagementPolicies for policies
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of UnifiedRoleManagementPolicy
|
|
31
|
+
*/
|
|
32
|
+
post(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnifiedRoleManagementPolicy | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* 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
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RoleManagementPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Create new navigation property to roleManagementPolicies for policies
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns a RequestInformation
|
|
44
|
+
*/
|
|
45
|
+
toPostRequestInformation(body: UnifiedRoleManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
export interface RoleManagementPoliciesRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Include count of items
|
|
53
|
+
*/
|
|
54
|
+
count?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Expand related entities
|
|
57
|
+
*/
|
|
58
|
+
expand?: string[];
|
|
59
|
+
/**
|
|
60
|
+
* Filter items by property values
|
|
61
|
+
*/
|
|
62
|
+
filter?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Order items by property values
|
|
65
|
+
*/
|
|
66
|
+
orderby?: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Search items by search phrases
|
|
69
|
+
*/
|
|
70
|
+
search?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
/**
|
|
76
|
+
* Skip the first n items
|
|
77
|
+
*/
|
|
78
|
+
skip?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Show only the first n items
|
|
81
|
+
*/
|
|
82
|
+
top?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const RoleManagementPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof RoleManagementPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const RoleManagementPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
/**
|
|
93
|
+
* Uri template for the request builder.
|
|
94
|
+
*/
|
|
95
|
+
export declare const RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
96
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,+BAA+B,CAAC,6BAA6B,EAAE,MAAM,GAAI,6CAA6C,CAAC;IACxH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6CAA6C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,2BAA2B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC7J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,sDAAsD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/J;;;;;OAKG;IACF,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,sDAAsD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oCAAoC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWtL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBAuBlE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,4HAA4H,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoleManagementPoliciesRequestBuilderUriTemplate = exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const RoleManagementPoliciesRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.RoleManagementPoliciesRequestBuilderNavigationMetadata = {
|
|
28
|
+
byUnifiedRoleManagementPolicyId: {
|
|
29
|
+
uriTemplate: item_1.UnifiedRoleManagementPolicyItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.UnifiedRoleManagementPolicyItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.UnifiedRoleManagementPolicyItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["unifiedRoleManagementPolicy%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.RoleManagementPoliciesRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: RoleManagementPoliciesRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createUnifiedRoleManagementPolicyFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeUnifiedRoleManagementPolicy,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.RoleManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,8HAA8H,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/policies/roleManagementPolicies/{unifiedRoleManagementPolicy%2Did}/effectiveRules/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|