launchdarkly_api 6.0.0 → 7.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (605) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +830 -295
  3. data/docs/AccessDeniedReasonRep.md +4 -4
  4. data/docs/AccessTokensApi.md +1 -1
  5. data/docs/AccountMembersApi.md +86 -12
  6. data/docs/ActionInputRep.md +18 -0
  7. data/docs/ActionOutputRep.md +20 -0
  8. data/docs/ApprovalConditionInputRep.md +20 -0
  9. data/docs/ApprovalConditionOutputRep.md +26 -0
  10. data/docs/ApprovalSettings.md +1 -1
  11. data/docs/ApprovalsApi.md +3 -3
  12. data/docs/BranchCollectionRep.md +1 -1
  13. data/docs/BranchRep.md +9 -9
  14. data/docs/CodeReferencesApi.md +37 -32
  15. data/docs/ConditionBaseOutputRep.md +22 -0
  16. data/docs/ConditionInputRep.md +26 -0
  17. data/docs/ConditionOutputRep.md +34 -0
  18. data/docs/ConflictOutputRep.md +20 -0
  19. data/docs/CreateCopyFlagConfigApprovalRequestRequest.md +1 -1
  20. data/docs/CustomRole.md +10 -8
  21. data/docs/CustomRolePost.md +3 -1
  22. data/docs/CustomRolePostData.md +3 -1
  23. data/docs/CustomRolesApi.md +11 -11
  24. data/docs/CustomRolesRep.md +24 -0
  25. data/docs/CustomWorkflowInputRep.md +24 -0
  26. data/docs/CustomWorkflowMeta.md +20 -0
  27. data/docs/CustomWorkflowOutputRep.md +38 -0
  28. data/docs/CustomWorkflowStageMeta.md +20 -0
  29. data/docs/CustomWorkflowsListingOutputRep.md +18 -0
  30. data/docs/DataExportDestinationsApi.md +1 -1
  31. data/docs/DerivedAttribute.md +20 -0
  32. data/docs/Environment.md +4 -0
  33. data/docs/EnvironmentsApi.md +3 -3
  34. data/docs/ExecutionOutputRep.md +18 -0
  35. data/docs/ExpandedTeamRep.md +44 -0
  36. data/docs/ExperimentResultsRep.md +3 -1
  37. data/docs/ExperimentsBetaApi.md +1 -1
  38. data/docs/Extinction.md +8 -8
  39. data/docs/ExtinctionCollectionRep.md +1 -1
  40. data/docs/FeatureFlagBody.md +1 -1
  41. data/docs/FeatureFlagsApi.md +2 -4
  42. data/docs/FlagConfigApprovalRequestResponse.md +3 -1
  43. data/docs/FlagTriggerInput.md +20 -0
  44. data/docs/FlagTriggersApi.md +396 -0
  45. data/docs/ForbiddenErrorRep.md +20 -0
  46. data/docs/HunkRep.md +10 -10
  47. data/docs/Integration.md +40 -0
  48. data/docs/IntegrationAuditLogSubscriptionsApi.md +376 -0
  49. data/docs/IntegrationStatusRep.md +22 -0
  50. data/docs/IntegrationSubscriptionStatusRep.md +26 -0
  51. data/docs/Integrations.md +22 -0
  52. data/docs/InvalidRequestErrorRep.md +20 -0
  53. data/docs/Member.md +3 -1
  54. data/docs/MemberImportItemRep.md +22 -0
  55. data/docs/MemberTeamsPostInput.md +18 -0
  56. data/docs/MethodNotAllowedErrorRep.md +20 -0
  57. data/docs/MetricListingRep.md +1 -1
  58. data/docs/MetricPost.md +1 -1
  59. data/docs/MetricRep.md +1 -1
  60. data/docs/MetricSeen.md +20 -0
  61. data/docs/MetricsApi.md +2 -2
  62. data/docs/NotFoundErrorRep.md +20 -0
  63. data/docs/OtherApi.md +4 -4
  64. data/docs/PatchFailedErrorRep.md +20 -0
  65. data/docs/PermissionGrantInput.md +22 -0
  66. data/docs/PermissionGrantRep.md +24 -0
  67. data/docs/ProjectPost.md +1 -1
  68. data/docs/ProjectsApi.md +2 -2
  69. data/docs/PutBranch.md +28 -0
  70. data/docs/RateLimitedErrorRep.md +20 -0
  71. data/docs/RecentTriggerBody.md +20 -0
  72. data/docs/ReferenceRep.md +5 -5
  73. data/docs/RelayProxyConfigurationsApi.md +2 -2
  74. data/docs/RepositoryCollectionRep.md +1 -1
  75. data/docs/RepositoryPost.md +8 -8
  76. data/docs/RepositoryRep.md +17 -17
  77. data/docs/ReviewOutputRep.md +26 -0
  78. data/docs/Rule.md +3 -1
  79. data/docs/ScheduleConditionInputRep.md +20 -0
  80. data/docs/ScheduleConditionOutputRep.md +18 -0
  81. data/docs/ScheduledChangesApi.md +2 -2
  82. data/docs/SegmentsApi.md +6 -6
  83. data/docs/StageInputRep.md +22 -0
  84. data/docs/StageOutputRep.md +26 -0
  85. data/docs/Statement.md +4 -4
  86. data/docs/StatementRep.md +3 -3
  87. data/docs/StatusConflictErrorRep.md +20 -0
  88. data/docs/SubscriptionPost.md +30 -0
  89. data/docs/TeamCollectionRep.md +22 -0
  90. data/docs/TeamImportsRep.md +18 -0
  91. data/docs/TeamPatchInput.md +20 -0
  92. data/docs/TeamPostInput.md +28 -0
  93. data/docs/TeamRep.md +40 -0
  94. data/docs/TeamsBetaApi.md +450 -0
  95. data/docs/TriggerPost.md +22 -0
  96. data/docs/TriggerWorkflowCollectionRep.md +20 -0
  97. data/docs/TriggerWorkflowRep.md +42 -0
  98. data/docs/UnauthorizedErrorRep.md +20 -0
  99. data/docs/User.md +26 -14
  100. data/docs/UserRecord.md +5 -1
  101. data/docs/UserRecordRep.md +26 -0
  102. data/docs/UserSegment.md +3 -1
  103. data/docs/UserSettingsApi.md +1 -1
  104. data/docs/Users.md +1 -1
  105. data/docs/UsersApi.md +11 -7
  106. data/docs/WebhooksApi.md +1 -1
  107. data/docs/WorkflowsBetaApi.md +316 -0
  108. data/git_push.sh +3 -3
  109. data/launchdarkly_api.gemspec +5 -5
  110. data/lib/launchdarkly_api/api/access_tokens_api.rb +12 -4
  111. data/lib/launchdarkly_api/api/account_members_api.rb +103 -21
  112. data/lib/launchdarkly_api/api/account_usage_beta_api.rb +2 -2
  113. data/lib/launchdarkly_api/api/approvals_api.rb +21 -7
  114. data/lib/launchdarkly_api/api/audit_log_api.rb +2 -2
  115. data/lib/launchdarkly_api/api/code_references_api.rb +66 -35
  116. data/lib/launchdarkly_api/api/custom_roles_api.rb +24 -16
  117. data/lib/launchdarkly_api/api/data_export_destinations_api.rb +12 -4
  118. data/lib/launchdarkly_api/api/environments_api.rb +16 -8
  119. data/lib/launchdarkly_api/api/experiments_beta_api.rb +4 -2
  120. data/lib/launchdarkly_api/api/feature_flags_api.rb +22 -11
  121. data/lib/launchdarkly_api/api/feature_flags_beta_api.rb +2 -2
  122. data/lib/launchdarkly_api/api/flag_triggers_api.rb +437 -0
  123. data/lib/launchdarkly_api/api/integration_audit_log_subscriptions_api.rb +377 -0
  124. data/lib/launchdarkly_api/api/metrics_api.rb +14 -6
  125. data/lib/launchdarkly_api/api/other_api.rb +5 -5
  126. data/lib/launchdarkly_api/api/projects_api.rb +14 -6
  127. data/lib/launchdarkly_api/api/relay_proxy_configurations_api.rb +12 -4
  128. data/lib/launchdarkly_api/api/scheduled_changes_api.rb +14 -6
  129. data/lib/launchdarkly_api/api/segments_api.rb +28 -12
  130. data/lib/launchdarkly_api/api/teams_beta_api.rb +427 -0
  131. data/lib/launchdarkly_api/api/user_settings_api.rb +12 -4
  132. data/lib/launchdarkly_api/api/users_api.rb +15 -7
  133. data/lib/launchdarkly_api/api/users_beta_api.rb +2 -2
  134. data/lib/launchdarkly_api/api/webhooks_api.rb +12 -4
  135. data/lib/launchdarkly_api/api/workflows_beta_api.rb +345 -0
  136. data/lib/launchdarkly_api/api_client.rb +5 -5
  137. data/lib/launchdarkly_api/api_error.rb +2 -2
  138. data/lib/launchdarkly_api/configuration.rb +4 -3
  139. data/lib/launchdarkly_api/models/access_denied_reason_rep.rb +8 -4
  140. data/lib/launchdarkly_api/models/access_denied_rep.rb +2 -2
  141. data/lib/launchdarkly_api/models/access_rep.rb +2 -2
  142. data/lib/launchdarkly_api/models/access_token_post.rb +2 -2
  143. data/lib/launchdarkly_api/models/action_input_rep.rb +219 -0
  144. data/lib/launchdarkly_api/models/action_output_rep.rb +239 -0
  145. data/lib/launchdarkly_api/models/approval_condition_input_rep.rb +229 -0
  146. data/lib/launchdarkly_api/models/approval_condition_output_rep.rb +278 -0
  147. data/lib/launchdarkly_api/models/approval_settings.rb +3 -3
  148. data/lib/launchdarkly_api/models/audit_log_entry_listing_rep.rb +2 -2
  149. data/lib/launchdarkly_api/models/audit_log_entry_listing_rep_collection.rb +2 -2
  150. data/lib/launchdarkly_api/models/audit_log_entry_rep.rb +2 -2
  151. data/lib/launchdarkly_api/models/authorized_app_data_rep.rb +2 -2
  152. data/lib/launchdarkly_api/models/big_segment_target.rb +2 -2
  153. data/lib/launchdarkly_api/models/branch_collection_rep.rb +3 -2
  154. data/lib/launchdarkly_api/models/branch_rep.rb +26 -2
  155. data/lib/launchdarkly_api/models/clause.rb +2 -2
  156. data/lib/launchdarkly_api/models/client_side_availability.rb +2 -2
  157. data/lib/launchdarkly_api/models/client_side_availability_post.rb +2 -2
  158. data/lib/launchdarkly_api/models/condition_base_output_rep.rb +246 -0
  159. data/lib/launchdarkly_api/models/condition_input_rep.rb +256 -0
  160. data/lib/launchdarkly_api/models/condition_output_rep.rb +324 -0
  161. data/lib/launchdarkly_api/models/confidence_interval_rep.rb +2 -2
  162. data/lib/launchdarkly_api/models/conflict.rb +2 -2
  163. data/lib/launchdarkly_api/models/conflict_output_rep.rb +237 -0
  164. data/lib/launchdarkly_api/models/copied_from_env.rb +2 -2
  165. data/lib/launchdarkly_api/models/create_copy_flag_config_approval_request_request.rb +7 -2
  166. data/lib/launchdarkly_api/models/create_flag_config_approval_request_request.rb +2 -2
  167. data/lib/launchdarkly_api/models/custom_property.rb +2 -2
  168. data/lib/launchdarkly_api/models/custom_role.rb +47 -38
  169. data/lib/launchdarkly_api/models/custom_role_post.rb +15 -6
  170. data/lib/launchdarkly_api/models/custom_role_post_data.rb +15 -6
  171. data/lib/launchdarkly_api/models/custom_roles.rb +2 -2
  172. data/lib/launchdarkly_api/models/custom_roles_rep.rb +247 -0
  173. data/lib/launchdarkly_api/models/custom_workflow_input_rep.rb +252 -0
  174. data/lib/launchdarkly_api/models/custom_workflow_meta.rb +227 -0
  175. data/lib/launchdarkly_api/models/custom_workflow_output_rep.rb +354 -0
  176. data/lib/launchdarkly_api/models/custom_workflow_stage_meta.rb +227 -0
  177. data/lib/launchdarkly_api/models/custom_workflows_listing_output_rep.rb +225 -0
  178. data/lib/launchdarkly_api/models/default_client_side_availability_post.rb +2 -2
  179. data/lib/launchdarkly_api/models/defaults.rb +2 -2
  180. data/lib/launchdarkly_api/models/dependent_flag.rb +2 -2
  181. data/lib/launchdarkly_api/models/dependent_flag_environment.rb +2 -2
  182. data/lib/launchdarkly_api/models/dependent_flags_by_environment.rb +2 -2
  183. data/lib/launchdarkly_api/models/derived_attribute.rb +228 -0
  184. data/lib/launchdarkly_api/models/destination.rb +2 -2
  185. data/lib/launchdarkly_api/models/destination_post.rb +2 -2
  186. data/lib/launchdarkly_api/models/destinations.rb +2 -2
  187. data/lib/launchdarkly_api/models/environment.rb +31 -3
  188. data/lib/launchdarkly_api/models/environment_post.rb +2 -2
  189. data/lib/launchdarkly_api/models/execution_output_rep.rb +223 -0
  190. data/lib/launchdarkly_api/models/expanded_team_rep.rb +349 -0
  191. data/lib/launchdarkly_api/models/experiment_allocation_rep.rb +2 -2
  192. data/lib/launchdarkly_api/models/experiment_enabled_period_rep.rb +2 -2
  193. data/lib/launchdarkly_api/models/experiment_environment_setting_rep.rb +2 -2
  194. data/lib/launchdarkly_api/models/experiment_info_rep.rb +2 -2
  195. data/lib/launchdarkly_api/models/experiment_metadata_rep.rb +2 -2
  196. data/lib/launchdarkly_api/models/experiment_rep.rb +2 -2
  197. data/lib/launchdarkly_api/models/experiment_results_rep.rb +15 -6
  198. data/lib/launchdarkly_api/models/experiment_stats_rep.rb +2 -2
  199. data/lib/launchdarkly_api/models/experiment_time_series_slice.rb +2 -2
  200. data/lib/launchdarkly_api/models/experiment_time_series_variation_slice.rb +2 -2
  201. data/lib/launchdarkly_api/models/experiment_totals_rep.rb +2 -2
  202. data/lib/launchdarkly_api/models/expiring_user_target_error.rb +2 -2
  203. data/lib/launchdarkly_api/models/expiring_user_target_get_response.rb +2 -2
  204. data/lib/launchdarkly_api/models/expiring_user_target_item.rb +2 -2
  205. data/lib/launchdarkly_api/models/expiring_user_target_patch_response.rb +2 -2
  206. data/lib/launchdarkly_api/models/extinction.rb +22 -13
  207. data/lib/launchdarkly_api/models/extinction_collection_rep.rb +4 -3
  208. data/lib/launchdarkly_api/models/feature_flag.rb +2 -2
  209. data/lib/launchdarkly_api/models/feature_flag_body.rb +3 -3
  210. data/lib/launchdarkly_api/models/feature_flag_config.rb +2 -2
  211. data/lib/launchdarkly_api/models/feature_flag_scheduled_change.rb +2 -2
  212. data/lib/launchdarkly_api/models/feature_flag_scheduled_changes.rb +2 -2
  213. data/lib/launchdarkly_api/models/feature_flag_status.rb +2 -2
  214. data/lib/launchdarkly_api/models/feature_flag_status_across_environments.rb +2 -2
  215. data/lib/launchdarkly_api/models/feature_flag_statuses.rb +2 -2
  216. data/lib/launchdarkly_api/models/feature_flags.rb +2 -2
  217. data/lib/launchdarkly_api/models/flag_config_approval_request_response.rb +15 -6
  218. data/lib/launchdarkly_api/models/flag_config_approval_requests_response.rb +2 -2
  219. data/lib/launchdarkly_api/models/flag_copy_config_environment.rb +2 -2
  220. data/lib/launchdarkly_api/models/flag_copy_config_post.rb +2 -2
  221. data/lib/launchdarkly_api/models/flag_global_attributes_rep.rb +2 -2
  222. data/lib/launchdarkly_api/models/flag_listing_rep.rb +2 -2
  223. data/lib/launchdarkly_api/models/flag_scheduled_changes_input.rb +2 -2
  224. data/lib/launchdarkly_api/models/flag_status_rep.rb +2 -2
  225. data/lib/launchdarkly_api/models/flag_summary.rb +2 -2
  226. data/lib/launchdarkly_api/models/flag_trigger_input.rb +230 -0
  227. data/lib/launchdarkly_api/models/forbidden_error_rep.rb +227 -0
  228. data/lib/launchdarkly_api/models/hunk_rep.rb +12 -2
  229. data/lib/launchdarkly_api/models/integration.rb +325 -0
  230. data/lib/launchdarkly_api/models/integration_metadata.rb +2 -2
  231. data/lib/launchdarkly_api/models/integration_status.rb +2 -2
  232. data/lib/launchdarkly_api/models/integration_status_rep.rb +236 -0
  233. data/lib/launchdarkly_api/models/integration_subscription_status_rep.rb +256 -0
  234. data/lib/launchdarkly_api/models/integrations.rb +240 -0
  235. data/lib/launchdarkly_api/models/invalid_request_error_rep.rb +227 -0
  236. data/lib/launchdarkly_api/models/ip_list.rb +2 -2
  237. data/lib/launchdarkly_api/models/last_seen_metadata.rb +2 -2
  238. data/lib/launchdarkly_api/models/link.rb +2 -2
  239. data/lib/launchdarkly_api/models/member.rb +20 -6
  240. data/lib/launchdarkly_api/models/member_data_rep.rb +2 -2
  241. data/lib/launchdarkly_api/models/member_import_item_rep.rb +246 -0
  242. data/lib/launchdarkly_api/models/member_permission_grant_summary_rep.rb +2 -2
  243. data/lib/launchdarkly_api/models/member_summary_rep.rb +2 -2
  244. data/lib/launchdarkly_api/models/member_team_summary_rep.rb +2 -2
  245. data/lib/launchdarkly_api/models/member_teams_post_input.rb +226 -0
  246. data/lib/launchdarkly_api/models/members.rb +2 -2
  247. data/lib/launchdarkly_api/models/method_not_allowed_error_rep.rb +227 -0
  248. data/lib/launchdarkly_api/models/metric_collection_rep.rb +2 -2
  249. data/lib/launchdarkly_api/models/metric_listing_rep.rb +15 -3
  250. data/lib/launchdarkly_api/models/metric_post.rb +15 -3
  251. data/lib/launchdarkly_api/models/metric_rep.rb +15 -3
  252. data/lib/launchdarkly_api/models/metric_seen.rb +227 -0
  253. data/lib/launchdarkly_api/models/modification.rb +2 -2
  254. data/lib/launchdarkly_api/models/multi_environment_dependent_flag.rb +2 -2
  255. data/lib/launchdarkly_api/models/multi_environment_dependent_flags.rb +2 -2
  256. data/lib/launchdarkly_api/models/new_member_form.rb +2 -2
  257. data/lib/launchdarkly_api/models/not_found_error_rep.rb +227 -0
  258. data/lib/launchdarkly_api/models/parent_resource_rep.rb +2 -2
  259. data/lib/launchdarkly_api/models/patch_failed_error_rep.rb +227 -0
  260. data/lib/launchdarkly_api/models/patch_operation.rb +2 -2
  261. data/lib/launchdarkly_api/models/patch_segment_instruction.rb +2 -2
  262. data/lib/launchdarkly_api/models/patch_segment_request.rb +2 -2
  263. data/lib/launchdarkly_api/models/patch_with_comment.rb +2 -2
  264. data/lib/launchdarkly_api/models/permission_grant_input.rb +240 -0
  265. data/lib/launchdarkly_api/models/permission_grant_rep.rb +249 -0
  266. data/lib/launchdarkly_api/models/post_approval_request_apply_request.rb +2 -2
  267. data/lib/launchdarkly_api/models/post_approval_request_review_request.rb +2 -2
  268. data/lib/launchdarkly_api/models/post_flag_scheduled_changes_input.rb +2 -2
  269. data/lib/launchdarkly_api/models/prerequisite.rb +2 -2
  270. data/lib/launchdarkly_api/models/project.rb +2 -2
  271. data/lib/launchdarkly_api/models/project_listing_rep.rb +2 -2
  272. data/lib/launchdarkly_api/models/project_post.rb +3 -3
  273. data/lib/launchdarkly_api/models/projects.rb +2 -2
  274. data/lib/launchdarkly_api/models/pub_nub_detail_rep.rb +2 -2
  275. data/lib/launchdarkly_api/models/put_branch.rb +284 -0
  276. data/lib/launchdarkly_api/models/rate_limited_error_rep.rb +227 -0
  277. data/lib/launchdarkly_api/models/recent_trigger_body.rb +229 -0
  278. data/lib/launchdarkly_api/models/reference_rep.rb +14 -2
  279. data/lib/launchdarkly_api/models/relay_auto_config_collection_rep.rb +2 -2
  280. data/lib/launchdarkly_api/models/relay_auto_config_post.rb +2 -2
  281. data/lib/launchdarkly_api/models/relay_auto_config_rep.rb +2 -2
  282. data/lib/launchdarkly_api/models/repository_collection_rep.rb +3 -2
  283. data/lib/launchdarkly_api/models/repository_post.rb +4 -2
  284. data/lib/launchdarkly_api/models/repository_rep.rb +45 -2
  285. data/lib/launchdarkly_api/models/resource_access.rb +2 -2
  286. data/lib/launchdarkly_api/models/resource_id_response.rb +2 -2
  287. data/lib/launchdarkly_api/models/review_output_rep.rb +264 -0
  288. data/lib/launchdarkly_api/models/review_response.rb +2 -2
  289. data/lib/launchdarkly_api/models/rollout.rb +2 -2
  290. data/lib/launchdarkly_api/models/rule.rb +15 -6
  291. data/lib/launchdarkly_api/models/schedule_condition_input_rep.rb +227 -0
  292. data/lib/launchdarkly_api/models/schedule_condition_output_rep.rb +218 -0
  293. data/lib/launchdarkly_api/models/sdk_list_rep.rb +2 -2
  294. data/lib/launchdarkly_api/models/sdk_version_list_rep.rb +2 -2
  295. data/lib/launchdarkly_api/models/sdk_version_rep.rb +2 -2
  296. data/lib/launchdarkly_api/models/segment_body.rb +2 -2
  297. data/lib/launchdarkly_api/models/segment_metadata.rb +2 -2
  298. data/lib/launchdarkly_api/models/segment_user_list.rb +2 -2
  299. data/lib/launchdarkly_api/models/segment_user_state.rb +2 -2
  300. data/lib/launchdarkly_api/models/series_list_rep.rb +2 -2
  301. data/lib/launchdarkly_api/models/source_flag.rb +2 -2
  302. data/lib/launchdarkly_api/models/stage_input_rep.rb +238 -0
  303. data/lib/launchdarkly_api/models/stage_output_rep.rb +276 -0
  304. data/lib/launchdarkly_api/models/statement.rb +8 -4
  305. data/lib/launchdarkly_api/models/statement_post.rb +2 -2
  306. data/lib/launchdarkly_api/models/statement_post_data.rb +2 -2
  307. data/lib/launchdarkly_api/models/statement_rep.rb +9 -4
  308. data/lib/launchdarkly_api/models/statistic_collection_rep.rb +2 -2
  309. data/lib/launchdarkly_api/models/statistic_rep.rb +2 -2
  310. data/lib/launchdarkly_api/models/statistics_root.rb +2 -2
  311. data/lib/launchdarkly_api/models/status_conflict_error_rep.rb +227 -0
  312. data/lib/launchdarkly_api/models/subject_data_rep.rb +2 -2
  313. data/lib/launchdarkly_api/models/subscription_post.rb +293 -0
  314. data/lib/launchdarkly_api/models/target.rb +2 -2
  315. data/lib/launchdarkly_api/models/target_resource_rep.rb +2 -2
  316. data/lib/launchdarkly_api/models/team_collection_rep.rb +240 -0
  317. data/lib/launchdarkly_api/models/team_imports_rep.rb +220 -0
  318. data/lib/launchdarkly_api/models/team_patch_input.rb +229 -0
  319. data/lib/launchdarkly_api/models/team_post_input.rb +285 -0
  320. data/lib/launchdarkly_api/models/team_rep.rb +327 -0
  321. data/lib/launchdarkly_api/models/title_rep.rb +2 -2
  322. data/lib/launchdarkly_api/models/token.rb +2 -2
  323. data/lib/launchdarkly_api/models/token_data_rep.rb +2 -2
  324. data/lib/launchdarkly_api/models/tokens.rb +2 -2
  325. data/lib/launchdarkly_api/models/trigger_post.rb +245 -0
  326. data/lib/launchdarkly_api/models/trigger_workflow_collection_rep.rb +231 -0
  327. data/lib/launchdarkly_api/models/trigger_workflow_rep.rb +332 -0
  328. data/lib/launchdarkly_api/models/unauthorized_error_rep.rb +227 -0
  329. data/lib/launchdarkly_api/models/url_post.rb +2 -2
  330. data/lib/launchdarkly_api/models/user.rb +104 -47
  331. data/lib/launchdarkly_api/models/user_attribute_names_rep.rb +2 -2
  332. data/lib/launchdarkly_api/models/user_flag_setting.rb +2 -2
  333. data/lib/launchdarkly_api/models/user_flag_settings.rb +2 -2
  334. data/lib/launchdarkly_api/models/user_record.rb +27 -7
  335. data/lib/launchdarkly_api/models/user_record_rep.rb +255 -0
  336. data/lib/launchdarkly_api/models/user_segment.rb +15 -6
  337. data/lib/launchdarkly_api/models/user_segment_rule.rb +2 -2
  338. data/lib/launchdarkly_api/models/user_segments.rb +2 -2
  339. data/lib/launchdarkly_api/models/users.rb +3 -3
  340. data/lib/launchdarkly_api/models/value_put.rb +2 -2
  341. data/lib/launchdarkly_api/models/variation.rb +2 -2
  342. data/lib/launchdarkly_api/models/variation_or_rollout_rep.rb +2 -2
  343. data/lib/launchdarkly_api/models/variation_summary.rb +2 -2
  344. data/lib/launchdarkly_api/models/versions_rep.rb +2 -2
  345. data/lib/launchdarkly_api/models/webhook.rb +2 -2
  346. data/lib/launchdarkly_api/models/webhook_post.rb +2 -2
  347. data/lib/launchdarkly_api/models/webhooks.rb +2 -2
  348. data/lib/launchdarkly_api/models/weighted_variation.rb +2 -2
  349. data/lib/launchdarkly_api/version.rb +3 -3
  350. data/lib/launchdarkly_api.rb +58 -7
  351. data/spec/api/access_tokens_api_spec.rb +2 -2
  352. data/spec/api/account_members_api_spec.rb +20 -7
  353. data/spec/api/account_usage_beta_api_spec.rb +2 -2
  354. data/spec/api/approvals_api_spec.rb +2 -2
  355. data/spec/api/audit_log_api_spec.rb +2 -2
  356. data/spec/api/code_references_api_spec.rb +9 -7
  357. data/spec/api/custom_roles_api_spec.rb +4 -4
  358. data/spec/api/data_export_destinations_api_spec.rb +2 -2
  359. data/spec/api/environments_api_spec.rb +4 -4
  360. data/spec/api/experiments_beta_api_spec.rb +2 -2
  361. data/spec/api/feature_flags_api_spec.rb +3 -4
  362. data/spec/api/feature_flags_beta_api_spec.rb +2 -2
  363. data/spec/api/flag_triggers_api_spec.rb +110 -0
  364. data/spec/api/integration_audit_log_subscriptions_api_spec.rb +100 -0
  365. data/spec/api/metrics_api_spec.rb +3 -3
  366. data/spec/api/other_api_spec.rb +3 -3
  367. data/spec/api/projects_api_spec.rb +3 -3
  368. data/spec/api/relay_proxy_configurations_api_spec.rb +2 -2
  369. data/spec/api/scheduled_changes_api_spec.rb +3 -3
  370. data/spec/api/segments_api_spec.rb +5 -5
  371. data/spec/api/teams_beta_api_spec.rb +111 -0
  372. data/spec/api/user_settings_api_spec.rb +2 -2
  373. data/spec/api/users_api_spec.rb +6 -4
  374. data/spec/api/users_beta_api_spec.rb +2 -2
  375. data/spec/api/webhooks_api_spec.rb +2 -2
  376. data/spec/api/workflows_beta_api_spec.rb +94 -0
  377. data/spec/api_client_spec.rb +4 -4
  378. data/spec/configuration_spec.rb +2 -2
  379. data/spec/models/access_denied_reason_rep_spec.rb +2 -2
  380. data/spec/models/access_denied_rep_spec.rb +2 -2
  381. data/spec/models/access_rep_spec.rb +2 -2
  382. data/spec/models/access_token_post_spec.rb +2 -2
  383. data/spec/models/action_input_rep_spec.rb +34 -0
  384. data/spec/models/action_output_rep_spec.rb +40 -0
  385. data/spec/models/approval_condition_input_rep_spec.rb +40 -0
  386. data/spec/models/approval_condition_output_rep_spec.rb +58 -0
  387. data/spec/models/approval_settings_spec.rb +2 -2
  388. data/spec/models/audit_log_entry_listing_rep_collection_spec.rb +2 -2
  389. data/spec/models/audit_log_entry_listing_rep_spec.rb +2 -2
  390. data/spec/models/audit_log_entry_rep_spec.rb +2 -2
  391. data/spec/models/authorized_app_data_rep_spec.rb +2 -2
  392. data/spec/models/big_segment_target_spec.rb +2 -2
  393. data/spec/models/branch_collection_rep_spec.rb +2 -2
  394. data/spec/models/branch_rep_spec.rb +2 -2
  395. data/spec/models/clause_spec.rb +2 -2
  396. data/spec/models/client_side_availability_post_spec.rb +2 -2
  397. data/spec/models/client_side_availability_spec.rb +2 -2
  398. data/spec/models/condition_base_output_rep_spec.rb +46 -0
  399. data/spec/models/condition_input_rep_spec.rb +58 -0
  400. data/spec/models/condition_output_rep_spec.rb +82 -0
  401. data/spec/models/confidence_interval_rep_spec.rb +2 -2
  402. data/spec/models/conflict_output_rep_spec.rb +40 -0
  403. data/spec/models/conflict_spec.rb +2 -2
  404. data/spec/models/copied_from_env_spec.rb +2 -2
  405. data/spec/models/create_copy_flag_config_approval_request_request_spec.rb +2 -2
  406. data/spec/models/create_flag_config_approval_request_request_spec.rb +2 -2
  407. data/spec/models/custom_property_spec.rb +2 -2
  408. data/spec/models/custom_role_post_data_spec.rb +8 -2
  409. data/spec/models/custom_role_post_spec.rb +8 -2
  410. data/spec/models/custom_role_spec.rb +13 -7
  411. data/spec/models/custom_roles_rep_spec.rb +52 -0
  412. data/spec/models/custom_roles_spec.rb +2 -2
  413. data/spec/models/custom_workflow_input_rep_spec.rb +52 -0
  414. data/spec/models/custom_workflow_meta_spec.rb +40 -0
  415. data/spec/models/custom_workflow_output_rep_spec.rb +94 -0
  416. data/spec/models/custom_workflow_stage_meta_spec.rb +40 -0
  417. data/spec/models/custom_workflows_listing_output_rep_spec.rb +34 -0
  418. data/spec/models/default_client_side_availability_post_spec.rb +2 -2
  419. data/spec/models/defaults_spec.rb +2 -2
  420. data/spec/models/dependent_flag_environment_spec.rb +2 -2
  421. data/spec/models/dependent_flag_spec.rb +2 -2
  422. data/spec/models/dependent_flags_by_environment_spec.rb +2 -2
  423. data/spec/models/derived_attribute_spec.rb +40 -0
  424. data/spec/models/destination_post_spec.rb +2 -2
  425. data/spec/models/destination_spec.rb +2 -2
  426. data/spec/models/destinations_spec.rb +2 -2
  427. data/spec/models/environment_post_spec.rb +2 -2
  428. data/spec/models/environment_spec.rb +14 -2
  429. data/spec/models/execution_output_rep_spec.rb +34 -0
  430. data/spec/models/expanded_team_rep_spec.rb +112 -0
  431. data/spec/models/experiment_allocation_rep_spec.rb +2 -2
  432. data/spec/models/experiment_enabled_period_rep_spec.rb +2 -2
  433. data/spec/models/experiment_environment_setting_rep_spec.rb +2 -2
  434. data/spec/models/experiment_info_rep_spec.rb +2 -2
  435. data/spec/models/experiment_metadata_rep_spec.rb +2 -2
  436. data/spec/models/experiment_rep_spec.rb +2 -2
  437. data/spec/models/experiment_results_rep_spec.rb +8 -2
  438. data/spec/models/experiment_stats_rep_spec.rb +2 -2
  439. data/spec/models/experiment_time_series_slice_spec.rb +2 -2
  440. data/spec/models/experiment_time_series_variation_slice_spec.rb +2 -2
  441. data/spec/models/experiment_totals_rep_spec.rb +2 -2
  442. data/spec/models/expiring_user_target_error_spec.rb +2 -2
  443. data/spec/models/expiring_user_target_get_response_spec.rb +2 -2
  444. data/spec/models/expiring_user_target_item_spec.rb +2 -2
  445. data/spec/models/expiring_user_target_patch_response_spec.rb +2 -2
  446. data/spec/models/extinction_collection_rep_spec.rb +2 -2
  447. data/spec/models/extinction_spec.rb +3 -3
  448. data/spec/models/feature_flag_body_spec.rb +2 -2
  449. data/spec/models/feature_flag_config_spec.rb +2 -2
  450. data/spec/models/feature_flag_scheduled_change_spec.rb +2 -2
  451. data/spec/models/feature_flag_scheduled_changes_spec.rb +2 -2
  452. data/spec/models/feature_flag_spec.rb +2 -2
  453. data/spec/models/feature_flag_status_across_environments_spec.rb +2 -2
  454. data/spec/models/feature_flag_status_spec.rb +2 -2
  455. data/spec/models/feature_flag_statuses_spec.rb +2 -2
  456. data/spec/models/feature_flags_spec.rb +2 -2
  457. data/spec/models/flag_config_approval_request_response_spec.rb +8 -2
  458. data/spec/models/flag_config_approval_requests_response_spec.rb +2 -2
  459. data/spec/models/flag_copy_config_environment_spec.rb +2 -2
  460. data/spec/models/flag_copy_config_post_spec.rb +2 -2
  461. data/spec/models/flag_global_attributes_rep_spec.rb +2 -2
  462. data/spec/models/flag_listing_rep_spec.rb +2 -2
  463. data/spec/models/flag_scheduled_changes_input_spec.rb +2 -2
  464. data/spec/models/flag_status_rep_spec.rb +2 -2
  465. data/spec/models/flag_summary_spec.rb +2 -2
  466. data/spec/models/flag_trigger_input_spec.rb +40 -0
  467. data/spec/models/forbidden_error_rep_spec.rb +40 -0
  468. data/spec/models/hunk_rep_spec.rb +2 -2
  469. data/spec/models/integration_metadata_spec.rb +2 -2
  470. data/spec/models/integration_spec.rb +100 -0
  471. data/spec/models/integration_status_rep_spec.rb +46 -0
  472. data/spec/models/integration_status_spec.rb +2 -2
  473. data/spec/models/integration_subscription_status_rep_spec.rb +58 -0
  474. data/spec/models/integrations_spec.rb +46 -0
  475. data/spec/models/invalid_request_error_rep_spec.rb +40 -0
  476. data/spec/models/ip_list_spec.rb +2 -2
  477. data/spec/models/last_seen_metadata_spec.rb +2 -2
  478. data/spec/models/link_spec.rb +2 -2
  479. data/spec/models/member_data_rep_spec.rb +2 -2
  480. data/spec/models/member_import_item_rep_spec.rb +46 -0
  481. data/spec/models/member_permission_grant_summary_rep_spec.rb +2 -2
  482. data/spec/models/member_spec.rb +8 -2
  483. data/spec/models/member_summary_rep_spec.rb +2 -2
  484. data/spec/models/member_team_summary_rep_spec.rb +2 -2
  485. data/spec/models/member_teams_post_input_spec.rb +34 -0
  486. data/spec/models/members_spec.rb +2 -2
  487. data/spec/models/method_not_allowed_error_rep_spec.rb +40 -0
  488. data/spec/models/metric_collection_rep_spec.rb +2 -2
  489. data/spec/models/metric_listing_rep_spec.rb +6 -2
  490. data/spec/models/metric_post_spec.rb +6 -2
  491. data/spec/models/metric_rep_spec.rb +6 -2
  492. data/spec/models/metric_seen_spec.rb +40 -0
  493. data/spec/models/modification_spec.rb +2 -2
  494. data/spec/models/multi_environment_dependent_flag_spec.rb +2 -2
  495. data/spec/models/multi_environment_dependent_flags_spec.rb +2 -2
  496. data/spec/models/new_member_form_spec.rb +2 -2
  497. data/spec/models/not_found_error_rep_spec.rb +40 -0
  498. data/spec/models/parent_resource_rep_spec.rb +2 -2
  499. data/spec/models/patch_failed_error_rep_spec.rb +40 -0
  500. data/spec/models/patch_operation_spec.rb +2 -2
  501. data/spec/models/patch_segment_instruction_spec.rb +2 -2
  502. data/spec/models/patch_segment_request_spec.rb +2 -2
  503. data/spec/models/patch_with_comment_spec.rb +2 -2
  504. data/spec/models/permission_grant_input_spec.rb +46 -0
  505. data/spec/models/permission_grant_rep_spec.rb +52 -0
  506. data/spec/models/post_approval_request_apply_request_spec.rb +2 -2
  507. data/spec/models/post_approval_request_review_request_spec.rb +2 -2
  508. data/spec/models/post_flag_scheduled_changes_input_spec.rb +2 -2
  509. data/spec/models/prerequisite_spec.rb +2 -2
  510. data/spec/models/project_listing_rep_spec.rb +2 -2
  511. data/spec/models/project_post_spec.rb +2 -2
  512. data/spec/models/project_spec.rb +2 -2
  513. data/spec/models/projects_spec.rb +2 -2
  514. data/spec/models/pub_nub_detail_rep_spec.rb +2 -2
  515. data/spec/models/put_branch_spec.rb +64 -0
  516. data/spec/models/rate_limited_error_rep_spec.rb +40 -0
  517. data/spec/models/recent_trigger_body_spec.rb +40 -0
  518. data/spec/models/reference_rep_spec.rb +2 -2
  519. data/spec/models/relay_auto_config_collection_rep_spec.rb +2 -2
  520. data/spec/models/relay_auto_config_post_spec.rb +2 -2
  521. data/spec/models/relay_auto_config_rep_spec.rb +2 -2
  522. data/spec/models/repository_collection_rep_spec.rb +2 -2
  523. data/spec/models/repository_post_spec.rb +2 -2
  524. data/spec/models/repository_rep_spec.rb +6 -2
  525. data/spec/models/resource_access_spec.rb +2 -2
  526. data/spec/models/resource_id_response_spec.rb +2 -2
  527. data/spec/models/review_output_rep_spec.rb +58 -0
  528. data/spec/models/review_response_spec.rb +2 -2
  529. data/spec/models/rollout_spec.rb +2 -2
  530. data/spec/models/rule_spec.rb +8 -2
  531. data/spec/models/schedule_condition_input_rep_spec.rb +40 -0
  532. data/spec/models/schedule_condition_output_rep_spec.rb +34 -0
  533. data/spec/models/sdk_list_rep_spec.rb +2 -2
  534. data/spec/models/sdk_version_list_rep_spec.rb +2 -2
  535. data/spec/models/sdk_version_rep_spec.rb +2 -2
  536. data/spec/models/segment_body_spec.rb +2 -2
  537. data/spec/models/segment_metadata_spec.rb +2 -2
  538. data/spec/models/segment_user_list_spec.rb +2 -2
  539. data/spec/models/segment_user_state_spec.rb +2 -2
  540. data/spec/models/series_list_rep_spec.rb +2 -2
  541. data/spec/models/source_flag_spec.rb +2 -2
  542. data/spec/models/stage_input_rep_spec.rb +46 -0
  543. data/spec/models/stage_output_rep_spec.rb +58 -0
  544. data/spec/models/statement_post_data_spec.rb +2 -2
  545. data/spec/models/statement_post_spec.rb +2 -2
  546. data/spec/models/statement_rep_spec.rb +2 -2
  547. data/spec/models/statement_spec.rb +2 -2
  548. data/spec/models/statistic_collection_rep_spec.rb +2 -2
  549. data/spec/models/statistic_rep_spec.rb +2 -2
  550. data/spec/models/statistics_root_spec.rb +2 -2
  551. data/spec/models/status_conflict_error_rep_spec.rb +40 -0
  552. data/spec/models/subject_data_rep_spec.rb +2 -2
  553. data/spec/models/subscription_post_spec.rb +70 -0
  554. data/spec/models/target_resource_rep_spec.rb +2 -2
  555. data/spec/models/target_spec.rb +2 -2
  556. data/spec/models/team_collection_rep_spec.rb +46 -0
  557. data/spec/models/team_imports_rep_spec.rb +34 -0
  558. data/spec/models/team_patch_input_spec.rb +40 -0
  559. data/spec/models/team_post_input_spec.rb +64 -0
  560. data/spec/models/team_rep_spec.rb +100 -0
  561. data/spec/models/title_rep_spec.rb +2 -2
  562. data/spec/models/token_data_rep_spec.rb +2 -2
  563. data/spec/models/token_spec.rb +2 -2
  564. data/spec/models/tokens_spec.rb +2 -2
  565. data/spec/models/trigger_post_spec.rb +46 -0
  566. data/spec/models/trigger_workflow_collection_rep_spec.rb +40 -0
  567. data/spec/models/trigger_workflow_rep_spec.rb +106 -0
  568. data/spec/models/unauthorized_error_rep_spec.rb +40 -0
  569. data/spec/models/url_post_spec.rb +2 -2
  570. data/spec/models/user_attribute_names_rep_spec.rb +2 -2
  571. data/spec/models/user_flag_setting_spec.rb +2 -2
  572. data/spec/models/user_flag_settings_spec.rb +2 -2
  573. data/spec/models/user_record_rep_spec.rb +58 -0
  574. data/spec/models/user_record_spec.rb +14 -2
  575. data/spec/models/user_segment_rule_spec.rb +2 -2
  576. data/spec/models/user_segment_spec.rb +8 -2
  577. data/spec/models/user_segments_spec.rb +2 -2
  578. data/spec/models/user_spec.rb +45 -9
  579. data/spec/models/users_spec.rb +2 -2
  580. data/spec/models/value_put_spec.rb +2 -2
  581. data/spec/models/variation_or_rollout_rep_spec.rb +2 -2
  582. data/spec/models/variation_spec.rb +2 -2
  583. data/spec/models/variation_summary_spec.rb +2 -2
  584. data/spec/models/versions_rep_spec.rb +2 -2
  585. data/spec/models/webhook_post_spec.rb +2 -2
  586. data/spec/models/webhook_spec.rb +2 -2
  587. data/spec/models/webhooks_spec.rb +2 -2
  588. data/spec/models/weighted_variation_spec.rb +2 -2
  589. data/spec/spec_helper.rb +2 -2
  590. metadata +474 -270
  591. data/docs/ExtinctionRep.md +0 -26
  592. data/docs/InlineObject.md +0 -26
  593. data/docs/InlineObject1.md +0 -28
  594. data/docs/InlineResponse200.md +0 -20
  595. data/docs/Variate.md +0 -24
  596. data/lib/launchdarkly_api/models/extinction_rep.rb +0 -279
  597. data/lib/launchdarkly_api/models/inline_object.rb +0 -274
  598. data/lib/launchdarkly_api/models/inline_object1.rb +0 -276
  599. data/lib/launchdarkly_api/models/inline_response200.rb +0 -227
  600. data/lib/launchdarkly_api/models/variate.rb +0 -246
  601. data/spec/models/extinction_rep_spec.rb +0 -58
  602. data/spec/models/inline_object1_spec.rb +0 -64
  603. data/spec/models/inline_object_spec.rb +0 -58
  604. data/spec/models/inline_response200_spec.rb +0 -40
  605. data/spec/models/variate_spec.rb +0 -52
