Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security update #6

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ common.ts
configuration.ts
git_push.sh
index.ts
model/access-type.ts
model/add-or-update-integration-link-model.ts
model/add-or-update-jira-integration-link-model.ts
model/audit-log-item-model.ts
model/audit-log-type.ts
model/code-reference-model.ts
model/code-reference-request.ts
model/comparison-value-list-model.ts
Expand All @@ -52,22 +54,28 @@ model/create-tag-model.ts
model/delete-integration-link-model.ts
model/delete-repository-reports-request.ts
model/environment-access-model.ts
model/environment-access-type.ts
model/environment-model.ts
model/evaluation-version.ts
model/feature-flag-limitations.ts
model/flag-reference.ts
model/index.ts
model/initial-value.ts
model/integration-link-detail.ts
model/integration-link-details-model.ts
model/integration-link-model.ts
model/integration-link-type.ts
model/integration-model.ts
model/integration-type.ts
model/integrations-model.ts
model/invitation-model.ts
model/invite-members-request.ts
model/json-patch-operation.ts
model/key-generation-mode.ts
model/me-model.ts
model/member-model.ts
model/modify-integration-request.ts
model/operation-type.ts
model/organization-admin-model.ts
model/organization-invitation-model.ts
model/organization-member-model.ts
Expand All @@ -79,22 +87,26 @@ model/organization-product-model.ts
model/percentage-option-model.ts
model/permission-group-model.ts
model/preferences-model.ts
model/prerequisite-comparator.ts
model/prerequisite-flag-condition-model.ts
model/product-model.ts
model/reason-required-environment-model.ts
model/reference-line.ts
model/reference-lines.ts
model/replace-setting-model.ts
model/rollout-percentage-item-model.ts
model/rollout-rule-comparator.ts
model/rollout-rule-model.ts
model/sdk-keys-model.ts
model/segment-comparator.ts
model/segment-condition-model.ts
model/segment-list-model.ts
model/segment-model.ts
model/setting-data-model.ts
model/setting-formula-model.ts
model/setting-model.ts
model/setting-tag-model.ts
model/setting-type.ts
model/setting-value-model.ts
model/tag-model.ts
model/targeting-rule-model.ts
Expand All @@ -113,9 +125,11 @@ model/update-setting-value-model.ts
model/update-setting-value-with-setting-id-model.ts
model/update-setting-values-with-id-model.ts
model/update-tag-model.ts
model/user-comparator.ts
model/user-condition-model.ts
model/user-model.ts
model/value-model.ts
model/web-hook-http-method.ts
model/web-hook-request.ts
model/webhook-config.ts
model/webhook-environment.ts
Expand Down
200 changes: 18 additions & 182 deletions api/audit-logs-api.ts

Large diffs are not rendered by default.

77 changes: 26 additions & 51 deletions api/integration-links-api.ts

Large diffs are not rendered by default.

88 changes: 5 additions & 83 deletions model/audit-log-item-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { AuditLogType } from './audit-log-type';

