Skip to content

Commit d13b3c5

Browse files
author
LaunchDarklyReleaseBot
committed
Version 20.0.0 automatically generated from ld-openapi.
1 parent cb4a989 commit d13b3c5

File tree

685 files changed

+2857
-793
lines changed

Some content is hidden

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

685 files changed

+2857
-793
lines changed

.openapi-generator/FILES

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ docs/AccountMembersApi.md
4343
docs/AccountUsageBetaApi.md
4444
docs/ActionInput.md
4545
docs/ActionOutput.md
46+
docs/AgentGraph.md
47+
docs/AgentGraphEdge.md
48+
docs/AgentGraphEdgePost.md
49+
docs/AgentGraphPost.md
50+
docs/AgentGraphs.md
4651
docs/AiConfigsAccess.md
4752
docs/AiConfigsAccessAllowedReason.md
4853
docs/AiConfigsAccessAllowedRep.md
@@ -146,7 +151,6 @@ docs/Contexts.md
146151
docs/ContextsApi.md
147152
docs/CopiedFromEnv.md
148153
docs/CoreLink.md
149-
docs/CovarianceInfoRep.md
150154
docs/CreateAnnouncementBody.md
151155
docs/CreateApprovalRequestRequest.md
152156
docs/CreateCopyFlagConfigApprovalRequestRequest.md
@@ -454,6 +458,7 @@ docs/PostFlagScheduledChangesInput.md
454458
docs/PostInsightGroupParams.md
455459
docs/PostReleasePolicyRequest.md
456460
docs/Prerequisite.md
461+
docs/ProgressiveReleaseConfig.md
457462
docs/Project.md
458463
docs/ProjectPost.md
459464
docs/ProjectRep.md
@@ -497,6 +502,7 @@ docs/ReleasePoliciesBetaApi.md
497502
docs/ReleasePoliciesResponse.md
498503
docs/ReleasePolicy.md
499504
docs/ReleasePolicyScope.md
505+
docs/ReleasePolicyStage.md
500506
docs/ReleaseProgression.md
501507
docs/ReleaseProgressionCollection.md
502508
docs/ReleaserAudienceConfigInput.md
@@ -737,6 +743,11 @@ src/model/AccessDeniedReason.js
737743
src/model/AccessTokenPost.js
738744
src/model/ActionInput.js
739745
src/model/ActionOutput.js
746+
src/model/AgentGraph.js
747+
src/model/AgentGraphEdge.js
748+
src/model/AgentGraphEdgePost.js
749+
src/model/AgentGraphPost.js
750+
src/model/AgentGraphs.js
740751
src/model/AiConfigsAccess.js
741752
src/model/AiConfigsAccessAllowedReason.js
742753
src/model/AiConfigsAccessAllowedRep.js
@@ -832,7 +843,6 @@ src/model/ContextSearch.js
832843
src/model/Contexts.js
833844
src/model/CopiedFromEnv.js
834845
src/model/CoreLink.js
835-
src/model/CovarianceInfoRep.js
836846
src/model/CreateAnnouncementBody.js
837847
src/model/CreateApprovalRequestRequest.js
838848
src/model/CreateCopyFlagConfigApprovalRequestRequest.js
@@ -1114,6 +1124,7 @@ src/model/PostFlagScheduledChangesInput.js
11141124
src/model/PostInsightGroupParams.js
11151125
src/model/PostReleasePolicyRequest.js
11161126
src/model/Prerequisite.js
1127+
src/model/ProgressiveReleaseConfig.js
11171128
src/model/Project.js
11181129
src/model/ProjectPost.js
11191130
src/model/ProjectRep.js
@@ -1153,6 +1164,7 @@ src/model/ReleasePoliciesAccessRep.js
11531164
src/model/ReleasePoliciesResponse.js
11541165
src/model/ReleasePolicy.js
11551166
src/model/ReleasePolicyScope.js
1167+
src/model/ReleasePolicyStage.js
11561168
src/model/ReleaseProgression.js
11571169
src/model/ReleaseProgressionCollection.js
11581170
src/model/ReleaserAudienceConfigInput.js
@@ -1375,6 +1387,11 @@ test/model/AccessDeniedReason.spec.js
13751387
test/model/AccessTokenPost.spec.js
13761388
test/model/ActionInput.spec.js
13771389
test/model/ActionOutput.spec.js
1390+
test/model/AgentGraph.spec.js
1391+
test/model/AgentGraphEdge.spec.js
1392+
test/model/AgentGraphEdgePost.spec.js
1393+
test/model/AgentGraphPost.spec.js
1394+
test/model/AgentGraphs.spec.js
13781395
test/model/AiConfigsAccess.spec.js
13791396
test/model/AiConfigsAccessAllowedReason.spec.js
13801397
test/model/AiConfigsAccessAllowedRep.spec.js
@@ -1470,7 +1487,6 @@ test/model/ContextSearch.spec.js
14701487
test/model/Contexts.spec.js
14711488
test/model/CopiedFromEnv.spec.js
14721489
test/model/CoreLink.spec.js
1473-
test/model/CovarianceInfoRep.spec.js
14741490
test/model/CreateAnnouncementBody.spec.js
14751491
test/model/CreateApprovalRequestRequest.spec.js
14761492
test/model/CreateCopyFlagConfigApprovalRequestRequest.spec.js
@@ -1752,6 +1768,7 @@ test/model/PostFlagScheduledChangesInput.spec.js
17521768
test/model/PostInsightGroupParams.spec.js
17531769
test/model/PostReleasePolicyRequest.spec.js
17541770
test/model/Prerequisite.spec.js
1771+
test/model/ProgressiveReleaseConfig.spec.js
17551772
test/model/Project.spec.js
17561773
test/model/ProjectPost.spec.js
17571774
test/model/ProjectRep.spec.js
@@ -1791,6 +1808,7 @@ test/model/ReleasePoliciesAccessRep.spec.js
17911808
test/model/ReleasePoliciesResponse.spec.js
17921809
test/model/ReleasePolicy.spec.js
17931810
test/model/ReleasePolicyScope.spec.js
1811+
test/model/ReleasePolicyStage.spec.js
17941812
test/model/ReleaseProgression.spec.js
17951813
test/model/ReleaseProgressionCollection.spec.js
17961814
test/model/ReleaserAudienceConfigInput.spec.js

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ To learn more about how EOL is determined, read LaunchDarkly's [End of Life (EOL
448448
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
449449

