Skip to content

Commit a741168

Browse files
author
LaunchDarklyReleaseBot
committed
Version 7.0.0 automatically generated from ld-openapi.
1 parent ef87b59 commit a741168

File tree

514 files changed

+12509
-10436
lines changed

Some content is hidden

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

514 files changed

+12509
-10436
lines changed

.openapi-generator/FILES

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ docs/Defaults.md
5656
docs/DependentFlag.md
5757
docs/DependentFlagEnvironment.md
5858
docs/DependentFlagsByEnvironment.md
59+
docs/DerivedAttribute.md
5960
docs/Destination.md
6061
docs/DestinationPost.md
6162
docs/Destinations.md
@@ -80,8 +81,9 @@ docs/ExpiringUserTargetError.md
8081
docs/ExpiringUserTargetGetResponse.md
8182
docs/ExpiringUserTargetItem.md
8283
docs/ExpiringUserTargetPatchResponse.md
84+
docs/Extinction.md
8385
docs/ExtinctionCollectionRep.md
84-
docs/ExtinctionRep.md
86+
docs/ExtinctionListPost.md
8587
docs/FeatureFlag.md
8688
docs/FeatureFlagBody.md
8789
docs/FeatureFlagConfig.md
@@ -105,7 +107,6 @@ docs/FlagSummary.md
105107
docs/ForbiddenErrorRep.md
106108
docs/FormVariableConfig.md
107109
docs/HunkRep.md
108-
docs/InlineResponse200.md
109110
docs/Instruction.md
110111
docs/Instructions.md
111112
docs/IntegrationMetadata.md
@@ -126,11 +127,13 @@ docs/MetricCollectionRep.md
126127
docs/MetricListingRep.md
127128
docs/MetricPost.md
128129
docs/MetricRep.md
130+
docs/MetricSeen.md
129131
docs/MetricsApi.md
130132
docs/Modification.md
131133
docs/MultiEnvironmentDependentFlag.md
132134
docs/MultiEnvironmentDependentFlags.md
133135
docs/NewMemberForm.md
136+
docs/NewMemberFormListPost.md
134137
docs/NotFoundErrorRep.md
135138
docs/OtherApi.md
136139
docs/ParentResourceRep.md
@@ -167,6 +170,7 @@ docs/ResourceIDResponse.md
167170
docs/ReviewOutputRep.md
168171
docs/ReviewResponse.md
169172
docs/Rollout.md
173+
docs/RootResponse.md
170174
docs/Rule.md
171175
docs/ScheduleConditionInputRep.md
172176
docs/ScheduleConditionOutputRep.md
@@ -214,6 +218,7 @@ docs/UserAttributeNamesRep.md
214218
docs/UserFlagSetting.md
215219
docs/UserFlagSettings.md
216220
docs/UserRecord.md
221+
docs/UserRecordRep.md
217222
docs/UserSegment.md
218223
docs/UserSegmentRule.md
219224
docs/UserSegments.md
@@ -222,7 +227,6 @@ docs/Users.md
222227
docs/UsersApi.md
223228
docs/UsersBetaApi.md
224229
docs/ValuePut.md
225-
docs/Variate.md
226230
docs/Variation.md
227231
docs/VariationOrRolloutRep.md
228232
docs/VariationSummary.md
@@ -310,6 +314,7 @@ launchdarkly_api/model/defaults.py
310314
launchdarkly_api/model/dependent_flag.py
311315
launchdarkly_api/model/dependent_flag_environment.py
312316
launchdarkly_api/model/dependent_flags_by_environment.py
317+
launchdarkly_api/model/derived_attribute.py
313318
launchdarkly_api/model/destination.py
314319
launchdarkly_api/model/destination_post.py
315320
launchdarkly_api/model/destinations.py
@@ -332,8 +337,9 @@ launchdarkly_api/model/expiring_user_target_error.py
332337
launchdarkly_api/model/expiring_user_target_get_response.py
333338
launchdarkly_api/model/expiring_user_target_item.py
334339
launchdarkly_api/model/expiring_user_target_patch_response.py
340+
launchdarkly_api/model/extinction.py
335341
launchdarkly_api/model/extinction_collection_rep.py
336-
launchdarkly_api/model/extinction_rep.py
342+
launchdarkly_api/model/extinction_list_post.py
337343
launchdarkly_api/model/feature_flag.py
338344
launchdarkly_api/model/feature_flag_body.py
339345
launchdarkly_api/model/feature_flag_config.py
@@ -355,7 +361,6 @@ launchdarkly_api/model/flag_summary.py
355361
launchdarkly_api/model/forbidden_error_rep.py
356362
launchdarkly_api/model/form_variable_config.py
357363
launchdarkly_api/model/hunk_rep.py
358-
launchdarkly_api/model/inline_response200.py
359364
launchdarkly_api/model/instruction.py
360365
launchdarkly_api/model/instructions.py
361366
launchdarkly_api/model/integration_metadata.py
@@ -376,10 +381,12 @@ launchdarkly_api/model/metric_collection_rep.py
376381
launchdarkly_api/model/metric_listing_rep.py
377382
launchdarkly_api/model/metric_post.py
378383
launchdarkly_api/model/metric_rep.py
384+
launchdarkly_api/model/metric_seen.py
379385
launchdarkly_api/model/modification.py
380386
launchdarkly_api/model/multi_environment_dependent_flag.py
381387
launchdarkly_api/model/multi_environment_dependent_flags.py
382388
launchdarkly_api/model/new_member_form.py
389+
launchdarkly_api/model/new_member_form_list_post.py
383390
launchdarkly_api/model/not_found_error_rep.py
384391
launchdarkly_api/model/parent_resource_rep.py
385392
launchdarkly_api/model/patch_failed_error_rep.py
@@ -413,6 +420,7 @@ launchdarkly_api/model/resource_id_response.py
413420
launchdarkly_api/model/review_output_rep.py
414421
launchdarkly_api/model/review_response.py
415422
launchdarkly_api/model/rollout.py
423+
launchdarkly_api/model/root_response.py
416424
launchdarkly_api/model/rule.py
417425
launchdarkly_api/model/schedule_condition_input_rep.py
418426
launchdarkly_api/model/schedule_condition_output_rep.py
@@ -457,12 +465,12 @@ launchdarkly_api/model/user_attribute_names_rep.py
457465
launchdarkly_api/model/user_flag_setting.py
458466
launchdarkly_api/model/user_flag_settings.py
459467
launchdarkly_api/model/user_record.py
468+
launchdarkly_api/model/user_record_rep.py
460469
launchdarkly_api/model/user_segment.py
461470
launchdarkly_api/model/user_segment_rule.py
462471
launchdarkly_api/model/user_segments.py
463472
launchdarkly_api/model/users.py
464473
launchdarkly_api/model/value_put.py
465-
launchdarkly_api/model/variate.py
466474
launchdarkly_api/model/variation.py
467475
launchdarkly_api/model/variation_or_rollout_rep.py
468476
launchdarkly_api/model/variation_summary.py
@@ -532,6 +540,7 @@ test/test_defaults.py
532540
test/test_dependent_flag.py
533541
test/test_dependent_flag_environment.py
534542
test/test_dependent_flags_by_environment.py
543+
test/test_derived_attribute.py
535544
test/test_destination.py
536545
test/test_destination_post.py
537546
test/test_destinations.py
@@ -556,8 +565,9 @@ test/test_expiring_user_target_error.py
556565
test/test_expiring_user_target_get_response.py
557566
test/test_expiring_user_target_item.py
558567
test/test_expiring_user_target_patch_response.py
568+
test/test_extinction.py
559569
test/test_extinction_collection_rep.py
560-
test/test_extinction_rep.py
570+
test/test_extinction_list_post.py
561571
test/test_feature_flag.py
562572
test/test_feature_flag_body.py
563573
test/test_feature_flag_config.py
@@ -581,7 +591,6 @@ test/test_flag_summary.py
581591
test/test_forbidden_error_rep.py
582592
test/test_form_variable_config.py
583593
test/test_hunk_rep.py
584-
test/test_inline_response200.py
585594
test/test_instruction.py
586595
test/test_instructions.py
587596
test/test_integration_metadata.py
@@ -602,11 +611,13 @@ test/test_metric_collection_rep.py
602611
test/test_metric_listing_rep.py
603612
test/test_metric_post.py
604613
test/test_metric_rep.py
614+
test/test_metric_seen.py
605615
test/test_metrics_api.py
606616
test/test_modification.py
607617
test/test_multi_environment_dependent_flag.py
608618
test/test_multi_environment_dependent_flags.py
609619
test/test_new_member_form.py
620+
test/test_new_member_form_list_post.py
610621
test/test_not_found_error_rep.py
611622
test/test_other_api.py
612623
test/test_parent_resource_rep.py
@@ -643,6 +654,7 @@ test/test_resource_id_response.py
643654
test/test_review_output_rep.py
644655
test/test_review_response.py
645656
test/test_rollout.py
657+
test/test_root_response.py
646658
test/test_rule.py
647659
test/test_schedule_condition_input_rep.py
648660
test/test_schedule_condition_output_rep.py
@@ -690,6 +702,7 @@ test/test_user_attribute_names_rep.py
690702
test/test_user_flag_setting.py
691703
test/test_user_flag_settings.py
692704
test/test_user_record.py
705+
test/test_user_record_rep.py
693706
test/test_user_segment.py
694707
test/test_user_segment_rule.py
695708
test/test_user_segments.py
@@ -698,7 +711,6 @@ test/test_users.py
698711
test/test_users__beta_api.py
699712
test/test_users_api.py
700713
test/test_value_put.py
701-
test/test_variate.py
702714
test/test_variation.py
703715
test/test_variation_or_rollout_rep.py
704716
test/test_variation_summary.py

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.3.0-SNAPSHOT
1+
5.3.0

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ Paginated collections include `first`, `last`, `next`, and `prev` links containi
9898