/**
*
Expand All @@ -34,10 +37,10 @@ export interface AuditLogItemModel {
'auditLogDateTime'?: string;
/**
*
* @type {string}
* @type {AuditLogType}
* @memberof AuditLogItemModel
*/
'auditLogTypeEnum'?: AuditLogItemModelAuditLogTypeEnumEnum;
'auditLogTypeEnum'?: AuditLogType;
/**
*
* @type {string}
Expand Down Expand Up @@ -94,86 +97,5 @@ export interface AuditLogItemModel {
'details'?: string | null;
}

export const AuditLogItemModelAuditLogTypeEnumEnum = {
ProductCreated: 'productCreated',
ProductChanged: 'productChanged',
ProductOwnershipTransferred: 'productOwnershipTransferred',
ProductDeleted: 'productDeleted',
ProductsReordered: 'productsReordered',
TeamMemberInvited: 'teamMemberInvited',
TeamMemberInvitationRevoked: 'teamMemberInvitationRevoked',
TeamMemberJoined: 'teamMemberJoined',
TeamMemberPermissionGroupChanged: 'teamMemberPermissionGroupChanged',
TeamMemberRemoved: 'teamMemberRemoved',
TeamMemberLeft: 'teamMemberLeft',
TeamMemberInvitationChanged: 'teamMemberInvitationChanged',
TeamMemberInvitationResent: 'teamMemberInvitationResent',
TeamMemberInvitationRejected: 'teamMemberInvitationRejected',
ConfigCreated: 'configCreated',
ConfigChanged: 'configChanged',
ConfigDeleted: 'configDeleted',
ConfigsReordered: 'configsReordered',
EnvironmentCreated: 'environmentCreated',
EnvironmentChanged: 'environmentChanged',
EnvironmentDeleted: 'environmentDeleted',
EnvironmentsReordered: 'environmentsReordered',
SettingCreated: 'settingCreated',
SettingChanged: 'settingChanged',
SettingDeleted: 'settingDeleted',
SettingsReordered: 'settingsReordered',
SettingValueChanged: 'settingValueChanged',
WebHookCreated: 'webHookCreated',
WebHookChanged: 'webHookChanged',
WebHookDeleted: 'webHookDeleted',
PermissionGroupCreated: 'permissionGroupCreated',
PermissionGroupChanged: 'permissionGroupChanged',
PermissionGroupDeleted: 'permissionGroupDeleted',
PermissionGroupDefault: 'permissionGroupDefault',
ApiKeyAdded: 'apiKeyAdded',
ApiKeyRemoved: 'apiKeyRemoved',
IntegrationAdded: 'integrationAdded',
IntegrationChanged: 'integrationChanged',
IntegrationRemoved: 'integrationRemoved',
ApiKeyConnected: 'apiKeyConnected',
IntegrationLinkAdded: 'integrationLinkAdded',
IntegrationLinkRemoved: 'integrationLinkRemoved',
OrganizationAdded: 'organizationAdded',
OrganizationRemoved: 'organizationRemoved',
OrganizationChanged: 'organizationChanged',
OrganizationSubscriptionTypeChanged: 'organizationSubscriptionTypeChanged',
OrganizationAdminChanged: 'organizationAdminChanged',
OrganizationAdminLeft: 'organizationAdminLeft',
OrganizationAdminDisabled2Fa: 'organizationAdminDisabled2FA',
TagAdded: 'tagAdded',
TagChanged: 'tagChanged',
TagRemoved: 'tagRemoved',
SettingTagAdded: 'settingTagAdded',
SettingTagRemoved: 'settingTagRemoved',
PublicApiAccessTokenAdded: 'publicApiAccessTokenAdded',
PublicApiAccessTokenRemoved: 'publicApiAccessTokenRemoved',
DomainAdded: 'domainAdded',
DomainVerified: 'domainVerified',
DomainRemoved: 'domainRemoved',
DomainSamlConfigured: 'domainSamlConfigured',
DomainSamlDeleted: 'domainSamlDeleted',
AutoProvisioningConfigurationChanged: 'autoProvisioningConfigurationChanged',
SamlIdpConfigurationAdded: 'samlIdpConfigurationAdded',
SamlIdpConfigurationRemoved: 'samlIdpConfigurationRemoved',
SamlIdpConfigurationUpdated: 'samlIdpConfigurationUpdated',
OrganizationMemberJoined: 'organizationMemberJoined',
OrganizationMemberProductJoinRequested: 'organizationMemberProductJoinRequested',
OrganizationMemberProductJoinRequestRejected: 'organizationMemberProductJoinRequestRejected',
OrganizationMemberProductJoinRequestApproved: 'organizationMemberProductJoinRequestApproved',
CodeReferencesUploaded: 'codeReferencesUploaded',
CodeReferenceDeleted: 'codeReferenceDeleted',
CodeReferenceStaleBranchDeleted: 'codeReferenceStaleBranchDeleted',
SegmentCreated: 'segmentCreated',
SegmentChanged: 'segmentChanged',
SegmentDeleted: 'segmentDeleted',
WebhookSigningKeyDeleted: 'webhookSigningKeyDeleted',
WebhookSigningKeyCreated: 'webhookSigningKeyCreated'
} as const;

export type AuditLogItemModelAuditLogTypeEnumEnum = typeof AuditLogItemModelAuditLogTypeEnumEnum[keyof typeof AuditLogItemModelAuditLogTypeEnumEnum];


3 changes: 2 additions & 1 deletion model/audit-log-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const AuditLogType = {
OrganizationSubscriptionTypeChanged: 'organizationSubscriptionTypeChanged',
OrganizationAdminChanged: 'organizationAdminChanged',
OrganizationAdminLeft: 'organizationAdminLeft',
OrganizationAdminDisabled2Fa: 'organizationAdminDisabled2FA',
TwoFactorDisabledForMember: 'twoFactorDisabledForMember',
TagAdded: 'tagAdded',
TagChanged: 'tagChanged',
TagRemoved: 'tagRemoved',
Expand All @@ -90,6 +90,7 @@ export const AuditLogType = {
OrganizationMemberProductJoinRequested: 'organizationMemberProductJoinRequested',
OrganizationMemberProductJoinRequestRejected: 'organizationMemberProductJoinRequestRejected',
OrganizationMemberProductJoinRequestApproved: 'organizationMemberProductJoinRequestApproved',
OrganizationMemberRemoved: 'organizationMemberRemoved',
CodeReferencesUploaded: 'codeReferencesUploaded',
CodeReferenceDeleted: 'codeReferenceDeleted',
CodeReferenceStaleBranchDeleted: 'codeReferenceStaleBranchDeleted',
Expand Down
15 changes: 6 additions & 9 deletions model/config-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { EvaluationVersion } from './evaluation-version';
// May contain unused imports in some cases
// @ts-ignore
import { ProductModel } from './product-model';
Expand Down Expand Up @@ -60,18 +63,12 @@ export interface ConfigModel {
*/
'migratedConfigId'?: string | null;
/**
* Determines the evaluation version of a Config. Using `v2` enables the new features of Config V2 (https://configcat.com/docs/advanced/config-v2).
* @type {string}
*
* @type {EvaluationVersion}
* @memberof ConfigModel
*/
'evaluationVersion'?: ConfigModelEvaluationVersionEnum;
'evaluationVersion'?: EvaluationVersion;
}

