Skip to content

Commit 9ef522d

Browse files
author
LaunchDarklyReleaseBot
committed
Version 15.1.0 automatically generated from ld-openapi.
1 parent 31f0a20 commit 9ef522d

File tree

470 files changed

+993
-484
lines changed

Some content is hidden

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

470 files changed

+993
-484
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ docs/RelayAutoConfigPost.md
338338
docs/RelayAutoConfigRep.md
339339
docs/RelayProxyConfigurationsApi.md
340340
docs/Release.md
341+
docs/ReleaseAudience.md
341342
docs/ReleasePhase.md
342343
docs/ReleasePipeline.md
343344
docs/ReleasePipelineCollection.md
@@ -803,6 +804,7 @@ src/model/RelayAutoConfigCollectionRep.js
803804
src/model/RelayAutoConfigPost.js
804805
src/model/RelayAutoConfigRep.js
805806
src/model/Release.js
807+
src/model/ReleaseAudience.js
806808
src/model/ReleasePhase.js
807809
src/model/ReleasePipeline.js
808810
src/model/ReleasePipelineCollection.js
@@ -1249,6 +1251,7 @@ test/model/RelayAutoConfigCollectionRep.spec.js
12491251
test/model/RelayAutoConfigPost.spec.js
12501252
test/model/RelayAutoConfigRep.spec.js
12511253
test/model/Release.spec.js
1254+
test/model/ReleaseAudience.spec.js
12521255
test/model/ReleasePhase.spec.js
12531256
test/model/ReleasePipeline.spec.js
12541257
test/model/ReleasePipelineCollection.spec.js

README.md

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

396396
- API version: 2.0
397-
- Package version: 15.0.0
397+
- Package version: 15.1.0
398398
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
399399
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
400400

