Skip to content

Commit

Permalink
Security 2024/10 (#17)
Browse files Browse the repository at this point in the history
* secu

* regeneration

* generation
  • Loading branch information
laliconfigcat authored Oct 8, 2024
1 parent 1a373ba commit 6ca35e2
Show file tree
Hide file tree
Showing 202 changed files with 55,790 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
7.9.0
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: go

install:
- go get -d -v .

script:
- go build -v ./

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: v1
- Package version: 1.0.0
- Generator version: 7.7.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [https://configcat.com](https://configcat.com)

Expand Down
64 changes: 38 additions & 26 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3305,7 +3305,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -3386,7 +3386,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -3467,7 +3467,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -3918,7 +3918,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -3999,7 +3999,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -4080,7 +4080,7 @@ paths:
description: This example adds an evaluation rule with two conditions
to the Flag's targeting rules.
value:
- op: replace
- op: add
path: /targetingRules/-
value:
conditions:
Expand Down Expand Up @@ -4556,7 +4556,7 @@ paths:
\ on those Feature Flags and Settings, which are set in the request. \nIt's\
\ important to set every other field that you don't want to change in its\
\ original state. Not listing a field means that it will reset.\n\nFor example:\
\ We have the following resource of a Feature Flag.\n```json\n{\n \"settingValues\"\
\ We have the following resource of a Feature Flag.\n```json\n{\n \"settingFormulas\"\
: [\n {\n \"defaultValue\": {\n \"boolValue\": false\n \
\ },\n \"targetingRules\": [\n {\n \"conditions\": [\n\
\ {\n \"userCondition\": {\n \"comparisonAttribute\"\
Expand All @@ -4566,11 +4566,11 @@ paths:
\ ],\n \"percentageOptions\": [],\n \"value\":\
\ {\n \"boolValue\": true\n }\n }\n ],\n \
\ \"settingId\": 1\n }\n ]\n}\n```\nIf we send a batch replace request\
\ body as below:\n```json\n{ \n \"settingValues\": [\n {\n \"defaultValue\"\
\ body as below:\n```json\n{ \n \"updateFormulas\": [\n {\n \"defaultValue\"\
: {\n \"boolValue\": false\n },\n \"settingId\": 1\n }\n\
\ ]\n}\n```\nThen besides that the default value is set to `true`, all Targeting\
\ Rules of the related Feature Flag are deleted.\nSo we get a response like\
\ this:\n```json\n{\n \"settingValues\": [\n {\n \"defaultValue\"\
\ this:\n```json\n{\n \"settingFormulas\": [\n {\n \"defaultValue\"\
: {\n \"boolValue\": false\n },\n \"targetingRules\": [],\n\
\ \"setting\": \n {\n \"settingId\": 1\n }\n }\n\
\ ]\n}\n```"
Expand Down Expand Up @@ -5640,7 +5640,7 @@ components:
- organizationSubscriptionTypeChanged
- organizationAdminChanged
- organizationAdminLeft
- organizationAdminDisabled2FA
- twoFactorDisabledForMember
- tagAdded
- tagChanged
- tagRemoved
Expand All @@ -5661,6 +5661,7 @@ components:
- organizationMemberProductJoinRequested
- organizationMemberProductJoinRequestRejected
- organizationMemberProductJoinRequestApproved
- organizationMemberRemoved
- codeReferencesUploaded
- codeReferenceDeleted
- codeReferenceStaleBranchDeleted
Expand Down Expand Up @@ -7036,33 +7037,34 @@ components:
additionalProperties: false
example:
canViewProductStatistics: true
canDeleteConfig: true
canDeleteTag: true
environmentAccesses:
- environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
environmentAccessType: null
- environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
environmentAccessType: null
canDeleteEnvironment: true
canCreateOrUpdateConfig: true
canManageProductPreferences: true
canManageIntegrations: true
canDeleteSegments: true
accessType: readOnly
canTagSetting: true
canManageMembers: true
canManageWebhook: true
canUseExportImport: true
canViewSdkKey: true
canCreateOrUpdateEnvironment: true
canDeleteSetting: true
name: name
canRotateSdkKey: true
canCreateOrUpdateSegments: true
canCreateOrUpdateSetting: true
canDeleteConfig: true
canDisable2FA: true
canDeleteEnvironment: true
canCreateOrUpdateConfig: true
canTagSetting: true
canCreateOrUpdateEnvironment: true
name: name
canViewProductAuditLog: true
canCreateOrUpdateTag: true
newEnvironmentAccessType: full
canCreateOrUpdateSegments: true
canCreateOrUpdateSetting: true
properties:
name:
description: Name of the Permission Group.
Expand Down Expand Up @@ -7139,6 +7141,10 @@ components:
$ref: '#/components/schemas/CreateOrUpdateEnvironmentAccessModel'
nullable: true
type: array
canDisable2FA:
description: Group members can disable two-factor authentication for other
members.
type: boolean
required:
- name
type: object
Expand Down Expand Up @@ -10346,33 +10352,34 @@ components:
additionalProperties: false
example:
canViewProductStatistics: true
canDeleteConfig: true
canDeleteTag: true
environmentAccesses:
- environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
environmentAccessType: null
- environmentId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
environmentAccessType: null
canDeleteEnvironment: true
canCreateOrUpdateConfig: true
canManageProductPreferences: true
canManageIntegrations: true
canDeleteSegments: true
accessType: readOnly
canTagSetting: true
canManageMembers: true
canManageWebhook: true
canUseExportImport: true
canViewSdkKey: true
canCreateOrUpdateEnvironment: true
canDeleteSetting: true
name: name
canRotateSdkKey: true
canCreateOrUpdateSegments: true
canCreateOrUpdateSetting: true
canDeleteConfig: true
canDisable2FA: true
canDeleteEnvironment: true
canCreateOrUpdateConfig: true
canTagSetting: true
canCreateOrUpdateEnvironment: true
name: name
canViewProductAuditLog: true
canCreateOrUpdateTag: true
newEnvironmentAccessType: full
canCreateOrUpdateSegments: true
canCreateOrUpdateSetting: true
properties:
name:
description: Name of the Permission Group.
Expand Down Expand Up @@ -10460,6 +10467,11 @@ components:
description: Group members has access to product statistics.
nullable: true
type: boolean
canDisable2FA:
description: Group members can disable two-factor authentication for other
members.
nullable: true
type: boolean
accessType:
$ref: '#/components/schemas/AccessType'
newEnvironmentAccessType:
Expand Down
22 changes: 11 additions & 11 deletions api_audit_logs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_environments.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions api_feature_flag_setting_values.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions api_feature_flag_setting_values_using_sdk_key.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6ca35e2

Please sign in to comment.