450450
- API version: 2.0
451-
- Package version: 19.0.0
451+
- Package version: 20.0.0
452452
- Generator version: 7.16.0
453453
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
454454
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
@@ -588,6 +588,7 @@ Class | Method | HTTP request | Description
588588
*LaunchDarklyApi.AIConfigsBetaApi* | [**getModelConfig**](docs/AIConfigsBetaApi.md#getModelConfig) | **GET** /api/v2/projects/{projectKey}/ai-configs/model-configs/{modelConfigKey} | Get AI model config
589589
*LaunchDarklyApi.AIConfigsBetaApi* | [**listAIToolVersions**](docs/AIConfigsBetaApi.md#listAIToolVersions) | **GET** /api/v2/projects/{projectKey}/ai-tools/{toolKey}/versions | List AI tool versions
590590
*LaunchDarklyApi.AIConfigsBetaApi* | [**listAITools**](docs/AIConfigsBetaApi.md#listAITools) | **GET** /api/v2/projects/{projectKey}/ai-tools | List AI tools
591+
*LaunchDarklyApi.AIConfigsBetaApi* | [**listAgentGraphs**](docs/AIConfigsBetaApi.md#listAgentGraphs) | **GET** /api/v2/projects/{projectKey}/agent-graphs | List agent graphs
591592
*LaunchDarklyApi.AIConfigsBetaApi* | [**listModelConfigs**](docs/AIConfigsBetaApi.md#listModelConfigs) | **GET** /api/v2/projects/{projectKey}/ai-configs/model-configs | List AI model configs
592593
*LaunchDarklyApi.AIConfigsBetaApi* | [**patchAIConfig**](docs/AIConfigsBetaApi.md#patchAIConfig) | **PATCH** /api/v2/projects/{projectKey}/ai-configs/{configKey} | Update AI Config
593594
*LaunchDarklyApi.AIConfigsBetaApi* | [**patchAIConfigTargeting**](docs/AIConfigsBetaApi.md#patchAIConfigTargeting) | **PATCH** /api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting | Update AI Config targeting
@@ -596,6 +597,7 @@ Class | Method | HTTP request | Description
596597
*LaunchDarklyApi.AIConfigsBetaApi* | [**postAIConfig**](docs/AIConfigsBetaApi.md#postAIConfig) | **POST** /api/v2/projects/{projectKey}/ai-configs | Create new AI Config
597598
*LaunchDarklyApi.AIConfigsBetaApi* | [**postAIConfigVariation**](docs/AIConfigsBetaApi.md#postAIConfigVariation) | **POST** /api/v2/projects/{projectKey}/ai-configs/{configKey}/variations | Create AI Config variation
598599
*LaunchDarklyApi.AIConfigsBetaApi* | [**postAITool**](docs/AIConfigsBetaApi.md#postAITool) | **POST** /api/v2/projects/{projectKey}/ai-tools | Create an AI tool
600+
*LaunchDarklyApi.AIConfigsBetaApi* | [**postAgentGraph**](docs/AIConfigsBetaApi.md#postAgentGraph) | **POST** /api/v2/projects/{projectKey}/agent-graphs | Create new agent graph
599601
*LaunchDarklyApi.AIConfigsBetaApi* | [**postModelConfig**](docs/AIConfigsBetaApi.md#postModelConfig) | **POST** /api/v2/projects/{projectKey}/ai-configs/model-configs | Create an AI model config
600602
*LaunchDarklyApi.AIConfigsBetaApi* | [**postRestrictedModels**](docs/AIConfigsBetaApi.md#postRestrictedModels) | **POST** /api/v2/projects/{projectKey}/ai-configs/model-configs/restricted | Add AI models to the restricted list
601603
*LaunchDarklyApi.AccessTokensApi* | [**deleteToken**](docs/AccessTokensApi.md#deleteToken) | **DELETE** /api/v2/tokens/{id} | Delete access token
@@ -619,6 +621,8 @@ Class | Method | HTTP request | Description
619621
*LaunchDarklyApi.AccountUsageBetaApi* | [**getEventsUsage**](docs/AccountUsageBetaApi.md#getEventsUsage) | **GET** /api/v2/usage/events/{type} | Get events usage
620622
*LaunchDarklyApi.AccountUsageBetaApi* | [**getExperimentationEventsUsage**](docs/AccountUsageBetaApi.md#getExperimentationEventsUsage) | **GET** /api/v2/usage/experimentation-events | Get experimentation events usage
621623
*LaunchDarklyApi.AccountUsageBetaApi* | [**getExperimentationKeysUsage**](docs/AccountUsageBetaApi.md#getExperimentationKeysUsage) | **GET** /api/v2/usage/experimentation-keys | Get experimentation keys usage
624+
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMAUClientsideUsage**](docs/AccountUsageBetaApi.md#getMAUClientsideUsage) | **GET** /api/v2/usage/clientside-mau | Get MAU clientside usage
625+
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMAUTotalUsage**](docs/AccountUsageBetaApi.md#getMAUTotalUsage) | **GET** /api/v2/usage/total-mau | Get MAU total usage
622626
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauSdksByType**](docs/AccountUsageBetaApi.md#getMauSdksByType) | **GET** /api/v2/usage/mau/sdks | Get MAU SDKs by type
623627
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauUsage**](docs/AccountUsageBetaApi.md#getMauUsage) | **GET** /api/v2/usage/mau | Get MAU usage
624628
*LaunchDarklyApi.AccountUsageBetaApi* | [**getMauUsageByCategory**](docs/AccountUsageBetaApi.md#getMauUsageByCategory) | **GET** /api/v2/usage/mau/bycategory | Get MAU usage by category
@@ -951,6 +955,11 @@ Class | Method | HTTP request | Description
951955
- [LaunchDarklyApi.AccessTokenPost](docs/AccessTokenPost.md)
952956
- [LaunchDarklyApi.ActionInput](docs/ActionInput.md)
953957
- [LaunchDarklyApi.ActionOutput](docs/ActionOutput.md)
958+
- [LaunchDarklyApi.AgentGraph](docs/AgentGraph.md)
959+
- [LaunchDarklyApi.AgentGraphEdge](docs/AgentGraphEdge.md)
960+
- [LaunchDarklyApi.AgentGraphEdgePost](docs/AgentGraphEdgePost.md)
961+
- [LaunchDarklyApi.AgentGraphPost](docs/AgentGraphPost.md)
962+
- [LaunchDarklyApi.AgentGraphs](docs/AgentGraphs.md)
954963
- [LaunchDarklyApi.AiConfigsAccess](docs/AiConfigsAccess.md)
955964
- [LaunchDarklyApi.AiConfigsAccessAllowedReason](docs/AiConfigsAccessAllowedReason.md)
956965
- [LaunchDarklyApi.AiConfigsAccessAllowedRep](docs/AiConfigsAccessAllowedRep.md)
@@ -1046,7 +1055,6 @@ Class | Method | HTTP request | Description
10461055
- [LaunchDarklyApi.Contexts](docs/Contexts.md)
10471056
- [LaunchDarklyApi.CopiedFromEnv](docs/CopiedFromEnv.md)
10481057
- [LaunchDarklyApi.CoreLink](docs/CoreLink.md)
1049-
- [LaunchDarklyApi.CovarianceInfoRep](docs/CovarianceInfoRep.md)
10501058
- [LaunchDarklyApi.CreateAnnouncementBody](docs/CreateAnnouncementBody.md)
10511059
- [LaunchDarklyApi.CreateApprovalRequestRequest](docs/CreateApprovalRequestRequest.md)
10521060
- [LaunchDarklyApi.CreateCopyFlagConfigApprovalRequestRequest](docs/CreateCopyFlagConfigApprovalRequestRequest.md)
@@ -1328,6 +1336,7 @@ Class | Method | HTTP request | Description
13281336
- [LaunchDarklyApi.PostInsightGroupParams](docs/PostInsightGroupParams.md)
13291337
- [LaunchDarklyApi.PostReleasePolicyRequest](docs/PostReleasePolicyRequest.md)
13301338
- [LaunchDarklyApi.Prerequisite](docs/Prerequisite.md)
1339+
- [LaunchDarklyApi.ProgressiveReleaseConfig](docs/ProgressiveReleaseConfig.md)
13311340
- [LaunchDarklyApi.Project](docs/Project.md)
13321341
- [LaunchDarklyApi.ProjectPost](docs/ProjectPost.md)
13331342
- [LaunchDarklyApi.ProjectRep](docs/ProjectRep.md)
@@ -1367,6 +1376,7 @@ Class | Method | HTTP request | Description
13671376
- [LaunchDarklyApi.ReleasePoliciesResponse](docs/ReleasePoliciesResponse.md)
13681377
- [LaunchDarklyApi.ReleasePolicy](docs/ReleasePolicy.md)
13691378
- [LaunchDarklyApi.ReleasePolicyScope](docs/ReleasePolicyScope.md)
1379+
- [LaunchDarklyApi.ReleasePolicyStage](docs/ReleasePolicyStage.md)
13701380
- [LaunchDarklyApi.ReleaseProgression](docs/ReleaseProgression.md)
13711381
- [LaunchDarklyApi.ReleaseProgressionCollection](docs/ReleaseProgressionCollection.md)
13721382
- [LaunchDarklyApi.ReleaserAudienceConfigInput](docs/ReleaserAudienceConfigInput.md)

docs/AIConfigPost.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**mode** | **String** | | [optional] [default to 'completion']
1212
**name** | **String** | |
1313
**tags** | **[String]** | | [optional]
14+
**defaultVariation** | [**AIConfigVariationPost**](AIConfigVariationPost.md) | | [optional]
1415

1516

1617

docs/AIConfigsBetaApi.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Method | HTTP request | Description
1919
[**getModelConfig**](AIConfigsBetaApi.md#getModelConfig) | **GET** /api/v2/projects/{projectKey}/ai-configs/model-configs/{modelConfigKey} | Get AI model config
2020
[**listAIToolVersions**](AIConfigsBetaApi.md#listAIToolVersions) | **GET** /api/v2/projects/{projectKey}/ai-tools/{toolKey}/versions | List AI tool versions
2121
[**listAITools**](AIConfigsBetaApi.md#listAITools) | **GET** /api/v2/projects/{projectKey}/ai-tools | List AI tools
22+
[**listAgentGraphs**](AIConfigsBetaApi.md#listAgentGraphs) | **GET** /api/v2/projects/{projectKey}/agent-graphs | List agent graphs
2223
[**listModelConfigs**](AIConfigsBetaApi.md#listModelConfigs) | **GET** /api/v2/projects/{projectKey}/ai-configs/model-configs | List AI model configs
2324
[**patchAIConfig**](AIConfigsBetaApi.md#patchAIConfig) | **PATCH** /api/v2/projects/{projectKey}/ai-configs/{configKey} | Update AI Config
2425
[**patchAIConfigTargeting**](AIConfigsBetaApi.md#patchAIConfigTargeting) | **PATCH** /api/v2/projects/{projectKey}/ai-configs/{configKey}/targeting | Update AI Config targeting
@@ -27,6 +28,7 @@ Method | HTTP request | Description
2728
[**postAIConfig**](AIConfigsBetaApi.md#postAIConfig) | **POST** /api/v2/projects/{projectKey}/ai-configs | Create new AI Config
2829
[**postAIConfigVariation**](AIConfigsBetaApi.md#postAIConfigVariation) | **POST** /api/v2/projects/{projectKey}/ai-configs/{configKey}/variations | Create AI Config variation
2930
[**postAITool**](AIConfigsBetaApi.md#postAITool) | **POST** /api/v2/projects/{projectKey}/ai-tools | Create an AI tool
31+
[**postAgentGraph**](AIConfigsBetaApi.md#postAgentGraph) | **POST** /api/v2/projects/{projectKey}/agent-graphs | Create new agent graph
3032
[**postModelConfig**](AIConfigsBetaApi.md#postModelConfig) | **POST** /api/v2/projects/{projectKey}/ai-configs/model-configs | Create an AI model config
3133
[**postRestrictedModels**](AIConfigsBetaApi.md#postRestrictedModels) | **POST** /api/v2/projects/{projectKey}/ai-configs/model-configs/restricted | Add AI models to the restricted list
3234

@@ -897,6 +899,65 @@ Name | Type | Description | Notes
897899
- **Accept**: application/json
898900

899901

902+
## listAgentGraphs
903+
904+
> AgentGraphs listAgentGraphs(lDAPIVersion, projectKey, opts)
905+
906+
List agent graphs
907+
908+
Get a list of all agent graphs in the given project. Returns metadata only, without edge data.
909+
910+
### Example
911+
912+
```javascript
913+
import LaunchDarklyApi from 'launchdarkly-api';
914+
let defaultClient = LaunchDarklyApi.ApiClient.instance;
915+
// Configure API key authorization: ApiKey
916+
let ApiKey = defaultClient.authentications['ApiKey'];
917+
ApiKey.apiKey = 'YOUR API KEY';
918+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
919+
//ApiKey.apiKeyPrefix = 'Token';
920+
921+
let apiInstance = new LaunchDarklyApi.AIConfigsBetaApi();
922+
let lDAPIVersion = "lDAPIVersion_example"; // String | Version of the endpoint.
923+
let projectKey = "projectKey_example"; // String |
924+
let opts = {
925+
'limit': 56, // Number | The number of AI Configs to return.
926+
'offset': 56 // Number | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
927+
};
928+
apiInstance.listAgentGraphs(lDAPIVersion, projectKey, opts, (error, data, response) => {
929+
if (error) {
930+
console.error(error);
931+
} else {
932+
console.log('API called successfully. Returned data: ' + data);
933+
}
934+
});
935+
```
936+
937+
### Parameters
938+
939+
940+
Name | Type | Description | Notes
941+
------------- | ------------- | ------------- | -------------
942+
**lDAPIVersion** | **String**| Version of the endpoint. |
943+
**projectKey** | **String**| |
944+
**limit** | **Number**| The number of AI Configs to return. | [optional]
945+
**offset** | **Number**| Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. | [optional]
946+
947+
### Return type
948+
949+
[**AgentGraphs**](AgentGraphs.md)
950+
951+
### Authorization
952+
953+
[ApiKey](../README.md#ApiKey)
954+
955+
### HTTP request headers
956+
957+
- **Content-Type**: Not defined
958+
- **Accept**: application/json
959+
960+
900961
## listModelConfigs
901962

902963
> [ModelConfig] listModelConfigs(lDAPIVersion, projectKey, opts)
@@ -1359,6 +1420,61 @@ Name | Type | Description | Notes
13591420
- **Accept**: application/json
13601421

13611422

1423+
## postAgentGraph
1424+
1425+
> AgentGraph postAgentGraph(lDAPIVersion, projectKey, agentGraphPost)
1426+
1427+
Create new agent graph
1428+
1429+
Create a new agent graph within the given project.
1430+
1431+
### Example
1432+
1433+
```javascript
1434+
import LaunchDarklyApi from 'launchdarkly-api';
1435+
let defaultClient = LaunchDarklyApi.ApiClient.instance;
1436+
// Configure API key authorization: ApiKey
1437+
let ApiKey = defaultClient.authentications['ApiKey'];
1438+
ApiKey.apiKey = 'YOUR API KEY';
1439+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
1440+
//ApiKey.apiKeyPrefix = 'Token';
1441+
1442+
let apiInstance = new LaunchDarklyApi.AIConfigsBetaApi();
1443+
let lDAPIVersion = "lDAPIVersion_example"; // String | Version of the endpoint.
1444+
let projectKey = "projectKey_example"; // String |
1445+
let agentGraphPost = new LaunchDarklyApi.AgentGraphPost(); // AgentGraphPost | Agent graph object to create
1446+
apiInstance.postAgentGraph(lDAPIVersion, projectKey, agentGraphPost, (error, data, response) => {
1447+
if (error) {
1448+
console.error(error);
1449+
} else {
1450+
console.log('API called successfully. Returned data: ' + data);
1451+
}
1452+
});
1453+
```
1454+
1455+
### Parameters
1456+
1457+
1458+
Name | Type | Description | Notes
1459+
------------- | ------------- | ------------- | -------------
1460+
**lDAPIVersion** | **String**| Version of the endpoint. |
1461+
**projectKey** | **String**| |
1462+
**agentGraphPost** | [**AgentGraphPost**](AgentGraphPost.md)| Agent graph object to create |
1463+
1464+
### Return type
1465+
1466+
[**AgentGraph**](AgentGraph.md)
1467+
1468+
### Authorization
1469+
1470+
[ApiKey](../README.md#ApiKey)
1471+
1472+
### HTTP request headers
1473+
1474+
- **Content-Type**: application/json
1475+
- **Accept**: application/json
1476+
1477+
13621478
## postModelConfig
13631479

13641480
> ModelConfig postModelConfig(lDAPIVersion, projectKey, modelConfigPost)

0 commit comments

Comments
 (0)