9999
## Updates
100100

101-
Resources that accept partial updates use the `PATCH` verb, and support the [JSON Patch](http://tools.ietf.org/html/rfc6902) format. Some resources also support the [JSON Merge Patch](https://tools.ietf.org/html/rfc7386) format. In addition, some resources support optional comments that can be submitted with updates. Comments appear in outgoing webhooks, the audit log, and other integrations.
101+
Resources that accept partial updates use the `PATCH` verb, and support the [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) format. Some resources also support the [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386) format. In addition, some resources support optional comments that can be submitted with updates. Comments appear in outgoing webhooks, the audit log, and other integrations.
102102

103103
### Updates via JSON Patch
104104

105-
[JSON Patch](http://tools.ietf.org/html/rfc6902) is a way to specify the modifications to perform on a resource. For example, in this feature flag representation:
105+
[JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) is a way to specify the modifications to perform on a resource. For example, in this feature flag representation:
106106

107107
```json
108108
{
@@ -134,7 +134,7 @@ Attributes that aren't editable, like a resource's `_links`, have names that sta
134134

135135
### Updates via JSON Merge Patch
136136

137-
The API also supports the [JSON Merge Patch](https://tools.ietf.org/html/rfc7386) format, as well as the [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag) resource.
137+
The API also supports the [JSON Merge Patch](https://datatracker.ietf.org/doc/html/rfc7386) format, as well as the [Update feature flag](/tag/Feature-flags#operation/patchFeatureFlag) resource.
138138

139139
JSON Merge Patch is less expressive than JSON Patch but in many cases, it is simpler to construct a merge patch document. For example, you can change a feature flag's description with the following merge patch document:
140140

@@ -439,7 +439,7 @@ If you would like to upgrade your integration to use a new API version, you can
439439
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
440440

441441
- API version: 2.0
442-
- Package version: 6.0.2
442+
- Package version: 7.0.0
443443
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
444444
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
445445

@@ -661,6 +661,7 @@ Class | Method | HTTP request | Description
661661
*WebhooksApi* | [**patch_webhook**](docs/WebhooksApi.md#patch_webhook) | **PATCH** /api/v2/webhooks/{id} | Update webhook
662662
*WebhooksApi* | [**post_webhook**](docs/WebhooksApi.md#post_webhook) | **POST** /api/v2/webhooks | Creates a webhook
663663
*WorkflowsBetaApi* | [**delete_workflow**](docs/WorkflowsBetaApi.md#delete_workflow) | **DELETE** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} | Delete workflow
664+
*WorkflowsBetaApi* | [**get_custom_workflow**](docs/WorkflowsBetaApi.md#get_custom_workflow) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId} | Get custom workflow
664665
*WorkflowsBetaApi* | [**get_workflows**](docs/WorkflowsBetaApi.md#get_workflows) | **GET** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows | Get workflows
665666
*WorkflowsBetaApi* | [**post_workflow**](docs/WorkflowsBetaApi.md#post_workflow) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows | Create workflow
666667

@@ -712,6 +713,7 @@ Class | Method | HTTP request | Description
712713
- [DependentFlag](docs/DependentFlag.md)
713714
- [DependentFlagEnvironment](docs/DependentFlagEnvironment.md)
714715
- [DependentFlagsByEnvironment](docs/DependentFlagsByEnvironment.md)
716+
- [DerivedAttribute](docs/DerivedAttribute.md)
715717
- [Destination](docs/Destination.md)
716718
- [DestinationPost](docs/DestinationPost.md)
717719
- [Destinations](docs/Destinations.md)
@@ -734,8 +736,9 @@ Class | Method | HTTP request | Description
734736
- [ExpiringUserTargetGetResponse](docs/ExpiringUserTargetGetResponse.md)
735737
- [ExpiringUserTargetItem](docs/ExpiringUserTargetItem.md)
736738
- [ExpiringUserTargetPatchResponse](docs/ExpiringUserTargetPatchResponse.md)
739+
- [Extinction](docs/Extinction.md)
737740
- [ExtinctionCollectionRep](docs/ExtinctionCollectionRep.md)
738-
- [ExtinctionRep](docs/ExtinctionRep.md)
741+
- [ExtinctionListPost](docs/ExtinctionListPost.md)
739742
- [FeatureFlag](docs/FeatureFlag.md)
740743
- [FeatureFlagBody](docs/FeatureFlagBody.md)
741744
- [FeatureFlagConfig](docs/FeatureFlagConfig.md)
@@ -757,7 +760,6 @@ Class | Method | HTTP request | Description
757760
- [ForbiddenErrorRep](docs/ForbiddenErrorRep.md)
758761
- [FormVariableConfig](docs/FormVariableConfig.md)
759762
- [HunkRep](docs/HunkRep.md)
760-
- [InlineResponse200](docs/InlineResponse200.md)
761763
- [Instruction](docs/Instruction.md)
762764
- [Instructions](docs/Instructions.md)
763765
- [IntegrationMetadata](docs/IntegrationMetadata.md)
@@ -778,10 +780,12 @@ Class | Method | HTTP request | Description
778780
- [MetricListingRep](docs/MetricListingRep.md)
779781
- [MetricPost](docs/MetricPost.md)
780782
- [MetricRep](docs/MetricRep.md)
783+
- [MetricSeen](docs/MetricSeen.md)
781784
- [Modification](docs/Modification.md)
782785
- [MultiEnvironmentDependentFlag](docs/MultiEnvironmentDependentFlag.md)
783786
- [MultiEnvironmentDependentFlags](docs/MultiEnvironmentDependentFlags.md)
784787
- [NewMemberForm](docs/NewMemberForm.md)
788+
- [NewMemberFormListPost](docs/NewMemberFormListPost.md)
785789
- [NotFoundErrorRep](docs/NotFoundErrorRep.md)
786790
- [ParentResourceRep](docs/ParentResourceRep.md)
787791
- [PatchFailedErrorRep](docs/PatchFailedErrorRep.md)
@@ -815,6 +819,7 @@ Class | Method | HTTP request | Description
815819
- [ReviewOutputRep](docs/ReviewOutputRep.md)
816820
- [ReviewResponse](docs/ReviewResponse.md)
817821
- [Rollout](docs/Rollout.md)
822+
- [RootResponse](docs/RootResponse.md)
818823
- [Rule](docs/Rule.md)
819824
- [ScheduleConditionInputRep](docs/ScheduleConditionInputRep.md)
820825
- [ScheduleConditionOutputRep](docs/ScheduleConditionOutputRep.md)
@@ -859,12 +864,12 @@ Class | Method | HTTP request | Description
859864
- [UserFlagSetting](docs/UserFlagSetting.md)
860865
- [UserFlagSettings](docs/UserFlagSettings.md)
861866
- [UserRecord](docs/UserRecord.md)
867+
- [UserRecordRep](docs/UserRecordRep.md)
862868
- [UserSegment](docs/UserSegment.md)
863869
- [UserSegmentRule](docs/UserSegmentRule.md)
864870
- [UserSegments](docs/UserSegments.md)
865871
- [Users](docs/Users.md)
866872
- [ValuePut](docs/ValuePut.md)
867-
- [Variate](docs/Variate.md)
868873
- [Variation](docs/Variation.md)
869874
- [VariationOrRolloutRep](docs/VariationOrRolloutRep.md)
870875
- [VariationSummary](docs/VariationSummary.md)
@@ -917,7 +922,7 @@ import os
917922
from pprint import pprint
918923

919924
import launchdarkly_api
920-
from launchdarkly_api.model.variate import Variate
925+
from launchdarkly_api.model.variation import Variation
921926
from launchdarkly_api.model.feature_flag_body import FeatureFlagBody
922927
from launchdarkly_api.api import feature_flags_api
923928
from launchdarkly_api.rest import ApiException
@@ -942,9 +947,9 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
942947
name=flag_key,
943948
key=flag_key,
944949
variations=[
945-
Variate(value=[1, 2]),
946-
Variate(value=[3, 4]),
947-
Variate(value=[5]),
950+
Variation(value=[1, 2]),
951+
Variation(value=[3, 4]),
952+
Variation(value=[5]),
948953
])
949954

950955
try:

docs/AccessDeniedReasonRep.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**effect** | **str** | |
8-
**resources** | **[dict]** | | [optional]
9-
**not_resources** | **[dict]** | | [optional]
10-
**actions** | **[str]** | | [optional]
11-
**not_actions** | **[str]** | | [optional]
8+
**resources** | **[str]** | Resource specifier strings | [optional]
9+
**not_resources** | **[str]** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional]
10+
**actions** | **[str]** | Actions to perform on a resource | [optional]
11+
**not_actions** | **[str]** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional]
1212
**role_name** | **str** | | [optional]
1313
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1414

docs/AccountMembersApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Name | Type | Description | Notes
376376
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
377377

378378
# **post_members**
379-
> Members post_members(new_member_form)
379+
> Members post_members(new_member_form_list_post)
380380
381381
Invite new members
382382

@@ -392,11 +392,11 @@ import launchdarkly_api
392392
from launchdarkly_api.api import account_members_api
393393
from launchdarkly_api.model.invalid_request_error_rep import InvalidRequestErrorRep
394394
from launchdarkly_api.model.forbidden_error_rep import ForbiddenErrorRep
395-
from launchdarkly_api.model.new_member_form import NewMemberForm
396395
from launchdarkly_api.model.rate_limited_error_rep import RateLimitedErrorRep
397396
from launchdarkly_api.model.unauthorized_error_rep import UnauthorizedErrorRep
398397
from launchdarkly_api.model.members import Members
399398
from launchdarkly_api.model.status_conflict_error_rep import StatusConflictErrorRep
399+
from launchdarkly_api.model.new_member_form_list_post import NewMemberFormListPost
400400
from pprint import pprint
401401
# Defining the host is optional and defaults to https://app.launchdarkly.com
402402
# See configuration.py for a list of all supported configuration parameters.
@@ -419,7 +419,7 @@ configuration.api_key['ApiKey'] = 'YOUR_API_KEY'
419419
with launchdarkly_api.ApiClient(configuration) as api_client:
420420
# Create an instance of the API class
421421
api_instance = account_members_api.AccountMembersApi(api_client)
422-
new_member_form = [
422+
new_member_form_list_post = NewMemberFormListPost([
423423
NewMemberForm(
424424
email="email_example",
425425
password="password_example",
@@ -430,12 +430,12 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
430430
"custom_roles_example",
431431
],
432432
),
433-
] # [NewMemberForm] |
433+
]) # NewMemberFormListPost |
434434

435435
# example passing only required values which don't have defaults set
436436
try:
437437
# Invite new members
438-
api_response = api_instance.post_members(new_member_form)
438+
api_response = api_instance.post_members(new_member_form_list_post)
439439
pprint(api_response)
440440
except launchdarkly_api.ApiException as e:
441441
print("Exception when calling AccountMembersApi->post_members: %s\n" % e)
@@ -446,7 +446,7 @@ with launchdarkly_api.ApiClient(configuration) as api_client:
446446

447447
Name | Type | Description | Notes
448448
------------- | ------------- | ------------- | -------------
449-
**new_member_form** | [**[NewMemberForm]**](NewMemberForm.md)| |
449+
**new_member_form_list_post** | [**NewMemberFormListPost**](NewMemberFormListPost.md)| |
450450

451451
### Return type
452452

0 commit comments

Comments
 (0)