@@ -4,10 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **resources** | **Array<Object>** | | [optional] |
8
- | **not_resources** | **Array<Object>** | | [optional] |
9
- | **actions** | **Array<String>** | | [optional] |
10
- | **not_actions** | **Array<String>** | | [optional] |
7
+ | **resources** | **Array<String>** | Resource specifier strings | [optional] |
8
+ | **not_resources** | **Array<String>** | Targeted resources are the resources NOT in this list. The \"resources\" field must be empty to use this field. | [optional] |
9
+ | **actions** | **Array<String>** | Actions to perform on a resource | [optional] |
10
+ | **not_actions** | **Array<String>** | Targeted actions are the actions NOT in this list. The \"actions\" field must be empty to use this field. | [optional] |
11
11
  | **effect** | **String** | | |
12
12
  | **role_name** | **String** | | [optional] |
13
13
 
@@ -79,7 +79,7 @@ nil (empty response body)
79
79
  ### HTTP request headers
80
80
 
81
81
  - **Content-Type**: Not defined
82
- - **Accept**: Not defined
82
+ - **Accept**: application/json
83
83
 
84
84
 
85
85
  ## get_token
@@ -8,6 +8,7 @@ All URIs are relative to *https://app.launchdarkly.com*
8
8
  | [**get_member**](AccountMembersApi.md#get_member) | **GET** /api/v2/members/{id} | Get account member |
9
9
  | [**get_members**](AccountMembersApi.md#get_members) | **GET** /api/v2/members | List account members |
10
10
  | [**patch_member**](AccountMembersApi.md#patch_member) | **PATCH** /api/v2/members/{id} | Modify an account member |
11
+ | [**post_member_teams**](AccountMembersApi.md#post_member_teams) | **POST** /api/v2/members/{id}/teams | Add member to teams |
11
12
  | [**post_members**](AccountMembersApi.md#post_members) | **POST** /api/v2/members | Invite new members |
12
13
 
13
14
 
@@ -17,7 +18,7 @@ All URIs are relative to *https://app.launchdarkly.com*
17
18
 
18
19
  Delete account member
19
20
 
20
- Delete a single account member by ID
21
+ Delete a single account member by ID. Requests to delete account members will not work if SCIM is enabled for the account.
21
22
 
22
23
  ### Examples
23
24
 
@@ -78,7 +79,7 @@ nil (empty response body)
78
79
  ### HTTP request headers
79
80
 
80
81
  - **Content-Type**: Not defined
81
- - **Accept**: Not defined
82
+ - **Accept**: application/json
82
83
 
83
84
 
84
85
  ## get_member
@@ -177,7 +178,7 @@ api_instance = LaunchDarklyApi::AccountMembersApi.new
177
178
  opts = {
178
179
  limit: 789, # Integer | The number of members to return in the response. Defaults to 20.
179
180
  offset: 789, # Integer | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items.
180
- filter: 'filter_example', # String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below.
181
+ filter: 'filter_example', # String | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above.
181
182
  sort: 'sort_example' # String | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order.
182
183
  }
183
184
 
@@ -214,7 +215,7 @@ end
214
215
  | ---- | ---- | ----------- | ----- |
215
216
  | **limit** | **Integer** | The number of members to return in the response. Defaults to 20. | [optional] |
216
217
  | **offset** | **Integer** | Where to start in the list. This is for use with pagination. For example, an offset of 10 would skip the first ten items and then return the next `limit` items. | [optional] |
217
- | **filter** | **String** | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained below. | [optional] |
218
+ | **filter** | **String** | A comma-separated list of filters. Each filter is of the form `field:value`. Supported fields are explained above. | [optional] |
218
219
  | **sort** | **String** | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. | [optional] |
219
220
 
220
221
  ### Return type
@@ -237,7 +238,7 @@ end
237
238
 
238
239
  Modify an account member
239
240
 
240
- Update a single account member. The request should be a valid JSON Patch document describing the changes to be made to the member.
241
+ Update a single account member. The request should be a valid JSON Patch document describing the changes to be made to the member. To update fields in the account member 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. For example, to add a new custom role to a member, use the following request body: ``` [ { \"op\": \"add\", \"path\": \"/customRoles/0\", \"value\": \"some-role-id\" } ] ``` Requests to update account members will not work if SCIM is enabled for the account.
241
242
 
242
243
  ### Examples
243
244
 
@@ -304,13 +305,86 @@ end
304
305
  - **Accept**: application/json
305
306
 
306
307
 
308
+ ## post_member_teams
309
+
310
+ > <Member> post_member_teams(id, member_teams_post_input)
311
+
312
+ Add member to teams
313
+
314
+ Add member to team(s)
315
+
316
+ ### Examples
317
+
318
+ ```ruby
319
+ require 'time'
320
+ require 'launchdarkly_api'
321
+ # setup authorization
322
+ LaunchDarklyApi.configure do |config|
323
+ # Configure API key authorization: ApiKey
324
+ config.api_key['ApiKey'] = 'YOUR API KEY'
325
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
326
+ # config.api_key_prefix['ApiKey'] = 'Bearer'
327
+ end
328
+
329
+ api_instance = LaunchDarklyApi::AccountMembersApi.new
330
+ id = 'id_example' # String | The member ID
331
+ member_teams_post_input = LaunchDarklyApi::MemberTeamsPostInput.new({team_keys: ['team_keys_example']}) # MemberTeamsPostInput |
332
+
333
+ begin
334
+ # Add member to teams
335
+ result = api_instance.post_member_teams(id, member_teams_post_input)
336
+ p result
337
+ rescue LaunchDarklyApi::ApiError => e
338
+ puts "Error when calling AccountMembersApi->post_member_teams: #{e}"
339
+ end
340
+ ```
341
+
342
+ #### Using the post_member_teams_with_http_info variant
343
+
344
+ This returns an Array which contains the response data, status code and headers.
345
+
346
+ > <Array(<Member>, Integer, Hash)> post_member_teams_with_http_info(id, member_teams_post_input)
347
+
348
+ ```ruby
349
+ begin
350
+ # Add member to teams
351
+ data, status_code, headers = api_instance.post_member_teams_with_http_info(id, member_teams_post_input)
352
+ p status_code # => 2xx
353
+ p headers # => { ... }
354
+ p data # => <Member>
355
+ rescue LaunchDarklyApi::ApiError => e
356
+ puts "Error when calling AccountMembersApi->post_member_teams_with_http_info: #{e}"
357
+ end
358
+ ```
359
+
360
+ ### Parameters
361
+
362
+ | Name | Type | Description | Notes |
363
+ | ---- | ---- | ----------- | ----- |
364
+ | **id** | **String** | The member ID | |
365
+ | **member_teams_post_input** | [**MemberTeamsPostInput**](MemberTeamsPostInput.md) | | |
366
+
367
+ ### Return type
368
+
369
+ [**Member**](Member.md)
370
+
371
+ ### Authorization
372
+
373
+ [ApiKey](../README.md#ApiKey)
374
+
375
+ ### HTTP request headers
376
+
377
+ - **Content-Type**: application/json
378
+ - **Accept**: application/json
379
+
380
+
307
381
  ## post_members
308
382
 
309
- > <Members> post_members(inline_object1)
383
+ > <Members> post_members(new_member_form)
310
384
 
311
385
  Invite new members
312
386
 
313
- > ### Full use of this API resource is only available to accounts with paid subscriptions > > The ability to bulk invite members is a paid feature. Single members may be invited if not on a paid plan. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
387
+ > ### Full use of this API resource is only available to accounts with paid subscriptions > > The ability to bulk invite members is a paid feature. Single members may be invited if not on a paid plan. Invite one or more new members to join an account. Each member is sent an invitation. Members with \"admin\" or \"owner\" roles may create new members, as well as anyone with a \"createMember\" permission for \"member/\\*\". If a member cannot be invited, the entire request is rejected and no members are invited from that request. Each member _must_ have an `email` field and either a `role` or a `customRoles` field. If any of the fields are not populated correctly, the request is rejected with the reason specified in the \"message\" field of the response. Requests to create account members will not work if SCIM is enabled for the account. _No more than 50 members may be created per request._ A request may also fail because of conflicts with existing members. These conflicts are reported using the additional `code` and `invalid_emails` response fields with the following possible values for `code`: - **email_already_exists_in_account**: A member with this email address already exists in this account. - **email_taken_in_different_account**: A member with this email address exists in another account. - **duplicate_email**s: This request contains two or more members with the same email address. A request that fails for one of the above reasons returns an HTTP response code of 400 (Bad Request).
314
388
 
315
389
  ### Examples
316
390
 
@@ -326,11 +400,11 @@ LaunchDarklyApi.configure do |config|
326
400
  end
327
401
 
328
402
  api_instance = LaunchDarklyApi::AccountMembersApi.new
329
- inline_object1 = [LaunchDarklyApi::InlineObject1.new({email: 'email_example'})] # Array<InlineObject1> |
403
+ new_member_form = [LaunchDarklyApi::NewMemberForm.new({email: 'email_example'})] # Array<NewMemberForm> |
330
404
 
331
405
  begin
332
406
  # Invite new members
333
- result = api_instance.post_members(inline_object1)
407
+ result = api_instance.post_members(new_member_form)
334
408
  p result
335
409
  rescue LaunchDarklyApi::ApiError => e
336
410
  puts "Error when calling AccountMembersApi->post_members: #{e}"
@@ -341,12 +415,12 @@ end
341
415
 
342
416
  This returns an Array which contains the response data, status code and headers.
343
417
 
344
- > <Array(<Members>, Integer, Hash)> post_members_with_http_info(inline_object1)
418
+ > <Array(<Members>, Integer, Hash)> post_members_with_http_info(new_member_form)
345
419
 
346
420
  ```ruby
347
421
  begin
348
422
  # Invite new members
349
- data, status_code, headers = api_instance.post_members_with_http_info(inline_object1)
423
+ data, status_code, headers = api_instance.post_members_with_http_info(new_member_form)
350
424
  p status_code # => 2xx
351
425
  p headers # => { ... }
352
426
  p data # => <Members>
@@ -359,7 +433,7 @@ end
359
433
 
360
434
  | Name | Type | Description | Notes |
361
435
  | ---- | ---- | ----------- | ----- |
362
- | **inline_object1** | [**Array&lt;InlineObject1&gt;**](InlineObject1.md) | | |
436
+ | **new_member_form** | [**Array&lt;NewMemberForm&gt;**](NewMemberForm.md) | | |
363
437
 
364
438
  ### Return type
365
439
 
@@ -0,0 +1,18 @@
1
+ # LaunchDarklyApi::ActionInputRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **instructions** | **Object** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'launchdarkly_api'
13
+
14
+ instance = LaunchDarklyApi::ActionInputRep.new(
15
+ instructions: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # LaunchDarklyApi::ActionOutputRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **kind** | **String** | | |
8
+ | **instructions** | **Array&lt;Hash&gt;** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'launchdarkly_api'
14
+
15
+ instance = LaunchDarklyApi::ActionOutputRep.new(
16
+ kind: null,
17
+ instructions: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # LaunchDarklyApi::ApprovalConditionInputRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **description** | **String** | | [optional] |
8
+ | **notify_member_ids** | **Array&lt;String&gt;** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'launchdarkly_api'
14
+
15
+ instance = LaunchDarklyApi::ApprovalConditionInputRep.new(
16
+ description: null,
17
+ notify_member_ids: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # LaunchDarklyApi::ApprovalConditionOutputRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **description** | **String** | | |
8
+ | **notify_member_ids** | **Array&lt;String&gt;** | | |
9
+ | **all_reviews** | [**Array&lt;ReviewOutputRep&gt;**](ReviewOutputRep.md) | | |
10
+ | **review_status** | **String** | | |
11
+ | **applied_date** | **Integer** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'launchdarkly_api'
17
+
18
+ instance = LaunchDarklyApi::ApprovalConditionOutputRep.new(
19
+ description: null,
20
+ notify_member_ids: null,
21
+ all_reviews: null,
22
+ review_status: null,
23
+ applied_date: null
24
+ )
25
+ ```
26
+
@@ -23,7 +23,7 @@ instance = LaunchDarklyApi::ApprovalSettings.new(
23
23
  bypass_approvals_for_pending_changes: false,
24
24
  min_num_approvals: 1,
25
25
  can_review_own_request: false,
26
- can_apply_declined_changes: false,
26
+ can_apply_declined_changes: true,
27
27
  service_kind: launchdarkly,
28
28
  service_config: {},
29
29
  required_approval_tags: [&quot;require-approval&quot;]
data/docs/ApprovalsApi.md CHANGED
@@ -10,7 +10,7 @@ All URIs are relative to *https://app.launchdarkly.com*
10
10
  | [**post_approval_request**](ApprovalsApi.md#post_approval_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests | Create approval request |
11
11
  | [**post_approval_request_apply_request**](ApprovalsApi.md#post_approval_request_apply_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply | Apply approval request |
12
12
  | [**post_approval_request_review**](ApprovalsApi.md#post_approval_request_review) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews | Review approval request |
13
- | [**post_flag_copy_config_approval_request**](ApprovalsApi.md#post_flag_copy_config_approval_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/copy/environments/{environmentKey}/approval-requests-flag-copy | Create approval request to copy flag configurations across environments |
13
+ | [**post_flag_copy_config_approval_request**](ApprovalsApi.md#post_flag_copy_config_approval_request) | **POST** /api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy | Create approval request to copy flag configurations across environments |
14
14
 
15
15
 
16
16
  ## delete_approval_request
@@ -86,7 +86,7 @@ nil (empty response body)
86
86
  ### HTTP request headers
87
87
 
88
88
  - **Content-Type**: Not defined
89
- - **Accept**: Not defined
89
+ - **Accept**: application/json
90
90
 
91
91
 
92
92
  ## get_approval
@@ -501,7 +501,7 @@ api_instance = LaunchDarklyApi::ApprovalsApi.new
501
501
  project_key = 'project_key_example' # String | The project key
502
502
  feature_flag_key = 'feature_flag_key_example' # String | The feature flag's key
503
503
  environment_key = 'environment_key_example' # String | The environment key
504
- create_copy_flag_config_approval_request_request = LaunchDarklyApi::CreateCopyFlagConfigApprovalRequestRequest.new({notify_member_ids: ['notify_member_ids_example'], source: LaunchDarklyApi::SourceFlag.new({key: 'key_example'})}) # CreateCopyFlagConfigApprovalRequestRequest |
504
+ create_copy_flag_config_approval_request_request = LaunchDarklyApi::CreateCopyFlagConfigApprovalRequestRequest.new({description: 'description_example', notify_member_ids: ['notify_member_ids_example'], source: LaunchDarklyApi::SourceFlag.new({key: 'key_example'})}) # CreateCopyFlagConfigApprovalRequestRequest |
505
505
 
506
506
  begin
507
507
  # Create approval request to copy flag configurations across environments
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **_links** | [**Hash&lt;String, Link&gt;**](Link.md) | | |
8
- | **items** | [**Array&lt;BranchRep&gt;**](BranchRep.md) | | |
8
+ | **items** | [**Array&lt;BranchRep&gt;**](BranchRep.md) | An array of branches | |
9
9
 
10
10
  ## Example
11
11
 
data/docs/BranchRep.md CHANGED
@@ -4,12 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **name** | **String** | | [optional] |
8
- | **head** | **String** | | [optional] |
9
- | **update_sequence_id** | **Integer** | | [optional] |
10
- | **sync_time** | **Integer** | | [optional] |
11
- | **references** | [**Array&lt;ReferenceRep&gt;**](ReferenceRep.md) | | [optional] |
12
- | **_links** | **Hash&lt;String, Object&gt;** | | [optional] |
7
+ | **name** | **String** | The branch name | |
8
+ | **head** | **String** | An ID representing the branch HEAD. For example, a commit SHA. | |
9
+ | **update_sequence_id** | **Integer** | An optional ID used to prevent older data from overwriting newer data | [optional] |
10
+ | **sync_time** | **Integer** | | |
11
+ | **references** | [**Array&lt;ReferenceRep&gt;**](ReferenceRep.md) | An array of flag references found on the branch | [optional] |
12
+ | **_links** | **Hash&lt;String, Object&gt;** | | |
13
13
 
14
14
  ## Example
15
15
 
@@ -17,9 +17,9 @@
17
17
  require 'launchdarkly_api'
18
18
 
19
19
  instance = LaunchDarklyApi::BranchRep.new(
20
- name: null,
21
- head: null,
22
- update_sequence_id: null,
20
+ name: main,
21
+ head: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3,
22
+ update_sequence_id: 25,
23
23
  sync_time: null,
24
24
  references: null,
25
25
  _links: null
@@ -11,10 +11,10 @@ All URIs are relative to *https://app.launchdarkly.com*
11
11
  | [**get_extinctions**](CodeReferencesApi.md#get_extinctions) | **GET** /api/v2/code-refs/extinctions | List extinctions |
12
12
  | [**get_repositories**](CodeReferencesApi.md#get_repositories) | **GET** /api/v2/code-refs/repositories | List repositories |
13
13
  | [**get_repository**](CodeReferencesApi.md#get_repository) | **GET** /api/v2/code-refs/repositories/{repo} | Get repository |
14
- | [**get_root_statistic**](CodeReferencesApi.md#get_root_statistic) | **GET** /api/v2/code-refs/statistics | Get number of code references for flags |
14
+ | [**get_root_statistic**](CodeReferencesApi.md#get_root_statistic) | **GET** /api/v2/code-refs/statistics | Get links to code reference repositories for each project |
15
15
  | [**get_statistics**](CodeReferencesApi.md#get_statistics) | **GET** /api/v2/code-refs/statistics/{projKey} | Get number of code references for flags |
16
16
  | [**patch_repository**](CodeReferencesApi.md#patch_repository) | **PATCH** /api/v2/code-refs/repositories/{repo} | Update repository |
17
- | [**post_extinction**](CodeReferencesApi.md#post_extinction) | **POST** /api/v2/code-refs/repositories/{repo}/branches/{branch} | Create extinction |
17
+ | [**post_extinction**](CodeReferencesApi.md#post_extinction) | **POST** /api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events | Create extinction |
18
18
  | [**post_repository**](CodeReferencesApi.md#post_repository) | **POST** /api/v2/code-refs/repositories | Create repository |
19
19
  | [**put_branch**](CodeReferencesApi.md#put_branch) | **PUT** /api/v2/code-refs/repositories/{repo}/branches/{branch} | Upsert branch |
20
20
 
@@ -88,7 +88,7 @@ nil (empty response body)
88
88
  ### HTTP request headers
89
89
 
90
90
  - **Content-Type**: application/json
91
- - **Accept**: Not defined
91
+ - **Accept**: application/json
92
92
 
93
93
 
94
94
  ## delete_repository
@@ -158,7 +158,7 @@ nil (empty response body)
158
158
  ### HTTP request headers
159
159
 
160
160
  - **Content-Type**: Not defined
161
- - **Accept**: Not defined
161
+ - **Accept**: application/json
162
162
 
163
163
 
164
164
  ## get_branch
@@ -335,9 +335,11 @@ end
335
335
  api_instance = LaunchDarklyApi::CodeReferencesApi.new
336
336
  opts = {
337
337
  repo_name: 'repo_name_example', # String | Filter results to a specific repository
338
- branch_name: 'branch_name_example', # String | Filter results to a specific branch
338
+ branch_name: 'branch_name_example', # String | Filter results to a specific branch. By default, only the default branch will be queried for extinctions.
339
339
  proj_key: 'proj_key_example', # String | Filter results to a specific project
340
- flag_key: 'flag_key_example' # String | Filter results to a specific flag key
340
+ flag_key: 'flag_key_example', # String | Filter results to a specific flag key
341
+ from: 789, # Integer | Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with `to`.
342
+ to: 789 # Integer | Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with `from`.
341
343
  }
342
344
 
343
345
  begin
@@ -372,9 +374,11 @@ end
372
374
  | Name | Type | Description | Notes |
373
375
  | ---- | ---- | ----------- | ----- |
374
376
  | **repo_name** | **String** | Filter results to a specific repository | [optional] |
375
- | **branch_name** | **String** | Filter results to a specific branch | [optional] |
377
+ | **branch_name** | **String** | Filter results to a specific branch. By default, only the default branch will be queried for extinctions. | [optional] |
376
378
  | **proj_key** | **String** | Filter results to a specific project | [optional] |
377
379
  | **flag_key** | **String** | Filter results to a specific flag key | [optional] |
380
+ | **from** | **Integer** | Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with &#x60;to&#x60;. | [optional] |
381
+ | **to** | **Integer** | Filter results to a specific timeframe based on commit time, expressed as a Unix epoch time in milliseconds. Must be used with &#x60;from&#x60;. | [optional] |
378
382
 
379
383
  ### Return type
380
384
 
@@ -544,7 +548,7 @@ end
544
548
 
545
549
  > <StatisticsRoot> get_root_statistic
546
550
 
547
- Get number of code references for flags
551
+ Get links to code reference repositories for each project
548
552
 
549
553
  Get links for all projects that have Code References.
550
554
 
@@ -564,7 +568,7 @@ end
564
568
  api_instance = LaunchDarklyApi::CodeReferencesApi.new
565
569
 
566
570
  begin
567
- # Get number of code references for flags
571
+ # Get links to code reference repositories for each project
568
572
  result = api_instance.get_root_statistic
569
573
  p result
570
574
  rescue LaunchDarklyApi::ApiError => e
@@ -580,7 +584,7 @@ This returns an Array which contains the response data, status code and headers.
580
584
 
581
585
  ```ruby
582
586
  begin
583
- # Get number of code references for flags
587
+ # Get links to code reference repositories for each project
584
588
  data, status_code, headers = api_instance.get_root_statistic_with_http_info
585
589
  p status_code # => 2xx
586
590
  p headers # => { ... }
@@ -758,7 +762,7 @@ end
758
762
 
759
763
  ## post_extinction
760
764
 
761
- > post_extinction(repo, branch, inline_object)
765
+ > post_extinction(repo, branch, extinction)
762
766
 
763
767
  Create extinction
764
768
 
@@ -780,11 +784,11 @@ end
780
784
  api_instance = LaunchDarklyApi::CodeReferencesApi.new
781
785
  repo = 'repo_example' # String | The repository name
782
786
  branch = 'branch_example' # String | The url-encoded branch name
783
- inline_object = [LaunchDarklyApi::InlineObject.new({revision: 'revision_example', time: 3.56, flag_key: 'flag_key_example', project_key: 'project_key_example'})] # Array<InlineObject> |
787
+ extinction = [LaunchDarklyApi::Extinction.new({revision: 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3', message: 'Remove flag for launched feature', time: 3.56, flag_key: 'enable-feature', proj_key: 'default'})] # Array<Extinction> |
784
788
 
785
789
  begin
786
790
  # Create extinction
787
- api_instance.post_extinction(repo, branch, inline_object)
791
+ api_instance.post_extinction(repo, branch, extinction)
788
792
  rescue LaunchDarklyApi::ApiError => e
789
793
  puts "Error when calling CodeReferencesApi->post_extinction: #{e}"
790
794
  end
@@ -794,12 +798,12 @@ end
794
798
 
795
799
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
796
800
 
797
- > <Array(nil, Integer, Hash)> post_extinction_with_http_info(repo, branch, inline_object)
801
+ > <Array(nil, Integer, Hash)> post_extinction_with_http_info(repo, branch, extinction)
798
802
 
799
803
  ```ruby
800
804
  begin
801
805
  # Create extinction
802
- data, status_code, headers = api_instance.post_extinction_with_http_info(repo, branch, inline_object)
806
+ data, status_code, headers = api_instance.post_extinction_with_http_info(repo, branch, extinction)
803
807
  p status_code # => 2xx
804
808
  p headers # => { ... }
805
809
  p data # => nil
@@ -814,7 +818,7 @@ end
814
818
  | ---- | ---- | ----------- | ----- |
815
819
  | **repo** | **String** | The repository name | |
816
820
  | **branch** | **String** | The url-encoded branch name | |
817
- | **inline_object** | [**Array&lt;InlineObject&gt;**](InlineObject.md) | | |
821
+ | **extinction** | [**Array&lt;Extinction&gt;**](Extinction.md) | | |
818
822
 
819
823
  ### Return type
820
824
 
@@ -827,12 +831,12 @@ nil (empty response body)
827
831
  ### HTTP request headers
828
832
 
829
833
  - **Content-Type**: application/json
830
- - **Accept**: Not defined
834
+ - **Accept**: application/json
831
835
 
832
836
 
833
837
  ## post_repository
834
838
 
835
- > post_repository(repository_post)
839
+ > <RepositoryRep> post_repository(repository_post)
836
840
 
837
841
  Create repository
838
842
 
@@ -852,11 +856,12 @@ LaunchDarklyApi.configure do |config|
852
856
  end
853
857
 
854
858
  api_instance = LaunchDarklyApi::CodeReferencesApi.new
855
- repository_post = LaunchDarklyApi::RepositoryPost.new({name: 'name_example'}) # RepositoryPost |
859
+ repository_post = LaunchDarklyApi::RepositoryPost.new({name: 'LaunchDarkly-Docs'}) # RepositoryPost |
856
860
 
857
861
  begin
858
862
  # Create repository
859
- api_instance.post_repository(repository_post)
863
+ result = api_instance.post_repository(repository_post)
864
+ p result
860
865
  rescue LaunchDarklyApi::ApiError => e
861
866
  puts "Error when calling CodeReferencesApi->post_repository: #{e}"
862
867
  end
@@ -864,9 +869,9 @@ end
864
869
 
865
870
  #### Using the post_repository_with_http_info variant
866
871
 
867
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
872
+ This returns an Array which contains the response data, status code and headers.
868
873
 
869
- > <Array(nil, Integer, Hash)> post_repository_with_http_info(repository_post)
874
+ > <Array(<RepositoryRep>, Integer, Hash)> post_repository_with_http_info(repository_post)
870
875
 
871
876
  ```ruby
872
877
  begin
@@ -874,7 +879,7 @@ begin
874
879
  data, status_code, headers = api_instance.post_repository_with_http_info(repository_post)
875
880
  p status_code # => 2xx
876
881
  p headers # => { ... }
877
- p data # => nil
882
+ p data # => <RepositoryRep>
878
883
  rescue LaunchDarklyApi::ApiError => e
879
884
  puts "Error when calling CodeReferencesApi->post_repository_with_http_info: #{e}"
880
885
  end
@@ -888,7 +893,7 @@ end
888
893
 
889
894
  ### Return type
890
895
 
891
- nil (empty response body)
896
+ [**RepositoryRep**](RepositoryRep.md)
892
897
 
893
898
  ### Authorization
894
899
 
@@ -897,12 +902,12 @@ nil (empty response body)
897
902
  ### HTTP request headers
898
903
 
899
904
  - **Content-Type**: application/json
900
- - **Accept**: Not defined
905
+ - **Accept**: application/json
901
906
 
902
907
 
903
908
  ## put_branch
904
909
 
905
- > put_branch(repo, branch, branch_rep)
910
+ > put_branch(repo, branch, put_branch)
906
911
 
907
912
  Upsert branch
908
913
 
@@ -924,11 +929,11 @@ end
924
929
  api_instance = LaunchDarklyApi::CodeReferencesApi.new
925
930
  repo = 'repo_example' # String | The repository name
926
931
  branch = 'branch_example' # String | The url-encoded branch name
927
- branch_rep = LaunchDarklyApi::BranchRep.new # BranchRep |
932
+ put_branch = LaunchDarklyApi::PutBranch.new({name: 'main', head: 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3', sync_time: 3.56}) # PutBranch |
928
933
 
929
934
  begin
930
935
  # Upsert branch
931
- api_instance.put_branch(repo, branch, branch_rep)
936
+ api_instance.put_branch(repo, branch, put_branch)
932
937
  rescue LaunchDarklyApi::ApiError => e
933
938
  puts "Error when calling CodeReferencesApi->put_branch: #{e}"
934
939
  end
@@ -938,12 +943,12 @@ end
938
943
 
939
944
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
940
945
 
941
- > <Array(nil, Integer, Hash)> put_branch_with_http_info(repo, branch, branch_rep)
946
+ > <Array(nil, Integer, Hash)> put_branch_with_http_info(repo, branch, put_branch)
942
947
 
943
948
  ```ruby
944
949
  begin
945
950
  # Upsert branch
946
- data, status_code, headers = api_instance.put_branch_with_http_info(repo, branch, branch_rep)
951
+ data, status_code, headers = api_instance.put_branch_with_http_info(repo, branch, put_branch)
947
952
  p status_code # => 2xx
948
953
  p headers # => { ... }
949
954
  p data # => nil
@@ -958,7 +963,7 @@ end
958
963
  | ---- | ---- | ----------- | ----- |
959
964
  | **repo** | **String** | The repository name | |
960
965
  | **branch** | **String** | The url-encoded branch name | |
961
- | **branch_rep** | [**BranchRep**](BranchRep.md) | | |
966
+ | **put_branch** | [**PutBranch**](PutBranch.md) | | |
962
967
 
963
968
  ### Return type
964
969
 
@@ -971,5 +976,5 @@ nil (empty response body)
971
976
  ### HTTP request headers
972
977
 
973
978
  - **Content-Type**: application/json
974
- - **Accept**: Not defined
979
+ - **Accept**: application/json
975
980
 
@@ -0,0 +1,22 @@
1
+ # LaunchDarklyApi::ConditionBaseOutputRep
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **_id** | **String** | | |
8
+ | **kind** | **String** | | [optional] |
9
+ | **_execution** | [**ExecutionOutputRep**](ExecutionOutputRep.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'launchdarkly_api'
15
+
16
+ instance = LaunchDarklyApi::ConditionBaseOutputRep.new(
17
+ _id: null,
18
+ kind: null,
19
+ _execution: null
20
+ )
21
+ ```
22
+