@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,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DirectoryObjectItemRequestBuilderUriTemplate = exports.DirectoryObjectItemRequestBuilderRequestsMetadata = 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 DirectoryObjectItemRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.DirectoryObjectItemRequestBuilderRequestsMetadata = {
|
|
20
|
+
get: {
|
|
21
|
+
responseBodyContentType: "application/json",
|
|
22
|
+
errorMappings: {
|
|
23
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
},
|
|
26
|
+
adapterMethodName: "sendAsync",
|
|
27
|
+
responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
|
|
28
|
+
queryParametersMapper: DirectoryObjectItemRequestBuilderGetQueryParametersMapper,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Uri template for the request builder.
|
|
33
|
+
*/
|
|
34
|
+
exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}/appliesTo/{directoryObject%2Did}{?%24select,%24expand}";
|
|
35
|
+
/* tslint:enable */
|
|
36
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type ActivityBasedTimeoutPolicy } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AppliesToRequestBuilder } from './appliesTo/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the activityBasedTimeoutPolicies property of the microsoft.graph.policyRoot entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface ActivityBasedTimeoutPolicyItemRequestBuilder extends BaseRequestBuilder<ActivityBasedTimeoutPolicyItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the appliesTo property of the microsoft.graph.stsPolicy entity.
|
|
10
|
+
*/
|
|
11
|
+
get appliesTo(): AppliesToRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete an activityBasedTimeoutPolicy object.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-delete?view=graph-rest-1.0|Find more info here}
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Get the properties of an activityBasedTimeoutPolicy object.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a Promise of ActivityBasedTimeoutPolicy
|
|
22
|
+
* @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-get?view=graph-rest-1.0|Find more info here}
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the properties of an activityBasedTimeoutPolicy object.
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of ActivityBasedTimeoutPolicy
|
|
30
|
+
* @see {@link https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-update?view=graph-rest-1.0|Find more info here}
|
|
31
|
+
*/
|
|
32
|
+
patch(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ActivityBasedTimeoutPolicy | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete an activityBasedTimeoutPolicy object.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Get the properties of an activityBasedTimeoutPolicy object.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the properties of an activityBasedTimeoutPolicy object.
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a RequestInformation
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: ActivityBasedTimeoutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Get the properties of an activityBasedTimeoutPolicy object.
|
|
55
|
+
*/
|
|
56
|
+
export interface ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the navigation properties in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ActivityBasedTimeoutPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the requests in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
74
|
+
/**
|
|
75
|
+
* Uri template for the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}{?%24select,%24expand}";
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,8DAA8D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,0BAA0B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtJ;AACD;;GAEG;AACH,MAAM,WAAW,8DAA8D;IAC3E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,8DAA8D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4CAA4C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMtM,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4DAA4D,EAAE,gBA+B1E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,6GAA6G,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate = exports.ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata = exports.ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetadata = 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 appliesTo_1 = require("./appliesTo/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.ActivityBasedTimeoutPolicyItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
appliesTo: {
|
|
22
|
+
uriTemplate: appliesTo_1.AppliesToRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: appliesTo_1.AppliesToRequestBuilderRequestsMetadata,
|
|
24
|
+
navigationMetadata: appliesTo_1.AppliesToRequestBuilderNavigationMetadata,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the requests in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
exports.ActivityBasedTimeoutPolicyItemRequestBuilderRequestsMetadata = {
|
|
31
|
+
delete: {
|
|
32
|
+
responseBodyContentType: "application/json",
|
|
33
|
+
errorMappings: {
|
|
34
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
38
|
+
},
|
|
39
|
+
get: {
|
|
40
|
+
responseBodyContentType: "application/json",
|
|
41
|
+
errorMappings: {
|
|
42
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendAsync",
|
|
46
|
+
responseBodyFactory: models_1.createActivityBasedTimeoutPolicyFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
patch: {
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendAsync",
|
|
56
|
+
responseBodyFactory: models_1.createActivityBasedTimeoutPolicyFromDiscriminatorValue,
|
|
57
|
+
requestBodyContentType: "application/json",
|
|
58
|
+
requestBodySerializer: models_1.serializeActivityBasedTimeoutPolicy,
|
|
59
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.ActivityBasedTimeoutPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/activityBasedTimeoutPolicies/{activityBasedTimeoutPolicy%2Did}{?%24select,%24expand}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type AdminConsentRequestPolicy } 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 adminConsentRequestPolicy property of the microsoft.graph.policyRoot entity.
|
|
5
|
+
*/
|
|
6
|
+
export interface AdminConsentRequestPolicyRequestBuilder extends BaseRequestBuilder<AdminConsentRequestPolicyRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete navigation property adminConsentRequestPolicy for policies
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Read the properties and relationships of an adminConsentRequestPolicy object.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a Promise of AdminConsentRequestPolicy
|
|
16
|
+
* @see {@link https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-get?view=graph-rest-1.0|Find more info here}
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<AdminConsentRequestPolicyRequestBuilderGetQueryParameters> | undefined): Promise<AdminConsentRequestPolicy | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Update the properties of an adminConsentRequestPolicy object.
|
|
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 AdminConsentRequestPolicy
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-update?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
patch(body: AdminConsentRequestPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdminConsentRequestPolicy | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete navigation property adminConsentRequestPolicy for policies
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
/**
|
|
34
|
+
* Read the properties and relationships of an adminConsentRequestPolicy object.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AdminConsentRequestPolicyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Update the properties of an adminConsentRequestPolicy object.
|
|
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
|
+
toPatchRequestInformation(body: AdminConsentRequestPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Read the properties and relationships of an adminConsentRequestPolicy object.
|
|
49
|
+
*/
|
|
50
|
+
export interface AdminConsentRequestPolicyRequestBuilderGetQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* Expand related entities
|
|
53
|
+
*/
|
|
54
|
+
expand?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Select properties to be returned
|
|
57
|
+
*/
|
|
58
|
+
select?: string[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const AdminConsentRequestPolicyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const AdminConsentRequestPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/adminConsentRequestPolicy{?%24select,%24expand}";
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6F,KAAK,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3K,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;OAGG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC1K;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;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,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;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,uDAAuD,EAAE,gBA+BrE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,wEAAwE,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminConsentRequestPolicyRequestBuilderUriTemplate = exports.AdminConsentRequestPolicyRequestBuilderRequestsMetadata = 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 AdminConsentRequestPolicyRequestBuilderGetQueryParametersMapper = {
|
|
13
|
+
"expand": "%24expand",
|
|
14
|
+
"select": "%24select",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Metadata for all the requests in the request builder.
|
|
18
|
+
*/
|
|
19
|
+
exports.AdminConsentRequestPolicyRequestBuilderRequestsMetadata = {
|
|
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.createAdminConsentRequestPolicyFromDiscriminatorValue,
|
|
36
|
+
queryParametersMapper: AdminConsentRequestPolicyRequestBuilderGetQueryParametersMapper,
|
|
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.createAdminConsentRequestPolicyFromDiscriminatorValue,
|
|
46
|
+
requestBodyContentType: "application/json",
|
|
47
|
+
requestBodySerializer: models_1.serializeAdminConsentRequestPolicy,
|
|
48
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Uri template for the request builder.
|
|
53
|
+
*/
|
|
54
|
+
exports.AdminConsentRequestPolicyRequestBuilderUriTemplate = "{+baseurl}/policies/adminConsentRequestPolicy{?%24select,%24expand}";
|
|
55
|
+
/* tslint:enable */
|
|
56
|
+
/* 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/appManagementPolicies/$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,2EAA2E,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/appManagementPolicies/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type AppManagementPolicy, type AppManagementPolicyCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type AppManagementPolicyItemRequestBuilder } 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 appManagementPolicies property of the microsoft.graph.policyRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface AppManagementPoliciesRequestBuilder extends BaseRequestBuilder<AppManagementPoliciesRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the appManagementPolicies property of the microsoft.graph.policyRoot entity.
|
|
15
|
+
* @param appManagementPolicyId The unique identifier of appManagementPolicy
|
|
16
|
+
* @returns a AppManagementPolicyItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byAppManagementPolicyId(appManagementPolicyId: string): AppManagementPolicyItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a list of appManagementPolicy objects.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of AppManagementPolicyCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/appmanagementpolicy-list?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<AppManagementPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<AppManagementPolicyCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create an appManagementPolicy object.
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of AppManagementPolicy
|
|
31
|
+
* @see {@link https://learn.microsoft.com/graph/api/appmanagementpolicy-post?view=graph-rest-1.0|Find more info here}
|
|
32
|
+
*/
|
|
33
|
+
post(body: AppManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AppManagementPolicy | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieve a list of appManagementPolicy objects.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a RequestInformation
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AppManagementPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create an appManagementPolicy object.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns a RequestInformation
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: AppManagementPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve a list of appManagementPolicy objects.
|
|
50
|
+
*/
|
|
51
|
+
export interface AppManagementPoliciesRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Metadata for all the navigation properties in the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const AppManagementPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof AppManagementPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the requests in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const AppManagementPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const AppManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/appManagementPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAoK,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AACvO,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,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9I;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;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,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,2HAA2H,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppManagementPoliciesRequestBuilderUriTemplate = exports.AppManagementPoliciesRequestBuilderRequestsMetadata = exports.AppManagementPoliciesRequestBuilderNavigationMetadata = 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 AppManagementPoliciesRequestBuilderGetQueryParametersMapper = {
|
|
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.AppManagementPoliciesRequestBuilderNavigationMetadata = {
|
|
28
|
+
byAppManagementPolicyId: {
|
|
29
|
+
uriTemplate: item_1.AppManagementPolicyItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.AppManagementPolicyItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.AppManagementPolicyItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["appManagementPolicy%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.AppManagementPoliciesRequestBuilderRequestsMetadata = {
|
|
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.createAppManagementPolicyCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: AppManagementPoliciesRequestBuilderGetQueryParametersMapper,
|
|
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.createAppManagementPolicyFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializeAppManagementPolicy,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.AppManagementPoliciesRequestBuilderUriTemplate = "{+baseurl}/policies/appManagementPolicies{?%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/appManagementPolicies/{appManagementPolicy%2Did}/appliesTo/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,gHAAgH,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/appManagementPolicies/{appManagementPolicy%2Did}/appliesTo/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|