@@ -529,13 +529,15 @@ Class | Method | HTTP request | Description
529529
*LaunchDarklyApi.AccountMembersApi* | [**postMemberTeams**](docs/AccountMembersApi.md#postMemberTeams) | **POST** /api/v2/members/{id}/teams | Add a member to teams
530530
*LaunchDarklyApi.AccountMembersApi* | [**postMembers**](docs/AccountMembersApi.md#postMembers) | **POST** /api/v2/members | Invite new members
531531
*LaunchDarklyApi.AccountMembersBetaApi* | [**patchMembers**](docs/AccountMembersBetaApi.md#patchMembers) | **PATCH** /api/v2/members | Modify account members
532+
*LaunchDarklyApi.AccountUsageBetaApi* | [**getDataExportEventsUsage**](docs/AccountUsageBetaApi.md#getDataExportEventsUsage) | **GET** /api/v2/usage/data-export-events | Get data export events usage
532533
*LaunchDarklyApi.AccountUsageBetaApi* | [**getEvaluationsUsage**](docs/AccountUsageBetaApi.md#getEvaluationsUsage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
533534
*LaunchDarklyApi.AccountUsageBetaApi* | [**getEventsUsage**](docs/AccountUsageBetaApi.md#getEventsUsage) | **GET** /api/v2/usage/events/{type} | Get events usage
534535
*LaunchDarklyApi.AccountUsageBetaApi* | [**getExperimentationKeysUsage**](docs/AccountUsageBetaApi.md#getExperimentationKeysUsage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage
535536
*LaunchDarklyApi.AccountUsageBetaApi* | [**getExperimentationUnitsUsage**](docs/AccountUsageBetaApi.md#getExperimentationUnitsUsage) | **GET** /api/v2/usage/experimentation-units | Get experimentation units usage
536537
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauSdksByType**](docs/AccountUsageBetaApi.md#getMauSdksByType) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
537538
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauUsage**](docs/AccountUsageBetaApi.md#getMauUsage) | **GET** /api/v2/usage/mau | Get MAU usage
538539
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauUsageByCategory**](docs/AccountUsageBetaApi.md#getMauUsageByCategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
540+
*LaunchDarklyApi.AccountUsageBetaApi* | [**getServiceConnectionUsage**](docs/AccountUsageBetaApi.md#getServiceConnectionUsage) | **GET** /api/v2/usage/service-connections | Get service connection usage
539541
*LaunchDarklyApi.AccountUsageBetaApi* | [**getStreamUsage**](docs/AccountUsageBetaApi.md#getStreamUsage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
540542
*LaunchDarklyApi.AccountUsageBetaApi* | [**getStreamUsageBySdkVersion**](docs/AccountUsageBetaApi.md#getStreamUsageBySdkVersion) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
541543
*LaunchDarklyApi.AccountUsageBetaApi* | [**getStreamUsageSdkversion**](docs/AccountUsageBetaApi.md#getStreamUsageSdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
@@ -644,7 +646,7 @@ Class | Method | HTTP request | Description
644646
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getDeploymentFrequencyChart**](docs/InsightsChartsBetaApi.md#getDeploymentFrequencyChart) | **GET** /api/v2/engineering-insights/charts/deployments/frequency | Get deployment frequency chart data
645647
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getFlagStatusChart**](docs/InsightsChartsBetaApi.md#getFlagStatusChart) | **GET** /api/v2/engineering-insights/charts/flags/status | Get flag status chart data
646648
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getLeadTimeChart**](docs/InsightsChartsBetaApi.md#getLeadTimeChart) | **GET** /api/v2/engineering-insights/charts/lead-time | Get lead time chart data
647-
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getReleaseFrequencyChart**](docs/InsightsChartsBetaApi.md#getReleaseFrequencyChart) | **GET** /api/v2/engineering-insights/charts/releases/frequency | Get replease frequency chart data
649+
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getReleaseFrequencyChart**](docs/InsightsChartsBetaApi.md#getReleaseFrequencyChart) | **GET** /api/v2/engineering-insights/charts/releases/frequency | Get release frequency chart data
648650
*LaunchDarklyApi.InsightsChartsBetaApi* | [**getStaleFlagsChart**](docs/InsightsChartsBetaApi.md#getStaleFlagsChart) | **GET** /api/v2/engineering-insights/charts/flags/stale | Get stale flags chart data
649651
*LaunchDarklyApi.InsightsDeploymentsBetaApi* | [**createDeploymentEvent**](docs/InsightsDeploymentsBetaApi.md#createDeploymentEvent) | **POST** /api/v2/engineering-insights/deployment-events | Create deployment event
650652
*LaunchDarklyApi.InsightsDeploymentsBetaApi* | [**getDeployment**](docs/InsightsDeploymentsBetaApi.md#getDeployment) | **GET** /api/v2/engineering-insights/deployments/{deploymentID} | Get deployment
@@ -1078,6 +1080,7 @@ Class | Method | HTTP request | Description
10781080
- [LaunchDarklyApi.RelayAutoConfigPost](docs/RelayAutoConfigPost.md)
10791081
- [LaunchDarklyApi.RelayAutoConfigRep](docs/RelayAutoConfigRep.md)
10801082
- [LaunchDarklyApi.Release](docs/Release.md)
1083+
- [LaunchDarklyApi.ReleaseAudience](docs/ReleaseAudience.md)
10811084
- [LaunchDarklyApi.ReleasePhase](docs/ReleasePhase.md)
10821085
- [LaunchDarklyApi.ReleasePipeline](docs/ReleasePipeline.md)
10831086
- [LaunchDarklyApi.ReleasePipelineCollection](docs/ReleasePipelineCollection.md)

docs/AccountUsageBetaApi.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,76 @@ All URIs are relative to *https://app.launchdarkly.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**getDataExportEventsUsage**](AccountUsageBetaApi.md#getDataExportEventsUsage) | **GET** /api/v2/usage/data-export-events | Get data export events usage
78
[**getEvaluationsUsage**](AccountUsageBetaApi.md#getEvaluationsUsage) | **GET** /api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey} | Get evaluations usage
89
[**getEventsUsage**](AccountUsageBetaApi.md#getEventsUsage) | **GET** /api/v2/usage/events/{type} | Get events usage
910
[**getExperimentationKeysUsage**](AccountUsageBetaApi.md#getExperimentationKeysUsage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage
1011
[**getExperimentationUnitsUsage**](AccountUsageBetaApi.md#getExperimentationUnitsUsage) | **GET** /api/v2/usage/experimentation-units | Get experimentation units usage
1112
[**getMauSdksByType**](AccountUsageBetaApi.md#getMauSdksByType) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
1213
[**getMauUsage**](AccountUsageBetaApi.md#getMauUsage) | **GET** /api/v2/usage/mau | Get MAU usage
1314
[**getMauUsageByCategory**](AccountUsageBetaApi.md#getMauUsageByCategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
15+
[**getServiceConnectionUsage**](AccountUsageBetaApi.md#getServiceConnectionUsage) | **GET** /api/v2/usage/service-connections | Get service connection usage
1416
[**getStreamUsage**](AccountUsageBetaApi.md#getStreamUsage) | **GET** /api/v2/usage/streams/{source} | Get stream usage
1517
[**getStreamUsageBySdkVersion**](AccountUsageBetaApi.md#getStreamUsageBySdkVersion) | **GET** /api/v2/usage/streams/{source}/bysdkversion | Get stream usage by SDK version
1618
[**getStreamUsageSdkversion**](AccountUsageBetaApi.md#getStreamUsageSdkversion) | **GET** /api/v2/usage/streams/{source}/sdkversions | Get stream usage SDK versions
1719

1820

1921

22+
## getDataExportEventsUsage
23+
24+
> SeriesIntervalsRep getDataExportEventsUsage(opts)
25+
26+
Get data export events usage
27+
28+
Get a time-series array of the number of monthly data export events from your account. The granularity is always daily, with a maximum of 31 days.
29+
30+
### Example
31+
32+
```javascript
33+
import LaunchDarklyApi from 'launchdarkly-api';
34+
let defaultClient = LaunchDarklyApi.ApiClient.instance;
35+
// Configure API key authorization: ApiKey
36+
let ApiKey = defaultClient.authentications['ApiKey'];
37+
ApiKey.apiKey = 'YOUR API KEY';
38+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
39+
//ApiKey.apiKeyPrefix = 'Token';
40+
41+
let apiInstance = new LaunchDarklyApi.AccountUsageBetaApi();
42+
let opts = {
43+
'from': "from_example", // String | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
44+
'to': "to_example" // String | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
45+
};
46+
apiInstance.getDataExportEventsUsage(opts, (error, data, response) => {
47+
if (error) {
48+
console.error(error);
49+
} else {
50+
console.log('API called successfully. Returned data: ' + data);
51+
}
52+
});
53+
```
54+
55+
### Parameters
56+
57+
58+
Name | Type | Description | Notes
59+
------------- | ------------- | ------------- | -------------
60+
**from** | **String**| The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional]
61+
**to** | **String**| The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional]
62+
63+
### Return type
64+
65+
[**SeriesIntervalsRep**](SeriesIntervalsRep.md)
66+
67+
### Authorization
68+
69+
[ApiKey](../README.md#ApiKey)
70+
71+
### HTTP request headers
72+
73+
- **Content-Type**: Not defined
74+
- **Accept**: application/json
75+
76+
2077
## getEvaluationsUsage
2178

2279
> SeriesListRep getEvaluationsUsage(projectKey, environmentKey, featureFlagKey, opts)
@@ -426,6 +483,61 @@ Name | Type | Description | Notes
426483
- **Accept**: application/json
427484

428485

486+
## getServiceConnectionUsage
487+
488+
> SeriesIntervalsRep getServiceConnectionUsage(opts)
489+
490+
Get service connection usage
491+
492+
Get a time-series array of the number of monthly service connections from your account. The granularity is always daily, with a maximum of 31 days.
493+
494+
### Example
495+
496+
```javascript
497+
import LaunchDarklyApi from 'launchdarkly-api';
498+
let defaultClient = LaunchDarklyApi.ApiClient.instance;
499+
// Configure API key authorization: ApiKey
500+
let ApiKey = defaultClient.authentications['ApiKey'];
501+
ApiKey.apiKey = 'YOUR API KEY';
502+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
503+
//ApiKey.apiKeyPrefix = 'Token';
504+
505+
let apiInstance = new LaunchDarklyApi.AccountUsageBetaApi();
506+
let opts = {
507+
'from': "from_example", // String | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
508+
'to': "to_example" // String | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
509+
};
510+
apiInstance.getServiceConnectionUsage(opts, (error, data, response) => {
511+
if (error) {
512+
console.error(error);
513+
} else {
514+
console.log('API called successfully. Returned data: ' + data);
515+
}
516+
});
517+
```
518+
519+
### Parameters
520+
521+
522+
Name | Type | Description | Notes
523+
------------- | ------------- | ------------- | -------------
524+
**from** | **String**| The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. | [optional]
525+
**to** | **String**| The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. | [optional]
526+
527+
### Return type
528+
529+
[**SeriesIntervalsRep**](SeriesIntervalsRep.md)
530+
531+
### Authorization
532+
533+
[ApiKey](../README.md#ApiKey)
534+
535+
### HTTP request headers
536+
537+
- **Content-Type**: Not defined
538+
- **Accept**: application/json
539+
540+
429541
## getStreamUsage
430542

431543
> SeriesListRep getStreamUsage(source, opts)

docs/FeatureFlagBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Name | Type | Description | Notes
1616
**defaults** | [**Defaults**](Defaults.md) | | [optional]
1717
**purpose** | **String** | Purpose of the flag | [optional]
1818
**migrationSettings** | [**MigrationSettingsPost**](MigrationSettingsPost.md) | | [optional]
19+
**maintainerId** | **String** | The ID of the member who maintains this feature flag | [optional]
20+
**maintainerTeamKey** | **String** | The key of the team that maintains this feature flag | [optional]
1921

2022

2123

0 commit comments

Comments
 (0)