export const ConfigModelEvaluationVersionEnum = {
V1: 'v1',
V2: 'v2'
} as const;

export type ConfigModelEvaluationVersionEnum = typeof ConfigModelEvaluationVersionEnum[keyof typeof ConfigModelEvaluationVersionEnum];


15 changes: 6 additions & 9 deletions model/create-config-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { EvaluationVersion } from './evaluation-version';

/**
*
Expand All @@ -39,18 +42,12 @@ export interface CreateConfigRequest {
*/
'order'?: number | null;
/**
* Determines the evaluation version of a Config. Using `v2` enables the new features of Config V2 (https://configcat.com/docs/advanced/config-v2).
* @type {string}
*
* @type {EvaluationVersion}
* @memberof CreateConfigRequest
*/
'evaluationVersion'?: CreateConfigRequestEvaluationVersionEnum;
'evaluationVersion'?: EvaluationVersion;
}

export const CreateConfigRequestEvaluationVersionEnum = {
V1: 'v1',
V2: 'v2'
} as const;

export type CreateConfigRequestEvaluationVersionEnum = typeof CreateConfigRequestEvaluationVersionEnum[keyof typeof CreateConfigRequestEvaluationVersionEnum];


19 changes: 6 additions & 13 deletions model/create-integration-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { IntegrationType } from './integration-type';

/**
*
Expand All @@ -21,11 +24,11 @@
*/
export interface CreateIntegrationModel {
/**
* Type of the Integration.
* @type {string}
*
* @type {IntegrationType}
* @memberof CreateIntegrationModel
*/
'integrationType': CreateIntegrationModelIntegrationTypeEnum;
'integrationType': IntegrationType;
/**
* Name of the Integration.
* @type {string}
Expand All @@ -52,15 +55,5 @@ export interface CreateIntegrationModel {
'configIds': Array<string>;
}

export const CreateIntegrationModelIntegrationTypeEnum = {
DataDog: 'dataDog',
Slack: 'slack',
Amplitude: 'amplitude',
MixPanel: 'mixPanel',
Segment: 'segment',
PubNub: 'pubNub'
} as const;

export type CreateIntegrationModelIntegrationTypeEnum = typeof CreateIntegrationModelIntegrationTypeEnum[keyof typeof CreateIntegrationModelIntegrationTypeEnum];


16 changes: 6 additions & 10 deletions model/create-or-update-environment-access-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { EnvironmentAccessType } from './environment-access-type';

/**
*
Expand All @@ -27,19 +30,12 @@ export interface CreateOrUpdateEnvironmentAccessModel {
*/
'environmentId'?: string;
/**
* Represent the environment specific Feature Management permission.
* @type {string}
*
* @type {EnvironmentAccessType}
* @memberof CreateOrUpdateEnvironmentAccessModel
*/
'environmentAccessType'?: CreateOrUpdateEnvironmentAccessModelEnvironmentAccessTypeEnum;
'environmentAccessType'?: EnvironmentAccessType;
}

export const CreateOrUpdateEnvironmentAccessModelEnvironmentAccessTypeEnum = {
Full: 'full',
ReadOnly: 'readOnly',
None: 'none'
} as const;

export type CreateOrUpdateEnvironmentAccessModelEnvironmentAccessTypeEnum = typeof CreateOrUpdateEnvironmentAccessModelEnvironmentAccessTypeEnum[keyof typeof CreateOrUpdateEnvironmentAccessModelEnvironmentAccessTypeEnum];


Loading