From 29181118ce3278e3e247bd47874f87b912ea4b4d Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 12 Mar 2025 16:47:55 +0100 Subject: [PATCH] chore: orval generation (#9524) --- .../src/openapi/models/addonTypeSchema.ts | 2 +- .../src/openapi/models/aiChatMessageSchema.ts | 16 ---- .../openapi/models/aiChatMessageSchemaRole.ts | 18 ---- .../openapi/models/aiChatNewMessageSchema.ts | 13 --- frontend/src/openapi/models/aiChatSchema.ts | 23 ----- ...EnvironmentInstancesSchemaInstancesItem.ts | 7 +- .../models/archiveReleasePlanTemplate401.ts | 14 ++++ .../models/archiveReleasePlanTemplate403.ts | 14 ++++ .../changeRequestCreateFeatureSchema.ts | 8 +- ...eRequestCreateFeatureSchemaOneOfTwofour.ts | 19 +++++ ...stCreateFeatureSchemaOneOfTwofourAction.ts | 16 ++++ ...tCreateFeatureSchemaOneOfTwofourPayload.ts | 15 ++++ ...RequestCreateFeatureSchemaOneOfTwoseven.ts | 19 +++++ ...tCreateFeatureSchemaOneOfTwosevenAction.ts | 16 ++++ ...CreateFeatureSchemaOneOfTwosevenPayload.ts | 13 +++ ...geRequestCreateFeatureSchemaOneOfTwotwo.ts | 18 ++++ ...estCreateFeatureSchemaOneOfTwotwoAction.ts | 16 ++++ .../models/changeRequestCreateSchema.ts | 8 +- .../changeRequestCreateSchemaOneOfThreetwo.ts | 19 +++++ ...eRequestCreateSchemaOneOfThreetwoAction.ts | 16 ++++ ...RequestCreateSchemaOneOfThreetwoPayload.ts | 13 +++ .../changeRequestCreateSchemaOneOfTwonine.ts | 19 +++++ ...geRequestCreateSchemaOneOfTwonineAction.ts | 16 ++++ ...eRequestCreateSchemaOneOfTwoninePayload.ts | 15 ++++ .../changeRequestCreateSchemaOneOfTwoseven.ts | 18 ++++ ...eRequestCreateSchemaOneOfTwosevenAction.ts | 16 ++++ .../changeRequestOneOrManyCreateSchema.ts | 6 ++ ...questOneOrManyCreateSchemaOneOfThreetwo.ts | 19 +++++ ...neOrManyCreateSchemaOneOfThreetwoAction.ts | 16 ++++ ...eOrManyCreateSchemaOneOfThreetwoPayload.ts | 13 +++ ...equestOneOrManyCreateSchemaOneOfTwonine.ts | 19 +++++ ...OneOrManyCreateSchemaOneOfTwonineAction.ts | 16 ++++ ...neOrManyCreateSchemaOneOfTwoninePayload.ts | 15 ++++ ...questOneOrManyCreateSchemaOneOfTwoseven.ts | 18 ++++ ...neOrManyCreateSchemaOneOfTwosevenAction.ts | 16 ++++ .../models/clientFeaturesDeltaSchema.ts | 14 ++++ .../clientFeaturesDeltaSchemaEventsItem.ts | 17 ++++ ...lientFeaturesDeltaSchemaEventsItemAnyOf.ts | 13 +++ ...tFeaturesDeltaSchemaEventsItemAnyOfFive.ts | 13 +++ ...turesDeltaSchemaEventsItemAnyOfFiveType.ts | 13 +++ ...tFeaturesDeltaSchemaEventsItemAnyOfNine.ts | 15 ++++ ...turesDeltaSchemaEventsItemAnyOfNineType.ts | 13 +++ ...FeaturesDeltaSchemaEventsItemAnyOfSeven.ts | 12 +++ ...uresDeltaSchemaEventsItemAnyOfSevenType.ts | 13 +++ ...FeaturesDeltaSchemaEventsItemAnyOfThree.ts | 13 +++ ...uresDeltaSchemaEventsItemAnyOfThreeType.ts | 13 +++ ...tFeaturesDeltaSchemaEventsItemAnyOfType.ts | 13 +++ frontend/src/openapi/models/connect401.ts | 14 ++++ frontend/src/openapi/models/connect403.ts | 14 ++++ .../src/openapi/models/constraintSchema.ts | 4 +- .../models/constraintSchemaOperator.ts | 2 +- .../models/createFeatureStrategySchema.ts | 2 +- .../src/openapi/models/createPatSchema.ts | 2 +- .../src/openapi/models/createProjectSchema.ts | 5 +- ...reateReleasePlanMilestoneStrategySchema.ts | 2 +- .../models/createReleasePlanTemplate409.ts | 14 ++++ ...rmissionsSchemaAnyOfFourPermissionsItem.ts | 7 +- ...thPermissionsSchemaAnyOfPermissionsItem.ts | 7 +- .../src/openapi/models/createTagSchema.ts | 4 +- .../src/openapi/models/deleteScimGroups401.ts | 14 ++++ .../src/openapi/models/deleteScimGroups403.ts | 14 ++++ .../src/openapi/models/deleteScimUsers401.ts | 14 ++++ .../src/openapi/models/deleteScimUsers403.ts | 14 ++++ .../models/deprecatedProjectOverviewSchema.ts | 2 +- .../deprecatedSearchEventsSchemaType.ts | 3 + .../src/openapi/models/disconnectAll401.ts | 14 ++++ .../src/openapi/models/disconnectAll403.ts | 14 ++++ .../models/edgeEndpointTrafficSchema.ts | 21 +++++ .../openapi/models/edgeInstanceDataSchema.ts | 41 +++++++++ .../models/edgeInstanceTrafficSchema.ts | 23 +++++ .../edgeInstanceTrafficSchemaAccessDenied.ts | 13 +++ ...dgeInstanceTrafficSchemaCachedResponses.ts | 13 +++ .../models/edgeInstanceTrafficSchemaGet.ts | 13 +++ .../models/edgeInstanceTrafficSchemaPost.ts | 13 +++ .../models/edgeLatencyMetricsSchema.ts | 26 ++++++ .../models/edgeProcessMetricsSchema.ts | 21 +++++ .../openapi/models/edgeRequestStatsSchema.ts | 24 ++++++ .../src/openapi/models/edgeTokenSchema.ts | 4 +- .../src/openapi/models/edgeTokenSchemaType.ts | 2 +- .../models/edgeUpstreamLatencySchema.ts | 15 ++++ .../models/environmentProjectSchema.ts | 2 + .../src/openapi/models/eventSchemaType.ts | 3 + .../openapi/models/featureStrategySchema.ts | 2 +- .../src/openapi/models/featureTagSchema.ts | 4 +- .../models/frontendApiFeaturesPostSchema.ts | 15 ++++ .../frontendApiFeaturesPostSchemaContext.ts | 33 ++++++++ ...dApiFeaturesPostSchemaContextProperties.ts | 12 +++ .../models/getConnectionsForPeriodGrouping.ts | 14 ++++ .../models/getConnectionsForPeriodParams.ts | 21 +++++ .../getFrontendApiFeaturesWithPost401.ts | 14 ++++ .../getFrontendApiFeaturesWithPost404.ts | 14 ++++ .../getTrafficDataUsageForPeriodGrouping.ts | 14 ++++ .../getTrafficDataUsageForPeriodParams.ts | 21 +++++ .../openapi/models/healthOverviewSchema.ts | 2 +- .../src/openapi/models/healthReportSchema.ts | 2 +- frontend/src/openapi/models/index.ts | 84 +++++++++++++++++-- .../src/openapi/models/licenseCheckSchema.ts | 3 + .../models/licenseCheckSchemaMessageType.ts | 18 ++++ .../src/openapi/models/licenseReadSchema.ts | 14 +++- .../models/meteredConnectionsSchema.ts | 20 +++++ .../meteredConnectionsSchemaApiDataItem.ts | 13 +++ ...nectionsSchemaApiDataItemDataPointsItem.ts | 18 ++++ .../meteredConnectionsSchemaDateRange.ts | 15 ++++ .../meteredConnectionsSchemaGrouping.ts | 17 ++++ .../openapi/models/orderEnvironmentsSchema.ts | 14 ---- ...orderEnvironmentsSchemaEnvironmentsItem.ts | 12 --- frontend/src/openapi/models/patSchema.ts | 2 +- frontend/src/openapi/models/patsSchema.ts | 2 +- .../personalDashboardSchemaProjectsItem.ts | 2 +- .../models/playgroundConstraintSchema.ts | 4 +- .../playgroundConstraintSchemaOperator.ts | 2 +- .../openapi/models/playgroundRequestSchema.ts | 6 +- .../models/playgroundRequestSchemaProjects.ts | 2 +- .../models/projectInsightsSchemaHealth.ts | 2 +- .../openapi/models/projectOverviewSchema.ts | 2 +- frontend/src/openapi/models/projectSchema.ts | 2 +- .../releasePlanMilestoneStrategySchema.ts | 2 +- .../models/releasePlanTemplateSchema.ts | 5 ++ frontend/src/openapi/models/setCorsSchema.ts | 13 +++ frontend/src/openapi/models/tagSchema.ts | 4 +- .../trafficUsageApiMonthlyDataSchema.ts | 16 ++++ ...fficUsageApiMonthlyDataSchemaMonthsItem.ts | 16 ++++ ...hlyDataSchemaMonthsItemTrafficTypesItem.ts | 12 +++ frontend/src/openapi/models/uiConfigSchema.ts | 6 +- .../models/updateFeatureStrategySchema.ts | 2 +- ...pdateReleasePlanMilestoneStrategySchema.ts | 2 +- .../models/updateReleasePlanTemplate409.ts | 14 ++++ frontend/src/openapi/models/versionSchema.ts | 5 ++ 128 files changed, 1450 insertions(+), 156 deletions(-) delete mode 100644 frontend/src/openapi/models/aiChatMessageSchema.ts delete mode 100644 frontend/src/openapi/models/aiChatMessageSchemaRole.ts delete mode 100644 frontend/src/openapi/models/aiChatNewMessageSchema.ts delete mode 100644 frontend/src/openapi/models/aiChatSchema.ts create mode 100644 frontend/src/openapi/models/archiveReleasePlanTemplate401.ts create mode 100644 frontend/src/openapi/models/archiveReleasePlanTemplate403.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwoseven.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwo.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwoAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonineAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoninePayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwosevenAction.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonineAction.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoninePayload.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwosevenAction.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchema.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItem.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOf.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFiveType.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNine.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNineType.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSeven.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSevenType.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThree.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThreeType.ts create mode 100644 frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfType.ts create mode 100644 frontend/src/openapi/models/connect401.ts create mode 100644 frontend/src/openapi/models/connect403.ts create mode 100644 frontend/src/openapi/models/createReleasePlanTemplate409.ts create mode 100644 frontend/src/openapi/models/deleteScimGroups401.ts create mode 100644 frontend/src/openapi/models/deleteScimGroups403.ts create mode 100644 frontend/src/openapi/models/deleteScimUsers401.ts create mode 100644 frontend/src/openapi/models/deleteScimUsers403.ts create mode 100644 frontend/src/openapi/models/disconnectAll401.ts create mode 100644 frontend/src/openapi/models/disconnectAll403.ts create mode 100644 frontend/src/openapi/models/edgeEndpointTrafficSchema.ts create mode 100644 frontend/src/openapi/models/edgeInstanceDataSchema.ts create mode 100644 frontend/src/openapi/models/edgeInstanceTrafficSchema.ts create mode 100644 frontend/src/openapi/models/edgeInstanceTrafficSchemaAccessDenied.ts create mode 100644 frontend/src/openapi/models/edgeInstanceTrafficSchemaCachedResponses.ts create mode 100644 frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts create mode 100644 frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts create mode 100644 frontend/src/openapi/models/edgeLatencyMetricsSchema.ts create mode 100644 frontend/src/openapi/models/edgeProcessMetricsSchema.ts create mode 100644 frontend/src/openapi/models/edgeRequestStatsSchema.ts create mode 100644 frontend/src/openapi/models/edgeUpstreamLatencySchema.ts create mode 100644 frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts create mode 100644 frontend/src/openapi/models/frontendApiFeaturesPostSchemaContext.ts create mode 100644 frontend/src/openapi/models/frontendApiFeaturesPostSchemaContextProperties.ts create mode 100644 frontend/src/openapi/models/getConnectionsForPeriodGrouping.ts create mode 100644 frontend/src/openapi/models/getConnectionsForPeriodParams.ts create mode 100644 frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts create mode 100644 frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts create mode 100644 frontend/src/openapi/models/getTrafficDataUsageForPeriodGrouping.ts create mode 100644 frontend/src/openapi/models/getTrafficDataUsageForPeriodParams.ts create mode 100644 frontend/src/openapi/models/licenseCheckSchemaMessageType.ts create mode 100644 frontend/src/openapi/models/meteredConnectionsSchema.ts create mode 100644 frontend/src/openapi/models/meteredConnectionsSchemaApiDataItem.ts create mode 100644 frontend/src/openapi/models/meteredConnectionsSchemaApiDataItemDataPointsItem.ts create mode 100644 frontend/src/openapi/models/meteredConnectionsSchemaDateRange.ts create mode 100644 frontend/src/openapi/models/meteredConnectionsSchemaGrouping.ts delete mode 100644 frontend/src/openapi/models/orderEnvironmentsSchema.ts delete mode 100644 frontend/src/openapi/models/orderEnvironmentsSchemaEnvironmentsItem.ts create mode 100644 frontend/src/openapi/models/setCorsSchema.ts create mode 100644 frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts create mode 100644 frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItem.ts create mode 100644 frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem.ts create mode 100644 frontend/src/openapi/models/updateReleasePlanTemplate409.ts diff --git a/frontend/src/openapi/models/addonTypeSchema.ts b/frontend/src/openapi/models/addonTypeSchema.ts index 419d1b4d51..263efe9297 100644 --- a/frontend/src/openapi/models/addonTypeSchema.ts +++ b/frontend/src/openapi/models/addonTypeSchema.ts @@ -32,6 +32,6 @@ export interface AddonTypeSchema { name: string; /** The addon provider's parameters. Use these to configure an addon of this provider type. Items with `required: true` must be provided. */ parameters?: AddonParameterSchema[]; - /** A list of [Unleash tag types](https://docs.getunleash.io/reference/tags#tag-types) that this addon uses. These tags will be added to the Unleash instance when an addon of this type is created. */ + /** A list of [Unleash tag types](https://docs.getunleash.io/reference/feature-toggles#tags) that this addon uses. These tags will be added to the Unleash instance when an addon of this type is created. */ tagTypes?: TagTypeSchema[]; } diff --git a/frontend/src/openapi/models/aiChatMessageSchema.ts b/frontend/src/openapi/models/aiChatMessageSchema.ts deleted file mode 100644 index 78db45f4d4..0000000000 --- a/frontend/src/openapi/models/aiChatMessageSchema.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ -import type { AiChatMessageSchemaRole } from './aiChatMessageSchemaRole'; - -/** - * Describes an Unleash AI chat message. - */ -export interface AiChatMessageSchema { - /** The message content. */ - content: string; - /** The role of the message sender. */ - role: AiChatMessageSchemaRole; -} diff --git a/frontend/src/openapi/models/aiChatMessageSchemaRole.ts b/frontend/src/openapi/models/aiChatMessageSchemaRole.ts deleted file mode 100644 index d758e75f4e..0000000000 --- a/frontend/src/openapi/models/aiChatMessageSchemaRole.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -/** - * The role of the message sender. - */ -export type AiChatMessageSchemaRole = - (typeof AiChatMessageSchemaRole)[keyof typeof AiChatMessageSchemaRole]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const AiChatMessageSchemaRole = { - system: 'system', - user: 'user', - assistant: 'assistant', -} as const; diff --git a/frontend/src/openapi/models/aiChatNewMessageSchema.ts b/frontend/src/openapi/models/aiChatNewMessageSchema.ts deleted file mode 100644 index a2323d7296..0000000000 --- a/frontend/src/openapi/models/aiChatNewMessageSchema.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -/** - * Describes a new Unleash AI chat message sent by the user. - */ -export interface AiChatNewMessageSchema { - /** The message content. */ - message: string; -} diff --git a/frontend/src/openapi/models/aiChatSchema.ts b/frontend/src/openapi/models/aiChatSchema.ts deleted file mode 100644 index 2890ad2dde..0000000000 --- a/frontend/src/openapi/models/aiChatSchema.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ -import type { AiChatMessageSchema } from './aiChatMessageSchema'; - -/** - * Describes an Unleash AI chat. - */ -export interface AiChatSchema { - /** The date and time of when the chat was created. */ - createdAt: string; - /** - * The chat's ID. Chat IDs are incrementing integers. In other words, a more recently created chat will always have a higher ID than an older one. This ID is represented as a string since it is a BigInt. - * @pattern ^[0-9]+$ - */ - id: string; - /** The messages exchanged between the user and the Unleash AI. */ - messages: AiChatMessageSchema[]; - /** The ID of the user that the chat belongs to. */ - userId: number; -} diff --git a/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts b/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts index a978d59bc4..4e24016c51 100644 --- a/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts +++ b/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts @@ -11,6 +11,9 @@ export type ApplicationEnvironmentInstancesSchemaInstancesItem = { instanceId: string; /** The last time the application environment instance was seen */ lastSeen?: string; - /** An SDK version identifier. Usually formatted as "unleash-client-:" */ - sdkVersion?: string; + /** + * An SDK version identifier. Usually formatted as "unleash-client-:" + * @nullable + */ + sdkVersion?: string | null; }; diff --git a/frontend/src/openapi/models/archiveReleasePlanTemplate401.ts b/frontend/src/openapi/models/archiveReleasePlanTemplate401.ts new file mode 100644 index 0000000000..4c46572418 --- /dev/null +++ b/frontend/src/openapi/models/archiveReleasePlanTemplate401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ArchiveReleasePlanTemplate401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/archiveReleasePlanTemplate403.ts b/frontend/src/openapi/models/archiveReleasePlanTemplate403.ts new file mode 100644 index 0000000000..01487d6264 --- /dev/null +++ b/frontend/src/openapi/models/archiveReleasePlanTemplate403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ArchiveReleasePlanTemplate403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchema.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchema.ts index d7026e0abd..2d25c5beb9 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchema.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchema.ts @@ -12,6 +12,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOnethree } from './changeRequ import type { ChangeRequestCreateFeatureSchemaOneOfOnesix } from './changeRequestCreateFeatureSchemaOneOfOnesix'; import type { ChangeRequestCreateFeatureSchemaOneOfOneeight } from './changeRequestCreateFeatureSchemaOneOfOneeight'; import type { ChangeRequestCreateFeatureSchemaOneOfTwozero } from './changeRequestCreateFeatureSchemaOneOfTwozero'; +import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeRequestCreateFeatureSchemaOneOfTwotwo'; +import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour'; +import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven'; /** * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change. @@ -25,4 +28,7 @@ export type ChangeRequestCreateFeatureSchema = | ChangeRequestCreateFeatureSchemaOneOfOnethree | ChangeRequestCreateFeatureSchemaOneOfOnesix | ChangeRequestCreateFeatureSchemaOneOfOneeight - | ChangeRequestCreateFeatureSchemaOneOfTwozero; + | ChangeRequestCreateFeatureSchemaOneOfTwozero + | ChangeRequestCreateFeatureSchemaOneOfTwotwo + | ChangeRequestCreateFeatureSchemaOneOfTwofour + | ChangeRequestCreateFeatureSchemaOneOfTwoseven; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts new file mode 100644 index 0000000000..f1b2b04d04 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateFeatureSchemaOneOfTwofourAction } from './changeRequestCreateFeatureSchemaOneOfTwofourAction'; +import type { ChangeRequestCreateFeatureSchemaOneOfTwofourPayload } from './changeRequestCreateFeatureSchemaOneOfTwofourPayload'; + +/** + * Start milestone of feature environment release plan. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwofour = { + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwofourAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The ID of the release plan and which of its milestones to start. */ + payload: ChangeRequestCreateFeatureSchemaOneOfTwofourPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourAction.ts new file mode 100644 index 0000000000..9d8f8eb79a --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwofourAction = + (typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateFeatureSchemaOneOfTwofourAction = { + startMilestone: 'startMilestone', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourPayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourPayload.ts new file mode 100644 index 0000000000..9279db4099 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofourPayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The ID of the release plan and which of its milestones to start. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwofourPayload = { + /** The ID of the milestone to start. This ID is an ulid */ + milestoneId: string; + /** The ID of the release plan. This ID is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwoseven.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwoseven.ts new file mode 100644 index 0000000000..13de8688f7 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwoseven.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenAction } from './changeRequestCreateFeatureSchemaOneOfTwosevenAction'; +import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload } from './changeRequestCreateFeatureSchemaOneOfTwosevenPayload'; + +/** + * Remove a release plan from feature environment. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwoseven = { + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwosevenAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The Id of the release plan to remove. */ + payload: ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenAction.ts new file mode 100644 index 0000000000..37aa9c63f1 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwosevenAction = + (typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateFeatureSchemaOneOfTwosevenAction = { + deleteReleasePlan: 'deleteReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenPayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenPayload.ts new file mode 100644 index 0000000000..3f905319bc --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwosevenPayload.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The Id of the release plan to remove. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload = { + /** The Id of the release plan. This id is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwo.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwo.ts new file mode 100644 index 0000000000..75df41ea30 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwo.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateFeatureSchemaOneOfTwotwoAction } from './changeRequestCreateFeatureSchemaOneOfTwotwoAction'; +import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema'; + +/** + * Add a release plan to this feature environment. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwotwo = { + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwotwoAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ReleasePlanTemplateIdSchema; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwoAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwoAction.ts new file mode 100644 index 0000000000..3884b9b707 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwotwoAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateFeatureSchemaOneOfTwotwoAction = + (typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateFeatureSchemaOneOfTwotwoAction = { + addReleasePlan: 'addReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateSchema.ts b/frontend/src/openapi/models/changeRequestCreateSchema.ts index feb1b14298..7835ec2a96 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchema.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchema.ts @@ -14,6 +14,9 @@ import type { ChangeRequestCreateSchemaOneOfOneeight } from './changeRequestCrea import type { ChangeRequestCreateSchemaOneOfTwoone } from './changeRequestCreateSchemaOneOfTwoone'; import type { ChangeRequestCreateSchemaOneOfTwothree } from './changeRequestCreateSchemaOneOfTwothree'; import type { ChangeRequestCreateSchemaOneOfTwofive } from './changeRequestCreateSchemaOneOfTwofive'; +import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCreateSchemaOneOfTwoseven'; +import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine'; +import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo'; /** * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change. @@ -29,4 +32,7 @@ export type ChangeRequestCreateSchema = | ChangeRequestCreateSchemaOneOfOneeight | ChangeRequestCreateSchemaOneOfTwoone | ChangeRequestCreateSchemaOneOfTwothree - | ChangeRequestCreateSchemaOneOfTwofive; + | ChangeRequestCreateSchemaOneOfTwofive + | ChangeRequestCreateSchemaOneOfTwoseven + | ChangeRequestCreateSchemaOneOfTwonine + | ChangeRequestCreateSchemaOneOfThreetwo; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts new file mode 100644 index 0000000000..94178f842c --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateSchemaOneOfThreetwoAction } from './changeRequestCreateSchemaOneOfThreetwoAction'; +import type { ChangeRequestCreateSchemaOneOfThreetwoPayload } from './changeRequestCreateSchemaOneOfThreetwoPayload'; + +/** + * Remove a release plan from feature environment. + */ +export type ChangeRequestCreateSchemaOneOfThreetwo = { + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfThreetwoAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The Id of the release plan to remove. */ + payload: ChangeRequestCreateSchemaOneOfThreetwoPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoAction.ts new file mode 100644 index 0000000000..28f5183dd4 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateSchemaOneOfThreetwoAction = + (typeof ChangeRequestCreateSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreetwoAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateSchemaOneOfThreetwoAction = { + deleteReleasePlan: 'deleteReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoPayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoPayload.ts new file mode 100644 index 0000000000..66698642f7 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwoPayload.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The Id of the release plan to remove. + */ +export type ChangeRequestCreateSchemaOneOfThreetwoPayload = { + /** The Id of the release plan. This id is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts new file mode 100644 index 0000000000..73ccb73fa1 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateSchemaOneOfTwonineAction } from './changeRequestCreateSchemaOneOfTwonineAction'; +import type { ChangeRequestCreateSchemaOneOfTwoninePayload } from './changeRequestCreateSchemaOneOfTwoninePayload'; + +/** + * Start milestone of feature environment release plan. + */ +export type ChangeRequestCreateSchemaOneOfTwonine = { + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwonineAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The ID of the release plan and which of its milestones to start. */ + payload: ChangeRequestCreateSchemaOneOfTwoninePayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonineAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonineAction.ts new file mode 100644 index 0000000000..670908be31 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonineAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateSchemaOneOfTwonineAction = + (typeof ChangeRequestCreateSchemaOneOfTwonineAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwonineAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateSchemaOneOfTwonineAction = { + startMilestone: 'startMilestone', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoninePayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoninePayload.ts new file mode 100644 index 0000000000..44d6604516 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoninePayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The ID of the release plan and which of its milestones to start. + */ +export type ChangeRequestCreateSchemaOneOfTwoninePayload = { + /** The ID of the milestone to start. This ID is an ulid */ + milestoneId: string; + /** The ID of the release plan. This ID is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts new file mode 100644 index 0000000000..d53da71719 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateSchemaOneOfTwosevenAction } from './changeRequestCreateSchemaOneOfTwosevenAction'; +import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema'; + +/** + * Add a release plan to this feature environment. + */ +export type ChangeRequestCreateSchemaOneOfTwoseven = { + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwosevenAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ReleasePlanTemplateIdSchema; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwosevenAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwosevenAction.ts new file mode 100644 index 0000000000..97b62f2c28 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwosevenAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateSchemaOneOfTwosevenAction = + (typeof ChangeRequestCreateSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwosevenAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateSchemaOneOfTwosevenAction = { + addReleasePlan: 'addReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchema.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchema.ts index 351d69946f..4ae4044b8d 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchema.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchema.ts @@ -14,6 +14,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeight } from './changeRe import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoone } from './changeRequestOneOrManyCreateSchemaOneOfTwoone'; import type { ChangeRequestOneOrManyCreateSchemaOneOfTwothree } from './changeRequestOneOrManyCreateSchemaOneOfTwothree'; import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofive } from './changeRequestOneOrManyCreateSchemaOneOfTwofive'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoseven } from './changeRequestOneOrManyCreateSchemaOneOfTwoseven'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonine } from './changeRequestOneOrManyCreateSchemaOneOfTwonine'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwo } from './changeRequestOneOrManyCreateSchemaOneOfThreetwo'; import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema'; /** @@ -31,4 +34,7 @@ export type ChangeRequestOneOrManyCreateSchema = | ChangeRequestOneOrManyCreateSchemaOneOfTwoone | ChangeRequestOneOrManyCreateSchemaOneOfTwothree | ChangeRequestOneOrManyCreateSchemaOneOfTwofive + | ChangeRequestOneOrManyCreateSchemaOneOfTwoseven + | ChangeRequestOneOrManyCreateSchemaOneOfTwonine + | ChangeRequestOneOrManyCreateSchemaOneOfThreetwo | ChangeRequestCreateSchema[]; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts new file mode 100644 index 0000000000..ad237574d5 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction } from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload } from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload'; + +/** + * Remove a release plan from feature environment. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfThreetwo = { + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The Id of the release plan to remove. */ + payload: ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.ts new file mode 100644 index 0000000000..a03dd892d8 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction = + (typeof ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction = { + deleteReleasePlan: 'deleteReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.ts new file mode 100644 index 0000000000..2fe641c3c6 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The Id of the release plan to remove. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload = { + /** The Id of the release plan. This id is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts new file mode 100644 index 0000000000..27f9d53937 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction } from './changeRequestOneOrManyCreateSchemaOneOfTwonineAction'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload } from './changeRequestOneOrManyCreateSchemaOneOfTwoninePayload'; + +/** + * Start milestone of feature environment release plan. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfTwonine = { + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction; + /** The name of the feature that this change applies to. */ + feature: string; + /** The ID of the release plan and which of its milestones to start. */ + payload: ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonineAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonineAction.ts new file mode 100644 index 0000000000..07163c8f00 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonineAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction = + (typeof ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction = { + startMilestone: 'startMilestone', +} as const; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoninePayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoninePayload.ts new file mode 100644 index 0000000000..378e85990b --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoninePayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The ID of the release plan and which of its milestones to start. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload = { + /** The ID of the milestone to start. This ID is an ulid */ + milestoneId: string; + /** The ID of the release plan. This ID is an ulid */ + planId: string; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts new file mode 100644 index 0000000000..444ebf0e4f --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction } from './changeRequestOneOrManyCreateSchemaOneOfTwosevenAction'; +import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema'; + +/** + * Add a release plan to this feature environment. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfTwoseven = { + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ReleasePlanTemplateIdSchema; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwosevenAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwosevenAction.ts new file mode 100644 index 0000000000..52ad04da59 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwosevenAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction = + (typeof ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction = { + addReleasePlan: 'addReleasePlan', +} as const; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchema.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchema.ts new file mode 100644 index 0000000000..089f65deb0 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchema.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeaturesDeltaSchemaEventsItem } from './clientFeaturesDeltaSchemaEventsItem'; + +/** + * Schema for delta updates of feature configurations. + */ +export interface ClientFeaturesDeltaSchema { + /** A list of delta events. */ + events: ClientFeaturesDeltaSchemaEventsItem[]; +} diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItem.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItem.ts new file mode 100644 index 0000000000..bd7cf138ff --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItem.ts @@ -0,0 +1,17 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeaturesDeltaSchemaEventsItemAnyOf } from './clientFeaturesDeltaSchemaEventsItemAnyOf'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfThree } from './clientFeaturesDeltaSchemaEventsItemAnyOfThree'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfFive } from './clientFeaturesDeltaSchemaEventsItemAnyOfFive'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfSeven } from './clientFeaturesDeltaSchemaEventsItemAnyOfSeven'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfNine } from './clientFeaturesDeltaSchemaEventsItemAnyOfNine'; + +export type ClientFeaturesDeltaSchemaEventsItem = + | ClientFeaturesDeltaSchemaEventsItemAnyOf + | ClientFeaturesDeltaSchemaEventsItemAnyOfThree + | ClientFeaturesDeltaSchemaEventsItemAnyOfFive + | ClientFeaturesDeltaSchemaEventsItemAnyOfSeven + | ClientFeaturesDeltaSchemaEventsItemAnyOfNine; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOf.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOf.ts new file mode 100644 index 0000000000..5d38096648 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOf.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeatureSchema } from './clientFeatureSchema'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfType } from './clientFeaturesDeltaSchemaEventsItemAnyOfType'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOf = { + eventId: number; + feature: ClientFeatureSchema; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfType; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts new file mode 100644 index 0000000000..b8ba5054b1 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientSegmentSchema } from './clientSegmentSchema'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType } from './clientFeaturesDeltaSchemaEventsItemAnyOfFiveType'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfFive = { + eventId: number; + segment: ClientSegmentSchema; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFiveType.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFiveType.ts new file mode 100644 index 0000000000..f00b1c6514 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFiveType.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType = + (typeof ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType = { + 'segment-updated': 'segment-updated', +} as const; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNine.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNine.ts new file mode 100644 index 0000000000..4e46004358 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNine.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeatureSchema } from './clientFeatureSchema'; +import type { ClientSegmentSchema } from './clientSegmentSchema'; +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfNineType } from './clientFeaturesDeltaSchemaEventsItemAnyOfNineType'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfNine = { + eventId: number; + features: ClientFeatureSchema[]; + segments: ClientSegmentSchema[]; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfNineType; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNineType.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNineType.ts new file mode 100644 index 0000000000..555bf9b618 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfNineType.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfNineType = + (typeof ClientFeaturesDeltaSchemaEventsItemAnyOfNineType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfNineType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ClientFeaturesDeltaSchemaEventsItemAnyOfNineType = { + hydration: 'hydration', +} as const; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSeven.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSeven.ts new file mode 100644 index 0000000000..e552fbd1d2 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSeven.ts @@ -0,0 +1,12 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType } from './clientFeaturesDeltaSchemaEventsItemAnyOfSevenType'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfSeven = { + eventId: number; + segmentId: number; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSevenType.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSevenType.ts new file mode 100644 index 0000000000..0a19c0a9db --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfSevenType.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType = + (typeof ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType = { + 'segment-removed': 'segment-removed', +} as const; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThree.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThree.ts new file mode 100644 index 0000000000..aae5f3eb52 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThree.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType } from './clientFeaturesDeltaSchemaEventsItemAnyOfThreeType'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfThree = { + eventId: number; + featureName: string; + project: string; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThreeType.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThreeType.ts new file mode 100644 index 0000000000..7c53cd49a9 --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfThreeType.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType = + (typeof ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType = { + 'feature-removed': 'feature-removed', +} as const; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfType.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfType.ts new file mode 100644 index 0000000000..97ac9e016e --- /dev/null +++ b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfType.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfType = + (typeof ClientFeaturesDeltaSchemaEventsItemAnyOfType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ClientFeaturesDeltaSchemaEventsItemAnyOfType = { + 'feature-updated': 'feature-updated', +} as const; diff --git a/frontend/src/openapi/models/connect401.ts b/frontend/src/openapi/models/connect401.ts new file mode 100644 index 0000000000..3cbbb422bd --- /dev/null +++ b/frontend/src/openapi/models/connect401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type Connect401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/connect403.ts b/frontend/src/openapi/models/connect403.ts new file mode 100644 index 0000000000..6555523f23 --- /dev/null +++ b/frontend/src/openapi/models/connect403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type Connect403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/constraintSchema.ts b/frontend/src/openapi/models/constraintSchema.ts index eece6c6c38..73aedc05e2 100644 --- a/frontend/src/openapi/models/constraintSchema.ts +++ b/frontend/src/openapi/models/constraintSchema.ts @@ -6,7 +6,7 @@ import type { ConstraintSchemaOperator } from './constraintSchemaOperator'; /** - * A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-constraints) + * A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/activation-strategies#constraints) */ export interface ConstraintSchema { /** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ @@ -15,7 +15,7 @@ export interface ConstraintSchema { contextName: string; /** Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa. */ inverted?: boolean; - /** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators). */ + /** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators). */ operator: ConstraintSchemaOperator; /** The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values. */ value?: string; diff --git a/frontend/src/openapi/models/constraintSchemaOperator.ts b/frontend/src/openapi/models/constraintSchemaOperator.ts index eea65ed86b..1e1931bf9b 100644 --- a/frontend/src/openapi/models/constraintSchemaOperator.ts +++ b/frontend/src/openapi/models/constraintSchemaOperator.ts @@ -5,7 +5,7 @@ */ /** - * The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators). + * The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators). */ export type ConstraintSchemaOperator = (typeof ConstraintSchemaOperator)[keyof typeof ConstraintSchemaOperator]; diff --git a/frontend/src/openapi/models/createFeatureStrategySchema.ts b/frontend/src/openapi/models/createFeatureStrategySchema.ts index 73f7e1727a..a998be5d83 100644 --- a/frontend/src/openapi/models/createFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/createFeatureStrategySchema.ts @@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema' * Create a strategy configuration in a feature */ export interface CreateFeatureStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** * A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs diff --git a/frontend/src/openapi/models/createPatSchema.ts b/frontend/src/openapi/models/createPatSchema.ts index fb9df4d918..4aadf77435 100644 --- a/frontend/src/openapi/models/createPatSchema.ts +++ b/frontend/src/openapi/models/createPatSchema.ts @@ -5,7 +5,7 @@ */ /** - * Describes the properties required to create a [personal access token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user. + * Describes the properties required to create a [personal access token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user. */ export interface CreatePatSchema { /** The PAT's description. */ diff --git a/frontend/src/openapi/models/createProjectSchema.ts b/frontend/src/openapi/models/createProjectSchema.ts index c7ff0dc742..bf8e4383e0 100644 --- a/frontend/src/openapi/models/createProjectSchema.ts +++ b/frontend/src/openapi/models/createProjectSchema.ts @@ -19,10 +19,7 @@ export interface CreateProjectSchema { * @nullable */ description?: string | null; - /** - * A list of environments that should be enabled for this project. When provided, the list must contain at least one environment. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project. - * @minItems 1 - */ + /** A list of environments that should be enabled for this project. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project. An empty list will result in no environment enabled for the project. */ environments?: string[]; /** * The project's identifier. If this property is not present or is an empty string, Unleash will generate the project id automatically. This property is deprecated. diff --git a/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts index d57d2157ed..383742159a 100644 --- a/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts @@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema' * Schema representing the creation of a release plan milestone strategy. */ export interface CreateReleasePlanMilestoneStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** An object containing the parameters for the strategy */ parameters?: ParametersSchema; diff --git a/frontend/src/openapi/models/createReleasePlanTemplate409.ts b/frontend/src/openapi/models/createReleasePlanTemplate409.ts new file mode 100644 index 0000000000..6411be43b4 --- /dev/null +++ b/frontend/src/openapi/models/createReleasePlanTemplate409.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CreateReleasePlanTemplate409 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts index 5e3aee88a4..300329916a 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts @@ -5,8 +5,11 @@ */ export type CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem = { - /** The environments of the permission if the permission is environment specific */ - environment?: string; + /** + * The environments of the permission if the permission is environment specific + * @nullable + */ + environment?: string | null; /** The id of the permission */ id: number; /** The name of the permission */ diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts index 5b9261265e..cf33b5f484 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts @@ -5,8 +5,11 @@ */ export type CreateRoleWithPermissionsSchemaAnyOfPermissionsItem = { - /** The environments of the permission if the permission is environment specific */ - environment?: string; + /** + * The environments of the permission if the permission is environment specific + * @nullable + */ + environment?: string | null; /** The name of the permission */ name: string; }; diff --git a/frontend/src/openapi/models/createTagSchema.ts b/frontend/src/openapi/models/createTagSchema.ts index a29610b1ca..c4accf8e33 100644 --- a/frontend/src/openapi/models/createTagSchema.ts +++ b/frontend/src/openapi/models/createTagSchema.ts @@ -5,11 +5,11 @@ */ /** - * Data used to create a new [tag](https://docs.getunleash.io/reference/tags) + * Data used to create a new [tag](https://docs.getunleash.io/reference/feature-toggles#tags) */ export interface CreateTagSchema { /** - * The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag + * The [type](https://docs.getunleash.io/reference/feature-toggles#tags) of the tag * @minLength 2 * @maxLength 50 */ diff --git a/frontend/src/openapi/models/deleteScimGroups401.ts b/frontend/src/openapi/models/deleteScimGroups401.ts new file mode 100644 index 0000000000..7c6d61befe --- /dev/null +++ b/frontend/src/openapi/models/deleteScimGroups401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteScimGroups401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/deleteScimGroups403.ts b/frontend/src/openapi/models/deleteScimGroups403.ts new file mode 100644 index 0000000000..82e8bb7897 --- /dev/null +++ b/frontend/src/openapi/models/deleteScimGroups403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteScimGroups403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/deleteScimUsers401.ts b/frontend/src/openapi/models/deleteScimUsers401.ts new file mode 100644 index 0000000000..7d72d8ab5c --- /dev/null +++ b/frontend/src/openapi/models/deleteScimUsers401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteScimUsers401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/deleteScimUsers403.ts b/frontend/src/openapi/models/deleteScimUsers403.ts new file mode 100644 index 0000000000..8e6bbbbaae --- /dev/null +++ b/frontend/src/openapi/models/deleteScimUsers403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteScimUsers403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts index 186ff12b61..ac3e21900c 100644 --- a/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts +++ b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts @@ -37,7 +37,7 @@ export interface DeprecatedProjectOverviewSchema { featureNaming?: CreateFeatureNamingPatternSchema; /** The full list of features in this project (excluding archived features) */ features?: FeatureSchema[]; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */ health?: number; /** The number of members this project has */ members?: number; diff --git a/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts b/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts index 362c5fc907..490b2162dd 100644 --- a/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts +++ b/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts @@ -165,8 +165,11 @@ export const DeprecatedSearchEventsSchemaType = { 'release-plan-template-created': 'release-plan-template-created', 'release-plan-template-updated': 'release-plan-template-updated', 'release-plan-template-deleted': 'release-plan-template-deleted', + 'release-plan-template-archived': 'release-plan-template-archived', 'release-plan-added': 'release-plan-added', 'release-plan-removed': 'release-plan-removed', 'release-plan-milestone-started': 'release-plan-milestone-started', 'user-preference-updated': 'user-preference-updated', + 'scim-users-deleted': 'scim-users-deleted', + 'scim-groups-deleted': 'scim-groups-deleted', } as const; diff --git a/frontend/src/openapi/models/disconnectAll401.ts b/frontend/src/openapi/models/disconnectAll401.ts new file mode 100644 index 0000000000..43ba250388 --- /dev/null +++ b/frontend/src/openapi/models/disconnectAll401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DisconnectAll401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/disconnectAll403.ts b/frontend/src/openapi/models/disconnectAll403.ts new file mode 100644 index 0000000000..154fccdb9c --- /dev/null +++ b/frontend/src/openapi/models/disconnectAll403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DisconnectAll403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/edgeEndpointTrafficSchema.ts b/frontend/src/openapi/models/edgeEndpointTrafficSchema.ts new file mode 100644 index 0000000000..b5606455f6 --- /dev/null +++ b/frontend/src/openapi/models/edgeEndpointTrafficSchema.ts @@ -0,0 +1,21 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Represents traffic data for a single endpoint in Edge + */ +export interface EdgeEndpointTrafficSchema { + /** + * Number of 20x requests + * @minimum 0 + */ + requests200?: number; + /** + * Number of 30x requests + * @minimum 0 + */ + requests304?: number; +} diff --git a/frontend/src/openapi/models/edgeInstanceDataSchema.ts b/frontend/src/openapi/models/edgeInstanceDataSchema.ts new file mode 100644 index 0000000000..108c0ec5af --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceDataSchema.ts @@ -0,0 +1,41 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeUpstreamLatencySchema } from './edgeUpstreamLatencySchema'; +import type { EdgeProcessMetricsSchema } from './edgeProcessMetricsSchema'; +import type { EdgeRequestStatsSchema } from './edgeRequestStatsSchema'; +import type { EdgeInstanceTrafficSchema } from './edgeInstanceTrafficSchema'; + +/** + * Represents Edge instance observability data. + */ +export interface EdgeInstanceDataSchema { + /** The name of the application, configured by the user, typically persistent across restarts of Edge. */ + appName: string; + /** A list of Edge instances connected to the Edge instance. */ + connectedEdges: EdgeInstanceDataSchema[]; + /** + * How many streaming clients are connected to the Edge instance. + * @minimum 0 + */ + connectedStreamingClients: number; + /** Which version (semver) of Edge is the Edge instance running. */ + edgeVersion: string; + /** The ID of the Edge process, typically a ULID. Newly generated for each restart of the instance. */ + identifier: string; + latencyUpstream: EdgeUpstreamLatencySchema; + /** @nullable */ + processMetrics?: EdgeProcessMetricsSchema; + /** + * Which region the Edge instance is running in. Set to AWS_REGION by default (if present). + * @nullable + */ + region?: string | null; + /** Requests made to edge's endpoints since last report. Meant to be used for billing purposes. */ + requestsSinceLastReport?: EdgeRequestStatsSchema; + /** RFC3339 timestamp for when the Edge instance was started. */ + started: string; + traffic: EdgeInstanceTrafficSchema; +} diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchema.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchema.ts new file mode 100644 index 0000000000..865c1022c4 --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceTrafficSchema.ts @@ -0,0 +1,23 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeInstanceTrafficSchemaAccessDenied } from './edgeInstanceTrafficSchemaAccessDenied'; +import type { EdgeInstanceTrafficSchemaCachedResponses } from './edgeInstanceTrafficSchemaCachedResponses'; +import type { EdgeInstanceTrafficSchemaGet } from './edgeInstanceTrafficSchemaGet'; +import type { EdgeInstanceTrafficSchemaPost } from './edgeInstanceTrafficSchemaPost'; + +/** + * Represents requests to the Edge instance (/api/client/features, /api/frontend, etc.) + */ +export interface EdgeInstanceTrafficSchema { + /** A map containing requests that were denied. */ + accessDenied: EdgeInstanceTrafficSchemaAccessDenied; + /** A map containing requests that had cached responses. */ + cachedResponses: EdgeInstanceTrafficSchemaCachedResponses; + /** A map containing GET requests. */ + get: EdgeInstanceTrafficSchemaGet; + /** A map containing POST requests. */ + post: EdgeInstanceTrafficSchemaPost; +} diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchemaAccessDenied.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchemaAccessDenied.ts new file mode 100644 index 0000000000..a43ec679df --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceTrafficSchemaAccessDenied.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema'; + +/** + * A map containing requests that were denied. + */ +export type EdgeInstanceTrafficSchemaAccessDenied = { + [key: string]: EdgeLatencyMetricsSchema; +}; diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchemaCachedResponses.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchemaCachedResponses.ts new file mode 100644 index 0000000000..8a772158dd --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceTrafficSchemaCachedResponses.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema'; + +/** + * A map containing requests that had cached responses. + */ +export type EdgeInstanceTrafficSchemaCachedResponses = { + [key: string]: EdgeLatencyMetricsSchema; +}; diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts new file mode 100644 index 0000000000..97c5ef01ee --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema'; + +/** + * A map containing GET requests. + */ +export type EdgeInstanceTrafficSchemaGet = { + [key: string]: EdgeLatencyMetricsSchema; +}; diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts new file mode 100644 index 0000000000..3d1c2747fd --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema'; + +/** + * A map containing POST requests. + */ +export type EdgeInstanceTrafficSchemaPost = { + [key: string]: EdgeLatencyMetricsSchema; +}; diff --git a/frontend/src/openapi/models/edgeLatencyMetricsSchema.ts b/frontend/src/openapi/models/edgeLatencyMetricsSchema.ts new file mode 100644 index 0000000000..739a81d264 --- /dev/null +++ b/frontend/src/openapi/models/edgeLatencyMetricsSchema.ts @@ -0,0 +1,26 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Representing latency for an Edge operation. + */ +export interface EdgeLatencyMetricsSchema { + /** + * Average time per request in milliseconds. + * @minimum 0 + */ + avg: number; + /** + * Total number of requests made. + * @minimum 0 + */ + count: number; + /** + * 99% of requests finished within this amount of milliseconds. + * @minimum 0 + */ + p99: number; +} diff --git a/frontend/src/openapi/models/edgeProcessMetricsSchema.ts b/frontend/src/openapi/models/edgeProcessMetricsSchema.ts new file mode 100644 index 0000000000..46a4a1608f --- /dev/null +++ b/frontend/src/openapi/models/edgeProcessMetricsSchema.ts @@ -0,0 +1,21 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Represents Edge instance resource usage data. + */ +export interface EdgeProcessMetricsSchema { + /** + * CPU usage, in seconds, since start of process. + * @minimum 0 + */ + cpuUsage: number; + /** + * Current process_resident_memory (in bytes) usage. + * @minimum 0 + */ + memoryUsage: number; +} diff --git a/frontend/src/openapi/models/edgeRequestStatsSchema.ts b/frontend/src/openapi/models/edgeRequestStatsSchema.ts new file mode 100644 index 0000000000..38478892b5 --- /dev/null +++ b/frontend/src/openapi/models/edgeRequestStatsSchema.ts @@ -0,0 +1,24 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeEndpointTrafficSchema } from './edgeEndpointTrafficSchema'; + +/** + * Represents Edge traffic data. + */ +export interface EdgeRequestStatsSchema { + /** 20x and 30x requests to the client features endpoint */ + '/api/client/features'?: EdgeEndpointTrafficSchema; + /** Traffic to Edge Metrics (from SDKs) */ + '/api/client/metrics'?: EdgeEndpointTrafficSchema; + /** Traffic to Edge Metrics (from other Edge instances) */ + '/api/client/metrics/bulk'?: EdgeEndpointTrafficSchema; + /** Traffic to Edge Metrics (from other Edge instances) */ + '/api/client/metrics/edge'?: EdgeEndpointTrafficSchema; + /** Traffic to the frontend endpoint */ + '/api/frontend'?: EdgeEndpointTrafficSchema; + /** Traffic to the proxy endpoint (proxy endpoint is deprecated, use /api/frontend instead) */ + '/api/proxy'?: EdgeEndpointTrafficSchema; +} diff --git a/frontend/src/openapi/models/edgeTokenSchema.ts b/frontend/src/openapi/models/edgeTokenSchema.ts index 27e5247aef..88a71c8549 100644 --- a/frontend/src/openapi/models/edgeTokenSchema.ts +++ b/frontend/src/openapi/models/edgeTokenSchema.ts @@ -6,13 +6,13 @@ import type { EdgeTokenSchemaType } from './edgeTokenSchemaType'; /** - * A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens) (used by proxy SDKs) + * A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens) (used by proxy SDKs) */ export interface EdgeTokenSchema { /** The list of projects this token has access to. If the token has access to specific projects they will be listed here. If the token has access to all projects it will be represented as [`*`] */ projects: string[]; /** The actual token value. [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys) are comprised of three parts. :.randomcharacters */ token: string; - /** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ + /** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ type: EdgeTokenSchemaType; } diff --git a/frontend/src/openapi/models/edgeTokenSchemaType.ts b/frontend/src/openapi/models/edgeTokenSchemaType.ts index ff173ac254..c962d9429a 100644 --- a/frontend/src/openapi/models/edgeTokenSchemaType.ts +++ b/frontend/src/openapi/models/edgeTokenSchemaType.ts @@ -5,7 +5,7 @@ */ /** - * The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with + * The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */ export type EdgeTokenSchemaType = (typeof EdgeTokenSchemaType)[keyof typeof EdgeTokenSchemaType]; diff --git a/frontend/src/openapi/models/edgeUpstreamLatencySchema.ts b/frontend/src/openapi/models/edgeUpstreamLatencySchema.ts new file mode 100644 index 0000000000..a2839b32b8 --- /dev/null +++ b/frontend/src/openapi/models/edgeUpstreamLatencySchema.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema'; + +/** + * Latencies for upstream actions from Edge (downloading/syncing new features, uploading metrics, uploading instance data) + */ +export interface EdgeUpstreamLatencySchema { + edge: EdgeLatencyMetricsSchema; + features: EdgeLatencyMetricsSchema; + metrics: EdgeLatencyMetricsSchema; +} diff --git a/frontend/src/openapi/models/environmentProjectSchema.ts b/frontend/src/openapi/models/environmentProjectSchema.ts index a86f2047ae..cc582f1660 100644 --- a/frontend/src/openapi/models/environmentProjectSchema.ts +++ b/frontend/src/openapi/models/environmentProjectSchema.ts @@ -31,4 +31,6 @@ export interface EnvironmentProjectSchema { sortOrder: number; /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ type: string; + /** Indicates whether the environment can be enabled for feature flags in the project */ + visible?: boolean; } diff --git a/frontend/src/openapi/models/eventSchemaType.ts b/frontend/src/openapi/models/eventSchemaType.ts index f796e8e728..21fc3d6d67 100644 --- a/frontend/src/openapi/models/eventSchemaType.ts +++ b/frontend/src/openapi/models/eventSchemaType.ts @@ -165,8 +165,11 @@ export const EventSchemaType = { 'release-plan-template-created': 'release-plan-template-created', 'release-plan-template-updated': 'release-plan-template-updated', 'release-plan-template-deleted': 'release-plan-template-deleted', + 'release-plan-template-archived': 'release-plan-template-archived', 'release-plan-added': 'release-plan-added', 'release-plan-removed': 'release-plan-removed', 'release-plan-milestone-started': 'release-plan-milestone-started', 'user-preference-updated': 'user-preference-updated', + 'scim-users-deleted': 'scim-users-deleted', + 'scim-groups-deleted': 'scim-groups-deleted', } as const; diff --git a/frontend/src/openapi/models/featureStrategySchema.ts b/frontend/src/openapi/models/featureStrategySchema.ts index 12dcffef49..a65750e1b7 100644 --- a/frontend/src/openapi/models/featureStrategySchema.ts +++ b/frontend/src/openapi/models/featureStrategySchema.ts @@ -11,7 +11,7 @@ import type { StrategyVariantSchema } from './strategyVariantSchema'; * A single activation strategy configuration schema for a feature */ export interface FeatureStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** * A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs diff --git a/frontend/src/openapi/models/featureTagSchema.ts b/frontend/src/openapi/models/featureTagSchema.ts index f68f5736de..3f87ee246e 100644 --- a/frontend/src/openapi/models/featureTagSchema.ts +++ b/frontend/src/openapi/models/featureTagSchema.ts @@ -15,12 +15,12 @@ export interface FeatureTagSchema { createdByUserId?: number | null; /** The name of the feature this tag is applied to */ featureName: string; - /** The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag */ + /** The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag */ tagType?: string; /** The value of the tag */ tagValue: string; /** - * The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property. + * The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property. * @deprecated */ type?: string; diff --git a/frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts b/frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts new file mode 100644 index 0000000000..84c92ff3f7 --- /dev/null +++ b/frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { FrontendApiFeaturesPostSchemaContext } from './frontendApiFeaturesPostSchemaContext'; + +/** + * The Unleash frontend API POST request body. + */ +export interface FrontendApiFeaturesPostSchema { + /** The Unleash context. */ + context?: FrontendApiFeaturesPostSchemaContext; + [key: string]: unknown; +} diff --git a/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContext.ts b/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContext.ts new file mode 100644 index 0000000000..266ce7f62a --- /dev/null +++ b/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContext.ts @@ -0,0 +1,33 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { FrontendApiFeaturesPostSchemaContextProperties } from './frontendApiFeaturesPostSchemaContextProperties'; + +/** + * The Unleash context. + */ +export type FrontendApiFeaturesPostSchemaContext = { + /** + * The name of the application. + * @minLength 1 + */ + appName?: string; + /** A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user. */ + currentTime?: string; + /** + * The environment the app is running in. + * @deprecated + */ + environment?: string; + /** Additional Unleash context properties */ + properties?: FrontendApiFeaturesPostSchemaContextProperties; + /** The app's IP address */ + remoteAddress?: string; + /** An identifier for the current session */ + sessionId?: string; + /** An identifier for the current user */ + userId?: string; + [key: string]: unknown; +}; diff --git a/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContextProperties.ts b/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContextProperties.ts new file mode 100644 index 0000000000..da0d29b099 --- /dev/null +++ b/frontend/src/openapi/models/frontendApiFeaturesPostSchemaContextProperties.ts @@ -0,0 +1,12 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Additional Unleash context properties + */ +export type FrontendApiFeaturesPostSchemaContextProperties = { + [key: string]: string; +}; diff --git a/frontend/src/openapi/models/getConnectionsForPeriodGrouping.ts b/frontend/src/openapi/models/getConnectionsForPeriodGrouping.ts new file mode 100644 index 0000000000..1ae0d048a9 --- /dev/null +++ b/frontend/src/openapi/models/getConnectionsForPeriodGrouping.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetConnectionsForPeriodGrouping = + (typeof GetConnectionsForPeriodGrouping)[keyof typeof GetConnectionsForPeriodGrouping]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const GetConnectionsForPeriodGrouping = { + daily: 'daily', + monthly: 'monthly', +} as const; diff --git a/frontend/src/openapi/models/getConnectionsForPeriodParams.ts b/frontend/src/openapi/models/getConnectionsForPeriodParams.ts new file mode 100644 index 0000000000..35d8ba319c --- /dev/null +++ b/frontend/src/openapi/models/getConnectionsForPeriodParams.ts @@ -0,0 +1,21 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { GetConnectionsForPeriodGrouping } from './getConnectionsForPeriodGrouping'; + +export type GetConnectionsForPeriodParams = { + /** + * Whether to aggregate the data by month or by day + */ + grouping: GetConnectionsForPeriodGrouping; + /** + * The starting date of the traffic data usage search in IS:yyyy-MM-dd format + */ + from: string; + /** + * The starting date of the traffic data usage search in IS:yyyy-MM-dd format + */ + to: string; +}; diff --git a/frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts new file mode 100644 index 0000000000..ffb50e2a55 --- /dev/null +++ b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetFrontendApiFeaturesWithPost401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts new file mode 100644 index 0000000000..e23278930f --- /dev/null +++ b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetFrontendApiFeaturesWithPost404 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/getTrafficDataUsageForPeriodGrouping.ts b/frontend/src/openapi/models/getTrafficDataUsageForPeriodGrouping.ts new file mode 100644 index 0000000000..211b19bc11 --- /dev/null +++ b/frontend/src/openapi/models/getTrafficDataUsageForPeriodGrouping.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetTrafficDataUsageForPeriodGrouping = + (typeof GetTrafficDataUsageForPeriodGrouping)[keyof typeof GetTrafficDataUsageForPeriodGrouping]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const GetTrafficDataUsageForPeriodGrouping = { + daily: 'daily', + monthly: 'monthly', +} as const; diff --git a/frontend/src/openapi/models/getTrafficDataUsageForPeriodParams.ts b/frontend/src/openapi/models/getTrafficDataUsageForPeriodParams.ts new file mode 100644 index 0000000000..c60943bf9c --- /dev/null +++ b/frontend/src/openapi/models/getTrafficDataUsageForPeriodParams.ts @@ -0,0 +1,21 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { GetTrafficDataUsageForPeriodGrouping } from './getTrafficDataUsageForPeriodGrouping'; + +export type GetTrafficDataUsageForPeriodParams = { + /** + * Whether to aggregate the data by month or by day + */ + grouping: GetTrafficDataUsageForPeriodGrouping; + /** + * The starting date of the traffic data usage search in IS:yyyy-MM-dd format + */ + from: string; + /** + * The starting date of the traffic data usage search in IS:yyyy-MM-dd format + */ + to: string; +}; diff --git a/frontend/src/openapi/models/healthOverviewSchema.ts b/frontend/src/openapi/models/healthOverviewSchema.ts index cbee4b31bc..d15c531e39 100644 --- a/frontend/src/openapi/models/healthOverviewSchema.ts +++ b/frontend/src/openapi/models/healthOverviewSchema.ts @@ -37,7 +37,7 @@ export interface HealthOverviewSchema { featureNaming?: CreateFeatureNamingPatternSchema; /** An array containing an overview of all the features of the project and their individual status */ features: FeatureSchema[]; - /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */ + /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */ health: number; /** * The number of users/members in the project. diff --git a/frontend/src/openapi/models/healthReportSchema.ts b/frontend/src/openapi/models/healthReportSchema.ts index f41273dd50..e0a3609fc7 100644 --- a/frontend/src/openapi/models/healthReportSchema.ts +++ b/frontend/src/openapi/models/healthReportSchema.ts @@ -39,7 +39,7 @@ export interface HealthReportSchema { featureNaming?: CreateFeatureNamingPatternSchema; /** An array containing an overview of all the features of the project and their individual status */ features: FeatureSchema[]; - /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */ + /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */ health: number; /** * The number of users/members in the project. diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index bbd126f33a..0547dc3f8c 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -100,10 +100,6 @@ export * from './advancedPlaygroundRequestSchema'; export * from './advancedPlaygroundRequestSchemaProjects'; export * from './advancedPlaygroundResponseSchema'; export * from './advancedPlaygroundResponseSchemaWarnings'; -export * from './aiChatMessageSchema'; -export * from './aiChatMessageSchemaRole'; -export * from './aiChatNewMessageSchema'; -export * from './aiChatSchema'; export * from './apiTokenSchema'; export * from './apiTokenSchemaType'; export * from './apiTokensSchema'; @@ -126,6 +122,8 @@ export * from './archiveFeatures415'; export * from './archiveProject400'; export * from './archiveProject401'; export * from './archiveProject403'; +export * from './archiveReleasePlanTemplate401'; +export * from './archiveReleasePlanTemplate403'; export * from './archivedFeatureSchema'; export * from './archivedFeatureSchemaEnvironmentsItem'; export * from './archivedFeaturesSchema'; @@ -189,6 +187,14 @@ export * from './changeRequestCreateFeatureSchemaOneOfOnethreePayload'; export * from './changeRequestCreateFeatureSchemaOneOfPayload'; export * from './changeRequestCreateFeatureSchemaOneOfSix'; export * from './changeRequestCreateFeatureSchemaOneOfSixAction'; +export * from './changeRequestCreateFeatureSchemaOneOfTwofour'; +export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction'; +export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload'; +export * from './changeRequestCreateFeatureSchemaOneOfTwoseven'; +export * from './changeRequestCreateFeatureSchemaOneOfTwosevenAction'; +export * from './changeRequestCreateFeatureSchemaOneOfTwosevenPayload'; +export * from './changeRequestCreateFeatureSchemaOneOfTwotwo'; +export * from './changeRequestCreateFeatureSchemaOneOfTwotwoAction'; export * from './changeRequestCreateFeatureSchemaOneOfTwozero'; export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction'; export * from './changeRequestCreateSchema'; @@ -212,10 +218,18 @@ export * from './changeRequestCreateSchemaOneOfSixPayload'; export * from './changeRequestCreateSchemaOneOfThree'; export * from './changeRequestCreateSchemaOneOfThreeAction'; export * from './changeRequestCreateSchemaOneOfThreePayload'; +export * from './changeRequestCreateSchemaOneOfThreetwo'; +export * from './changeRequestCreateSchemaOneOfThreetwoAction'; +export * from './changeRequestCreateSchemaOneOfThreetwoPayload'; export * from './changeRequestCreateSchemaOneOfTwofive'; export * from './changeRequestCreateSchemaOneOfTwofiveAction'; +export * from './changeRequestCreateSchemaOneOfTwonine'; +export * from './changeRequestCreateSchemaOneOfTwonineAction'; +export * from './changeRequestCreateSchemaOneOfTwoninePayload'; export * from './changeRequestCreateSchemaOneOfTwoone'; export * from './changeRequestCreateSchemaOneOfTwooneAction'; +export * from './changeRequestCreateSchemaOneOfTwoseven'; +export * from './changeRequestCreateSchemaOneOfTwosevenAction'; export * from './changeRequestCreateSchemaOneOfTwothree'; export * from './changeRequestCreateSchemaOneOfTwothreeAction'; export * from './changeRequestCreateSegmentSchema'; @@ -249,10 +263,18 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfThree'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload'; +export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo'; +export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction'; +export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwofive'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction'; +export * from './changeRequestOneOrManyCreateSchemaOneOfTwonine'; +export * from './changeRequestOneOrManyCreateSchemaOneOfTwonineAction'; +export * from './changeRequestOneOrManyCreateSchemaOneOfTwoninePayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction'; +export * from './changeRequestOneOrManyCreateSchemaOneOfTwoseven'; +export * from './changeRequestOneOrManyCreateSchemaOneOfTwosevenAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwothree'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwothreeAction'; export * from './changeRequestPlaygroundRequestSchema'; @@ -311,6 +333,18 @@ export * from './clientBulkMetrics400'; export * from './clientBulkMetrics413'; export * from './clientBulkMetrics415'; export * from './clientFeatureSchema'; +export * from './clientFeaturesDeltaSchema'; +export * from './clientFeaturesDeltaSchemaEventsItem'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOf'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfFive'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfFiveType'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfNine'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfNineType'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfSeven'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfSevenType'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfThree'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfThreeType'; +export * from './clientFeaturesDeltaSchemaEventsItemAnyOfType'; export * from './clientFeaturesQuerySchema'; export * from './clientFeaturesSchema'; export * from './clientMetricsEnvSchema'; @@ -331,6 +365,8 @@ export * from './cloneFeatureSchema'; export * from './complete401'; export * from './complete403'; export * from './complete404'; +export * from './connect401'; +export * from './connect403'; export * from './constraintSchema'; export * from './constraintSchemaOperator'; export * from './contextFieldSchema'; @@ -410,6 +446,7 @@ export * from './createPublicSignupToken403'; export * from './createReleasePlanMilestoneSchema'; export * from './createReleasePlanMilestoneStrategySchema'; export * from './createReleasePlanTemplate401'; +export * from './createReleasePlanTemplate409'; export * from './createReleasePlanTemplateSchema'; export * from './createRole400'; export * from './createRole401'; @@ -516,6 +553,10 @@ export * from './deleteRole400'; export * from './deleteRole401'; export * from './deleteRole403'; export * from './deleteRole404'; +export * from './deleteScimGroups401'; +export * from './deleteScimGroups403'; +export * from './deleteScimUsers401'; +export * from './deleteScimUsers403'; export * from './deleteServiceAccount401'; export * from './deleteServiceAccount403'; export * from './deleteServiceAccount404'; @@ -539,9 +580,22 @@ export * from './deprecatedSearchEventsSchemaType'; export * from './disableBanner401'; export * from './disableBanner403'; export * from './disableBanner404'; +export * from './disconnectAll401'; +export * from './disconnectAll403'; export * from './doraFeaturesSchema'; +export * from './edgeEndpointTrafficSchema'; +export * from './edgeInstanceDataSchema'; +export * from './edgeInstanceTrafficSchema'; +export * from './edgeInstanceTrafficSchemaAccessDenied'; +export * from './edgeInstanceTrafficSchemaCachedResponses'; +export * from './edgeInstanceTrafficSchemaGet'; +export * from './edgeInstanceTrafficSchemaPost'; +export * from './edgeLatencyMetricsSchema'; +export * from './edgeProcessMetricsSchema'; +export * from './edgeRequestStatsSchema'; export * from './edgeTokenSchema'; export * from './edgeTokenSchemaType'; +export * from './edgeUpstreamLatencySchema'; export * from './editChange404'; export * from './emailSchema'; export * from './enableBanner401'; @@ -614,6 +668,9 @@ export * from './frontendApiFeatureSchema'; export * from './frontendApiFeatureSchemaVariant'; export * from './frontendApiFeatureSchemaVariantPayload'; export * from './frontendApiFeatureSchemaVariantPayloadType'; +export * from './frontendApiFeaturesPostSchema'; +export * from './frontendApiFeaturesPostSchemaContext'; +export * from './frontendApiFeaturesPostSchemaContextProperties'; export * from './frontendApiFeaturesSchema'; export * from './generateNewToken401'; export * from './generateNewToken403'; @@ -650,6 +707,8 @@ export * from './getChangeRequest404'; export * from './getChangeRequestPlayground400'; export * from './getChangeRequestPlayground401'; export * from './getChangeRequestPlayground404'; +export * from './getConnectionsForPeriodGrouping'; +export * from './getConnectionsForPeriodParams'; export * from './getDeprecatedProjectOverview401'; export * from './getDeprecatedProjectOverview403'; export * from './getDeprecatedProjectOverview404'; @@ -689,6 +748,8 @@ export * from './getFeatureVariants404'; export * from './getFeatures400'; export * from './getFeatures401'; export * from './getFeatures403'; +export * from './getFrontendApiFeaturesWithPost401'; +export * from './getFrontendApiFeaturesWithPost404'; export * from './getFrontendFeatures401'; export * from './getFrontendFeatures404'; export * from './getGroup400'; @@ -803,6 +864,8 @@ export * from './getTags401'; export * from './getTags403'; export * from './getTagsByType401'; export * from './getTagsByType403'; +export * from './getTrafficDataUsageForPeriodGrouping'; +export * from './getTrafficDataUsageForPeriodParams'; export * from './getUser400'; export * from './getUser401'; export * from './getUser404'; @@ -857,6 +920,7 @@ export * from './invoicesSchema'; export * from './invoicesSchemaItem'; export * from './legalValueSchema'; export * from './licenseCheckSchema'; +export * from './licenseCheckSchemaMessageType'; export * from './licenseReadSchema'; export * from './licenseUpdateSchema'; export * from './licensedUserSchema'; @@ -879,6 +943,11 @@ export * from './maintenanceSchema'; export * from './markNotificationsAsReadSchema'; export * from './meSchema'; export * from './meSchemaSplash'; +export * from './meteredConnectionsSchema'; +export * from './meteredConnectionsSchemaApiDataItem'; +export * from './meteredConnectionsSchemaApiDataItemDataPointsItem'; +export * from './meteredConnectionsSchemaDateRange'; +export * from './meteredConnectionsSchemaGrouping'; export * from './nameSchema'; export * from './notificationsSchema'; export * from './notificationsSchemaItem'; @@ -894,8 +963,6 @@ export * from './oidcSettingsSchemaOneOfFour'; export * from './oidcSettingsSchemaOneOfFourDefaultRootRole'; export * from './oidcSettingsSchemaOneOfFourIdTokenSigningAlgorithm'; export * from './oidcSettingsSchemaOneOfIdTokenSigningAlgorithm'; -export * from './orderEnvironmentsSchema'; -export * from './orderEnvironmentsSchemaEnvironmentsItem'; export * from './outdatedSdksSchema'; export * from './outdatedSdksSchemaSdksItem'; export * from './overrideSchema'; @@ -1164,6 +1231,7 @@ export * from './sendResetPasswordEmail404'; export * from './sendResetPasswordEmail415'; export * from './serviceAccountSchema'; export * from './serviceAccountsSchema'; +export * from './setCorsSchema'; export * from './setOidcSettings400'; export * from './setOidcSettings401'; export * from './setOidcSettings403'; @@ -1260,6 +1328,9 @@ export * from './tokenUserSchema'; export * from './trafficUsageApiDataSchema'; export * from './trafficUsageApiDataSchemaDaysItem'; export * from './trafficUsageApiDataSchemaDaysItemTrafficTypesItem'; +export * from './trafficUsageApiMonthlyDataSchema'; +export * from './trafficUsageApiMonthlyDataSchemaMonthsItem'; +export * from './trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem'; export * from './trafficUsageDataSegmentedCombinedSchema'; export * from './trafficUsageDataSegmentedCombinedSchemaApiDataItem'; export * from './trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItem'; @@ -1359,6 +1430,7 @@ export * from './updateReleasePlanMilestoneSchema'; export * from './updateReleasePlanMilestoneStrategySchema'; export * from './updateReleasePlanTemplate401'; export * from './updateReleasePlanTemplate403'; +export * from './updateReleasePlanTemplate409'; export * from './updateReleasePlanTemplateMilestone401'; export * from './updateReleasePlanTemplateMilestone403'; export * from './updateReleasePlanTemplateMilestone404'; diff --git a/frontend/src/openapi/models/licenseCheckSchema.ts b/frontend/src/openapi/models/licenseCheckSchema.ts index 21ab492298..c0827e6100 100644 --- a/frontend/src/openapi/models/licenseCheckSchema.ts +++ b/frontend/src/openapi/models/licenseCheckSchema.ts @@ -3,6 +3,7 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { LicenseCheckSchemaMessageType } from './licenseCheckSchemaMessageType'; /** * A model representing a license check response. @@ -12,4 +13,6 @@ export interface LicenseCheckSchema { isValid: boolean; /** Message describing the current state of the Unleash license */ message?: string; + /** Type of messages, whether it is an informative or a warning */ + messageType?: LicenseCheckSchemaMessageType; } diff --git a/frontend/src/openapi/models/licenseCheckSchemaMessageType.ts b/frontend/src/openapi/models/licenseCheckSchemaMessageType.ts new file mode 100644 index 0000000000..6a853eb463 --- /dev/null +++ b/frontend/src/openapi/models/licenseCheckSchemaMessageType.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Type of messages, whether it is an informative or a warning + */ +export type LicenseCheckSchemaMessageType = + (typeof LicenseCheckSchemaMessageType)[keyof typeof LicenseCheckSchemaMessageType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const LicenseCheckSchemaMessageType = { + info: 'info', + warning: 'warning', + error: 'error', +} as const; diff --git a/frontend/src/openapi/models/licenseReadSchema.ts b/frontend/src/openapi/models/licenseReadSchema.ts index 03eb0ad925..5a5d68e2aa 100644 --- a/frontend/src/openapi/models/licenseReadSchema.ts +++ b/frontend/src/openapi/models/licenseReadSchema.ts @@ -12,10 +12,20 @@ export interface LicenseReadSchema { customer?: string; /** Date when the license expires. */ expireAt?: string; + /** Identifier of the Unleash instance where this license is valid. */ + instanceId?: string; + /** Name of the Unleash instance where this license is valid. */ + instanceName?: string; + /** Date when the license was issued. */ + issuedAt?: string; + /** Whether the license is valid or not. */ + isValid?: boolean; /** Name of plan that the license is for. */ - plan?: string; + plan: string; /** Number of seats in the license. */ - seats?: number; + seats: number; /** The actual license token. */ token: string; + /** Type of license. */ + type: string; } diff --git a/frontend/src/openapi/models/meteredConnectionsSchema.ts b/frontend/src/openapi/models/meteredConnectionsSchema.ts new file mode 100644 index 0000000000..bfc9499113 --- /dev/null +++ b/frontend/src/openapi/models/meteredConnectionsSchema.ts @@ -0,0 +1,20 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { MeteredConnectionsSchemaApiDataItem } from './meteredConnectionsSchemaApiDataItem'; +import type { MeteredConnectionsSchemaDateRange } from './meteredConnectionsSchemaDateRange'; +import type { MeteredConnectionsSchemaGrouping } from './meteredConnectionsSchemaGrouping'; + +/** + * Contains the recorded metered groups connections segmented by day/month + */ +export interface MeteredConnectionsSchema { + /** Contains the recorded daily/monthly connections for each metered group */ + apiData: MeteredConnectionsSchemaApiDataItem[]; + /** The date range there is data for. The range is inclusive and goes from the start of the `from` date to the end of the `to` date */ + dateRange: MeteredConnectionsSchemaDateRange; + /** Whether the data is aggregated by month or by day. */ + grouping: MeteredConnectionsSchemaGrouping; +} diff --git a/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItem.ts b/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItem.ts new file mode 100644 index 0000000000..00105c9bbd --- /dev/null +++ b/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItem.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { MeteredConnectionsSchemaApiDataItemDataPointsItem } from './meteredConnectionsSchemaApiDataItemDataPointsItem'; + +export type MeteredConnectionsSchemaApiDataItem = { + /** The recorded data points for the metered group */ + dataPoints: MeteredConnectionsSchemaApiDataItemDataPointsItem[]; + /** The metered group representing charging unit in the organization using Unleash */ + meteredGroup: string; +}; diff --git a/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItemDataPointsItem.ts b/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItemDataPointsItem.ts new file mode 100644 index 0000000000..7de783f539 --- /dev/null +++ b/frontend/src/openapi/models/meteredConnectionsSchemaApiDataItemDataPointsItem.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type MeteredConnectionsSchemaApiDataItemDataPointsItem = { + /** + * Number of connections. 1 connection = 7200 backend SDK requests per day + * @minimum 0 + */ + connections: number; + /** + * The date of the data point. Formatted as a full date (e.g. 2023-04-01) if the data is aggregated by day or as a month (e.g. 2023-04) if the data is aggregated by month. + * @pattern ^\d{4}-\d{2}(-\d{2})?$ + */ + period: string; +}; diff --git a/frontend/src/openapi/models/meteredConnectionsSchemaDateRange.ts b/frontend/src/openapi/models/meteredConnectionsSchemaDateRange.ts new file mode 100644 index 0000000000..73456fd269 --- /dev/null +++ b/frontend/src/openapi/models/meteredConnectionsSchemaDateRange.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The date range there is data for. The range is inclusive and goes from the start of the `from` date to the end of the `to` date + */ +export type MeteredConnectionsSchemaDateRange = { + /** The start of the dateRange */ + from: string; + /** The end of the dateRange */ + to: string; +}; diff --git a/frontend/src/openapi/models/meteredConnectionsSchemaGrouping.ts b/frontend/src/openapi/models/meteredConnectionsSchemaGrouping.ts new file mode 100644 index 0000000000..edfdb88db9 --- /dev/null +++ b/frontend/src/openapi/models/meteredConnectionsSchemaGrouping.ts @@ -0,0 +1,17 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Whether the data is aggregated by month or by day. + */ +export type MeteredConnectionsSchemaGrouping = + (typeof MeteredConnectionsSchemaGrouping)[keyof typeof MeteredConnectionsSchemaGrouping]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const MeteredConnectionsSchemaGrouping = { + monthly: 'monthly', + daily: 'daily', +} as const; diff --git a/frontend/src/openapi/models/orderEnvironmentsSchema.ts b/frontend/src/openapi/models/orderEnvironmentsSchema.ts deleted file mode 100644 index e7eb59195b..0000000000 --- a/frontend/src/openapi/models/orderEnvironmentsSchema.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ -import type { OrderEnvironmentsSchemaEnvironmentsItem } from './orderEnvironmentsSchemaEnvironmentsItem'; - -/** - * A request for hosted customers to order new environments in Unleash. - */ -export interface OrderEnvironmentsSchema { - /** An array of environments to be ordered, each with a name and type. */ - environments: OrderEnvironmentsSchemaEnvironmentsItem[]; -} diff --git a/frontend/src/openapi/models/orderEnvironmentsSchemaEnvironmentsItem.ts b/frontend/src/openapi/models/orderEnvironmentsSchemaEnvironmentsItem.ts deleted file mode 100644 index 94d06e6e4f..0000000000 --- a/frontend/src/openapi/models/orderEnvironmentsSchemaEnvironmentsItem.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type OrderEnvironmentsSchemaEnvironmentsItem = { - /** The name of the environment. */ - name: string; - /** The type of the environment. */ - type: string; -}; diff --git a/frontend/src/openapi/models/patSchema.ts b/frontend/src/openapi/models/patSchema.ts index f495147034..a23635e5b3 100644 --- a/frontend/src/openapi/models/patSchema.ts +++ b/frontend/src/openapi/models/patSchema.ts @@ -5,7 +5,7 @@ */ /** - * Describes a [personal access token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user. + * Describes a [personal access token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user. */ export interface PatSchema { /** The date and time of when the PAT was created. */ diff --git a/frontend/src/openapi/models/patsSchema.ts b/frontend/src/openapi/models/patsSchema.ts index d5d5b03b70..cf434b83eb 100644 --- a/frontend/src/openapi/models/patsSchema.ts +++ b/frontend/src/openapi/models/patsSchema.ts @@ -6,7 +6,7 @@ import type { PatSchema } from './patSchema'; /** - * Contains a collection of [personal access tokens](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens), or PATs. PATs are automatically scoped to the authenticated user. + * Contains a collection of [personal access tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys#personal-access-tokens), or PATs. PATs are automatically scoped to the authenticated user. */ export interface PatsSchema { /** A collection of PATs. */ diff --git a/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts b/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts index aa2ecbd6d3..9a70559af0 100644 --- a/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts +++ b/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts @@ -11,7 +11,7 @@ export type PersonalDashboardSchemaProjectsItem = { */ featureCount: number; /** - * An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 + * An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 * @minimum 0 */ health: number; diff --git a/frontend/src/openapi/models/playgroundConstraintSchema.ts b/frontend/src/openapi/models/playgroundConstraintSchema.ts index feb11be6ee..0d4004c1a7 100644 --- a/frontend/src/openapi/models/playgroundConstraintSchema.ts +++ b/frontend/src/openapi/models/playgroundConstraintSchema.ts @@ -6,7 +6,7 @@ import type { PlaygroundConstraintSchemaOperator } from './playgroundConstraintSchemaOperator'; /** - * A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-constraints) + * A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/activation-strategies#constraints) */ export interface PlaygroundConstraintSchema { /** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ @@ -15,7 +15,7 @@ export interface PlaygroundConstraintSchema { contextName: string; /** Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa. */ inverted?: boolean; - /** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators). */ + /** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators). */ operator: PlaygroundConstraintSchemaOperator; /** Whether this was evaluated as true or false. */ result: boolean; diff --git a/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts b/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts index 1cf1d51844..2ff3ca2b34 100644 --- a/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts +++ b/frontend/src/openapi/models/playgroundConstraintSchemaOperator.ts @@ -5,7 +5,7 @@ */ /** - * The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators). + * The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators). */ export type PlaygroundConstraintSchemaOperator = (typeof PlaygroundConstraintSchemaOperator)[keyof typeof PlaygroundConstraintSchemaOperator]; diff --git a/frontend/src/openapi/models/playgroundRequestSchema.ts b/frontend/src/openapi/models/playgroundRequestSchema.ts index 80efbf47f4..e2e14c2127 100644 --- a/frontend/src/openapi/models/playgroundRequestSchema.ts +++ b/frontend/src/openapi/models/playgroundRequestSchema.ts @@ -7,12 +7,12 @@ import type { SdkContextSchema } from './sdkContextSchema'; import type { PlaygroundRequestSchemaProjects } from './playgroundRequestSchemaProjects'; /** - * Data for the playground API to evaluate toggles + * Data for the playground API to evaluate feature flags */ export interface PlaygroundRequestSchema { context: SdkContextSchema; - /** The environment to evaluate toggles in. */ + /** The environment to evaluate feature flags in. */ environment: string; - /** A list of projects to check for toggles in. */ + /** A list of projects to check for feature flags in. */ projects?: PlaygroundRequestSchemaProjects; } diff --git a/frontend/src/openapi/models/playgroundRequestSchemaProjects.ts b/frontend/src/openapi/models/playgroundRequestSchemaProjects.ts index 58158f51c3..cdd1c046d5 100644 --- a/frontend/src/openapi/models/playgroundRequestSchemaProjects.ts +++ b/frontend/src/openapi/models/playgroundRequestSchemaProjects.ts @@ -5,6 +5,6 @@ */ /** - * A list of projects to check for toggles in. + * A list of projects to check for feature flags in. */ export type PlaygroundRequestSchemaProjects = string[] | '*'; diff --git a/frontend/src/openapi/models/projectInsightsSchemaHealth.ts b/frontend/src/openapi/models/projectInsightsSchemaHealth.ts index fda644b211..3af8c50b89 100644 --- a/frontend/src/openapi/models/projectInsightsSchemaHealth.ts +++ b/frontend/src/openapi/models/projectInsightsSchemaHealth.ts @@ -12,7 +12,7 @@ export type ProjectInsightsSchemaHealth = { activeCount: number; /** The number of potentially stale feature flags. */ potentiallyStaleCount: number; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */ rating: number; /** The number of stale feature flags. */ staleCount: number; diff --git a/frontend/src/openapi/models/projectOverviewSchema.ts b/frontend/src/openapi/models/projectOverviewSchema.ts index 67a4988d8c..6dacb31f93 100644 --- a/frontend/src/openapi/models/projectOverviewSchema.ts +++ b/frontend/src/openapi/models/projectOverviewSchema.ts @@ -43,7 +43,7 @@ export interface ProjectOverviewSchema { featureNaming?: CreateFeatureNamingPatternSchema; /** The number of features of each type that are in this project */ featureTypeCounts?: FeatureTypeCountSchema[]; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */ health?: number; /** The number of members this project has */ members?: number; diff --git a/frontend/src/openapi/models/projectSchema.ts b/frontend/src/openapi/models/projectSchema.ts index 979c0576e2..faeecf5d3d 100644 --- a/frontend/src/openapi/models/projectSchema.ts +++ b/frontend/src/openapi/models/projectSchema.ts @@ -37,7 +37,7 @@ export interface ProjectSchema { favorite?: boolean; /** The number of features this project has */ featureCount?: number; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */ health?: number; /** The id of this project */ id: string; diff --git a/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts index f9dbf1bca4..ca0a771709 100644 --- a/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts @@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema' * Schema representing the creation of a release plan milestone strategy. */ export interface ReleasePlanMilestoneStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** * The milestone strategy's ID. Milestone strategy IDs are ulids. diff --git a/frontend/src/openapi/models/releasePlanTemplateSchema.ts b/frontend/src/openapi/models/releasePlanTemplateSchema.ts index 67e7a31ab1..70b843738c 100644 --- a/frontend/src/openapi/models/releasePlanTemplateSchema.ts +++ b/frontend/src/openapi/models/releasePlanTemplateSchema.ts @@ -10,6 +10,11 @@ import type { ReleasePlanMilestoneSchema } from './releasePlanMilestoneSchema'; * Schema representing the creation of a release template. */ export interface ReleasePlanTemplateSchema { + /** + * The date and time that the release template was archived. + * @nullable + */ + archivedAt?: string | null; /** * The date and time that the release template was created. */ diff --git a/frontend/src/openapi/models/setCorsSchema.ts b/frontend/src/openapi/models/setCorsSchema.ts new file mode 100644 index 0000000000..b1963bff7b --- /dev/null +++ b/frontend/src/openapi/models/setCorsSchema.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Unleash CORS configuration. + */ +export interface SetCorsSchema { + /** The list of origins that the front-end API should accept requests from. */ + frontendApiOrigins?: string[]; +} diff --git a/frontend/src/openapi/models/tagSchema.ts b/frontend/src/openapi/models/tagSchema.ts index 3dee083a03..397d19c557 100644 --- a/frontend/src/openapi/models/tagSchema.ts +++ b/frontend/src/openapi/models/tagSchema.ts @@ -5,11 +5,11 @@ */ /** - * Representation of a [tag](https://docs.getunleash.io/reference/tags) + * Representation of a [tag](https://docs.getunleash.io/reference/feature-toggles#tags) */ export interface TagSchema { /** - * The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag + * The [type](https://docs.getunleash.io/reference/feature-toggles#tags) of the tag * @minLength 2 * @maxLength 50 */ diff --git a/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts new file mode 100644 index 0000000000..237f6bed65 --- /dev/null +++ b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TrafficUsageApiMonthlyDataSchemaMonthsItem } from './trafficUsageApiMonthlyDataSchemaMonthsItem'; + +/** + * Contains the recorded data usage for each API path, segmented by month and type of traffic + */ +export interface TrafficUsageApiMonthlyDataSchema { + /** The path of the API that the recorded data usage is for */ + apiPath: string; + /** An array containing each month in the selected range that has data usage recorded */ + months: TrafficUsageApiMonthlyDataSchemaMonthsItem[]; +} diff --git a/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItem.ts b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItem.ts new file mode 100644 index 0000000000..fb79a41c8e --- /dev/null +++ b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItem.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TrafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem } from './trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem'; + +export type TrafficUsageApiMonthlyDataSchemaMonthsItem = { + /** + * The month this data usage is recorded for + * @pattern ^[0-9]{4}-[0-9]{2}$ + */ + month: string; + /** Contains the recorded data usage for each type of traffic group */ + trafficTypes: TrafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem[]; +}; diff --git a/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem.ts b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem.ts new file mode 100644 index 0000000000..efb362c4c4 --- /dev/null +++ b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem.ts @@ -0,0 +1,12 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type TrafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem = { + /** The number of requests */ + count: number; + /** The traffic group */ + group: string; +}; diff --git a/frontend/src/openapi/models/uiConfigSchema.ts b/frontend/src/openapi/models/uiConfigSchema.ts index 31eeb7254e..d8788a38bb 100644 --- a/frontend/src/openapi/models/uiConfigSchema.ts +++ b/frontend/src/openapi/models/uiConfigSchema.ts @@ -40,10 +40,10 @@ export interface UiConfigSchema { maxSessionsCount?: number; /** The name of this Unleash instance. Used to build the text in the footer. */ name?: string; - /** Whether to enable the Unleash network view or not. */ - networkViewEnabled?: boolean; /** Whether the OIDC configuration is set through environment variables or not. */ oidcConfiguredThroughEnv?: boolean; + /** Whether a Prometheus API is available. */ + prometheusAPIAvailable?: boolean; /** A map of resource names and their limits. */ resourceLimits?: ResourceLimitsSchema; /** Whether the SAML configuration is set through environment variables or not. */ @@ -60,8 +60,6 @@ export interface UiConfigSchema { * @deprecated */ strategySegmentsLimit?: number; - /** Whether Unleash AI is available. */ - unleashAIAvailable?: boolean; /** The URL of the Unleash instance. */ unleashUrl: string; /** The current version of Unleash */ diff --git a/frontend/src/openapi/models/updateFeatureStrategySchema.ts b/frontend/src/openapi/models/updateFeatureStrategySchema.ts index 4f7d4b87c6..620af421f4 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySchema.ts @@ -10,7 +10,7 @@ import type { ParametersSchema } from './parametersSchema'; * Update a strategy configuration in a feature */ export interface UpdateFeatureStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** * A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs diff --git a/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts index 2122e1d2d1..ced0822e89 100644 --- a/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts @@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema' * Schema representing the update of a release plan milestone. */ export interface UpdateReleasePlanMilestoneStrategySchema { - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ constraints?: ConstraintSchema[]; /** The milestone strategy's ID. Milestone strategy IDs are ulids. */ id?: string; diff --git a/frontend/src/openapi/models/updateReleasePlanTemplate409.ts b/frontend/src/openapi/models/updateReleasePlanTemplate409.ts new file mode 100644 index 0000000000..58a0df4055 --- /dev/null +++ b/frontend/src/openapi/models/updateReleasePlanTemplate409.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateReleasePlanTemplate409 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/versionSchema.ts b/frontend/src/openapi/models/versionSchema.ts index afc2cd63d2..61ae697793 100644 --- a/frontend/src/openapi/models/versionSchema.ts +++ b/frontend/src/openapi/models/versionSchema.ts @@ -10,6 +10,11 @@ import type { VersionSchemaLatest } from './versionSchemaLatest'; * Detailed information about an Unleash version */ export interface VersionSchema { + /** + * The date and time of when this Unleash instance version was built + * @nullable + */ + buildDate?: string | null; /** The current version of Unleash. */ current: VersionSchemaCurrent; /** The instance identifier of the Unleash instance */