# ApprovalSettings
## Example Usage
```typescript
import { ApprovalSettings } from "@launchdarkly/mcp-server/models/components";
let value: ApprovalSettings = {
required: true,
bypassApprovalsForPendingChanges: false,
minNumApprovals: 1,
canReviewOwnRequest: false,
canApplyDeclinedChanges: true,
autoApplyApprovedChanges: true,
serviceKind: "launchdarkly",
serviceConfig: {},
requiredApprovalTags: [
"require-approval",
],
serviceKindConfigurationId: "1ef45a85-218f-4428-a8b2-a97e5f56c258",
};
```
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `required` | *boolean* | :heavy_check_mark: | If approvals are required for this environment | true |
| `bypassApprovalsForPendingChanges` | *boolean* | :heavy_check_mark: | Whether to skip approvals for pending changes | false |
| `minNumApprovals` | *number* | :heavy_check_mark: | Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five. | 1 |
| `canReviewOwnRequest` | *boolean* | :heavy_check_mark: | Allow someone who makes an approval request to apply their own change | false |
| `canApplyDeclinedChanges` | *boolean* | :heavy_check_mark: | Allow applying the change as long as at least one person has approved | true |
| `autoApplyApprovedChanges` | *boolean* | :heavy_minus_sign: | Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly. | true |
| `serviceKind` | *string* | :heavy_check_mark: | Which service to use for managing approvals | launchdarkly |
| `serviceConfig` | Record<string, *any*> | :heavy_check_mark: | N/A | {} |
| `requiredApprovalTags` | *string*[] | :heavy_check_mark: | Require approval only on flags with the provided tags. Otherwise all flags will require approval. | [<br/>"require-approval"<br/>] |
| `serviceKindConfigurationId` | *string* | :heavy_minus_sign: | Optional field for integration configuration ID of a custom approval integration. This is an Enterprise-only feature. | 1ef45a85-218f-4428-a8b2-a97e5f56c258 |
| `resourceKind` | *string* | :heavy_minus_sign: | The kind of resource for which the approval settings apply, for example, flag or segment | |