Skip to content

Commit 77db42a

Browse files
author
LaunchDarklyReleaseBot
committed
Version 7.1.1 automatically generated from ld-openapi.
1 parent 628260b commit 77db42a

File tree

252 files changed

+428
-288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+428
-288
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ docs/MemberImportItemRep.md
123123
docs/MemberPermissionGrantSummaryRep.md
124124
docs/MemberSummaryRep.md
125125
docs/MemberTeamSummaryRep.md
126-
docs/MemberTeamsFormPost.md
126+
docs/MemberTeamsPostInput.md
127127
docs/Members.md
128128
docs/MethodNotAllowedErrorRep.md
129129
docs/MetricCollectionRep.md
@@ -376,7 +376,7 @@ src/model/MemberImportItemRep.js
376376
src/model/MemberPermissionGrantSummaryRep.js
377377
src/model/MemberSummaryRep.js
378378
src/model/MemberTeamSummaryRep.js
379-
src/model/MemberTeamsFormPost.js
379+
src/model/MemberTeamsPostInput.js
380380
src/model/Members.js
381381
src/model/MethodNotAllowedErrorRep.js
382382
src/model/MetricCollectionRep.js
@@ -612,7 +612,7 @@ test/model/MemberImportItemRep.spec.js
612612
test/model/MemberPermissionGrantSummaryRep.spec.js
613613
test/model/MemberSummaryRep.spec.js
614614
test/model/MemberTeamSummaryRep.spec.js
615-
test/model/MemberTeamsFormPost.spec.js
615+
test/model/MemberTeamsPostInput.spec.js
616616
test/model/Members.spec.js
617617
test/model/MethodNotAllowedErrorRep.spec.js
618618
test/model/MetricCollectionRep.spec.js

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ If you would like to upgrade your integration to use a new API version, you can
440440
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
441441

442442
- API version: 2.0
443-
- Package version: 7.1.0
443+
- Package version: 7.1.1
444444
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
445445
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
446446

@@ -814,7 +814,7 @@ Class | Method | HTTP request | Description
814814
- [LaunchDarklyApi.MemberPermissionGrantSummaryRep](docs/MemberPermissionGrantSummaryRep.md)
815815
- [LaunchDarklyApi.MemberSummaryRep](docs/MemberSummaryRep.md)
816816
- [LaunchDarklyApi.MemberTeamSummaryRep](docs/MemberTeamSummaryRep.md)
817-
- [LaunchDarklyApi.MemberTeamsFormPost](docs/MemberTeamsFormPost.md)
817+
- [LaunchDarklyApi.MemberTeamsPostInput](docs/MemberTeamsPostInput.md)
818818
- [LaunchDarklyApi.Members](docs/Members.md)
819819
- [LaunchDarklyApi.MethodNotAllowedErrorRep](docs/MethodNotAllowedErrorRep.md)
820820
- [LaunchDarklyApi.MetricCollectionRep](docs/MetricCollectionRep.md)

docs/AccountMembersApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ ApiKey.apiKey = 'YOUR API KEY';
195195

