Skip to content

Commit 8b82a10

Browse files
author
LaunchDarklyReleaseBot
committed
Version 18.0.1 automatically generated from ld-openapi.
1 parent 21068d5 commit 8b82a10

File tree

5 files changed

+33
-9
lines changed

5 files changed

+33
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This REST API is for custom integrations, data export, or automating your featur
66
This client library is only compatible with the latest version of our REST API. Previous versions of this client library are compatible with earlier versions of our REST API. When you create an access token, you can set the REST API version associated with the token. By default, API requests you send using the token will use the specified API version. To learn more, read [Versioning](https://apidocs.launchdarkly.com/#section/Overview/Versioning).
77
View our [sample code](#sample-code) for example usage.
88

9-
9+
1010

1111
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
1212

@@ -44,7 +44,7 @@ navigate to the folder of your consuming project and run one of the following co
4444
_published:_
4545

4646
```
47-
npm install [email protected].0 --save
47+
npm install [email protected].1 --save
4848
```
4949

5050
_unPublished (not recommended):_

api.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6328,6 +6328,22 @@ export interface MetricGroupRep {
63286328
* The number of experiments using this metric group
63296329
*/
63306330
'experimentCount'?: number;
6331+
/**
6332+
* The number of active experiments using this metric group
6333+
*/
6334+
'activeExperimentCount'?: number;
6335+
/**
6336+
* The number of active guarded rollouts using this metric group
6337+
*/
6338+
'activeGuardedRolloutCount'?: number;
6339+
/**
6340+
* The total number of connections using this metric group
6341+
*/
6342+
'totalConnectionsCount'?: number;
6343+
/**
6344+
* The total number of active connections using this metric group
6345+
*/
6346+
'totalActiveConnectionsCount'?: number;
63316347
}
63326348

63336349
export const MetricGroupRepKindEnum = {
@@ -31296,7 +31312,7 @@ export const MetricsApiAxiosParamCreator = function (configuration?: Configurati
3129631312
* @summary Get metric
3129731313
* @param {string} projectKey The project key
3129831314
* @param {string} metricKey The metric key
31299-
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31315+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
3130031316
* @param {string} [versionId] The specific version ID of the metric
3130131317
* @param {*} [options] Override http request option.
3130231318
* @throws {RequiredError}
@@ -31522,7 +31538,7 @@ export const MetricsApiFp = function(configuration?: Configuration) {
3152231538
* @summary Get metric
3152331539
* @param {string} projectKey The project key
3152431540
* @param {string} metricKey The metric key
31525-
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31541+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
3152631542
* @param {string} [versionId] The specific version ID of the metric
3152731543
* @param {*} [options] Override http request option.
3152831544
* @throws {RequiredError}
@@ -31605,7 +31621,7 @@ export const MetricsApiFactory = function (configuration?: Configuration, basePa
3160531621
* @summary Get metric
3160631622
* @param {string} projectKey The project key
3160731623
* @param {string} metricKey The metric key
31608-
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31624+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
3160931625
* @param {string} [versionId] The specific version ID of the metric
3161031626
* @param {*} [options] Override http request option.
3161131627
* @throws {RequiredError}
@@ -31675,7 +31691,7 @@ export class MetricsApi extends BaseAPI {
3167531691
* @summary Get metric
3167631692
* @param {string} projectKey The project key
3167731693
* @param {string} metricKey The metric key
31678-
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31694+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
3167931695
* @param {string} [versionId] The specific version ID of the metric
3168031696
* @param {*} [options] Override http request option.
3168131697
* @throws {RequiredError}

docs/MetricGroupRep.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Name | Type | Description | Notes
2020
**_version** | **number** | The version of this metric group | [default to undefined]
2121
**experiments** | [**Array<DependentExperimentRep>**](DependentExperimentRep.md) | | [optional] [default to undefined]
2222
**experimentCount** | **number** | The number of experiments using this metric group | [optional] [default to undefined]
23+
**activeExperimentCount** | **number** | The number of active experiments using this metric group | [optional] [default to undefined]
24+
**activeGuardedRolloutCount** | **number** | The number of active guarded rollouts using this metric group | [optional] [default to undefined]
25+
**totalConnectionsCount** | **number** | The total number of connections using this metric group | [optional] [default to undefined]
26+
**totalActiveConnectionsCount** | **number** | The total number of active connections using this metric group | [optional] [default to undefined]
2327

2428
## Example
2529

@@ -42,6 +46,10 @@ const instance: MetricGroupRep = {
4246
_version,
4347
experiments,
4448
experimentCount,
49+
activeExperimentCount,
50+
activeGuardedRolloutCount,
51+
totalConnectionsCount,
52+
totalActiveConnectionsCount,
4553
};
4654
```
4755

docs/MetricsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const apiInstance = new MetricsApi(configuration);
8686

8787
let projectKey: string; //The project key (default to undefined)
8888
let metricKey: string; //The metric key (default to undefined)
89-
let expand: string; //A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`. (optional) (default to undefined)
89+
let expand: string; //A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`. (optional) (default to undefined)
9090
let versionId: string; //The specific version ID of the metric (optional) (default to undefined)
9191

9292
const { status, data } = await apiInstance.getMetric(
@@ -103,7 +103,7 @@ const { status, data } = await apiInstance.getMetric(
103103
|------------- | ------------- | ------------- | -------------|
104104
| **projectKey** | [**string**] | The project key | defaults to undefined|
105105
| **metricKey** | [**string**] | The metric key | defaults to undefined|
106-
| **expand** | [**string**] | A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`. | (optional) defaults to undefined|
106+
| **expand** | [**string**] | A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`. | (optional) defaults to undefined|
107107
| **versionId** | [**string**] | The specific version ID of the metric | (optional) defaults to undefined|
108108

109109

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "launchdarkly-api-typescript",
3-
"version": "18.0.0",
3+
"version": "18.0.1",
44
"description": "OpenAPI client for launchdarkly-api-typescript",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)