You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Whether any changes to flags in this environment will require approval.
1469
+
* Whether any changes to flags in this environment will require approval. You may only set required or requiredApprovalTags, not both.
1470
1470
*/
1471
1471
'required'?: boolean;
1472
1472
/**
@@ -1481,6 +1481,10 @@ export class EnvironmentApprovalSettings {
1481
1481
* Whether changes can be applied as long as minNumApprovals is met, regardless of if any reviewers have declined a request.
1482
1482
*/
1483
1483
'canApplyDeclinedChanges'?: boolean;
1484
+
/**
1485
+
* An array of tags used to specify which flags with those tags require approval. You may only set requiredApprovalTags or required, not both.
1486
+
*/
1487
+
'requiredApprovalTags'?: Array<string>;
1484
1488
1485
1489
staticdiscriminator: string|undefined=undefined;
1486
1490
@@ -1509,6 +1513,11 @@ export class EnvironmentApprovalSettings {
1509
1513
"name": "canApplyDeclinedChanges",
1510
1514
"baseName": "canApplyDeclinedChanges",
1511
1515
"type": "boolean"
1516
+
},
1517
+
{
1518
+
"name": "requiredApprovalTags",
1519
+
"baseName": "requiredApprovalTags",
1520
+
"type": "Array<string>"
1512
1521
}];
1513
1522
1514
1523
staticgetAttributeTypeMap(){
@@ -7541,7 +7550,7 @@ export class EnvironmentsApi {
7541
7550
}
7542
7551
/**
7543
7552
*
7544
-
* @summary Modify an environment by ID.
7553
+
* @summary Modify an environment by ID. If you try to patch the environment by setting both required and requiredApprovalTags, it will result in an error. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates with either mechanism.
7545
7554
* @param projectKey The project key, used to tie the flags together under one project so they can be managed together.
7546
7555
* @param environmentKey The environment key, used to tie together flag configuration and users under one environment so they can be managed together.
7547
7556
* @param patchDelta Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/'
0 commit comments