196196
let apiInstance = new LaunchDarklyApi.AccountMembersApi();
197197
let id = "id_example"; // String | The member ID
198-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
198+
let patchOperation = [{"op":"add","path":"/role","value":"writer"}]; // [PatchOperation] |
199199
apiInstance.patchMember(id, patchOperation, (error, data, response) => {
200200
if (error) {
201201
console.error(error);
@@ -229,7 +229,7 @@ Name | Type | Description | Notes
229229

230230
## postMemberTeams
231231

232-
> Member postMemberTeams(id, memberTeamsFormPost)
232+
> Member postMemberTeams(id, memberTeamsPostInput)
233233
234234
Add member to teams
235235

@@ -248,8 +248,8 @@ ApiKey.apiKey = 'YOUR API KEY';
248248

249249
let apiInstance = new LaunchDarklyApi.AccountMembersApi();
250250
let id = "id_example"; // String | The member ID
251-
let memberTeamsFormPost = new LaunchDarklyApi.MemberTeamsFormPost(); // MemberTeamsFormPost |
252-
apiInstance.postMemberTeams(id, memberTeamsFormPost, (error, data, response) => {
251+
let memberTeamsPostInput = new LaunchDarklyApi.MemberTeamsPostInput(); // MemberTeamsPostInput |
252+
apiInstance.postMemberTeams(id, memberTeamsPostInput, (error, data, response) => {
253253
if (error) {
254254
console.error(error);
255255
} else {
@@ -264,7 +264,7 @@ apiInstance.postMemberTeams(id, memberTeamsFormPost, (error, data, response) =>
264264
Name | Type | Description | Notes
265265
------------- | ------------- | ------------- | -------------
266266
**id** | **String**| The member ID |
267-
**memberTeamsFormPost** | [**MemberTeamsFormPost**](MemberTeamsFormPost.md)| |
267+
**memberTeamsPostInput** | [**MemberTeamsPostInput**](MemberTeamsPostInput.md)| |
268268

269269
### Return type
270270

docs/CodeReferencesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ ApiKey.apiKey = 'YOUR API KEY';
530530

531531
let apiInstance = new LaunchDarklyApi.CodeReferencesApi();
532532
let repo = "repo_example"; // String | The repository name
533-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
533+
let patchOperation = [{"op":"replace","path":"/defaultBranch","value":"main"}]; // [PatchOperation] |
534534
apiInstance.patchRepository(repo, patchOperation, (error, data, response) => {
535535
if (error) {
536536
console.error(error);

docs/EnvironmentsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Name | Type | Description | Notes
125125
126126
Update environment
127127

128-
> ### Approval settings > > The `approvalSettings` key is only returned when the Flag Approvals feature is enabled. > > Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. > > If you try to patch the environment by setting both `required` and `requiredApprovalTags`, it fails and an error appears. 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 by either mechanism.
128+
Update an environment. Requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes to the environment. To update fields in the environment object that are arrays, set the `path` to the name of the field and then append `/<array index>`. Using `/0` appends to the beginning of the array. ### Approval settings This request only returns the `approvalSettings` key if the [Flag Approvals](https://docs.launchdarkly.com/home/feature-workflows/approvals) feature is enabled. Only the `canReviewOwnRequest`, `canApplyDeclinedChanges`, `minNumApprovals`, `required` and `requiredApprovalTagsfields` are editable. If you try to patch the environment by setting both `required` and `requiredApprovalTags`, the request fails and an error appears. You can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on a Pro or Enterprise plan can require approval for flag updates by either mechanism.
129129

130130
### Example
131131

@@ -141,7 +141,7 @@ ApiKey.apiKey = 'YOUR API KEY';
141141
let apiInstance = new LaunchDarklyApi.EnvironmentsApi();
142142
let projectKey = "projectKey_example"; // String | The project key
143143
let environmentKey = "environmentKey_example"; // String | The environment key
144-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
144+
let patchOperation = [{"op":"replace","path":"/requireComments","value":true}]; // [PatchOperation] |
145145
apiInstance.patchEnvironment(projectKey, environmentKey, patchOperation, (error, data, response) => {
146146
if (error) {
147147
console.error(error);

docs/IntegrationAuditLogSubscriptionsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ ApiKey.apiKey = 'YOUR API KEY';
244244
let apiInstance = new LaunchDarklyApi.IntegrationAuditLogSubscriptionsApi();
245245
let integrationKey = "integrationKey_example"; // String | The integration key
246246
let id = "id_example"; // String | The ID of the audit log subscription
247-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
247+
let patchOperation = [{"op":"replace","path":"/on","value":false}]; // [PatchOperation] |
248248
apiInstance.updateSubscription(integrationKey, id, patchOperation, (error, data, response) => {
249249
if (error) {
250250
console.error(error);

docs/MemberTeamsPostInput.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# LaunchDarklyApi.MemberTeamsPostInput
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**teamKeys** | **[String]** | List of team keys |
8+
9+

docs/MetricsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Name | Type | Description | Notes
175175
176176
Update metric
177177

178-
Patch a environment by key.
178+
Patch a metric by key.
179179

180180
### Example
181181

@@ -191,7 +191,7 @@ ApiKey.apiKey = 'YOUR API KEY';
191191
let apiInstance = new LaunchDarklyApi.MetricsApi();
192192
let projectKey = "projectKey_example"; // String | The project key
193193
let key = "key_example"; // String | The metric key
194-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
194+
let patchOperation = [{"op":"replace","path":"/name","value":"my-updated-metric"}]; // [PatchOperation] |
195195
apiInstance.patchMetric(projectKey, key, patchOperation, (error, data, response) => {
196196
if (error) {
197197
console.error(error);

docs/ProjectsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ ApiKey.apiKey = 'YOUR API KEY';
182182

183183
let apiInstance = new LaunchDarklyApi.ProjectsApi();
184184
let projectKey = "projectKey_example"; // String | The project key
185-
let patchOperation = [new LaunchDarklyApi.PatchOperation()]; // [PatchOperation] |
185+
let patchOperation = [{"op":"add","path":"/tags/0","value":"another-tag"}]; // [PatchOperation] |
186186
apiInstance.patchProject(projectKey, patchOperation, (error, data, response) => {
187187
if (error) {
188188
console.error(error);

docs/StatementPost.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**resources** | **[String]** | Resource specifier strings |
7+
**resources** | **[String]** | Resource specifier strings | [optional]
88
**notResources** | **[String]** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional]
9-
**actions** | **[String]** | Actions to perform on a resource |
9+
**actions** | **[String]** | Actions to perform on a resource | [optional]
1010
**notActions** | **[String]** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
1111
**effect** | **String** | |
1212

0 commit comments

Comments
 (0)