diff --git a/frontend/src/openapi/models/actionDefinitionParameterSchema.ts b/frontend/src/openapi/models/actionDefinitionParameterSchema.ts index 52a893fa06..78c3720e97 100644 --- a/frontend/src/openapi/models/actionDefinitionParameterSchema.ts +++ b/frontend/src/openapi/models/actionDefinitionParameterSchema.ts @@ -10,14 +10,14 @@ import type { ActionDefinitionParameterSchemaType } from './actionDefinitionPara * Defines a parameter for an action. */ export interface ActionDefinitionParameterSchema { - /** The label of the parameter. */ - label: string; /** The name of the parameter. */ name: ActionDefinitionParameterSchemaName; + /** The label of the parameter. */ + label: string; + /** The parameter type. */ + type: ActionDefinitionParameterSchemaType; /** Whether the parameter is optional. */ optional?: boolean; /** Lists of options to be used for the parameter. */ options?: string[]; - /** The parameter type. */ - type: ActionDefinitionParameterSchemaType; } diff --git a/frontend/src/openapi/models/actionDefinitionSchema.ts b/frontend/src/openapi/models/actionDefinitionSchema.ts index 720186cebe..16a1a6f2ff 100644 --- a/frontend/src/openapi/models/actionDefinitionSchema.ts +++ b/frontend/src/openapi/models/actionDefinitionSchema.ts @@ -9,14 +9,14 @@ import type { ActionDefinitionParameterSchema } from './actionDefinitionParamete * Configuration of a single action and its parameters. */ export interface ActionDefinitionSchema { - /** The category of the action. */ - category: string; - /** A description for the action. */ - description: string; /** The label of the action. */ label: string; - /** The parameters required to perform the action. */ - parameters: ActionDefinitionParameterSchema[]; + /** A description for the action. */ + description: string; + /** The category of the action. */ + category: string; /** The permissions required to perform the action. */ permissions: string[]; + /** The parameters required to perform the action. */ + parameters: ActionDefinitionParameterSchema[]; } diff --git a/frontend/src/openapi/models/actionDefinitionsConfigSchema.ts b/frontend/src/openapi/models/actionDefinitionsConfigSchema.ts index afbe9d51bc..cbd25a4794 100644 --- a/frontend/src/openapi/models/actionDefinitionsConfigSchema.ts +++ b/frontend/src/openapi/models/actionDefinitionsConfigSchema.ts @@ -9,8 +9,8 @@ import type { ActionDefinitionSchema } from './actionDefinitionSchema'; * Configuration of different actions and their parameters. */ export interface ActionDefinitionsConfigSchema { - TOGGLE_FEATURE_OFF?: ActionDefinitionSchema; TOGGLE_FEATURE_ON?: ActionDefinitionSchema; - TOGGLE_FEATURES_OFF_BY_TAG?: ActionDefinitionSchema; + TOGGLE_FEATURE_OFF?: ActionDefinitionSchema; TOGGLE_FEATURES_ON_BY_TAG?: ActionDefinitionSchema; + TOGGLE_FEATURES_OFF_BY_TAG?: ActionDefinitionSchema; } diff --git a/frontend/src/openapi/models/actionEventSchema.ts b/frontend/src/openapi/models/actionEventSchema.ts index 9732b8c7d9..1498b95502 100644 --- a/frontend/src/openapi/models/actionEventSchema.ts +++ b/frontend/src/openapi/models/actionEventSchema.ts @@ -10,29 +10,29 @@ import type { ActionEventSchemaState } from './actionEventSchemaState'; * An object describing an action event. */ export interface ActionEventSchema { - /** The name of the action to execute */ - action: string; - /** The date and time of when the action was created. */ - createdAt: string; - /** The id of user that created this action set */ - createdByUserId: number; - /** - * The details of the action event, if any. - * @nullable - */ - details?: string | null; - /** A map of parameters to pass to the action */ - executionParams?: ActionEventSchemaExecutionParams; /** * The id of the action set * @minimum 1 */ id: number; + /** The date and time of when the action was created. */ + createdAt: string; + /** The id of user that created this action set */ + createdByUserId: number; + /** The name of the action to execute */ + action: string; /** * The order in which the action should be executed * @minimum 1 */ sortOrder: number; + /** A map of parameters to pass to the action */ + executionParams?: ActionEventSchemaExecutionParams; /** The state of the action. Can be one of `not started`, `started`, `success`, or `failed`. */ state: ActionEventSchemaState; + /** + * The details of the action event, if any. + * @nullable + */ + details?: string | null; } diff --git a/frontend/src/openapi/models/actionSchema.ts b/frontend/src/openapi/models/actionSchema.ts index e6032b0fa7..e8c2db815b 100644 --- a/frontend/src/openapi/models/actionSchema.ts +++ b/frontend/src/openapi/models/actionSchema.ts @@ -9,22 +9,22 @@ import type { ActionSchemaExecutionParams } from './actionSchemaExecutionParams' * Represents a single action response */ export interface ActionSchema { - /** The name of the action to execute */ - action: string; - /** The date and time of when the action was created. */ - createdAt: string; - /** The id of user that created this action set */ - createdByUserId: number; - /** A map of parameters to pass to the action */ - executionParams?: ActionSchemaExecutionParams; /** * The id of the action set * @minimum 1 */ id: number; + /** The date and time of when the action was created. */ + createdAt: string; + /** The id of user that created this action set */ + createdByUserId: number; + /** The name of the action to execute */ + action: string; /** * The order in which the action should be executed * @minimum 1 */ sortOrder: number; + /** A map of parameters to pass to the action */ + executionParams?: ActionSchemaExecutionParams; } diff --git a/frontend/src/openapi/models/actionSetEventSchema.ts b/frontend/src/openapi/models/actionSetEventSchema.ts index 5783999087..d27d9497fd 100644 --- a/frontend/src/openapi/models/actionSetEventSchema.ts +++ b/frontend/src/openapi/models/actionSetEventSchema.ts @@ -3,29 +3,29 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ActionSetEventSchemaActionSet } from './actionSetEventSchemaActionSet'; -import type { SignalSchema } from './signalSchema'; import type { ActionSetEventSchemaState } from './actionSetEventSchemaState'; +import type { SignalSchema } from './signalSchema'; +import type { ActionSetEventSchemaActionSet } from './actionSetEventSchemaActionSet'; /** * An object describing an action event. */ export interface ActionSetEventSchema { - /** The action set this action set event belongs to, where the individual actions are decorated with the respective action states. */ - actionSet: ActionSetEventSchemaActionSet; - /** The ID of the action set that the action set event belongs to. */ - actionSetId: number; - /** The date and time of when the action set event was created. In other words, the date and time of when the action set started executing. */ - createdAt: string; /** * The action set event's ID. Action set event IDs are incrementing integers. In other words, a more recently created action set event will always have a higher ID than an older one. * @minimum 1 */ id: number; - /** The signal that triggered this action set event. */ - signal: SignalSchema; + /** The ID of the action set that the action set event belongs to. */ + actionSetId: number; /** The ID of the signal that triggered this action set event. */ signalId: number; + /** The date and time of when the action set event was created. In other words, the date and time of when the action set started executing. */ + createdAt: string; /** The state of the action set event. Can be one of `started`, `success`, or `failed`. */ state: ActionSetEventSchemaState; + /** The signal that triggered this action set event. */ + signal: SignalSchema; + /** The action set this action set event belongs to, where the individual actions are decorated with the respective action states. */ + actionSet: ActionSetEventSchemaActionSet; } diff --git a/frontend/src/openapi/models/actionSetEventSchemaActionSet.ts b/frontend/src/openapi/models/actionSetEventSchemaActionSet.ts index a6ef97b6bd..da25586310 100644 --- a/frontend/src/openapi/models/actionSetEventSchemaActionSet.ts +++ b/frontend/src/openapi/models/actionSetEventSchemaActionSet.ts @@ -10,33 +10,33 @@ import type { ActionSetEventSchemaActionSetMatch } from './actionSetEventSchemaA * The action set this action set event belongs to, where the individual actions are decorated with the respective action states. */ export type ActionSetEventSchemaActionSet = { - /** The list of actions executed in sequential order when the action set was triggered, decorated with the individual action states. */ - actions: ActionEventSchema[]; - /** - * The id of the service account that will execute the action - * @minimum 1 - */ - actorId: number; - /** The date and time of when the action set was created. */ - createdAt: string; - /** The ID of the user that created this action set. */ - createdByUserId: number; - /** - * The description of the action set - * @nullable - */ - description?: string | null; - /** Whether this action set is enabled or not */ - enabled?: boolean; /** * The ID of the action set. * @minimum 1 */ id: number; - /** Defines a matching rule for the signal that will trigger the action set */ - match: ActionSetEventSchemaActionSetMatch; - /** The name of the action set */ - name: string; /** The project that this action set belongs to. */ project: string; + /** The date and time of when the action set was created. */ + createdAt: string; + /** The ID of the user that created this action set. */ + createdByUserId: number; + /** The name of the action set */ + name: string; + /** + * The description of the action set + * @nullable + */ + description?: string | null; + /** + * The id of the service account that will execute the action + * @minimum 1 + */ + actorId: number; + /** Whether this action set is enabled or not */ + enabled?: boolean; + /** The list of actions executed in sequential order when the action set was triggered, decorated with the individual action states. */ + actions: ActionEventSchema[]; + /** Defines a matching rule for the signal that will trigger the action set */ + match: ActionSetEventSchemaActionSetMatch; }; diff --git a/frontend/src/openapi/models/actionSetEventSchemaActionSetMatch.ts b/frontend/src/openapi/models/actionSetEventSchemaActionSetMatch.ts index 4e62878642..337226fcdb 100644 --- a/frontend/src/openapi/models/actionSetEventSchemaActionSetMatch.ts +++ b/frontend/src/openapi/models/actionSetEventSchemaActionSetMatch.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ActionSetEventSchemaActionSetMatchPayload } from './actionSetEventSchemaActionSetMatchPayload'; import type { ActionSetEventSchemaActionSetMatchSource } from './actionSetEventSchemaActionSetMatchSource'; +import type { ActionSetEventSchemaActionSetMatchPayload } from './actionSetEventSchemaActionSetMatchPayload'; /** * Defines a matching rule for the signal that will trigger the action set */ export type ActionSetEventSchemaActionSetMatch = { - /** Match the payload of the signal */ - payload: ActionSetEventSchemaActionSetMatchPayload; /** Match the source of the signal */ source: ActionSetEventSchemaActionSetMatchSource; /** Match the source id of the signal */ sourceId: number; + /** Match the payload of the signal */ + payload: ActionSetEventSchemaActionSetMatchPayload; }; diff --git a/frontend/src/openapi/models/actionsSchema.ts b/frontend/src/openapi/models/actionsSchema.ts index 3bd2a4938a..ce30ff5e0b 100644 --- a/frontend/src/openapi/models/actionsSchema.ts +++ b/frontend/src/openapi/models/actionsSchema.ts @@ -10,33 +10,33 @@ import type { ActionsSchemaMatch } from './actionsSchemaMatch'; * A response model with an identifiable action set. */ export interface ActionsSchema { - /** The list of actions to execute in sequential order when the action set is triggered. */ - actions: ActionSchema[]; - /** - * The id of the service account that will execute the action - * @minimum 1 - */ - actorId: number; - /** The date and time of when the action set was created. */ - createdAt: string; - /** The ID of the user that created this action set. */ - createdByUserId: number; - /** - * The description of the action set - * @nullable - */ - description?: string | null; - /** Whether this action set is enabled or not */ - enabled?: boolean; /** * The ID of the action set. * @minimum 1 */ id: number; - /** Defines a matching rule for the signal that will trigger the action set */ - match: ActionsSchemaMatch; - /** The name of the action set */ - name: string; /** The project that this action set belongs to. */ project: string; + /** The date and time of when the action set was created. */ + createdAt: string; + /** The ID of the user that created this action set. */ + createdByUserId: number; + /** The name of the action set */ + name: string; + /** + * The description of the action set + * @nullable + */ + description?: string | null; + /** + * The id of the service account that will execute the action + * @minimum 1 + */ + actorId: number; + /** Whether this action set is enabled or not */ + enabled?: boolean; + /** The list of actions to execute in sequential order when the action set is triggered. */ + actions: ActionSchema[]; + /** Defines a matching rule for the signal that will trigger the action set */ + match: ActionsSchemaMatch; } diff --git a/frontend/src/openapi/models/actionsSchemaMatch.ts b/frontend/src/openapi/models/actionsSchemaMatch.ts index 65954154b9..dc4050fde3 100644 --- a/frontend/src/openapi/models/actionsSchemaMatch.ts +++ b/frontend/src/openapi/models/actionsSchemaMatch.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ActionsSchemaMatchPayload } from './actionsSchemaMatchPayload'; import type { ActionsSchemaMatchSource } from './actionsSchemaMatchSource'; +import type { ActionsSchemaMatchPayload } from './actionsSchemaMatchPayload'; /** * Defines a matching rule for the signal that will trigger the action set */ export type ActionsSchemaMatch = { - /** Match the payload of the signal */ - payload: ActionsSchemaMatchPayload; /** Match the source of the signal */ source: ActionsSchemaMatchSource; /** Match the source id of the signal */ sourceId: number; + /** Match the payload of the signal */ + payload: ActionsSchemaMatchPayload; }; diff --git a/frontend/src/openapi/models/addAccessToProject400.ts b/frontend/src/openapi/models/addAccessToProject400.ts index 2fe71abb70..3f50bf16a9 100644 --- a/frontend/src/openapi/models/addAccessToProject400.ts +++ b/frontend/src/openapi/models/addAccessToProject400.ts @@ -7,8 +7,8 @@ export type AddAccessToProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject401.ts b/frontend/src/openapi/models/addAccessToProject401.ts index 50e88718f2..71d1b5542a 100644 --- a/frontend/src/openapi/models/addAccessToProject401.ts +++ b/frontend/src/openapi/models/addAccessToProject401.ts @@ -7,8 +7,8 @@ export type AddAccessToProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject403.ts b/frontend/src/openapi/models/addAccessToProject403.ts index f7ce89727a..e7655b90cd 100644 --- a/frontend/src/openapi/models/addAccessToProject403.ts +++ b/frontend/src/openapi/models/addAccessToProject403.ts @@ -7,8 +7,8 @@ export type AddAccessToProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject404.ts b/frontend/src/openapi/models/addAccessToProject404.ts index 680efe99f0..52250779cc 100644 --- a/frontend/src/openapi/models/addAccessToProject404.ts +++ b/frontend/src/openapi/models/addAccessToProject404.ts @@ -7,8 +7,8 @@ export type AddAccessToProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject415.ts b/frontend/src/openapi/models/addAccessToProject415.ts index 2b8f18ca91..f88fc0ae11 100644 --- a/frontend/src/openapi/models/addAccessToProject415.ts +++ b/frontend/src/openapi/models/addAccessToProject415.ts @@ -7,8 +7,8 @@ export type AddAccessToProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts b/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts index 8a7c7aba4c..942dbf50dc 100644 --- a/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts +++ b/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts @@ -7,8 +7,8 @@ export type AddDefaultStrategyToProjectEnvironment400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject401.ts b/frontend/src/openapi/models/addEnvironmentToProject401.ts index d315b29bab..558167b414 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject401.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject401.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject403.ts b/frontend/src/openapi/models/addEnvironmentToProject403.ts index 5ce2876993..c869db70f0 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject403.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject403.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject409.ts b/frontend/src/openapi/models/addEnvironmentToProject409.ts index 06306394ef..02a2f40ad8 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject409.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject409.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteFeature401.ts b/frontend/src/openapi/models/addFavoriteFeature401.ts index 3ab69cbe30..0ede014869 100644 --- a/frontend/src/openapi/models/addFavoriteFeature401.ts +++ b/frontend/src/openapi/models/addFavoriteFeature401.ts @@ -7,8 +7,8 @@ export type AddFavoriteFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteFeature404.ts b/frontend/src/openapi/models/addFavoriteFeature404.ts index e63459b1d3..a964a776ef 100644 --- a/frontend/src/openapi/models/addFavoriteFeature404.ts +++ b/frontend/src/openapi/models/addFavoriteFeature404.ts @@ -7,8 +7,8 @@ export type AddFavoriteFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteProject401.ts b/frontend/src/openapi/models/addFavoriteProject401.ts index ddf684a323..403db5bc21 100644 --- a/frontend/src/openapi/models/addFavoriteProject401.ts +++ b/frontend/src/openapi/models/addFavoriteProject401.ts @@ -7,8 +7,8 @@ export type AddFavoriteProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteProject404.ts b/frontend/src/openapi/models/addFavoriteProject404.ts index 82c7527be7..add74fa582 100644 --- a/frontend/src/openapi/models/addFavoriteProject404.ts +++ b/frontend/src/openapi/models/addFavoriteProject404.ts @@ -7,8 +7,8 @@ export type AddFavoriteProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency401.ts b/frontend/src/openapi/models/addFeatureDependency401.ts index c49eca9745..7dd2c833c3 100644 --- a/frontend/src/openapi/models/addFeatureDependency401.ts +++ b/frontend/src/openapi/models/addFeatureDependency401.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency403.ts b/frontend/src/openapi/models/addFeatureDependency403.ts index a27953d22a..b4223b3b74 100644 --- a/frontend/src/openapi/models/addFeatureDependency403.ts +++ b/frontend/src/openapi/models/addFeatureDependency403.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency404.ts b/frontend/src/openapi/models/addFeatureDependency404.ts index 55c29d3985..a3f7df3c5b 100644 --- a/frontend/src/openapi/models/addFeatureDependency404.ts +++ b/frontend/src/openapi/models/addFeatureDependency404.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy401.ts b/frontend/src/openapi/models/addFeatureStrategy401.ts index d845d8c54c..9ba79e9b77 100644 --- a/frontend/src/openapi/models/addFeatureStrategy401.ts +++ b/frontend/src/openapi/models/addFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy403.ts b/frontend/src/openapi/models/addFeatureStrategy403.ts index 1d531eb0af..7b027c8274 100644 --- a/frontend/src/openapi/models/addFeatureStrategy403.ts +++ b/frontend/src/openapi/models/addFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy404.ts b/frontend/src/openapi/models/addFeatureStrategy404.ts index 3f28fbbf58..eccfde3c52 100644 --- a/frontend/src/openapi/models/addFeatureStrategy404.ts +++ b/frontend/src/openapi/models/addFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate401.ts b/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate401.ts deleted file mode 100644 index 7c344a04d6..0000000000 --- a/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type AddMilestoneToReleasePlanTemplate401 = { - /** 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/addMilestoneToReleasePlanTemplate403.ts b/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate403.ts deleted file mode 100644 index 2cd301cceb..0000000000 --- a/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type AddMilestoneToReleasePlanTemplate403 = { - /** 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/addMilestoneToReleasePlanTemplate404.ts b/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate404.ts deleted file mode 100644 index 043010932a..0000000000 --- a/frontend/src/openapi/models/addMilestoneToReleasePlanTemplate404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type AddMilestoneToReleasePlanTemplate404 = { - /** 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/addPublicSignupTokenUser400.ts b/frontend/src/openapi/models/addPublicSignupTokenUser400.ts index 2cd284b48e..2812569813 100644 --- a/frontend/src/openapi/models/addPublicSignupTokenUser400.ts +++ b/frontend/src/openapi/models/addPublicSignupTokenUser400.ts @@ -7,8 +7,8 @@ export type AddPublicSignupTokenUser400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addPublicSignupTokenUser409.ts b/frontend/src/openapi/models/addPublicSignupTokenUser409.ts index 796dd957ab..0996333e06 100644 --- a/frontend/src/openapi/models/addPublicSignupTokenUser409.ts +++ b/frontend/src/openapi/models/addPublicSignupTokenUser409.ts @@ -7,8 +7,8 @@ export type AddPublicSignupTokenUser409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject400.ts b/frontend/src/openapi/models/addRoleAccessToProject400.ts index 74b0b4a36b..37e0363a51 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject400.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject400.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject401.ts b/frontend/src/openapi/models/addRoleAccessToProject401.ts index 80cad35922..b725277423 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject401.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject401.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject403.ts b/frontend/src/openapi/models/addRoleAccessToProject403.ts index 4444a6ddf9..ec41aa7e98 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject403.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject403.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject404.ts b/frontend/src/openapi/models/addRoleAccessToProject404.ts index a1bb99f6f9..4384c3321e 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject404.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject404.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject415.ts b/frontend/src/openapi/models/addRoleAccessToProject415.ts index 02d736eb12..49c655ab04 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject415.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject415.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser401.ts b/frontend/src/openapi/models/addRoleToUser401.ts index 9727a6de08..b627f7bf7f 100644 --- a/frontend/src/openapi/models/addRoleToUser401.ts +++ b/frontend/src/openapi/models/addRoleToUser401.ts @@ -7,8 +7,8 @@ export type AddRoleToUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser403.ts b/frontend/src/openapi/models/addRoleToUser403.ts index d1c0d6f565..87aeff9ab7 100644 --- a/frontend/src/openapi/models/addRoleToUser403.ts +++ b/frontend/src/openapi/models/addRoleToUser403.ts @@ -7,8 +7,8 @@ export type AddRoleToUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser404.ts b/frontend/src/openapi/models/addRoleToUser404.ts index 84d737d89a..2e99fbd3f0 100644 --- a/frontend/src/openapi/models/addRoleToUser404.ts +++ b/frontend/src/openapi/models/addRoleToUser404.ts @@ -7,8 +7,8 @@ export type AddRoleToUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addStrategyToMilestone401.ts b/frontend/src/openapi/models/addStrategyToMilestone401.ts deleted file mode 100644 index 7e04e64dad..0000000000 --- a/frontend/src/openapi/models/addStrategyToMilestone401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type AddStrategyToMilestone401 = { - /** 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/addTag400.ts b/frontend/src/openapi/models/addTag400.ts index 1ee244d86e..902bfb86b5 100644 --- a/frontend/src/openapi/models/addTag400.ts +++ b/frontend/src/openapi/models/addTag400.ts @@ -7,8 +7,8 @@ export type AddTag400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTag401.ts b/frontend/src/openapi/models/addTag401.ts index cfe1cbc937..d4c4f359ce 100644 --- a/frontend/src/openapi/models/addTag401.ts +++ b/frontend/src/openapi/models/addTag401.ts @@ -7,8 +7,8 @@ export type AddTag401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTag403.ts b/frontend/src/openapi/models/addTag403.ts index 09b2a23845..b89ce211e5 100644 --- a/frontend/src/openapi/models/addTag403.ts +++ b/frontend/src/openapi/models/addTag403.ts @@ -7,8 +7,8 @@ export type AddTag403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTag404.ts b/frontend/src/openapi/models/addTag404.ts index d323a31c08..7914806745 100644 --- a/frontend/src/openapi/models/addTag404.ts +++ b/frontend/src/openapi/models/addTag404.ts @@ -7,8 +7,8 @@ export type AddTag404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures401.ts b/frontend/src/openapi/models/addTagToFeatures401.ts index c888db6274..a05f69e640 100644 --- a/frontend/src/openapi/models/addTagToFeatures401.ts +++ b/frontend/src/openapi/models/addTagToFeatures401.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures403.ts b/frontend/src/openapi/models/addTagToFeatures403.ts index e7b86ba73f..f9bba0d679 100644 --- a/frontend/src/openapi/models/addTagToFeatures403.ts +++ b/frontend/src/openapi/models/addTagToFeatures403.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures404.ts b/frontend/src/openapi/models/addTagToFeatures404.ts index b1a0e4e602..95b39be5df 100644 --- a/frontend/src/openapi/models/addTagToFeatures404.ts +++ b/frontend/src/openapi/models/addTagToFeatures404.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures415.ts b/frontend/src/openapi/models/addTagToFeatures415.ts index bffc24bd5f..ccd2a5b762 100644 --- a/frontend/src/openapi/models/addTagToFeatures415.ts +++ b/frontend/src/openapi/models/addTagToFeatures415.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addonCreateUpdateSchema.ts b/frontend/src/openapi/models/addonCreateUpdateSchema.ts index a7062c5f95..7e4f190d27 100644 --- a/frontend/src/openapi/models/addonCreateUpdateSchema.ts +++ b/frontend/src/openapi/models/addonCreateUpdateSchema.ts @@ -9,18 +9,6 @@ import type { AddonCreateUpdateSchemaParameters } from './addonCreateUpdateSchem * Data required to create or update an [Unleash addon](https://docs.getunleash.io/reference/addons) instance. */ export interface AddonCreateUpdateSchema { - /** A description of the addon. */ - description?: string; - /** Whether the addon should be enabled or not. */ - enabled: boolean; - /** The list of environments that this addon will listen to events from. An empty list means it will listen to events from **all** environments. */ - environments?: string[]; - /** The event types that will trigger this specific addon. */ - events: string[]; - /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. Consult the documentation for details. */ - parameters: AddonCreateUpdateSchemaParameters; - /** The projects that this addon will listen to events from. An empty list means it will listen to events from **all** projects. */ - projects?: string[]; /** The addon provider, such as "webhook" or "slack". This string is **case sensitive** and maps to the provider's `name` property. The list of all supported providers and their parameters for a specific Unleash instance can be found by making a GET request to the `api/admin/addons` endpoint: the `providers` property of that response will contain all available providers. @@ -34,4 +22,16 @@ The default set of providers can be found in the [addons reference documentation The provider you choose for your addon dictates what properties the `parameters` object needs. Refer to the documentation for each provider for more information. */ provider: string; + /** A description of the addon. */ + description?: string; + /** Whether the addon should be enabled or not. */ + enabled: boolean; + /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. Consult the documentation for details. */ + parameters: AddonCreateUpdateSchemaParameters; + /** The event types that will trigger this specific addon. */ + events: string[]; + /** The projects that this addon will listen to events from. An empty list means it will listen to events from **all** projects. */ + projects?: string[]; + /** The list of environments that this addon will listen to events from. An empty list means it will listen to events from **all** environments. */ + environments?: string[]; } diff --git a/frontend/src/openapi/models/addonParameterSchema.ts b/frontend/src/openapi/models/addonParameterSchema.ts index 7aedae1f8b..d316fcf483 100644 --- a/frontend/src/openapi/models/addonParameterSchema.ts +++ b/frontend/src/openapi/models/addonParameterSchema.ts @@ -8,18 +8,18 @@ * An addon parameter definition. */ export interface AddonParameterSchema { - /** A description of the parameter. This should explain to the end user what the parameter is used for. */ - description?: string; - /** The name of the parameter as it is shown to the end user in the Admin UI. */ - displayName: string; /** The name of the parameter as it is used in code. References to this parameter should use this value. */ name: string; + /** The name of the parameter as it is shown to the end user in the Admin UI. */ + displayName: string; + /** The type of the parameter. Corresponds roughly to [HTML `input` field types](https://developer.mozilla.org/docs/Web/HTML/Element/Input#input_types). Multi-line inut fields are indicated as `textfield` (equivalent to the HTML `textarea` tag). */ + type: string; + /** A description of the parameter. This should explain to the end user what the parameter is used for. */ + description?: string; /** The default value for this parameter. This value is used if no other value is provided. */ placeholder?: string; /** Whether this parameter is required or not. If a parameter is required, you must give it a value when you create the addon. If it is not required it can be left out. It may receive a default value in those cases. */ required: boolean; /** Indicates whether this parameter is **sensitive** or not. Unleash will not return sensitive parameters to API requests. It will instead use a number of asterisks to indicate that a value is set, e.g. "******". The number of asterisks does not correlate to the parameter's value. */ sensitive: boolean; - /** The type of the parameter. Corresponds roughly to [HTML `input` field types](https://developer.mozilla.org/docs/Web/HTML/Element/Input#input_types). Multi-line inut fields are indicated as `textfield` (equivalent to the HTML `textarea` tag). */ - type: string; } diff --git a/frontend/src/openapi/models/addonSchema.ts b/frontend/src/openapi/models/addonSchema.ts index 8c650fffd4..7aebf971ad 100644 --- a/frontend/src/openapi/models/addonSchema.ts +++ b/frontend/src/openapi/models/addonSchema.ts @@ -9,6 +9,13 @@ import type { AddonSchemaParameters } from './addonSchemaParameters'; * An [addon](https://docs.getunleash.io/reference/addons) instance description. Contains data about what kind of provider it uses, whether it's enabled or not, what events it listens for, and more. */ export interface AddonSchema { + /** + * The addon's unique identifier. + * @minimum 1 + */ + id: number; + /** The addon provider, such as "webhook" or "slack". */ + provider: string; /** * A description of the addon. `null` if no description exists. * @nullable @@ -16,19 +23,12 @@ export interface AddonSchema { description: string | null; /** Whether the addon is enabled or not. */ enabled: boolean; - /** The list of environments that this addon listens to events from. An empty list means it listens to events from **all** environments. */ - environments?: string[]; - /** The event types that trigger this specific addon. */ - events: string[]; - /** - * The addon's unique identifier. - * @minimum 1 - */ - id: number; /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. */ parameters: AddonSchemaParameters; + /** The event types that trigger this specific addon. */ + events: string[]; /** The projects that this addon listens to events from. An empty list means it listens to events from **all** projects. */ projects?: string[]; - /** The addon provider, such as "webhook" or "slack". */ - provider: string; + /** The list of environments that this addon listens to events from. An empty list means it listens to events from **all** environments. */ + environments?: string[]; } diff --git a/frontend/src/openapi/models/addonTypeSchema.ts b/frontend/src/openapi/models/addonTypeSchema.ts index 419d1b4d51..278e2f1987 100644 --- a/frontend/src/openapi/models/addonTypeSchema.ts +++ b/frontend/src/openapi/models/addonTypeSchema.ts @@ -3,35 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AddonTypeSchemaAlertsItem } from './addonTypeSchemaAlertsItem'; -import type { AddonTypeSchemaInstallation } from './addonTypeSchemaInstallation'; -import type { AddonParameterSchema } from './addonParameterSchema'; import type { TagTypeSchema } from './tagTypeSchema'; +import type { AddonParameterSchema } from './addonParameterSchema'; +import type { AddonTypeSchemaInstallation } from './addonTypeSchemaInstallation'; +import type { AddonTypeSchemaAlertsItem } from './addonTypeSchemaAlertsItem'; /** * An addon provider. Defines a specific addon type and what the end user must configure when creating a new addon of that type. */ export interface AddonTypeSchema { - /** A list of alerts to display to the user when installing addons of this type. */ - alerts?: AddonTypeSchemaAlertsItem[]; - /** This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI. */ - deprecated?: string; - /** A description of the addon type. */ - description: string; + /** The name of the addon type. When creating new addons, this goes in the payload's `type` field. */ + name: string; /** The addon type's name as it should be displayed in the admin UI. */ displayName: string; /** A URL to where you can find more information about using this addon type. */ documentationUrl: string; - /** All the [event types](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#feature-toggle-events) that are available for this addon provider. */ - events?: string[]; + /** A description of the addon type. */ + description: string; /** A long description of how to use this addon type. This will be displayed on the top of configuration page. Can contain markdown. */ howTo?: string; - /** The installation configuration for this addon type. */ - installation?: AddonTypeSchemaInstallation; - /** The name of the addon type. When creating new addons, this goes in the payload's `type` field. */ - name: string; + /** 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[]; /** 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. */ - tagTypes?: TagTypeSchema[]; + /** All the [event types](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#feature-toggle-events) that are available for this addon provider. */ + events?: string[]; + /** The installation configuration for this addon type. */ + installation?: AddonTypeSchemaInstallation; + /** A list of alerts to display to the user when installing addons of this type. */ + alerts?: AddonTypeSchemaAlertsItem[]; + /** This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI. */ + deprecated?: string; } diff --git a/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts b/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts index 6d195a8b18..8d81a649c4 100644 --- a/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts +++ b/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts @@ -6,8 +6,8 @@ import type { AddonTypeSchemaAlertsItemType } from './addonTypeSchemaAlertsItemType'; export type AddonTypeSchemaAlertsItem = { - /** The text of the alert. This is what will be displayed to the user. */ - text: string; /** The type of alert. This determines the color of the alert. */ type: AddonTypeSchemaAlertsItemType; + /** The text of the alert. This is what will be displayed to the user. */ + text: string; }; diff --git a/frontend/src/openapi/models/addonTypeSchemaInstallation.ts b/frontend/src/openapi/models/addonTypeSchemaInstallation.ts index 1bdc1ed7a9..7b57a550c6 100644 --- a/frontend/src/openapi/models/addonTypeSchemaInstallation.ts +++ b/frontend/src/openapi/models/addonTypeSchemaInstallation.ts @@ -8,10 +8,10 @@ * The installation configuration for this addon type. */ export type AddonTypeSchemaInstallation = { - /** The help text of the installation configuration. This will be displayed to the user when installing addons of this type. */ - helpText?: string; - /** The title of the installation configuration. This will be displayed to the user when installing addons of this type. */ - title?: string; /** A URL to where the addon configuration should redirect to install addons of this type. */ url: string; + /** The title of the installation configuration. This will be displayed to the user when installing addons of this type. */ + title?: string; + /** The help text of the installation configuration. This will be displayed to the user when installing addons of this type. */ + helpText?: string; }; diff --git a/frontend/src/openapi/models/adminCountSchema.ts b/frontend/src/openapi/models/adminCountSchema.ts index 724ae7c702..fc9eaff03f 100644 --- a/frontend/src/openapi/models/adminCountSchema.ts +++ b/frontend/src/openapi/models/adminCountSchema.ts @@ -8,10 +8,10 @@ * Contains total admin counts for an Unleash instance. */ export interface AdminCountSchema { - /** Total number of admins that do not have a password set. May be SSO, but may also be users that did not set a password yet. */ - noPassword: number; /** Total number of admins that have a password set. */ password: number; + /** Total number of admins that do not have a password set. May be SSO, but may also be users that did not set a password yet. */ + noPassword: number; /** Total number of service accounts that have the admin root role. */ service: number; } diff --git a/frontend/src/openapi/models/adminFeaturesQuerySchema.ts b/frontend/src/openapi/models/adminFeaturesQuerySchema.ts index 29645b969c..2e3cb832ca 100644 --- a/frontend/src/openapi/models/adminFeaturesQuerySchema.ts +++ b/frontend/src/openapi/models/adminFeaturesQuerySchema.ts @@ -8,8 +8,8 @@ * Query parameters used to modify the list of features returned. */ export interface AdminFeaturesQuerySchema { - /** A case-insensitive prefix filter for the names of feature flags */ - namePrefix?: string; /** Used to filter by tags. For each entry, a TAGTYPE:TAGVALUE is expected */ tag?: string[]; + /** A case-insensitive prefix filter for the names of feature flags */ + namePrefix?: string; } diff --git a/frontend/src/openapi/models/adminPermissionSchema.ts b/frontend/src/openapi/models/adminPermissionSchema.ts index 927e0c1dfd..86c11791d0 100644 --- a/frontend/src/openapi/models/adminPermissionSchema.ts +++ b/frontend/src/openapi/models/adminPermissionSchema.ts @@ -8,14 +8,14 @@ * Describes a single permission */ export interface AdminPermissionSchema { - /** The name to display in listings of permissions */ - displayName: string; - /** Which environment this permission applies to */ - environment?: string; /** The identifier for this permission */ id: number; /** The name of this permission */ name: string; + /** The name to display in listings of permissions */ + displayName: string; /** What level this permission applies to. Either root, project or the name of the environment it applies to */ type: string; + /** Which environment this permission applies to */ + environment?: string; } diff --git a/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts b/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts index ef53d9ddd1..d0e779e41a 100644 --- a/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts +++ b/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdminPermissionsSchemaPermissionsEnvironmentsItem } from './adminPermissionsSchemaPermissionsEnvironmentsItem'; import type { AdminPermissionSchema } from './adminPermissionSchema'; +import type { AdminPermissionsSchemaPermissionsEnvironmentsItem } from './adminPermissionsSchemaPermissionsEnvironmentsItem'; /** * Returns permissions available at all three levels (root|project|environment) */ export type AdminPermissionsSchemaPermissions = { - /** A list of environments with available permissions per environment */ - environments: AdminPermissionsSchemaPermissionsEnvironmentsItem[]; - /** Permissions available at the project level */ - project: AdminPermissionSchema[]; /** Permissions available at the root level, i.e. not connected to any specific project or environment */ root?: AdminPermissionSchema[]; + /** Permissions available at the project level */ + project: AdminPermissionSchema[]; + /** A list of environments with available permissions per environment */ + environments: AdminPermissionsSchemaPermissionsEnvironmentsItem[]; }; diff --git a/frontend/src/openapi/models/adminSegmentSchema.ts b/frontend/src/openapi/models/adminSegmentSchema.ts index 9bfe6f43c6..2ccf359622 100644 --- a/frontend/src/openapi/models/adminSegmentSchema.ts +++ b/frontend/src/openapi/models/adminSegmentSchema.ts @@ -9,20 +9,6 @@ import type { ConstraintSchema } from './constraintSchema'; * A description of a [segment](https://docs.getunleash.io/reference/segments) */ export interface AdminSegmentSchema { - /** The list of constraints that are used in this segment */ - constraints: ConstraintSchema[]; - /** When the segment was created */ - createdAt: string; - /** - * The creator's email or username - * @nullable - */ - createdBy?: string | null; - /** - * The description for this segment - * @nullable - */ - description?: string | null; /** * The ID of this segment * @minimum 0 @@ -31,10 +17,12 @@ export interface AdminSegmentSchema { /** The name of this segment */ name: string; /** - * The project the segment belongs to. Only present if the segment is a project-specific segment. + * The description for this segment * @nullable */ - project?: string | null; + description?: string | null; + /** The list of constraints that are used in this segment */ + constraints: ConstraintSchema[]; /** * The number of feature flags that use this segment. The number also includes the any flags with pending change requests that would add this segment. * @minimum 0 @@ -47,4 +35,16 @@ export interface AdminSegmentSchema { * @nullable */ usedInProjects?: number | null; + /** + * The project the segment belongs to. Only present if the segment is a project-specific segment. + * @nullable + */ + project?: string | null; + /** + * The creator's email or username + * @nullable + */ + createdBy?: string | null; + /** When the segment was created */ + createdAt: string; } diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts index b57401f31a..3ed273701b 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts @@ -12,22 +12,22 @@ import type { VariantSchema } from './variantSchema'; * A simplified feature flag model intended for the Unleash playground. */ export interface AdvancedPlaygroundEnvironmentFeatureSchema { - /** The context to use when evaluating flags */ - context: SdkFlatContextSchema; - /** The feature's environment. */ - environment: string; - /** Whether this feature is enabled or not in the current environment. - If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), - this will be `false` to align with how client SDKs treat unresolved feature states. */ - isEnabled: boolean; - /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ - isEnabledInCurrentEnvironment: boolean; /** The feature's name. */ name: string; + /** The feature's environment. */ + environment: string; + /** The context to use when evaluating flags */ + context: SdkFlatContextSchema; /** The ID of the project that contains this feature. */ projectId: string; /** Feature's applicable strategies and cumulative results of the strategies */ strategies: AdvancedPlaygroundEnvironmentFeatureSchemaStrategies; + /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ + isEnabledInCurrentEnvironment: boolean; + /** Whether this feature is enabled or not in the current environment. + If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), + this will be `false` to align with how client SDKs treat unresolved feature states. */ + isEnabled: boolean; /** * The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts index 92be7f7dcc..17079d6dac 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts @@ -3,19 +3,19 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; import type { AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult } from './advancedPlaygroundEnvironmentFeatureSchemaStrategiesResult'; +import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; /** * Feature's applicable strategies and cumulative results of the strategies */ export type AdvancedPlaygroundEnvironmentFeatureSchemaStrategies = { - /** The strategies that apply to this feature. */ - data: PlaygroundStrategySchema[]; /** The cumulative results of all the feature's strategies. Can be `true`, `false`, or `unknown`. This property will only be `unknown` if one or more of the strategies can't be fully evaluated and the rest of the strategies all resolve to `false`. */ result: AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult; + /** The strategies that apply to this feature. */ + data: PlaygroundStrategySchema[]; }; diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts index 006e778cbb..23a7dbc081 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts @@ -13,12 +13,12 @@ import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload } from '. * @nullable */ export type AdvancedPlaygroundEnvironmentFeatureSchemaVariant = { - /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ - enabled: boolean; - /** Whether the feature is enabled or not. If the feature is disabled, this property will be `false` */ - feature_enabled?: boolean; /** The variant's name. If there is no variant or if the flag is disabled, this will be `disabled` */ name: string; + /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ + enabled: boolean; /** An optional payload attached to the variant. */ payload?: AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload; + /** Whether the feature is enabled or not. If the feature is disabled, this property will be `false` */ + feature_enabled?: boolean; } | null; diff --git a/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts b/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts index 74f10d21db..15dd6da0e0 100644 --- a/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts @@ -9,10 +9,10 @@ import type { AdvancedPlaygroundFeatureSchemaEnvironments } from './advancedPlay * A simplified feature flag model intended for the Unleash playground. */ export interface AdvancedPlaygroundFeatureSchema { - /** The lists of features that have been evaluated grouped by environment. */ - environments: AdvancedPlaygroundFeatureSchemaEnvironments; /** The feature's name. */ name: string; /** The ID of the project that contains this feature. */ projectId: string; + /** The lists of features that have been evaluated grouped by environment. */ + environments: AdvancedPlaygroundFeatureSchemaEnvironments; } diff --git a/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts b/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts index 2ccf3f5050..be199d4672 100644 --- a/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts @@ -3,14 +3,13 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { SdkContextSchema } from './sdkContextSchema'; import type { AdvancedPlaygroundRequestSchemaProjects } from './advancedPlaygroundRequestSchemaProjects'; +import type { SdkContextSchema } from './sdkContextSchema'; /** * Data for the playground API to evaluate toggles in advanced mode with environment and context multi selection */ export interface AdvancedPlaygroundRequestSchema { - context: SdkContextSchema; /** * The environments to evaluate toggles in. * @minItems 1 @@ -18,4 +17,5 @@ export interface AdvancedPlaygroundRequestSchema { environments: string[]; /** A list of projects to check for toggles in. */ projects?: AdvancedPlaygroundRequestSchemaProjects; + context: SdkContextSchema; } diff --git a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts index a662d76213..5d5374442b 100644 --- a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts @@ -3,18 +3,18 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdvancedPlaygroundFeatureSchema } from './advancedPlaygroundFeatureSchema'; import type { AdvancedPlaygroundRequestSchema } from './advancedPlaygroundRequestSchema'; +import type { AdvancedPlaygroundFeatureSchema } from './advancedPlaygroundFeatureSchema'; import type { AdvancedPlaygroundResponseSchemaWarnings } from './advancedPlaygroundResponseSchemaWarnings'; /** * The state of all features given the provided input. */ export interface AdvancedPlaygroundResponseSchema { - /** The list of features that have been evaluated. */ - features: AdvancedPlaygroundFeatureSchema[]; /** The given input used to evaluate the features. */ input: AdvancedPlaygroundRequestSchema; + /** The list of features that have been evaluated. */ + features: AdvancedPlaygroundFeatureSchema[]; /** Warnings that occurred during evaluation. */ warnings?: AdvancedPlaygroundResponseSchemaWarnings; } 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/apiTokenSchema.ts b/frontend/src/openapi/models/apiTokenSchema.ts index 596bcca18b..ef616c5ab3 100644 --- a/frontend/src/openapi/models/apiTokenSchema.ts +++ b/frontend/src/openapi/models/apiTokenSchema.ts @@ -9,38 +9,38 @@ import type { ApiTokenSchemaType } from './apiTokenSchemaType'; * An overview of an [Unleash API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys). */ export interface ApiTokenSchema { - /** - * Alias is no longer in active use and will often be NULL. It's kept around as a way of allowing old proxy tokens created with the old metadata format to keep working. - * @nullable - */ - alias?: string | null; - /** When the token was created. */ - createdAt: string; - /** The environment the token has access to. `*` if it has access to all environments. */ - environment?: string; - /** - * The token's expiration date. NULL if the token doesn't have an expiration set. - * @nullable - */ - expiresAt?: string | null; - /** The project this token belongs to. */ - project: string; - /** 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 token used for authentication. */ secret: string; - /** - * When the token was last seen/used to authenticate with. NULL if the token has not yet been used for authentication. - * @nullable - */ - seenAt?: string | null; - /** A unique name for this particular token */ - tokenName: string; - /** The type of API token */ - type: ApiTokenSchemaType; /** * This property was deprecated in Unleash v5. Prefer the `tokenName` property instead. * @deprecated */ username?: string; + /** A unique name for this particular token */ + tokenName: string; + /** The type of API token */ + type: ApiTokenSchemaType; + /** The environment the token has access to. `*` if it has access to all environments. */ + environment?: string; + /** The project this token belongs to. */ + project: string; + /** 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 token's expiration date. NULL if the token doesn't have an expiration set. + * @nullable + */ + expiresAt?: string | null; + /** When the token was created. */ + createdAt: string; + /** + * When the token was last seen/used to authenticate with. NULL if the token has not yet been used for authentication. + * @nullable + */ + seenAt?: string | null; + /** + * Alias is no longer in active use and will often be NULL. It's kept around as a way of allowing old proxy tokens created with the old metadata format to keep working. + * @nullable + */ + alias?: string | null; } diff --git a/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts b/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts index a978d59bc4..34ad807a87 100644 --- a/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts +++ b/frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts @@ -5,12 +5,15 @@ */ export type ApplicationEnvironmentInstancesSchemaInstancesItem = { - /** An IP address identifying the instance of the application running the SDK */ - clientIp?: string; /** A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds */ instanceId: string; + /** + * An SDK version identifier. Usually formatted as "unleash-client-:" + * @nullable + */ + sdkVersion?: string | null; + /** An IP address identifying the instance of the application running the SDK */ + clientIp?: string; /** The last time the application environment instance was seen */ lastSeen?: string; - /** An SDK version identifier. Usually formatted as "unleash-client-:" */ - sdkVersion?: string; }; diff --git a/frontend/src/openapi/models/applicationOverviewEnvironmentSchema.ts b/frontend/src/openapi/models/applicationOverviewEnvironmentSchema.ts index f4aaef83e7..44b4c1d81a 100644 --- a/frontend/src/openapi/models/applicationOverviewEnvironmentSchema.ts +++ b/frontend/src/openapi/models/applicationOverviewEnvironmentSchema.ts @@ -9,17 +9,17 @@ import type { ApplicationEnvironmentIssuesSchema } from './applicationEnvironmen * Data about an application environment */ export interface ApplicationOverviewEnvironmentSchema { + /** Name of the application environment */ + name: string; /** The number of instances of the application environment */ instanceCount: number; - /** This list of issues that might be wrong with the application */ - issues: ApplicationEnvironmentIssuesSchema; + /** SDKs used in the application environment */ + sdks: string[]; /** * The last time the application environment was seen * @nullable */ lastSeen: string | null; - /** Name of the application environment */ - name: string; - /** SDKs used in the application environment */ - sdks: string[]; + /** This list of issues that might be wrong with the application */ + issues: ApplicationEnvironmentIssuesSchema; } diff --git a/frontend/src/openapi/models/applicationOverviewSchema.ts b/frontend/src/openapi/models/applicationOverviewSchema.ts index 915080d844..85f222d799 100644 --- a/frontend/src/openapi/models/applicationOverviewSchema.ts +++ b/frontend/src/openapi/models/applicationOverviewSchema.ts @@ -10,12 +10,12 @@ import type { ApplicationOverviewIssuesSchema } from './applicationOverviewIssue * Data about an application that's connected to Unleash via an SDK. */ export interface ApplicationOverviewSchema { - /** The list of environments the application has been using. */ - environments: ApplicationOverviewEnvironmentSchema[]; - /** The number of features the application has been using. */ - featureCount: number; - /** This list of issues that might be wrong with the application */ - issues: ApplicationOverviewIssuesSchema; /** The list of projects the application has been using. */ projects: string[]; + /** The number of features the application has been using. */ + featureCount: number; + /** The list of environments the application has been using. */ + environments: ApplicationOverviewEnvironmentSchema[]; + /** This list of issues that might be wrong with the application */ + issues: ApplicationOverviewIssuesSchema; } diff --git a/frontend/src/openapi/models/applicationSchema.ts b/frontend/src/openapi/models/applicationSchema.ts index 20cd1b0991..68ceb10365 100644 --- a/frontend/src/openapi/models/applicationSchema.ts +++ b/frontend/src/openapi/models/applicationSchema.ts @@ -11,18 +11,18 @@ import type { ApplicationUsageSchema } from './applicationUsageSchema'; export interface ApplicationSchema { /** Name of the application */ appName: string; - /** The CSS color that is used to color the application's entry in the application list */ - color?: string; - /** Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface */ - description?: string; - /** An URL to an icon file to be used for the applications's entry in the application list */ - icon?: string; /** Which SDK and version the application reporting uses. Typically represented as `:` */ sdkVersion?: string; /** Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK */ strategies?: string[]; + /** Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface */ + description?: string; /** A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application */ url?: string; + /** The CSS color that is used to color the application's entry in the application list */ + color?: string; + /** An URL to an icon file to be used for the applications's entry in the application list */ + icon?: string; /** The list of projects the application has been using. */ usage?: ApplicationUsageSchema[]; } diff --git a/frontend/src/openapi/models/applicationUsageSchema.ts b/frontend/src/openapi/models/applicationUsageSchema.ts index 574358bbae..c73cff55ad 100644 --- a/frontend/src/openapi/models/applicationUsageSchema.ts +++ b/frontend/src/openapi/models/applicationUsageSchema.ts @@ -8,8 +8,8 @@ * Data about an project that have been used by applications. */ export interface ApplicationUsageSchema { - /** Which environments have been accessed in this project. */ - environments: string[]; /** Name of the project */ project: string; + /** Which environments have been accessed in this project. */ + environments: string[]; } diff --git a/frontend/src/openapi/models/applicationsSchema.ts b/frontend/src/openapi/models/applicationsSchema.ts index 60c1b9792b..8fccf51ab7 100644 --- a/frontend/src/openapi/models/applicationsSchema.ts +++ b/frontend/src/openapi/models/applicationsSchema.ts @@ -9,8 +9,8 @@ import type { ApplicationSchema } from './applicationSchema'; * An object containing a list of applications that have connected to Unleash via an SDK. */ export interface ApplicationsSchema { - /** The list of applications that have connected to this Unleash instance. */ - applications: ApplicationSchema[]; /** The total number of project applications. */ total: number; + /** The list of applications that have connected to this Unleash instance. */ + applications: ApplicationSchema[]; } diff --git a/frontend/src/openapi/models/archiveFeature401.ts b/frontend/src/openapi/models/archiveFeature401.ts index 68db626928..967737032a 100644 --- a/frontend/src/openapi/models/archiveFeature401.ts +++ b/frontend/src/openapi/models/archiveFeature401.ts @@ -7,8 +7,8 @@ export type ArchiveFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeature403.ts b/frontend/src/openapi/models/archiveFeature403.ts index 708cbfdfa5..5d9530de89 100644 --- a/frontend/src/openapi/models/archiveFeature403.ts +++ b/frontend/src/openapi/models/archiveFeature403.ts @@ -7,8 +7,8 @@ export type ArchiveFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeature404.ts b/frontend/src/openapi/models/archiveFeature404.ts index af92c9e187..b413f37aa0 100644 --- a/frontend/src/openapi/models/archiveFeature404.ts +++ b/frontend/src/openapi/models/archiveFeature404.ts @@ -7,8 +7,8 @@ export type ArchiveFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures400.ts b/frontend/src/openapi/models/archiveFeatures400.ts index 1f70f4e959..d4fe8a788c 100644 --- a/frontend/src/openapi/models/archiveFeatures400.ts +++ b/frontend/src/openapi/models/archiveFeatures400.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures401.ts b/frontend/src/openapi/models/archiveFeatures401.ts index 5e2c368e39..623ff2a41e 100644 --- a/frontend/src/openapi/models/archiveFeatures401.ts +++ b/frontend/src/openapi/models/archiveFeatures401.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures403.ts b/frontend/src/openapi/models/archiveFeatures403.ts index 8201940bed..df60678a64 100644 --- a/frontend/src/openapi/models/archiveFeatures403.ts +++ b/frontend/src/openapi/models/archiveFeatures403.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures415.ts b/frontend/src/openapi/models/archiveFeatures415.ts index 520443aa2c..e22a36242e 100644 --- a/frontend/src/openapi/models/archiveFeatures415.ts +++ b/frontend/src/openapi/models/archiveFeatures415.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveProject400.ts b/frontend/src/openapi/models/archiveProject400.ts index b2f3a4246d..b913d06d10 100644 --- a/frontend/src/openapi/models/archiveProject400.ts +++ b/frontend/src/openapi/models/archiveProject400.ts @@ -7,8 +7,8 @@ export type ArchiveProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveProject401.ts b/frontend/src/openapi/models/archiveProject401.ts index 9c1ee69678..f8dd0acc6a 100644 --- a/frontend/src/openapi/models/archiveProject401.ts +++ b/frontend/src/openapi/models/archiveProject401.ts @@ -7,8 +7,8 @@ export type ArchiveProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archiveProject403.ts b/frontend/src/openapi/models/archiveProject403.ts index 0b4a348811..8434444d92 100644 --- a/frontend/src/openapi/models/archiveProject403.ts +++ b/frontend/src/openapi/models/archiveProject403.ts @@ -7,8 +7,8 @@ export type ArchiveProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/archivedFeatureSchema.ts b/frontend/src/openapi/models/archivedFeatureSchema.ts index c255a0bb93..fe33bd27e6 100644 --- a/frontend/src/openapi/models/archivedFeatureSchema.ts +++ b/frontend/src/openapi/models/archivedFeatureSchema.ts @@ -9,34 +9,34 @@ import type { ArchivedFeatureSchemaEnvironmentsItem } from './archivedFeatureSch * An archived project feature flag definition */ export interface ArchivedFeatureSchema { - /** The date the feature was archived */ - archivedAt?: string; - /** The date the feature was created */ - createdAt?: string; + /** Unique feature name */ + name: string; + /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ + type?: string; /** * Detailed description of the feature * @nullable */ description?: string | null; - /** - * The list of environments where the feature can be used - * @deprecated - */ - environments?: ArchivedFeatureSchemaEnvironmentsItem[]; + /** Name of the project the feature belongs to */ + project: string; + /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ + stale?: boolean; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData?: boolean; + /** The date the feature was created */ + createdAt?: string; + /** The date the feature was archived */ + archivedAt?: string; /** * The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema * @deprecated * @nullable */ lastSeenAt?: string | null; - /** Unique feature name */ - name: string; - /** Name of the project the feature belongs to */ - project: string; - /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ - stale?: boolean; - /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ - type?: string; + /** + * The list of environments where the feature can be used + * @deprecated + */ + environments?: ArchivedFeatureSchemaEnvironmentsItem[]; } diff --git a/frontend/src/openapi/models/archivedFeatureSchemaEnvironmentsItem.ts b/frontend/src/openapi/models/archivedFeatureSchemaEnvironmentsItem.ts index 1bc9447f8b..f07b313fb2 100644 --- a/frontend/src/openapi/models/archivedFeatureSchemaEnvironmentsItem.ts +++ b/frontend/src/openapi/models/archivedFeatureSchemaEnvironmentsItem.ts @@ -5,13 +5,13 @@ */ export type ArchivedFeatureSchemaEnvironmentsItem = { - /** `true` if the feature is enabled for the environment, otherwise `false`. */ - enabled?: boolean; + /** The name of the environment */ + name?: string; /** * The date when metrics where last collected for the feature environment * @nullable */ lastSeenAt?: string | null; - /** The name of the environment */ - name?: string; + /** `true` if the feature is enabled for the environment, otherwise `false`. */ + enabled?: boolean; }; diff --git a/frontend/src/openapi/models/archivedFeaturesSchema.ts b/frontend/src/openapi/models/archivedFeaturesSchema.ts index 75545207ed..22ee6540a0 100644 --- a/frontend/src/openapi/models/archivedFeaturesSchema.ts +++ b/frontend/src/openapi/models/archivedFeaturesSchema.ts @@ -9,8 +9,8 @@ import type { ArchivedFeatureSchema } from './archivedFeatureSchema'; * A list of archived features */ export interface ArchivedFeaturesSchema { - /** A list of features */ - features: ArchivedFeatureSchema[]; /** The version of the feature's schema */ version: number; + /** A list of features */ + features: ArchivedFeatureSchema[]; } diff --git a/frontend/src/openapi/models/bannerSchema.ts b/frontend/src/openapi/models/bannerSchema.ts index 8983dd8d32..e70e4a3888 100644 --- a/frontend/src/openapi/models/bannerSchema.ts +++ b/frontend/src/openapi/models/bannerSchema.ts @@ -8,30 +8,24 @@ * An object describing a banner to be displayed to all users. */ export interface BannerSchema { - /** The date and time of when the banner was created. */ - createdAt: string; - /** - * The markdown to display on the dialog. If not specified, no dialog will be displayed. - * @nullable - */ - dialog?: string | null; - /** - * The title to display on the dialog. If not specified, this will be the same as `linkText`. - * @nullable - */ - dialogTitle?: string | null; - /** Whether the banner should be displayed currently. If not specified, defaults to true. */ - enabled?: boolean; - /** - * The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. - * @nullable - */ - icon?: string | null; /** * The banner's ID. Banner IDs are incrementing integers. In other words, a more recently created banner will always have a higher ID than an older one. * @minimum 1 */ id: number; + /** The message to display to all users. Supports markdown. */ + message: string; + /** Whether the banner should be displayed currently. If not specified, defaults to true. */ + enabled?: boolean; + /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; + /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; + /** + * The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. + * @nullable + */ + icon?: string | null; /** * The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. * @nullable @@ -42,10 +36,16 @@ export interface BannerSchema { * @nullable */ linkText?: string | null; - /** The message to display to all users. Supports markdown. */ - message: string; - /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ - sticky?: boolean; - /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ - variant?: string; + /** + * The title to display on the dialog. If not specified, this will be the same as `linkText`. + * @nullable + */ + dialogTitle?: string | null; + /** + * The markdown to display on the dialog. If not specified, no dialog will be displayed. + * @nullable + */ + dialog?: string | null; + /** The date and time of when the banner was created. */ + createdAt: string; } diff --git a/frontend/src/openapi/models/bulkRegistrationSchema.ts b/frontend/src/openapi/models/bulkRegistrationSchema.ts index d6a72cd7b1..fcca68c9c2 100644 --- a/frontend/src/openapi/models/bulkRegistrationSchema.ts +++ b/frontend/src/openapi/models/bulkRegistrationSchema.ts @@ -10,21 +10,21 @@ import type { DateSchema } from './dateSchema'; * An application registration. Defines the format POSTed by our server-side SDKs when they're starting up */ export interface BulkRegistrationSchema { - /** The name of the application that is evaluating toggles */ - appName: string; /** A list of applications this app registration has been registered through. If connected directly to Unleash, this is an empty list. This can be used in later visualizations to tell how many levels of proxy or Edge instances our SDKs have connected through */ connectVia?: BulkRegistrationSchemaConnectViaItem[]; + /** The name of the application that is evaluating toggles */ + appName: string; /** Which environment the application is running in */ environment: string; /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ instanceId: string; /** How often (in seconds) the application refreshes its features */ interval?: number; - /** The version the sdk is running. Typically : */ - sdkVersion?: string; /** The application started at */ started?: DateSchema; /** Enabled [strategies](https://docs.getunleash.io/reference/activation-strategies) in the application */ strategies?: string[]; + /** The version the sdk is running. Typically : */ + sdkVersion?: string; } diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts index f661450cc4..095d6899ec 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts index a63fb9659b..771560261c 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts index ec21bf5dc5..bb0728ab74 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts index 43438d47da..7d713d48a0 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts index dc7310fa2b..35f977e59a 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts index 385cc41106..c3d75fd491 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts index 6f1d91df99..30b6b2b2d3 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts index 6c6b55b035..ee9f8ad969 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts index f26c7eada6..003e326c73 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts index 8e04ad0c00..bda3c1c091 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts index fad07edb5b..658232f903 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts index 1aa814d7f0..c896d83b84 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changePassword401.ts b/frontend/src/openapi/models/changePassword401.ts index 9e1eee5384..0a7972a5fb 100644 --- a/frontend/src/openapi/models/changePassword401.ts +++ b/frontend/src/openapi/models/changePassword401.ts @@ -7,8 +7,8 @@ export type ChangePassword401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changePassword403.ts b/frontend/src/openapi/models/changePassword403.ts index b09ea9c327..95d4d214bf 100644 --- a/frontend/src/openapi/models/changePassword403.ts +++ b/frontend/src/openapi/models/changePassword403.ts @@ -7,8 +7,8 @@ export type ChangePassword403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changePassword415.ts b/frontend/src/openapi/models/changePassword415.ts index 391bb17363..d0278686ae 100644 --- a/frontend/src/openapi/models/changePassword415.ts +++ b/frontend/src/openapi/models/changePassword415.ts @@ -7,8 +7,8 @@ export type ChangePassword415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changePasswordSchema.ts b/frontend/src/openapi/models/changePasswordSchema.ts index 25bd76d9a7..a4bcb74aed 100644 --- a/frontend/src/openapi/models/changePasswordSchema.ts +++ b/frontend/src/openapi/models/changePasswordSchema.ts @@ -8,8 +8,8 @@ * Change password as long as the token is a valid token */ export interface ChangePasswordSchema { - /** The new password for the user */ - password: string; /** A reset token used to validate that the user is allowed to change the password. */ token: string; + /** The new password for the user */ + password: string; } diff --git a/frontend/src/openapi/models/changeProject400.ts b/frontend/src/openapi/models/changeProject400.ts index 52073edcae..061253f78b 100644 --- a/frontend/src/openapi/models/changeProject400.ts +++ b/frontend/src/openapi/models/changeProject400.ts @@ -7,8 +7,8 @@ export type ChangeProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeProject401.ts b/frontend/src/openapi/models/changeProject401.ts index 695febd4d3..add327cd28 100644 --- a/frontend/src/openapi/models/changeProject401.ts +++ b/frontend/src/openapi/models/changeProject401.ts @@ -7,8 +7,8 @@ export type ChangeProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeProject403.ts b/frontend/src/openapi/models/changeProject403.ts index 4b11a18479..7b20bb9d50 100644 --- a/frontend/src/openapi/models/changeProject403.ts +++ b/frontend/src/openapi/models/changeProject403.ts @@ -7,8 +7,8 @@ export type ChangeProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeProject404.ts b/frontend/src/openapi/models/changeProject404.ts index 25ba171335..6fde86df07 100644 --- a/frontend/src/openapi/models/changeProject404.ts +++ b/frontend/src/openapi/models/changeProject404.ts @@ -7,8 +7,8 @@ export type ChangeProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeProject415.ts b/frontend/src/openapi/models/changeProject415.ts index 7614d17386..2b00d40749 100644 --- a/frontend/src/openapi/models/changeProject415.ts +++ b/frontend/src/openapi/models/changeProject415.ts @@ -7,8 +7,8 @@ export type ChangeProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRequestApprovalSchema.ts b/frontend/src/openapi/models/changeRequestApprovalSchema.ts index aaf88e705c..791672e88a 100644 --- a/frontend/src/openapi/models/changeRequestApprovalSchema.ts +++ b/frontend/src/openapi/models/changeRequestApprovalSchema.ts @@ -9,8 +9,8 @@ import type { ChangeRequestApprovalSchemaCreatedBy } from './changeRequestApprov * Information about a [change request](https://docs.getunleash.io/reference/change-requests) approval. */ export interface ChangeRequestApprovalSchema { - /** When the approval was given. */ - createdAt: string; /** Information about the user who gave this approval. */ createdBy: ChangeRequestApprovalSchemaCreatedBy; + /** When the approval was given. */ + createdAt: string; } diff --git a/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts index 187efc1f5d..27b100d94b 100644 --- a/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts @@ -10,8 +10,8 @@ export type ChangeRequestApprovalSchemaCreatedBy = { /** The ID of the user who gave this approval. */ id?: number; - /** The URL where the user's image can be found. */ - imageUrl?: string; /** The approving user's username. */ username?: string; + /** The URL where the user's image can be found. */ + imageUrl?: string; }; diff --git a/frontend/src/openapi/models/changeRequestChangeSchema.ts b/frontend/src/openapi/models/changeRequestChangeSchema.ts index fb4380e910..70a7be74ac 100644 --- a/frontend/src/openapi/models/changeRequestChangeSchema.ts +++ b/frontend/src/openapi/models/changeRequestChangeSchema.ts @@ -3,23 +3,23 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestChangeSchemaCreatedBy } from './changeRequestChangeSchemaCreatedBy'; import type { ChangeRequestChangeSchemaPayload } from './changeRequestChangeSchemaPayload'; +import type { ChangeRequestChangeSchemaCreatedBy } from './changeRequestChangeSchemaCreatedBy'; /** * A change request change, containing info about the type of change and the specific changes. */ export interface ChangeRequestChangeSchema { + /** The ID of this change. */ + id: number; /** The kind of action that the change contains information about. */ action: string; /** A description of the conflict caused by this change. Only present if there are any conflicts. */ conflict?: string; - /** When this change was suggested */ - createdAt?: string; - /** The user who created this change. */ - createdBy?: ChangeRequestChangeSchemaCreatedBy; - /** The ID of this change. */ - id: number; /** The data required to perform this action. */ payload: ChangeRequestChangeSchemaPayload; + /** The user who created this change. */ + createdBy?: ChangeRequestChangeSchemaCreatedBy; + /** When this change was suggested */ + createdAt?: string; } diff --git a/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts index 115d2f7623..9b851220f0 100644 --- a/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts @@ -8,14 +8,14 @@ * The user who created this change. */ export type ChangeRequestChangeSchemaCreatedBy = { - /** - * The URL where the user's image can be found. - * @nullable - */ - imageUrl?: string | null; /** * The user's username. * @nullable */ username?: string | null; + /** + * The URL where the user's image can be found. + * @nullable + */ + imageUrl?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestCommentSchema.ts b/frontend/src/openapi/models/changeRequestCommentSchema.ts index 10153804d1..d71c106ee2 100644 --- a/frontend/src/openapi/models/changeRequestCommentSchema.ts +++ b/frontend/src/openapi/models/changeRequestCommentSchema.ts @@ -9,12 +9,12 @@ import type { ChangeRequestCommentSchemaCreatedBy } from './changeRequestComment * A comment belonging to a [change request](https://docs.getunleash.io/reference/change-requests). */ export interface ChangeRequestCommentSchema { - /** When the comment was made. */ - createdAt: string; - /** Information about the user who posted the comment */ - createdBy: ChangeRequestCommentSchemaCreatedBy; /** The comment's ID. Unique per change request. */ id?: number; /** The content of the comment. */ text: string; + /** Information about the user who posted the comment */ + createdBy: ChangeRequestCommentSchemaCreatedBy; + /** When the comment was made. */ + createdAt: string; } diff --git a/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts index 7586f53969..1c3b98c0a3 100644 --- a/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts @@ -8,14 +8,14 @@ * Information about the user who posted the comment */ export type ChangeRequestCommentSchemaCreatedBy = { - /** - * The URL where the user's image can be found. - * @nullable - */ - imageUrl?: string | null; /** * The user's username. * @nullable */ username?: string | null; + /** + * The URL where the user's image can be found. + * @nullable + */ + imageUrl?: string | null; }; 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/changeRequestCreateFeatureSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts index 10f61ee3fa..e9e064c076 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfPayload } from './changeReque * Update the enabled state for a feature. */ export type ChangeRequestCreateFeatureSchemaOneOf = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfAction; payload: ChangeRequestCreateFeatureSchemaOneOfPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts index 665d778bfd..8bcf520340 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfEightPayload } from './change * Delete a strategy from this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfEight = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfEightAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfEightAction; payload: ChangeRequestCreateFeatureSchemaOneOfEightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts index bba07d1209..56650dfa1a 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestCreateFeatureSchemaOneOfFour = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfFourAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfFourAction; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts index b161132505..9a72c81293 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestCreateFeatureSchemaOneOfOneeight = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfOneeightAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfOneeightAction; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts index a75a875de8..2df0e82a29 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOneoneAction } from './change * Archive a feature. */ export type ChangeRequestCreateFeatureSchemaOneOfOneone = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfOneoneAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfOneoneAction; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts index 4979d8c632..69c0a2c2bb 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestCreateFeatureSchemaOneOfOnesix = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfOnesixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfOnesixAction; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts index 43f3499417..dd5f89d51b 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOnethreePayload } from './cha * Update variants for this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfOnethree = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfOnethreeAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfOnethreeAction; payload: ChangeRequestCreateFeatureSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts index 60d0ecdd6f..cdea0fa262 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfSix = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfSixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfSixAction; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwofour.ts new file mode 100644 index 0000000000..5201bf0635 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwofourAction; + /** 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..75bf2d7ba3 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwosevenAction; + /** 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..441c6559ce --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwotwoAction; + 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/changeRequestCreateFeatureSchemaOneOfTwozero.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts index bec2e4420c..b2940cf065 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroAction } from './chang * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateFeatureSchemaOneOfTwozero = { - /** The name of this action. */ - action: ChangeRequestCreateFeatureSchemaOneOfTwozeroAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfTwozeroAction; }; 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/changeRequestCreateSchemaOneOfNine.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts index b41499892c..1225e7571c 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestCreateSchemaOneOfNine = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfNineAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfNineAction; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts index 0cb1387339..ae5d08f387 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfOneeightPayload } from './changeRequ * Update variants for this feature. */ export type ChangeRequestCreateSchemaOneOfOneeight = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfOneeightAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfOneeightAction; payload: ChangeRequestCreateSchemaOneOfOneeightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts index 266f2d1f0e..c1ed82e4b8 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestCreateSchemaOneOfOneone = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfOneoneAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfOneoneAction; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts index 6b83d85fff..ed97d3fa61 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateSchemaOneOfOnesixAction } from './changeRequest * Archive a feature. */ export type ChangeRequestCreateSchemaOneOfOnesix = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfOnesixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfOnesixAction; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts index 00419f76c2..1680ee2441 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfOnethreePayload } from './changeRequ * Delete a strategy from this feature. */ export type ChangeRequestCreateSchemaOneOfOnethree = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfOnethreeAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfOnethreeAction; payload: ChangeRequestCreateSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts index aae66ddafc..168217c9ea 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfSixPayload } from './changeRequestCr * Update the enabled state for a feature. */ export type ChangeRequestCreateSchemaOneOfSix = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfSixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfSixAction; payload: ChangeRequestCreateSchemaOneOfSixPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreetwo.ts new file mode 100644 index 0000000000..1957aae344 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfThreetwoAction; + /** 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/changeRequestCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts index df6cca95d2..c323575147 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateSchemaOneOfTwofiveAction } from './changeReques * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateSchemaOneOfTwofive = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfTwofiveAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwofiveAction; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwonine.ts new file mode 100644 index 0000000000..24a1fc11a6 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwonineAction; + /** 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/changeRequestCreateSchemaOneOfTwoone.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts index a21383133f..5c403cee30 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestCreateSchemaOneOfTwoone = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfTwooneAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwooneAction; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoseven.ts new file mode 100644 index 0000000000..fd110605e2 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwosevenAction; + 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/changeRequestCreateSchemaOneOfTwothree.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts index 5b416f1222..db1cb76103 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestCreateSchemaOneOfTwothree = { - /** The name of this action. */ - action: ChangeRequestCreateSchemaOneOfTwothreeAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfTwothreeAction; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts b/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts index da6368939b..8a8b936a9c 100644 --- a/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts +++ b/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts @@ -8,15 +8,15 @@ * The [change request](https://docs.getunleash.io/reference/change-requests) configuration for a specific environment. */ export interface ChangeRequestEnvironmentConfigSchema { - /** `true` if this environment has change requests enabled, otherwise `false`. */ - changeRequestEnabled: boolean; /** The environment that this configuration applies to. */ environment: string; + /** The [type of the environment](https://docs.getunleash.io/reference/environments#environment-types) listed in `environment`. */ + type: string; + /** `true` if this environment has change requests enabled, otherwise `false`. */ + changeRequestEnabled: boolean; /** * The number of approvals that are required for a change request to be fully approved and ready to be applied in this environment. * @nullable */ requiredApprovals: number | null; - /** The [type of the environment](https://docs.getunleash.io/reference/environments#environment-types) listed in `environment`. */ - type: string; } diff --git a/frontend/src/openapi/models/changeRequestFeatureSchema.ts b/frontend/src/openapi/models/changeRequestFeatureSchema.ts index 287c0bc795..0b8a704cb0 100644 --- a/frontend/src/openapi/models/changeRequestFeatureSchema.ts +++ b/frontend/src/openapi/models/changeRequestFeatureSchema.ts @@ -10,11 +10,11 @@ import type { ChangeRequestDefaultChangeSchema } from './changeRequestDefaultCha * A feature and all its suggested changes. */ export interface ChangeRequestFeatureSchema { - /** List of changes inside change request. This list may be empty when listing all change requests for a project. */ - changes: ChangeRequestChangeSchema[]; - /** A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level. */ - conflict?: string; - defaultChange?: ChangeRequestDefaultChangeSchema; /** The name of the feature */ name: string; + /** A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level. */ + conflict?: string; + /** List of changes inside change request. This list may be empty when listing all change requests for a project. */ + changes: ChangeRequestChangeSchema[]; + defaultChange?: ChangeRequestDefaultChangeSchema; } 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/changeRequestOneOrManyCreateSchemaOneOfNine.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts index fad6a4c5d8..b44aae1da3 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestOneOrManyCreateSchemaOneOfNine = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfNineAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfNineAction; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts index 3e4283a938..ca9ead179c 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeightPayload } from './c * Update variants for this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneeight = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction; payload: ChangeRequestOneOrManyCreateSchemaOneOfOneeightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts index 9d9b9e90dc..277b416aa2 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneone = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts index 7be07eb9a3..ae01698984 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts @@ -9,8 +9,8 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction } from './chan * Archive a feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnesix = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts index 309adda383..e6a02937b0 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOnethreePayload } from './c * Delete a strategy from this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnethree = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction; payload: ChangeRequestOneOrManyCreateSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts index 95bc4c6307..29b665ad84 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfSixPayload } from './change * Update the enabled state for a feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfSix = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfSixAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfSixAction; payload: ChangeRequestOneOrManyCreateSchemaOneOfSixPayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreetwo.ts new file mode 100644 index 0000000000..5d76edcd79 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction; + /** 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/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts index d1b3dc4b77..aabf765c0d 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts @@ -9,8 +9,8 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction } from './cha * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwofive = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwonine.ts new file mode 100644 index 0000000000..aeb17ce8a1 --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction; + /** 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/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts index 810d5402f0..07d23cb50e 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwoone = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoseven.ts new file mode 100644 index 0000000000..e4319be3eb --- /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 the feature that this change applies to. */ + feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction; + 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/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts index 655b327843..7d32e59484 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwothree = { - /** The name of this action. */ - action: ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction; /** The name of the feature that this change applies to. */ feature: string; + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfFive.ts b/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfFive.ts index ba73d5b7ea..2017602789 100644 --- a/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfFive.ts +++ b/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfFive.ts @@ -9,10 +9,10 @@ import type { ChangeRequestScheduleSchemaOneOfFiveStatus } from './changeRequest * A suspended schedule for a change request. */ export type ChangeRequestScheduleSchemaOneOfFive = { - /** Why the schedule was suspended. */ - reason: string; /** When Unleash would have attempted to apply this change request if the schedule was not suspended. */ scheduledAt: string; /** The status of the schedule. */ status: ChangeRequestScheduleSchemaOneOfFiveStatus; + /** Why the schedule was suspended. */ + reason: string; }; diff --git a/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfThree.ts b/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfThree.ts index 620269b588..6ee3d3838b 100644 --- a/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/changeRequestScheduleSchemaOneOfThree.ts @@ -9,16 +9,16 @@ import type { ChangeRequestScheduleSchemaOneOfThreeStatus } from './changeReques * A failed schedule for a change request. */ export type ChangeRequestScheduleSchemaOneOfThree = { + /** When Unleash last attempted to apply this change request. */ + scheduledAt: string; + /** The status of the schedule. */ + status: ChangeRequestScheduleSchemaOneOfThreeStatus; + /** The reason the scheduled failed to apply. */ + reason: string; /** * The reason the scheduled failed to apply. Deprecated in favor of the `reason` property. * @deprecated * @nullable */ failureReason?: string | null; - /** The reason the scheduled failed to apply. */ - reason: string; - /** When Unleash last attempted to apply this change request. */ - scheduledAt: string; - /** The status of the schedule. */ - status: ChangeRequestScheduleSchemaOneOfThreeStatus; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestSchemaOneOf.ts index 947892870a..1586fddefd 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOf.ts @@ -3,38 +3,38 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestSchemaOneOfCreatedBy } from './changeRequestSchemaOneOfCreatedBy'; -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestSchemaOneOfState } from './changeRequestSchemaOneOfState'; export type ChangeRequestSchemaOneOf = { - /** A list of approvals that this change request has received. */ - approvals?: ChangeRequestApprovalSchema[]; - /** All comments that have been made on this change request. */ - comments?: ChangeRequestCommentSchema[]; - /** When this change request was created. */ - createdAt: string; - /** The user who created this change request. */ - createdBy: ChangeRequestSchemaOneOfCreatedBy; - /** The environment in which the changes should be applied. */ - environment: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; /** This change requests's ID. */ id: number; + /** A title describing the change request's content. */ + title?: string; + /** The environment in which the changes should be applied. */ + environment: string; /** The minimum number of approvals required before this change request can be applied. */ minApprovals: number; /** The project this change request belongs to. */ project: string; - /** A list of rejections that this change request has received. */ - rejections?: ChangeRequestApprovalSchema[]; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; /** The list of segments and their changes that relate to this change request. */ segments: ChangeRequestSegmentChangeSchema[]; + /** A list of approvals that this change request has received. */ + approvals?: ChangeRequestApprovalSchema[]; + /** A list of rejections that this change request has received. */ + rejections?: ChangeRequestApprovalSchema[]; + /** All comments that have been made on this change request. */ + comments?: ChangeRequestCommentSchema[]; + /** The user who created this change request. */ + createdBy: ChangeRequestSchemaOneOfCreatedBy; + /** When this change request was created. */ + createdAt: string; /** The current state of the change request. */ state: ChangeRequestSchemaOneOfState; - /** A title describing the change request's content. */ - title?: string; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts index b88fac52f4..1c8dae1619 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts @@ -8,11 +8,11 @@ * The user who created this change request. */ export type ChangeRequestSchemaOneOfCreatedBy = { + /** @nullable */ + username?: string | null; /** * The URL of the user's profile image. * @nullable */ imageUrl?: string | null; - /** @nullable */ - username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts index 3e3844f085..6bbb20e9be 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts @@ -3,40 +3,40 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestSchemaOneOfFourCreatedBy } from './changeRequestSchemaOneOfFourCreatedBy'; -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestSchemaOneOfFourState } from './changeRequestSchemaOneOfFourState'; +import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema'; export type ChangeRequestSchemaOneOfFour = { - /** A list of approvals that this change request has received. */ - approvals?: ChangeRequestApprovalSchema[]; - /** All comments that have been made on this change request. */ - comments?: ChangeRequestCommentSchema[]; - /** When this change request was created. */ - createdAt: string; - /** The user who created this change request. */ - createdBy: ChangeRequestSchemaOneOfFourCreatedBy; - /** The environment in which the changes should be applied. */ - environment: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; /** This change requests's ID. */ id: number; + /** A title describing the change request's content. */ + title?: string; + /** The environment in which the changes should be applied. */ + environment: string; /** The minimum number of approvals required before this change request can be applied. */ minApprovals: number; /** The project this change request belongs to. */ project: string; - /** A list of rejections that this change request has received. */ - rejections?: ChangeRequestApprovalSchema[]; - schedule: ChangeRequestScheduleSchema; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; /** The list of segments and their changes that relate to this change request. */ segments: ChangeRequestSegmentChangeSchema[]; + /** A list of approvals that this change request has received. */ + approvals?: ChangeRequestApprovalSchema[]; + /** A list of rejections that this change request has received. */ + rejections?: ChangeRequestApprovalSchema[]; + /** All comments that have been made on this change request. */ + comments?: ChangeRequestCommentSchema[]; + /** The user who created this change request. */ + createdBy: ChangeRequestSchemaOneOfFourCreatedBy; + /** When this change request was created. */ + createdAt: string; /** The current state of the change request. */ state: ChangeRequestSchemaOneOfFourState; - /** A title describing the change request's content. */ - title?: string; + schedule: ChangeRequestScheduleSchema; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts index 3b2c694a1f..08bcff9948 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts @@ -8,11 +8,11 @@ * The user who created this change request. */ export type ChangeRequestSchemaOneOfFourCreatedBy = { + /** @nullable */ + username?: string | null; /** * The URL of the user's profile image. * @nullable */ imageUrl?: string | null; - /** @nullable */ - username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts b/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts index 1198ab3ffe..48001fa35b 100644 --- a/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts +++ b/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts @@ -3,25 +3,25 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestSegmentChangeSchemaCreatedBy } from './changeRequestSegmentChangeSchemaCreatedBy'; import type { ChangeRequestSegmentChangeSchemaPayload } from './changeRequestSegmentChangeSchemaPayload'; +import type { ChangeRequestSegmentChangeSchemaCreatedBy } from './changeRequestSegmentChangeSchemaCreatedBy'; /** * A change request segment change, containing info about the type of segment change and the specific changes. */ export interface ChangeRequestSegmentChangeSchema { + /** The ID of this change. */ + id: number; /** The kind of action that the change contains information about. */ action: string; /** A description of the conflict caused by this change. Only present if there are any conflicts. */ conflict?: string; - /** When this change was suggested */ - createdAt?: string; - /** The user who created this change. */ - createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy; - /** The ID of this change. */ - id: number; - /** The current name of the segment */ - name: string; /** The data required to perform this action. */ payload: ChangeRequestSegmentChangeSchemaPayload; + /** The user who created this change. */ + createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy; + /** When this change was suggested */ + createdAt?: string; + /** The current name of the segment */ + name: string; } diff --git a/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts index fd4c41b5a6..f4ed5dcf0d 100644 --- a/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts @@ -8,14 +8,14 @@ * The user who created this change. */ export type ChangeRequestSegmentChangeSchemaCreatedBy = { - /** - * The URL where the user's image can be found. - * @nullable - */ - imageUrl?: string | null; /** * The user's username. * @nullable */ username?: string | null; + /** + * The URL where the user's image can be found. + * @nullable + */ + imageUrl?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts index dae86a4b89..a62a2b7f78 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts @@ -6,8 +6,8 @@ import type { ChangeRequestStateSchemaOneOfState } from './changeRequestStateSchemaOneOfState'; export type ChangeRequestStateSchemaOneOf = { - /** Any comments accompanying the state changed. Used when sending a draft to review. */ - comment?: string; /** The new desired state for the change request */ state: ChangeRequestStateSchemaOneOfState; + /** Any comments accompanying the state changed. Used when sending a draft to review. */ + comment?: string; }; diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts index cb4adb38b3..3d0bed1a3f 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts @@ -6,10 +6,10 @@ import type { ChangeRequestStateSchemaOneOfThreeState } from './changeRequestStateSchemaOneOfThreeState'; export type ChangeRequestStateSchemaOneOfThree = { - /** Any comments accompanying the state changed. Used when sending a draft to review. */ - comment?: string; - /** The time at which the change request should be applied. */ - scheduledAt: string; /** The new desired state for the change request */ state: ChangeRequestStateSchemaOneOfThreeState; + /** The time at which the change request should be applied. */ + scheduledAt: string; + /** Any comments accompanying the state changed. Used when sending a draft to review. */ + comment?: string; }; diff --git a/frontend/src/openapi/models/changeRequestsCountSchema.ts b/frontend/src/openapi/models/changeRequestsCountSchema.ts index 51c99477d8..f77fe69360 100644 --- a/frontend/src/openapi/models/changeRequestsCountSchema.ts +++ b/frontend/src/openapi/models/changeRequestsCountSchema.ts @@ -8,16 +8,16 @@ * Count of change requests in different stages of the [process](https://docs.getunleash.io/reference/change-requests#change-request-flow). */ export interface ChangeRequestsCountSchema { + /** The number of total change requests in this project */ + total: number; /** The number of applied change requests */ applied: number; - /** The number of approved change requests */ - approved: number; /** The number of rejected change requests */ rejected: number; /** The number of change requests awaiting the review */ reviewRequired: number; + /** The number of approved change requests */ + approved: number; /** The number of scheduled change requests */ scheduled: number; - /** The number of total change requests in this project */ - total: number; } diff --git a/frontend/src/openapi/models/changeRequestsSchemaItemOneOf.ts b/frontend/src/openapi/models/changeRequestsSchemaItemOneOf.ts index f8d5827bc8..e5bbb4e687 100644 --- a/frontend/src/openapi/models/changeRequestsSchemaItemOneOf.ts +++ b/frontend/src/openapi/models/changeRequestsSchemaItemOneOf.ts @@ -3,34 +3,20 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestsSchemaItemOneOfCreatedBy } from './changeRequestsSchemaItemOneOfCreatedBy'; -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestsSchemaItemOneOfState } from './changeRequestsSchemaItemOneOfState'; export type ChangeRequestsSchemaItemOneOf = { - /** - * A list of approvals that this change request has received. - * @deprecated - */ - approvals?: ChangeRequestApprovalSchema[]; - /** - * All comments that have been made on this change request. - * @deprecated - */ - comments?: ChangeRequestCommentSchema[]; - /** When this change request was created. */ - createdAt: string; - /** The user who created this change request. */ - createdBy: ChangeRequestsSchemaItemOneOfCreatedBy; - /** The environment in which the changes should be applied. */ - environment: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; /** This change requests's ID. */ id: number; + /** A title describing the change request's content. */ + title?: string; + /** The environment in which the changes should be applied. */ + environment: string; /** * The minimum number of approvals required before this change request can be applied. * @deprecated @@ -38,15 +24,29 @@ export type ChangeRequestsSchemaItemOneOf = { minApprovals: number; /** The project this change request belongs to. */ project: string; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; + /** The list of segments and their changes that relate to this change request. */ + segments: ChangeRequestSegmentChangeSchema[]; + /** + * A list of approvals that this change request has received. + * @deprecated + */ + approvals?: ChangeRequestApprovalSchema[]; /** * A list of rejections that this change request has received. * @deprecated */ rejections?: ChangeRequestApprovalSchema[]; - /** The list of segments and their changes that relate to this change request. */ - segments: ChangeRequestSegmentChangeSchema[]; + /** + * All comments that have been made on this change request. + * @deprecated + */ + comments?: ChangeRequestCommentSchema[]; + /** The user who created this change request. */ + createdBy: ChangeRequestsSchemaItemOneOfCreatedBy; + /** When this change request was created. */ + createdAt: string; /** The current state of the change request. */ state: ChangeRequestsSchemaItemOneOfState; - /** A title describing the change request's content. */ - title?: string; }; diff --git a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfCreatedBy.ts b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfCreatedBy.ts index 4e416c1f6a..14087d7b45 100644 --- a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfCreatedBy.ts @@ -8,11 +8,11 @@ * The user who created this change request. */ export type ChangeRequestsSchemaItemOneOfCreatedBy = { + /** @nullable */ + username?: string | null; /** * The URL of the user's profile image. * @nullable */ imageUrl?: string | null; - /** @nullable */ - username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFour.ts b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFour.ts index 52c44caab3..46962f3a29 100644 --- a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFour.ts +++ b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFour.ts @@ -3,35 +3,21 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestsSchemaItemOneOfFourCreatedBy } from './changeRequestsSchemaItemOneOfFourCreatedBy'; -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestsSchemaItemOneOfFourState } from './changeRequestsSchemaItemOneOfFourState'; +import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema'; export type ChangeRequestsSchemaItemOneOfFour = { - /** - * A list of approvals that this change request has received. - * @deprecated - */ - approvals?: ChangeRequestApprovalSchema[]; - /** - * All comments that have been made on this change request. - * @deprecated - */ - comments?: ChangeRequestCommentSchema[]; - /** When this change request was created. */ - createdAt: string; - /** The user who created this change request. */ - createdBy: ChangeRequestsSchemaItemOneOfFourCreatedBy; - /** The environment in which the changes should be applied. */ - environment: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; /** This change requests's ID. */ id: number; + /** A title describing the change request's content. */ + title?: string; + /** The environment in which the changes should be applied. */ + environment: string; /** * The minimum number of approvals required before this change request can be applied. * @deprecated @@ -39,16 +25,30 @@ export type ChangeRequestsSchemaItemOneOfFour = { minApprovals: number; /** The project this change request belongs to. */ project: string; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; + /** The list of segments and their changes that relate to this change request. */ + segments: ChangeRequestSegmentChangeSchema[]; + /** + * A list of approvals that this change request has received. + * @deprecated + */ + approvals?: ChangeRequestApprovalSchema[]; /** * A list of rejections that this change request has received. * @deprecated */ rejections?: ChangeRequestApprovalSchema[]; - schedule: ChangeRequestScheduleSchema; - /** The list of segments and their changes that relate to this change request. */ - segments: ChangeRequestSegmentChangeSchema[]; + /** + * All comments that have been made on this change request. + * @deprecated + */ + comments?: ChangeRequestCommentSchema[]; + /** The user who created this change request. */ + createdBy: ChangeRequestsSchemaItemOneOfFourCreatedBy; + /** When this change request was created. */ + createdAt: string; /** The current state of the change request. */ state: ChangeRequestsSchemaItemOneOfFourState; - /** A title describing the change request's content. */ - title?: string; + schedule: ChangeRequestScheduleSchema; }; diff --git a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFourCreatedBy.ts b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFourCreatedBy.ts index 15b6d8e157..29a72c62c2 100644 --- a/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFourCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestsSchemaItemOneOfFourCreatedBy.ts @@ -8,11 +8,11 @@ * The user who created this change request. */ export type ChangeRequestsSchemaItemOneOfFourCreatedBy = { + /** @nullable */ + username?: string | null; /** * The URL of the user's profile image. * @nullable */ imageUrl?: string | null; - /** @nullable */ - username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup401.ts b/frontend/src/openapi/models/changeRoleForGroup401.ts index 15f5b67dc2..96f9a4608e 100644 --- a/frontend/src/openapi/models/changeRoleForGroup401.ts +++ b/frontend/src/openapi/models/changeRoleForGroup401.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup403.ts b/frontend/src/openapi/models/changeRoleForGroup403.ts index 7f695da071..dc715f57ee 100644 --- a/frontend/src/openapi/models/changeRoleForGroup403.ts +++ b/frontend/src/openapi/models/changeRoleForGroup403.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup404.ts b/frontend/src/openapi/models/changeRoleForGroup404.ts index d889d7cd77..80ec80e0d7 100644 --- a/frontend/src/openapi/models/changeRoleForGroup404.ts +++ b/frontend/src/openapi/models/changeRoleForGroup404.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser401.ts b/frontend/src/openapi/models/changeRoleForUser401.ts index f0424f5f97..b7c30109ac 100644 --- a/frontend/src/openapi/models/changeRoleForUser401.ts +++ b/frontend/src/openapi/models/changeRoleForUser401.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser403.ts b/frontend/src/openapi/models/changeRoleForUser403.ts index 52505e476d..9c4233acc8 100644 --- a/frontend/src/openapi/models/changeRoleForUser403.ts +++ b/frontend/src/openapi/models/changeRoleForUser403.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser404.ts b/frontend/src/openapi/models/changeRoleForUser404.ts index 0a57e9473e..eb2cf023ab 100644 --- a/frontend/src/openapi/models/changeRoleForUser404.ts +++ b/frontend/src/openapi/models/changeRoleForUser404.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword400.ts b/frontend/src/openapi/models/changeUserPassword400.ts index bcbf7b55e9..483e455108 100644 --- a/frontend/src/openapi/models/changeUserPassword400.ts +++ b/frontend/src/openapi/models/changeUserPassword400.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword401.ts b/frontend/src/openapi/models/changeUserPassword401.ts index 0969f3a29e..951320e572 100644 --- a/frontend/src/openapi/models/changeUserPassword401.ts +++ b/frontend/src/openapi/models/changeUserPassword401.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword403.ts b/frontend/src/openapi/models/changeUserPassword403.ts index a34d6fa0fa..bc982be8c3 100644 --- a/frontend/src/openapi/models/changeUserPassword403.ts +++ b/frontend/src/openapi/models/changeUserPassword403.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/checkDependenciesExist401.ts b/frontend/src/openapi/models/checkDependenciesExist401.ts index cc344371a5..474c83c6b8 100644 --- a/frontend/src/openapi/models/checkDependenciesExist401.ts +++ b/frontend/src/openapi/models/checkDependenciesExist401.ts @@ -7,8 +7,8 @@ export type CheckDependenciesExist401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/checkDependenciesExist403.ts b/frontend/src/openapi/models/checkDependenciesExist403.ts index e5df00dbcf..b082e9aa50 100644 --- a/frontend/src/openapi/models/checkDependenciesExist403.ts +++ b/frontend/src/openapi/models/checkDependenciesExist403.ts @@ -7,8 +7,8 @@ export type CheckDependenciesExist403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/clientApplicationSchema.ts b/frontend/src/openapi/models/clientApplicationSchema.ts index b934ba7047..73aa287a98 100644 --- a/frontend/src/openapi/models/clientApplicationSchema.ts +++ b/frontend/src/openapi/models/clientApplicationSchema.ts @@ -11,30 +11,30 @@ import type { ClientApplicationSchemaStarted } from './clientApplicationSchemaSt export interface ClientApplicationSchema { /** An identifier for the app that uses the sdk, should be static across SDK restarts */ appName: string; + /** A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds */ + instanceId?: string; + /** An SDK version identifier. Usually formatted as "unleash-client-:" */ + sdkVersion?: string; /** * The SDK's configured 'environment' property. This property was deprecated in v5. This property does **not** control which Unleash environment the SDK gets toggles for. To control Unleash environments, use the SDKs API key. * @deprecated */ environment?: string; - /** A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds */ - instanceId?: string; + /** The platform the application is running on. For languages that compile to binaries, this can be omitted */ + platformName?: string; + /** The version of the platform the application is running on. Languages that compile to binaries, this is expected to be the compiler version used to assemble the binary. */ + platformVersion?: string; + /** The semantic version of the Yggdrasil engine used by the client. If the client is using a native engine this can be omitted. */ + yggdrasilVersion?: string; + /** The version of the Unleash client specification the client supports */ + specVersion?: string; /** * How often (in seconds) does the client refresh its toggles * @minimum 0 */ interval: number; - /** The platform the application is running on. For languages that compile to binaries, this can be omitted */ - platformName?: string; - /** The version of the platform the application is running on. Languages that compile to binaries, this is expected to be the compiler version used to assemble the binary. */ - platformVersion?: string; - /** An SDK version identifier. Usually formatted as "unleash-client-:" */ - sdkVersion?: string; - /** The version of the Unleash client specification the client supports */ - specVersion?: string; /** Either an RFC-3339 timestamp or a unix timestamp in seconds */ started: ClientApplicationSchemaStarted; /** Which strategies the SDKs runtime knows about */ strategies: string[]; - /** The semantic version of the Yggdrasil engine used by the client. If the client is using a native engine this can be omitted. */ - yggdrasilVersion?: string; } diff --git a/frontend/src/openapi/models/clientBulkMetrics400.ts b/frontend/src/openapi/models/clientBulkMetrics400.ts index 4e3ddd3025..1544f2f55d 100644 --- a/frontend/src/openapi/models/clientBulkMetrics400.ts +++ b/frontend/src/openapi/models/clientBulkMetrics400.ts @@ -7,8 +7,8 @@ export type ClientBulkMetrics400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/clientBulkMetrics413.ts b/frontend/src/openapi/models/clientBulkMetrics413.ts index 33df69fc25..021cd46406 100644 --- a/frontend/src/openapi/models/clientBulkMetrics413.ts +++ b/frontend/src/openapi/models/clientBulkMetrics413.ts @@ -7,8 +7,8 @@ export type ClientBulkMetrics413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/clientBulkMetrics415.ts b/frontend/src/openapi/models/clientBulkMetrics415.ts index fda6f465f3..6602d7d684 100644 --- a/frontend/src/openapi/models/clientBulkMetrics415.ts +++ b/frontend/src/openapi/models/clientBulkMetrics415.ts @@ -7,8 +7,8 @@ export type ClientBulkMetrics415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/clientFeatureSchema.ts b/frontend/src/openapi/models/clientFeatureSchema.ts index 874b0d94fb..987e74f9b4 100644 --- a/frontend/src/openapi/models/clientFeatureSchema.ts +++ b/frontend/src/openapi/models/clientFeatureSchema.ts @@ -3,16 +3,18 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { DependentFeatureSchema } from './dependentFeatureSchema'; import type { FeatureStrategySchema } from './featureStrategySchema'; import type { VariantSchema } from './variantSchema'; +import type { DependentFeatureSchema } from './dependentFeatureSchema'; /** * Feature flag configuration used by SDKs to evaluate state of a flag */ export interface ClientFeatureSchema { - /** Feature dependencies for this flag */ - dependencies?: DependentFeatureSchema[]; + /** The unique name of a feature flag. Is validated to be URL safe on creation */ + name: string; + /** What kind of feature flag is this. Refer to the documentation on [feature flag types](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types) for more information */ + type?: string; /** * A description of the flag * @nullable @@ -20,24 +22,22 @@ export interface ClientFeatureSchema { description?: string | null; /** Whether the feature flag is enabled for the current API key or not. This is ANDed with the evaluation results of the strategies list, so if this is false, the evaluation result will always be false */ enabled: boolean; + /** If this is true Unleash believes this feature flag has been active longer than Unleash expects a flag of this type to be active */ + stale?: boolean; /** * Set to true if SDKs should trigger [impression events](https://docs.getunleash.io/reference/impression-data) when this flag is evaluated * @nullable */ impressionData?: boolean | null; - /** The unique name of a feature flag. Is validated to be URL safe on creation */ - name: string; /** Which project this feature flag belongs to */ project?: string; - /** If this is true Unleash believes this feature flag has been active longer than Unleash expects a flag of this type to be active */ - stale?: boolean; /** Evaluation strategies for this flag. Each entry in this list will be evaluated and ORed together */ strategies?: FeatureStrategySchema[]; - /** What kind of feature flag is this. Refer to the documentation on [feature flag types](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types) for more information */ - type?: string; /** * [Variants](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) configured for this flag * @nullable */ variants?: VariantSchema[] | null; + /** Feature dependencies for this flag */ + dependencies?: DependentFeatureSchema[]; } 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..c2638277ff --- /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 { ClientFeaturesDeltaSchemaEventsItemAnyOfType } from './clientFeaturesDeltaSchemaEventsItemAnyOfType'; +import type { ClientFeatureSchema } from './clientFeatureSchema'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOf = { + eventId: number; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfType; + feature: ClientFeatureSchema; +}; diff --git a/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts b/frontend/src/openapi/models/clientFeaturesDeltaSchemaEventsItemAnyOfFive.ts new file mode 100644 index 0000000000..80c8b0b4c9 --- /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 { ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType } from './clientFeaturesDeltaSchemaEventsItemAnyOfFiveType'; +import type { ClientSegmentSchema } from './clientSegmentSchema'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfFive = { + eventId: number; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType; + segment: ClientSegmentSchema; +}; 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..9881195166 --- /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 { ClientFeaturesDeltaSchemaEventsItemAnyOfNineType } from './clientFeaturesDeltaSchemaEventsItemAnyOfNineType'; +import type { ClientFeatureSchema } from './clientFeatureSchema'; +import type { ClientSegmentSchema } from './clientSegmentSchema'; + +export type ClientFeaturesDeltaSchemaEventsItemAnyOfNine = { + eventId: number; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfNineType; + features: ClientFeatureSchema[]; + segments: ClientSegmentSchema[]; +}; 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..13dee9bb2a --- /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; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType; + segmentId: number; +}; 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..ba51b760a8 --- /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; + type: ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType; + featureName: string; + project: string; +}; 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/clientFeaturesQuerySchema.ts b/frontend/src/openapi/models/clientFeaturesQuerySchema.ts index 2cbce73d24..75ea240e21 100644 --- a/frontend/src/openapi/models/clientFeaturesQuerySchema.ts +++ b/frontend/src/openapi/models/clientFeaturesQuerySchema.ts @@ -8,6 +8,15 @@ * Query parameters active for a client features request */ export interface ClientFeaturesQuerySchema { + /** Features tagged with one of these tags are included */ + tag?: string[][]; + /** + * Features that are part of these projects are included in this response. This is now handled by API tokens and was marked as deprecated in v5 + * @deprecated + */ + project?: string[]; + /** Features are filtered to only include features whose name starts with this prefix */ + namePrefix?: string; /** * Strategies for the feature flag configured for this environment are included. This is now handled by API tokens and was marked as deprecated in v5 * @deprecated @@ -15,13 +24,4 @@ export interface ClientFeaturesQuerySchema { environment?: string; /** Set to true if requesting client does not support Unleash-Client-Specification 4.2.2 or newer. Modern SDKs will have this set to false, since they will be able to merge constraints and segments themselves */ inlineSegmentConstraints?: boolean; - /** Features are filtered to only include features whose name starts with this prefix */ - namePrefix?: string; - /** - * Features that are part of these projects are included in this response. This is now handled by API tokens and was marked as deprecated in v5 - * @deprecated - */ - project?: string[]; - /** Features tagged with one of these tags are included */ - tag?: string[][]; } diff --git a/frontend/src/openapi/models/clientFeaturesSchema.ts b/frontend/src/openapi/models/clientFeaturesSchema.ts index 9ffe6e439d..120704d97b 100644 --- a/frontend/src/openapi/models/clientFeaturesSchema.ts +++ b/frontend/src/openapi/models/clientFeaturesSchema.ts @@ -4,22 +4,22 @@ * See `gen:api` script in package.json */ import type { ClientFeatureSchema } from './clientFeatureSchema'; -import type { ClientFeaturesQuerySchema } from './clientFeaturesQuerySchema'; import type { ClientSegmentSchema } from './clientSegmentSchema'; +import type { ClientFeaturesQuerySchema } from './clientFeaturesQuerySchema'; /** * Configuration data for server-side SDKs for evaluating feature flags. */ export interface ClientFeaturesSchema { - /** A list of feature flags with their configuration */ - features: ClientFeatureSchema[]; - /** A summary of filters and parameters sent to the endpoint. Used by the server to build the features and segments response */ - query?: ClientFeaturesQuerySchema; - /** A list of [Segments](https://docs.getunleash.io/reference/segments) configured for this Unleash instance */ - segments?: ClientSegmentSchema[]; /** * A version number for the format used in the response. Most Unleash instances now return version 2, which includes segments as a separate array * @minimum 0 */ version: number; + /** A list of feature flags with their configuration */ + features: ClientFeatureSchema[]; + /** A list of [Segments](https://docs.getunleash.io/reference/segments) configured for this Unleash instance */ + segments?: ClientSegmentSchema[]; + /** A summary of filters and parameters sent to the endpoint. Used by the server to build the features and segments response */ + query?: ClientFeaturesQuerySchema; } diff --git a/frontend/src/openapi/models/clientMetricsEnvSchema.ts b/frontend/src/openapi/models/clientMetricsEnvSchema.ts index 0bba2774a6..7c64808d4f 100644 --- a/frontend/src/openapi/models/clientMetricsEnvSchema.ts +++ b/frontend/src/openapi/models/clientMetricsEnvSchema.ts @@ -10,24 +10,24 @@ import type { ClientMetricsEnvSchemaVariants } from './clientMetricsEnvSchemaVar * Used for reporting feature evaluation results from SDKs */ export interface ClientMetricsEnvSchema { + /** Name of the feature checked by the SDK */ + featureName: string; /** The name of the application the SDK is being used in */ appName: string; /** Which environment the SDK is being used in */ environment: string; - /** Name of the feature checked by the SDK */ - featureName: string; - /** - * How many times the toggle evaluated to false - * @minimum 0 - */ - no?: number; /** The start of the time window these metrics are valid for. The window is 1 hour wide */ timestamp?: DateSchema; - /** How many times each variant was returned */ - variants?: ClientMetricsEnvSchemaVariants; /** * How many times the toggle evaluated to true * @minimum 0 */ yes?: number; + /** + * How many times the toggle evaluated to false + * @minimum 0 + */ + no?: number; + /** How many times each variant was returned */ + variants?: ClientMetricsEnvSchemaVariants; } diff --git a/frontend/src/openapi/models/clientMetricsSchema.ts b/frontend/src/openapi/models/clientMetricsSchema.ts index 48aa290413..677c1df6c5 100644 --- a/frontend/src/openapi/models/clientMetricsSchema.ts +++ b/frontend/src/openapi/models/clientMetricsSchema.ts @@ -11,23 +11,23 @@ import type { ClientMetricsSchemaBucket } from './clientMetricsSchemaBucket'; export interface ClientMetricsSchema { /** The name of the application that is evaluating toggles */ appName: string; - /** Holds all metrics gathered over a window of time. Typically 1 hour wide */ - bucket: ClientMetricsSchemaBucket; + /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ + instanceId?: string; /** * Which environment the application is running in. This property was deprecated in v5. This can be determined by the API key calling this endpoint. * @deprecated */ environment?: string; - /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ - instanceId?: string; + /** An SDK version identifier. Usually formatted as "unleash-client-:" */ + sdkVersion?: string; /** The platform the application is running on. For languages that compile to binaries, this can be omitted */ platformName?: string; /** The version of the platform the application is running on. Languages that compile to binaries, this is expected to be the compiler version used to assemble the binary. */ platformVersion?: string; - /** An SDK version identifier. Usually formatted as "unleash-client-:" */ - sdkVersion?: string; - /** The version of the Unleash client specification the client supports */ - specVersion?: string; /** The semantic version of the Yggdrasil engine used by the client. If the client is using a native engine this can be omitted. */ yggdrasilVersion?: string; + /** The version of the Unleash client specification the client supports */ + specVersion?: string; + /** Holds all metrics gathered over a window of time. Typically 1 hour wide */ + bucket: ClientMetricsSchemaBucket; } diff --git a/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts b/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts index 182bda3b05..b889535203 100644 --- a/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts +++ b/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts @@ -10,6 +10,11 @@ import type { ClientMetricsSchemaBucketTogglesVariants } from './clientMetricsSc */ export type ClientMetricsSchemaBucketToggles = { [key: string]: { + /** + * How many times the toggle evaluated to true + * @minimum 0 + */ + yes?: number; /** * How many times the toggle evaluated to false * @minimum 0 @@ -17,10 +22,5 @@ export type ClientMetricsSchemaBucketToggles = { no?: number; /** An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. `{ [variantName]: number }`). */ variants?: ClientMetricsSchemaBucketTogglesVariants; - /** - * How many times the toggle evaluated to true - * @minimum 0 - */ - yes?: number; }; }; diff --git a/frontend/src/openapi/models/clientSegmentSchema.ts b/frontend/src/openapi/models/clientSegmentSchema.ts index 7bc1443e47..610de0c3e3 100644 --- a/frontend/src/openapi/models/clientSegmentSchema.ts +++ b/frontend/src/openapi/models/clientSegmentSchema.ts @@ -9,10 +9,10 @@ import type { ConstraintSchema } from './constraintSchema'; * Represents a client API segment of users defined by a set of constraints. */ export interface ClientSegmentSchema { - /** List of constraints that determine which users are part of the segment */ - constraints: ConstraintSchema[]; /** The segment's id. */ id: number; /** The name of the segment. */ name?: string; + /** List of constraints that determine which users are part of the segment */ + constraints: ConstraintSchema[]; } diff --git a/frontend/src/openapi/models/cloneEnvironment400.ts b/frontend/src/openapi/models/cloneEnvironment400.ts deleted file mode 100644 index 1e47e9611c..0000000000 --- a/frontend/src/openapi/models/cloneEnvironment400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CloneEnvironment400 = { - /** 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/cloneEnvironment401.ts b/frontend/src/openapi/models/cloneEnvironment401.ts deleted file mode 100644 index 0fd43349dd..0000000000 --- a/frontend/src/openapi/models/cloneEnvironment401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CloneEnvironment401 = { - /** 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/cloneEnvironmentSchema.ts b/frontend/src/openapi/models/cloneEnvironmentSchema.ts index 0d0f7a1878..b75e87bea6 100644 --- a/frontend/src/openapi/models/cloneEnvironmentSchema.ts +++ b/frontend/src/openapi/models/cloneEnvironmentSchema.ts @@ -8,12 +8,12 @@ * Data used to clone an environment. */ export interface CloneEnvironmentSchema { - /** Copies the RBAC permissions from the source environment if true. Defaults to true */ - clonePermissions?: boolean; /** The name of the new cloned environment, this cannot be changed later */ name: string; - /** A list of projects that should be included in the cloned environment. */ - projects?: string[]; /** Updates the type of environment (i.e. development or production). */ type: string; + /** A list of projects that should be included in the cloned environment. */ + projects?: string[]; + /** Copies the RBAC permissions from the source environment if true. Defaults to true */ + clonePermissions?: boolean; } diff --git a/frontend/src/openapi/models/cloneFeature401.ts b/frontend/src/openapi/models/cloneFeature401.ts index 1bbfbc170d..4cdf53827b 100644 --- a/frontend/src/openapi/models/cloneFeature401.ts +++ b/frontend/src/openapi/models/cloneFeature401.ts @@ -7,8 +7,8 @@ export type CloneFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature403.ts b/frontend/src/openapi/models/cloneFeature403.ts index ea7e5934fb..3cc825c5e5 100644 --- a/frontend/src/openapi/models/cloneFeature403.ts +++ b/frontend/src/openapi/models/cloneFeature403.ts @@ -7,8 +7,8 @@ export type CloneFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature404.ts b/frontend/src/openapi/models/cloneFeature404.ts index fb3956d460..7dba2d1e60 100644 --- a/frontend/src/openapi/models/cloneFeature404.ts +++ b/frontend/src/openapi/models/cloneFeature404.ts @@ -7,8 +7,8 @@ export type CloneFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature415.ts b/frontend/src/openapi/models/cloneFeature415.ts index 4cce4b6559..cfad7b23c0 100644 --- a/frontend/src/openapi/models/cloneFeature415.ts +++ b/frontend/src/openapi/models/cloneFeature415.ts @@ -7,8 +7,8 @@ export type CloneFeature415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/complete401.ts b/frontend/src/openapi/models/complete401.ts index f087914995..dc67212786 100644 --- a/frontend/src/openapi/models/complete401.ts +++ b/frontend/src/openapi/models/complete401.ts @@ -7,8 +7,8 @@ export type Complete401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/complete403.ts b/frontend/src/openapi/models/complete403.ts index 104115d2dd..6e015dfbca 100644 --- a/frontend/src/openapi/models/complete403.ts +++ b/frontend/src/openapi/models/complete403.ts @@ -7,8 +7,8 @@ export type Complete403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/complete404.ts b/frontend/src/openapi/models/complete404.ts index 7c3dd44f99..636fedcd44 100644 --- a/frontend/src/openapi/models/complete404.ts +++ b/frontend/src/openapi/models/complete404.ts @@ -7,8 +7,8 @@ export type Complete404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/constraintSchema.ts b/frontend/src/openapi/models/constraintSchema.ts index eece6c6c38..cefcc7db08 100644 --- a/frontend/src/openapi/models/constraintSchema.ts +++ b/frontend/src/openapi/models/constraintSchema.ts @@ -6,19 +6,19 @@ 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). */ - caseInsensitive?: boolean; /** The name of the context field that this constraint should apply to. */ contextName: string; + /** 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; + /** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ + caseInsensitive?: boolean; /** 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). */ - 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; /** The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ values?: string[]; + /** 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/contextFieldSchema.ts b/frontend/src/openapi/models/contextFieldSchema.ts index 62565b07a2..018ca5f324 100644 --- a/frontend/src/openapi/models/contextFieldSchema.ts +++ b/frontend/src/openapi/models/contextFieldSchema.ts @@ -9,24 +9,22 @@ import type { LegalValueSchema } from './legalValueSchema'; * A representation of a [context field](https://docs.getunleash.io/reference/unleash-context). */ export interface ContextFieldSchema { - /** - * When this context field was created - * @nullable - */ - createdAt?: string | null; + /** The name of the context field */ + name: string; /** * The description of the context field. * @nullable */ description?: string | null; - /** Allowed values for this context field schema. Can be used to narrow down accepted input */ - legalValues?: LegalValueSchema[]; - /** The name of the context field */ - name: string; - /** Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically. */ - sortOrder?: number; /** Does this context field support being used for [stickiness](https://docs.getunleash.io/reference/stickiness) calculations */ stickiness?: boolean; + /** Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically. */ + sortOrder?: number; + /** + * When this context field was created + * @nullable + */ + createdAt?: string | null; /** * Number of projects where this context field is used in * @minimum 0 @@ -39,4 +37,6 @@ export interface ContextFieldSchema { * @nullable */ usedInProjects?: number | null; + /** Allowed values for this context field schema. Can be used to narrow down accepted input */ + legalValues?: LegalValueSchema[]; } diff --git a/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts b/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts index 953f5614c3..4f89781dbb 100644 --- a/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts +++ b/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts @@ -5,14 +5,14 @@ */ export type ContextFieldStrategiesSchemaStrategiesItem = { - /** The ID of the environment where this strategy is in. */ - environment: string; - /** The name of the feature that contains this strategy. */ - featureName: string; /** The ID of the strategy. */ id: string; + /** The name of the feature that contains this strategy. */ + featureName: string; /** The ID of the project that contains this feature. */ projectId: string; + /** The ID of the environment where this strategy is in. */ + environment: string; /** The name of the strategy. */ strategyName: string; }; diff --git a/frontend/src/openapi/models/createActionSchema.ts b/frontend/src/openapi/models/createActionSchema.ts index 72d335c804..c8a98290a0 100644 --- a/frontend/src/openapi/models/createActionSchema.ts +++ b/frontend/src/openapi/models/createActionSchema.ts @@ -11,11 +11,11 @@ import type { CreateActionSchemaExecutionParams } from './createActionSchemaExec export interface CreateActionSchema { /** The name of the action to execute */ action: string; - /** A map of parameters to pass to the action */ - executionParams?: CreateActionSchemaExecutionParams; /** * The order in which the action should be executed * @minimum 1 */ sortOrder: number; + /** A map of parameters to pass to the action */ + executionParams?: CreateActionSchemaExecutionParams; } diff --git a/frontend/src/openapi/models/createActionsSchema.ts b/frontend/src/openapi/models/createActionsSchema.ts index 234f42e09c..ad159ba3cc 100644 --- a/frontend/src/openapi/models/createActionsSchema.ts +++ b/frontend/src/openapi/models/createActionsSchema.ts @@ -10,22 +10,22 @@ import type { CreateActionsSchemaMatch } from './createActionsSchemaMatch'; * An action set defines actions that Unleash performs when a signal is matched. */ export interface CreateActionsSchema { - /** The list of actions to execute in sequential order when the action set is triggered */ - actions: CreateActionSchema[]; - /** - * The id of the service account that will execute the action - * @minimum 1 - */ - actorId: number; + /** The name of the action set */ + name: string; /** * The description of the action set * @nullable */ description?: string | null; + /** + * The id of the service account that will execute the action + * @minimum 1 + */ + actorId: number; /** Whether this action set is enabled or not */ enabled?: boolean; + /** The list of actions to execute in sequential order when the action set is triggered */ + actions: CreateActionSchema[]; /** Defines a matching rule for the signal that will trigger the action set */ match: CreateActionsSchemaMatch; - /** The name of the action set */ - name: string; } diff --git a/frontend/src/openapi/models/createActionsSchemaMatch.ts b/frontend/src/openapi/models/createActionsSchemaMatch.ts index 7063447b9a..f063a04962 100644 --- a/frontend/src/openapi/models/createActionsSchemaMatch.ts +++ b/frontend/src/openapi/models/createActionsSchemaMatch.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateActionsSchemaMatchPayload } from './createActionsSchemaMatchPayload'; import type { CreateActionsSchemaMatchSource } from './createActionsSchemaMatchSource'; +import type { CreateActionsSchemaMatchPayload } from './createActionsSchemaMatchPayload'; /** * Defines a matching rule for the signal that will trigger the action set */ export type CreateActionsSchemaMatch = { - /** Match the payload of the signal */ - payload: CreateActionsSchemaMatchPayload; /** Match the source of the signal */ source: CreateActionsSchemaMatchSource; /** Match the source id of the signal */ sourceId: number; + /** Match the payload of the signal */ + payload: CreateActionsSchemaMatchPayload; }; diff --git a/frontend/src/openapi/models/createAddon400.ts b/frontend/src/openapi/models/createAddon400.ts index d37de487fa..a9780a07bb 100644 --- a/frontend/src/openapi/models/createAddon400.ts +++ b/frontend/src/openapi/models/createAddon400.ts @@ -7,8 +7,8 @@ export type CreateAddon400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createAddon401.ts b/frontend/src/openapi/models/createAddon401.ts index efe5a37805..71f482e976 100644 --- a/frontend/src/openapi/models/createAddon401.ts +++ b/frontend/src/openapi/models/createAddon401.ts @@ -7,8 +7,8 @@ export type CreateAddon401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createAddon403.ts b/frontend/src/openapi/models/createAddon403.ts index 0cd705350d..af13d131a9 100644 --- a/frontend/src/openapi/models/createAddon403.ts +++ b/frontend/src/openapi/models/createAddon403.ts @@ -7,8 +7,8 @@ export type CreateAddon403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createAddon413.ts b/frontend/src/openapi/models/createAddon413.ts index ee6de7a482..9445ded15e 100644 --- a/frontend/src/openapi/models/createAddon413.ts +++ b/frontend/src/openapi/models/createAddon413.ts @@ -7,8 +7,8 @@ export type CreateAddon413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createAddon415.ts b/frontend/src/openapi/models/createAddon415.ts index 833cc0ac54..e25960cad0 100644 --- a/frontend/src/openapi/models/createAddon415.ts +++ b/frontend/src/openapi/models/createAddon415.ts @@ -7,8 +7,8 @@ export type CreateAddon415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApiToken401.ts b/frontend/src/openapi/models/createApiToken401.ts index 9761fb4b59..0f6914ec05 100644 --- a/frontend/src/openapi/models/createApiToken401.ts +++ b/frontend/src/openapi/models/createApiToken401.ts @@ -7,8 +7,8 @@ export type CreateApiToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApiToken403.ts b/frontend/src/openapi/models/createApiToken403.ts index ce0c5b4d98..f57f67a484 100644 --- a/frontend/src/openapi/models/createApiToken403.ts +++ b/frontend/src/openapi/models/createApiToken403.ts @@ -7,8 +7,8 @@ export type CreateApiToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApiToken415.ts b/frontend/src/openapi/models/createApiToken415.ts index 69567984ff..c1e373b692 100644 --- a/frontend/src/openapi/models/createApiToken415.ts +++ b/frontend/src/openapi/models/createApiToken415.ts @@ -7,8 +7,8 @@ export type CreateApiToken415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts index 4ca504fe98..7f62ba6c73 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts @@ -7,11 +7,11 @@ export type CreateApiTokenSchemaOneOf = { /** The time when this token should expire. */ expiresAt?: string; - /** The name of the token. */ - tokenName: string; /** * An admin token. Must be the string "admin" (not case sensitive). * @pattern ^[Aa][Dd][Mm][Ii][Nn]$ */ type: string; + /** The name of the token. */ + tokenName: string; }; diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts index bd71b4349a..2dbf10e068 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts @@ -5,19 +5,19 @@ */ export type CreateApiTokenSchemaOneOfFour = { - /** The environment that the token should be valid for. Defaults to "default" */ - environment?: string; /** The time when this token should expire. */ expiresAt?: string; - /** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */ - project?: string; - /** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */ - projects?: string[]; /** * A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). * @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$ */ type: string; + /** The environment that the token should be valid for. Defaults to "default" */ + environment?: string; + /** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */ + project?: string; + /** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */ + projects?: string[]; /** * The name of the token. This property was deprecated in v5. Use `tokenName` instead. * @deprecated diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts index e9f0207fc0..a6319fb977 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts @@ -5,19 +5,19 @@ */ export type CreateApiTokenSchemaOneOfThree = { - /** The environment that the token should be valid for. Defaults to "default" */ - environment?: string; /** The time when this token should expire. */ expiresAt?: string; + /** + * A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). + * @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$ + */ + type: string; + /** The environment that the token should be valid for. Defaults to "default" */ + environment?: string; /** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */ project?: string; /** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */ projects?: string[]; /** The name of the token. */ tokenName: string; - /** - * A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). - * @pattern ^([Cc][Ll][Ii][Ee][Nn][Tt]|[Ff][Rr][Oo][Nn][Tt][Ee][Nn][Dd])$ - */ - type: string; }; diff --git a/frontend/src/openapi/models/createApplication400.ts b/frontend/src/openapi/models/createApplication400.ts index 0f305cc041..e312d01476 100644 --- a/frontend/src/openapi/models/createApplication400.ts +++ b/frontend/src/openapi/models/createApplication400.ts @@ -7,8 +7,8 @@ export type CreateApplication400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApplication401.ts b/frontend/src/openapi/models/createApplication401.ts index d1f08a6850..c9646590ea 100644 --- a/frontend/src/openapi/models/createApplication401.ts +++ b/frontend/src/openapi/models/createApplication401.ts @@ -7,8 +7,8 @@ export type CreateApplication401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApplication403.ts b/frontend/src/openapi/models/createApplication403.ts index b28d9aa8e3..42d03ba3d8 100644 --- a/frontend/src/openapi/models/createApplication403.ts +++ b/frontend/src/openapi/models/createApplication403.ts @@ -7,8 +7,8 @@ export type CreateApplication403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createApplicationSchema.ts b/frontend/src/openapi/models/createApplicationSchema.ts index f2b129bec2..7ed0757bdf 100644 --- a/frontend/src/openapi/models/createApplicationSchema.ts +++ b/frontend/src/openapi/models/createApplicationSchema.ts @@ -10,14 +10,14 @@ export interface CreateApplicationSchema { /** Name of the application */ appName?: string; - /** Css color to be used to color the application's entry in the application list */ - color?: string; - /** An URL to an icon file to be used for the applications's entry in the application list */ - icon?: string; /** Which SDK and version the application reporting uses. Typically represented as `:` */ sdkVersion?: string; /** Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK */ strategies?: string[]; /** A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application */ url?: string; + /** Css color to be used to color the application's entry in the application list */ + color?: string; + /** An URL to an icon file to be used for the applications's entry in the application list */ + icon?: string; } diff --git a/frontend/src/openapi/models/createBanner401.ts b/frontend/src/openapi/models/createBanner401.ts deleted file mode 100644 index 5c1005221a..0000000000 --- a/frontend/src/openapi/models/createBanner401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateBanner401 = { - /** 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/createBanner415.ts b/frontend/src/openapi/models/createBanner415.ts deleted file mode 100644 index 56cab84ec3..0000000000 --- a/frontend/src/openapi/models/createBanner415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateBanner415 = { - /** 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/createBannerSchema.ts b/frontend/src/openapi/models/createBannerSchema.ts index a4fe63f562..412c94f62f 100644 --- a/frontend/src/openapi/models/createBannerSchema.ts +++ b/frontend/src/openapi/models/createBannerSchema.ts @@ -8,18 +8,14 @@ * Describes the properties required to create or update a banner. */ export interface CreateBannerSchema { - /** - * The markdown to display on the dialog. If not specified, no dialog will be displayed. - * @nullable - */ - dialog?: string | null; - /** - * The title to display on the dialog. If not specified, this will be the same as `linkText`. - * @nullable - */ - dialogTitle?: string | null; + /** The message to display to all users. Supports markdown. */ + message: string; /** Whether the banner should be displayed currently. If not specified, defaults to true. */ enabled?: boolean; + /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; + /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; /** * The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. * @nullable @@ -35,10 +31,14 @@ export interface CreateBannerSchema { * @nullable */ linkText?: string | null; - /** The message to display to all users. Supports markdown. */ - message: string; - /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ - sticky?: boolean; - /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ - variant?: string; + /** + * The title to display on the dialog. If not specified, this will be the same as `linkText`. + * @nullable + */ + dialogTitle?: string | null; + /** + * The markdown to display on the dialog. If not specified, no dialog will be displayed. + * @nullable + */ + dialog?: string | null; } diff --git a/frontend/src/openapi/models/createContextFieldSchema.ts b/frontend/src/openapi/models/createContextFieldSchema.ts index 17a5926480..5bc0ff3833 100644 --- a/frontend/src/openapi/models/createContextFieldSchema.ts +++ b/frontend/src/openapi/models/createContextFieldSchema.ts @@ -11,12 +11,12 @@ import type { LegalValueSchema } from './legalValueSchema'; export interface CreateContextFieldSchema { /** A description of the context field */ description?: string; + /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ + stickiness?: boolean; + /** How this context field should be sorted if no other sort order is selected */ + sortOrder?: number; /** A list of allowed values for this context field */ legalValues?: LegalValueSchema[]; /** The name of the context field. */ name: string; - /** How this context field should be sorted if no other sort order is selected */ - sortOrder?: number; - /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ - stickiness?: boolean; } diff --git a/frontend/src/openapi/models/createDependentFeatureSchema.ts b/frontend/src/openapi/models/createDependentFeatureSchema.ts index c806dadc4d..1d6a07cf51 100644 --- a/frontend/src/openapi/models/createDependentFeatureSchema.ts +++ b/frontend/src/openapi/models/createDependentFeatureSchema.ts @@ -8,10 +8,10 @@ * Feature dependency on a parent feature in write model */ export interface CreateDependentFeatureSchema { - /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ - enabled?: boolean; /** The name of the feature we depend on. */ feature: string; + /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ + enabled?: boolean; /** The list of variants the parent feature should resolve to. Leave empty when you only want to check the `enabled` status. */ variants?: string[]; } diff --git a/frontend/src/openapi/models/createEnvironment400.ts b/frontend/src/openapi/models/createEnvironment400.ts deleted file mode 100644 index 717877c797..0000000000 --- a/frontend/src/openapi/models/createEnvironment400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateEnvironment400 = { - /** 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/createEnvironment401.ts b/frontend/src/openapi/models/createEnvironment401.ts deleted file mode 100644 index 8aefd21db4..0000000000 --- a/frontend/src/openapi/models/createEnvironment401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateEnvironment401 = { - /** 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/createEnvironmentSchema.ts b/frontend/src/openapi/models/createEnvironmentSchema.ts index cb20a4b1a4..916f199e6c 100644 --- a/frontend/src/openapi/models/createEnvironmentSchema.ts +++ b/frontend/src/openapi/models/createEnvironmentSchema.ts @@ -8,15 +8,11 @@ * Data required to create a new [environment](https://docs.getunleash.io/reference/environments) */ export interface CreateEnvironmentSchema { - /** Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state. */ - enabled?: boolean; /** * The name of the environment. Must be a URL-friendly string according to [RFC 3968, section 2.3](https://www.rfc-editor.org/rfc/rfc3986#section-2.3) * @pattern ^[a-zA-Z0-9~_.-]+$ */ name: string; - /** Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later. */ - sortOrder?: number; /** * The [type of environment](https://docs.getunleash.io/reference/environments#environment-types) you would like to create. Unleash officially recognizes the following values: - `development` @@ -28,4 +24,8 @@ If you pass a string that is not one of the recognized values, Unleash will acce * @minLength 1 */ type: string; + /** Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state. */ + enabled?: boolean; + /** Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later. */ + sortOrder?: number; } diff --git a/frontend/src/openapi/models/createFeature401.ts b/frontend/src/openapi/models/createFeature401.ts index 8c2d3423d6..d6455796a6 100644 --- a/frontend/src/openapi/models/createFeature401.ts +++ b/frontend/src/openapi/models/createFeature401.ts @@ -7,8 +7,8 @@ export type CreateFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeature403.ts b/frontend/src/openapi/models/createFeature403.ts index fa5ab2fc30..17b1fcfedd 100644 --- a/frontend/src/openapi/models/createFeature403.ts +++ b/frontend/src/openapi/models/createFeature403.ts @@ -7,8 +7,8 @@ export type CreateFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeature404.ts b/frontend/src/openapi/models/createFeature404.ts index a7417a67d9..f511647cf3 100644 --- a/frontend/src/openapi/models/createFeature404.ts +++ b/frontend/src/openapi/models/createFeature404.ts @@ -7,8 +7,8 @@ export type CreateFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeature415.ts b/frontend/src/openapi/models/createFeature415.ts index e2a8156a9d..902e3fdea9 100644 --- a/frontend/src/openapi/models/createFeature415.ts +++ b/frontend/src/openapi/models/createFeature415.ts @@ -7,8 +7,8 @@ export type CreateFeature415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts b/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts index 4be2e247ee..e3c70f9982 100644 --- a/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts +++ b/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts @@ -9,18 +9,18 @@ */ export interface CreateFeatureNamingPatternSchema { /** - * A description of the pattern in a human-readable format. Will be shown to users when they create a new feature flag. + * A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed. * @nullable */ - description?: string | null; + pattern: string | null; /** * An example of a feature name that matches the pattern. Must itself match the pattern supplied. * @nullable */ example?: string | null; /** - * A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed. + * A description of the pattern in a human-readable format. Will be shown to users when they create a new feature flag. * @nullable */ - pattern: string | null; + description?: string | null; } diff --git a/frontend/src/openapi/models/createFeatureSchema.ts b/frontend/src/openapi/models/createFeatureSchema.ts index 75fe4c534f..f3fedbffe1 100644 --- a/frontend/src/openapi/models/createFeatureSchema.ts +++ b/frontend/src/openapi/models/createFeatureSchema.ts @@ -3,13 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { TagSchema } from './tagSchema'; import type { CreateFeatureSchemaType } from './createFeatureSchemaType'; +import type { TagSchema } from './tagSchema'; /** * Data used to create a new feature flag. */ export interface CreateFeatureSchema { + /** Unique feature name */ + name: string; + /** The feature flag's [type](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types). One of experiment, kill-switch, release, operational, or permission */ + type?: CreateFeatureSchemaType; /** * Detailed description of the feature * @nullable @@ -17,10 +21,6 @@ export interface CreateFeatureSchema { description?: string | null; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData?: boolean; - /** Unique feature name */ - name: string; /** Tags to add to the feature. */ tags?: TagSchema[]; - /** The feature flag's [type](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types). One of experiment, kill-switch, release, operational, or permission */ - type?: CreateFeatureSchemaType; } diff --git a/frontend/src/openapi/models/createFeatureStrategySchema.ts b/frontend/src/openapi/models/createFeatureStrategySchema.ts index 73f7e1727a..df52989ca6 100644 --- a/frontend/src/openapi/models/createFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/createFeatureStrategySchema.ts @@ -4,33 +4,33 @@ * See `gen:api` script in package.json */ import type { ConstraintSchema } from './constraintSchema'; -import type { ParametersSchema } from './parametersSchema'; import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema'; +import type { ParametersSchema } from './parametersSchema'; /** * 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 */ - constraints?: ConstraintSchema[]; - /** - * A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs - * @nullable - */ - disabled?: boolean | null; /** The name of the strategy type */ name: string; - /** An object containing the parameters for the strategy */ - parameters?: ParametersSchema; - /** Ids of segments to use for this strategy */ - segments?: number[]; - /** The order of the strategy in the list */ - sortOrder?: number; /** * A descriptive title for the strategy * @nullable */ title?: string | null; + /** + * A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs + * @nullable + */ + disabled?: boolean | null; + /** The order of the strategy in the list */ + sortOrder?: number; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** Strategy level variants */ variants?: CreateStrategyVariantSchema[]; + /** An object containing the parameters for the strategy */ + parameters?: ParametersSchema; + /** Ids of segments to use for this strategy */ + segments?: number[]; } diff --git a/frontend/src/openapi/models/createFeedback400.ts b/frontend/src/openapi/models/createFeedback400.ts index 8985c94af6..7af9a5a353 100644 --- a/frontend/src/openapi/models/createFeedback400.ts +++ b/frontend/src/openapi/models/createFeedback400.ts @@ -7,8 +7,8 @@ export type CreateFeedback400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeedback401.ts b/frontend/src/openapi/models/createFeedback401.ts index 4f2855e850..de35ac003d 100644 --- a/frontend/src/openapi/models/createFeedback401.ts +++ b/frontend/src/openapi/models/createFeedback401.ts @@ -7,8 +7,8 @@ export type CreateFeedback401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createFeedback415.ts b/frontend/src/openapi/models/createFeedback415.ts index cd563b88a6..f3439ebf19 100644 --- a/frontend/src/openapi/models/createFeedback415.ts +++ b/frontend/src/openapi/models/createFeedback415.ts @@ -7,8 +7,8 @@ export type CreateFeedback415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createGroup400.ts b/frontend/src/openapi/models/createGroup400.ts deleted file mode 100644 index f3dfa3bf6b..0000000000 --- a/frontend/src/openapi/models/createGroup400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateGroup400 = { - /** 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/createGroup401.ts b/frontend/src/openapi/models/createGroup401.ts deleted file mode 100644 index 0ad14e25d5..0000000000 --- a/frontend/src/openapi/models/createGroup401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateGroup401 = { - /** 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/createGroup403.ts b/frontend/src/openapi/models/createGroup403.ts deleted file mode 100644 index d18b702176..0000000000 --- a/frontend/src/openapi/models/createGroup403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateGroup403 = { - /** 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/createGroup409.ts b/frontend/src/openapi/models/createGroup409.ts deleted file mode 100644 index 01a5a944f2..0000000000 --- a/frontend/src/openapi/models/createGroup409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateGroup409 = { - /** 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/createGroupSchema.ts b/frontend/src/openapi/models/createGroupSchema.ts index 02241aa864..7075662ee7 100644 --- a/frontend/src/openapi/models/createGroupSchema.ts +++ b/frontend/src/openapi/models/createGroupSchema.ts @@ -9,6 +9,8 @@ import type { CreateGroupSchemaUsersItem } from './createGroupSchemaUsersItem'; * A detailed information about a user group */ export interface CreateGroupSchema { + /** The name of the group */ + name: string; /** * A custom description of the group * @nullable @@ -16,8 +18,6 @@ export interface CreateGroupSchema { description?: string | null; /** A list of SSO groups that should map to this Unleash group */ mappingsSSO?: string[]; - /** The name of the group */ - name: string; /** * A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. * @nullable diff --git a/frontend/src/openapi/models/createInvitedUserSchema.ts b/frontend/src/openapi/models/createInvitedUserSchema.ts index e46dd44fa6..72a59b56a5 100644 --- a/frontend/src/openapi/models/createInvitedUserSchema.ts +++ b/frontend/src/openapi/models/createInvitedUserSchema.ts @@ -8,12 +8,12 @@ * Data used to create a user that has been invited to Unleash. */ export interface CreateInvitedUserSchema { + /** The user's username. Must be unique if provided. */ + username?: string; /** The invited user's email address */ email: string; /** The user's name */ name: string; /** The user's password */ password: string; - /** The user's username. Must be unique if provided. */ - username?: string; } diff --git a/frontend/src/openapi/models/createPat401.ts b/frontend/src/openapi/models/createPat401.ts index 91201540da..77040a5403 100644 --- a/frontend/src/openapi/models/createPat401.ts +++ b/frontend/src/openapi/models/createPat401.ts @@ -7,8 +7,8 @@ export type CreatePat401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createPat403.ts b/frontend/src/openapi/models/createPat403.ts index e51110d46d..cfbd19bf56 100644 --- a/frontend/src/openapi/models/createPat403.ts +++ b/frontend/src/openapi/models/createPat403.ts @@ -7,8 +7,8 @@ export type CreatePat403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createPat404.ts b/frontend/src/openapi/models/createPat404.ts index d587f513a5..d652400ef3 100644 --- a/frontend/src/openapi/models/createPat404.ts +++ b/frontend/src/openapi/models/createPat404.ts @@ -7,8 +7,8 @@ export type CreatePat404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; 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/createProject400.ts b/frontend/src/openapi/models/createProject400.ts index c1c3735707..2ba2a9ea07 100644 --- a/frontend/src/openapi/models/createProject400.ts +++ b/frontend/src/openapi/models/createProject400.ts @@ -7,8 +7,8 @@ export type CreateProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProject401.ts b/frontend/src/openapi/models/createProject401.ts index 64553578bd..1e14423432 100644 --- a/frontend/src/openapi/models/createProject401.ts +++ b/frontend/src/openapi/models/createProject401.ts @@ -7,8 +7,8 @@ export type CreateProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProject403.ts b/frontend/src/openapi/models/createProject403.ts index eae97697bf..d20fd7f8b8 100644 --- a/frontend/src/openapi/models/createProject403.ts +++ b/frontend/src/openapi/models/createProject403.ts @@ -7,8 +7,8 @@ export type CreateProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProject415.ts b/frontend/src/openapi/models/createProject415.ts index b60c4d6d4b..ceb93104df 100644 --- a/frontend/src/openapi/models/createProject415.ts +++ b/frontend/src/openapi/models/createProject415.ts @@ -7,8 +7,8 @@ export type CreateProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken400.ts b/frontend/src/openapi/models/createProjectApiToken400.ts index 400861c523..54590d407e 100644 --- a/frontend/src/openapi/models/createProjectApiToken400.ts +++ b/frontend/src/openapi/models/createProjectApiToken400.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken401.ts b/frontend/src/openapi/models/createProjectApiToken401.ts index 026a01e5ab..e618976446 100644 --- a/frontend/src/openapi/models/createProjectApiToken401.ts +++ b/frontend/src/openapi/models/createProjectApiToken401.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken403.ts b/frontend/src/openapi/models/createProjectApiToken403.ts index 4b27df33cb..99b7ec4889 100644 --- a/frontend/src/openapi/models/createProjectApiToken403.ts +++ b/frontend/src/openapi/models/createProjectApiToken403.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken404.ts b/frontend/src/openapi/models/createProjectApiToken404.ts index 0bd090548a..3696277b10 100644 --- a/frontend/src/openapi/models/createProjectApiToken404.ts +++ b/frontend/src/openapi/models/createProjectApiToken404.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createProjectSchema.ts b/frontend/src/openapi/models/createProjectSchema.ts index c7ff0dc742..f10c7cd1ea 100644 --- a/frontend/src/openapi/models/createProjectSchema.ts +++ b/frontend/src/openapi/models/createProjectSchema.ts @@ -3,38 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateProjectSchemaChangeRequestEnvironmentsItem } from './createProjectSchemaChangeRequestEnvironmentsItem'; import type { CreateProjectSchemaMode } from './createProjectSchemaMode'; +import type { CreateProjectSchemaChangeRequestEnvironmentsItem } from './createProjectSchemaChangeRequestEnvironmentsItem'; /** * Data used to create a new [project](https://docs.getunleash.io/reference/projects). */ export interface CreateProjectSchema { - /** A list of environments that should have change requests enabled. If the list includes environments not in the `environments` list, they will still have change requests enabled. */ - changeRequestEnvironments?: CreateProjectSchemaChangeRequestEnvironmentsItem[]; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; - /** - * The project's description. - * @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 - */ - 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. * @deprecated * @pattern [A-Za-z0-9_~.-]* */ id?: string; - /** A mode of the project affecting what actions are possible in this project */ - mode?: CreateProjectSchemaMode; /** * The project's name. The name must contain at least one non-whitespace character. * @pattern ^(?!\s*$).+ */ name: string; + /** + * The project's description. + * @nullable + */ + description?: string | null; + /** A mode of the project affecting what actions are possible in this project */ + mode?: CreateProjectSchemaMode; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; + /** 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[]; + /** A list of environments that should have change requests enabled. If the list includes environments not in the `environments` list, they will still have change requests enabled. */ + changeRequestEnvironments?: CreateProjectSchemaChangeRequestEnvironmentsItem[]; } diff --git a/frontend/src/openapi/models/createPublicSignupToken400.ts b/frontend/src/openapi/models/createPublicSignupToken400.ts index cb8aa0b0d6..bfb1ca4c5f 100644 --- a/frontend/src/openapi/models/createPublicSignupToken400.ts +++ b/frontend/src/openapi/models/createPublicSignupToken400.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createPublicSignupToken401.ts b/frontend/src/openapi/models/createPublicSignupToken401.ts index 88833cd976..7900a31b1c 100644 --- a/frontend/src/openapi/models/createPublicSignupToken401.ts +++ b/frontend/src/openapi/models/createPublicSignupToken401.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createPublicSignupToken403.ts b/frontend/src/openapi/models/createPublicSignupToken403.ts index 15222146c8..a647659ab1 100644 --- a/frontend/src/openapi/models/createPublicSignupToken403.ts +++ b/frontend/src/openapi/models/createPublicSignupToken403.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts index d57d2157ed..1bb9385945 100644 --- a/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/createReleasePlanMilestoneStrategySchema.ts @@ -3,29 +3,29 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ConstraintSchema } from './constraintSchema'; import type { ParametersSchema } from './parametersSchema'; +import type { ConstraintSchema } from './constraintSchema'; 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 */ - constraints?: ConstraintSchema[]; - /** An object containing the parameters for the strategy */ - parameters?: ParametersSchema; - /** Ids of segments to use for this strategy */ - segments?: number[]; /** The order of the strategy in the list */ sortOrder: number; - /** The name of the strategy type */ - strategyName: string; /** * A descriptive title for the strategy * @nullable */ title?: string | null; + /** The name of the strategy type */ + strategyName: string; + /** An object containing the parameters for the strategy */ + parameters?: ParametersSchema; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** Strategy level variants */ variants?: CreateStrategyVariantSchema[]; + /** Ids of segments to use for this strategy */ + segments?: number[]; } diff --git a/frontend/src/openapi/models/createReleasePlanTemplate401.ts b/frontend/src/openapi/models/createReleasePlanTemplate401.ts deleted file mode 100644 index b7dd43466c..0000000000 --- a/frontend/src/openapi/models/createReleasePlanTemplate401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateReleasePlanTemplate401 = { - /** 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/createReleasePlanTemplateSchema.ts b/frontend/src/openapi/models/createReleasePlanTemplateSchema.ts index 11d73f9db3..2d6bc5f61d 100644 --- a/frontend/src/openapi/models/createReleasePlanTemplateSchema.ts +++ b/frontend/src/openapi/models/createReleasePlanTemplateSchema.ts @@ -9,6 +9,8 @@ import type { CreateReleasePlanMilestoneSchema } from './createReleasePlanMilest * Schema representing the creation of a release template. */ export interface CreateReleasePlanTemplateSchema { + /** The name of the release template. */ + name: string; /** * A description of the release template. * @nullable @@ -16,6 +18,4 @@ export interface CreateReleasePlanTemplateSchema { description?: string | null; /** A list of the milestones in this release template. */ milestones?: CreateReleasePlanMilestoneSchema[]; - /** The name of the release template. */ - name: string; } diff --git a/frontend/src/openapi/models/createRole400.ts b/frontend/src/openapi/models/createRole400.ts deleted file mode 100644 index e0b054a104..0000000000 --- a/frontend/src/openapi/models/createRole400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateRole400 = { - /** 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/createRole401.ts b/frontend/src/openapi/models/createRole401.ts deleted file mode 100644 index 4fba2534c6..0000000000 --- a/frontend/src/openapi/models/createRole401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateRole401 = { - /** 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/createRole403.ts b/frontend/src/openapi/models/createRole403.ts deleted file mode 100644 index aefd982891..0000000000 --- a/frontend/src/openapi/models/createRole403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateRole403 = { - /** 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/createRole409.ts b/frontend/src/openapi/models/createRole409.ts deleted file mode 100644 index f1be29289b..0000000000 --- a/frontend/src/openapi/models/createRole409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateRole409 = { - /** 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/createRoleWithPermissionsSchemaAnyOf.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts index a47b5b8d8e..95f98ea73a 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateRoleWithPermissionsSchemaAnyOfPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfPermissionsItem'; import type { CreateRoleWithPermissionsSchemaAnyOfType } from './createRoleWithPermissionsSchemaAnyOfType'; +import type { CreateRoleWithPermissionsSchemaAnyOfPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfPermissionsItem'; export type CreateRoleWithPermissionsSchemaAnyOf = { - /** A more detailed description of the custom role and what use it's intended for */ - description?: string; /** The name of the custom role */ name: string; - /** A list of permissions assigned to this role */ - permissions?: CreateRoleWithPermissionsSchemaAnyOfPermissionsItem[]; + /** A more detailed description of the custom role and what use it's intended for */ + description?: string; /** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */ type?: CreateRoleWithPermissionsSchemaAnyOfType; + /** A list of permissions assigned to this role */ + permissions?: CreateRoleWithPermissionsSchemaAnyOfPermissionsItem[]; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts index e2f6941a95..410ff00780 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfFourPermissionsItem'; import type { CreateRoleWithPermissionsSchemaAnyOfFourType } from './createRoleWithPermissionsSchemaAnyOfFourType'; +import type { CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfFourPermissionsItem'; export type CreateRoleWithPermissionsSchemaAnyOfFour = { - /** A more detailed description of the custom role and what use it's intended for */ - description?: string; /** The name of the custom role */ name: string; - /** A list of permissions assigned to this role */ - permissions?: CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem[]; + /** A more detailed description of the custom role and what use it's intended for */ + description?: string; /** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */ type?: CreateRoleWithPermissionsSchemaAnyOfFourType; + /** A list of permissions assigned to this role */ + permissions?: CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem[]; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts index 5e3aee88a4..b1f9167be0 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts @@ -5,10 +5,13 @@ */ export type CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem = { - /** The environments of the permission if the permission is environment specific */ - environment?: string; /** The id of the permission */ id: number; /** The name of the permission */ name?: string; + /** + * The environments of the permission if the permission is environment specific + * @nullable + */ + environment?: string | null; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts index 5b9261265e..0f7927448c 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 name of the permission */ name: string; + /** + * The environments of the permission if the permission is environment specific + * @nullable + */ + environment?: string | null; }; diff --git a/frontend/src/openapi/models/createSegment400.ts b/frontend/src/openapi/models/createSegment400.ts index 55ac016ecb..e80b79d52c 100644 --- a/frontend/src/openapi/models/createSegment400.ts +++ b/frontend/src/openapi/models/createSegment400.ts @@ -7,8 +7,8 @@ export type CreateSegment400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createSegment401.ts b/frontend/src/openapi/models/createSegment401.ts index 149541f7b3..7b907cf359 100644 --- a/frontend/src/openapi/models/createSegment401.ts +++ b/frontend/src/openapi/models/createSegment401.ts @@ -7,8 +7,8 @@ export type CreateSegment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createSegment403.ts b/frontend/src/openapi/models/createSegment403.ts index 9760e7935c..aa2288a88c 100644 --- a/frontend/src/openapi/models/createSegment403.ts +++ b/frontend/src/openapi/models/createSegment403.ts @@ -7,8 +7,8 @@ export type CreateSegment403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createSegment409.ts b/frontend/src/openapi/models/createSegment409.ts index 30d7a9cfa6..0f5e901a54 100644 --- a/frontend/src/openapi/models/createSegment409.ts +++ b/frontend/src/openapi/models/createSegment409.ts @@ -7,8 +7,8 @@ export type CreateSegment409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createSegment415.ts b/frontend/src/openapi/models/createSegment415.ts index b0587d4721..c70ff43bd6 100644 --- a/frontend/src/openapi/models/createSegment415.ts +++ b/frontend/src/openapi/models/createSegment415.ts @@ -7,8 +7,8 @@ export type CreateSegment415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount400.ts b/frontend/src/openapi/models/createServiceAccount400.ts deleted file mode 100644 index b2f9b4147a..0000000000 --- a/frontend/src/openapi/models/createServiceAccount400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccount400 = { - /** 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/createServiceAccount401.ts b/frontend/src/openapi/models/createServiceAccount401.ts deleted file mode 100644 index dd4c95e8f2..0000000000 --- a/frontend/src/openapi/models/createServiceAccount401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccount401 = { - /** 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/createServiceAccount403.ts b/frontend/src/openapi/models/createServiceAccount403.ts deleted file mode 100644 index f8a45fc5f5..0000000000 --- a/frontend/src/openapi/models/createServiceAccount403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccount403 = { - /** 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/createServiceAccount409.ts b/frontend/src/openapi/models/createServiceAccount409.ts deleted file mode 100644 index 8117d3d94f..0000000000 --- a/frontend/src/openapi/models/createServiceAccount409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccount409 = { - /** 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/createServiceAccount415.ts b/frontend/src/openapi/models/createServiceAccount415.ts deleted file mode 100644 index f76f2ebfd9..0000000000 --- a/frontend/src/openapi/models/createServiceAccount415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccount415 = { - /** 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/createServiceAccountSchema.ts b/frontend/src/openapi/models/createServiceAccountSchema.ts index 95539f9c51..02d4885a28 100644 --- a/frontend/src/openapi/models/createServiceAccountSchema.ts +++ b/frontend/src/openapi/models/createServiceAccountSchema.ts @@ -8,10 +8,10 @@ * Describes the properties required to create a new service account */ export interface CreateServiceAccountSchema { + /** The username of the service account */ + username: string; /** The name of the service account */ name: string; /** The id of the root role for the service account */ rootRole: number; - /** The username of the service account */ - username: string; } diff --git a/frontend/src/openapi/models/createServiceAccountToken401.ts b/frontend/src/openapi/models/createServiceAccountToken401.ts deleted file mode 100644 index 191e807e79..0000000000 --- a/frontend/src/openapi/models/createServiceAccountToken401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccountToken401 = { - /** 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/createServiceAccountToken403.ts b/frontend/src/openapi/models/createServiceAccountToken403.ts deleted file mode 100644 index 1a94d71051..0000000000 --- a/frontend/src/openapi/models/createServiceAccountToken403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccountToken403 = { - /** 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/createServiceAccountToken404.ts b/frontend/src/openapi/models/createServiceAccountToken404.ts deleted file mode 100644 index 7180734386..0000000000 --- a/frontend/src/openapi/models/createServiceAccountToken404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccountToken404 = { - /** 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/createServiceAccountToken409.ts b/frontend/src/openapi/models/createServiceAccountToken409.ts deleted file mode 100644 index 2c3f80556c..0000000000 --- a/frontend/src/openapi/models/createServiceAccountToken409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccountToken409 = { - /** 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/createServiceAccountToken415.ts b/frontend/src/openapi/models/createServiceAccountToken415.ts deleted file mode 100644 index 92a36b763b..0000000000 --- a/frontend/src/openapi/models/createServiceAccountToken415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type CreateServiceAccountToken415 = { - /** 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/createSignalEndpointSchema.ts b/frontend/src/openapi/models/createSignalEndpointSchema.ts index 458d1f8651..8ce56d31f8 100644 --- a/frontend/src/openapi/models/createSignalEndpointSchema.ts +++ b/frontend/src/openapi/models/createSignalEndpointSchema.ts @@ -8,13 +8,13 @@ * Describes the properties required to create or update a signal endpoint. */ export interface CreateSignalEndpointSchema { + /** Whether the signal endpoint is currently enabled. If not specified, defaults to true. */ + enabled?: boolean; + /** The signal endpoint name. Must be URL-safe. */ + name: string; /** * A more detailed description of the signal endpoint and its intended use. * @nullable */ description?: string | null; - /** Whether the signal endpoint is currently enabled. If not specified, defaults to true. */ - enabled?: boolean; - /** The signal endpoint name. Must be URL-safe. */ - name: string; } diff --git a/frontend/src/openapi/models/createStrategy401.ts b/frontend/src/openapi/models/createStrategy401.ts index edd6509fae..a614554306 100644 --- a/frontend/src/openapi/models/createStrategy401.ts +++ b/frontend/src/openapi/models/createStrategy401.ts @@ -7,8 +7,8 @@ export type CreateStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createStrategy403.ts b/frontend/src/openapi/models/createStrategy403.ts index 74ad2a84f7..c62d914d17 100644 --- a/frontend/src/openapi/models/createStrategy403.ts +++ b/frontend/src/openapi/models/createStrategy403.ts @@ -7,8 +7,8 @@ export type CreateStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createStrategy409.ts b/frontend/src/openapi/models/createStrategy409.ts index 0f06ce37f1..f11515762c 100644 --- a/frontend/src/openapi/models/createStrategy409.ts +++ b/frontend/src/openapi/models/createStrategy409.ts @@ -7,8 +7,8 @@ export type CreateStrategy409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createStrategy415.ts b/frontend/src/openapi/models/createStrategy415.ts index 3e0ca6ff9e..1ab705ad72 100644 --- a/frontend/src/openapi/models/createStrategy415.ts +++ b/frontend/src/openapi/models/createStrategy415.ts @@ -7,8 +7,8 @@ export type CreateStrategy415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createStrategySchema.ts b/frontend/src/openapi/models/createStrategySchema.ts index c134116505..5100846dca 100644 --- a/frontend/src/openapi/models/createStrategySchema.ts +++ b/frontend/src/openapi/models/createStrategySchema.ts @@ -9,16 +9,16 @@ import type { CreateStrategySchemaParametersItem } from './createStrategySchemaP * The data required to create a strategy type. Refer to the docs on [custom strategy types](https://docs.getunleash.io/reference/custom-activation-strategies) for more information. */ export interface CreateStrategySchema { - /** Whether the strategy type is deprecated or not. Defaults to `false`. */ - deprecated?: boolean; + /** The name of the strategy type. Must be unique. */ + name: string; + /** The title of the strategy */ + title?: string; /** A description of the strategy type. */ description?: string; /** Whether the strategy type is editable or not. Defaults to `true`. */ editable?: boolean; - /** The name of the strategy type. Must be unique. */ - name: string; + /** Whether the strategy type is deprecated or not. Defaults to `false`. */ + deprecated?: boolean; /** The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation. */ parameters: CreateStrategySchemaParametersItem[]; - /** The title of the strategy */ - title?: string; } diff --git a/frontend/src/openapi/models/createStrategySchemaParametersItem.ts b/frontend/src/openapi/models/createStrategySchemaParametersItem.ts index 0755238ac7..d2fb9b52db 100644 --- a/frontend/src/openapi/models/createStrategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/createStrategySchemaParametersItem.ts @@ -6,12 +6,12 @@ import type { CreateStrategySchemaParametersItemType } from './createStrategySchemaParametersItemType'; export type CreateStrategySchemaParametersItem = { - /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ - description?: string; /** The name of the parameter */ name: string; - /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ - required?: boolean; /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ type: CreateStrategySchemaParametersItemType; + /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ + description?: string; + /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ + required?: boolean; }; diff --git a/frontend/src/openapi/models/createStrategyVariantSchema.ts b/frontend/src/openapi/models/createStrategyVariantSchema.ts index f5aa9ce099..f48d010b1b 100644 --- a/frontend/src/openapi/models/createStrategyVariantSchema.ts +++ b/frontend/src/openapi/models/createStrategyVariantSchema.ts @@ -3,8 +3,8 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateStrategyVariantSchemaPayload } from './createStrategyVariantSchemaPayload'; import type { CreateStrategyVariantSchemaWeightType } from './createStrategyVariantSchemaWeightType'; +import type { CreateStrategyVariantSchemaPayload } from './createStrategyVariantSchemaPayload'; /** * This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants. @@ -12,10 +12,6 @@ import type { CreateStrategyVariantSchemaWeightType } from './createStrategyVari export interface CreateStrategyVariantSchema { /** The variant name. Must be unique for this feature flag */ name: string; - /** Extra data configured for this variant */ - payload?: CreateStrategyVariantSchemaPayload; - /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ - stickiness: string; /** * The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information * @minimum 0 @@ -24,4 +20,8 @@ export interface CreateStrategyVariantSchema { weight: number; /** Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ weightType: CreateStrategyVariantSchemaWeightType; + /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ + stickiness: string; + /** Extra data configured for this variant */ + payload?: CreateStrategyVariantSchemaPayload; } diff --git a/frontend/src/openapi/models/createTag400.ts b/frontend/src/openapi/models/createTag400.ts index 4b9a6b137c..96224cd402 100644 --- a/frontend/src/openapi/models/createTag400.ts +++ b/frontend/src/openapi/models/createTag400.ts @@ -7,8 +7,8 @@ export type CreateTag400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTag401.ts b/frontend/src/openapi/models/createTag401.ts index 5d3ca13bf5..079678019d 100644 --- a/frontend/src/openapi/models/createTag401.ts +++ b/frontend/src/openapi/models/createTag401.ts @@ -7,8 +7,8 @@ export type CreateTag401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTag403.ts b/frontend/src/openapi/models/createTag403.ts index 58ca9e947c..0219f83bb3 100644 --- a/frontend/src/openapi/models/createTag403.ts +++ b/frontend/src/openapi/models/createTag403.ts @@ -7,8 +7,8 @@ export type CreateTag403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTag409.ts b/frontend/src/openapi/models/createTag409.ts index 977905313f..85d7d0c776 100644 --- a/frontend/src/openapi/models/createTag409.ts +++ b/frontend/src/openapi/models/createTag409.ts @@ -7,8 +7,8 @@ export type CreateTag409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTag415.ts b/frontend/src/openapi/models/createTag415.ts index 62d91eac78..2bcd85a7f1 100644 --- a/frontend/src/openapi/models/createTag415.ts +++ b/frontend/src/openapi/models/createTag415.ts @@ -7,8 +7,8 @@ export type CreateTag415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTagSchema.ts b/frontend/src/openapi/models/createTagSchema.ts index a29610b1ca..5f133e64c7 100644 --- a/frontend/src/openapi/models/createTagSchema.ts +++ b/frontend/src/openapi/models/createTagSchema.ts @@ -5,18 +5,18 @@ */ /** - * 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 - * @minLength 2 - * @maxLength 50 - */ - type: string; /** * The value of the tag. The value must be between 2 and 50 characters long. Leading and trailing whitespace is ignored and will be trimmed before saving the tag value. * @pattern ^\s*\S.{0,48}\S\s*$ */ value: string; + /** + * The [type](https://docs.getunleash.io/reference/feature-toggles#tags) of the tag + * @minLength 2 + * @maxLength 50 + */ + type: string; } diff --git a/frontend/src/openapi/models/createTagType400.ts b/frontend/src/openapi/models/createTagType400.ts index ecc0d6d33c..6f779f4998 100644 --- a/frontend/src/openapi/models/createTagType400.ts +++ b/frontend/src/openapi/models/createTagType400.ts @@ -7,8 +7,8 @@ export type CreateTagType400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTagType401.ts b/frontend/src/openapi/models/createTagType401.ts index 7a53021f0f..1973edb889 100644 --- a/frontend/src/openapi/models/createTagType401.ts +++ b/frontend/src/openapi/models/createTagType401.ts @@ -7,8 +7,8 @@ export type CreateTagType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTagType403.ts b/frontend/src/openapi/models/createTagType403.ts index 561711e9d0..9e0643115e 100644 --- a/frontend/src/openapi/models/createTagType403.ts +++ b/frontend/src/openapi/models/createTagType403.ts @@ -7,8 +7,8 @@ export type CreateTagType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTagType409.ts b/frontend/src/openapi/models/createTagType409.ts index 9fbdf36714..1e069cf330 100644 --- a/frontend/src/openapi/models/createTagType409.ts +++ b/frontend/src/openapi/models/createTagType409.ts @@ -7,8 +7,8 @@ export type CreateTagType409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createTagType415.ts b/frontend/src/openapi/models/createTagType415.ts index e67c9e143a..876da478f1 100644 --- a/frontend/src/openapi/models/createTagType415.ts +++ b/frontend/src/openapi/models/createTagType415.ts @@ -7,8 +7,8 @@ export type CreateTagType415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createUser400.ts b/frontend/src/openapi/models/createUser400.ts index 5e5df4cfcf..41ebd39523 100644 --- a/frontend/src/openapi/models/createUser400.ts +++ b/frontend/src/openapi/models/createUser400.ts @@ -7,8 +7,8 @@ export type CreateUser400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createUser401.ts b/frontend/src/openapi/models/createUser401.ts index bda673c83a..1deab0a473 100644 --- a/frontend/src/openapi/models/createUser401.ts +++ b/frontend/src/openapi/models/createUser401.ts @@ -7,8 +7,8 @@ export type CreateUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createUser403.ts b/frontend/src/openapi/models/createUser403.ts index 8c669b4d1a..15f6158567 100644 --- a/frontend/src/openapi/models/createUser403.ts +++ b/frontend/src/openapi/models/createUser403.ts @@ -7,8 +7,8 @@ export type CreateUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createUserResponseSchema.ts b/frontend/src/openapi/models/createUserResponseSchema.ts index 404413d4b3..5fedb35b87 100644 --- a/frontend/src/openapi/models/createUserResponseSchema.ts +++ b/frontend/src/openapi/models/createUserResponseSchema.ts @@ -9,59 +9,59 @@ import type { CreateUserResponseSchemaRootRole } from './createUserResponseSchem * An Unleash user after creation */ export interface CreateUserResponseSchema { - /** A user is either an actual User or a Service Account */ - accountType?: string; - /** - * Count of active browser sessions for this user - * @nullable - */ - activeSessions?: number | null; - /** The user was created at this time */ - createdAt?: string; - /** Experimental. The number of deleted browser sessions after last login */ - deletedSessions?: number; - /** Email of the user */ - email?: string; - /** Is the welcome email sent to the user or not */ - emailSent?: boolean; /** The user id */ id: number; - /** URL used for the user profile image */ - imageUrl?: string; - /** If the user is actively inviting other users, this is the link that can be shared with other users */ - inviteLink?: string; /** * Deprecated in v5. Used internally to know which operations the user should be allowed to perform * @deprecated */ isAPI?: boolean; - /** - * How many unsuccessful attempts at logging in has the user made - * @minimum 0 - */ - loginAttempts?: number; /** * Name of the user * @nullable */ name?: string | null; - /** Deprecated */ - permissions?: string[]; + /** Email of the user */ + email?: string; + /** + * A unique username for the user + * @nullable + */ + username?: string | null; + /** URL used for the user profile image */ + imageUrl?: string; + /** If the user is actively inviting other users, this is the link that can be shared with other users */ + inviteLink?: string; + /** + * How many unsuccessful attempts at logging in has the user made + * @minimum 0 + */ + loginAttempts?: number; + /** Is the welcome email sent to the user or not */ + emailSent?: boolean; /** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role. */ rootRole?: CreateUserResponseSchemaRootRole; + /** + * The last time this user logged in + * @nullable + */ + seenAt?: string | null; + /** The user was created at this time */ + createdAt?: string; + /** A user is either an actual User or a Service Account */ + accountType?: string; + /** Deprecated */ + permissions?: string[]; /** * The SCIM ID of the user, only present if managed by SCIM * @nullable */ scimId?: string | null; /** - * The last time this user logged in + * Count of active browser sessions for this user * @nullable */ - seenAt?: string | null; - /** - * A unique username for the user - * @nullable - */ - username?: string | null; + activeSessions?: number | null; + /** Experimental. The number of deleted browser sessions after last login */ + deletedSessions?: number; } diff --git a/frontend/src/openapi/models/createUserSchema.ts b/frontend/src/openapi/models/createUserSchema.ts index 9dc15229ec..f5ebd440d4 100644 --- a/frontend/src/openapi/models/createUserSchema.ts +++ b/frontend/src/openapi/models/createUserSchema.ts @@ -9,6 +9,8 @@ import type { CreateUserSchemaRootRole } from './createUserSchemaRootRole'; * The payload must contain at least one of the name and email properties, though which one is up to you. For the user to be able to log in to the system, the user must have an email. */ export interface CreateUserSchema { + /** The user's username. Must be provided if email is not provided. */ + username?: string; /** The user's email address. Must be provided if username is not provided. */ email?: string; /** The user's name (not the user's username). */ @@ -19,6 +21,4 @@ export interface CreateUserSchema { rootRole: CreateUserSchemaRootRole; /** Whether to send a welcome email with a login link to the user or not. Defaults to `true`. */ sendEmail?: boolean; - /** The user's username. Must be provided if email is not provided. */ - username?: string; } diff --git a/frontend/src/openapi/models/deleteAddon401.ts b/frontend/src/openapi/models/deleteAddon401.ts index 5039b45fda..7541c714f8 100644 --- a/frontend/src/openapi/models/deleteAddon401.ts +++ b/frontend/src/openapi/models/deleteAddon401.ts @@ -7,8 +7,8 @@ export type DeleteAddon401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteAddon403.ts b/frontend/src/openapi/models/deleteAddon403.ts index 97069ba9fa..88b733666e 100644 --- a/frontend/src/openapi/models/deleteAddon403.ts +++ b/frontend/src/openapi/models/deleteAddon403.ts @@ -7,8 +7,8 @@ export type DeleteAddon403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteAddon404.ts b/frontend/src/openapi/models/deleteAddon404.ts index 2e2b24e772..5e60e902f0 100644 --- a/frontend/src/openapi/models/deleteAddon404.ts +++ b/frontend/src/openapi/models/deleteAddon404.ts @@ -7,8 +7,8 @@ export type DeleteAddon404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteApiToken401.ts b/frontend/src/openapi/models/deleteApiToken401.ts index d7dda87d99..21e492c96b 100644 --- a/frontend/src/openapi/models/deleteApiToken401.ts +++ b/frontend/src/openapi/models/deleteApiToken401.ts @@ -7,8 +7,8 @@ export type DeleteApiToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteApiToken403.ts b/frontend/src/openapi/models/deleteApiToken403.ts index 8a7986acc6..1feaa110d0 100644 --- a/frontend/src/openapi/models/deleteApiToken403.ts +++ b/frontend/src/openapi/models/deleteApiToken403.ts @@ -7,8 +7,8 @@ export type DeleteApiToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteApplication401.ts b/frontend/src/openapi/models/deleteApplication401.ts index 4544ded06f..ade25da24a 100644 --- a/frontend/src/openapi/models/deleteApplication401.ts +++ b/frontend/src/openapi/models/deleteApplication401.ts @@ -7,8 +7,8 @@ export type DeleteApplication401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteApplication403.ts b/frontend/src/openapi/models/deleteApplication403.ts index 709ff83fb6..c973fa4494 100644 --- a/frontend/src/openapi/models/deleteApplication403.ts +++ b/frontend/src/openapi/models/deleteApplication403.ts @@ -7,8 +7,8 @@ export type DeleteApplication403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteBanner401.ts b/frontend/src/openapi/models/deleteBanner401.ts deleted file mode 100644 index 6276e18561..0000000000 --- a/frontend/src/openapi/models/deleteBanner401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteBanner401 = { - /** 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/deleteBanner403.ts b/frontend/src/openapi/models/deleteBanner403.ts deleted file mode 100644 index 8e7a91568d..0000000000 --- a/frontend/src/openapi/models/deleteBanner403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteBanner403 = { - /** 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/deleteBanner404.ts b/frontend/src/openapi/models/deleteBanner404.ts deleted file mode 100644 index 142a38c7b9..0000000000 --- a/frontend/src/openapi/models/deleteBanner404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteBanner404 = { - /** 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/deleteFeature401.ts b/frontend/src/openapi/models/deleteFeature401.ts index c60a294a9f..86990d1f67 100644 --- a/frontend/src/openapi/models/deleteFeature401.ts +++ b/frontend/src/openapi/models/deleteFeature401.ts @@ -7,8 +7,8 @@ export type DeleteFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeature403.ts b/frontend/src/openapi/models/deleteFeature403.ts index 8b40397f0a..0b548321cb 100644 --- a/frontend/src/openapi/models/deleteFeature403.ts +++ b/frontend/src/openapi/models/deleteFeature403.ts @@ -7,8 +7,8 @@ export type DeleteFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies401.ts b/frontend/src/openapi/models/deleteFeatureDependencies401.ts index 89a76f2608..91d72e8805 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies401.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies403.ts b/frontend/src/openapi/models/deleteFeatureDependencies403.ts index 1c58e82aa3..39eca16151 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies403.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies404.ts b/frontend/src/openapi/models/deleteFeatureDependencies404.ts index 855c1fe0e7..b998e497f3 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies404.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency401.ts b/frontend/src/openapi/models/deleteFeatureDependency401.ts index ce8611e9ba..ca04a49580 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency401.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency403.ts b/frontend/src/openapi/models/deleteFeatureDependency403.ts index 01ab6bf5b0..fa117f0dce 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency403.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency404.ts b/frontend/src/openapi/models/deleteFeatureDependency404.ts index c04d991172..82da097209 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency404.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy401.ts b/frontend/src/openapi/models/deleteFeatureStrategy401.ts index 4dd367e69e..ecece939ab 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy401.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy403.ts b/frontend/src/openapi/models/deleteFeatureStrategy403.ts index 6b6a4a4ec3..c0d6e23315 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy403.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy404.ts b/frontend/src/openapi/models/deleteFeatureStrategy404.ts index c6455e1f26..ce7b0c020b 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy404.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures400.ts b/frontend/src/openapi/models/deleteFeatures400.ts index f3d6d59e4d..42e4495dcc 100644 --- a/frontend/src/openapi/models/deleteFeatures400.ts +++ b/frontend/src/openapi/models/deleteFeatures400.ts @@ -7,8 +7,8 @@ export type DeleteFeatures400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures401.ts b/frontend/src/openapi/models/deleteFeatures401.ts index 1bb60d667d..8c19b273cf 100644 --- a/frontend/src/openapi/models/deleteFeatures401.ts +++ b/frontend/src/openapi/models/deleteFeatures401.ts @@ -7,8 +7,8 @@ export type DeleteFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures403.ts b/frontend/src/openapi/models/deleteFeatures403.ts index c0313a53e4..77432aff81 100644 --- a/frontend/src/openapi/models/deleteFeatures403.ts +++ b/frontend/src/openapi/models/deleteFeatures403.ts @@ -7,8 +7,8 @@ export type DeleteFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteGroup400.ts b/frontend/src/openapi/models/deleteGroup400.ts deleted file mode 100644 index 2c98e2eb72..0000000000 --- a/frontend/src/openapi/models/deleteGroup400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteGroup400 = { - /** 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/deleteGroup401.ts b/frontend/src/openapi/models/deleteGroup401.ts deleted file mode 100644 index 4b8ae2bb0f..0000000000 --- a/frontend/src/openapi/models/deleteGroup401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteGroup401 = { - /** 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/deleteGroup403.ts b/frontend/src/openapi/models/deleteGroup403.ts deleted file mode 100644 index 0eeaca75f7..0000000000 --- a/frontend/src/openapi/models/deleteGroup403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteGroup403 = { - /** 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/deleteInactiveUsers400.ts b/frontend/src/openapi/models/deleteInactiveUsers400.ts index d08d6d8a98..e5fe9dc4b5 100644 --- a/frontend/src/openapi/models/deleteInactiveUsers400.ts +++ b/frontend/src/openapi/models/deleteInactiveUsers400.ts @@ -7,8 +7,8 @@ export type DeleteInactiveUsers400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteInactiveUsers401.ts b/frontend/src/openapi/models/deleteInactiveUsers401.ts index d98728988c..25da54caae 100644 --- a/frontend/src/openapi/models/deleteInactiveUsers401.ts +++ b/frontend/src/openapi/models/deleteInactiveUsers401.ts @@ -7,8 +7,8 @@ export type DeleteInactiveUsers401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteInactiveUsers403.ts b/frontend/src/openapi/models/deleteInactiveUsers403.ts index 173e9eafdc..a7ce08348a 100644 --- a/frontend/src/openapi/models/deleteInactiveUsers403.ts +++ b/frontend/src/openapi/models/deleteInactiveUsers403.ts @@ -7,8 +7,8 @@ export type DeleteInactiveUsers403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deletePat401.ts b/frontend/src/openapi/models/deletePat401.ts index c7d545bbeb..955368ac8e 100644 --- a/frontend/src/openapi/models/deletePat401.ts +++ b/frontend/src/openapi/models/deletePat401.ts @@ -7,8 +7,8 @@ export type DeletePat401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deletePat403.ts b/frontend/src/openapi/models/deletePat403.ts index 6709a9a302..5077a70552 100644 --- a/frontend/src/openapi/models/deletePat403.ts +++ b/frontend/src/openapi/models/deletePat403.ts @@ -7,8 +7,8 @@ export type DeletePat403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deletePat404.ts b/frontend/src/openapi/models/deletePat404.ts index 9a819ec1b4..fe4c629a35 100644 --- a/frontend/src/openapi/models/deletePat404.ts +++ b/frontend/src/openapi/models/deletePat404.ts @@ -7,8 +7,8 @@ export type DeletePat404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProject400.ts b/frontend/src/openapi/models/deleteProject400.ts index c64fe3401a..3bd7635968 100644 --- a/frontend/src/openapi/models/deleteProject400.ts +++ b/frontend/src/openapi/models/deleteProject400.ts @@ -7,8 +7,8 @@ export type DeleteProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProject401.ts b/frontend/src/openapi/models/deleteProject401.ts index dda77d663a..ba6984781e 100644 --- a/frontend/src/openapi/models/deleteProject401.ts +++ b/frontend/src/openapi/models/deleteProject401.ts @@ -7,8 +7,8 @@ export type DeleteProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProject403.ts b/frontend/src/openapi/models/deleteProject403.ts index b63e01a306..5ef2e6c399 100644 --- a/frontend/src/openapi/models/deleteProject403.ts +++ b/frontend/src/openapi/models/deleteProject403.ts @@ -7,8 +7,8 @@ export type DeleteProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken400.ts b/frontend/src/openapi/models/deleteProjectApiToken400.ts index aa77553393..dee1aee19a 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken400.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken400.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken401.ts b/frontend/src/openapi/models/deleteProjectApiToken401.ts index 8d56012caa..4e945a4b3b 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken401.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken401.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken403.ts b/frontend/src/openapi/models/deleteProjectApiToken403.ts index 888a649d62..0d91c7b5a6 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken403.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken403.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken404.ts b/frontend/src/openapi/models/deleteProjectApiToken404.ts index 8835bae17c..8cbe50135d 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken404.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken404.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteReleasePlanTemplate401.ts b/frontend/src/openapi/models/deleteReleasePlanTemplate401.ts deleted file mode 100644 index 4a91de8af2..0000000000 --- a/frontend/src/openapi/models/deleteReleasePlanTemplate401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteReleasePlanTemplate401 = { - /** 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/deleteReleasePlanTemplate403.ts b/frontend/src/openapi/models/deleteReleasePlanTemplate403.ts deleted file mode 100644 index 77ff78edc3..0000000000 --- a/frontend/src/openapi/models/deleteReleasePlanTemplate403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteReleasePlanTemplate403 = { - /** 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/deleteRole400.ts b/frontend/src/openapi/models/deleteRole400.ts deleted file mode 100644 index 7e1edd8871..0000000000 --- a/frontend/src/openapi/models/deleteRole400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteRole400 = { - /** 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/deleteRole401.ts b/frontend/src/openapi/models/deleteRole401.ts deleted file mode 100644 index 4894c73e0b..0000000000 --- a/frontend/src/openapi/models/deleteRole401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteRole401 = { - /** 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/deleteRole403.ts b/frontend/src/openapi/models/deleteRole403.ts deleted file mode 100644 index 99e3475d23..0000000000 --- a/frontend/src/openapi/models/deleteRole403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteRole403 = { - /** 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/deleteRole404.ts b/frontend/src/openapi/models/deleteRole404.ts deleted file mode 100644 index 99df9e3081..0000000000 --- a/frontend/src/openapi/models/deleteRole404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteRole404 = { - /** 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/createBanner403.ts b/frontend/src/openapi/models/deleteScimUsers401.ts similarity index 88% rename from frontend/src/openapi/models/createBanner403.ts rename to frontend/src/openapi/models/deleteScimUsers401.ts index 080d57c000..66ba273ad7 100644 --- a/frontend/src/openapi/models/createBanner403.ts +++ b/frontend/src/openapi/models/deleteScimUsers401.ts @@ -4,11 +4,11 @@ * See `gen:api` script in package.json */ -export type CreateBanner403 = { +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; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/createBanner400.ts b/frontend/src/openapi/models/deleteScimUsers403.ts similarity index 88% rename from frontend/src/openapi/models/createBanner400.ts rename to frontend/src/openapi/models/deleteScimUsers403.ts index 5f3a75125c..efd2084668 100644 --- a/frontend/src/openapi/models/createBanner400.ts +++ b/frontend/src/openapi/models/deleteScimUsers403.ts @@ -4,11 +4,11 @@ * See `gen:api` script in package.json */ -export type CreateBanner400 = { +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; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccount401.ts b/frontend/src/openapi/models/deleteServiceAccount401.ts deleted file mode 100644 index f21f52122d..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccount401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccount401 = { - /** 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/deleteServiceAccount403.ts b/frontend/src/openapi/models/deleteServiceAccount403.ts deleted file mode 100644 index c420089c8b..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccount403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccount403 = { - /** 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/deleteServiceAccount404.ts b/frontend/src/openapi/models/deleteServiceAccount404.ts deleted file mode 100644 index 4f242c5124..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccount404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccount404 = { - /** 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/deleteServiceAccountToken401.ts b/frontend/src/openapi/models/deleteServiceAccountToken401.ts deleted file mode 100644 index 8641ffe148..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccountToken401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccountToken401 = { - /** 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/deleteServiceAccountToken403.ts b/frontend/src/openapi/models/deleteServiceAccountToken403.ts deleted file mode 100644 index fd757825da..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccountToken403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccountToken403 = { - /** 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/deleteServiceAccountToken404.ts b/frontend/src/openapi/models/deleteServiceAccountToken404.ts deleted file mode 100644 index fbc5371883..0000000000 --- a/frontend/src/openapi/models/deleteServiceAccountToken404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DeleteServiceAccountToken404 = { - /** 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/deleteTagType401.ts b/frontend/src/openapi/models/deleteTagType401.ts index 887d4440ce..ded32d63b5 100644 --- a/frontend/src/openapi/models/deleteTagType401.ts +++ b/frontend/src/openapi/models/deleteTagType401.ts @@ -7,8 +7,8 @@ export type DeleteTagType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteTagType403.ts b/frontend/src/openapi/models/deleteTagType403.ts index 523a3addac..b59847657c 100644 --- a/frontend/src/openapi/models/deleteTagType403.ts +++ b/frontend/src/openapi/models/deleteTagType403.ts @@ -7,8 +7,8 @@ export type DeleteTagType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteUser401.ts b/frontend/src/openapi/models/deleteUser401.ts index 321f47718f..1c195d4239 100644 --- a/frontend/src/openapi/models/deleteUser401.ts +++ b/frontend/src/openapi/models/deleteUser401.ts @@ -7,8 +7,8 @@ export type DeleteUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteUser403.ts b/frontend/src/openapi/models/deleteUser403.ts index c868268b85..8666d9cec7 100644 --- a/frontend/src/openapi/models/deleteUser403.ts +++ b/frontend/src/openapi/models/deleteUser403.ts @@ -7,8 +7,8 @@ export type DeleteUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deleteUser404.ts b/frontend/src/openapi/models/deleteUser404.ts index 0bc2e12d00..b5f4210408 100644 --- a/frontend/src/openapi/models/deleteUser404.ts +++ b/frontend/src/openapi/models/deleteUser404.ts @@ -7,8 +7,8 @@ export type DeleteUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/dependentFeatureSchema.ts b/frontend/src/openapi/models/dependentFeatureSchema.ts index 5dda3ed184..6a6172161c 100644 --- a/frontend/src/openapi/models/dependentFeatureSchema.ts +++ b/frontend/src/openapi/models/dependentFeatureSchema.ts @@ -8,10 +8,10 @@ * Feature dependency on a parent feature in read model */ export interface DependentFeatureSchema { - /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ - enabled?: boolean; /** The name of the feature we depend on. */ feature: string; + /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ + enabled?: boolean; /** The list of variants the parent feature should resolve to. Leave empty when you only want to check the `enabled` status. */ variants?: string[]; } diff --git a/frontend/src/openapi/models/deprecateStrategy401.ts b/frontend/src/openapi/models/deprecateStrategy401.ts index 02db1078dd..41ef2e844a 100644 --- a/frontend/src/openapi/models/deprecateStrategy401.ts +++ b/frontend/src/openapi/models/deprecateStrategy401.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deprecateStrategy403.ts b/frontend/src/openapi/models/deprecateStrategy403.ts index fa15891481..476125befc 100644 --- a/frontend/src/openapi/models/deprecateStrategy403.ts +++ b/frontend/src/openapi/models/deprecateStrategy403.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deprecateStrategy404.ts b/frontend/src/openapi/models/deprecateStrategy404.ts index a42f5b37fa..982796b4ba 100644 --- a/frontend/src/openapi/models/deprecateStrategy404.ts +++ b/frontend/src/openapi/models/deprecateStrategy404.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts index 186ff12b61..a90a68ed4a 100644 --- a/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts +++ b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts @@ -3,55 +3,55 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; -import type { FeatureSchema } from './featureSchema'; -import type { DeprecatedProjectOverviewSchemaMode } from './deprecatedProjectOverviewSchemaMode'; import type { ProjectStatsSchema } from './projectStatsSchema'; +import type { DeprecatedProjectOverviewSchemaMode } from './deprecatedProjectOverviewSchemaMode'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; +import type { FeatureSchema } from './featureSchema'; /** * A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc. */ export interface DeprecatedProjectOverviewSchema { - /** - * When the project was created. - * @nullable - */ - createdAt?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; + /** Project statistics */ + stats?: ProjectStatsSchema; + /** The schema version used to describe the project overview */ + version: number; + /** The name of this project */ + name: string; /** * Additional information about the project * @nullable */ description?: string | null; - /** The environments that are enabled for this project */ - environments?: ProjectEnvironmentSchema[]; - /** `true` if the project was favorited, otherwise `false`. */ - favorite?: boolean; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: DeprecatedProjectOverviewSchemaMode; /** * A limit on the number of features allowed in the project. Null if no limit. * @nullable */ featureLimit?: number | null; 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 */ - health?: number; /** The number of members this project has */ members?: number; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode?: DeprecatedProjectOverviewSchemaMode; - /** The name of this project */ - name: string; - /** Project statistics */ - stats?: ProjectStatsSchema; + /** 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 environments that are enabled for this project */ + environments?: ProjectEnvironmentSchema[]; + /** The full list of features in this project (excluding archived features) */ + features?: FeatureSchema[]; /** * When the project was last updated. * @nullable */ updatedAt?: string | null; - /** The schema version used to describe the project overview */ - version: number; + /** + * When the project was created. + * @nullable + */ + createdAt?: string | null; + /** `true` if the project was favorited, otherwise `false`. */ + favorite?: boolean; } diff --git a/frontend/src/openapi/models/deprecatedSearchEventsSchema.ts b/frontend/src/openapi/models/deprecatedSearchEventsSchema.ts index e2efc57c50..90b5d7f405 100644 --- a/frontend/src/openapi/models/deprecatedSearchEventsSchema.ts +++ b/frontend/src/openapi/models/deprecatedSearchEventsSchema.ts @@ -12,8 +12,14 @@ import type { DeprecatedSearchEventsSchemaType } from './deprecatedSearchEventsS */ export interface DeprecatedSearchEventsSchema { + /** Find events by event type (case-sensitive). */ + type?: DeprecatedSearchEventsSchemaType; + /** Find events by project ID (case-sensitive). */ + project?: string; /** Find events by feature flag name (case-sensitive). */ feature?: string; + /** Find events by a free-text search query. The query will be matched against the event type, the username or email that created the event (if any), and the event data payload (if any). */ + query?: string; /** * The maximum amount of events to return in the search result * @minimum 1 @@ -25,10 +31,4 @@ export interface DeprecatedSearchEventsSchema { * @minimum 0 */ offset?: number; - /** Find events by project ID (case-sensitive). */ - project?: string; - /** Find events by a free-text search query. The query will be matched against the event type, the username or email that created the event (if any), and the event data payload (if any). */ - query?: string; - /** Find events by event type (case-sensitive). */ - type?: DeprecatedSearchEventsSchemaType; } diff --git a/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts b/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts index 362c5fc907..72b932b835 100644 --- a/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts +++ b/frontend/src/openapi/models/deprecatedSearchEventsSchemaType.ts @@ -169,4 +169,6 @@ export const DeprecatedSearchEventsSchemaType = { '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/disableBanner401.ts b/frontend/src/openapi/models/disableBanner401.ts deleted file mode 100644 index 0d3aecf854..0000000000 --- a/frontend/src/openapi/models/disableBanner401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DisableBanner401 = { - /** 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/disableBanner403.ts b/frontend/src/openapi/models/disableBanner403.ts deleted file mode 100644 index 0092c75eea..0000000000 --- a/frontend/src/openapi/models/disableBanner403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DisableBanner403 = { - /** 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/disableBanner404.ts b/frontend/src/openapi/models/disableBanner404.ts deleted file mode 100644 index e7cac2c084..0000000000 --- a/frontend/src/openapi/models/disableBanner404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type DisableBanner404 = { - /** 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..adb6a857ed --- /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 { EdgeProcessMetricsSchema } from './edgeProcessMetricsSchema'; +import type { EdgeInstanceTrafficSchema } from './edgeInstanceTrafficSchema'; +import type { EdgeUpstreamLatencySchema } from './edgeUpstreamLatencySchema'; +import type { EdgeRequestStatsSchema } from './edgeRequestStatsSchema'; + +/** + * Represents Edge instance observability data. + */ +export interface EdgeInstanceDataSchema { + /** The ID of the Edge process, typically a ULID. Newly generated for each restart of the instance. */ + identifier: string; + /** The name of the application, configured by the user, typically persistent across restarts of Edge. */ + appName: string; + /** + * Which region the Edge instance is running in. Set to AWS_REGION by default (if present). + * @nullable + */ + region?: string | null; + /** Which version (semver) of Edge is the Edge instance running. */ + edgeVersion: string; + /** @nullable */ + processMetrics?: EdgeProcessMetricsSchema; + /** RFC3339 timestamp for when the Edge instance was started. */ + started: string; + traffic: EdgeInstanceTrafficSchema; + latencyUpstream: EdgeUpstreamLatencySchema; + /** + * How many streaming clients are connected to the Edge instance. + * @minimum 0 + */ + connectedStreamingClients: number; + /** A list of Edge instances connected to the Edge instance. */ + connectedEdges: EdgeInstanceDataSchema[]; + /** Requests made to edge's endpoints since last report. Meant to be used for billing purposes. */ + requestsSinceLastReport?: EdgeRequestStatsSchema; +} diff --git a/frontend/src/openapi/models/edgeInstanceTrafficSchema.ts b/frontend/src/openapi/models/edgeInstanceTrafficSchema.ts new file mode 100644 index 0000000000..e7f1383e8f --- /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 { EdgeInstanceTrafficSchemaGet } from './edgeInstanceTrafficSchemaGet'; +import type { EdgeInstanceTrafficSchemaPost } from './edgeInstanceTrafficSchemaPost'; +import type { EdgeInstanceTrafficSchemaAccessDenied } from './edgeInstanceTrafficSchemaAccessDenied'; +import type { EdgeInstanceTrafficSchemaCachedResponses } from './edgeInstanceTrafficSchemaCachedResponses'; + +/** + * Represents requests to the Edge instance (/api/client/features, /api/frontend, etc.) + */ +export interface EdgeInstanceTrafficSchema { + /** A map containing GET requests. */ + get: EdgeInstanceTrafficSchemaGet; + /** A map containing POST requests. */ + post: EdgeInstanceTrafficSchemaPost; + /** A map containing requests that were denied. */ + accessDenied: EdgeInstanceTrafficSchemaAccessDenied; + /** A map containing requests that had cached responses. */ + cachedResponses: EdgeInstanceTrafficSchemaCachedResponses; +} 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..c689b32dac --- /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 the frontend endpoint */ + '/api/frontend'?: EdgeEndpointTrafficSchema; + /** Traffic to the proxy endpoint (proxy endpoint is deprecated, use /api/frontend instead) */ + '/api/proxy'?: 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; +} diff --git a/frontend/src/openapi/models/edgeTokenSchema.ts b/frontend/src/openapi/models/edgeTokenSchema.ts index 27e5247aef..5039d6051a 100644 --- a/frontend/src/openapi/models/edgeTokenSchema.ts +++ b/frontend/src/openapi/models/edgeTokenSchema.ts @@ -11,8 +11,8 @@ import type { EdgeTokenSchemaType } from './edgeTokenSchemaType'; 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 */ type: EdgeTokenSchemaType; + /** 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; } diff --git a/frontend/src/openapi/models/edgeUpstreamLatencySchema.ts b/frontend/src/openapi/models/edgeUpstreamLatencySchema.ts new file mode 100644 index 0000000000..d6dd8639dc --- /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 { + features: EdgeLatencyMetricsSchema; + metrics: EdgeLatencyMetricsSchema; + edge: EdgeLatencyMetricsSchema; +} diff --git a/frontend/src/openapi/models/editChange404.ts b/frontend/src/openapi/models/editChange404.ts deleted file mode 100644 index 5a913095cd..0000000000 --- a/frontend/src/openapi/models/editChange404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type EditChange404 = { - /** 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/enableBanner401.ts b/frontend/src/openapi/models/enableBanner401.ts deleted file mode 100644 index 663254791a..0000000000 --- a/frontend/src/openapi/models/enableBanner401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type EnableBanner401 = { - /** 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/enableBanner403.ts b/frontend/src/openapi/models/enableBanner403.ts deleted file mode 100644 index 4e76b22d63..0000000000 --- a/frontend/src/openapi/models/enableBanner403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type EnableBanner403 = { - /** 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/enableBanner404.ts b/frontend/src/openapi/models/enableBanner404.ts deleted file mode 100644 index 3d003b985e..0000000000 --- a/frontend/src/openapi/models/enableBanner404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type EnableBanner404 = { - /** 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/environmentProjectSchema.ts b/frontend/src/openapi/models/environmentProjectSchema.ts index a86f2047ae..dfa6ea6188 100644 --- a/frontend/src/openapi/models/environmentProjectSchema.ts +++ b/frontend/src/openapi/models/environmentProjectSchema.ts @@ -9,12 +9,16 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Describes a project's configuration in a given environment. */ export interface EnvironmentProjectSchema { - /** The strategy configuration to add when enabling a feature environment by default */ - defaultStrategy?: CreateFeatureStrategySchema; - /** `true` if the environment is enabled for the project, otherwise `false` */ - enabled: boolean; /** The name of the environment */ name: string; + /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ + type: string; + /** `true` if the environment is enabled for the project, otherwise `false` */ + enabled: boolean; + /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ + protected: boolean; + /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */ + sortOrder: number; /** * The number of client and front-end API tokens that have access to this project * @minimum 0 @@ -25,10 +29,6 @@ export interface EnvironmentProjectSchema { * @minimum 0 */ projectEnabledToggleCount?: number; - /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ - protected: boolean; - /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */ - sortOrder: number; - /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ - type: string; + /** The strategy configuration to add when enabling a feature environment by default */ + defaultStrategy?: CreateFeatureStrategySchema; } diff --git a/frontend/src/openapi/models/environmentSchema.ts b/frontend/src/openapi/models/environmentSchema.ts index 9155251d26..57408dfd86 100644 --- a/frontend/src/openapi/models/environmentSchema.ts +++ b/frontend/src/openapi/models/environmentSchema.ts @@ -8,32 +8,32 @@ * A definition of the project environment */ export interface EnvironmentSchema { - /** - * The number of API tokens for the project environment - * @minimum 0 - * @nullable - */ - apiTokenCount?: number | null; - /** `true` if the environment is enabled for the project, otherwise `false`. */ - enabled: boolean; - /** - * The number of enabled toggles for the project environment - * @minimum 0 - * @nullable - */ - enabledToggleCount?: number | null; /** The name of the environment */ name: string; + /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ + type: string; + /** `true` if the environment is enabled for the project, otherwise `false`. */ + enabled: boolean; + /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ + protected: boolean; + /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear. Needs to be an integer */ + sortOrder: number; /** * The number of projects with this environment * @minimum 0 * @nullable */ projectCount?: number | null; - /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ - protected: boolean; - /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear. Needs to be an integer */ - sortOrder: number; - /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ - type: string; + /** + * The number of API tokens for the project environment + * @minimum 0 + * @nullable + */ + apiTokenCount?: number | null; + /** + * The number of enabled toggles for the project environment + * @minimum 0 + * @nullable + */ + enabledToggleCount?: number | null; } diff --git a/frontend/src/openapi/models/environmentsProjectSchema.ts b/frontend/src/openapi/models/environmentsProjectSchema.ts index 4375a7288d..18dbae2c8f 100644 --- a/frontend/src/openapi/models/environmentsProjectSchema.ts +++ b/frontend/src/openapi/models/environmentsProjectSchema.ts @@ -9,8 +9,8 @@ import type { EnvironmentProjectSchema } from './environmentProjectSchema'; * Environments defined for a given project */ export interface EnvironmentsProjectSchema { - /** List of environments */ - environments: EnvironmentProjectSchema[]; /** Version of the environments schema */ version: number; + /** List of environments */ + environments: EnvironmentProjectSchema[]; } diff --git a/frontend/src/openapi/models/environmentsSchema.ts b/frontend/src/openapi/models/environmentsSchema.ts index e61d022c9f..5e267b68a7 100644 --- a/frontend/src/openapi/models/environmentsSchema.ts +++ b/frontend/src/openapi/models/environmentsSchema.ts @@ -9,8 +9,8 @@ import type { EnvironmentSchema } from './environmentSchema'; * A versioned list of environments */ export interface EnvironmentsSchema { - /** List of environments */ - environments: EnvironmentSchema[]; /** Version of the environments schema */ version: number; + /** List of environments */ + environments: EnvironmentSchema[]; } diff --git a/frontend/src/openapi/models/eventSchema.ts b/frontend/src/openapi/models/eventSchema.ts index 1bfd2ab963..5f7de545b9 100644 --- a/frontend/src/openapi/models/eventSchema.ts +++ b/frontend/src/openapi/models/eventSchema.ts @@ -3,17 +3,24 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { EventSchemaType } from './eventSchemaType'; import type { EventSchemaData } from './eventSchemaData'; import type { EventSchemaPreData } from './eventSchemaPreData'; import type { TagSchema } from './tagSchema'; -import type { EventSchemaType } from './eventSchemaType'; /** * An event describing something happening in the system */ export interface EventSchema { + /** + * The ID of the event. An increasing natural number. + * @minimum 1 + */ + id: number; /** The time the event happened as a RFC 3339-conformant timestamp. */ createdAt: string; + /** What [type](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#event-type-description) of event this is */ + type: EventSchemaType; /** Which user created this event */ createdBy: string; /** @@ -21,51 +28,44 @@ export interface EventSchema { * @nullable */ createdByUserId?: number | null; - /** - * Extra associated data related to the event, such as feature flag state, segment configuration, etc., if applicable. - * @nullable - */ - data?: EventSchemaData; /** * The feature flag environment the event relates to, if applicable. * @nullable */ environment?: string | null; - /** - * The name of the feature flag the event relates to, if applicable. - * @nullable - */ - featureName?: string | null; - /** - * The ID of the event. An increasing natural number. - * @minimum 1 - */ - id: number; - /** - * The concise, human-readable name of the event. - * @nullable - */ - label?: string | null; - /** - * Data relating to the previous state of the event's subject. - * @nullable - */ - preData?: EventSchemaPreData; /** * The project the event relates to, if applicable. * @nullable */ project?: string | null; /** - * A markdown-formatted summary of the event. + * The name of the feature flag the event relates to, if applicable. * @nullable */ - summary?: string | null; + featureName?: string | null; + /** + * Extra associated data related to the event, such as feature flag state, segment configuration, etc., if applicable. + * @nullable + */ + data?: EventSchemaData; + /** + * Data relating to the previous state of the event's subject. + * @nullable + */ + preData?: EventSchemaPreData; /** * Any tags related to the event, if applicable. * @nullable */ tags?: TagSchema[] | null; - /** What [type](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#event-type-description) of event this is */ - type: EventSchemaType; + /** + * The concise, human-readable name of the event. + * @nullable + */ + label?: string | null; + /** + * A markdown-formatted summary of the event. + * @nullable + */ + summary?: string | null; } diff --git a/frontend/src/openapi/models/eventSchemaType.ts b/frontend/src/openapi/models/eventSchemaType.ts index f796e8e728..e92425eda8 100644 --- a/frontend/src/openapi/models/eventSchemaType.ts +++ b/frontend/src/openapi/models/eventSchemaType.ts @@ -169,4 +169,6 @@ export const EventSchemaType = { '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/eventsSchema.ts b/frontend/src/openapi/models/eventsSchema.ts index 131b282afe..759a8accd0 100644 --- a/frontend/src/openapi/models/eventsSchema.ts +++ b/frontend/src/openapi/models/eventsSchema.ts @@ -3,13 +3,18 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { EventSchema } from './eventSchema'; import type { EventsSchemaVersion } from './eventsSchemaVersion'; +import type { EventSchema } from './eventSchema'; /** * A list of events that has happened in the system */ export interface EventsSchema { + /** + * The api version of this response. A natural increasing number. Only increases if format changes + * @minimum 1 + */ + version: EventsSchemaVersion; /** The list of events */ events: EventSchema[]; /** @@ -17,9 +22,4 @@ export interface EventsSchema { * @minimum 0 */ totalEvents?: number; - /** - * The api version of this response. A natural increasing number. Only increases if format changes - * @minimum 1 - */ - version: EventsSchemaVersion; } diff --git a/frontend/src/openapi/models/exportFeatures404.ts b/frontend/src/openapi/models/exportFeatures404.ts index 711582511a..20900f408d 100644 --- a/frontend/src/openapi/models/exportFeatures404.ts +++ b/frontend/src/openapi/models/exportFeatures404.ts @@ -7,8 +7,8 @@ export type ExportFeatures404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/exportQuerySchemaAnyOf.ts b/frontend/src/openapi/models/exportQuerySchemaAnyOf.ts index 43a4ed13eb..9074ca48d3 100644 --- a/frontend/src/openapi/models/exportQuerySchemaAnyOf.ts +++ b/frontend/src/openapi/models/exportQuerySchemaAnyOf.ts @@ -5,10 +5,10 @@ */ export type ExportQuerySchemaAnyOf = { - /** Whether to return a downloadable file */ - downloadFile?: boolean; /** The environment to export from */ environment: string; + /** Whether to return a downloadable file */ + downloadFile?: boolean; /** Selects features to export by name. If the list is empty all features are returned. */ features: string[]; }; diff --git a/frontend/src/openapi/models/exportQuerySchemaAnyOfThree.ts b/frontend/src/openapi/models/exportQuerySchemaAnyOfThree.ts index d511ab38ab..adfb397e28 100644 --- a/frontend/src/openapi/models/exportQuerySchemaAnyOfThree.ts +++ b/frontend/src/openapi/models/exportQuerySchemaAnyOfThree.ts @@ -5,10 +5,10 @@ */ export type ExportQuerySchemaAnyOfThree = { - /** Whether to return a downloadable file */ - downloadFile?: boolean; /** The environment to export from */ environment: string; + /** Whether to return a downloadable file */ + downloadFile?: boolean; /** Selects project to export the features from. Used when no tags or features are provided. */ project: string; }; diff --git a/frontend/src/openapi/models/exportQuerySchemaAnyOfTwo.ts b/frontend/src/openapi/models/exportQuerySchemaAnyOfTwo.ts index 2fe630e523..e8b7685a17 100644 --- a/frontend/src/openapi/models/exportQuerySchemaAnyOfTwo.ts +++ b/frontend/src/openapi/models/exportQuerySchemaAnyOfTwo.ts @@ -5,10 +5,10 @@ */ export type ExportQuerySchemaAnyOfTwo = { - /** Whether to return a downloadable file */ - downloadFile?: boolean; /** The environment to export from */ environment: string; + /** Whether to return a downloadable file */ + downloadFile?: boolean; /** Selects features to export by tag. */ tag: string; }; diff --git a/frontend/src/openapi/models/exportResultSchema.ts b/frontend/src/openapi/models/exportResultSchema.ts index 2a606f63cd..52c3833827 100644 --- a/frontend/src/openapi/models/exportResultSchema.ts +++ b/frontend/src/openapi/models/exportResultSchema.ts @@ -3,33 +3,33 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ContextFieldSchema } from './contextFieldSchema'; -import type { FeatureDependenciesSchema } from './featureDependenciesSchema'; -import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; import type { FeatureSchema } from './featureSchema'; import type { FeatureStrategySchema } from './featureStrategySchema'; +import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; +import type { ContextFieldSchema } from './contextFieldSchema'; import type { FeatureTagSchema } from './featureTagSchema'; import type { ExportResultSchemaSegmentsItem } from './exportResultSchemaSegmentsItem'; import type { TagTypeSchema } from './tagTypeSchema'; +import type { FeatureDependenciesSchema } from './featureDependenciesSchema'; /** * The result of the export operation, providing you with the feature flag definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.) */ export interface ExportResultSchema { - /** A list of all the context fields that are in use by any of the strategies in the `featureStrategies` list. */ - contextFields?: ContextFieldSchema[]; - /** A list of all the dependencies for features in `features` list. */ - dependencies?: FeatureDependenciesSchema[]; - /** Environment-specific configuration for all the features in the `features` list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc. */ - featureEnvironments?: FeatureEnvironmentSchema[]; /** All the exported features. */ features: FeatureSchema[]; /** All strategy instances that are used by the exported features in the `features` list. */ featureStrategies: FeatureStrategySchema[]; + /** Environment-specific configuration for all the features in the `features` list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc. */ + featureEnvironments?: FeatureEnvironmentSchema[]; + /** A list of all the context fields that are in use by any of the strategies in the `featureStrategies` list. */ + contextFields?: ContextFieldSchema[]; /** A list of all the tags that have been applied to any of the features in the `features` list. */ featureTags?: FeatureTagSchema[]; /** A list of all the segments that are used by the strategies in the `featureStrategies` list. */ segments?: ExportResultSchemaSegmentsItem[]; /** A list of all of the tag types that are used in the `featureTags` list. */ tagTypes: TagTypeSchema[]; + /** A list of all the dependencies for features in `features` list. */ + dependencies?: FeatureDependenciesSchema[]; } diff --git a/frontend/src/openapi/models/featureDependenciesSchema.ts b/frontend/src/openapi/models/featureDependenciesSchema.ts index b2ece2e691..a848f26d6e 100644 --- a/frontend/src/openapi/models/featureDependenciesSchema.ts +++ b/frontend/src/openapi/models/featureDependenciesSchema.ts @@ -9,8 +9,8 @@ import type { DependentFeatureSchema } from './dependentFeatureSchema'; * Feature dependency connection between a child feature and its dependencies */ export interface FeatureDependenciesSchema { - /** List of parent features for the child feature */ - dependencies: DependentFeatureSchema[]; /** The name of the child feature. */ feature: string; + /** List of parent features for the child feature */ + dependencies: DependentFeatureSchema[]; } diff --git a/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts b/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts index c52e0fe32a..7fa91f3cbd 100644 --- a/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts +++ b/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts @@ -10,24 +10,24 @@ import type { FeatureEnvironmentMetricsSchemaVariants } from './featureEnvironme * How many times `feautreName` was evaluated to `true` (yes) and `false` (no) for `appName` in `environmnet` */ export interface FeatureEnvironmentMetricsSchema { + /** The name of the feature */ + featureName?: string; /** The name of the application the SDK is being used in */ appName?: string; /** Which environment the SDK is being used in */ environment: string; - /** The name of the feature */ - featureName?: string; - /** - * How many times the toggle evaluated to false - * @minimum 0 - */ - no: number; /** The start of the time window these metrics are valid for. The window is usually 1 hour wide */ timestamp: DateSchema; - /** How many times each variant was returned */ - variants?: FeatureEnvironmentMetricsSchemaVariants; /** * How many times the toggle evaluated to true * @minimum 0 */ yes: number; + /** + * How many times the toggle evaluated to false + * @minimum 0 + */ + no: number; + /** How many times each variant was returned */ + variants?: FeatureEnvironmentMetricsSchemaVariants; } diff --git a/frontend/src/openapi/models/featureEnvironmentSchema.ts b/frontend/src/openapi/models/featureEnvironmentSchema.ts index 747fef98b5..f796ad1e55 100644 --- a/frontend/src/openapi/models/featureEnvironmentSchema.ts +++ b/frontend/src/openapi/models/featureEnvironmentSchema.ts @@ -10,31 +10,31 @@ import type { VariantSchema } from './variantSchema'; * A detailed description of the feature environment */ export interface FeatureEnvironmentSchema { - /** `true` if the feature is enabled for the environment, otherwise `false`. */ - enabled: boolean; /** The name of the environment */ - environment?: string; + name: string; /** The name of the feature */ featureName?: string; - /** Whether the feature has any enabled strategies defined. */ - hasEnabledStrategies?: boolean; - /** Whether the feature has any strategies defined. */ - hasStrategies?: boolean; + /** The name of the environment */ + environment?: string; + /** The type of the environment */ + type?: string; + /** `true` if the feature is enabled for the environment, otherwise `false`. */ + enabled: boolean; + /** The sort order of the feature environment in the feature environments list */ + sortOrder?: number; + /** The number of defined variants */ + variantCount?: number; + /** A list of activation strategies for the feature environment */ + strategies?: FeatureStrategySchema[]; + /** A list of variants for the feature environment */ + variants?: VariantSchema[]; /** * The date when metrics where last collected for the feature environment * @nullable */ lastSeenAt?: string | null; - /** The name of the environment */ - name: string; - /** The sort order of the feature environment in the feature environments list */ - sortOrder?: number; - /** A list of activation strategies for the feature environment */ - strategies?: FeatureStrategySchema[]; - /** The type of the environment */ - type?: string; - /** The number of defined variants */ - variantCount?: number; - /** A list of variants for the feature environment */ - variants?: VariantSchema[]; + /** Whether the feature has any strategies defined. */ + hasStrategies?: boolean; + /** Whether the feature has any enabled strategies defined. */ + hasEnabledStrategies?: boolean; } diff --git a/frontend/src/openapi/models/featureEventsSchema.ts b/frontend/src/openapi/models/featureEventsSchema.ts index b000feb217..5ee6b1ae1c 100644 --- a/frontend/src/openapi/models/featureEventsSchema.ts +++ b/frontend/src/openapi/models/featureEventsSchema.ts @@ -3,25 +3,25 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { EventSchema } from './eventSchema'; import type { FeatureEventsSchemaVersion } from './featureEventsSchemaVersion'; +import type { EventSchema } from './eventSchema'; /** * One or more events happening to a specific feature flag */ export interface FeatureEventsSchema { - /** The list of events */ - events: EventSchema[]; - /** The name of the feature flag these events relate to */ - toggleName?: string; - /** - * How many events are there for this feature flag - * @minimum 0 - */ - totalEvents?: number; /** * An API versioning number * @minimum 1 */ version?: FeatureEventsSchemaVersion; + /** The name of the feature flag these events relate to */ + toggleName?: string; + /** The list of events */ + events: EventSchema[]; + /** + * How many events are there for this feature flag + * @minimum 0 + */ + totalEvents?: number; } diff --git a/frontend/src/openapi/models/featureLifecycleSchemaItem.ts b/frontend/src/openapi/models/featureLifecycleSchemaItem.ts index cfdeabf726..690a03ed3a 100644 --- a/frontend/src/openapi/models/featureLifecycleSchemaItem.ts +++ b/frontend/src/openapi/models/featureLifecycleSchemaItem.ts @@ -9,10 +9,10 @@ import type { FeatureLifecycleSchemaItemStage } from './featureLifecycleSchemaIt * The lifecycle stage of the feature */ export type FeatureLifecycleSchemaItem = { - /** The date when the feature entered a given stage */ - enteredStageAt: string; /** The name of the lifecycle stage that got recorded for a given feature */ stage: FeatureLifecycleSchemaItemStage; /** The name of the detailed status of a given stage. E.g. completed stage can be kept or discarded. */ status?: string; + /** The date when the feature entered a given stage */ + enteredStageAt: string; }; diff --git a/frontend/src/openapi/models/featureMetricsSchema.ts b/frontend/src/openapi/models/featureMetricsSchema.ts index 4c87119041..1c7a63ad61 100644 --- a/frontend/src/openapi/models/featureMetricsSchema.ts +++ b/frontend/src/openapi/models/featureMetricsSchema.ts @@ -9,13 +9,13 @@ import type { FeatureEnvironmentMetricsSchema } from './featureEnvironmentMetric * A batch of feature metrics */ export interface FeatureMetricsSchema { - /** Metrics gathered per environment */ - data: FeatureEnvironmentMetricsSchema[]; - /** The maturity level of this API (alpha, beta, stable, deprecated) */ - maturity: string; /** * The version of this schema * @minimum 1 */ version: number; + /** The maturity level of this API (alpha, beta, stable, deprecated) */ + maturity: string; + /** Metrics gathered per environment */ + data: FeatureEnvironmentMetricsSchema[]; } diff --git a/frontend/src/openapi/models/featureSchema.ts b/frontend/src/openapi/models/featureSchema.ts index ef4b5f82fc..13d96eb0dd 100644 --- a/frontend/src/openapi/models/featureSchema.ts +++ b/frontend/src/openapi/models/featureSchema.ts @@ -3,30 +3,40 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureSchemaCollaborators } from './featureSchemaCollaborators'; import type { FeatureSchemaCreatedBy } from './featureSchemaCreatedBy'; -import type { FeatureSchemaDependenciesItem } from './featureSchemaDependenciesItem'; import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; -import type { FeatureSchemaLifecycle } from './featureSchemaLifecycle'; +import type { VariantSchema } from './variantSchema'; import type { FeatureSchemaStrategiesItem } from './featureSchemaStrategiesItem'; import type { TagSchema } from './tagSchema'; -import type { VariantSchema } from './variantSchema'; +import type { FeatureSchemaLifecycle } from './featureSchemaLifecycle'; +import type { FeatureSchemaDependenciesItem } from './featureSchemaDependenciesItem'; +import type { FeatureSchemaCollaborators } from './featureSchemaCollaborators'; /** * A feature flag definition */ export interface FeatureSchema { - /** `true` if the feature is archived */ - archived?: boolean; + /** Unique feature name */ + name: string; + /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ + type?: string; /** - * The date the feature was archived + * Detailed description of the feature * @nullable */ - archivedAt?: string | null; - /** The list of child feature names. This is an experimental field and may change. */ - children?: string[]; - /** Information related to users who have made changes to this feature flage. */ - collaborators?: FeatureSchemaCollaborators; + description?: string | null; + /** `true` if the feature is archived */ + archived?: boolean; + /** Name of the project the feature belongs to */ + project?: string; + /** `true` if the feature is enabled, otherwise `false`. */ + enabled?: boolean; + /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ + stale?: boolean; + /** `true` if the feature was favorited, otherwise `false`. */ + favorite?: boolean; + /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ + impressionData?: boolean; /** * The date the feature was created * @nullable @@ -34,35 +44,24 @@ export interface FeatureSchema { createdAt?: string | null; /** User who created the feature flag */ createdBy?: FeatureSchemaCreatedBy; - /** The list of parent dependencies. This is an experimental field and may change. */ - dependencies?: FeatureSchemaDependenciesItem[]; /** - * Detailed description of the feature + * The date the feature was archived * @nullable */ - description?: string | null; - /** `true` if the feature is enabled, otherwise `false`. */ - enabled?: boolean; - /** The list of environments where the feature can be used */ - environments?: FeatureEnvironmentSchema[]; - /** `true` if the feature was favorited, otherwise `false`. */ - favorite?: boolean; - /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ - impressionData?: boolean; + archivedAt?: string | null; /** * The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema * @deprecated * @nullable */ lastSeenAt?: string | null; - /** Current lifecycle stage of the feature */ - lifecycle?: FeatureSchemaLifecycle; - /** Unique feature name */ - name: string; - /** Name of the project the feature belongs to */ - project?: string; - /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ - stale?: boolean; + /** The list of environments where the feature can be used */ + environments?: FeatureEnvironmentSchema[]; + /** + * The list of feature variants + * @deprecated + */ + variants?: VariantSchema[]; /** * This was deprecated in v5 and will be removed in a future major version * @deprecated @@ -73,11 +72,12 @@ export interface FeatureSchema { * @nullable */ tags?: TagSchema[] | null; - /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ - type?: string; - /** - * The list of feature variants - * @deprecated - */ - variants?: VariantSchema[]; + /** The list of child feature names. This is an experimental field and may change. */ + children?: string[]; + /** Current lifecycle stage of the feature */ + lifecycle?: FeatureSchemaLifecycle; + /** The list of parent dependencies. This is an experimental field and may change. */ + dependencies?: FeatureSchemaDependenciesItem[]; + /** Information related to users who have made changes to this feature flage. */ + collaborators?: FeatureSchemaCollaborators; } diff --git a/frontend/src/openapi/models/featureSchemaCollaboratorsUsersItem.ts b/frontend/src/openapi/models/featureSchemaCollaboratorsUsersItem.ts index 319be64dc5..60e075c4df 100644 --- a/frontend/src/openapi/models/featureSchemaCollaboratorsUsersItem.ts +++ b/frontend/src/openapi/models/featureSchemaCollaboratorsUsersItem.ts @@ -10,8 +10,8 @@ export type FeatureSchemaCollaboratorsUsersItem = { /** The user's id */ id: number; - /** The URL to the user's profile image */ - imageUrl: string; /** The user's name, username, or email (prioritized in that order). If none of those are present, this property will be set to the string `unknown` */ name: string; + /** The URL to the user's profile image */ + imageUrl: string; }; diff --git a/frontend/src/openapi/models/featureSchemaCreatedBy.ts b/frontend/src/openapi/models/featureSchemaCreatedBy.ts index f0dfb667ef..cd1f72af36 100644 --- a/frontend/src/openapi/models/featureSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/featureSchemaCreatedBy.ts @@ -10,8 +10,8 @@ export type FeatureSchemaCreatedBy = { /** The user id */ id: number; - /** URL used for the user profile image */ - imageUrl: string; /** Name of the user */ name: string; + /** URL used for the user profile image */ + imageUrl: string; }; diff --git a/frontend/src/openapi/models/featureSchemaDependenciesItem.ts b/frontend/src/openapi/models/featureSchemaDependenciesItem.ts index 5f5f4e53a2..d538c66a2c 100644 --- a/frontend/src/openapi/models/featureSchemaDependenciesItem.ts +++ b/frontend/src/openapi/models/featureSchemaDependenciesItem.ts @@ -5,10 +5,10 @@ */ export type FeatureSchemaDependenciesItem = { - /** Whether the parent feature is enabled or not */ - enabled?: boolean; /** The name of the parent feature */ feature: string; + /** Whether the parent feature is enabled or not */ + enabled?: boolean; /** The list of variants the parent feature should resolve to. Only valid when feature is enabled. */ variants?: string[]; }; diff --git a/frontend/src/openapi/models/featureSchemaLifecycle.ts b/frontend/src/openapi/models/featureSchemaLifecycle.ts index 1647c0e212..aac4f4b5ed 100644 --- a/frontend/src/openapi/models/featureSchemaLifecycle.ts +++ b/frontend/src/openapi/models/featureSchemaLifecycle.ts @@ -9,8 +9,8 @@ import type { FeatureSchemaLifecycleStage } from './featureSchemaLifecycleStage' * Current lifecycle stage of the feature */ export type FeatureSchemaLifecycle = { - /** When the feature entered this stage */ - enteredStageAt: string; /** The name of the current lifecycle stage */ stage: FeatureSchemaLifecycleStage; + /** When the feature entered this stage */ + enteredStageAt: string; }; diff --git a/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts b/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts index 0bcfeaecf5..07e0d77436 100644 --- a/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts +++ b/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts @@ -10,41 +10,41 @@ import type { VariantSchema } from './variantSchema'; * A detailed description of the feature environment */ export interface FeatureSearchEnvironmentSchema { - /** `true` if the feature is enabled for the environment, otherwise `false`. */ - enabled: boolean; /** The name of the environment */ - environment?: string; + name: string; /** The name of the feature */ featureName?: string; - /** Whether the feature has any enabled strategies defined. */ - hasEnabledStrategies?: boolean; - /** Whether the feature has any strategies defined. */ - hasStrategies?: boolean; + /** The name of the environment */ + environment?: string; + /** The type of the environment */ + type: string; + /** `true` if the feature is enabled for the environment, otherwise `false`. */ + enabled: boolean; + /** The sort order of the feature environment in the feature environments list */ + sortOrder?: number; + /** The number of defined variants */ + variantCount?: number; + /** A list of activation strategies for the feature environment */ + strategies?: FeatureStrategySchema[]; + /** A list of variants for the feature environment */ + variants?: VariantSchema[]; /** * The date when metrics where last collected for the feature environment * @nullable */ lastSeenAt?: string | null; - /** The name of the environment */ - name: string; - /** - * How many times the toggle evaluated to false in last hour bucket - * @minimum 0 - */ - no?: number; - /** The sort order of the feature environment in the feature environments list */ - sortOrder?: number; - /** A list of activation strategies for the feature environment */ - strategies?: FeatureStrategySchema[]; - /** The type of the environment */ - type: string; - /** The number of defined variants */ - variantCount?: number; - /** A list of variants for the feature environment */ - variants?: VariantSchema[]; + /** Whether the feature has any strategies defined. */ + hasStrategies?: boolean; + /** Whether the feature has any enabled strategies defined. */ + hasEnabledStrategies?: boolean; /** * How many times the toggle evaluated to true in last hour bucket * @minimum 0 */ yes?: number; + /** + * How many times the toggle evaluated to false in last hour bucket + * @minimum 0 + */ + no?: number; } diff --git a/frontend/src/openapi/models/featureSearchResponseSchema.ts b/frontend/src/openapi/models/featureSearchResponseSchema.ts index d28f9ed3cd..cb7c3a4727 100644 --- a/frontend/src/openapi/models/featureSearchResponseSchema.ts +++ b/frontend/src/openapi/models/featureSearchResponseSchema.ts @@ -3,62 +3,65 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureSearchResponseSchemaCreatedBy } from './featureSearchResponseSchemaCreatedBy'; import type { FeatureSearchResponseSchemaDependencyType } from './featureSearchResponseSchemaDependencyType'; import type { FeatureSearchEnvironmentSchema } from './featureSearchEnvironmentSchema'; -import type { FeatureSearchResponseSchemaLifecycle } from './featureSearchResponseSchemaLifecycle'; +import type { VariantSchema } from './variantSchema'; import type { FeatureSearchResponseSchemaStrategiesItem } from './featureSearchResponseSchemaStrategiesItem'; import type { TagSchema } from './tagSchema'; -import type { VariantSchema } from './variantSchema'; +import type { FeatureSearchResponseSchemaLifecycle } from './featureSearchResponseSchemaLifecycle'; +import type { FeatureSearchResponseSchemaCreatedBy } from './featureSearchResponseSchemaCreatedBy'; /** * A feature flag definition */ export interface FeatureSearchResponseSchema { + /** Unique feature name */ + name: string; + /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ + type: string; + /** + * Detailed description of the feature + * @nullable + */ + description: string | null; + /** + * The type of dependency. 'parent' means that the feature is a parent feature, 'child' means that the feature is a child feature. + * @nullable + */ + dependencyType: FeatureSearchResponseSchemaDependencyType; + /** Name of the project the feature belongs to */ + project: string; + /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ + stale: boolean; + /** `true` if the feature was favorited, otherwise `false`. */ + favorite: boolean; + /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ + impressionData: boolean; + /** + * The date the feature was created + * @nullable + */ + createdAt: string | null; /** * The date the feature was archived * @nullable */ archivedAt: string | null; - /** - * The date the feature was created - * @nullable - */ - createdAt: string | null; - /** User who created the feature flag */ - createdBy: FeatureSearchResponseSchemaCreatedBy; - /** - * The type of dependency. 'parent' means that the feature is a parent feature, 'child' means that the feature is a child feature. - * @nullable - */ - dependencyType: FeatureSearchResponseSchemaDependencyType; - /** - * Detailed description of the feature - * @nullable - */ - description: string | null; - /** The list of environments where the feature can be used */ - environments: FeatureSearchEnvironmentSchema[]; - /** `true` if the feature was favorited, otherwise `false`. */ - favorite: boolean; - /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ - impressionData: boolean; /** * The date when metrics where last collected for the feature. This field was deprecated in v5 and will be removed in a future release, use the one in featureEnvironmentSchema * @deprecated * @nullable */ lastSeenAt?: string | null; - /** Current lifecycle stage of the feature */ - lifecycle?: FeatureSearchResponseSchemaLifecycle; - /** Unique feature name */ - name: string; - /** Name of the project the feature belongs to */ - project: string; + /** The list of environments where the feature can be used */ + environments: FeatureSearchEnvironmentSchema[]; /** The list of segments the feature is enabled for. */ segments: string[]; - /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ - stale: boolean; + /** + * The list of feature variants. This field was deprecated in v5 + * @deprecated + */ + variants?: VariantSchema[]; /** * This is a legacy field that was deprecated in v5 * @deprecated @@ -69,11 +72,8 @@ export interface FeatureSearchResponseSchema { * @nullable */ tags?: TagSchema[] | null; - /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ - type: string; - /** - * The list of feature variants. This field was deprecated in v5 - * @deprecated - */ - variants?: VariantSchema[]; + /** Current lifecycle stage of the feature */ + lifecycle?: FeatureSearchResponseSchemaLifecycle; + /** User who created the feature flag */ + createdBy: FeatureSearchResponseSchemaCreatedBy; } diff --git a/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts b/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts index 0843f6a772..bd38c7761e 100644 --- a/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/featureSearchResponseSchemaCreatedBy.ts @@ -10,8 +10,8 @@ export type FeatureSearchResponseSchemaCreatedBy = { /** The user id */ id: number; - /** URL used for the user profile image */ - imageUrl: string; /** Name of the user */ name: string; + /** URL used for the user profile image */ + imageUrl: string; }; diff --git a/frontend/src/openapi/models/featureSearchResponseSchemaLifecycle.ts b/frontend/src/openapi/models/featureSearchResponseSchemaLifecycle.ts index 6f1835e5cd..361364abc4 100644 --- a/frontend/src/openapi/models/featureSearchResponseSchemaLifecycle.ts +++ b/frontend/src/openapi/models/featureSearchResponseSchemaLifecycle.ts @@ -9,8 +9,6 @@ import type { FeatureSearchResponseSchemaLifecycleStage } from './featureSearchR * Current lifecycle stage of the feature */ export type FeatureSearchResponseSchemaLifecycle = { - /** When the feature entered this stage */ - enteredStageAt: string; /** The name of the current lifecycle stage */ stage: FeatureSearchResponseSchemaLifecycleStage; /** @@ -18,4 +16,6 @@ export type FeatureSearchResponseSchemaLifecycle = { * @nullable */ status?: string | null; + /** When the feature entered this stage */ + enteredStageAt: string; }; diff --git a/frontend/src/openapi/models/featureStrategySchema.ts b/frontend/src/openapi/models/featureStrategySchema.ts index 12dcffef49..8e0412a21b 100644 --- a/frontend/src/openapi/models/featureStrategySchema.ts +++ b/frontend/src/openapi/models/featureStrategySchema.ts @@ -4,15 +4,22 @@ * See `gen:api` script in package.json */ import type { ConstraintSchema } from './constraintSchema'; -import type { ParametersSchema } from './parametersSchema'; import type { StrategyVariantSchema } from './strategyVariantSchema'; +import type { ParametersSchema } from './parametersSchema'; /** * 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 */ - constraints?: ConstraintSchema[]; + /** A uuid for the feature strategy */ + id?: string; + /** The name or type of strategy */ + name: string; + /** + * A descriptive title for the strategy + * @nullable + */ + title?: string | null; /** * A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs * @nullable @@ -20,20 +27,13 @@ export interface FeatureStrategySchema { disabled?: boolean | null; /** The name or feature the strategy is attached to */ featureName?: string; - /** A uuid for the feature strategy */ - id?: string; - /** The name or type of strategy */ - name: string; - parameters?: ParametersSchema; - /** A list of segment ids attached to the strategy */ - segments?: number[]; /** The order of the strategy in the list */ sortOrder?: number; - /** - * A descriptive title for the strategy - * @nullable - */ - title?: string | null; + /** A list of segment ids attached to the strategy */ + segments?: number[]; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** Strategy level variants */ variants?: StrategyVariantSchema[]; + parameters?: ParametersSchema; } diff --git a/frontend/src/openapi/models/featureStrategySegmentSchema.ts b/frontend/src/openapi/models/featureStrategySegmentSchema.ts index 968b2763da..5ec0d10460 100644 --- a/frontend/src/openapi/models/featureStrategySegmentSchema.ts +++ b/frontend/src/openapi/models/featureStrategySegmentSchema.ts @@ -8,8 +8,8 @@ * An object containing a segment identifier and a strategy identifier. */ export interface FeatureStrategySegmentSchema { - /** The ID of the strategy */ - featureStrategyId: string; /** The ID of the segment */ segmentId: number; + /** The ID of the strategy */ + featureStrategyId: string; } diff --git a/frontend/src/openapi/models/featureTagSchema.ts b/frontend/src/openapi/models/featureTagSchema.ts index f68f5736de..c6b7396ed4 100644 --- a/frontend/src/openapi/models/featureTagSchema.ts +++ b/frontend/src/openapi/models/featureTagSchema.ts @@ -8,19 +8,14 @@ * Describes a tag applied to a feature */ export interface FeatureTagSchema { - /** - * The id of the user who created this tag - * @nullable - */ - 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; @@ -29,4 +24,9 @@ export interface FeatureTagSchema { * @deprecated */ value?: string; + /** + * The id of the user who created this tag + * @nullable + */ + createdByUserId?: number | null; } diff --git a/frontend/src/openapi/models/featureTypeCountSchema.ts b/frontend/src/openapi/models/featureTypeCountSchema.ts index f81caee47d..afda6f6cb0 100644 --- a/frontend/src/openapi/models/featureTypeCountSchema.ts +++ b/frontend/src/openapi/models/featureTypeCountSchema.ts @@ -8,8 +8,8 @@ * A count of feature flags of a specific type */ export interface FeatureTypeCountSchema { - /** Number of feature flags of this type */ - count: number; /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ type: string; + /** Number of feature flags of this type */ + count: number; } diff --git a/frontend/src/openapi/models/featureTypeSchema.ts b/frontend/src/openapi/models/featureTypeSchema.ts index f95a1e8afd..225645f14e 100644 --- a/frontend/src/openapi/models/featureTypeSchema.ts +++ b/frontend/src/openapi/models/featureTypeSchema.ts @@ -8,16 +8,16 @@ * A [feature flag type](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types). */ export interface FeatureTypeSchema { - /** A description of what this feature flag type is intended to be used for. */ - description: string; /** The identifier of this feature flag type. */ id: string; + /** The display name of this feature flag type. */ + name: string; + /** A description of what this feature flag type is intended to be used for. */ + description: string; /** * How many days it takes before a feature flag of this typed is flagged as [potentially stale](https://docs.getunleash.io/reference/technical-debt#stale-and-potentially-stale-toggles) by Unleash. If this value is `null`, Unleash will never mark it as potentially stale. * @minimum 0 * @nullable */ lifetimeDays: number | null; - /** The display name of this feature flag type. */ - name: string; } diff --git a/frontend/src/openapi/models/featureTypesSchema.ts b/frontend/src/openapi/models/featureTypesSchema.ts index 7d304840ce..2372581cb1 100644 --- a/frontend/src/openapi/models/featureTypesSchema.ts +++ b/frontend/src/openapi/models/featureTypesSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureTypeSchema } from './featureTypeSchema'; import type { FeatureTypesSchemaVersion } from './featureTypesSchemaVersion'; +import type { FeatureTypeSchema } from './featureTypeSchema'; /** * A list of [feature flag types](https://docs.getunleash.io/reference/feature-toggles#feature-flag-types) and the schema version used to represent those feature types. */ export interface FeatureTypesSchema { - /** The list of feature flag types. */ - types: FeatureTypeSchema[]; /** The schema version used to describe the feature flag types listed in the `types` property. */ version: FeatureTypesSchemaVersion; + /** The list of feature flag types. */ + types: FeatureTypeSchema[]; } diff --git a/frontend/src/openapi/models/featureUsageSchema.ts b/frontend/src/openapi/models/featureUsageSchema.ts index 14a2d26f22..9ca6c69613 100644 --- a/frontend/src/openapi/models/featureUsageSchema.ts +++ b/frontend/src/openapi/models/featureUsageSchema.ts @@ -9,17 +9,17 @@ import type { FeatureEnvironmentMetricsSchema } from './featureEnvironmentMetric * How many applications have seen this feature flag, as well as how this feature was evaluated the last hour */ export interface FeatureUsageSchema { - /** The name of the feature */ - featureName: string; - /** Last hour statistics. Accumulated per feature per environment. Contains counts for evaluations to true (yes) and to false (no) */ - lastHourUsage: FeatureEnvironmentMetricsSchema[]; - /** The maturity level of this API (alpha, beta, stable, deprecated) */ - maturity: string; - /** A list of applications seen using this feature */ - seenApplications: string[]; /** * The version of this schema * @minimum 1 */ version: number; + /** The maturity level of this API (alpha, beta, stable, deprecated) */ + maturity: string; + /** The name of the feature */ + featureName: string; + /** Last hour statistics. Accumulated per feature per environment. Contains counts for evaluations to true (yes) and to false (no) */ + lastHourUsage: FeatureEnvironmentMetricsSchema[]; + /** A list of applications seen using this feature */ + seenApplications: string[]; } diff --git a/frontend/src/openapi/models/featureVariantsSchema.ts b/frontend/src/openapi/models/featureVariantsSchema.ts index 59b2a497a5..8c2bc98b28 100644 --- a/frontend/src/openapi/models/featureVariantsSchema.ts +++ b/frontend/src/openapi/models/featureVariantsSchema.ts @@ -9,8 +9,8 @@ import type { VariantSchema } from './variantSchema'; * A versioned collection of feature flag variants. */ export interface FeatureVariantsSchema { - /** All variants defined for a specific feature flag. */ - variants: VariantSchema[]; /** The version of the feature variants schema. */ version: number; + /** All variants defined for a specific feature flag. */ + variants: VariantSchema[]; } diff --git a/frontend/src/openapi/models/feedbackCreateSchema.ts b/frontend/src/openapi/models/feedbackCreateSchema.ts index 24d6d9f854..b182cef176 100644 --- a/frontend/src/openapi/models/feedbackCreateSchema.ts +++ b/frontend/src/openapi/models/feedbackCreateSchema.ts @@ -8,8 +8,8 @@ * User feedback information to be created. */ export interface FeedbackCreateSchema { - /** The name of the feedback session */ - feedbackId: string; /** `true` if the user has asked never to see this feedback questionnaire again. Defaults to `false`. */ neverShow?: boolean; + /** The name of the feedback session */ + feedbackId: string; } diff --git a/frontend/src/openapi/models/feedbackResponseSchema.ts b/frontend/src/openapi/models/feedbackResponseSchema.ts index b282cd2b05..9e40372bd7 100644 --- a/frontend/src/openapi/models/feedbackResponseSchema.ts +++ b/frontend/src/openapi/models/feedbackResponseSchema.ts @@ -8,15 +8,15 @@ * User feedback information about a particular feedback item. */ export interface FeedbackResponseSchema { - /** The name of the feedback session */ - feedbackId?: string; + /** The ID of the user that gave the feedback. */ + userId?: number; + /** `true` if the user has asked never to see this feedback questionnaire again. */ + neverShow?: boolean; /** * When this feedback was given * @nullable */ given?: string | null; - /** `true` if the user has asked never to see this feedback questionnaire again. */ - neverShow?: boolean; - /** The ID of the user that gave the feedback. */ - userId?: number; + /** The name of the feedback session */ + feedbackId?: string; } diff --git a/frontend/src/openapi/models/feedbackSchema.ts b/frontend/src/openapi/models/feedbackSchema.ts index b660eeb0fe..3f987f3b78 100644 --- a/frontend/src/openapi/models/feedbackSchema.ts +++ b/frontend/src/openapi/models/feedbackSchema.ts @@ -8,30 +8,30 @@ * Schema representing feedback information. */ export interface FeedbackSchema { - /** - * Details aspects of the service or product that could benefit from enhancements or modifications. Aids in pinpointing areas needing attention for improvement. - * @nullable - */ - areasForImprovement: string | null; - /** The category of the feedback. */ - category: string; + /** The unique identifier of the feedback. */ + id: number; /** The date and time when the feedback was provided. */ createdAt: string; + /** The category of the feedback. */ + category: string; + /** + * The type of user providing the feedback. + * @nullable + */ + userType: string | null; /** * A score indicating the difficulty experienced by the user. * @nullable */ difficultyScore: number | null; - /** The unique identifier of the feedback. */ - id: number; /** * This field is for users to mention what they liked. * @nullable */ positive: string | null; /** - * The type of user providing the feedback. + * Details aspects of the service or product that could benefit from enhancements or modifications. Aids in pinpointing areas needing attention for improvement. * @nullable */ - userType: string | null; + areasForImprovement: string | null; } diff --git a/frontend/src/openapi/models/feedbackUpdateSchema.ts b/frontend/src/openapi/models/feedbackUpdateSchema.ts index bdb64b7793..c3fe4d499a 100644 --- a/frontend/src/openapi/models/feedbackUpdateSchema.ts +++ b/frontend/src/openapi/models/feedbackUpdateSchema.ts @@ -8,13 +8,13 @@ * User feedback information to be updated. */ export interface FeedbackUpdateSchema { + /** The ID of the user that gave the feedback. */ + userId?: number; + /** `true` if the user has asked never to see this feedback questionnaire again. */ + neverShow?: boolean; /** * When this feedback was given * @nullable */ given?: string | null; - /** `true` if the user has asked never to see this feedback questionnaire again. */ - neverShow?: boolean; - /** The ID of the user that gave the feedback. */ - userId?: number; } diff --git a/frontend/src/openapi/models/frontendApiClientSchema.ts b/frontend/src/openapi/models/frontendApiClientSchema.ts index a3b6c6b9fc..c691f0e921 100644 --- a/frontend/src/openapi/models/frontendApiClientSchema.ts +++ b/frontend/src/openapi/models/frontendApiClientSchema.ts @@ -11,17 +11,17 @@ import type { FrontendApiClientSchemaStarted } from './frontendApiClientSchemaSt export interface FrontendApiClientSchema { /** Name of the application using Unleash */ appName: string; + /** Instance id for this application (typically hostname, podId or similar) */ + instanceId?: string; + /** Optional field that describes the sdk version (name:version) */ + sdkVersion?: string; /** * deprecated * @deprecated */ environment?: string; - /** Instance id for this application (typically hostname, podId or similar) */ - instanceId?: string; /** At which interval, in milliseconds, will this client be expected to send metrics */ interval: number; - /** Optional field that describes the sdk version (name:version) */ - sdkVersion?: string; /** When this client started. Should be reported as ISO8601 time. */ started: FrontendApiClientSchemaStarted; /** List of strategies implemented by this application */ diff --git a/frontend/src/openapi/models/frontendApiFeatureSchema.ts b/frontend/src/openapi/models/frontendApiFeatureSchema.ts index 5f4d2219c7..63926e11d8 100644 --- a/frontend/src/openapi/models/frontendApiFeatureSchema.ts +++ b/frontend/src/openapi/models/frontendApiFeatureSchema.ts @@ -9,12 +9,12 @@ import type { FrontendApiFeatureSchemaVariant } from './frontendApiFeatureSchema * Frontend API feature */ export interface FrontendApiFeatureSchema { + /** Unique feature name. */ + name: string; /** Always set to `true`. */ enabled: boolean; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData: boolean; - /** Unique feature name. */ - name: string; /** Variant details */ variant?: FrontendApiFeatureSchemaVariant; } diff --git a/frontend/src/openapi/models/frontendApiFeatureSchemaVariant.ts b/frontend/src/openapi/models/frontendApiFeatureSchemaVariant.ts index 9e5fd9f948..3ca2645cc9 100644 --- a/frontend/src/openapi/models/frontendApiFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/frontendApiFeatureSchemaVariant.ts @@ -9,8 +9,12 @@ import type { FrontendApiFeatureSchemaVariantPayload } from './frontendApiFeatur * Variant details */ export type FrontendApiFeatureSchemaVariant = { + /** The variants name. Is unique for this feature flag */ + name: string; /** Whether the variant is enabled or not. */ enabled: boolean; + /** Extra data configured for this variant */ + payload?: FrontendApiFeatureSchemaVariantPayload; /** Whether the feature is enabled or not. */ feature_enabled?: boolean; /** @@ -18,8 +22,4 @@ export type FrontendApiFeatureSchemaVariant = { * @deprecated */ featureEnabled?: boolean; - /** The variants name. Is unique for this feature flag */ - name: string; - /** Extra data configured for this variant */ - payload?: FrontendApiFeatureSchemaVariantPayload; }; 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/generateNewToken401.ts b/frontend/src/openapi/models/generateNewToken401.ts deleted file mode 100644 index f4a9df2706..0000000000 --- a/frontend/src/openapi/models/generateNewToken401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GenerateNewToken401 = { - /** 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/generateNewToken403.ts b/frontend/src/openapi/models/generateNewToken403.ts deleted file mode 100644 index 2cad9e277a..0000000000 --- a/frontend/src/openapi/models/generateNewToken403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GenerateNewToken403 = { - /** 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/generateNewToken404.ts b/frontend/src/openapi/models/generateNewToken404.ts deleted file mode 100644 index b98cd2bddb..0000000000 --- a/frontend/src/openapi/models/generateNewToken404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GenerateNewToken404 = { - /** 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/getAccessOverview401.ts b/frontend/src/openapi/models/getAccessOverview401.ts deleted file mode 100644 index 7e5eb14856..0000000000 --- a/frontend/src/openapi/models/getAccessOverview401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetAccessOverview401 = { - /** 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/getAccessOverview403.ts b/frontend/src/openapi/models/getAccessOverview403.ts deleted file mode 100644 index cbff41eb97..0000000000 --- a/frontend/src/openapi/models/getAccessOverview403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetAccessOverview403 = { - /** 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/getAccessOverview415.ts b/frontend/src/openapi/models/getAccessOverview415.ts deleted file mode 100644 index f016f8c25a..0000000000 --- a/frontend/src/openapi/models/getAccessOverview415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetAccessOverview415 = { - /** 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/getAddon401.ts b/frontend/src/openapi/models/getAddon401.ts index 8fb27ba4a9..75f67d57a8 100644 --- a/frontend/src/openapi/models/getAddon401.ts +++ b/frontend/src/openapi/models/getAddon401.ts @@ -7,8 +7,8 @@ export type GetAddon401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAddons401.ts b/frontend/src/openapi/models/getAddons401.ts index f4fed7b0e2..1147da18e3 100644 --- a/frontend/src/openapi/models/getAddons401.ts +++ b/frontend/src/openapi/models/getAddons401.ts @@ -7,8 +7,8 @@ export type GetAddons401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAdminCount401.ts b/frontend/src/openapi/models/getAdminCount401.ts index 10046986e8..7191387774 100644 --- a/frontend/src/openapi/models/getAdminCount401.ts +++ b/frontend/src/openapi/models/getAdminCount401.ts @@ -7,8 +7,8 @@ export type GetAdminCount401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAdminCount403.ts b/frontend/src/openapi/models/getAdminCount403.ts index 6d27c09ab7..0011be2d1a 100644 --- a/frontend/src/openapi/models/getAdminCount403.ts +++ b/frontend/src/openapi/models/getAdminCount403.ts @@ -7,8 +7,8 @@ export type GetAdminCount403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAdvancedPlayground400.ts b/frontend/src/openapi/models/getAdvancedPlayground400.ts index d7c775fae4..c4908590e3 100644 --- a/frontend/src/openapi/models/getAdvancedPlayground400.ts +++ b/frontend/src/openapi/models/getAdvancedPlayground400.ts @@ -7,8 +7,8 @@ export type GetAdvancedPlayground400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAdvancedPlayground401.ts b/frontend/src/openapi/models/getAdvancedPlayground401.ts index 64cad04c5f..b065b63952 100644 --- a/frontend/src/openapi/models/getAdvancedPlayground401.ts +++ b/frontend/src/openapi/models/getAdvancedPlayground401.ts @@ -7,8 +7,8 @@ export type GetAdvancedPlayground401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllApiTokens401.ts b/frontend/src/openapi/models/getAllApiTokens401.ts index e9eefeab0f..8fa8e95b1c 100644 --- a/frontend/src/openapi/models/getAllApiTokens401.ts +++ b/frontend/src/openapi/models/getAllApiTokens401.ts @@ -7,8 +7,8 @@ export type GetAllApiTokens401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllApiTokens403.ts b/frontend/src/openapi/models/getAllApiTokens403.ts index 6f655cbc95..d9bf4630c7 100644 --- a/frontend/src/openapi/models/getAllApiTokens403.ts +++ b/frontend/src/openapi/models/getAllApiTokens403.ts @@ -7,8 +7,8 @@ export type GetAllApiTokens403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllEnvironments401.ts b/frontend/src/openapi/models/getAllEnvironments401.ts index f44f5d479a..46e3857996 100644 --- a/frontend/src/openapi/models/getAllEnvironments401.ts +++ b/frontend/src/openapi/models/getAllEnvironments401.ts @@ -7,8 +7,8 @@ export type GetAllEnvironments401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllEnvironments403.ts b/frontend/src/openapi/models/getAllEnvironments403.ts index cceb7795de..5003b33498 100644 --- a/frontend/src/openapi/models/getAllEnvironments403.ts +++ b/frontend/src/openapi/models/getAllEnvironments403.ts @@ -7,8 +7,8 @@ export type GetAllEnvironments403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllFeatureTypes401.ts b/frontend/src/openapi/models/getAllFeatureTypes401.ts index 81153b32f4..0528ef3590 100644 --- a/frontend/src/openapi/models/getAllFeatureTypes401.ts +++ b/frontend/src/openapi/models/getAllFeatureTypes401.ts @@ -7,8 +7,8 @@ export type GetAllFeatureTypes401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getAllReleasePlanTemplates401.ts b/frontend/src/openapi/models/getAllReleasePlanTemplates401.ts deleted file mode 100644 index 5958e37ff8..0000000000 --- a/frontend/src/openapi/models/getAllReleasePlanTemplates401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetAllReleasePlanTemplates401 = { - /** 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/getAllStrategies401.ts b/frontend/src/openapi/models/getAllStrategies401.ts index d0d036c419..b53aa3c519 100644 --- a/frontend/src/openapi/models/getAllStrategies401.ts +++ b/frontend/src/openapi/models/getAllStrategies401.ts @@ -7,8 +7,8 @@ export type GetAllStrategies401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getApiTokensByName401.ts b/frontend/src/openapi/models/getApiTokensByName401.ts index b36d20e1fa..2b7f390334 100644 --- a/frontend/src/openapi/models/getApiTokensByName401.ts +++ b/frontend/src/openapi/models/getApiTokensByName401.ts @@ -7,8 +7,8 @@ export type GetApiTokensByName401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getApiTokensByName403.ts b/frontend/src/openapi/models/getApiTokensByName403.ts index 4e89b5670e..6d3b469dde 100644 --- a/frontend/src/openapi/models/getApiTokensByName403.ts +++ b/frontend/src/openapi/models/getApiTokensByName403.ts @@ -7,8 +7,8 @@ export type GetApiTokensByName403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getApplication404.ts b/frontend/src/openapi/models/getApplication404.ts index e8fb652635..6539616d95 100644 --- a/frontend/src/openapi/models/getApplication404.ts +++ b/frontend/src/openapi/models/getApplication404.ts @@ -7,8 +7,8 @@ export type GetApplication404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getApplicationEnvironmentInstances404.ts b/frontend/src/openapi/models/getApplicationEnvironmentInstances404.ts index 297b1260e2..05514a9e5b 100644 --- a/frontend/src/openapi/models/getApplicationEnvironmentInstances404.ts +++ b/frontend/src/openapi/models/getApplicationEnvironmentInstances404.ts @@ -7,8 +7,8 @@ export type GetApplicationEnvironmentInstances404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getApplicationOverview404.ts b/frontend/src/openapi/models/getApplicationOverview404.ts index 20f7277a7d..42d65019d2 100644 --- a/frontend/src/openapi/models/getApplicationOverview404.ts +++ b/frontend/src/openapi/models/getApplicationOverview404.ts @@ -7,8 +7,8 @@ export type GetApplicationOverview404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeatures401.ts b/frontend/src/openapi/models/getArchivedFeatures401.ts index 8c9694169c..e6f8872ad5 100644 --- a/frontend/src/openapi/models/getArchivedFeatures401.ts +++ b/frontend/src/openapi/models/getArchivedFeatures401.ts @@ -7,8 +7,8 @@ export type GetArchivedFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeatures403.ts b/frontend/src/openapi/models/getArchivedFeatures403.ts index 1ebec4e331..a2a5a1c30d 100644 --- a/frontend/src/openapi/models/getArchivedFeatures403.ts +++ b/frontend/src/openapi/models/getArchivedFeatures403.ts @@ -7,8 +7,8 @@ export type GetArchivedFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts b/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts index b19ca8d9d9..7ce3e64ecc 100644 --- a/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts +++ b/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts @@ -7,8 +7,8 @@ export type GetArchivedFeaturesByProjectId401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts b/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts index 4feeaf4a3e..e8ff6c0e1c 100644 --- a/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts +++ b/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts @@ -7,8 +7,8 @@ export type GetArchivedFeaturesByProjectId403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getBanners401.ts b/frontend/src/openapi/models/getBanners401.ts deleted file mode 100644 index d1b59858b8..0000000000 --- a/frontend/src/openapi/models/getBanners401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetBanners401 = { - /** 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/getBaseUsersAndGroups401.ts b/frontend/src/openapi/models/getBaseUsersAndGroups401.ts index 2b058bfcfe..051f15e9cc 100644 --- a/frontend/src/openapi/models/getBaseUsersAndGroups401.ts +++ b/frontend/src/openapi/models/getBaseUsersAndGroups401.ts @@ -7,8 +7,8 @@ export type GetBaseUsersAndGroups401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getChangeRequest404.ts b/frontend/src/openapi/models/getChangeRequest404.ts deleted file mode 100644 index 16216c673a..0000000000 --- a/frontend/src/openapi/models/getChangeRequest404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetChangeRequest404 = { - /** 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/getChangeRequestPlayground400.ts b/frontend/src/openapi/models/getChangeRequestPlayground400.ts deleted file mode 100644 index ec0d62c17a..0000000000 --- a/frontend/src/openapi/models/getChangeRequestPlayground400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetChangeRequestPlayground400 = { - /** 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/getChangeRequestPlayground401.ts b/frontend/src/openapi/models/getChangeRequestPlayground401.ts deleted file mode 100644 index bd2dfc652b..0000000000 --- a/frontend/src/openapi/models/getChangeRequestPlayground401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetChangeRequestPlayground401 = { - /** 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/getChangeRequestPlayground404.ts b/frontend/src/openapi/models/getChangeRequestPlayground404.ts deleted file mode 100644 index 12a1b372db..0000000000 --- a/frontend/src/openapi/models/getChangeRequestPlayground404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetChangeRequestPlayground404 = { - /** 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/getDeprecatedProjectOverview401.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts index 8b7118d973..cd1d16ce9b 100644 --- a/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts @@ -7,8 +7,8 @@ export type GetDeprecatedProjectOverview401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts index 3c99c3ddd8..87f8a19199 100644 --- a/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts @@ -7,8 +7,8 @@ export type GetDeprecatedProjectOverview403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts index 70c61f6578..d324c250cb 100644 --- a/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts @@ -7,8 +7,8 @@ export type GetDeprecatedProjectOverview404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironment401.ts b/frontend/src/openapi/models/getEnvironment401.ts index ae923a0c70..a849a8bfc3 100644 --- a/frontend/src/openapi/models/getEnvironment401.ts +++ b/frontend/src/openapi/models/getEnvironment401.ts @@ -7,8 +7,8 @@ export type GetEnvironment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironment403.ts b/frontend/src/openapi/models/getEnvironment403.ts index e02042b9a2..0ca1adada6 100644 --- a/frontend/src/openapi/models/getEnvironment403.ts +++ b/frontend/src/openapi/models/getEnvironment403.ts @@ -7,8 +7,8 @@ export type GetEnvironment403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironment404.ts b/frontend/src/openapi/models/getEnvironment404.ts index c7a07da0bc..945dd87c01 100644 --- a/frontend/src/openapi/models/getEnvironment404.ts +++ b/frontend/src/openapi/models/getEnvironment404.ts @@ -7,8 +7,8 @@ export type GetEnvironment404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts index c5d0802939..18f02ff13d 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts index 3a6f5270ce..2e1715988e 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts index 7e22b4e23d..f5d8b94c93 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEventCreators401.ts b/frontend/src/openapi/models/getEventCreators401.ts index 134a04542e..e2f838d636 100644 --- a/frontend/src/openapi/models/getEventCreators401.ts +++ b/frontend/src/openapi/models/getEventCreators401.ts @@ -7,8 +7,8 @@ export type GetEventCreators401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEventCreators403.ts b/frontend/src/openapi/models/getEventCreators403.ts index a8d0ced0e3..9495a29fdb 100644 --- a/frontend/src/openapi/models/getEventCreators403.ts +++ b/frontend/src/openapi/models/getEventCreators403.ts @@ -7,8 +7,8 @@ export type GetEventCreators403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEventCreators404.ts b/frontend/src/openapi/models/getEventCreators404.ts index 9c6696ee35..725a8d779c 100644 --- a/frontend/src/openapi/models/getEventCreators404.ts +++ b/frontend/src/openapi/models/getEventCreators404.ts @@ -7,8 +7,8 @@ export type GetEventCreators404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEvents401.ts b/frontend/src/openapi/models/getEvents401.ts index 2414d9ab01..fb04636938 100644 --- a/frontend/src/openapi/models/getEvents401.ts +++ b/frontend/src/openapi/models/getEvents401.ts @@ -7,8 +7,8 @@ export type GetEvents401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getEventsForToggle401.ts b/frontend/src/openapi/models/getEventsForToggle401.ts index dd55158ba3..47ecaa08e6 100644 --- a/frontend/src/openapi/models/getEventsForToggle401.ts +++ b/frontend/src/openapi/models/getEventsForToggle401.ts @@ -7,8 +7,8 @@ export type GetEventsForToggle401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeature401.ts b/frontend/src/openapi/models/getFeature401.ts index 0276e85bea..80b1c77302 100644 --- a/frontend/src/openapi/models/getFeature401.ts +++ b/frontend/src/openapi/models/getFeature401.ts @@ -7,8 +7,8 @@ export type GetFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeature403.ts b/frontend/src/openapi/models/getFeature403.ts index 6775c928b6..3f6999848e 100644 --- a/frontend/src/openapi/models/getFeature403.ts +++ b/frontend/src/openapi/models/getFeature403.ts @@ -7,8 +7,8 @@ export type GetFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeature404.ts b/frontend/src/openapi/models/getFeature404.ts index 2a79678adc..afaca36f59 100644 --- a/frontend/src/openapi/models/getFeature404.ts +++ b/frontend/src/openapi/models/getFeature404.ts @@ -7,8 +7,8 @@ export type GetFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment401.ts b/frontend/src/openapi/models/getFeatureEnvironment401.ts index c03dc4fdb4..2cca9093f2 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment401.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment401.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment403.ts b/frontend/src/openapi/models/getFeatureEnvironment403.ts index 4bf25ae376..d3b73b3930 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment403.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment403.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment404.ts b/frontend/src/openapi/models/getFeatureEnvironment404.ts index 2f3ce81870..8f5be83727 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment404.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment404.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureLifecycle401.ts b/frontend/src/openapi/models/getFeatureLifecycle401.ts index 165d85b05c..0f16399d9c 100644 --- a/frontend/src/openapi/models/getFeatureLifecycle401.ts +++ b/frontend/src/openapi/models/getFeatureLifecycle401.ts @@ -7,8 +7,8 @@ export type GetFeatureLifecycle401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureLifecycle403.ts b/frontend/src/openapi/models/getFeatureLifecycle403.ts index a7c08d8fbc..29e93e0347 100644 --- a/frontend/src/openapi/models/getFeatureLifecycle403.ts +++ b/frontend/src/openapi/models/getFeatureLifecycle403.ts @@ -7,8 +7,8 @@ export type GetFeatureLifecycle403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureLifecycle404.ts b/frontend/src/openapi/models/getFeatureLifecycle404.ts index e44175769a..2a44a589f7 100644 --- a/frontend/src/openapi/models/getFeatureLifecycle404.ts +++ b/frontend/src/openapi/models/getFeatureLifecycle404.ts @@ -7,8 +7,8 @@ export type GetFeatureLifecycle404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies401.ts b/frontend/src/openapi/models/getFeatureStrategies401.ts index f37d251a96..14b4400d26 100644 --- a/frontend/src/openapi/models/getFeatureStrategies401.ts +++ b/frontend/src/openapi/models/getFeatureStrategies401.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies403.ts b/frontend/src/openapi/models/getFeatureStrategies403.ts index ff41cccf9c..37b7a46d1b 100644 --- a/frontend/src/openapi/models/getFeatureStrategies403.ts +++ b/frontend/src/openapi/models/getFeatureStrategies403.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies404.ts b/frontend/src/openapi/models/getFeatureStrategies404.ts index 7e915306f9..73fe6e6f54 100644 --- a/frontend/src/openapi/models/getFeatureStrategies404.ts +++ b/frontend/src/openapi/models/getFeatureStrategies404.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy401.ts b/frontend/src/openapi/models/getFeatureStrategy401.ts index 2a896dfbba..4d2a4df0a4 100644 --- a/frontend/src/openapi/models/getFeatureStrategy401.ts +++ b/frontend/src/openapi/models/getFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy403.ts b/frontend/src/openapi/models/getFeatureStrategy403.ts index a26337bac0..4354f2112a 100644 --- a/frontend/src/openapi/models/getFeatureStrategy403.ts +++ b/frontend/src/openapi/models/getFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy404.ts b/frontend/src/openapi/models/getFeatureStrategy404.ts index cfa91e0fbb..700e76a2c5 100644 --- a/frontend/src/openapi/models/getFeatureStrategy404.ts +++ b/frontend/src/openapi/models/getFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary401.ts b/frontend/src/openapi/models/getFeatureUsageSummary401.ts index c0da548242..970930d28f 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary401.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary401.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary403.ts b/frontend/src/openapi/models/getFeatureUsageSummary403.ts index b52c6d3187..894a8cabde 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary403.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary403.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary404.ts b/frontend/src/openapi/models/getFeatureUsageSummary404.ts index 3880b36358..48ab3e6973 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary404.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary404.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants401.ts b/frontend/src/openapi/models/getFeatureVariants401.ts index 0eec1f6f49..a1abfdba71 100644 --- a/frontend/src/openapi/models/getFeatureVariants401.ts +++ b/frontend/src/openapi/models/getFeatureVariants401.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants403.ts b/frontend/src/openapi/models/getFeatureVariants403.ts index 267d7aab59..6ecc3e577d 100644 --- a/frontend/src/openapi/models/getFeatureVariants403.ts +++ b/frontend/src/openapi/models/getFeatureVariants403.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants404.ts b/frontend/src/openapi/models/getFeatureVariants404.ts index a696c0b29a..26492fa3cf 100644 --- a/frontend/src/openapi/models/getFeatureVariants404.ts +++ b/frontend/src/openapi/models/getFeatureVariants404.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatures400.ts b/frontend/src/openapi/models/getFeatures400.ts index 9b48ae0bba..eebbb6ea22 100644 --- a/frontend/src/openapi/models/getFeatures400.ts +++ b/frontend/src/openapi/models/getFeatures400.ts @@ -7,8 +7,8 @@ export type GetFeatures400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatures401.ts b/frontend/src/openapi/models/getFeatures401.ts index c6fac0ad73..3cbb2f71e3 100644 --- a/frontend/src/openapi/models/getFeatures401.ts +++ b/frontend/src/openapi/models/getFeatures401.ts @@ -7,8 +7,8 @@ export type GetFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFeatures403.ts b/frontend/src/openapi/models/getFeatures403.ts index 9478d68d3d..3ab9bf3158 100644 --- a/frontend/src/openapi/models/getFeatures403.ts +++ b/frontend/src/openapi/models/getFeatures403.ts @@ -7,8 +7,8 @@ export type GetFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addStrategyToMilestone403.ts b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts similarity index 84% rename from frontend/src/openapi/models/addStrategyToMilestone403.ts rename to frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts index c0ae3e1ba2..b9d173685c 100644 --- a/frontend/src/openapi/models/addStrategyToMilestone403.ts +++ b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost401.ts @@ -4,11 +4,11 @@ * See `gen:api` script in package.json */ -export type AddStrategyToMilestone403 = { +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; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/addStrategyToMilestone404.ts b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts similarity index 84% rename from frontend/src/openapi/models/addStrategyToMilestone404.ts rename to frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts index ffc37e81fa..70c37deb34 100644 --- a/frontend/src/openapi/models/addStrategyToMilestone404.ts +++ b/frontend/src/openapi/models/getFrontendApiFeaturesWithPost404.ts @@ -4,11 +4,11 @@ * See `gen:api` script in package.json */ -export type AddStrategyToMilestone404 = { +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; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFrontendFeatures401.ts b/frontend/src/openapi/models/getFrontendFeatures401.ts index cdd6e074d8..e3027f95b0 100644 --- a/frontend/src/openapi/models/getFrontendFeatures401.ts +++ b/frontend/src/openapi/models/getFrontendFeatures401.ts @@ -7,8 +7,8 @@ export type GetFrontendFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getFrontendFeatures404.ts b/frontend/src/openapi/models/getFrontendFeatures404.ts index 07df82f9c2..02d6845e20 100644 --- a/frontend/src/openapi/models/getFrontendFeatures404.ts +++ b/frontend/src/openapi/models/getFrontendFeatures404.ts @@ -7,8 +7,8 @@ export type GetFrontendFeatures404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getGroup400.ts b/frontend/src/openapi/models/getGroup400.ts deleted file mode 100644 index 8daed2f9eb..0000000000 --- a/frontend/src/openapi/models/getGroup400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroup400 = { - /** 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/getGroup401.ts b/frontend/src/openapi/models/getGroup401.ts deleted file mode 100644 index 3786576e2a..0000000000 --- a/frontend/src/openapi/models/getGroup401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroup401 = { - /** 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/getGroup403.ts b/frontend/src/openapi/models/getGroup403.ts deleted file mode 100644 index 1c69b2a7db..0000000000 --- a/frontend/src/openapi/models/getGroup403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroup403 = { - /** 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/getGroup404.ts b/frontend/src/openapi/models/getGroup404.ts deleted file mode 100644 index 4173dacbed..0000000000 --- a/frontend/src/openapi/models/getGroup404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroup404 = { - /** 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/getGroups401.ts b/frontend/src/openapi/models/getGroups401.ts deleted file mode 100644 index 3d0cddd035..0000000000 --- a/frontend/src/openapi/models/getGroups401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroups401 = { - /** 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/getGroups403.ts b/frontend/src/openapi/models/getGroups403.ts deleted file mode 100644 index 1937d89a4a..0000000000 --- a/frontend/src/openapi/models/getGroups403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetGroups403 = { - /** 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/getIntegrationEvents401.ts b/frontend/src/openapi/models/getIntegrationEvents401.ts index 398cc7b57f..379572b3e4 100644 --- a/frontend/src/openapi/models/getIntegrationEvents401.ts +++ b/frontend/src/openapi/models/getIntegrationEvents401.ts @@ -7,8 +7,8 @@ export type GetIntegrationEvents401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getIntegrationEvents403.ts b/frontend/src/openapi/models/getIntegrationEvents403.ts index e4eda045bf..02b3fad39a 100644 --- a/frontend/src/openapi/models/getIntegrationEvents403.ts +++ b/frontend/src/openapi/models/getIntegrationEvents403.ts @@ -7,8 +7,8 @@ export type GetIntegrationEvents403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getIntegrationEvents404.ts b/frontend/src/openapi/models/getIntegrationEvents404.ts index ea9fce9cab..c67485a230 100644 --- a/frontend/src/openapi/models/getIntegrationEvents404.ts +++ b/frontend/src/openapi/models/getIntegrationEvents404.ts @@ -7,8 +7,8 @@ export type GetIntegrationEvents404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getLoginHistory401.ts b/frontend/src/openapi/models/getLoginHistory401.ts deleted file mode 100644 index 59f6b4743f..0000000000 --- a/frontend/src/openapi/models/getLoginHistory401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetLoginHistory401 = { - /** 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/getLoginHistory404.ts b/frontend/src/openapi/models/getLoginHistory404.ts deleted file mode 100644 index 049d0d29c1..0000000000 --- a/frontend/src/openapi/models/getLoginHistory404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetLoginHistory404 = { - /** 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/getMaintenance401.ts b/frontend/src/openapi/models/getMaintenance401.ts index de8a205869..8c30bee276 100644 --- a/frontend/src/openapi/models/getMaintenance401.ts +++ b/frontend/src/openapi/models/getMaintenance401.ts @@ -7,8 +7,8 @@ export type GetMaintenance401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getMaintenance403.ts b/frontend/src/openapi/models/getMaintenance403.ts index bc2c7bcef4..910113ad4a 100644 --- a/frontend/src/openapi/models/getMaintenance403.ts +++ b/frontend/src/openapi/models/getMaintenance403.ts @@ -7,8 +7,8 @@ export type GetMaintenance403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getMe401.ts b/frontend/src/openapi/models/getMe401.ts index 92f16a49f3..c49782d1e2 100644 --- a/frontend/src/openapi/models/getMe401.ts +++ b/frontend/src/openapi/models/getMe401.ts @@ -7,8 +7,8 @@ export type GetMe401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getOidcSettings400.ts b/frontend/src/openapi/models/getOidcSettings400.ts deleted file mode 100644 index 326ce1f6f5..0000000000 --- a/frontend/src/openapi/models/getOidcSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetOidcSettings400 = { - /** 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/getOidcSettings401.ts b/frontend/src/openapi/models/getOidcSettings401.ts deleted file mode 100644 index 72e4e7c7d6..0000000000 --- a/frontend/src/openapi/models/getOidcSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetOidcSettings401 = { - /** 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/getOidcSettings403.ts b/frontend/src/openapi/models/getOidcSettings403.ts deleted file mode 100644 index b35087f02e..0000000000 --- a/frontend/src/openapi/models/getOidcSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetOidcSettings403 = { - /** 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/getOutdatedProjectSdks404.ts b/frontend/src/openapi/models/getOutdatedProjectSdks404.ts index 2afea34873..12b42a0371 100644 --- a/frontend/src/openapi/models/getOutdatedProjectSdks404.ts +++ b/frontend/src/openapi/models/getOutdatedProjectSdks404.ts @@ -7,8 +7,8 @@ export type GetOutdatedProjectSdks404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getOutdatedSdks404.ts b/frontend/src/openapi/models/getOutdatedSdks404.ts index a88fb9b8c3..e9cae3c4c2 100644 --- a/frontend/src/openapi/models/getOutdatedSdks404.ts +++ b/frontend/src/openapi/models/getOutdatedSdks404.ts @@ -7,8 +7,8 @@ export type GetOutdatedSdks404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPats401.ts b/frontend/src/openapi/models/getPats401.ts index bf2506137c..22925a3ffb 100644 --- a/frontend/src/openapi/models/getPats401.ts +++ b/frontend/src/openapi/models/getPats401.ts @@ -7,8 +7,8 @@ export type GetPats401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPats403.ts b/frontend/src/openapi/models/getPats403.ts index 8e7fb4f22b..9476002c33 100644 --- a/frontend/src/openapi/models/getPats403.ts +++ b/frontend/src/openapi/models/getPats403.ts @@ -7,8 +7,8 @@ export type GetPats403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPats404.ts b/frontend/src/openapi/models/getPats404.ts index a9bdfdf62f..559b548bfb 100644 --- a/frontend/src/openapi/models/getPats404.ts +++ b/frontend/src/openapi/models/getPats404.ts @@ -7,8 +7,8 @@ export type GetPats404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboard401.ts b/frontend/src/openapi/models/getPersonalDashboard401.ts index 5e02e10bfb..95e2384e21 100644 --- a/frontend/src/openapi/models/getPersonalDashboard401.ts +++ b/frontend/src/openapi/models/getPersonalDashboard401.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboard401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboard403.ts b/frontend/src/openapi/models/getPersonalDashboard403.ts index 7e23722a92..f0a7f7bc01 100644 --- a/frontend/src/openapi/models/getPersonalDashboard403.ts +++ b/frontend/src/openapi/models/getPersonalDashboard403.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboard403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboard404.ts b/frontend/src/openapi/models/getPersonalDashboard404.ts index 34232af00e..ecf64b9fb2 100644 --- a/frontend/src/openapi/models/getPersonalDashboard404.ts +++ b/frontend/src/openapi/models/getPersonalDashboard404.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboard404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboardProjectDetails401.ts b/frontend/src/openapi/models/getPersonalDashboardProjectDetails401.ts index edd1365c60..5728fd1ffc 100644 --- a/frontend/src/openapi/models/getPersonalDashboardProjectDetails401.ts +++ b/frontend/src/openapi/models/getPersonalDashboardProjectDetails401.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboardProjectDetails401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboardProjectDetails403.ts b/frontend/src/openapi/models/getPersonalDashboardProjectDetails403.ts index e8bf0c521e..fab77a910b 100644 --- a/frontend/src/openapi/models/getPersonalDashboardProjectDetails403.ts +++ b/frontend/src/openapi/models/getPersonalDashboardProjectDetails403.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboardProjectDetails403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPersonalDashboardProjectDetails404.ts b/frontend/src/openapi/models/getPersonalDashboardProjectDetails404.ts index be62f60613..037bfd2ded 100644 --- a/frontend/src/openapi/models/getPersonalDashboardProjectDetails404.ts +++ b/frontend/src/openapi/models/getPersonalDashboardProjectDetails404.ts @@ -7,8 +7,8 @@ export type GetPersonalDashboardProjectDetails404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPlayground400.ts b/frontend/src/openapi/models/getPlayground400.ts index 7a78b782ac..bebc663feb 100644 --- a/frontend/src/openapi/models/getPlayground400.ts +++ b/frontend/src/openapi/models/getPlayground400.ts @@ -7,8 +7,8 @@ export type GetPlayground400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPlayground401.ts b/frontend/src/openapi/models/getPlayground401.ts index 743981c12f..6dbf6f992c 100644 --- a/frontend/src/openapi/models/getPlayground401.ts +++ b/frontend/src/openapi/models/getPlayground401.ts @@ -7,8 +7,8 @@ export type GetPlayground401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProfile401.ts b/frontend/src/openapi/models/getProfile401.ts index 79164ced25..a8370bf50b 100644 --- a/frontend/src/openapi/models/getProfile401.ts +++ b/frontend/src/openapi/models/getProfile401.ts @@ -7,8 +7,8 @@ export type GetProfile401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectAccess401.ts b/frontend/src/openapi/models/getProjectAccess401.ts index a6938b9269..c2793f22de 100644 --- a/frontend/src/openapi/models/getProjectAccess401.ts +++ b/frontend/src/openapi/models/getProjectAccess401.ts @@ -7,8 +7,8 @@ export type GetProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectAccess403.ts b/frontend/src/openapi/models/getProjectAccess403.ts index 5d41f40945..34ac21cb65 100644 --- a/frontend/src/openapi/models/getProjectAccess403.ts +++ b/frontend/src/openapi/models/getProjectAccess403.ts @@ -7,8 +7,8 @@ export type GetProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens401.ts b/frontend/src/openapi/models/getProjectApiTokens401.ts index 3bdb6a4c61..7ee262eb46 100644 --- a/frontend/src/openapi/models/getProjectApiTokens401.ts +++ b/frontend/src/openapi/models/getProjectApiTokens401.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens403.ts b/frontend/src/openapi/models/getProjectApiTokens403.ts index 0b4358a871..2dce463b40 100644 --- a/frontend/src/openapi/models/getProjectApiTokens403.ts +++ b/frontend/src/openapi/models/getProjectApiTokens403.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens404.ts b/frontend/src/openapi/models/getProjectApiTokens404.ts index bad28838ff..f5c8633da8 100644 --- a/frontend/src/openapi/models/getProjectApiTokens404.ts +++ b/frontend/src/openapi/models/getProjectApiTokens404.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApplications401.ts b/frontend/src/openapi/models/getProjectApplications401.ts index 73b4d270ee..56eb4a71c6 100644 --- a/frontend/src/openapi/models/getProjectApplications401.ts +++ b/frontend/src/openapi/models/getProjectApplications401.ts @@ -7,8 +7,8 @@ export type GetProjectApplications401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApplications403.ts b/frontend/src/openapi/models/getProjectApplications403.ts index 1e471f3efd..0d3e634c9a 100644 --- a/frontend/src/openapi/models/getProjectApplications403.ts +++ b/frontend/src/openapi/models/getProjectApplications403.ts @@ -7,8 +7,8 @@ export type GetProjectApplications403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectApplications404.ts b/frontend/src/openapi/models/getProjectApplications404.ts index ac8af415aa..07e1b1898e 100644 --- a/frontend/src/openapi/models/getProjectApplications404.ts +++ b/frontend/src/openapi/models/getProjectApplications404.ts @@ -7,8 +7,8 @@ export type GetProjectApplications404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora401.ts b/frontend/src/openapi/models/getProjectDora401.ts index e79bf4ee00..3b08317710 100644 --- a/frontend/src/openapi/models/getProjectDora401.ts +++ b/frontend/src/openapi/models/getProjectDora401.ts @@ -7,8 +7,8 @@ export type GetProjectDora401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora403.ts b/frontend/src/openapi/models/getProjectDora403.ts index 0cf959aafa..0166072dde 100644 --- a/frontend/src/openapi/models/getProjectDora403.ts +++ b/frontend/src/openapi/models/getProjectDora403.ts @@ -7,8 +7,8 @@ export type GetProjectDora403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora404.ts b/frontend/src/openapi/models/getProjectDora404.ts index 9bdf512767..62083a95ef 100644 --- a/frontend/src/openapi/models/getProjectDora404.ts +++ b/frontend/src/openapi/models/getProjectDora404.ts @@ -7,8 +7,8 @@ export type GetProjectDora404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments401.ts b/frontend/src/openapi/models/getProjectEnvironments401.ts index c6bae52e8a..8d9c72aeb7 100644 --- a/frontend/src/openapi/models/getProjectEnvironments401.ts +++ b/frontend/src/openapi/models/getProjectEnvironments401.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments403.ts b/frontend/src/openapi/models/getProjectEnvironments403.ts index a74bdd71d9..bcc41c8d6f 100644 --- a/frontend/src/openapi/models/getProjectEnvironments403.ts +++ b/frontend/src/openapi/models/getProjectEnvironments403.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments404.ts b/frontend/src/openapi/models/getProjectEnvironments404.ts index 271036b513..a07ee4c685 100644 --- a/frontend/src/openapi/models/getProjectEnvironments404.ts +++ b/frontend/src/openapi/models/getProjectEnvironments404.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectFlagCreators401.ts b/frontend/src/openapi/models/getProjectFlagCreators401.ts index 6d1d7b638d..33a0e55d31 100644 --- a/frontend/src/openapi/models/getProjectFlagCreators401.ts +++ b/frontend/src/openapi/models/getProjectFlagCreators401.ts @@ -7,8 +7,8 @@ export type GetProjectFlagCreators401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectFlagCreators403.ts b/frontend/src/openapi/models/getProjectFlagCreators403.ts index 12642f9eba..e95cc7462e 100644 --- a/frontend/src/openapi/models/getProjectFlagCreators403.ts +++ b/frontend/src/openapi/models/getProjectFlagCreators403.ts @@ -7,8 +7,8 @@ export type GetProjectFlagCreators403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectFlagCreators404.ts b/frontend/src/openapi/models/getProjectFlagCreators404.ts index db5b5c07f9..5843057768 100644 --- a/frontend/src/openapi/models/getProjectFlagCreators404.ts +++ b/frontend/src/openapi/models/getProjectFlagCreators404.ts @@ -7,8 +7,8 @@ export type GetProjectFlagCreators404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport401.ts b/frontend/src/openapi/models/getProjectHealthReport401.ts index 41cc08d7cc..debbe149f3 100644 --- a/frontend/src/openapi/models/getProjectHealthReport401.ts +++ b/frontend/src/openapi/models/getProjectHealthReport401.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport403.ts b/frontend/src/openapi/models/getProjectHealthReport403.ts index fd8f6da75a..f5501f409c 100644 --- a/frontend/src/openapi/models/getProjectHealthReport403.ts +++ b/frontend/src/openapi/models/getProjectHealthReport403.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport404.ts b/frontend/src/openapi/models/getProjectHealthReport404.ts index 46f5b7e3d5..8314ab3941 100644 --- a/frontend/src/openapi/models/getProjectHealthReport404.ts +++ b/frontend/src/openapi/models/getProjectHealthReport404.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectInsights401.ts b/frontend/src/openapi/models/getProjectInsights401.ts index 63ffb1eb51..d7d8b064e1 100644 --- a/frontend/src/openapi/models/getProjectInsights401.ts +++ b/frontend/src/openapi/models/getProjectInsights401.ts @@ -7,8 +7,8 @@ export type GetProjectInsights401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectInsights403.ts b/frontend/src/openapi/models/getProjectInsights403.ts index f2de9a9451..b8ac961c72 100644 --- a/frontend/src/openapi/models/getProjectInsights403.ts +++ b/frontend/src/openapi/models/getProjectInsights403.ts @@ -7,8 +7,8 @@ export type GetProjectInsights403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectInsights404.ts b/frontend/src/openapi/models/getProjectInsights404.ts index 1582ffc773..e9ec38a863 100644 --- a/frontend/src/openapi/models/getProjectInsights404.ts +++ b/frontend/src/openapi/models/getProjectInsights404.ts @@ -7,8 +7,8 @@ export type GetProjectInsights404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview401.ts b/frontend/src/openapi/models/getProjectOverview401.ts index 989a91d9f5..200eea6607 100644 --- a/frontend/src/openapi/models/getProjectOverview401.ts +++ b/frontend/src/openapi/models/getProjectOverview401.ts @@ -7,8 +7,8 @@ export type GetProjectOverview401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview403.ts b/frontend/src/openapi/models/getProjectOverview403.ts index e8694f9d06..cec2afb933 100644 --- a/frontend/src/openapi/models/getProjectOverview403.ts +++ b/frontend/src/openapi/models/getProjectOverview403.ts @@ -7,8 +7,8 @@ export type GetProjectOverview403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview404.ts b/frontend/src/openapi/models/getProjectOverview404.ts index caa2bda3b0..c69425e134 100644 --- a/frontend/src/openapi/models/getProjectOverview404.ts +++ b/frontend/src/openapi/models/getProjectOverview404.ts @@ -7,8 +7,8 @@ export type GetProjectOverview404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectStatus401.ts b/frontend/src/openapi/models/getProjectStatus401.ts index 2b6d9d541b..765cbb62a7 100644 --- a/frontend/src/openapi/models/getProjectStatus401.ts +++ b/frontend/src/openapi/models/getProjectStatus401.ts @@ -7,8 +7,8 @@ export type GetProjectStatus401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectStatus403.ts b/frontend/src/openapi/models/getProjectStatus403.ts index 4dd61f89b8..0e3e1e0ea2 100644 --- a/frontend/src/openapi/models/getProjectStatus403.ts +++ b/frontend/src/openapi/models/getProjectStatus403.ts @@ -7,8 +7,8 @@ export type GetProjectStatus403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectStatus404.ts b/frontend/src/openapi/models/getProjectStatus404.ts index ce4a18c6fb..8659fd320a 100644 --- a/frontend/src/openapi/models/getProjectStatus404.ts +++ b/frontend/src/openapi/models/getProjectStatus404.ts @@ -7,8 +7,8 @@ export type GetProjectStatus404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectUsers401.ts b/frontend/src/openapi/models/getProjectUsers401.ts index 1cd86beee0..1f7ce103ea 100644 --- a/frontend/src/openapi/models/getProjectUsers401.ts +++ b/frontend/src/openapi/models/getProjectUsers401.ts @@ -7,8 +7,8 @@ export type GetProjectUsers401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjectUsers403.ts b/frontend/src/openapi/models/getProjectUsers403.ts index 5c08f06129..2248528059 100644 --- a/frontend/src/openapi/models/getProjectUsers403.ts +++ b/frontend/src/openapi/models/getProjectUsers403.ts @@ -7,8 +7,8 @@ export type GetProjectUsers403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjects401.ts b/frontend/src/openapi/models/getProjects401.ts index 18379e5eb5..b6a5836287 100644 --- a/frontend/src/openapi/models/getProjects401.ts +++ b/frontend/src/openapi/models/getProjects401.ts @@ -7,8 +7,8 @@ export type GetProjects401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getProjects403.ts b/frontend/src/openapi/models/getProjects403.ts index 59f7e88f7a..4ca629b142 100644 --- a/frontend/src/openapi/models/getProjects403.ts +++ b/frontend/src/openapi/models/getProjects403.ts @@ -7,8 +7,8 @@ export type GetProjects403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPublicSignupToken401.ts b/frontend/src/openapi/models/getPublicSignupToken401.ts index a1ee595747..08049e9f11 100644 --- a/frontend/src/openapi/models/getPublicSignupToken401.ts +++ b/frontend/src/openapi/models/getPublicSignupToken401.ts @@ -7,8 +7,8 @@ export type GetPublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getPublicSignupToken403.ts b/frontend/src/openapi/models/getPublicSignupToken403.ts index b9d9aee442..59aa977299 100644 --- a/frontend/src/openapi/models/getPublicSignupToken403.ts +++ b/frontend/src/openapi/models/getPublicSignupToken403.ts @@ -7,8 +7,8 @@ export type GetPublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics401.ts b/frontend/src/openapi/models/getRawFeatureMetrics401.ts index 81987cd30d..27d2d26219 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics401.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics401.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics403.ts b/frontend/src/openapi/models/getRawFeatureMetrics403.ts index 4ce9ee376c..802cd363e3 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics403.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics403.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics404.ts b/frontend/src/openapi/models/getRawFeatureMetrics404.ts index 75f25aa518..dd1a7e48fa 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics404.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics404.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getReleasePlanTemplate401.ts b/frontend/src/openapi/models/getReleasePlanTemplate401.ts deleted file mode 100644 index b05e25be49..0000000000 --- a/frontend/src/openapi/models/getReleasePlanTemplate401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetReleasePlanTemplate401 = { - /** 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/getRoleById400.ts b/frontend/src/openapi/models/getRoleById400.ts deleted file mode 100644 index 19947ec37b..0000000000 --- a/frontend/src/openapi/models/getRoleById400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetRoleById400 = { - /** 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/getRoleById401.ts b/frontend/src/openapi/models/getRoleById401.ts deleted file mode 100644 index 588bd4e397..0000000000 --- a/frontend/src/openapi/models/getRoleById401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetRoleById401 = { - /** 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/getRoleById404.ts b/frontend/src/openapi/models/getRoleById404.ts deleted file mode 100644 index a8cc0aae9a..0000000000 --- a/frontend/src/openapi/models/getRoleById404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetRoleById404 = { - /** 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/getRoleProjectAccess401.ts b/frontend/src/openapi/models/getRoleProjectAccess401.ts index 5ce57c34c6..ca46050b91 100644 --- a/frontend/src/openapi/models/getRoleProjectAccess401.ts +++ b/frontend/src/openapi/models/getRoleProjectAccess401.ts @@ -7,8 +7,8 @@ export type GetRoleProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getRoleProjectAccess403.ts b/frontend/src/openapi/models/getRoleProjectAccess403.ts index 2b38b4f752..70d1d39b4c 100644 --- a/frontend/src/openapi/models/getRoleProjectAccess403.ts +++ b/frontend/src/openapi/models/getRoleProjectAccess403.ts @@ -7,8 +7,8 @@ export type GetRoleProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getRoles401.ts b/frontend/src/openapi/models/getRoles401.ts deleted file mode 100644 index 86b1ef3ddc..0000000000 --- a/frontend/src/openapi/models/getRoles401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetRoles401 = { - /** 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/getRoles403.ts b/frontend/src/openapi/models/getRoles403.ts deleted file mode 100644 index 0bddf86c0b..0000000000 --- a/frontend/src/openapi/models/getRoles403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetRoles403 = { - /** 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/getSamlSettings400.ts b/frontend/src/openapi/models/getSamlSettings400.ts deleted file mode 100644 index dca699efa4..0000000000 --- a/frontend/src/openapi/models/getSamlSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetSamlSettings400 = { - /** 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/getSamlSettings401.ts b/frontend/src/openapi/models/getSamlSettings401.ts deleted file mode 100644 index aa90619a95..0000000000 --- a/frontend/src/openapi/models/getSamlSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetSamlSettings401 = { - /** 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/getSamlSettings403.ts b/frontend/src/openapi/models/getSamlSettings403.ts deleted file mode 100644 index c27f437686..0000000000 --- a/frontend/src/openapi/models/getSamlSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetSamlSettings403 = { - /** 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/getScheduledChangeRequests404.ts b/frontend/src/openapi/models/getScheduledChangeRequests404.ts deleted file mode 100644 index b17d706708..0000000000 --- a/frontend/src/openapi/models/getScheduledChangeRequests404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetScheduledChangeRequests404 = { - /** 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/getScimSettings401.ts b/frontend/src/openapi/models/getScimSettings401.ts deleted file mode 100644 index 965f3ae140..0000000000 --- a/frontend/src/openapi/models/getScimSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetScimSettings401 = { - /** 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/getSegment404.ts b/frontend/src/openapi/models/getSegment404.ts index 98c3294bd4..72e2991638 100644 --- a/frontend/src/openapi/models/getSegment404.ts +++ b/frontend/src/openapi/models/getSegment404.ts @@ -7,8 +7,8 @@ export type GetSegment404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccountPermissions401.ts b/frontend/src/openapi/models/getServiceAccountPermissions401.ts deleted file mode 100644 index 022595da96..0000000000 --- a/frontend/src/openapi/models/getServiceAccountPermissions401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountPermissions401 = { - /** 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/getServiceAccountPermissions403.ts b/frontend/src/openapi/models/getServiceAccountPermissions403.ts deleted file mode 100644 index d45cf5760c..0000000000 --- a/frontend/src/openapi/models/getServiceAccountPermissions403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountPermissions403 = { - /** 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/getServiceAccountPermissions415.ts b/frontend/src/openapi/models/getServiceAccountPermissions415.ts deleted file mode 100644 index 5b21e49921..0000000000 --- a/frontend/src/openapi/models/getServiceAccountPermissions415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountPermissions415 = { - /** 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/getServiceAccountPermissionsParams.ts b/frontend/src/openapi/models/getServiceAccountPermissionsParams.ts deleted file mode 100644 index 7e0b18cad6..0000000000 --- a/frontend/src/openapi/models/getServiceAccountPermissionsParams.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountPermissionsParams = { - project?: string; - environment?: string; -}; diff --git a/frontend/src/openapi/models/getServiceAccountTokens401.ts b/frontend/src/openapi/models/getServiceAccountTokens401.ts deleted file mode 100644 index 55f67ba225..0000000000 --- a/frontend/src/openapi/models/getServiceAccountTokens401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountTokens401 = { - /** 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/getServiceAccountTokens403.ts b/frontend/src/openapi/models/getServiceAccountTokens403.ts deleted file mode 100644 index 96557031ab..0000000000 --- a/frontend/src/openapi/models/getServiceAccountTokens403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountTokens403 = { - /** 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/getServiceAccountTokens404.ts b/frontend/src/openapi/models/getServiceAccountTokens404.ts deleted file mode 100644 index 7129d020bc..0000000000 --- a/frontend/src/openapi/models/getServiceAccountTokens404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccountTokens404 = { - /** 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/getServiceAccounts401.ts b/frontend/src/openapi/models/getServiceAccounts401.ts deleted file mode 100644 index 9a095d8e70..0000000000 --- a/frontend/src/openapi/models/getServiceAccounts401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccounts401 = { - /** 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/getServiceAccounts403.ts b/frontend/src/openapi/models/getServiceAccounts403.ts deleted file mode 100644 index 7993d67e98..0000000000 --- a/frontend/src/openapi/models/getServiceAccounts403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetServiceAccounts403 = { - /** 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/getSimpleSettings401.ts b/frontend/src/openapi/models/getSimpleSettings401.ts deleted file mode 100644 index f212332fad..0000000000 --- a/frontend/src/openapi/models/getSimpleSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetSimpleSettings401 = { - /** 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/getSimpleSettings403.ts b/frontend/src/openapi/models/getSimpleSettings403.ts deleted file mode 100644 index 04004ee247..0000000000 --- a/frontend/src/openapi/models/getSimpleSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type GetSimpleSettings403 = { - /** 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/getStrategiesByContextField401.ts b/frontend/src/openapi/models/getStrategiesByContextField401.ts index f2d6a55aed..9b8001e3b7 100644 --- a/frontend/src/openapi/models/getStrategiesByContextField401.ts +++ b/frontend/src/openapi/models/getStrategiesByContextField401.ts @@ -7,8 +7,8 @@ export type GetStrategiesByContextField401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getStrategy401.ts b/frontend/src/openapi/models/getStrategy401.ts index 1eb1b220b4..4c98917dde 100644 --- a/frontend/src/openapi/models/getStrategy401.ts +++ b/frontend/src/openapi/models/getStrategy401.ts @@ -7,8 +7,8 @@ export type GetStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getStrategy404.ts b/frontend/src/openapi/models/getStrategy404.ts index 7d24889bc3..7fbd09eaee 100644 --- a/frontend/src/openapi/models/getStrategy404.ts +++ b/frontend/src/openapi/models/getStrategy404.ts @@ -7,8 +7,8 @@ export type GetStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTag401.ts b/frontend/src/openapi/models/getTag401.ts index e6e746eef4..5907350626 100644 --- a/frontend/src/openapi/models/getTag401.ts +++ b/frontend/src/openapi/models/getTag401.ts @@ -7,8 +7,8 @@ export type GetTag401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTag403.ts b/frontend/src/openapi/models/getTag403.ts index cba34486ef..59bde84be2 100644 --- a/frontend/src/openapi/models/getTag403.ts +++ b/frontend/src/openapi/models/getTag403.ts @@ -7,8 +7,8 @@ export type GetTag403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTag404.ts b/frontend/src/openapi/models/getTag404.ts index 2baba2de1b..3c92a6a425 100644 --- a/frontend/src/openapi/models/getTag404.ts +++ b/frontend/src/openapi/models/getTag404.ts @@ -7,8 +7,8 @@ export type GetTag404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagType401.ts b/frontend/src/openapi/models/getTagType401.ts index 81e87a06c1..84e12fb50d 100644 --- a/frontend/src/openapi/models/getTagType401.ts +++ b/frontend/src/openapi/models/getTagType401.ts @@ -7,8 +7,8 @@ export type GetTagType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagType403.ts b/frontend/src/openapi/models/getTagType403.ts index 2f68aaba30..edd9bb3372 100644 --- a/frontend/src/openapi/models/getTagType403.ts +++ b/frontend/src/openapi/models/getTagType403.ts @@ -7,8 +7,8 @@ export type GetTagType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagTypes401.ts b/frontend/src/openapi/models/getTagTypes401.ts index 1def75b5ec..f15156603b 100644 --- a/frontend/src/openapi/models/getTagTypes401.ts +++ b/frontend/src/openapi/models/getTagTypes401.ts @@ -7,8 +7,8 @@ export type GetTagTypes401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagTypes403.ts b/frontend/src/openapi/models/getTagTypes403.ts index a2a19f3d49..a69e1c85c2 100644 --- a/frontend/src/openapi/models/getTagTypes403.ts +++ b/frontend/src/openapi/models/getTagTypes403.ts @@ -7,8 +7,8 @@ export type GetTagTypes403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTags401.ts b/frontend/src/openapi/models/getTags401.ts index 6f375394ca..dccf27ad55 100644 --- a/frontend/src/openapi/models/getTags401.ts +++ b/frontend/src/openapi/models/getTags401.ts @@ -7,8 +7,8 @@ export type GetTags401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTags403.ts b/frontend/src/openapi/models/getTags403.ts index 5ec4e8f11a..67d6620ec6 100644 --- a/frontend/src/openapi/models/getTags403.ts +++ b/frontend/src/openapi/models/getTags403.ts @@ -7,8 +7,8 @@ export type GetTags403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagsByType401.ts b/frontend/src/openapi/models/getTagsByType401.ts index 7ab542cbf5..20b121e6ee 100644 --- a/frontend/src/openapi/models/getTagsByType401.ts +++ b/frontend/src/openapi/models/getTagsByType401.ts @@ -7,8 +7,8 @@ export type GetTagsByType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getTagsByType403.ts b/frontend/src/openapi/models/getTagsByType403.ts index ca509cebd5..d20db74a0f 100644 --- a/frontend/src/openapi/models/getTagsByType403.ts +++ b/frontend/src/openapi/models/getTagsByType403.ts @@ -7,8 +7,8 @@ export type GetTagsByType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: 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/getUser400.ts b/frontend/src/openapi/models/getUser400.ts index c9c629233c..d30b6a8862 100644 --- a/frontend/src/openapi/models/getUser400.ts +++ b/frontend/src/openapi/models/getUser400.ts @@ -7,8 +7,8 @@ export type GetUser400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUser401.ts b/frontend/src/openapi/models/getUser401.ts index beedf21f26..c94727e54c 100644 --- a/frontend/src/openapi/models/getUser401.ts +++ b/frontend/src/openapi/models/getUser401.ts @@ -7,8 +7,8 @@ export type GetUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUser404.ts b/frontend/src/openapi/models/getUser404.ts index 840283e45d..c612f490bd 100644 --- a/frontend/src/openapi/models/getUser404.ts +++ b/frontend/src/openapi/models/getUser404.ts @@ -7,8 +7,8 @@ export type GetUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUserPermissions401.ts b/frontend/src/openapi/models/getUserPermissions401.ts index 4d809ff947..b606254013 100644 --- a/frontend/src/openapi/models/getUserPermissions401.ts +++ b/frontend/src/openapi/models/getUserPermissions401.ts @@ -7,8 +7,8 @@ export type GetUserPermissions401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUserPermissions403.ts b/frontend/src/openapi/models/getUserPermissions403.ts index adb9b15cd9..a0a3e93fcd 100644 --- a/frontend/src/openapi/models/getUserPermissions403.ts +++ b/frontend/src/openapi/models/getUserPermissions403.ts @@ -7,8 +7,8 @@ export type GetUserPermissions403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUserPermissions415.ts b/frontend/src/openapi/models/getUserPermissions415.ts index 2106c09f51..4349e270e8 100644 --- a/frontend/src/openapi/models/getUserPermissions415.ts +++ b/frontend/src/openapi/models/getUserPermissions415.ts @@ -7,8 +7,8 @@ export type GetUserPermissions415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUserRoles401.ts b/frontend/src/openapi/models/getUserRoles401.ts index 6da46d2668..adbd0a8cca 100644 --- a/frontend/src/openapi/models/getUserRoles401.ts +++ b/frontend/src/openapi/models/getUserRoles401.ts @@ -7,8 +7,8 @@ export type GetUserRoles401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUserRoles403.ts b/frontend/src/openapi/models/getUserRoles403.ts index 4928ea1af6..5e47804513 100644 --- a/frontend/src/openapi/models/getUserRoles403.ts +++ b/frontend/src/openapi/models/getUserRoles403.ts @@ -7,8 +7,8 @@ export type GetUserRoles403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUsers401.ts b/frontend/src/openapi/models/getUsers401.ts index b913f8769d..58a765c27f 100644 --- a/frontend/src/openapi/models/getUsers401.ts +++ b/frontend/src/openapi/models/getUsers401.ts @@ -7,8 +7,8 @@ export type GetUsers401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getUsers403.ts b/frontend/src/openapi/models/getUsers403.ts index 05c07cf78c..cfe4f5a98c 100644 --- a/frontend/src/openapi/models/getUsers403.ts +++ b/frontend/src/openapi/models/getUsers403.ts @@ -7,8 +7,8 @@ export type GetUsers403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens400.ts b/frontend/src/openapi/models/getValidTokens400.ts index 793943e3d6..fdde61c910 100644 --- a/frontend/src/openapi/models/getValidTokens400.ts +++ b/frontend/src/openapi/models/getValidTokens400.ts @@ -7,8 +7,8 @@ export type GetValidTokens400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens413.ts b/frontend/src/openapi/models/getValidTokens413.ts index 882ce2911f..2a8c13006b 100644 --- a/frontend/src/openapi/models/getValidTokens413.ts +++ b/frontend/src/openapi/models/getValidTokens413.ts @@ -7,8 +7,8 @@ export type GetValidTokens413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens415.ts b/frontend/src/openapi/models/getValidTokens415.ts index 4062fb2446..27254ecbbd 100644 --- a/frontend/src/openapi/models/getValidTokens415.ts +++ b/frontend/src/openapi/models/getValidTokens415.ts @@ -7,8 +7,8 @@ export type GetValidTokens415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/groupSchema.ts b/frontend/src/openapi/models/groupSchema.ts index 989a7cb1ea..b1d8eef96f 100644 --- a/frontend/src/openapi/models/groupSchema.ts +++ b/frontend/src/openapi/models/groupSchema.ts @@ -9,44 +9,44 @@ import type { GroupUserModelSchema } from './groupUserModelSchema'; * A detailed information about a user group */ export interface GroupSchema { - /** - * When was this group created - * @nullable - */ - createdAt?: string | null; - /** - * A user who created this group - * @nullable - */ - createdBy?: string | null; + /** The group id */ + id?: number; + /** The name of the group */ + name: string; /** * A custom description of the group * @nullable */ description?: string | null; - /** The group id */ - id?: number; /** A list of SSO groups that should map to this Unleash group */ mappingsSSO?: string[]; - /** The name of the group */ - name: string; - /** A list of projects where this group is used */ - projects?: string[]; /** * A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. * @nullable */ rootRole?: number | null; /** - * The SCIM ID of the group, only present if managed by SCIM + * A user who created this group * @nullable */ - scimId?: string | null; + createdBy?: string | null; + /** + * When was this group created + * @nullable + */ + createdAt?: string | null; + /** A list of users belonging to this group */ + users?: GroupUserModelSchema[]; + /** A list of projects where this group is used */ + projects?: string[]; /** * The number of users that belong to this group * @minimum 0 */ userCount?: number; - /** A list of users belonging to this group */ - users?: GroupUserModelSchema[]; + /** + * The SCIM ID of the group, only present if managed by SCIM + * @nullable + */ + scimId?: string | null; } diff --git a/frontend/src/openapi/models/groupUserModelSchema.ts b/frontend/src/openapi/models/groupUserModelSchema.ts index 44f9655eea..6bdb82151f 100644 --- a/frontend/src/openapi/models/groupUserModelSchema.ts +++ b/frontend/src/openapi/models/groupUserModelSchema.ts @@ -9,12 +9,12 @@ import type { UserSchema } from './userSchema'; * Details for a single user belonging to a group */ export interface GroupUserModelSchema { + /** The date when the user joined the group */ + joinedAt?: string; /** * The username of the user who added this user to this group * @nullable */ createdBy?: string | null; - /** The date when the user joined the group */ - joinedAt?: string; user: UserSchema; } diff --git a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts index a0a5fd4c70..f9d82da56a 100644 --- a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts +++ b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts @@ -9,32 +9,15 @@ import type { GroupUserModelSchema } from './groupUserModelSchema'; * Data about a group including their project role */ export interface GroupWithProjectRoleSchema { - /** When this group was added to the project */ - addedAt?: string; - /** - * When was this group created - * @nullable - */ - createdAt?: string | null; - /** - * A user who created this group - * @nullable - */ - createdBy?: string | null; - /** - * A custom description of the group - * @nullable - */ - description?: string | null; + /** The name of the group */ + name?: string; /** * The group's ID in the Unleash system * @minimum 0 */ id: number; - /** A list of SSO groups that should map to this Unleash group */ - mappingsSSO?: string[]; - /** The name of the group */ - name?: string; + /** When this group was added to the project */ + addedAt?: string; /** * The ID of the role this group has in the given project * @minimum 0 @@ -42,16 +25,33 @@ export interface GroupWithProjectRoleSchema { roleId?: number; /** A list of roles this user has in the given project */ roles?: number[]; + /** + * A custom description of the group + * @nullable + */ + description?: string | null; + /** A list of SSO groups that should map to this Unleash group */ + mappingsSSO?: string[]; /** * A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. * @nullable */ rootRole?: number | null; + /** + * A user who created this group + * @nullable + */ + createdBy?: string | null; + /** + * When was this group created + * @nullable + */ + createdAt?: string | null; + /** A list of users belonging to this group */ + users?: GroupUserModelSchema[]; /** * The SCIM ID of the group, only present if managed by SCIM * @nullable */ scimId?: string | null; - /** A list of users belonging to this group */ - users?: GroupUserModelSchema[]; } diff --git a/frontend/src/openapi/models/healthOverviewSchema.ts b/frontend/src/openapi/models/healthOverviewSchema.ts index cbee4b31bc..a17dde1e90 100644 --- a/frontend/src/openapi/models/healthOverviewSchema.ts +++ b/frontend/src/openapi/models/healthOverviewSchema.ts @@ -3,58 +3,58 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; -import type { FeatureSchema } from './featureSchema'; import type { HealthOverviewSchemaMode } from './healthOverviewSchemaMode'; +import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; +import type { FeatureSchema } from './featureSchema'; import type { ProjectStatsSchema } from './projectStatsSchema'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; /** * An overview of a project's stats and its health as described in the documentation on [technical debt](https://docs.getunleash.io/reference/technical-debt) */ export interface HealthOverviewSchema { - /** - * When the project was last updated. - * @nullable - */ - createdAt?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness: string; + /** The project overview version. */ + version: number; + /** The project's name */ + name: string; /** * The project's description * @nullable */ description?: string | null; - /** An array containing the names of all the environments configured for the project. */ - environments: ProjectEnvironmentSchema[]; - /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ - favorite?: boolean; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness: string; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode: HealthOverviewSchemaMode; /** * A limit on the number of features allowed in the project. Null if no limit. * @nullable */ featureLimit?: number | null; - 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. */ - health: number; /** * The number of users/members in the project. * @minimum 0 */ members: number; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode: HealthOverviewSchemaMode; - /** The project's name */ - name: string; - /** Project statistics */ - stats?: ProjectStatsSchema; + /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */ + health: number; + /** An array containing the names of all the environments configured for the project. */ + environments: ProjectEnvironmentSchema[]; + /** An array containing an overview of all the features of the project and their individual status */ + features: FeatureSchema[]; /** * When the project was last updated. * @nullable */ updatedAt?: string | null; - /** The project overview version. */ - version: number; + /** + * When the project was last updated. + * @nullable + */ + createdAt?: string | null; + /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ + favorite?: boolean; + /** Project statistics */ + stats?: ProjectStatsSchema; + featureNaming?: CreateFeatureNamingPatternSchema; } diff --git a/frontend/src/openapi/models/healthReportSchema.ts b/frontend/src/openapi/models/healthReportSchema.ts index f41273dd50..5a425552f6 100644 --- a/frontend/src/openapi/models/healthReportSchema.ts +++ b/frontend/src/openapi/models/healthReportSchema.ts @@ -3,64 +3,64 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; -import type { FeatureSchema } from './featureSchema'; import type { HealthReportSchemaMode } from './healthReportSchemaMode'; +import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; +import type { FeatureSchema } from './featureSchema'; import type { ProjectStatsSchema } from './projectStatsSchema'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; /** * A report of the current health of the requested project, with datapoints like counters of currently active, stale, and potentially stale feature flags. */ export interface HealthReportSchema { - /** The number of active feature flags. */ - activeCount: number; - /** - * When the project was last updated. - * @nullable - */ - createdAt?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness: string; + /** The project overview version. */ + version: number; + /** The project's name */ + name: string; /** * The project's description * @nullable */ description?: string | null; - /** An array containing the names of all the environments configured for the project. */ - environments: ProjectEnvironmentSchema[]; - /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ - favorite?: boolean; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness: string; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode: HealthReportSchemaMode; /** * A limit on the number of features allowed in the project. Null if no limit. * @nullable */ featureLimit?: number | null; - 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. */ - health: number; /** * The number of users/members in the project. * @minimum 0 */ members: number; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode: HealthReportSchemaMode; - /** The project's name */ - name: string; - /** The number of potentially stale feature flags. */ - potentiallyStaleCount: number; - /** The number of stale feature flags. */ - staleCount: number; - /** Project statistics */ - stats?: ProjectStatsSchema; + /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */ + health: number; + /** An array containing the names of all the environments configured for the project. */ + environments: ProjectEnvironmentSchema[]; + /** An array containing an overview of all the features of the project and their individual status */ + features: FeatureSchema[]; /** * When the project was last updated. * @nullable */ updatedAt?: string | null; - /** The project overview version. */ - version: number; + /** + * When the project was last updated. + * @nullable + */ + createdAt?: string | null; + /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ + favorite?: boolean; + /** Project statistics */ + stats?: ProjectStatsSchema; + featureNaming?: CreateFeatureNamingPatternSchema; + /** The number of potentially stale feature flags. */ + potentiallyStaleCount: number; + /** The number of active feature flags. */ + activeCount: number; + /** The number of stale feature flags. */ + staleCount: number; } diff --git a/frontend/src/openapi/models/importToggles404.ts b/frontend/src/openapi/models/importToggles404.ts index b1a0900af0..a5399fcd78 100644 --- a/frontend/src/openapi/models/importToggles404.ts +++ b/frontend/src/openapi/models/importToggles404.ts @@ -7,8 +7,8 @@ export type ImportToggles404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/importTogglesSchema.ts b/frontend/src/openapi/models/importTogglesSchema.ts index f6b5be7529..749e2e8167 100644 --- a/frontend/src/openapi/models/importTogglesSchema.ts +++ b/frontend/src/openapi/models/importTogglesSchema.ts @@ -9,9 +9,9 @@ import type { ExportResultSchema } from './exportResultSchema'; * The result of the export operation for a project and environment, used at import */ export interface ImportTogglesSchema { - data: ExportResultSchema; - /** The exported [environment](https://docs.getunleash.io/reference/environments) */ - environment: string; /** The exported [project](https://docs.getunleash.io/reference/projects) */ project: string; + /** The exported [environment](https://docs.getunleash.io/reference/environments) */ + environment: string; + data: ExportResultSchema; } diff --git a/frontend/src/openapi/models/importTogglesValidateItemSchema.ts b/frontend/src/openapi/models/importTogglesValidateItemSchema.ts index 5ca2ba2716..94d970a8fe 100644 --- a/frontend/src/openapi/models/importTogglesValidateItemSchema.ts +++ b/frontend/src/openapi/models/importTogglesValidateItemSchema.ts @@ -8,8 +8,8 @@ * A description of an error or warning pertaining to a feature flag import job. */ export interface ImportTogglesValidateItemSchema { - /** The items affected by this error message */ - affectedItems: string[]; /** The validation error message */ message: string; + /** The items affected by this error message */ + affectedItems: string[]; } diff --git a/frontend/src/openapi/models/importTogglesValidateSchema.ts b/frontend/src/openapi/models/importTogglesValidateSchema.ts index 9739d8c3fd..124eab86d0 100644 --- a/frontend/src/openapi/models/importTogglesValidateSchema.ts +++ b/frontend/src/openapi/models/importTogglesValidateSchema.ts @@ -11,8 +11,8 @@ import type { ImportTogglesValidateItemSchema } from './importTogglesValidateIte export interface ImportTogglesValidateSchema { /** A list of errors that prevent the provided data from being successfully imported. */ errors: ImportTogglesValidateItemSchema[]; - /** Any additional permissions required to import the data. If the list is empty, you require no additional permissions beyond what your user already has. */ - permissions?: ImportTogglesValidateItemSchema[]; /** A list of warnings related to the provided data. */ warnings: ImportTogglesValidateItemSchema[]; + /** Any additional permissions required to import the data. If the list is empty, you require no additional permissions beyond what your user already has. */ + permissions?: ImportTogglesValidateItemSchema[]; } diff --git a/frontend/src/openapi/models/inactiveUserSchema.ts b/frontend/src/openapi/models/inactiveUserSchema.ts index 079662cf75..9ca4c2bd1b 100644 --- a/frontend/src/openapi/models/inactiveUserSchema.ts +++ b/frontend/src/openapi/models/inactiveUserSchema.ts @@ -8,10 +8,6 @@ * A Unleash user that has been flagged as inactive */ export interface InactiveUserSchema { - /** The user was created at this time */ - createdAt?: string; - /** Email of the user */ - email?: string; /** * The user id * @minimum 0 @@ -22,19 +18,23 @@ export interface InactiveUserSchema { * @nullable */ name?: string | null; - /** - * The last time this user's PAT token (if any) was used - * @nullable - */ - patSeenAt?: string | null; - /** - * The last time this user logged in - * @nullable - */ - seenAt?: string | null; + /** Email of the user */ + email?: string; /** * A unique username for the user * @nullable */ username?: string | null; + /** + * The last time this user logged in + * @nullable + */ + seenAt?: string | null; + /** The user was created at this time */ + createdAt?: string; + /** + * The last time this user's PAT token (if any) was used + * @nullable + */ + patSeenAt?: string | null; } diff --git a/frontend/src/openapi/models/inactiveUsersSchema.ts b/frontend/src/openapi/models/inactiveUsersSchema.ts index 3783bb4851..3e4290c5a5 100644 --- a/frontend/src/openapi/models/inactiveUsersSchema.ts +++ b/frontend/src/openapi/models/inactiveUsersSchema.ts @@ -9,11 +9,11 @@ import type { InactiveUserSchema } from './inactiveUserSchema'; * A list of users that has been flagged as inactive */ export interface InactiveUsersSchema { - /** The list of users that are flagged as inactive */ - inactiveUsers: InactiveUserSchema[]; /** * The version of this schema. Used to keep track of compatibility * @minimum 1 */ version: number; + /** The list of users that are flagged as inactive */ + inactiveUsers: InactiveUserSchema[]; } diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index bbd126f33a..bc1dc152a6 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -47,9 +47,6 @@ export * from './addFeatureDependency404'; export * from './addFeatureStrategy401'; export * from './addFeatureStrategy403'; export * from './addFeatureStrategy404'; -export * from './addMilestoneToReleasePlanTemplate401'; -export * from './addMilestoneToReleasePlanTemplate403'; -export * from './addMilestoneToReleasePlanTemplate404'; export * from './addPublicSignupTokenUser400'; export * from './addPublicSignupTokenUser409'; export * from './addRoleAccessToProject400'; @@ -60,9 +57,6 @@ export * from './addRoleAccessToProject415'; export * from './addRoleToUser401'; export * from './addRoleToUser403'; export * from './addRoleToUser404'; -export * from './addStrategyToMilestone401'; -export * from './addStrategyToMilestone403'; -export * from './addStrategyToMilestone404'; export * from './addTag400'; export * from './addTag401'; export * from './addTag403'; @@ -100,10 +94,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'; @@ -189,6 +179,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 +210,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 +255,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 +325,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'; @@ -320,8 +346,6 @@ export * from './clientMetricsSchemaBucket'; export * from './clientMetricsSchemaBucketToggles'; export * from './clientMetricsSchemaBucketTogglesVariants'; export * from './clientSegmentSchema'; -export * from './cloneEnvironment400'; -export * from './cloneEnvironment401'; export * from './cloneEnvironmentSchema'; export * from './cloneFeature401'; export * from './cloneFeature403'; @@ -360,15 +384,9 @@ export * from './createApplication400'; export * from './createApplication401'; export * from './createApplication403'; export * from './createApplicationSchema'; -export * from './createBanner400'; -export * from './createBanner401'; -export * from './createBanner403'; -export * from './createBanner415'; export * from './createBannerSchema'; export * from './createContextFieldSchema'; export * from './createDependentFeatureSchema'; -export * from './createEnvironment400'; -export * from './createEnvironment401'; export * from './createEnvironmentSchema'; export * from './createFeature401'; export * from './createFeature403'; @@ -381,10 +399,6 @@ export * from './createFeatureStrategySchema'; export * from './createFeedback400'; export * from './createFeedback401'; export * from './createFeedback415'; -export * from './createGroup400'; -export * from './createGroup401'; -export * from './createGroup403'; -export * from './createGroup409'; export * from './createGroupSchema'; export * from './createGroupSchemaUsersItem'; export * from './createGroupSchemaUsersItemUser'; @@ -409,12 +423,7 @@ export * from './createPublicSignupToken401'; export * from './createPublicSignupToken403'; export * from './createReleasePlanMilestoneSchema'; export * from './createReleasePlanMilestoneStrategySchema'; -export * from './createReleasePlanTemplate401'; export * from './createReleasePlanTemplateSchema'; -export * from './createRole400'; -export * from './createRole401'; -export * from './createRole403'; -export * from './createRole409'; export * from './createRoleWithPermissionsSchema'; export * from './createRoleWithPermissionsSchemaAnyOf'; export * from './createRoleWithPermissionsSchemaAnyOfFour'; @@ -427,17 +436,7 @@ export * from './createSegment401'; export * from './createSegment403'; export * from './createSegment409'; export * from './createSegment415'; -export * from './createServiceAccount400'; -export * from './createServiceAccount401'; -export * from './createServiceAccount403'; -export * from './createServiceAccount409'; -export * from './createServiceAccount415'; export * from './createServiceAccountSchema'; -export * from './createServiceAccountToken401'; -export * from './createServiceAccountToken403'; -export * from './createServiceAccountToken404'; -export * from './createServiceAccountToken409'; -export * from './createServiceAccountToken415'; export * from './createSignalEndpointSchema'; export * from './createSignalEndpointTokenSchema'; export * from './createStrategy401'; @@ -477,9 +476,6 @@ export * from './deleteApiToken401'; export * from './deleteApiToken403'; export * from './deleteApplication401'; export * from './deleteApplication403'; -export * from './deleteBanner401'; -export * from './deleteBanner403'; -export * from './deleteBanner404'; export * from './deleteFeature401'; export * from './deleteFeature403'; export * from './deleteFeatureDependencies401'; @@ -494,9 +490,6 @@ export * from './deleteFeatureStrategy404'; export * from './deleteFeatures400'; export * from './deleteFeatures401'; export * from './deleteFeatures403'; -export * from './deleteGroup400'; -export * from './deleteGroup401'; -export * from './deleteGroup403'; export * from './deleteInactiveUsers400'; export * from './deleteInactiveUsers401'; export * from './deleteInactiveUsers403'; @@ -510,18 +503,8 @@ export * from './deleteProjectApiToken400'; export * from './deleteProjectApiToken401'; export * from './deleteProjectApiToken403'; export * from './deleteProjectApiToken404'; -export * from './deleteReleasePlanTemplate401'; -export * from './deleteReleasePlanTemplate403'; -export * from './deleteRole400'; -export * from './deleteRole401'; -export * from './deleteRole403'; -export * from './deleteRole404'; -export * from './deleteServiceAccount401'; -export * from './deleteServiceAccount403'; -export * from './deleteServiceAccount404'; -export * from './deleteServiceAccountToken401'; -export * from './deleteServiceAccountToken403'; -export * from './deleteServiceAccountToken404'; +export * from './deleteScimUsers401'; +export * from './deleteScimUsers403'; export * from './deleteTagType401'; export * from './deleteTagType403'; export * from './deleteUser401'; @@ -536,17 +519,21 @@ export * from './deprecatedProjectOverviewSchema'; export * from './deprecatedProjectOverviewSchemaMode'; export * from './deprecatedSearchEventsSchema'; export * from './deprecatedSearchEventsSchemaType'; -export * from './disableBanner401'; -export * from './disableBanner403'; -export * from './disableBanner404'; 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 './editChange404'; +export * from './edgeUpstreamLatencySchema'; export * from './emailSchema'; -export * from './enableBanner401'; -export * from './enableBanner403'; -export * from './enableBanner404'; export * from './environmentProjectSchema'; export * from './environmentSchema'; export * from './environmentsProjectSchema'; @@ -614,13 +601,10 @@ 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'; -export * from './generateNewToken404'; -export * from './getAccessOverview401'; -export * from './getAccessOverview403'; -export * from './getAccessOverview415'; export * from './getAddon401'; export * from './getAddons401'; export * from './getAdminCount401'; @@ -632,7 +616,6 @@ export * from './getAllApiTokens403'; export * from './getAllEnvironments401'; export * from './getAllEnvironments403'; export * from './getAllFeatureTypes401'; -export * from './getAllReleasePlanTemplates401'; export * from './getAllStrategies401'; export * from './getApiTokensByName401'; export * from './getApiTokensByName403'; @@ -644,12 +627,7 @@ export * from './getArchivedFeatures401'; export * from './getArchivedFeatures403'; export * from './getArchivedFeaturesByProjectId401'; export * from './getArchivedFeaturesByProjectId403'; -export * from './getBanners401'; export * from './getBaseUsersAndGroups401'; -export * from './getChangeRequest404'; -export * from './getChangeRequestPlayground400'; -export * from './getChangeRequestPlayground401'; -export * from './getChangeRequestPlayground404'; export * from './getDeprecatedProjectOverview401'; export * from './getDeprecatedProjectOverview403'; export * from './getDeprecatedProjectOverview404'; @@ -689,27 +667,18 @@ 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'; -export * from './getGroup401'; -export * from './getGroup403'; -export * from './getGroup404'; -export * from './getGroups401'; -export * from './getGroups403'; export * from './getInstanceInsightsParams'; export * from './getIntegrationEvents401'; export * from './getIntegrationEvents403'; export * from './getIntegrationEvents404'; export * from './getIntegrationEventsParams'; -export * from './getLoginHistory401'; -export * from './getLoginHistory404'; export * from './getMaintenance401'; export * from './getMaintenance403'; export * from './getMe401'; -export * from './getOidcSettings400'; -export * from './getOidcSettings401'; -export * from './getOidcSettings403'; export * from './getOutdatedProjectSdks404'; export * from './getOutdatedSdks404'; export * from './getPats401'; @@ -764,31 +733,9 @@ export * from './getPublicSignupToken403'; export * from './getRawFeatureMetrics401'; export * from './getRawFeatureMetrics403'; export * from './getRawFeatureMetrics404'; -export * from './getReleasePlanTemplate401'; -export * from './getRoleById400'; -export * from './getRoleById401'; -export * from './getRoleById404'; export * from './getRoleProjectAccess401'; export * from './getRoleProjectAccess403'; -export * from './getRoles401'; -export * from './getRoles403'; -export * from './getSamlSettings400'; -export * from './getSamlSettings401'; -export * from './getSamlSettings403'; -export * from './getScheduledChangeRequests404'; -export * from './getScimSettings401'; export * from './getSegment404'; -export * from './getServiceAccountPermissions401'; -export * from './getServiceAccountPermissions403'; -export * from './getServiceAccountPermissions415'; -export * from './getServiceAccountPermissionsParams'; -export * from './getServiceAccountTokens401'; -export * from './getServiceAccountTokens403'; -export * from './getServiceAccountTokens404'; -export * from './getServiceAccounts401'; -export * from './getServiceAccounts403'; -export * from './getSimpleSettings401'; -export * from './getSimpleSettings403'; export * from './getStrategiesByContextField401'; export * from './getStrategy401'; export * from './getStrategy404'; @@ -803,6 +750,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 +806,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'; @@ -894,8 +844,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'; @@ -1068,11 +1016,6 @@ export * from './releasePlanSchemaDiscriminator'; export * from './releasePlanTemplateIdSchema'; export * from './releasePlanTemplateSchema'; export * from './releasePlanTemplateSchemaDiscriminator'; -export * from './remoteMilestoneStrategy401'; -export * from './remoteMilestoneStrategy403'; -export * from './remoteMilestoneStrategy404'; -export * from './removeEnvironment400'; -export * from './removeEnvironment401'; export * from './removeEnvironmentFromProject400'; export * from './removeEnvironmentFromProject401'; export * from './removeEnvironmentFromProject403'; @@ -1083,9 +1026,6 @@ export * from './removeFavoriteProject404'; export * from './removeGroupAccess401'; export * from './removeGroupAccess403'; export * from './removeGroupAccess404'; -export * from './removeReleasePlanMilestone401'; -export * from './removeReleasePlanMilestone403'; -export * from './removeReleasePlanMilestone404'; export * from './removeRoleForUser401'; export * from './removeRoleForUser403'; export * from './removeRoleForUser404'; @@ -1164,10 +1104,7 @@ export * from './sendResetPasswordEmail404'; export * from './sendResetPasswordEmail415'; export * from './serviceAccountSchema'; export * from './serviceAccountsSchema'; -export * from './setOidcSettings400'; -export * from './setOidcSettings401'; -export * from './setOidcSettings403'; -export * from './setOidcSettings415'; +export * from './setCorsSchema'; export * from './setProjectAccess401'; export * from './setProjectAccess403'; export * from './setRolesForGroup401'; @@ -1176,19 +1113,7 @@ export * from './setRolesForGroup404'; export * from './setRolesForUser401'; export * from './setRolesForUser403'; export * from './setRolesForUser404'; -export * from './setSamlSettings400'; -export * from './setSamlSettings401'; -export * from './setSamlSettings403'; -export * from './setSamlSettings415'; -export * from './setScimSettings400'; -export * from './setScimSettings401'; -export * from './setScimSettings403'; -export * from './setScimSettings415'; export * from './setScimSettingsSchema'; -export * from './setSimpleSettings400'; -export * from './setSimpleSettings401'; -export * from './setSimpleSettings403'; -export * from './setSimpleSettings415'; export * from './setStrategySortOrder400'; export * from './setStrategySortOrder401'; export * from './setStrategySortOrder403'; @@ -1260,6 +1185,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'; @@ -1289,15 +1217,8 @@ export * from './updateApiToken401'; export * from './updateApiToken403'; export * from './updateApiToken415'; export * from './updateApiTokenSchema'; -export * from './updateBanner400'; -export * from './updateBanner401'; -export * from './updateBanner403'; -export * from './updateBanner404'; -export * from './updateBanner415'; export * from './updateChangeRequestEnvironmentConfigSchema'; export * from './updateContextFieldSchema'; -export * from './updateEnvironment400'; -export * from './updateEnvironment401'; export * from './updateEnvironmentSchema'; export * from './updateFeature401'; export * from './updateFeature403'; @@ -1326,18 +1247,6 @@ export * from './updateFeatureTypeLifetimeSchema'; export * from './updateFeedback400'; export * from './updateFeedback401'; export * from './updateFeedback415'; -export * from './updateGroup400'; -export * from './updateGroup401'; -export * from './updateGroup403'; -export * from './updateGroup404'; -export * from './updateGroup409'; -export * from './updateLicense400'; -export * from './updateLicense401'; -export * from './updateLicense403'; -export * from './updateLicense415'; -export * from './updateMilestoneStrategy401'; -export * from './updateMilestoneStrategy403'; -export * from './updateMilestoneStrategy404'; export * from './updateProject400'; export * from './updateProject401'; export * from './updateProject403'; @@ -1357,27 +1266,12 @@ export * from './updatePublicSignupToken401'; export * from './updatePublicSignupToken403'; export * from './updateReleasePlanMilestoneSchema'; export * from './updateReleasePlanMilestoneStrategySchema'; -export * from './updateReleasePlanTemplate401'; -export * from './updateReleasePlanTemplate403'; -export * from './updateReleasePlanTemplateMilestone401'; -export * from './updateReleasePlanTemplateMilestone403'; -export * from './updateReleasePlanTemplateMilestone404'; export * from './updateReleasePlanTemplateSchema'; -export * from './updateRole400'; -export * from './updateRole401'; -export * from './updateRole403'; -export * from './updateRole404'; -export * from './updateRole409'; export * from './updateSegment400'; export * from './updateSegment401'; export * from './updateSegment403'; export * from './updateSegment409'; export * from './updateSegment415'; -export * from './updateServiceAccount400'; -export * from './updateServiceAccount401'; -export * from './updateServiceAccount403'; -export * from './updateServiceAccount404'; -export * from './updateServiceAccount415'; export * from './updateServiceAccountSchema'; export * from './updateSortOrder401'; export * from './updateSortOrder403'; @@ -1425,8 +1319,6 @@ export * from './validateConstraint400'; export * from './validateConstraint401'; export * from './validateConstraint403'; export * from './validateConstraint415'; -export * from './validateEnvironmentName400'; -export * from './validateEnvironmentName401'; export * from './validateFeature400'; export * from './validateFeature401'; export * from './validateFeature409'; @@ -1442,8 +1334,6 @@ export * from './validateProject403'; export * from './validateProject415'; export * from './validateProjectSchema'; export * from './validatePublicSignupToken400'; -export * from './validateRole400'; -export * from './validateRole401'; export * from './validateSegment400'; export * from './validateSegment401'; export * from './validateSegment409'; diff --git a/frontend/src/openapi/models/instanceAdminStatsSchema.ts b/frontend/src/openapi/models/instanceAdminStatsSchema.ts index 8b2cbf05b8..b1a51fd695 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchema.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchema.ts @@ -3,92 +3,73 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { InstanceAdminStatsSchemaActiveUsers } from './instanceAdminStatsSchemaActiveUsers'; -import type { InstanceAdminStatsSchemaApiTokens } from './instanceAdminStatsSchemaApiTokens'; -import type { InstanceAdminStatsSchemaClientAppsItem } from './instanceAdminStatsSchemaClientAppsItem'; import type { InstanceAdminStatsSchemaPreviousDayMetricsBucketsCount } from './instanceAdminStatsSchemaPreviousDayMetricsBucketsCount'; +import type { InstanceAdminStatsSchemaActiveUsers } from './instanceAdminStatsSchemaActiveUsers'; import type { InstanceAdminStatsSchemaProductionChanges } from './instanceAdminStatsSchemaProductionChanges'; +import type { InstanceAdminStatsSchemaClientAppsItem } from './instanceAdminStatsSchemaClientAppsItem'; +import type { InstanceAdminStatsSchemaApiTokens } from './instanceAdminStatsSchemaApiTokens'; /** * Information about an instance and statistics about usage of various features of Unleash */ export interface InstanceAdminStatsSchema { + /** A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID. */ + instanceId: string; + /** + * When these statistics were produced + * @nullable + */ + timestamp?: string | null; + /** The version of Unleash OSS that is bundled in this instance */ + versionOSS?: string; + /** The version of Unleash Enterprise that is bundled in this instance */ + versionEnterprise?: string; + /** + * The number of users this instance has + * @minimum 0 + */ + users?: number; + /** The number client metrics buckets records recorded in the previous day. # features * # apps * # envs * # hours with metrics */ + previousDayMetricsBucketsCount?: InstanceAdminStatsSchemaPreviousDayMetricsBucketsCount; /** The number of active users in the last 7, 30 and 90 days */ activeUsers?: InstanceAdminStatsSchemaActiveUsers; - /** The number of API tokens in Unleash, split by type */ - apiTokens?: InstanceAdminStatsSchemaApiTokens; - /** A count of connected applications in the last week, last month and all time since last restart */ - clientApps?: InstanceAdminStatsSchemaClientAppsItem[]; /** - * The number of context fields defined in this instance. + * The number of users who had access to Unleash within the last 30 days, including those who may have been deleted during this period. * @minimum 0 */ - contextFields?: number; - /** - * The number of environments defined in this instance - * @minimum 0 - */ - environments?: number; - /** - * The number of export operations on this instance - * @minimum 0 - */ - featureExports?: number; - /** - * The number of import operations on this instance - * @minimum 0 - */ - featureImports?: number; + licensedUsers?: number; + /** The number of changes to the production environment in the last 30, 60 and 90 days */ + productionChanges?: InstanceAdminStatsSchemaProductionChanges; /** * The number of feature-toggles this instance has * @minimum 0 */ featureToggles?: number; - /** - * The number of groups defined in this instance - * @minimum 0 - */ - groups?: number; - /** A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID. */ - instanceId: string; - /** - * The number of users who had access to Unleash within the last 30 days, including those who may have been deleted during this period. - * @minimum 0 - */ - licensedUsers?: number; - /** - * The highest number of constraints used on a single strategy. - * @minimum 0 - */ - maxConstraints?: number; - /** - * The highest number of constraint values used on a single constraint. - * @minimum 0 - */ - maxConstraintValues?: number; - /** - * The highest number of strategies used on a single feature flag in a single environment. - * @minimum 0 - */ - maxEnvironmentStrategies?: number; - /** Whether or not OIDC authentication is enabled for this instance */ - OIDCenabled?: boolean; - /** The number client metrics buckets records recorded in the previous day. # features * # apps * # envs * # hours with metrics */ - previousDayMetricsBucketsCount?: InstanceAdminStatsSchemaPreviousDayMetricsBucketsCount; - /** The number of changes to the production environment in the last 30, 60 and 90 days */ - productionChanges?: InstanceAdminStatsSchemaProductionChanges; /** * The number of projects defined in this instance. * @minimum 0 */ projects?: number; + /** + * The number of context fields defined in this instance. + * @minimum 0 + */ + contextFields?: number; /** * The number of roles defined in this instance * @minimum 0 */ roles?: number; - /** Whether or not SAML authentication is enabled for this instance */ - SAMLenabled?: boolean; + /** + * The number of groups defined in this instance + * @minimum 0 + */ + groups?: number; + /** + * The number of environments defined in this instance + * @minimum 0 + */ + environments?: number; /** * The number of segments defined in this instance * @minimum 0 @@ -99,20 +80,39 @@ export interface InstanceAdminStatsSchema { * @minimum 0 */ strategies?: number; - /** A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with */ - sum?: string; + /** Whether or not SAML authentication is enabled for this instance */ + SAMLenabled?: boolean; + /** Whether or not OIDC authentication is enabled for this instance */ + OIDCenabled?: boolean; + /** A count of connected applications in the last week, last month and all time since last restart */ + clientApps?: InstanceAdminStatsSchemaClientAppsItem[]; /** - * When these statistics were produced - * @nullable - */ - timestamp?: string | null; - /** - * The number of users this instance has + * The number of export operations on this instance * @minimum 0 */ - users?: number; - /** The version of Unleash Enterprise that is bundled in this instance */ - versionEnterprise?: string; - /** The version of Unleash OSS that is bundled in this instance */ - versionOSS?: string; + featureExports?: number; + /** + * The number of import operations on this instance + * @minimum 0 + */ + featureImports?: number; + /** The number of API tokens in Unleash, split by type */ + apiTokens?: InstanceAdminStatsSchemaApiTokens; + /** + * The highest number of strategies used on a single feature flag in a single environment. + * @minimum 0 + */ + maxEnvironmentStrategies?: number; + /** + * The highest number of constraints used on a single strategy. + * @minimum 0 + */ + maxConstraints?: number; + /** + * The highest number of constraint values used on a single constraint. + * @minimum 0 + */ + maxConstraintValues?: number; + /** A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with */ + sum?: string; } diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts index c291cd1e73..b014539192 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts @@ -8,6 +8,11 @@ * The number of active users in the last 7, 30 and 90 days */ export type InstanceAdminStatsSchemaActiveUsers = { + /** + * The number of active users in the last 7 days + * @minimum 0 + */ + last7?: number; /** * The number of active users in the last 30 days * @minimum 0 @@ -18,11 +23,6 @@ export type InstanceAdminStatsSchemaActiveUsers = { * @minimum 0 */ last60?: number; - /** - * The number of active users in the last 7 days - * @minimum 0 - */ - last7?: number; /** * The number of active users in the last 90 days * @minimum 0 diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts index 56d3db5e11..7e0840e4de 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts @@ -9,8 +9,8 @@ import type { InstanceAdminStatsSchemaClientAppsItemRange } from './instanceAdmi * An entry describing how many client applications has been observed over the defined range */ export type InstanceAdminStatsSchemaClientAppsItem = { - /** The number of client applications that have been observed in this period */ - count?: number; /** A description of a time range */ range?: InstanceAdminStatsSchemaClientAppsItemRange; + /** The number of client applications that have been observed in this period */ + count?: number; }; diff --git a/frontend/src/openapi/models/instanceInsightsSchema.ts b/frontend/src/openapi/models/instanceInsightsSchema.ts index 4905be7e36..332162bbc3 100644 --- a/frontend/src/openapi/models/instanceInsightsSchema.ts +++ b/frontend/src/openapi/models/instanceInsightsSchema.ts @@ -3,24 +3,24 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem'; -import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem'; -import type { InstanceInsightsSchemaMetricsSummaryTrendsItem } from './instanceInsightsSchemaMetricsSummaryTrendsItem'; -import type { InstanceInsightsSchemaProjectFlagTrendsItem } from './instanceInsightsSchemaProjectFlagTrendsItem'; import type { InstanceInsightsSchemaUserTrendsItem } from './instanceInsightsSchemaUserTrendsItem'; +import type { InstanceInsightsSchemaFlagTrendsItem } from './instanceInsightsSchemaFlagTrendsItem'; +import type { InstanceInsightsSchemaProjectFlagTrendsItem } from './instanceInsightsSchemaProjectFlagTrendsItem'; +import type { InstanceInsightsSchemaMetricsSummaryTrendsItem } from './instanceInsightsSchemaMetricsSummaryTrendsItem'; +import type { InstanceInsightsSchemaEnvironmentTypeTrendsItem } from './instanceInsightsSchemaEnvironmentTypeTrendsItem'; /** * A summary of this Unleash instance's usage statistics, including user and flag counts, and trends over time. */ export interface InstanceInsightsSchema { - /** How updates per environment type changed over time */ - environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[]; - /** How number of flags changed over time */ - flagTrends: InstanceInsightsSchemaFlagTrendsItem[]; - /** How metrics data per project changed over time */ - metricsSummaryTrends: InstanceInsightsSchemaMetricsSummaryTrendsItem[]; - /** How number of flags per project changed over time */ - projectFlagTrends: InstanceInsightsSchemaProjectFlagTrendsItem[]; /** How number of users changed over time */ userTrends: InstanceInsightsSchemaUserTrendsItem[]; + /** How number of flags changed over time */ + flagTrends: InstanceInsightsSchemaFlagTrendsItem[]; + /** How number of flags per project changed over time */ + projectFlagTrends: InstanceInsightsSchemaProjectFlagTrendsItem[]; + /** How metrics data per project changed over time */ + metricsSummaryTrends: InstanceInsightsSchemaMetricsSummaryTrendsItem[]; + /** How updates per environment type changed over time */ + environmentTypeTrends: InstanceInsightsSchemaEnvironmentTypeTrendsItem[]; } diff --git a/frontend/src/openapi/models/instanceInsightsSchemaEnvironmentTypeTrendsItem.ts b/frontend/src/openapi/models/instanceInsightsSchemaEnvironmentTypeTrendsItem.ts index c40291ff2e..640d5ca01f 100644 --- a/frontend/src/openapi/models/instanceInsightsSchemaEnvironmentTypeTrendsItem.ts +++ b/frontend/src/openapi/models/instanceInsightsSchemaEnvironmentTypeTrendsItem.ts @@ -7,10 +7,10 @@ export type InstanceInsightsSchemaEnvironmentTypeTrendsItem = { /** A UTC date when the stats were captured. Time is the very end of a given day. */ date: string; + /** Year and week in a given year for which the stats were calculated */ + week: string; /** Environment type the data belongs too */ environmentType: string; /** Total number of times configuration has been updated in the environment type */ totalUpdates: number; - /** Year and week in a given year for which the stats were calculated */ - week: string; }; diff --git a/frontend/src/openapi/models/instanceInsightsSchemaFlagTrendsItem.ts b/frontend/src/openapi/models/instanceInsightsSchemaFlagTrendsItem.ts index 468c80a69b..d5bac495ea 100644 --- a/frontend/src/openapi/models/instanceInsightsSchemaFlagTrendsItem.ts +++ b/frontend/src/openapi/models/instanceInsightsSchemaFlagTrendsItem.ts @@ -5,14 +5,14 @@ */ export type InstanceInsightsSchemaFlagTrendsItem = { - /** The number of active flags on a particular day */ - active: number; /** A UTC date when the stats were captured. Time is the very end of a given day. */ date: string; - /** The number of time calculated potentially stale flags on a particular day */ - potentiallyStale: number; - /** The number of user marked stale flags on a particular day */ - stale: number; /** The number of all flags on a particular day */ total: number; + /** The number of active flags on a particular day */ + active: number; + /** The number of user marked stale flags on a particular day */ + stale: number; + /** The number of time calculated potentially stale flags on a particular day */ + potentiallyStale: number; }; diff --git a/frontend/src/openapi/models/instanceInsightsSchemaMetricsSummaryTrendsItem.ts b/frontend/src/openapi/models/instanceInsightsSchemaMetricsSummaryTrendsItem.ts index 9ebc6a761c..483dc0c008 100644 --- a/frontend/src/openapi/models/instanceInsightsSchemaMetricsSummaryTrendsItem.ts +++ b/frontend/src/openapi/models/instanceInsightsSchemaMetricsSummaryTrendsItem.ts @@ -5,22 +5,22 @@ */ export type InstanceInsightsSchemaMetricsSummaryTrendsItem = { + /** Year and week in a given year for which the metrics summary was calculated */ + week: string; /** A UTC date when metrics summary was captured. Time is the very end of a given day. */ date: string; /** Project id of the project the impressions summary belong to */ project: string; - /** Total number of applications the impression data belong to */ - totalApps: number; - /** Total number of environments the impression data belong to */ - totalEnvironments: number; - /** Total number of flags the impression data belong to */ - totalFlags: number; - /** Total number of times all project flags were not exposed across all environments */ - totalNo: number; /** Total number of times all project flags were requested */ totalRequests: number; /** Total number of times all project flags were exposed across all environments */ totalYes: number; - /** Year and week in a given year for which the metrics summary was calculated */ - week: string; + /** Total number of times all project flags were not exposed across all environments */ + totalNo: number; + /** Total number of applications the impression data belong to */ + totalApps: number; + /** Total number of flags the impression data belong to */ + totalFlags: number; + /** Total number of environments the impression data belong to */ + totalEnvironments: number; }; diff --git a/frontend/src/openapi/models/instanceInsightsSchemaProjectFlagTrendsItem.ts b/frontend/src/openapi/models/instanceInsightsSchemaProjectFlagTrendsItem.ts index 207f0dc502..b34e66d700 100644 --- a/frontend/src/openapi/models/instanceInsightsSchemaProjectFlagTrendsItem.ts +++ b/frontend/src/openapi/models/instanceInsightsSchemaProjectFlagTrendsItem.ts @@ -5,24 +5,24 @@ */ export type InstanceInsightsSchemaProjectFlagTrendsItem = { - /** The number of active flags on a particular day */ - active: number; - /** A UTC date when the stats were captured. Time is the very end of a given day. */ - date: string; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ - health: number; - /** The number of time calculated potentially stale flags on a particular day */ - potentiallyStale: number; - /** Project id of the project the flag trends belong to */ - project: string; - /** The number of user marked stale flags on a particular day */ - stale: number; - /** The average time from when a feature was created to when it was enabled in the "production" environment during the current window */ - timeToProduction?: number; - /** The number of all flags on a particular day */ - total: number; - /** The number of users who have access to the project */ - users?: number; /** Year and week in a given year for which the stats were calculated */ week: string; + /** Project id of the project the flag trends belong to */ + project: string; + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + health: number; + /** The average time from when a feature was created to when it was enabled in the "production" environment during the current window */ + timeToProduction?: number; + /** A UTC date when the stats were captured. Time is the very end of a given day. */ + date: string; + /** The number of all flags on a particular day */ + total: number; + /** The number of active flags on a particular day */ + active: number; + /** The number of user marked stale flags on a particular day */ + stale: number; + /** The number of time calculated potentially stale flags on a particular day */ + potentiallyStale: number; + /** The number of users who have access to the project */ + users?: number; }; diff --git a/frontend/src/openapi/models/instanceInsightsSchemaUserTrendsItem.ts b/frontend/src/openapi/models/instanceInsightsSchemaUserTrendsItem.ts index 131da75e62..3cb4bc5079 100644 --- a/frontend/src/openapi/models/instanceInsightsSchemaUserTrendsItem.ts +++ b/frontend/src/openapi/models/instanceInsightsSchemaUserTrendsItem.ts @@ -5,12 +5,12 @@ */ export type InstanceInsightsSchemaUserTrendsItem = { - /** The number of active Unleash users on a particular day */ - active: number; /** A UTC date when the stats were captured. Time is the very end of a given day. */ date: string; - /** The number of inactive Unleash users on a particular day */ - inactive: number; /** The number of actual Unleash users on a particular day */ total: number; + /** The number of active Unleash users on a particular day */ + active: number; + /** The number of inactive Unleash users on a particular day */ + inactive: number; }; diff --git a/frontend/src/openapi/models/integrationEventSchema.ts b/frontend/src/openapi/models/integrationEventSchema.ts index 8262e20c05..a9eecad4e0 100644 --- a/frontend/src/openapi/models/integrationEventSchema.ts +++ b/frontend/src/openapi/models/integrationEventSchema.ts @@ -3,20 +3,14 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { IntegrationEventSchemaDetails } from './integrationEventSchemaDetails'; -import type { EventSchema } from './eventSchema'; import type { IntegrationEventSchemaState } from './integrationEventSchemaState'; +import type { EventSchema } from './eventSchema'; +import type { IntegrationEventSchemaDetails } from './integrationEventSchemaDetails'; /** * An object describing an integration event. */ export interface IntegrationEventSchema { - /** The date and time of when the integration event was created. In other words, the date and time of when the integration handled the event. */ - createdAt: string; - /** Detailed information about the integration event. The contents vary depending on the type of integration and the specific details. */ - details: IntegrationEventSchemaDetails; - /** The event that triggered this integration event. */ - event: EventSchema; /** * The integration event's ID. Integration event IDs are incrementing integers. In other words, a more recently created integration event 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]+$ @@ -24,8 +18,14 @@ export interface IntegrationEventSchema { id: string; /** The ID of the integration that the integration event belongs to. */ integrationId: number; + /** The date and time of when the integration event was created. In other words, the date and time of when the integration handled the event. */ + createdAt: string; /** The state of the integration event. Can be one of `success`, `failed` or `successWithErrors`. */ state: IntegrationEventSchemaState; /** Details about the state of the integration event. */ stateDetails: string; + /** The event that triggered this integration event. */ + event: EventSchema; + /** Detailed information about the integration event. The contents vary depending on the type of integration and the specific details. */ + details: IntegrationEventSchemaDetails; } diff --git a/frontend/src/openapi/models/invoicesSchemaItem.ts b/frontend/src/openapi/models/invoicesSchemaItem.ts index 45502fe49f..7239fe74e0 100644 --- a/frontend/src/openapi/models/invoicesSchemaItem.ts +++ b/frontend/src/openapi/models/invoicesSchemaItem.ts @@ -10,14 +10,14 @@ export type InvoicesSchemaItem = { /** A formatted representation of the amount due. */ amountFormatted: string; - /** When the invoice is due */ - dueDate?: string; - /** A link to a PDF-version of the invoice. */ - invoicePDF: string; - /** A URL pointing to where the invoice can be found. */ - invoiceURL: string; /** `true` if the invoice has been paid, `false` if it has not. */ paid: boolean; /** The current status of the invoice */ status: string; + /** When the invoice is due */ + dueDate?: string; + /** A URL pointing to where the invoice can be found. */ + invoiceURL: string; + /** A link to a PDF-version of the invoice. */ + invoicePDF: string; }; diff --git a/frontend/src/openapi/models/legalValueSchema.ts b/frontend/src/openapi/models/legalValueSchema.ts index ec236e4161..5962e31570 100644 --- a/frontend/src/openapi/models/legalValueSchema.ts +++ b/frontend/src/openapi/models/legalValueSchema.ts @@ -8,8 +8,8 @@ * Describes a legal value. Typically used to limit possible values for contextFields or strategy properties */ export interface LegalValueSchema { - /** Describes this specific legal value */ - description?: string; /** The valid value */ value: string; + /** Describes this specific legal value */ + description?: string; } 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..98a52df40d 100644 --- a/frontend/src/openapi/models/licenseReadSchema.ts +++ b/frontend/src/openapi/models/licenseReadSchema.ts @@ -8,14 +8,24 @@ * A model representing a license response. */ export interface LicenseReadSchema { - /** Name of the customer that owns the license. This is the name of the company that purchased the license. */ - customer?: string; - /** Date when the license expires. */ - expireAt?: string; - /** Name of plan that the license is for. */ - plan?: string; - /** Number of seats in the license. */ - seats?: number; /** The actual license token. */ token: string; + /** Whether the license is valid or not. */ + isValid?: boolean; + /** Name of the customer that owns the license. This is the name of the company that purchased the license. */ + customer?: string; + /** Type of license. */ + type: string; + /** Name of the Unleash instance where this license is valid. */ + instanceName?: string; + /** Identifier of the Unleash instance where this license is valid. */ + instanceId?: string; + /** Name of plan that the license is for. */ + plan: string; + /** Number of seats in the license. */ + seats: number; + /** Date when the license expires. */ + expireAt?: string; + /** Date when the license was issued. */ + issuedAt?: string; } diff --git a/frontend/src/openapi/models/licensedUserSchema.ts b/frontend/src/openapi/models/licensedUserSchema.ts index 10d622a94c..03f3c07144 100644 --- a/frontend/src/openapi/models/licensedUserSchema.ts +++ b/frontend/src/openapi/models/licensedUserSchema.ts @@ -8,11 +8,11 @@ * A schema representing a single licensed user data point. */ export interface LicensedUserSchema { + /** The date associated with the licensed users count. */ + date: string; /** * The count of licensed users on the given date. * @minimum 0 */ count: number; - /** The date associated with the licensed users count. */ - date: string; } diff --git a/frontend/src/openapi/models/licensedUsersSchema.ts b/frontend/src/openapi/models/licensedUsersSchema.ts index 18d60c6cab..86435781eb 100644 --- a/frontend/src/openapi/models/licensedUsersSchema.ts +++ b/frontend/src/openapi/models/licensedUsersSchema.ts @@ -9,11 +9,11 @@ import type { LicensedUsersSchemaLicensedUsers } from './licensedUsersSchemaLice * A response model representing user license data. */ export interface LicensedUsersSchema { - /** An object containing historical and current licensed user data. */ - licensedUsers: LicensedUsersSchemaLicensedUsers; /** * The total number of licensed seats currently available for this Unleash instance. * @minimum 0 */ seatCount: number; + /** An object containing historical and current licensed user data. */ + licensedUsers: LicensedUsersSchemaLicensedUsers; } diff --git a/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts b/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts index 79b219563e..11d1717dc9 100644 --- a/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts +++ b/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts @@ -9,11 +9,11 @@ import type { LicensedUserSchema } from './licensedUserSchema'; * An object containing historical and current licensed user data. */ export type LicensedUsersSchemaLicensedUsers = { + /** A monthly history of licensed user counts. */ + history: LicensedUserSchema[]; /** * The current number of licenses in use. * @minimum 0 */ current: number; - /** A monthly history of licensed user counts. */ - history: LicensedUserSchema[]; }; diff --git a/frontend/src/openapi/models/listParentOptions401.ts b/frontend/src/openapi/models/listParentOptions401.ts index 3b362a65a6..f8f40171fb 100644 --- a/frontend/src/openapi/models/listParentOptions401.ts +++ b/frontend/src/openapi/models/listParentOptions401.ts @@ -7,8 +7,8 @@ export type ListParentOptions401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listParentOptions403.ts b/frontend/src/openapi/models/listParentOptions403.ts index 2fccca095b..20beb33433 100644 --- a/frontend/src/openapi/models/listParentOptions403.ts +++ b/frontend/src/openapi/models/listParentOptions403.ts @@ -7,8 +7,8 @@ export type ListParentOptions403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listParentOptions404.ts b/frontend/src/openapi/models/listParentOptions404.ts index 9fab71c22b..6ab73a2c22 100644 --- a/frontend/src/openapi/models/listParentOptions404.ts +++ b/frontend/src/openapi/models/listParentOptions404.ts @@ -7,8 +7,8 @@ export type ListParentOptions404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listParentVariantOptions401.ts b/frontend/src/openapi/models/listParentVariantOptions401.ts index eabf922b5b..20c8bd503f 100644 --- a/frontend/src/openapi/models/listParentVariantOptions401.ts +++ b/frontend/src/openapi/models/listParentVariantOptions401.ts @@ -7,8 +7,8 @@ export type ListParentVariantOptions401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listParentVariantOptions403.ts b/frontend/src/openapi/models/listParentVariantOptions403.ts index 03993b1fca..7f58c6422a 100644 --- a/frontend/src/openapi/models/listParentVariantOptions403.ts +++ b/frontend/src/openapi/models/listParentVariantOptions403.ts @@ -7,8 +7,8 @@ export type ListParentVariantOptions403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listParentVariantOptions404.ts b/frontend/src/openapi/models/listParentVariantOptions404.ts index 804b84be10..0cb83feab0 100644 --- a/frontend/src/openapi/models/listParentVariantOptions404.ts +++ b/frontend/src/openapi/models/listParentVariantOptions404.ts @@ -7,8 +7,8 @@ export type ListParentVariantOptions404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listTags401.ts b/frontend/src/openapi/models/listTags401.ts index 980d7d9895..3f13acaef9 100644 --- a/frontend/src/openapi/models/listTags401.ts +++ b/frontend/src/openapi/models/listTags401.ts @@ -7,8 +7,8 @@ export type ListTags401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listTags403.ts b/frontend/src/openapi/models/listTags403.ts index 38e99a1be2..592f25b091 100644 --- a/frontend/src/openapi/models/listTags403.ts +++ b/frontend/src/openapi/models/listTags403.ts @@ -7,8 +7,8 @@ export type ListTags403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/listTags404.ts b/frontend/src/openapi/models/listTags404.ts index ccac15597f..f45123569f 100644 --- a/frontend/src/openapi/models/listTags404.ts +++ b/frontend/src/openapi/models/listTags404.ts @@ -7,8 +7,8 @@ export type ListTags404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/login401.ts b/frontend/src/openapi/models/login401.ts index 15809d7b17..29d8e24ab8 100644 --- a/frontend/src/openapi/models/login401.ts +++ b/frontend/src/openapi/models/login401.ts @@ -7,8 +7,8 @@ export type Login401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/loginEventSchema.ts b/frontend/src/openapi/models/loginEventSchema.ts index dbd96f23ee..d96429443f 100644 --- a/frontend/src/openapi/models/loginEventSchema.ts +++ b/frontend/src/openapi/models/loginEventSchema.ts @@ -8,27 +8,27 @@ * A model representing a single login event. */ export interface LoginEventSchema { - /** The authentication type used to log in. */ - auth_type?: string; - /** The date and time of when the login was attempted. */ - created_at?: string; - /** - * The reason for the login failure. This property is only present if the login was unsuccessful. - * @nullable - */ - failure_reason?: string | null; /** * The event's ID. Event IDs are incrementing integers. In other words, a more recent event will always have a higher ID than an older event. * @minimum 1 */ id: number; + /** The username of the user that attempted to log in. Will return "Incorrectly configured provider" when attempting to log in using a misconfigured provider. */ + username?: string; + /** The authentication type used to log in. */ + auth_type?: string; + /** The date and time of when the login was attempted. */ + created_at?: string; + /** Whether the login was successful or not. */ + successful?: boolean; /** * The IP address of the client that attempted to log in. * @nullable */ ip?: string | null; - /** Whether the login was successful or not. */ - successful?: boolean; - /** The username of the user that attempted to log in. Will return "Incorrectly configured provider" when attempting to log in using a misconfigured provider. */ - username?: string; + /** + * The reason for the login failure. This property is only present if the login was unsuccessful. + * @nullable + */ + failure_reason?: string | null; } diff --git a/frontend/src/openapi/models/loginSchema.ts b/frontend/src/openapi/models/loginSchema.ts index 49b438b721..6235458cc7 100644 --- a/frontend/src/openapi/models/loginSchema.ts +++ b/frontend/src/openapi/models/loginSchema.ts @@ -8,8 +8,8 @@ * A username/password login request */ export interface LoginSchema { - /** The password of the user trying to log in */ - password: string; /** The username trying to log in */ username: string; + /** The password of the user trying to log in */ + password: string; } diff --git a/frontend/src/openapi/models/meSchema.ts b/frontend/src/openapi/models/meSchema.ts index cf92be396a..33b607ae5f 100644 --- a/frontend/src/openapi/models/meSchema.ts +++ b/frontend/src/openapi/models/meSchema.ts @@ -3,20 +3,20 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeedbackResponseSchema } from './feedbackResponseSchema'; -import type { PermissionSchema } from './permissionSchema'; -import type { MeSchemaSplash } from './meSchemaSplash'; import type { UserSchema } from './userSchema'; +import type { PermissionSchema } from './permissionSchema'; +import type { FeedbackResponseSchema } from './feedbackResponseSchema'; +import type { MeSchemaSplash } from './meSchemaSplash'; /** * Detailed user information */ export interface MeSchema { - /** User feedback information */ - feedback: FeedbackResponseSchema[]; + user: UserSchema; /** User permissions for projects and environments */ permissions: PermissionSchema[]; + /** User feedback information */ + feedback: FeedbackResponseSchema[]; /** Splash screen configuration */ splash: MeSchemaSplash; - user: UserSchema; } diff --git a/frontend/src/openapi/models/notificationsSchemaItem.ts b/frontend/src/openapi/models/notificationsSchemaItem.ts index aac4c4b60c..814ffad9ff 100644 --- a/frontend/src/openapi/models/notificationsSchemaItem.ts +++ b/frontend/src/openapi/models/notificationsSchemaItem.ts @@ -3,21 +3,21 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { NotificationsSchemaItemCreatedBy } from './notificationsSchemaItemCreatedBy'; import type { NotificationsSchemaItemNotificationType } from './notificationsSchemaItemNotificationType'; +import type { NotificationsSchemaItemCreatedBy } from './notificationsSchemaItemCreatedBy'; export type NotificationsSchemaItem = { - /** The date and time when the notification was created */ - createdAt: string; - createdBy: NotificationsSchemaItemCreatedBy; /** The id of this notification */ id: number; - /** The link to change request or feature flag the notification refers to */ - link: string; /** The actual notification message */ message: string; + /** The link to change request or feature flag the notification refers to */ + link: string; /** The type of the notification used e.g. for the graphical hints */ notificationType: NotificationsSchemaItemNotificationType; + createdBy: NotificationsSchemaItemCreatedBy; + /** The date and time when the notification was created */ + createdAt: string; /** * The date and time when the notification was read or marked as read, otherwise `null` * @nullable diff --git a/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts b/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts index 9e20763e9d..36ad397ce1 100644 --- a/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts +++ b/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts @@ -5,14 +5,14 @@ */ export type NotificationsSchemaItemCreatedBy = { - /** - * The avatar url of the user who triggered the notification - * @nullable - */ - imageUrl?: string | null; /** * The name of the user who triggered the notification * @nullable */ username?: string | null; + /** + * The avatar url of the user who triggered the notification + * @nullable + */ + imageUrl?: string | null; }; diff --git a/frontend/src/openapi/models/oidcSettingsResponseSchema.ts b/frontend/src/openapi/models/oidcSettingsResponseSchema.ts index ddf5b2a18b..641a9dfe22 100644 --- a/frontend/src/openapi/models/oidcSettingsResponseSchema.ts +++ b/frontend/src/openapi/models/oidcSettingsResponseSchema.ts @@ -10,34 +10,34 @@ import type { OidcSettingsResponseSchemaIdTokenSigningAlgorithm } from './oidcSe * Response for OpenID Connect settings */ export interface OidcSettingsResponseSchema { - /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. - Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information - */ - acrValues?: string; - /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ - addGroupsScope?: boolean; - /** Auto create users based on email addresses from login tokens */ - autoCreate?: boolean; + /** Whether to enable or disable OpenID Connect for this instance */ + enabled?: boolean; + /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ + discoverUrl?: string; /** The OIDC client ID of this application. */ clientId?: string; + /** Shared secret from OpenID server. Used to authenticate login requests */ + secret?: string; + /** Auto create users based on email addresses from login tokens */ + autoCreate?: boolean; + /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ + enableSingleSignOut?: boolean; /** [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ defaultRootRole?: OidcSettingsResponseSchemaDefaultRootRole; /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ defaultRootRoleId?: number; - /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ - discoverUrl?: string; /** Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true` */ emailDomains?: string; - /** Whether to enable or disable OpenID Connect for this instance */ - enabled?: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; - /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ - enableSingleSignOut?: boolean; - /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ - groupJsonPath?: string; + /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. + Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information + */ + acrValues?: string; /** The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information. */ idTokenSigningAlgorithm?: OidcSettingsResponseSchemaIdTokenSigningAlgorithm; - /** Shared secret from OpenID server. Used to authenticate login requests */ - secret?: string; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ + groupJsonPath?: string; + /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ + addGroupsScope?: boolean; } diff --git a/frontend/src/openapi/models/oidcSettingsSchemaOneOf.ts b/frontend/src/openapi/models/oidcSettingsSchemaOneOf.ts index d47f1fdc91..ec1e86f75f 100644 --- a/frontend/src/openapi/models/oidcSettingsSchemaOneOf.ts +++ b/frontend/src/openapi/models/oidcSettingsSchemaOneOf.ts @@ -7,34 +7,34 @@ import type { OidcSettingsSchemaOneOfDefaultRootRole } from './oidcSettingsSchem import type { OidcSettingsSchemaOneOfIdTokenSigningAlgorithm } from './oidcSettingsSchemaOneOfIdTokenSigningAlgorithm'; export type OidcSettingsSchemaOneOf = { - /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. - Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information - */ - acrValues?: string; - /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ - addGroupsScope?: boolean; - /** Auto create users based on email addresses from login tokens */ - autoCreate?: boolean; + /** Whether to enable or disable OpenID Connect for this instance */ + enabled: boolean; + /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ + discoverUrl?: string; /** The OIDC client ID of this application. */ clientId: string; + /** Shared secret from OpenID server. Used to authenticate login requests */ + secret: string; + /** Auto create users based on email addresses from login tokens */ + autoCreate?: boolean; + /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ + enableSingleSignOut?: boolean; /** [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ defaultRootRole?: OidcSettingsSchemaOneOfDefaultRootRole; /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ defaultRootRoleId?: number; - /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ - discoverUrl?: string; /** Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true` */ emailDomains?: string; - /** Whether to enable or disable OpenID Connect for this instance */ - enabled: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; - /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ - enableSingleSignOut?: boolean; - /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ - groupJsonPath?: string; + /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. + Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information + */ + acrValues?: string; /** The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information. */ idTokenSigningAlgorithm?: OidcSettingsSchemaOneOfIdTokenSigningAlgorithm; - /** Shared secret from OpenID server. Used to authenticate login requests */ - secret: string; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ + groupJsonPath?: string; + /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ + addGroupsScope?: boolean; }; diff --git a/frontend/src/openapi/models/oidcSettingsSchemaOneOfFour.ts b/frontend/src/openapi/models/oidcSettingsSchemaOneOfFour.ts index 285ce21653..f0533fa293 100644 --- a/frontend/src/openapi/models/oidcSettingsSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/oidcSettingsSchemaOneOfFour.ts @@ -7,34 +7,34 @@ import type { OidcSettingsSchemaOneOfFourDefaultRootRole } from './oidcSettingsS import type { OidcSettingsSchemaOneOfFourIdTokenSigningAlgorithm } from './oidcSettingsSchemaOneOfFourIdTokenSigningAlgorithm'; export type OidcSettingsSchemaOneOfFour = { - /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. - Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information - */ - acrValues?: string; - /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ - addGroupsScope?: boolean; - /** Auto create users based on email addresses from login tokens */ - autoCreate?: boolean; + /** Whether to enable or disable OpenID Connect for this instance */ + enabled?: boolean; + /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ + discoverUrl?: string; /** The OIDC client ID of this application. */ clientId?: string; + /** Shared secret from OpenID server. Used to authenticate login requests */ + secret?: string; + /** Auto create users based on email addresses from login tokens */ + autoCreate?: boolean; + /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ + enableSingleSignOut?: boolean; /** [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ defaultRootRole?: OidcSettingsSchemaOneOfFourDefaultRootRole; /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ defaultRootRoleId?: number; - /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ - discoverUrl?: string; /** Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true` */ emailDomains?: string; - /** Whether to enable or disable OpenID Connect for this instance */ - enabled?: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; - /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ - enableSingleSignOut?: boolean; - /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ - groupJsonPath?: string; + /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. + Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information + */ + acrValues?: string; /** The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information. */ idTokenSigningAlgorithm?: OidcSettingsSchemaOneOfFourIdTokenSigningAlgorithm; - /** Shared secret from OpenID server. Used to authenticate login requests */ - secret?: string; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the OIDC token response to read which groups the user belongs to from. */ + groupJsonPath?: string; + /** When enabled Unleash will also request the 'groups' scope as part of the login request. */ + addGroupsScope?: boolean; }; 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/outdatedSdksSchemaSdksItem.ts b/frontend/src/openapi/models/outdatedSdksSchemaSdksItem.ts index 3fbacc2dff..c67550f109 100644 --- a/frontend/src/openapi/models/outdatedSdksSchemaSdksItem.ts +++ b/frontend/src/openapi/models/outdatedSdksSchemaSdksItem.ts @@ -5,8 +5,8 @@ */ export type OutdatedSdksSchemaSdksItem = { - /** A list of applications using the SDK version */ - applications: string[]; /** An outdated SDK version identifier. Usually formatted as "unleash-client-:" */ sdkVersion: string; + /** A list of applications using the SDK version */ + applications: string[]; }; diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts index 2e2ea0db11..d083dfc3b7 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts index eb0e3928f0..25aa477617 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts index c5d041abf7..2e3c7615ec 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants400.ts b/frontend/src/openapi/models/overwriteFeatureVariants400.ts index b0834fa3d3..eabca038a4 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants400.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants400.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants401.ts b/frontend/src/openapi/models/overwriteFeatureVariants401.ts index d32d711607..abb90d264c 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants401.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants401.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants403.ts b/frontend/src/openapi/models/overwriteFeatureVariants403.ts index 5c694e1f87..70332d6a3c 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants403.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants403.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants404.ts b/frontend/src/openapi/models/overwriteFeatureVariants404.ts index 2d9dc47e9c..2c24dbf839 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants404.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants404.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts index f2e994c077..247c0504cf 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts index 3a6c015396..606327beb3 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts index 085fa769d5..294b8c613d 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/passwordSchema.ts b/frontend/src/openapi/models/passwordSchema.ts index fa272f9c5b..c45723bd87 100644 --- a/frontend/src/openapi/models/passwordSchema.ts +++ b/frontend/src/openapi/models/passwordSchema.ts @@ -8,10 +8,10 @@ * Fields used to create new password or update old password */ export interface PasswordSchema { - /** The confirmation of the new password. This field is for the non-admin users changing their own password. */ - confirmPassword?: string; - /** The old password the user is changing. This field is for the non-admin users changing their own password. */ - oldPassword?: string; /** The new password to change or validate. */ password: string; + /** The old password the user is changing. This field is for the non-admin users changing their own password. */ + oldPassword?: string; + /** The confirmation of the new password. This field is for the non-admin users changing their own password. */ + confirmPassword?: string; } diff --git a/frontend/src/openapi/models/patSchema.ts b/frontend/src/openapi/models/patSchema.ts index f495147034..fc5f9851f8 100644 --- a/frontend/src/openapi/models/patSchema.ts +++ b/frontend/src/openapi/models/patSchema.ts @@ -5,15 +5,9 @@ */ /** - * 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. */ - createdAt: string; - /** The PAT's description. */ - description: string; - /** The PAT's expiration date. */ - expiresAt: string; /** * The PAT's ID. PAT IDs are incrementing integers. In other words, a more recently created PAT will always have a higher ID than an older one. * @minimum 1 @@ -21,6 +15,8 @@ export interface PatSchema { id: number; /** The token used for authentication. It is automatically generated by Unleash when the PAT is created and that is the only time this property is returned. */ secret?: string; + /** The date and time of when the PAT was created. */ + createdAt: string; /** * When the PAT was last seen/used to authenticate with. `null` if it has not been used yet. * @nullable @@ -28,4 +24,8 @@ export interface PatSchema { seenAt?: string | null; /** The ID of the user this PAT belongs to. */ userId?: number; + /** The PAT's description. */ + description: string; + /** The PAT's expiration date. */ + expiresAt: string; } diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts index f9e0f3de90..d8501617c2 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts index eafaba10f7..69e97dff46 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts index e0cfdc6056..ffe8e60f91 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts index 0ea10da01e..feefe45b72 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeature401.ts b/frontend/src/openapi/models/patchFeature401.ts index 675e62d472..f38807901c 100644 --- a/frontend/src/openapi/models/patchFeature401.ts +++ b/frontend/src/openapi/models/patchFeature401.ts @@ -7,8 +7,8 @@ export type PatchFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeature403.ts b/frontend/src/openapi/models/patchFeature403.ts index 9d56b24400..6c250b6e5f 100644 --- a/frontend/src/openapi/models/patchFeature403.ts +++ b/frontend/src/openapi/models/patchFeature403.ts @@ -7,8 +7,8 @@ export type PatchFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeature404.ts b/frontend/src/openapi/models/patchFeature404.ts index 59c94174c3..fb78bad79e 100644 --- a/frontend/src/openapi/models/patchFeature404.ts +++ b/frontend/src/openapi/models/patchFeature404.ts @@ -7,8 +7,8 @@ export type PatchFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeature415.ts b/frontend/src/openapi/models/patchFeature415.ts index d86ffb3f38..0e28bf2f2d 100644 --- a/frontend/src/openapi/models/patchFeature415.ts +++ b/frontend/src/openapi/models/patchFeature415.ts @@ -7,8 +7,8 @@ export type PatchFeature415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy400.ts b/frontend/src/openapi/models/patchFeatureStrategy400.ts index 6a32711021..18c0d464b7 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy400.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy400.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy401.ts b/frontend/src/openapi/models/patchFeatureStrategy401.ts index ac7993b26b..5deff24ea3 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy401.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy403.ts b/frontend/src/openapi/models/patchFeatureStrategy403.ts index e576831ce6..d5cceee2ac 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy403.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy404.ts b/frontend/src/openapi/models/patchFeatureStrategy404.ts index e8416904b0..6b9093292f 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy404.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy415.ts b/frontend/src/openapi/models/patchFeatureStrategy415.ts index ac67100c34..52ec681307 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy415.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy415.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants400.ts b/frontend/src/openapi/models/patchFeatureVariants400.ts index ff8fc97af3..8cc19065cc 100644 --- a/frontend/src/openapi/models/patchFeatureVariants400.ts +++ b/frontend/src/openapi/models/patchFeatureVariants400.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants401.ts b/frontend/src/openapi/models/patchFeatureVariants401.ts index 84b4691717..0f52ee458b 100644 --- a/frontend/src/openapi/models/patchFeatureVariants401.ts +++ b/frontend/src/openapi/models/patchFeatureVariants401.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants403.ts b/frontend/src/openapi/models/patchFeatureVariants403.ts index 6c2dbc2d96..727737b46b 100644 --- a/frontend/src/openapi/models/patchFeatureVariants403.ts +++ b/frontend/src/openapi/models/patchFeatureVariants403.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants404.ts b/frontend/src/openapi/models/patchFeatureVariants404.ts index 18d1b03a3b..01384c7d21 100644 --- a/frontend/src/openapi/models/patchFeatureVariants404.ts +++ b/frontend/src/openapi/models/patchFeatureVariants404.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/patchSchema.ts b/frontend/src/openapi/models/patchSchema.ts index 94c0d06918..c292aeb8e6 100644 --- a/frontend/src/openapi/models/patchSchema.ts +++ b/frontend/src/openapi/models/patchSchema.ts @@ -9,12 +9,12 @@ import type { PatchSchemaOp } from './patchSchemaOp'; * A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description */ export interface PatchSchema { - /** The target to move or copy from, if performing one of those operations */ - from?: string; - /** The kind of operation to perform */ - op: PatchSchemaOp; /** The path to the property to operate on */ path: string; + /** The kind of operation to perform */ + op: PatchSchemaOp; + /** The target to move or copy from, if performing one of those operations */ + from?: string; /** The value to add or replace, if performing one of those operations */ value?: unknown; } 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/permissionSchema.ts b/frontend/src/openapi/models/permissionSchema.ts index 830d91387f..82657128e0 100644 --- a/frontend/src/openapi/models/permissionSchema.ts +++ b/frontend/src/openapi/models/permissionSchema.ts @@ -8,10 +8,10 @@ * Project and environment permissions */ export interface PermissionSchema { - /** The environment this permission applies to */ - environment?: string; /** [Project](https://docs.getunleash.io/reference/rbac#project-permissions) or [environment](https://docs.getunleash.io/reference/rbac#environment-permissions) permission name */ permission: string; /** The project this permission applies to */ project?: string; + /** The environment this permission applies to */ + environment?: string; } diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchema.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchema.ts index 8cde624f62..6d7bbee9b6 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchema.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchema.ts @@ -4,8 +4,8 @@ * See `gen:api` script in package.json */ import type { PersonalDashboardProjectDetailsSchemaInsights } from './personalDashboardProjectDetailsSchemaInsights'; -import type { PersonalDashboardProjectDetailsSchemaLatestEventsItem } from './personalDashboardProjectDetailsSchemaLatestEventsItem'; import type { PersonalDashboardProjectDetailsSchemaOnboardingStatus } from './personalDashboardProjectDetailsSchemaOnboardingStatus'; +import type { PersonalDashboardProjectDetailsSchemaLatestEventsItem } from './personalDashboardProjectDetailsSchemaLatestEventsItem'; import type { PersonalDashboardProjectDetailsSchemaOwners } from './personalDashboardProjectDetailsSchemaOwners'; import type { PersonalDashboardProjectDetailsSchemaRolesItem } from './personalDashboardProjectDetailsSchemaRolesItem'; @@ -15,10 +15,10 @@ import type { PersonalDashboardProjectDetailsSchemaRolesItem } from './personalD export interface PersonalDashboardProjectDetailsSchema { /** Insights for the project, including flag data and project health information. */ insights: PersonalDashboardProjectDetailsSchemaInsights; - /** The latest events for the project. */ - latestEvents: PersonalDashboardProjectDetailsSchemaLatestEventsItem[]; /** The current onboarding status of the project. */ onboardingStatus: PersonalDashboardProjectDetailsSchemaOnboardingStatus; + /** The latest events for the project. */ + latestEvents: PersonalDashboardProjectDetailsSchemaLatestEventsItem[]; /** The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead. */ owners: PersonalDashboardProjectDetailsSchemaOwners; /** The list of roles that the user has in this project. */ diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaInsights.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaInsights.ts index 44523408ee..4aa3acc830 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaInsights.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaInsights.ts @@ -8,11 +8,6 @@ * Insights for the project, including flag data and project health information. */ export type PersonalDashboardProjectDetailsSchemaInsights = { - /** - * The number of active flags that are not stale or potentially stale - * @minimum 0 - */ - activeFlags: number; /** * The project's average health score over the last 4 weeks * @minimum 0 @@ -26,23 +21,28 @@ export type PersonalDashboardProjectDetailsSchemaInsights = { */ avgHealthPastWindow: number | null; /** - * The project's current health score + * The current number of non-archived flags * @minimum 0 */ - health: number; + totalFlags: number; /** - * The number of potentially stale flags as calculated by Unleash + * The number of active flags that are not stale or potentially stale * @minimum 0 */ - potentiallyStaleFlags: number; + activeFlags: number; /** * The current number of flags that have been manually marked as stale * @minimum 0 */ staleFlags: number; /** - * The current number of non-archived flags + * The number of potentially stale flags as calculated by Unleash * @minimum 0 */ - totalFlags: number; + potentiallyStaleFlags: number; + /** + * The project's current health score + * @minimum 0 + */ + health: number; }; diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaLatestEventsItem.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaLatestEventsItem.ts index a30589ba73..040c2414dd 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaLatestEventsItem.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaLatestEventsItem.ts @@ -8,12 +8,6 @@ * An event summary */ export type PersonalDashboardProjectDetailsSchemaLatestEventsItem = { - /** When the event was recorded */ - createdAt: string; - /** Which user created this event */ - createdBy: string; - /** URL used for the user profile image of the event author */ - createdByImageUrl: string; /** * The ID of the event. * @minimum 1 @@ -24,4 +18,10 @@ export type PersonalDashboardProjectDetailsSchemaLatestEventsItem = { * @nullable */ summary: string | null; + /** Which user created this event */ + createdBy: string; + /** URL used for the user profile image of the event author */ + createdByImageUrl: string; + /** When the event was recorded */ + createdAt: string; }; diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOnboardingStatusOneOfThree.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOnboardingStatusOneOfThree.ts index 29b985c0cb..db622b45f4 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOnboardingStatusOneOfThree.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOnboardingStatusOneOfThree.ts @@ -6,7 +6,7 @@ import type { PersonalDashboardProjectDetailsSchemaOnboardingStatusOneOfThreeStatus } from './personalDashboardProjectDetailsSchemaOnboardingStatusOneOfThreeStatus'; export type PersonalDashboardProjectDetailsSchemaOnboardingStatusOneOfThree = { + status: PersonalDashboardProjectDetailsSchemaOnboardingStatusOneOfThreeStatus; /** The name of the feature flag */ feature: string; - status: PersonalDashboardProjectDetailsSchemaOnboardingStatusOneOfThreeStatus; }; diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOf.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOf.ts index cd4a1860fb..4e41df3079 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOf.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOf.ts @@ -6,10 +6,10 @@ import type { PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfOwnerType } from './personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfOwnerType'; export type PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOf = { - /** @nullable */ - email?: string | null; + ownerType: PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfOwnerType; + name: string; /** @nullable */ imageUrl?: string | null; - name: string; - ownerType: PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfOwnerType; + /** @nullable */ + email?: string | null; }; diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThree.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThree.ts index 4efe72e9a9..37e6b51b81 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThree.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThree.ts @@ -6,6 +6,6 @@ import type { PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThreeOwnerType } from './personalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThreeOwnerType'; export type PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThree = { - name: string; ownerType: PersonalDashboardProjectDetailsSchemaOwnersOneOfItemAnyOfThreeOwnerType; + name: string; }; diff --git a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaRolesItem.ts b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaRolesItem.ts index 05256f0b3a..f811631513 100644 --- a/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaRolesItem.ts +++ b/frontend/src/openapi/models/personalDashboardProjectDetailsSchemaRolesItem.ts @@ -9,10 +9,10 @@ import type { PersonalDashboardProjectDetailsSchemaRolesItemType } from './perso * An Unleash role. */ export type PersonalDashboardProjectDetailsSchemaRolesItem = { - /** The id of the role */ - id: number; /** The name of the role */ name: string; + /** The id of the role */ + id: number; /** The type of the role */ type: PersonalDashboardProjectDetailsSchemaRolesItemType; }; diff --git a/frontend/src/openapi/models/personalDashboardSchema.ts b/frontend/src/openapi/models/personalDashboardSchema.ts index cb40488850..3a5a7c85a9 100644 --- a/frontend/src/openapi/models/personalDashboardSchema.ts +++ b/frontend/src/openapi/models/personalDashboardSchema.ts @@ -4,9 +4,9 @@ * See `gen:api` script in package.json */ import type { PersonalDashboardSchemaAdminsItem } from './personalDashboardSchemaAdminsItem'; -import type { PersonalDashboardSchemaFlagsItem } from './personalDashboardSchemaFlagsItem'; import type { PersonalDashboardSchemaProjectOwnersItem } from './personalDashboardSchemaProjectOwnersItem'; import type { PersonalDashboardSchemaProjectsItem } from './personalDashboardSchemaProjectsItem'; +import type { PersonalDashboardSchemaFlagsItem } from './personalDashboardSchemaFlagsItem'; /** * Project and flags relevant to the user @@ -14,10 +14,10 @@ import type { PersonalDashboardSchemaProjectsItem } from './personalDashboardSch export interface PersonalDashboardSchema { /** Users with the admin role in Unleash. */ admins: PersonalDashboardSchemaAdminsItem[]; - /** A list of flags a user created or favorited */ - flags: PersonalDashboardSchemaFlagsItem[]; /** Users with the project owner role in Unleash. Only contains owners of projects that are visible to the user. */ projectOwners: PersonalDashboardSchemaProjectOwnersItem[]; /** A list of projects that a user participates in with any role e.g. member or owner or any custom role */ projects: PersonalDashboardSchemaProjectsItem[]; + /** A list of flags a user created or favorited */ + flags: PersonalDashboardSchemaFlagsItem[]; } diff --git a/frontend/src/openapi/models/personalDashboardSchemaAdminsItem.ts b/frontend/src/openapi/models/personalDashboardSchemaAdminsItem.ts index 51abb59720..25d4d53be3 100644 --- a/frontend/src/openapi/models/personalDashboardSchemaAdminsItem.ts +++ b/frontend/src/openapi/models/personalDashboardSchemaAdminsItem.ts @@ -5,12 +5,12 @@ */ export type PersonalDashboardSchemaAdminsItem = { - email?: string; /** The user ID. */ id: number; - imageUrl?: string; /** The user's name. */ name?: string; /** The user's username. */ username?: string; + imageUrl?: string; + email?: string; }; diff --git a/frontend/src/openapi/models/personalDashboardSchemaProjectOwnersItem.ts b/frontend/src/openapi/models/personalDashboardSchemaProjectOwnersItem.ts index 0bdadec92b..b50f91cb24 100644 --- a/frontend/src/openapi/models/personalDashboardSchemaProjectOwnersItem.ts +++ b/frontend/src/openapi/models/personalDashboardSchemaProjectOwnersItem.ts @@ -6,18 +6,18 @@ import type { PersonalDashboardSchemaProjectOwnersItemOwnerType } from './personalDashboardSchemaProjectOwnersItemOwnerType'; export type PersonalDashboardSchemaProjectOwnersItem = { - /** - * The user's email address. - * @nullable - */ - email?: string | null; + /** The type of the owner; will always be `user`. */ + ownerType: PersonalDashboardSchemaProjectOwnersItemOwnerType; + /** The name displayed for the user. Can be the user's name, username, or email, depending on what they have provided. */ + name: string; /** * The URL of the user's profile image. * @nullable */ imageUrl?: string | null; - /** The name displayed for the user. Can be the user's name, username, or email, depending on what they have provided. */ - name: string; - /** The type of the owner; will always be `user`. */ - ownerType: PersonalDashboardSchemaProjectOwnersItemOwnerType; + /** + * The user's email address. + * @nullable + */ + email?: string | null; }; diff --git a/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts b/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts index aa2ecbd6d3..276856736c 100644 --- a/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts +++ b/frontend/src/openapi/models/personalDashboardSchemaProjectsItem.ts @@ -5,23 +5,23 @@ */ export type PersonalDashboardSchemaProjectsItem = { + /** The id of the project */ + id: string; + /** The name of the project */ + name: string; /** - * The number of features this project has - * @minimum 0 - */ - 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; - /** The id of the project */ - id: string; /** * The number of members this project has * @minimum 0 */ memberCount: number; - /** The name of the project */ - name: string; + /** + * The number of features this project has + * @minimum 0 + */ + featureCount: number; }; diff --git a/frontend/src/openapi/models/playgroundConstraintSchema.ts b/frontend/src/openapi/models/playgroundConstraintSchema.ts index feb11be6ee..0943e9d8a9 100644 --- a/frontend/src/openapi/models/playgroundConstraintSchema.ts +++ b/frontend/src/openapi/models/playgroundConstraintSchema.ts @@ -6,21 +6,21 @@ 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). */ - caseInsensitive?: boolean; /** The name of the context field that this constraint should apply to. */ contextName: string; + /** 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 the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ + caseInsensitive?: boolean; /** 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). */ - operator: PlaygroundConstraintSchemaOperator; - /** Whether this was evaluated as true or false. */ - result: boolean; - /** 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; /** The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ values?: string[]; + /** 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; + /** 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/playgroundFeatureSchema.ts b/frontend/src/openapi/models/playgroundFeatureSchema.ts index 4cf6cad8f1..7d44d99e35 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchema.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchema.ts @@ -11,20 +11,20 @@ import type { VariantSchema } from './variantSchema'; * A simplified feature flag model intended for the Unleash playground. */ export interface PlaygroundFeatureSchema { - /** Whether the feature has a parent dependency that is not satisfied */ - hasUnsatisfiedDependency?: boolean; - /** Whether this feature is enabled or not in the current environment. - If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), - this will be `false` to align with how client SDKs treat unresolved feature states. */ - isEnabled: boolean; - /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ - isEnabledInCurrentEnvironment: boolean; /** The feature's name. */ name: string; /** The ID of the project that contains this feature. */ projectId: string; /** The feature's applicable strategies and cumulative results of the strategies */ strategies: PlaygroundFeatureSchemaStrategies; + /** Whether the feature has a parent dependency that is not satisfied */ + hasUnsatisfiedDependency?: boolean; + /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ + isEnabledInCurrentEnvironment: boolean; + /** Whether this feature is enabled or not in the current environment. + If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), + this will be `false` to align with how client SDKs treat unresolved feature states. */ + isEnabled: boolean; /** * The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any diff --git a/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts b/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts index 2c8fdc8f7f..15e03ec66c 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts @@ -3,19 +3,19 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; import type { PlaygroundFeatureSchemaStrategiesResult } from './playgroundFeatureSchemaStrategiesResult'; +import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; /** * The feature's applicable strategies and cumulative results of the strategies */ export type PlaygroundFeatureSchemaStrategies = { - /** The strategies that apply to this feature. */ - data: PlaygroundStrategySchema[]; /** The cumulative results of all the feature's strategies. Can be `true`, `false`, or `unknown`. This property will only be `unknown` if one or more of the strategies can't be fully evaluated and the rest of the strategies all resolve to `false`. */ result: PlaygroundFeatureSchemaStrategiesResult; + /** The strategies that apply to this feature. */ + data: PlaygroundStrategySchema[]; }; diff --git a/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts b/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts index d422914478..838c414fd1 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts @@ -13,8 +13,12 @@ import type { PlaygroundFeatureSchemaVariantPayload } from './playgroundFeatureS * @nullable */ export type PlaygroundFeatureSchemaVariant = { + /** The variant's name. If there is no variant or if the flag is disabled, this will be `disabled` */ + name: string; /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ enabled: boolean; + /** An optional payload attached to the variant. */ + payload?: PlaygroundFeatureSchemaVariantPayload; /** Use `featureEnabled` instead. */ feature_enabled?: boolean; /** @@ -22,8 +26,4 @@ export type PlaygroundFeatureSchemaVariant = { * @deprecated */ featureEnabled?: boolean; - /** The variant's name. If there is no variant or if the flag is disabled, this will be `disabled` */ - name: string; - /** An optional payload attached to the variant. */ - payload?: PlaygroundFeatureSchemaVariantPayload; } | null; diff --git a/frontend/src/openapi/models/playgroundRequestSchema.ts b/frontend/src/openapi/models/playgroundRequestSchema.ts index 80efbf47f4..e5e5b91a15 100644 --- a/frontend/src/openapi/models/playgroundRequestSchema.ts +++ b/frontend/src/openapi/models/playgroundRequestSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { SdkContextSchema } from './sdkContextSchema'; import type { PlaygroundRequestSchemaProjects } from './playgroundRequestSchemaProjects'; +import type { SdkContextSchema } from './sdkContextSchema'; /** - * 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; + context: SdkContextSchema; } 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/playgroundResponseSchema.ts b/frontend/src/openapi/models/playgroundResponseSchema.ts index bbc7fe8620..bfc4aeef72 100644 --- a/frontend/src/openapi/models/playgroundResponseSchema.ts +++ b/frontend/src/openapi/models/playgroundResponseSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundFeatureSchema } from './playgroundFeatureSchema'; import type { PlaygroundRequestSchema } from './playgroundRequestSchema'; +import type { PlaygroundFeatureSchema } from './playgroundFeatureSchema'; /** * The state of all features given the provided input. */ export interface PlaygroundResponseSchema { - /** The list of features that have been evaluated. */ - features: PlaygroundFeatureSchema[]; /** The given input used to evaluate the features. */ input: PlaygroundRequestSchema; + /** The list of features that have been evaluated. */ + features: PlaygroundFeatureSchema[]; } diff --git a/frontend/src/openapi/models/playgroundSegmentSchema.ts b/frontend/src/openapi/models/playgroundSegmentSchema.ts index fe672bb493..971af147af 100644 --- a/frontend/src/openapi/models/playgroundSegmentSchema.ts +++ b/frontend/src/openapi/models/playgroundSegmentSchema.ts @@ -9,12 +9,12 @@ import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; * The evaluated result of a segment as used by the Playground. */ export interface PlaygroundSegmentSchema { - /** The list of constraints in this segment. */ - constraints: PlaygroundConstraintSchema[]; /** The segment's id. */ id: number; /** The name of the segment. */ name: string; /** Whether this was evaluated as true or false. */ result: boolean; + /** The list of constraints in this segment. */ + constraints: PlaygroundConstraintSchema[]; } diff --git a/frontend/src/openapi/models/playgroundStrategySchema.ts b/frontend/src/openapi/models/playgroundStrategySchema.ts index c708f40e2e..b3048c47c6 100644 --- a/frontend/src/openapi/models/playgroundStrategySchema.ts +++ b/frontend/src/openapi/models/playgroundStrategySchema.ts @@ -3,35 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; -import type { PlaygroundStrategySchemaLinks } from './playgroundStrategySchemaLinks'; -import type { ParametersSchema } from './parametersSchema'; import type { PlaygroundStrategySchemaResult } from './playgroundStrategySchemaResult'; import type { PlaygroundSegmentSchema } from './playgroundSegmentSchema'; +import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; +import type { ParametersSchema } from './parametersSchema'; +import type { PlaygroundStrategySchemaLinks } from './playgroundStrategySchemaLinks'; /** * An evaluated feature flag strategy as used by the Playground */ export interface PlaygroundStrategySchema { - /** The strategy's constraints and their evaluation results. */ - constraints: PlaygroundConstraintSchema[]; + /** The strategy's name. */ + name: string; + /** Description of the feature's purpose. */ + title?: string; + /** The strategy's id. */ + id: string; + /** The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false` */ + result: PlaygroundStrategySchemaResult; /** * The strategy's status. Disabled strategies are not evaluated * @nullable */ disabled: boolean | null; - /** The strategy's id. */ - id: string; - /** A set of links to actions you can perform on this strategy */ - links: PlaygroundStrategySchemaLinks; - /** The strategy's name. */ - name: string; - /** The strategy's constraints and their evaluation results. */ - parameters: ParametersSchema; - /** The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false` */ - result: PlaygroundStrategySchemaResult; /** The strategy's segments and their evaluation results. */ segments: PlaygroundSegmentSchema[]; - /** Description of the feature's purpose. */ - title?: string; + /** The strategy's constraints and their evaluation results. */ + constraints: PlaygroundConstraintSchema[]; + /** The strategy's constraints and their evaluation results. */ + parameters: ParametersSchema; + /** A set of links to actions you can perform on this strategy */ + links: PlaygroundStrategySchemaLinks; } diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts index 887830ecaa..cb962fcdfe 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts @@ -3,12 +3,12 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundStrategySchemaResultAnyOfEnabled } from './playgroundStrategySchemaResultAnyOfEnabled'; import type { PlaygroundStrategySchemaResultAnyOfEvaluationStatus } from './playgroundStrategySchemaResultAnyOfEvaluationStatus'; +import type { PlaygroundStrategySchemaResultAnyOfEnabled } from './playgroundStrategySchemaResultAnyOfEnabled'; export type PlaygroundStrategySchemaResultAnyOf = { - /** Whether this strategy resolves to `false` or if it might resolve to `true`. Because Unleash can't evaluate the strategy, it can't say for certain whether it will be `true`, but if you have failing constraints or segments, it _can_ determine that your strategy would be `false`. */ - enabled: PlaygroundStrategySchemaResultAnyOfEnabled; /** Signals that this strategy could not be evaluated. This is most likely because you're using a custom strategy that Unleash doesn't know about. The `unevaluated` result is also returned if the strategy is disabled. */ evaluationStatus: PlaygroundStrategySchemaResultAnyOfEvaluationStatus; + /** Whether this strategy resolves to `false` or if it might resolve to `true`. Because Unleash can't evaluate the strategy, it can't say for certain whether it will be `true`, but if you have failing constraints or segments, it _can_ determine that your strategy would be `false`. */ + enabled: PlaygroundStrategySchemaResultAnyOfEnabled; }; diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts index c77e6b0b56..479e87fd58 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts @@ -8,10 +8,10 @@ import type { PlaygroundStrategySchemaResultAnyOfFourVariant } from './playgroun import type { VariantSchema } from './variantSchema'; export type PlaygroundStrategySchemaResultAnyOfFour = { - /** Whether this strategy evaluates to true or not. */ - enabled: boolean; /** Signals that this strategy was evaluated successfully. */ evaluationStatus: PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus; + /** Whether this strategy evaluates to true or not. */ + enabled: boolean; /** * The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts index 2f3edaee96..4274e7384e 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts @@ -13,10 +13,10 @@ import type { PlaygroundStrategySchemaResultAnyOfFourVariantPayload } from './pl * @nullable */ export type PlaygroundStrategySchemaResultAnyOfFourVariant = { - /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ - enabled: boolean; /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ name: string; + /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ + enabled: boolean; /** An optional payload attached to the variant. */ payload?: PlaygroundStrategySchemaResultAnyOfFourVariantPayload; } | null; diff --git a/frontend/src/openapi/models/profileSchema.ts b/frontend/src/openapi/models/profileSchema.ts index 9d57d2ff82..77953a17a3 100644 --- a/frontend/src/openapi/models/profileSchema.ts +++ b/frontend/src/openapi/models/profileSchema.ts @@ -3,18 +3,18 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureSchema } from './featureSchema'; import type { RoleSchema } from './roleSchema'; +import type { FeatureSchema } from './featureSchema'; /** * User profile overview */ export interface ProfileSchema { - /** Deprecated, always returns empty array */ - features: FeatureSchema[]; + rootRole: RoleSchema; /** Which projects this user is a member of */ projects: string[]; - rootRole: RoleSchema; /** Which email subscriptions this user is subscribed to */ subscriptions: string[]; + /** Deprecated, always returns empty array */ + features: FeatureSchema[]; } diff --git a/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts index 2e17a28f5f..37be328855 100644 --- a/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts +++ b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts @@ -5,13 +5,13 @@ */ export type ProjectAccessConfigurationSchemaRolesItem = { - /** A list of group ids that will be assigned this role */ - groups?: number[]; /** * The id of the role. * @minimum 1 */ id?: number; + /** A list of group ids that will be assigned this role */ + groups?: number[]; /** A list of user ids that will be assigned this role */ users?: number[]; }; diff --git a/frontend/src/openapi/models/projectAccessSchema.ts b/frontend/src/openapi/models/projectAccessSchema.ts index 85436f4eff..b8ccdef36d 100644 --- a/frontend/src/openapi/models/projectAccessSchema.ts +++ b/frontend/src/openapi/models/projectAccessSchema.ts @@ -4,8 +4,8 @@ * See `gen:api` script in package.json */ import type { GroupWithProjectRoleSchema } from './groupWithProjectRoleSchema'; -import type { RoleSchema } from './roleSchema'; import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; +import type { RoleSchema } from './roleSchema'; /** * An object describing access permissions for a given project. @@ -13,8 +13,8 @@ import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; export interface ProjectAccessSchema { /** A list of groups that have access to this project */ groups: GroupWithProjectRoleSchema[]; - /** A list of roles that are available within this project. */ - roles: RoleSchema[]; /** A list of users and their roles within this project */ users: UserWithProjectRoleSchema[]; + /** A list of roles that are available within this project. */ + roles: RoleSchema[]; } diff --git a/frontend/src/openapi/models/projectActivitySchemaItem.ts b/frontend/src/openapi/models/projectActivitySchemaItem.ts index 27fd62a966..1a5d869129 100644 --- a/frontend/src/openapi/models/projectActivitySchemaItem.ts +++ b/frontend/src/openapi/models/projectActivitySchemaItem.ts @@ -5,11 +5,11 @@ */ export type ProjectActivitySchemaItem = { + /** Activity date */ + date: string; /** * Activity count * @minimum 0 */ count: number; - /** Activity date */ - date: string; }; diff --git a/frontend/src/openapi/models/projectAddAccessSchema.ts b/frontend/src/openapi/models/projectAddAccessSchema.ts index de13239e19..a8bb25ffd0 100644 --- a/frontend/src/openapi/models/projectAddAccessSchema.ts +++ b/frontend/src/openapi/models/projectAddAccessSchema.ts @@ -8,10 +8,10 @@ * An object containing a collection of roles, a collection of groups and a collection of users. */ export interface ProjectAddAccessSchema { - /** A list of group IDs */ - groups: number[]; /** A list of role IDs */ roles: number[]; + /** A list of group IDs */ + groups: number[]; /** A list of user IDs */ users: number[]; } diff --git a/frontend/src/openapi/models/projectApplicationSchema.ts b/frontend/src/openapi/models/projectApplicationSchema.ts index 6d06e5e273..a72f043264 100644 --- a/frontend/src/openapi/models/projectApplicationSchema.ts +++ b/frontend/src/openapi/models/projectApplicationSchema.ts @@ -9,12 +9,12 @@ import type { ProjectApplicationSdkSchema } from './projectApplicationSdkSchema' * A project application instance. */ export interface ProjectApplicationSchema { + /** Name of the application that is using the SDK. This is the same as the appName in the SDK configuration. */ + name: string; /** The environments that the application is using. This is the same as the environment in the SDK configuration. */ environments: string[]; /** The instances of the application that are using the SDK. */ instances: string[]; - /** Name of the application that is using the SDK. This is the same as the appName in the SDK configuration. */ - name: string; /** The SDKs that the application is using. */ sdks: ProjectApplicationSdkSchema[]; } diff --git a/frontend/src/openapi/models/projectApplicationsSchema.ts b/frontend/src/openapi/models/projectApplicationsSchema.ts index d0461fa7c4..d395a3a8b4 100644 --- a/frontend/src/openapi/models/projectApplicationsSchema.ts +++ b/frontend/src/openapi/models/projectApplicationsSchema.ts @@ -9,8 +9,8 @@ import type { ProjectApplicationSchema } from './projectApplicationSchema'; * A list of project applications */ export interface ProjectApplicationsSchema { - /** All applications defined for a specific project. */ - applications: ProjectApplicationSchema[]; /** The total number of project applications. */ total: number; + /** All applications defined for a specific project. */ + applications: ProjectApplicationSchema[]; } diff --git a/frontend/src/openapi/models/projectCreatedSchema.ts b/frontend/src/openapi/models/projectCreatedSchema.ts index 3a203d3821..708874db98 100644 --- a/frontend/src/openapi/models/projectCreatedSchema.ts +++ b/frontend/src/openapi/models/projectCreatedSchema.ts @@ -3,42 +3,42 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectCreatedSchemaChangeRequestEnvironmentsItem } from './projectCreatedSchemaChangeRequestEnvironmentsItem'; import type { ProjectCreatedSchemaMode } from './projectCreatedSchemaMode'; +import type { ProjectCreatedSchemaChangeRequestEnvironmentsItem } from './projectCreatedSchemaChangeRequestEnvironmentsItem'; /** * Details about the newly created project. */ export interface ProjectCreatedSchema { - /** The list of environments that have change requests enabled. */ - changeRequestEnvironments?: ProjectCreatedSchemaChangeRequestEnvironmentsItem[]; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; + /** + * The project's identifier. + * @pattern [A-Za-z0-9_~.-]+ + */ + id: string; + /** + * The project's name. + * @minLength 1 + */ + name: string; /** * The project's description. * @nullable */ description?: string | null; - /** - * The environments enabled for the project. - * @minItems 1 - */ - environments?: string[]; /** * A limit on the number of features allowed in the project. `null` if no limit. * @nullable */ featureLimit?: number | null; - /** - * The project's identifier. - * @pattern [A-Za-z0-9_~.-]+ - */ - id: string; /** A mode of the project affecting what actions are possible in this project */ mode?: ProjectCreatedSchemaMode; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; /** - * The project's name. - * @minLength 1 + * The environments enabled for the project. + * @minItems 1 */ - name: string; + environments?: string[]; + /** The list of environments that have change requests enabled. */ + changeRequestEnvironments?: ProjectCreatedSchemaChangeRequestEnvironmentsItem[]; } diff --git a/frontend/src/openapi/models/projectDoraMetricsSchema.ts b/frontend/src/openapi/models/projectDoraMetricsSchema.ts index 2afcd392e6..4ada7e8066 100644 --- a/frontend/src/openapi/models/projectDoraMetricsSchema.ts +++ b/frontend/src/openapi/models/projectDoraMetricsSchema.ts @@ -9,8 +9,8 @@ import type { DoraFeaturesSchema } from './doraFeaturesSchema'; * A projects dora metrics */ export interface ProjectDoraMetricsSchema { - /** An array of objects containing feature flag name and timeToProduction values. The measurement unit of timeToProduction is days. */ - features: DoraFeaturesSchema[]; /** The average time it takes a feature flag to be enabled in production. The measurement unit is days. */ projectAverage?: number; + /** An array of objects containing feature flag name and timeToProduction values. The measurement unit of timeToProduction is days. */ + features: DoraFeaturesSchema[]; } diff --git a/frontend/src/openapi/models/projectEnvironmentSchema.ts b/frontend/src/openapi/models/projectEnvironmentSchema.ts index 07d0b5c071..6ee609b750 100644 --- a/frontend/src/openapi/models/projectEnvironmentSchema.ts +++ b/frontend/src/openapi/models/projectEnvironmentSchema.ts @@ -9,10 +9,10 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add an environment to a project, optionally also sets if change requests are enabled for this environment on the project */ export interface ProjectEnvironmentSchema { + /** The environment to add to the project */ + environment: string; /** Whether change requests should be enabled or for this environment on the project or not */ changeRequestsEnabled?: boolean; /** A default strategy to create for this environment on the project. */ defaultStrategy?: CreateFeatureStrategySchema; - /** The environment to add to the project */ - environment: string; } diff --git a/frontend/src/openapi/models/projectFeatureEnvironmentSchema.ts b/frontend/src/openapi/models/projectFeatureEnvironmentSchema.ts index 5dbd02de58..8840a4a38f 100644 --- a/frontend/src/openapi/models/projectFeatureEnvironmentSchema.ts +++ b/frontend/src/openapi/models/projectFeatureEnvironmentSchema.ts @@ -8,23 +8,23 @@ * A detailed description of the feature environment */ export interface ProjectFeatureEnvironmentSchema { + /** The name of the environment */ + name: string; + /** The type of the environment */ + type: string; /** `true` if the feature is enabled for the environment, otherwise `false`. */ enabled: boolean; - /** Whether the feature has any enabled strategies defined. */ - hasEnabledStrategies?: boolean; - /** Whether the feature has any strategies defined. */ - hasStrategies?: boolean; + /** The sort order of the feature environment in the feature environments list */ + sortOrder: number; + /** The number of defined variants */ + variantCount: number; /** * The date when metrics where last collected for the feature environment * @nullable */ lastSeenAt: string | null; - /** The name of the environment */ - name: string; - /** The sort order of the feature environment in the feature environments list */ - sortOrder: number; - /** The type of the environment */ - type: string; - /** The number of defined variants */ - variantCount: number; + /** Whether the feature has any strategies defined. */ + hasStrategies?: boolean; + /** Whether the feature has any enabled strategies defined. */ + hasEnabledStrategies?: boolean; } diff --git a/frontend/src/openapi/models/projectFeatureSchema.ts b/frontend/src/openapi/models/projectFeatureSchema.ts index b7f22ce803..949c72d240 100644 --- a/frontend/src/openapi/models/projectFeatureSchema.ts +++ b/frontend/src/openapi/models/projectFeatureSchema.ts @@ -10,34 +10,34 @@ import type { TagSchema } from './tagSchema'; * A project feature flag definition */ export interface ProjectFeatureSchema { - /** The date the feature was created */ - createdAt: string; + /** Unique feature name */ + name: string; + /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ + type: string; /** * Detailed description of the feature * @nullable */ description: string | null; - /** The list of environments where the feature can be used */ - environments: ProjectFeatureEnvironmentSchema[]; + /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ + stale: boolean; /** `true` if the feature was favorited, otherwise `false`. */ favorite: boolean; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData: boolean; + /** The date the feature was created */ + createdAt: string; /** * The date and time when metrics where last collected for this flag in any environment. This field was deprecated in v5. You should instead use the `lastSeenAt` property on the individual environments listed under the `environments` property. * @deprecated * @nullable */ lastSeenAt: string | null; - /** Unique feature name */ - name: string; - /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ - stale: boolean; + /** The list of environments where the feature can be used */ + environments: ProjectFeatureEnvironmentSchema[]; /** * The list of feature tags * @nullable */ tags?: TagSchema[] | null; - /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ - type: string; } diff --git a/frontend/src/openapi/models/projectFeaturesSchema.ts b/frontend/src/openapi/models/projectFeaturesSchema.ts index cb8c2592e3..8dd84e0a61 100644 --- a/frontend/src/openapi/models/projectFeaturesSchema.ts +++ b/frontend/src/openapi/models/projectFeaturesSchema.ts @@ -10,8 +10,8 @@ import type { ProjectFeatureSchema } from './projectFeatureSchema'; * @deprecated */ export interface ProjectFeaturesSchema { - /** A list of features */ - features: ProjectFeatureSchema[]; /** The version of the feature's schema */ version: number; + /** A list of features */ + features: ProjectFeatureSchema[]; } diff --git a/frontend/src/openapi/models/projectInsightsSchema.ts b/frontend/src/openapi/models/projectInsightsSchema.ts index 95246e6b23..e6aea686ca 100644 --- a/frontend/src/openapi/models/projectInsightsSchema.ts +++ b/frontend/src/openapi/models/projectInsightsSchema.ts @@ -3,24 +3,24 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureTypeCountSchema } from './featureTypeCountSchema'; +import type { ProjectStatsSchema } from './projectStatsSchema'; import type { ProjectInsightsSchemaHealth } from './projectInsightsSchemaHealth'; import type { ProjectDoraMetricsSchema } from './projectDoraMetricsSchema'; +import type { FeatureTypeCountSchema } from './featureTypeCountSchema'; import type { ProjectInsightsSchemaMembers } from './projectInsightsSchemaMembers'; -import type { ProjectStatsSchema } from './projectStatsSchema'; /** * A high-level overview of a project insights. It contains information such as project statistics, overall health, types of flags, members overview, change requests overview. */ export interface ProjectInsightsSchema { - /** The number of features of each type */ - featureTypeCounts: FeatureTypeCountSchema[]; + /** Project statistics */ + stats: ProjectStatsSchema; /** Health summary of the project */ health: ProjectInsightsSchemaHealth; /** Lead time (DORA) metrics */ leadTime: ProjectDoraMetricsSchema; + /** The number of features of each type */ + featureTypeCounts: FeatureTypeCountSchema[]; /** Active/inactive users summary */ members: ProjectInsightsSchemaMembers; - /** Project statistics */ - stats: ProjectStatsSchema; } diff --git a/frontend/src/openapi/models/projectInsightsSchemaHealth.ts b/frontend/src/openapi/models/projectInsightsSchemaHealth.ts index fda644b211..dd91cae93b 100644 --- a/frontend/src/openapi/models/projectInsightsSchemaHealth.ts +++ b/frontend/src/openapi/models/projectInsightsSchemaHealth.ts @@ -8,12 +8,12 @@ * Health summary of the project */ export type ProjectInsightsSchemaHealth = { + /** 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 active feature flags. */ 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 */ - rating: number; /** The number of stale feature flags. */ staleCount: number; }; diff --git a/frontend/src/openapi/models/projectInsightsSchemaMembers.ts b/frontend/src/openapi/models/projectInsightsSchemaMembers.ts index bf3df04fbe..e7cf97cfad 100644 --- a/frontend/src/openapi/models/projectInsightsSchemaMembers.ts +++ b/frontend/src/openapi/models/projectInsightsSchemaMembers.ts @@ -8,8 +8,8 @@ * Active/inactive users summary */ export type ProjectInsightsSchemaMembers = { - /** The change in the number of project members compared to the previous month */ - change: number; /** The number of total project members */ currentMembers: number; + /** The change in the number of project members compared to the previous month */ + change: number; }; diff --git a/frontend/src/openapi/models/projectOverviewSchema.ts b/frontend/src/openapi/models/projectOverviewSchema.ts index 67a4988d8c..8545bf1546 100644 --- a/frontend/src/openapi/models/projectOverviewSchema.ts +++ b/frontend/src/openapi/models/projectOverviewSchema.ts @@ -3,17 +3,51 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; -import type { FeatureTypeCountSchema } from './featureTypeCountSchema'; -import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode'; -import type { ProjectOverviewSchemaOnboardingStatus } from './projectOverviewSchemaOnboardingStatus'; import type { ProjectStatsSchema } from './projectStatsSchema'; +import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; +import type { FeatureTypeCountSchema } from './featureTypeCountSchema'; +import type { ProjectOverviewSchemaOnboardingStatus } from './projectOverviewSchemaOnboardingStatus'; /** * A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc. */ export interface ProjectOverviewSchema { + /** Project statistics */ + stats?: ProjectStatsSchema; + /** The schema version used to describe the project overview */ + version: number; + /** The name of this project */ + name: string; + /** + * Additional information about the project + * @nullable + */ + description?: string | null; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: ProjectOverviewSchemaMode; + /** + * A limit on the number of features allowed in the project. Null if no limit. + * @nullable + */ + featureLimit?: number | null; + featureNaming?: CreateFeatureNamingPatternSchema; + /** The number of members this project has */ + members?: number; + /** 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 environments that are enabled for this project */ + environments?: ProjectEnvironmentSchema[]; + /** The number of features of each type that are in this project */ + featureTypeCounts?: FeatureTypeCountSchema[]; + /** + * When the project was last updated. + * @nullable + */ + updatedAt?: string | null; /** * When the project was archived. * @nullable @@ -24,42 +58,8 @@ export interface ProjectOverviewSchema { * @nullable */ createdAt?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; - /** - * Additional information about the project - * @nullable - */ - description?: string | null; - /** The environments that are enabled for this project */ - environments?: ProjectEnvironmentSchema[]; /** `true` if the project was favorited, otherwise `false`. */ favorite?: boolean; - /** - * A limit on the number of features allowed in the project. Null if no limit. - * @nullable - */ - featureLimit?: number | null; - 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 */ - health?: number; - /** The number of members this project has */ - members?: number; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode?: ProjectOverviewSchemaMode; - /** The name of this project */ - name: string; /** The current onboarding status of the project. */ onboardingStatus: ProjectOverviewSchemaOnboardingStatus; - /** Project statistics */ - stats?: ProjectStatsSchema; - /** - * When the project was last updated. - * @nullable - */ - updatedAt?: string | null; - /** The schema version used to describe the project overview */ - version: number; } diff --git a/frontend/src/openapi/models/projectOverviewSchemaOnboardingStatusOneOfThree.ts b/frontend/src/openapi/models/projectOverviewSchemaOnboardingStatusOneOfThree.ts index a8b81cc008..4459e2d629 100644 --- a/frontend/src/openapi/models/projectOverviewSchemaOnboardingStatusOneOfThree.ts +++ b/frontend/src/openapi/models/projectOverviewSchemaOnboardingStatusOneOfThree.ts @@ -6,7 +6,7 @@ import type { ProjectOverviewSchemaOnboardingStatusOneOfThreeStatus } from './projectOverviewSchemaOnboardingStatusOneOfThreeStatus'; export type ProjectOverviewSchemaOnboardingStatusOneOfThree = { + status: ProjectOverviewSchemaOnboardingStatusOneOfThreeStatus; /** The name of the feature flag */ feature: string; - status: ProjectOverviewSchemaOnboardingStatusOneOfThreeStatus; }; diff --git a/frontend/src/openapi/models/projectRoleSchema.ts b/frontend/src/openapi/models/projectRoleSchema.ts index 453e8ecdd2..434ee83304 100644 --- a/frontend/src/openapi/models/projectRoleSchema.ts +++ b/frontend/src/openapi/models/projectRoleSchema.ts @@ -8,23 +8,23 @@ * An overview of how many users and groups are mapped to the specified project with the specified role. */ export interface ProjectRoleSchema { - /** - * Number of groups mapped to this project. - * @minimum 0 - */ - groupCount?: number; /** The id of the project user and group count are counted for. */ project: string; /** Id of the role the user and group count are counted for. */ role?: number; + /** + * Number of users mapped to this project. + * @minimum 0 + */ + userCount?: number; /** * Number of service accounts mapped to this project. * @minimum 0 */ serviceAccountCount?: number; /** - * Number of users mapped to this project. + * Number of groups mapped to this project. * @minimum 0 */ - userCount?: number; + groupCount?: number; } diff --git a/frontend/src/openapi/models/projectSchema.ts b/frontend/src/openapi/models/projectSchema.ts index 979c0576e2..1e4a125c05 100644 --- a/frontend/src/openapi/models/projectSchema.ts +++ b/frontend/src/openapi/models/projectSchema.ts @@ -10,69 +10,69 @@ import type { ProjectSchemaOwners } from './projectSchemaOwners'; * A definition of the project used for projects listing purposes */ export interface ProjectSchema { - /** - * When this project was archived. - * @nullable - */ - archivedAt?: string | null; - /** - * The average time from when a feature was created to when it was enabled in the "production" environment during the current window - * @deprecated - */ - avgTimeToProduction?: number; - /** When this project was created. */ - createdAt?: string; - /** - * A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy - * @deprecated - */ - defaultStickiness?: string; + /** The id of this project */ + id: string; + /** The name of this project */ + name: string; /** * Additional information about the project * @deprecated * @nullable */ description?: string | null; - /** `true` if the project was favorited, otherwise `false`. */ - favorite?: boolean; + /** 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 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 */ - health?: number; - /** The id of this project */ - id: string; - /** - * Across all flags in your project this is the last time usage metrics where reported from connected applications. - * @nullable - */ - lastReportedFlagUsage?: string | null; - /** - * When this project was last updated. - * @nullable - */ - lastUpdatedAt?: string | null; - /** The number of members this project has */ - memberCount?: number; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode?: ProjectSchemaMode; - /** The name of this project */ - name: string; - /** The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead. */ - owners?: ProjectSchemaOwners; - /** - * The number of potentially stale features this project has - * @deprecated - */ - potentiallyStaleFeatureCount?: number; /** * The number of stale features this project has * @deprecated */ staleFeatureCount?: number; + /** + * The number of potentially stale features this project has + * @deprecated + */ + potentiallyStaleFeatureCount?: number; + /** The number of members this project has */ + memberCount?: number; + /** When this project was created. */ + createdAt?: string; /** * When this project was last updated. * @deprecated * @nullable */ updatedAt?: string | null; + /** + * When this project was last updated. + * @nullable + */ + lastUpdatedAt?: string | null; + /** + * When this project was archived. + * @nullable + */ + archivedAt?: string | null; + /** `true` if the project was favorited, otherwise `false`. */ + favorite?: boolean; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: ProjectSchemaMode; + /** + * A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy + * @deprecated + */ + defaultStickiness?: string; + /** + * The average time from when a feature was created to when it was enabled in the "production" environment during the current window + * @deprecated + */ + avgTimeToProduction?: number; + /** + * Across all flags in your project this is the last time usage metrics where reported from connected applications. + * @nullable + */ + lastReportedFlagUsage?: string | null; + /** The users and/or groups that have the "owner" role in this project. If no such users or groups exist, the list will contain the "system" owner instead. */ + owners?: ProjectSchemaOwners; } diff --git a/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOf.ts b/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOf.ts index 68c8c2f634..e7cb61a761 100644 --- a/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOf.ts +++ b/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOf.ts @@ -6,10 +6,10 @@ import type { ProjectSchemaOwnersOneOfItemAnyOfOwnerType } from './projectSchemaOwnersOneOfItemAnyOfOwnerType'; export type ProjectSchemaOwnersOneOfItemAnyOf = { - /** @nullable */ - email?: string | null; + ownerType: ProjectSchemaOwnersOneOfItemAnyOfOwnerType; + name: string; /** @nullable */ imageUrl?: string | null; - name: string; - ownerType: ProjectSchemaOwnersOneOfItemAnyOfOwnerType; + /** @nullable */ + email?: string | null; }; diff --git a/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOfThree.ts b/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOfThree.ts index dcb58074dc..7d6bae9e84 100644 --- a/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOfThree.ts +++ b/frontend/src/openapi/models/projectSchemaOwnersOneOfItemAnyOfThree.ts @@ -6,6 +6,6 @@ import type { ProjectSchemaOwnersOneOfItemAnyOfThreeOwnerType } from './projectSchemaOwnersOneOfItemAnyOfThreeOwnerType'; export type ProjectSchemaOwnersOneOfItemAnyOfThree = { - name: string; ownerType: ProjectSchemaOwnersOneOfItemAnyOfThreeOwnerType; + name: string; }; diff --git a/frontend/src/openapi/models/projectStatsSchema.ts b/frontend/src/openapi/models/projectStatsSchema.ts index d9f9dcd130..df8b6440ce 100644 --- a/frontend/src/openapi/models/projectStatsSchema.ts +++ b/frontend/src/openapi/models/projectStatsSchema.ts @@ -12,16 +12,16 @@ Stats are divided into current and previous **windows**. - The **previous window** is the 30 days **before** the current window (from 60 to 30 days ago) */ export interface ProjectStatsSchema { - /** The number of feature flags that were archived during the current window */ - archivedCurrentWindow: number; - /** The number of feature flags that were archived during the previous window */ - archivedPastWindow: number; /** The average time from when a feature was created to when it was enabled in the "production" environment during the current window */ avgTimeToProdCurrentWindow: number; /** The number of feature flags created during the current window */ createdCurrentWindow: number; /** The number of feature flags created during the previous window */ createdPastWindow: number; + /** The number of feature flags that were archived during the current window */ + archivedCurrentWindow: number; + /** The number of feature flags that were archived during the previous window */ + archivedPastWindow: number; /** The number of project events that occurred during the current window */ projectActivityCurrentWindow: number; /** The number of project events that occurred during the previous window */ diff --git a/frontend/src/openapi/models/projectStatusSchema.ts b/frontend/src/openapi/models/projectStatusSchema.ts index e03724c21b..d43a6d86bf 100644 --- a/frontend/src/openapi/models/projectStatusSchema.ts +++ b/frontend/src/openapi/models/projectStatusSchema.ts @@ -5,9 +5,9 @@ */ import type { ProjectActivitySchema } from './projectActivitySchema'; import type { ProjectStatusSchemaHealth } from './projectStatusSchemaHealth'; -import type { ProjectStatusSchemaLifecycleSummary } from './projectStatusSchemaLifecycleSummary'; import type { ProjectStatusSchemaResources } from './projectStatusSchemaResources'; import type { ProjectStatusSchemaStaleFlags } from './projectStatusSchemaStaleFlags'; +import type { ProjectStatusSchemaLifecycleSummary } from './projectStatusSchemaLifecycleSummary'; /** * Schema representing the overall status of a project, including an array of activity records. Each record in the activity array contains a date and a count, providing a snapshot of the project’s activity level over time. @@ -17,10 +17,10 @@ export interface ProjectStatusSchema { activityCountByDate: ProjectActivitySchema; /** Information about the project's health rating */ health: ProjectStatusSchemaHealth; - /** Feature flag lifecycle statistics for this project. */ - lifecycleSummary: ProjectStatusSchemaLifecycleSummary; /** Key resources within the project */ resources: ProjectStatusSchemaResources; /** Information on stale and potentially stale flags in this project. */ staleFlags: ProjectStatusSchemaStaleFlags; + /** Feature flag lifecycle statistics for this project. */ + lifecycleSummary: ProjectStatusSchemaLifecycleSummary; } diff --git a/frontend/src/openapi/models/projectStatusSchemaLifecycleSummary.ts b/frontend/src/openapi/models/projectStatusSchemaLifecycleSummary.ts index 9fe115a232..8b3bcd6ccc 100644 --- a/frontend/src/openapi/models/projectStatusSchemaLifecycleSummary.ts +++ b/frontend/src/openapi/models/projectStatusSchemaLifecycleSummary.ts @@ -3,24 +3,24 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectStatusSchemaLifecycleSummaryArchived } from './projectStatusSchemaLifecycleSummaryArchived'; -import type { ProjectStatusSchemaLifecycleSummaryCompleted } from './projectStatusSchemaLifecycleSummaryCompleted'; import type { ProjectStatusSchemaLifecycleSummaryInitial } from './projectStatusSchemaLifecycleSummaryInitial'; -import type { ProjectStatusSchemaLifecycleSummaryLive } from './projectStatusSchemaLifecycleSummaryLive'; import type { ProjectStatusSchemaLifecycleSummaryPreLive } from './projectStatusSchemaLifecycleSummaryPreLive'; +import type { ProjectStatusSchemaLifecycleSummaryLive } from './projectStatusSchemaLifecycleSummaryLive'; +import type { ProjectStatusSchemaLifecycleSummaryCompleted } from './projectStatusSchemaLifecycleSummaryCompleted'; +import type { ProjectStatusSchemaLifecycleSummaryArchived } from './projectStatusSchemaLifecycleSummaryArchived'; /** * Feature flag lifecycle statistics for this project. */ export type ProjectStatusSchemaLifecycleSummary = { - /** Information on archived flags in this project. */ - archived: ProjectStatusSchemaLifecycleSummaryArchived; - /** Statistics on feature flags in a given stage in this project. */ - completed: ProjectStatusSchemaLifecycleSummaryCompleted; /** Statistics on feature flags in a given stage in this project. */ initial: ProjectStatusSchemaLifecycleSummaryInitial; /** Statistics on feature flags in a given stage in this project. */ + preLive: ProjectStatusSchemaLifecycleSummaryPreLive; + /** Statistics on feature flags in a given stage in this project. */ live: ProjectStatusSchemaLifecycleSummaryLive; /** Statistics on feature flags in a given stage in this project. */ - preLive: ProjectStatusSchemaLifecycleSummaryPreLive; + completed: ProjectStatusSchemaLifecycleSummaryCompleted; + /** Information on archived flags in this project. */ + archived: ProjectStatusSchemaLifecycleSummaryArchived; }; diff --git a/frontend/src/openapi/models/projectUsersSchema.ts b/frontend/src/openapi/models/projectUsersSchema.ts index ec5fc7c0c2..bd24403475 100644 --- a/frontend/src/openapi/models/projectUsersSchema.ts +++ b/frontend/src/openapi/models/projectUsersSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RoleSchema } from './roleSchema'; import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; +import type { RoleSchema } from './roleSchema'; /** * An overview of users and available roles within a project. * @deprecated */ export interface ProjectUsersSchema { - /** A list of roles that are available for this project */ - roles: RoleSchema[]; /** A list of users with access to this project and their role within it. */ users: UserWithProjectRoleSchema[]; + /** A list of roles that are available for this project */ + roles: RoleSchema[]; } diff --git a/frontend/src/openapi/models/projectsSchema.ts b/frontend/src/openapi/models/projectsSchema.ts index a54057cab1..97608f6fce 100644 --- a/frontend/src/openapi/models/projectsSchema.ts +++ b/frontend/src/openapi/models/projectsSchema.ts @@ -9,8 +9,8 @@ import type { ProjectSchema } from './projectSchema'; * An overview of all the projects in the Unleash instance */ export interface ProjectsSchema { - /** A list of projects in the Unleash instance */ - projects: ProjectSchema[]; /** The schema version used to represent the project data. */ version: number; + /** A list of projects in the Unleash instance */ + projects: ProjectSchema[]; } diff --git a/frontend/src/openapi/models/provideFeedbackSchema.ts b/frontend/src/openapi/models/provideFeedbackSchema.ts index 7c1c1339c8..86964b925f 100644 --- a/frontend/src/openapi/models/provideFeedbackSchema.ts +++ b/frontend/src/openapi/models/provideFeedbackSchema.ts @@ -8,13 +8,13 @@ * Schema representing the creation of feedback information. */ export interface ProvideFeedbackSchema { - /** - * Details aspects of the service or product that could benefit from enhancements or modifications. Aids in pinpointing areas needing attention for improvement. - * @nullable - */ - areasForImprovement?: string | null; /** The category of the feedback. */ category: string; + /** + * The type of user providing the feedback. + * @nullable + */ + userType?: string | null; /** * A score indicating the difficulty experienced by the user. * @nullable @@ -26,8 +26,8 @@ export interface ProvideFeedbackSchema { */ positive?: string | null; /** - * The type of user providing the feedback. + * Details aspects of the service or product that could benefit from enhancements or modifications. Aids in pinpointing areas needing attention for improvement. * @nullable */ - userType?: string | null; + areasForImprovement?: string | null; } diff --git a/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts b/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts index 2dfce1dc64..d88032e0d9 100644 --- a/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts @@ -8,8 +8,8 @@ * Used for creating a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens) */ export interface PublicSignupTokenCreateSchema { - /** The token's expiration date. */ - expiresAt: string; /** The token's name. */ name: string; + /** The token's expiration date. */ + expiresAt: string; } diff --git a/frontend/src/openapi/models/publicSignupTokenSchema.ts b/frontend/src/openapi/models/publicSignupTokenSchema.ts index ad6a3ce36d..a2a63a07a9 100644 --- a/frontend/src/openapi/models/publicSignupTokenSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenSchema.ts @@ -3,28 +3,13 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RoleSchema } from './roleSchema'; import type { UserSchema } from './userSchema'; +import type { RoleSchema } from './roleSchema'; /** * Used for transporting a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens) */ export interface PublicSignupTokenSchema { - /** When the token was created. */ - createdAt: string; - /** - * The creator's email or username - * @nullable - */ - createdBy: string | null; - /** Whether the token is active. This property will always be `false` for a token that has expired. */ - enabled: boolean; - /** The time when the token will expire. */ - expiresAt: string; - /** The token's name. Only for displaying in the UI */ - name: string; - /** Users who sign up using this token will be given this role. */ - role: RoleSchema; /** The actual value of the token. This is the part that is used by Unleash to create an invite link */ secret: string; /** @@ -32,9 +17,24 @@ export interface PublicSignupTokenSchema { * @nullable */ url: string | null; + /** The token's name. Only for displaying in the UI */ + name: string; + /** Whether the token is active. This property will always be `false` for a token that has expired. */ + enabled: boolean; + /** The time when the token will expire. */ + expiresAt: string; + /** When the token was created. */ + createdAt: string; + /** + * The creator's email or username + * @nullable + */ + createdBy: string | null; /** * Array of users that have signed up using the token. * @nullable */ users?: UserSchema[] | null; + /** Users who sign up using this token will be given this role. */ + role: RoleSchema; } diff --git a/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts b/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts index ddc1ceca68..34356ee01f 100644 --- a/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts @@ -8,8 +8,8 @@ * Used by Unleash for updating a token's expiration date or, when deleting the invite link, it's status */ export interface PublicSignupTokenUpdateSchema { - /** Whether the token is active or not. */ - enabled?: boolean; /** The token's expiration date. */ expiresAt?: string; + /** Whether the token is active or not. */ + enabled?: boolean; } diff --git a/frontend/src/openapi/models/pushVariantsSchema.ts b/frontend/src/openapi/models/pushVariantsSchema.ts index 827c015b10..f1ae72b716 100644 --- a/frontend/src/openapi/models/pushVariantsSchema.ts +++ b/frontend/src/openapi/models/pushVariantsSchema.ts @@ -9,8 +9,8 @@ import type { VariantSchema } from './variantSchema'; * Data used when copying variants into a new environment. */ export interface PushVariantsSchema { - /** The enviromnents to write the provided variants to */ - environments?: string[]; /** The variants to write to the provided environments */ variants?: VariantSchema[]; + /** The enviromnents to write the provided variants to */ + environments?: string[]; } diff --git a/frontend/src/openapi/models/reactivateStrategy401.ts b/frontend/src/openapi/models/reactivateStrategy401.ts index ca4eabaf61..72978d8c61 100644 --- a/frontend/src/openapi/models/reactivateStrategy401.ts +++ b/frontend/src/openapi/models/reactivateStrategy401.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reactivateStrategy403.ts b/frontend/src/openapi/models/reactivateStrategy403.ts index 5bcdcf7353..dc7c950c5e 100644 --- a/frontend/src/openapi/models/reactivateStrategy403.ts +++ b/frontend/src/openapi/models/reactivateStrategy403.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reactivateStrategy404.ts b/frontend/src/openapi/models/reactivateStrategy404.ts index 524f47cfe5..87a3f2e9d1 100644 --- a/frontend/src/openapi/models/reactivateStrategy404.ts +++ b/frontend/src/openapi/models/reactivateStrategy404.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerClientMetrics400.ts b/frontend/src/openapi/models/registerClientMetrics400.ts index 76d7d6dab1..6dcae0fb45 100644 --- a/frontend/src/openapi/models/registerClientMetrics400.ts +++ b/frontend/src/openapi/models/registerClientMetrics400.ts @@ -7,8 +7,8 @@ export type RegisterClientMetrics400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient400.ts b/frontend/src/openapi/models/registerFrontendClient400.ts index b7141d20f2..49644c1e7b 100644 --- a/frontend/src/openapi/models/registerFrontendClient400.ts +++ b/frontend/src/openapi/models/registerFrontendClient400.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient401.ts b/frontend/src/openapi/models/registerFrontendClient401.ts index 08ea81beb9..d6e8354d05 100644 --- a/frontend/src/openapi/models/registerFrontendClient401.ts +++ b/frontend/src/openapi/models/registerFrontendClient401.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient404.ts b/frontend/src/openapi/models/registerFrontendClient404.ts index 3dfd5c1303..5f6518127e 100644 --- a/frontend/src/openapi/models/registerFrontendClient404.ts +++ b/frontend/src/openapi/models/registerFrontendClient404.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics400.ts b/frontend/src/openapi/models/registerFrontendMetrics400.ts index 22a79d4ecc..1870e6fd41 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics400.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics400.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics401.ts b/frontend/src/openapi/models/registerFrontendMetrics401.ts index 15a72363b5..a924e6dc00 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics401.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics401.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics404.ts b/frontend/src/openapi/models/registerFrontendMetrics404.ts index d24bfb8396..31e26ece41 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics404.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics404.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/releasePlanMilestoneSchema.ts b/frontend/src/openapi/models/releasePlanMilestoneSchema.ts index 5f8ead1b78..75f3e4060e 100644 --- a/frontend/src/openapi/models/releasePlanMilestoneSchema.ts +++ b/frontend/src/openapi/models/releasePlanMilestoneSchema.ts @@ -15,10 +15,10 @@ export interface ReleasePlanMilestoneSchema { id: string; /** The name of the milestone. */ name: string; - /** The ID of the release plan/template that this milestone belongs to. */ - releasePlanDefinitionId: string; /** The order of the milestone in the release plan. */ sortOrder: number; + /** The ID of the release plan/template that this milestone belongs to. */ + releasePlanDefinitionId: string; /** A list of strategies that are attached to this milestone. */ strategies?: ReleasePlanMilestoneStrategySchema[]; } diff --git a/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts index f9dbf1bca4..f9b27aafe5 100644 --- a/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/releasePlanMilestoneStrategySchema.ts @@ -3,35 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ConstraintSchema } from './constraintSchema'; import type { ParametersSchema } from './parametersSchema'; +import type { ConstraintSchema } from './constraintSchema'; 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 */ - constraints?: ConstraintSchema[]; /** * The milestone strategy's ID. Milestone strategy IDs are ulids. */ id: string; /** The ID of the milestone that this strategy belongs to. */ milestoneId: string; - /** An object containing the parameters for the strategy */ - parameters?: ParametersSchema; - /** Ids of segments to use for this strategy */ - segments?: number[]; /** The order of the strategy in the list */ sortOrder: number; - /** The name of the strategy type */ - strategyName: string; /** * A descriptive title for the strategy * @nullable */ title?: string | null; + /** The name of the strategy type */ + strategyName: string; + /** An object containing the parameters for the strategy */ + parameters?: ParametersSchema; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** Strategy level variants */ variants?: CreateStrategyVariantSchema[]; + /** Ids of segments to use for this strategy */ + segments?: number[]; } diff --git a/frontend/src/openapi/models/releasePlanSchema.ts b/frontend/src/openapi/models/releasePlanSchema.ts index fdb7a8be93..62fb9de555 100644 --- a/frontend/src/openapi/models/releasePlanSchema.ts +++ b/frontend/src/openapi/models/releasePlanSchema.ts @@ -11,39 +11,39 @@ import type { ReleasePlanMilestoneSchema } from './releasePlanMilestoneSchema'; */ export interface ReleasePlanSchema { /** - * The ID of the currently active milestone in this release plan. - * @nullable + * The release plan/template's ID. Release template IDs are ulids. */ - activeMilestoneId?: string | null; + id: string; /** - * The date and time that the release template was created. + * A field to distinguish between release plans and release templates. */ - createdAt: string; - /** - * Release template: The ID of the user who created this template. - */ - createdByUserId: number; + discriminator: ReleasePlanSchemaDiscriminator; + /** The name of the release template. */ + name: string; /** * A description of the release template. * @nullable */ description?: string | null; - /** - * A field to distinguish between release plans and release templates. - */ - discriminator: ReleasePlanSchemaDiscriminator; - /** The environment that this release plan is for. */ - environment: string; /** The name of the feature that uses this release plan. */ featureName: string; + /** The environment that this release plan is for. */ + environment: string; /** - * The release plan/template's ID. Release template IDs are ulids. + * Release template: The ID of the user who created this template. */ - id: string; + createdByUserId: number; + /** + * The date and time that the release template was created. + */ + createdAt: string; + /** + * The ID of the currently active milestone in this release plan. + * @nullable + */ + activeMilestoneId?: string | null; /** A list of the milestones in this release template. */ milestones: ReleasePlanMilestoneSchema[]; - /** The name of the release template. */ - name: string; /** * The ID of the release plan template that this release plan is based on. */ diff --git a/frontend/src/openapi/models/releasePlanTemplateSchema.ts b/frontend/src/openapi/models/releasePlanTemplateSchema.ts index 67e7a31ab1..298e9cccbd 100644 --- a/frontend/src/openapi/models/releasePlanTemplateSchema.ts +++ b/frontend/src/openapi/models/releasePlanTemplateSchema.ts @@ -11,28 +11,28 @@ import type { ReleasePlanMilestoneSchema } from './releasePlanMilestoneSchema'; */ export interface ReleasePlanTemplateSchema { /** - * The date and time that the release template was created. + * The release plan/template's ID. Release template IDs are ulids. */ - createdAt: string; + id: string; /** - * Release template: The ID of the user who created this template. + * A field to distinguish between release plans and release templates. */ - createdByUserId: number; + discriminator: ReleasePlanTemplateSchemaDiscriminator; + /** The name of the release template. */ + name: string; /** * A description of the release template. * @nullable */ description?: string | null; /** - * A field to distinguish between release plans and release templates. + * Release template: The ID of the user who created this template. */ - discriminator: ReleasePlanTemplateSchemaDiscriminator; + createdByUserId: number; /** - * The release plan/template's ID. Release template IDs are ulids. + * The date and time that the release template was created. */ - id: string; + createdAt: string; /** A list of the milestones in this release template. */ milestones?: ReleasePlanMilestoneSchema[]; - /** The name of the release template. */ - name: string; } diff --git a/frontend/src/openapi/models/remoteMilestoneStrategy401.ts b/frontend/src/openapi/models/remoteMilestoneStrategy401.ts deleted file mode 100644 index 0701ea62ef..0000000000 --- a/frontend/src/openapi/models/remoteMilestoneStrategy401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoteMilestoneStrategy401 = { - /** 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/remoteMilestoneStrategy403.ts b/frontend/src/openapi/models/remoteMilestoneStrategy403.ts deleted file mode 100644 index c3cae9b44e..0000000000 --- a/frontend/src/openapi/models/remoteMilestoneStrategy403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoteMilestoneStrategy403 = { - /** 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/remoteMilestoneStrategy404.ts b/frontend/src/openapi/models/remoteMilestoneStrategy404.ts deleted file mode 100644 index 89a4fb8c6b..0000000000 --- a/frontend/src/openapi/models/remoteMilestoneStrategy404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoteMilestoneStrategy404 = { - /** 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/removeEnvironment400.ts b/frontend/src/openapi/models/removeEnvironment400.ts deleted file mode 100644 index 2bc0a657fe..0000000000 --- a/frontend/src/openapi/models/removeEnvironment400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoveEnvironment400 = { - /** 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/removeEnvironment401.ts b/frontend/src/openapi/models/removeEnvironment401.ts deleted file mode 100644 index 97b55931fd..0000000000 --- a/frontend/src/openapi/models/removeEnvironment401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoveEnvironment401 = { - /** 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/removeEnvironmentFromProject400.ts b/frontend/src/openapi/models/removeEnvironmentFromProject400.ts index 497e8ed00d..2a20ec9af2 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject400.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject400.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironmentFromProject401.ts b/frontend/src/openapi/models/removeEnvironmentFromProject401.ts index 208a19c7cc..699822e30b 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject401.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject401.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironmentFromProject403.ts b/frontend/src/openapi/models/removeEnvironmentFromProject403.ts index 30271e8e79..729998b21a 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject403.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject403.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteFeature401.ts b/frontend/src/openapi/models/removeFavoriteFeature401.ts index 277078e0cc..8760f7f6ab 100644 --- a/frontend/src/openapi/models/removeFavoriteFeature401.ts +++ b/frontend/src/openapi/models/removeFavoriteFeature401.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteFeature404.ts b/frontend/src/openapi/models/removeFavoriteFeature404.ts index 2174ed0484..bbe220fc96 100644 --- a/frontend/src/openapi/models/removeFavoriteFeature404.ts +++ b/frontend/src/openapi/models/removeFavoriteFeature404.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteProject401.ts b/frontend/src/openapi/models/removeFavoriteProject401.ts index 62cefeacbf..77313f0f37 100644 --- a/frontend/src/openapi/models/removeFavoriteProject401.ts +++ b/frontend/src/openapi/models/removeFavoriteProject401.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteProject404.ts b/frontend/src/openapi/models/removeFavoriteProject404.ts index f3ecc80857..209445cc22 100644 --- a/frontend/src/openapi/models/removeFavoriteProject404.ts +++ b/frontend/src/openapi/models/removeFavoriteProject404.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess401.ts b/frontend/src/openapi/models/removeGroupAccess401.ts index 5ab80c3864..893b22707a 100644 --- a/frontend/src/openapi/models/removeGroupAccess401.ts +++ b/frontend/src/openapi/models/removeGroupAccess401.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess403.ts b/frontend/src/openapi/models/removeGroupAccess403.ts index adb5114631..264fe1c34b 100644 --- a/frontend/src/openapi/models/removeGroupAccess403.ts +++ b/frontend/src/openapi/models/removeGroupAccess403.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess404.ts b/frontend/src/openapi/models/removeGroupAccess404.ts index d8e4b72919..afee09dca9 100644 --- a/frontend/src/openapi/models/removeGroupAccess404.ts +++ b/frontend/src/openapi/models/removeGroupAccess404.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeReleasePlanMilestone401.ts b/frontend/src/openapi/models/removeReleasePlanMilestone401.ts deleted file mode 100644 index 1aa432dd40..0000000000 --- a/frontend/src/openapi/models/removeReleasePlanMilestone401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoveReleasePlanMilestone401 = { - /** 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/removeReleasePlanMilestone403.ts b/frontend/src/openapi/models/removeReleasePlanMilestone403.ts deleted file mode 100644 index 8a2963a9d1..0000000000 --- a/frontend/src/openapi/models/removeReleasePlanMilestone403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoveReleasePlanMilestone403 = { - /** 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/removeReleasePlanMilestone404.ts b/frontend/src/openapi/models/removeReleasePlanMilestone404.ts deleted file mode 100644 index 4c87bd7678..0000000000 --- a/frontend/src/openapi/models/removeReleasePlanMilestone404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type RemoveReleasePlanMilestone404 = { - /** 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/removeRoleForUser401.ts b/frontend/src/openapi/models/removeRoleForUser401.ts index 34396c6a42..d566ed2356 100644 --- a/frontend/src/openapi/models/removeRoleForUser401.ts +++ b/frontend/src/openapi/models/removeRoleForUser401.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeRoleForUser403.ts b/frontend/src/openapi/models/removeRoleForUser403.ts index 425d8e4a74..726786cb86 100644 --- a/frontend/src/openapi/models/removeRoleForUser403.ts +++ b/frontend/src/openapi/models/removeRoleForUser403.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeRoleForUser404.ts b/frontend/src/openapi/models/removeRoleForUser404.ts index 5b404b08f7..23516708ca 100644 --- a/frontend/src/openapi/models/removeRoleForUser404.ts +++ b/frontend/src/openapi/models/removeRoleForUser404.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup401.ts b/frontend/src/openapi/models/removeRoleFromGroup401.ts index bc0242d1a8..eb4147225f 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup401.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup401.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup403.ts b/frontend/src/openapi/models/removeRoleFromGroup403.ts index f29020dd50..046f7ba178 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup403.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup403.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup404.ts b/frontend/src/openapi/models/removeRoleFromGroup404.ts index 8d7e410346..28b9b93134 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup404.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup404.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeSegment401.ts b/frontend/src/openapi/models/removeSegment401.ts index c88dd4a8d9..87f8365e5a 100644 --- a/frontend/src/openapi/models/removeSegment401.ts +++ b/frontend/src/openapi/models/removeSegment401.ts @@ -7,8 +7,8 @@ export type RemoveSegment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeSegment403.ts b/frontend/src/openapi/models/removeSegment403.ts index c4c54047f2..fc2192fff3 100644 --- a/frontend/src/openapi/models/removeSegment403.ts +++ b/frontend/src/openapi/models/removeSegment403.ts @@ -7,8 +7,8 @@ export type RemoveSegment403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeSegment409.ts b/frontend/src/openapi/models/removeSegment409.ts index 07207a449e..b0faf098c2 100644 --- a/frontend/src/openapi/models/removeSegment409.ts +++ b/frontend/src/openapi/models/removeSegment409.ts @@ -7,8 +7,8 @@ export type RemoveSegment409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy401.ts b/frontend/src/openapi/models/removeStrategy401.ts index a971fda587..a7a3022b8d 100644 --- a/frontend/src/openapi/models/removeStrategy401.ts +++ b/frontend/src/openapi/models/removeStrategy401.ts @@ -7,8 +7,8 @@ export type RemoveStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy403.ts b/frontend/src/openapi/models/removeStrategy403.ts index 1afc98bbdf..205e50cc96 100644 --- a/frontend/src/openapi/models/removeStrategy403.ts +++ b/frontend/src/openapi/models/removeStrategy403.ts @@ -7,8 +7,8 @@ export type RemoveStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy404.ts b/frontend/src/openapi/models/removeStrategy404.ts index 8dbd060d3a..61401aebff 100644 --- a/frontend/src/openapi/models/removeStrategy404.ts +++ b/frontend/src/openapi/models/removeStrategy404.ts @@ -7,8 +7,8 @@ export type RemoveStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeTag401.ts b/frontend/src/openapi/models/removeTag401.ts index 1c6f461ae8..6819d74a87 100644 --- a/frontend/src/openapi/models/removeTag401.ts +++ b/frontend/src/openapi/models/removeTag401.ts @@ -7,8 +7,8 @@ export type RemoveTag401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeTag403.ts b/frontend/src/openapi/models/removeTag403.ts index bafdfc1440..6c5f6b1855 100644 --- a/frontend/src/openapi/models/removeTag403.ts +++ b/frontend/src/openapi/models/removeTag403.ts @@ -7,8 +7,8 @@ export type RemoveTag403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeTag404.ts b/frontend/src/openapi/models/removeTag404.ts index 283384dcf2..c65cc1c93f 100644 --- a/frontend/src/openapi/models/removeTag404.ts +++ b/frontend/src/openapi/models/removeTag404.ts @@ -7,8 +7,8 @@ export type RemoveTag404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess401.ts b/frontend/src/openapi/models/removeUserAccess401.ts index 02dd4e1625..3670d15ad1 100644 --- a/frontend/src/openapi/models/removeUserAccess401.ts +++ b/frontend/src/openapi/models/removeUserAccess401.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess403.ts b/frontend/src/openapi/models/removeUserAccess403.ts index d8fe20a871..6bde8cbe0a 100644 --- a/frontend/src/openapi/models/removeUserAccess403.ts +++ b/frontend/src/openapi/models/removeUserAccess403.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess404.ts b/frontend/src/openapi/models/removeUserAccess404.ts index 6cee3b4d4d..e9dab937a6 100644 --- a/frontend/src/openapi/models/removeUserAccess404.ts +++ b/frontend/src/openapi/models/removeUserAccess404.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/requestsPerSecondSchema.ts b/frontend/src/openapi/models/requestsPerSecondSchema.ts index 9f51ac8886..af8055087e 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchema.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RequestsPerSecondSchemaData } from './requestsPerSecondSchemaData'; import type { RequestsPerSecondSchemaStatus } from './requestsPerSecondSchemaStatus'; +import type { RequestsPerSecondSchemaData } from './requestsPerSecondSchemaData'; /** * Statistics for usage of Unleash, formatted so it can easily be used in a graph */ export interface RequestsPerSecondSchema { - /** The query result from prometheus */ - data?: RequestsPerSecondSchemaData; /** Whether the query against prometheus succeeded or failed */ status?: RequestsPerSecondSchemaStatus; + /** The query result from prometheus */ + data?: RequestsPerSecondSchemaData; } diff --git a/frontend/src/openapi/models/requestsPerSecondSchemaData.ts b/frontend/src/openapi/models/requestsPerSecondSchemaData.ts index 7a997fe72a..e3bd59153e 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchemaData.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchemaData.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RequestsPerSecondSchemaDataResultItem } from './requestsPerSecondSchemaDataResultItem'; import type { RequestsPerSecondSchemaDataResultType } from './requestsPerSecondSchemaDataResultType'; +import type { RequestsPerSecondSchemaDataResultItem } from './requestsPerSecondSchemaDataResultItem'; /** * The query result from prometheus */ export type RequestsPerSecondSchemaData = { - /** An array of values per metric. Each one represents a line in the graph labeled by its metric name */ - result?: RequestsPerSecondSchemaDataResultItem[]; /** Prometheus compatible result type. */ resultType?: RequestsPerSecondSchemaDataResultType; + /** An array of values per metric. Each one represents a line in the graph labeled by its metric name */ + result?: RequestsPerSecondSchemaDataResultItem[]; }; diff --git a/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts b/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts index bb82b3a9a2..7a28b2480c 100644 --- a/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts +++ b/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts @@ -9,6 +9,6 @@ import type { RequestsPerSecondSchema } from './requestsPerSecondSchema'; * Get usage metrics separated by client and admin paths */ export interface RequestsPerSecondSegmentedSchema { - adminMetrics?: RequestsPerSecondSchema; clientMetrics?: RequestsPerSecondSchema; + adminMetrics?: RequestsPerSecondSchema; } diff --git a/frontend/src/openapi/models/resetUserPassword400.ts b/frontend/src/openapi/models/resetUserPassword400.ts index 2c14659304..e7853fbda3 100644 --- a/frontend/src/openapi/models/resetUserPassword400.ts +++ b/frontend/src/openapi/models/resetUserPassword400.ts @@ -7,8 +7,8 @@ export type ResetUserPassword400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword401.ts b/frontend/src/openapi/models/resetUserPassword401.ts index 1347e1e07e..3b3149f46a 100644 --- a/frontend/src/openapi/models/resetUserPassword401.ts +++ b/frontend/src/openapi/models/resetUserPassword401.ts @@ -7,8 +7,8 @@ export type ResetUserPassword401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword403.ts b/frontend/src/openapi/models/resetUserPassword403.ts index f009a3cd8f..ecb6d74e80 100644 --- a/frontend/src/openapi/models/resetUserPassword403.ts +++ b/frontend/src/openapi/models/resetUserPassword403.ts @@ -7,8 +7,8 @@ export type ResetUserPassword403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword404.ts b/frontend/src/openapi/models/resetUserPassword404.ts index 008a84e419..f7f1ef0bf7 100644 --- a/frontend/src/openapi/models/resetUserPassword404.ts +++ b/frontend/src/openapi/models/resetUserPassword404.ts @@ -7,8 +7,8 @@ export type ResetUserPassword404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/resourceLimitsSchema.ts b/frontend/src/openapi/models/resourceLimitsSchema.ts index f1cb18f695..65a1af2f0f 100644 --- a/frontend/src/openapi/models/resourceLimitsSchema.ts +++ b/frontend/src/openapi/models/resourceLimitsSchema.ts @@ -8,35 +8,38 @@ * A map of resource names and their limits. */ export interface ResourceLimitsSchema { + /** The maximum number of values per segment allowed. */ + segmentValues: number; + /** The maximum number of strategy segments allowed. */ + strategySegments: number; /** The maximum number of actions per action set allowed. */ actionSetActions: number; + /** The maximum number of action set definitions per project allowed. */ + actionSetsPerProject: number; /** The maximum number of filters per action set allowed. */ actionSetFilters: number; /** The maximum number of filter values inside an action set allowed. */ actionSetFilterValues: number; - /** The maximum number of action set definitions per project allowed. */ - actionSetsPerProject: number; - /** - * The maximum number of SDK and admin API tokens you can have at the same time. This limit applies only to server-side and client-side SDK tokens and to admin tokens. Personal access tokens are not subject to this limit. The limit applies to the total number of tokens across all projects in your organization. - * @minimum 0 - */ - apiTokens: number; - /** The maximum number of constraints in a single strategy. */ - constraints: number; + /** The maximum number of signal endpoints allowed. */ + signalEndpoints: number; + /** The maximum number of signal tokens per endpoint allowed. */ + signalTokensPerEndpoint: number; + /** The maximum number of feature environment strategies allowed. */ + featureEnvironmentStrategies: number; /** The maximum number of values for a single constraint. */ constraintValues: number; + /** The maximum number of constraints in a single strategy. */ + constraints: number; /** * The maximum number of environments allowed. * @minimum 1 */ environments: number; - /** The maximum number of feature environment strategies allowed. */ - featureEnvironmentStrategies: number; /** - * The maximum number of feature flags you can have at the same time. Archived flags do not count towards this limit. - * @minimum 1 + * The maximum number of SDK and admin API tokens you can have at the same time. This limit applies only to server-side and client-side SDK tokens and to admin tokens. Personal access tokens are not subject to this limit. The limit applies to the total number of tokens across all projects in your organization. + * @minimum 0 */ - featureFlags: number; + apiTokens: number; /** * The maximum number of projects allowed. * @minimum 1 @@ -44,12 +47,9 @@ export interface ResourceLimitsSchema { projects: number; /** The maximum number of segments allowed. */ segments: number; - /** The maximum number of values per segment allowed. */ - segmentValues: number; - /** The maximum number of signal endpoints allowed. */ - signalEndpoints: number; - /** The maximum number of signal tokens per endpoint allowed. */ - signalTokensPerEndpoint: number; - /** The maximum number of strategy segments allowed. */ - strategySegments: number; + /** + * The maximum number of feature flags you can have at the same time. Archived flags do not count towards this limit. + * @minimum 1 + */ + featureFlags: number; } diff --git a/frontend/src/openapi/models/reviveFeature400.ts b/frontend/src/openapi/models/reviveFeature400.ts index 877f9afe2a..4074712b3a 100644 --- a/frontend/src/openapi/models/reviveFeature400.ts +++ b/frontend/src/openapi/models/reviveFeature400.ts @@ -7,8 +7,8 @@ export type ReviveFeature400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveFeature401.ts b/frontend/src/openapi/models/reviveFeature401.ts index 89cf4a8626..35f611e8c9 100644 --- a/frontend/src/openapi/models/reviveFeature401.ts +++ b/frontend/src/openapi/models/reviveFeature401.ts @@ -7,8 +7,8 @@ export type ReviveFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveFeature403.ts b/frontend/src/openapi/models/reviveFeature403.ts index b0d36417ab..5cca898ad3 100644 --- a/frontend/src/openapi/models/reviveFeature403.ts +++ b/frontend/src/openapi/models/reviveFeature403.ts @@ -7,8 +7,8 @@ export type ReviveFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures400.ts b/frontend/src/openapi/models/reviveFeatures400.ts index d46bf22264..f66411c624 100644 --- a/frontend/src/openapi/models/reviveFeatures400.ts +++ b/frontend/src/openapi/models/reviveFeatures400.ts @@ -7,8 +7,8 @@ export type ReviveFeatures400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures401.ts b/frontend/src/openapi/models/reviveFeatures401.ts index 43d0dae7f8..8dc384b562 100644 --- a/frontend/src/openapi/models/reviveFeatures401.ts +++ b/frontend/src/openapi/models/reviveFeatures401.ts @@ -7,8 +7,8 @@ export type ReviveFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures403.ts b/frontend/src/openapi/models/reviveFeatures403.ts index af925377ca..e285e8f17f 100644 --- a/frontend/src/openapi/models/reviveFeatures403.ts +++ b/frontend/src/openapi/models/reviveFeatures403.ts @@ -7,8 +7,8 @@ export type ReviveFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveProject400.ts b/frontend/src/openapi/models/reviveProject400.ts index de5fd202a7..48b40080cc 100644 --- a/frontend/src/openapi/models/reviveProject400.ts +++ b/frontend/src/openapi/models/reviveProject400.ts @@ -7,8 +7,8 @@ export type ReviveProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveProject401.ts b/frontend/src/openapi/models/reviveProject401.ts index e29b10930a..2f05529792 100644 --- a/frontend/src/openapi/models/reviveProject401.ts +++ b/frontend/src/openapi/models/reviveProject401.ts @@ -7,8 +7,8 @@ export type ReviveProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/reviveProject403.ts b/frontend/src/openapi/models/reviveProject403.ts index 4706f88fe2..e1e9881711 100644 --- a/frontend/src/openapi/models/reviveProject403.ts +++ b/frontend/src/openapi/models/reviveProject403.ts @@ -7,8 +7,8 @@ export type ReviveProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/roleSchema.ts b/frontend/src/openapi/models/roleSchema.ts index f2dde1bc17..0d0d62639a 100644 --- a/frontend/src/openapi/models/roleSchema.ts +++ b/frontend/src/openapi/models/roleSchema.ts @@ -8,20 +8,20 @@ * A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform */ export interface RoleSchema { - /** A more detailed description of the role and what use it's intended for */ - description?: string; /** * The role id * @minimum 0 */ id: number; + /** A role can either be a global root role (applies to all projects) or a project role */ + type: string; /** The name of the role */ name: string; + /** A more detailed description of the role and what use it's intended for */ + description?: string; /** * What project the role belongs to * @nullable */ project?: string | null; - /** A role can either be a global root role (applies to all projects) or a project role */ - type: string; } diff --git a/frontend/src/openapi/models/roleWithPermissionsSchema.ts b/frontend/src/openapi/models/roleWithPermissionsSchema.ts index c6f4b368fb..5575ae849f 100644 --- a/frontend/src/openapi/models/roleWithPermissionsSchema.ts +++ b/frontend/src/openapi/models/roleWithPermissionsSchema.ts @@ -9,14 +9,14 @@ import type { AdminPermissionSchema } from './adminPermissionSchema'; * A read model for the role and permissions to allow Unleash to decide what actions a role holder is allowed to perform */ export interface RoleWithPermissionsSchema { - /** A more detailed description of the role and what use it's intended for */ - description?: string; /** The role id */ id: number; - /** The name of the role */ - name: string; - /** A list of permissions assigned to this role */ - permissions: AdminPermissionSchema[]; /** A role can either be a global `root` role, or a `project` role or a `custom` project role or a custom global `root-custom` role */ type: string; + /** The name of the role */ + name: string; + /** A more detailed description of the role and what use it's intended for */ + description?: string; + /** A list of permissions assigned to this role */ + permissions: AdminPermissionSchema[]; } diff --git a/frontend/src/openapi/models/roleWithVersionSchema.ts b/frontend/src/openapi/models/roleWithVersionSchema.ts index 47dc4f460c..3d6a19166f 100644 --- a/frontend/src/openapi/models/roleWithVersionSchema.ts +++ b/frontend/src/openapi/models/roleWithVersionSchema.ts @@ -9,11 +9,11 @@ import type { RoleSchema } from './roleSchema'; * A single user role received after creation or update of a role */ export interface RoleWithVersionSchema { - /** A single role */ - roles: RoleSchema; /** * The version of this schema * @minimum 1 */ version: number; + /** A single role */ + roles: RoleSchema; } diff --git a/frontend/src/openapi/models/rolesSchema.ts b/frontend/src/openapi/models/rolesSchema.ts index 562b1100dc..f4e26b3c88 100644 --- a/frontend/src/openapi/models/rolesSchema.ts +++ b/frontend/src/openapi/models/rolesSchema.ts @@ -9,11 +9,11 @@ import type { RoleSchema } from './roleSchema'; * A list of roles */ export interface RolesSchema { - /** A list of roles */ - roles: RoleSchema[]; /** * The version of the role schema used * @minimum 1 */ version: number; + /** A list of roles */ + roles: RoleSchema[]; } diff --git a/frontend/src/openapi/models/rolesWithVersionSchema.ts b/frontend/src/openapi/models/rolesWithVersionSchema.ts index 93ffcfe035..5be8d11a37 100644 --- a/frontend/src/openapi/models/rolesWithVersionSchema.ts +++ b/frontend/src/openapi/models/rolesWithVersionSchema.ts @@ -9,11 +9,11 @@ import type { RoleSchema } from './roleSchema'; * A collection of user roles */ export interface RolesWithVersionSchema { - /** A list of roles */ - roles: RoleSchema[]; /** * The version of this schema * @minimum 1 */ version: number; + /** A list of roles */ + roles: RoleSchema[]; } diff --git a/frontend/src/openapi/models/samlSettingsResponseSchema.ts b/frontend/src/openapi/models/samlSettingsResponseSchema.ts index 90bf894be6..ecd96159e9 100644 --- a/frontend/src/openapi/models/samlSettingsResponseSchema.ts +++ b/frontend/src/openapi/models/samlSettingsResponseSchema.ts @@ -9,28 +9,28 @@ import type { SamlSettingsResponseSchemaDefaultRootRole } from './samlSettingsRe * Response for SAML settings */ export interface SamlSettingsResponseSchema { - /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ - autoCreate?: boolean; - /** The X509 certificate used to validate requests */ - certificate?: string; - /** Assign this root role to auto created users */ - defaultRootRole?: SamlSettingsResponseSchemaDefaultRootRole; - /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ - defaultRootRoleId?: number; - /** A comma separated list of email domains that Unleash will auto create user accounts for. */ - emailDomains?: string; /** Whether to enable or disable SAML 2.0 for this instance */ enabled?: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; /** The SAML 2.0 entity ID */ entityId?: string; - /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ - groupJsonPath?: string; /** Which URL to use for Single Sign On */ signOnUrl?: string; + /** The X509 certificate used to validate requests */ + certificate?: string; /** Which URL to use for Single Sign Out */ signOutUrl?: string; /** Signing certificate for sign out requests */ spCertificate?: string; + /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ + autoCreate?: boolean; + /** A comma separated list of email domains that Unleash will auto create user accounts for. */ + emailDomains?: string; + /** Assign this root role to auto created users */ + defaultRootRole?: SamlSettingsResponseSchemaDefaultRootRole; + /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ + defaultRootRoleId?: number; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ + groupJsonPath?: string; } diff --git a/frontend/src/openapi/models/samlSettingsSchemaOneOf.ts b/frontend/src/openapi/models/samlSettingsSchemaOneOf.ts index ee1de95c41..25bffc2228 100644 --- a/frontend/src/openapi/models/samlSettingsSchemaOneOf.ts +++ b/frontend/src/openapi/models/samlSettingsSchemaOneOf.ts @@ -6,28 +6,28 @@ import type { SamlSettingsSchemaOneOfDefaultRootRole } from './samlSettingsSchemaOneOfDefaultRootRole'; export type SamlSettingsSchemaOneOf = { - /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ - autoCreate?: boolean; - /** The X509 certificate used to validate requests */ - certificate: string; - /** Assign this root role to auto created users */ - defaultRootRole?: SamlSettingsSchemaOneOfDefaultRootRole; - /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ - defaultRootRoleId?: number; - /** A comma separated list of email domains that Unleash will auto create user accounts for. */ - emailDomains?: string; /** Whether to enable or disable SAML 2.0 for this instance */ enabled?: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; /** The SAML 2.0 entity ID */ entityId: string; - /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ - groupJsonPath?: string; /** Which URL to use for Single Sign On */ signOnUrl: string; + /** The X509 certificate used to validate requests */ + certificate: string; /** Which URL to use for Single Sign Out */ signOutUrl?: string; /** Signing certificate for sign out requests */ spCertificate?: string; + /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ + autoCreate?: boolean; + /** A comma separated list of email domains that Unleash will auto create user accounts for. */ + emailDomains?: string; + /** Assign this root role to auto created users */ + defaultRootRole?: SamlSettingsSchemaOneOfDefaultRootRole; + /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ + defaultRootRoleId?: number; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ + groupJsonPath?: string; }; diff --git a/frontend/src/openapi/models/samlSettingsSchemaOneOfThree.ts b/frontend/src/openapi/models/samlSettingsSchemaOneOfThree.ts index 8fcb26d0e4..e577e1e195 100644 --- a/frontend/src/openapi/models/samlSettingsSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/samlSettingsSchemaOneOfThree.ts @@ -6,28 +6,28 @@ import type { SamlSettingsSchemaOneOfThreeDefaultRootRole } from './samlSettingsSchemaOneOfThreeDefaultRootRole'; export type SamlSettingsSchemaOneOfThree = { - /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ - autoCreate?: boolean; - /** The X509 certificate used to validate requests */ - certificate?: string; - /** Assign this root role to auto created users */ - defaultRootRole?: SamlSettingsSchemaOneOfThreeDefaultRootRole; - /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ - defaultRootRoleId?: number; - /** A comma separated list of email domains that Unleash will auto create user accounts for. */ - emailDomains?: string; /** Whether to enable or disable SAML 2.0 for this instance */ enabled?: boolean; - /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ - enableGroupSyncing?: boolean; /** The SAML 2.0 entity ID */ entityId?: string; - /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ - groupJsonPath?: string; /** Which URL to use for Single Sign On */ signOnUrl?: string; + /** The X509 certificate used to validate requests */ + certificate?: string; /** Which URL to use for Single Sign Out */ signOutUrl?: string; /** Signing certificate for sign out requests */ spCertificate?: string; + /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ + autoCreate?: boolean; + /** A comma separated list of email domains that Unleash will auto create user accounts for. */ + emailDomains?: string; + /** Assign this root role to auto created users */ + defaultRootRole?: SamlSettingsSchemaOneOfThreeDefaultRootRole; + /** Assign this root role to auto created users. Should be a role ID and takes precedence over `defaultRootRole`. */ + defaultRootRoleId?: number; + /** Should we enable group syncing. Refer to the documentation [Group syncing](https://docs.getunleash.io/how-to/how-to-set-up-group-sso-sync) */ + enableGroupSyncing?: boolean; + /** Specifies the path in the SAML token response from which to read the groups the user belongs to. */ + groupJsonPath?: string; }; diff --git a/frontend/src/openapi/models/scheduledChangeRequestViewModelSchema.ts b/frontend/src/openapi/models/scheduledChangeRequestViewModelSchema.ts index 65975d25eb..f8e0f9b3a9 100644 --- a/frontend/src/openapi/models/scheduledChangeRequestViewModelSchema.ts +++ b/frontend/src/openapi/models/scheduledChangeRequestViewModelSchema.ts @@ -8,10 +8,10 @@ * A change request view model, used in the UI to identify change requests in conflict */ export interface ScheduledChangeRequestViewModelSchema { - /** The environment of the change request */ - environment: string; /** The change request id */ id: number; + /** The environment of the change request */ + environment: string; /** The change request title */ title?: string; } diff --git a/frontend/src/openapi/models/searchFeatures401.ts b/frontend/src/openapi/models/searchFeatures401.ts index 670aba3d09..3a3cb00fc2 100644 --- a/frontend/src/openapi/models/searchFeatures401.ts +++ b/frontend/src/openapi/models/searchFeatures401.ts @@ -7,8 +7,8 @@ export type SearchFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/searchFeatures403.ts b/frontend/src/openapi/models/searchFeatures403.ts index 1d280f0b42..547f2fe96f 100644 --- a/frontend/src/openapi/models/searchFeatures403.ts +++ b/frontend/src/openapi/models/searchFeatures403.ts @@ -7,8 +7,8 @@ export type SearchFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/searchFeatures404.ts b/frontend/src/openapi/models/searchFeatures404.ts index 3ecd5ececc..3f95b00e07 100644 --- a/frontend/src/openapi/models/searchFeatures404.ts +++ b/frontend/src/openapi/models/searchFeatures404.ts @@ -7,8 +7,8 @@ export type SearchFeatures404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/searchUsers401.ts b/frontend/src/openapi/models/searchUsers401.ts index 7870930ea5..fc376453b5 100644 --- a/frontend/src/openapi/models/searchUsers401.ts +++ b/frontend/src/openapi/models/searchUsers401.ts @@ -7,8 +7,8 @@ export type SearchUsers401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/segmentSchema.ts b/frontend/src/openapi/models/segmentSchema.ts index b303a54f32..af19498783 100644 --- a/frontend/src/openapi/models/segmentSchema.ts +++ b/frontend/src/openapi/models/segmentSchema.ts @@ -9,21 +9,21 @@ import type { ConstraintSchema } from './constraintSchema'; * Represents a segment of users defined by a set of constraints. */ export interface SegmentSchema { + /** The segment's id. */ + id: number; + /** The name of the segment. */ + name?: string; /** List of constraints that determine which users are part of the segment */ constraints: ConstraintSchema[]; - /** The time the segment was created as a RFC 3339-conformant timestamp. */ - createdAt?: string; - /** Which user created this segment */ - createdBy?: string; /** * The description of the segment. * @nullable */ description?: string | null; - /** The segment's id. */ - id: number; - /** The name of the segment. */ - name?: string; + /** The time the segment was created as a RFC 3339-conformant timestamp. */ + createdAt?: string; + /** Which user created this segment */ + createdBy?: string; /** * The project the segment relates to, if applicable. * @nullable diff --git a/frontend/src/openapi/models/segmentStrategiesSchema.ts b/frontend/src/openapi/models/segmentStrategiesSchema.ts index aae9d051b5..7ef212bb18 100644 --- a/frontend/src/openapi/models/segmentStrategiesSchema.ts +++ b/frontend/src/openapi/models/segmentStrategiesSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { SegmentStrategiesSchemaChangeRequestStrategiesItem } from './segmentStrategiesSchemaChangeRequestStrategiesItem'; import type { SegmentStrategiesSchemaStrategiesItem } from './segmentStrategiesSchemaStrategiesItem'; +import type { SegmentStrategiesSchemaChangeRequestStrategiesItem } from './segmentStrategiesSchemaChangeRequestStrategiesItem'; /** * A collection of strategies belonging to a specified segment. */ export interface SegmentStrategiesSchema { - /** A list of strategies that use this segment in active change requests. */ - changeRequestStrategies?: SegmentStrategiesSchemaChangeRequestStrategiesItem[]; /** The list of strategies */ strategies: SegmentStrategiesSchemaStrategiesItem[]; + /** A list of strategies that use this segment in active change requests. */ + changeRequestStrategies?: SegmentStrategiesSchemaChangeRequestStrategiesItem[]; } diff --git a/frontend/src/openapi/models/segmentStrategiesSchemaChangeRequestStrategiesItem.ts b/frontend/src/openapi/models/segmentStrategiesSchemaChangeRequestStrategiesItem.ts index ea156ff15a..03a7ec5fe1 100644 --- a/frontend/src/openapi/models/segmentStrategiesSchemaChangeRequestStrategiesItem.ts +++ b/frontend/src/openapi/models/segmentStrategiesSchemaChangeRequestStrategiesItem.ts @@ -5,14 +5,14 @@ */ export type SegmentStrategiesSchemaChangeRequestStrategiesItem = { - /** The ID of the environment that the strategy belongs to. */ - environment: string; - /** The name of the feature flag that this strategy belongs to. */ - featureName: string; /** The ID of the strategy. Not present on new strategies that haven't been added to the feature flag yet. */ id?: string; + /** The name of the feature flag that this strategy belongs to. */ + featureName: string; /** The ID of the project that the strategy belongs to. */ projectId: string; + /** The ID of the environment that the strategy belongs to. */ + environment: string; /** The name of the strategy's type. */ strategyName: string; }; diff --git a/frontend/src/openapi/models/segmentStrategiesSchemaStrategiesItem.ts b/frontend/src/openapi/models/segmentStrategiesSchemaStrategiesItem.ts index f5bf9296bc..e462d846f3 100644 --- a/frontend/src/openapi/models/segmentStrategiesSchemaStrategiesItem.ts +++ b/frontend/src/openapi/models/segmentStrategiesSchemaStrategiesItem.ts @@ -5,14 +5,14 @@ */ export type SegmentStrategiesSchemaStrategiesItem = { - /** The ID of the environment that the strategy belongs to. */ - environment: string; - /** The name of the feature flag that this strategy belongs to. */ - featureName: string; /** The ID of the strategy */ id: string; + /** The name of the feature flag that this strategy belongs to. */ + featureName: string; /** The ID of the project that the strategy belongs to. */ projectId: string; + /** The ID of the environment that the strategy belongs to. */ + environment: string; /** The name of the strategy's type. */ strategyName: string; }; diff --git a/frontend/src/openapi/models/sendResetPasswordEmail401.ts b/frontend/src/openapi/models/sendResetPasswordEmail401.ts index 578397a57c..6a229e96f9 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail401.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail401.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/sendResetPasswordEmail404.ts b/frontend/src/openapi/models/sendResetPasswordEmail404.ts index 4720764ff0..744f70cd3e 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail404.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail404.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/sendResetPasswordEmail415.ts b/frontend/src/openapi/models/sendResetPasswordEmail415.ts index 5a10419051..e7db5da8b6 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail415.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail415.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/serviceAccountSchema.ts b/frontend/src/openapi/models/serviceAccountSchema.ts index 0ff55ea182..ecec487ae8 100644 --- a/frontend/src/openapi/models/serviceAccountSchema.ts +++ b/frontend/src/openapi/models/serviceAccountSchema.ts @@ -9,20 +9,22 @@ import type { PatSchema } from './patSchema'; * Represents a [service account](https://docs.getunleash.io/reference/service-accounts). Service accounts are used to let systems interact with the Unleash API. */ export interface ServiceAccountSchema { - /** The service account creation date */ - createdAt?: string; + /** The service account id */ + id: number; + /** + * Deprecated: for internal use only, should not be exposed through the API + * @deprecated + */ + isAPI?: boolean; + /** The name of the service account */ + name?: string; /** * Deprecated: service accounts don't have emails associated with them * @deprecated */ email?: string; - /** - * Deprecated: internal use only - * @deprecated - */ - emailSent?: boolean; - /** The service account id */ - id: number; + /** The service account username */ + username?: string; /** The service account image url */ imageUrl?: string; /** @@ -30,18 +32,16 @@ export interface ServiceAccountSchema { * @deprecated */ inviteLink?: string; - /** - * Deprecated: for internal use only, should not be exposed through the API - * @deprecated - */ - isAPI?: boolean; /** * Deprecated: service accounts cannot log in to Unleash * @deprecated */ loginAttempts?: number; - /** The name of the service account */ - name?: string; + /** + * Deprecated: internal use only + * @deprecated + */ + emailSent?: boolean; /** The root role id associated with the service account */ rootRole?: number; /** @@ -50,8 +50,8 @@ export interface ServiceAccountSchema { * @nullable */ seenAt?: string | null; + /** The service account creation date */ + createdAt?: string; /** The list of tokens associated with the service account */ tokens?: PatSchema[]; - /** The service account username */ - username?: string; } diff --git a/frontend/src/openapi/models/serviceAccountsSchema.ts b/frontend/src/openapi/models/serviceAccountsSchema.ts index 35234e8aea..11662c307f 100644 --- a/frontend/src/openapi/models/serviceAccountsSchema.ts +++ b/frontend/src/openapi/models/serviceAccountsSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RoleSchema } from './roleSchema'; import type { ServiceAccountSchema } from './serviceAccountSchema'; +import type { RoleSchema } from './roleSchema'; /** * Represents a list of service accounts, and includes a list of root roles they reference */ export interface ServiceAccountsSchema { - /** A list of root roles that are referenced from service account objects in the `serviceAccounts` list */ - rootRoles?: RoleSchema[]; /** A list of service accounts */ serviceAccounts: ServiceAccountSchema[]; + /** A list of root roles that are referenced from service account objects in the `serviceAccounts` list */ + rootRoles?: RoleSchema[]; } 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/setOidcSettings400.ts b/frontend/src/openapi/models/setOidcSettings400.ts deleted file mode 100644 index 05bb154d51..0000000000 --- a/frontend/src/openapi/models/setOidcSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetOidcSettings400 = { - /** 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/setOidcSettings401.ts b/frontend/src/openapi/models/setOidcSettings401.ts deleted file mode 100644 index 19e3218baf..0000000000 --- a/frontend/src/openapi/models/setOidcSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetOidcSettings401 = { - /** 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/setOidcSettings403.ts b/frontend/src/openapi/models/setOidcSettings403.ts deleted file mode 100644 index 321c4c58dc..0000000000 --- a/frontend/src/openapi/models/setOidcSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetOidcSettings403 = { - /** 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/setOidcSettings415.ts b/frontend/src/openapi/models/setOidcSettings415.ts deleted file mode 100644 index bdb2e1e064..0000000000 --- a/frontend/src/openapi/models/setOidcSettings415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetOidcSettings415 = { - /** 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/setProjectAccess401.ts b/frontend/src/openapi/models/setProjectAccess401.ts index e9d788c6fd..610c8a36a2 100644 --- a/frontend/src/openapi/models/setProjectAccess401.ts +++ b/frontend/src/openapi/models/setProjectAccess401.ts @@ -7,8 +7,8 @@ export type SetProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setProjectAccess403.ts b/frontend/src/openapi/models/setProjectAccess403.ts index 9b0a28a35b..ca96619399 100644 --- a/frontend/src/openapi/models/setProjectAccess403.ts +++ b/frontend/src/openapi/models/setProjectAccess403.ts @@ -7,8 +7,8 @@ export type SetProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup401.ts b/frontend/src/openapi/models/setRolesForGroup401.ts index e284e4ad11..dab7d40eec 100644 --- a/frontend/src/openapi/models/setRolesForGroup401.ts +++ b/frontend/src/openapi/models/setRolesForGroup401.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup403.ts b/frontend/src/openapi/models/setRolesForGroup403.ts index 20b8e6c3a1..751578082b 100644 --- a/frontend/src/openapi/models/setRolesForGroup403.ts +++ b/frontend/src/openapi/models/setRolesForGroup403.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup404.ts b/frontend/src/openapi/models/setRolesForGroup404.ts index 09eacaa732..0199a08180 100644 --- a/frontend/src/openapi/models/setRolesForGroup404.ts +++ b/frontend/src/openapi/models/setRolesForGroup404.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser401.ts b/frontend/src/openapi/models/setRolesForUser401.ts index 0059c1b1b1..2a55d880cf 100644 --- a/frontend/src/openapi/models/setRolesForUser401.ts +++ b/frontend/src/openapi/models/setRolesForUser401.ts @@ -7,8 +7,8 @@ export type SetRolesForUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser403.ts b/frontend/src/openapi/models/setRolesForUser403.ts index c2a11e7472..4469f4b8a3 100644 --- a/frontend/src/openapi/models/setRolesForUser403.ts +++ b/frontend/src/openapi/models/setRolesForUser403.ts @@ -7,8 +7,8 @@ export type SetRolesForUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser404.ts b/frontend/src/openapi/models/setRolesForUser404.ts index 51cb0c79b5..262a554b02 100644 --- a/frontend/src/openapi/models/setRolesForUser404.ts +++ b/frontend/src/openapi/models/setRolesForUser404.ts @@ -7,8 +7,8 @@ export type SetRolesForUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setSamlSettings400.ts b/frontend/src/openapi/models/setSamlSettings400.ts deleted file mode 100644 index 1472a24f1b..0000000000 --- a/frontend/src/openapi/models/setSamlSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSamlSettings400 = { - /** 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/setSamlSettings401.ts b/frontend/src/openapi/models/setSamlSettings401.ts deleted file mode 100644 index e22f1fe12a..0000000000 --- a/frontend/src/openapi/models/setSamlSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSamlSettings401 = { - /** 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/setSamlSettings403.ts b/frontend/src/openapi/models/setSamlSettings403.ts deleted file mode 100644 index 8d59c8da8c..0000000000 --- a/frontend/src/openapi/models/setSamlSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSamlSettings403 = { - /** 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/setSamlSettings415.ts b/frontend/src/openapi/models/setSamlSettings415.ts deleted file mode 100644 index bdc018eb7c..0000000000 --- a/frontend/src/openapi/models/setSamlSettings415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSamlSettings415 = { - /** 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/setScimSettings400.ts b/frontend/src/openapi/models/setScimSettings400.ts deleted file mode 100644 index c1b2f4fc81..0000000000 --- a/frontend/src/openapi/models/setScimSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetScimSettings400 = { - /** 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/setScimSettings401.ts b/frontend/src/openapi/models/setScimSettings401.ts deleted file mode 100644 index 5a225a645d..0000000000 --- a/frontend/src/openapi/models/setScimSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetScimSettings401 = { - /** 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/setScimSettings403.ts b/frontend/src/openapi/models/setScimSettings403.ts deleted file mode 100644 index 895c95623d..0000000000 --- a/frontend/src/openapi/models/setScimSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetScimSettings403 = { - /** 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/setScimSettings415.ts b/frontend/src/openapi/models/setScimSettings415.ts deleted file mode 100644 index 1898bf2a58..0000000000 --- a/frontend/src/openapi/models/setScimSettings415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetScimSettings415 = { - /** 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/setSimpleSettings400.ts b/frontend/src/openapi/models/setSimpleSettings400.ts deleted file mode 100644 index ee24ab281a..0000000000 --- a/frontend/src/openapi/models/setSimpleSettings400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSimpleSettings400 = { - /** 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/setSimpleSettings401.ts b/frontend/src/openapi/models/setSimpleSettings401.ts deleted file mode 100644 index 777ba145b8..0000000000 --- a/frontend/src/openapi/models/setSimpleSettings401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSimpleSettings401 = { - /** 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/setSimpleSettings403.ts b/frontend/src/openapi/models/setSimpleSettings403.ts deleted file mode 100644 index eb0d1c77f2..0000000000 --- a/frontend/src/openapi/models/setSimpleSettings403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSimpleSettings403 = { - /** 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/setSimpleSettings415.ts b/frontend/src/openapi/models/setSimpleSettings415.ts deleted file mode 100644 index d31c737349..0000000000 --- a/frontend/src/openapi/models/setSimpleSettings415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type SetSimpleSettings415 = { - /** 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/setStrategySortOrder400.ts b/frontend/src/openapi/models/setStrategySortOrder400.ts index 9ede36002a..e52ee05c73 100644 --- a/frontend/src/openapi/models/setStrategySortOrder400.ts +++ b/frontend/src/openapi/models/setStrategySortOrder400.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setStrategySortOrder401.ts b/frontend/src/openapi/models/setStrategySortOrder401.ts index 3fac7f4bc0..ef0d8d7615 100644 --- a/frontend/src/openapi/models/setStrategySortOrder401.ts +++ b/frontend/src/openapi/models/setStrategySortOrder401.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/setStrategySortOrder403.ts b/frontend/src/openapi/models/setStrategySortOrder403.ts index 8892808bf0..f7cbd53edb 100644 --- a/frontend/src/openapi/models/setStrategySortOrder403.ts +++ b/frontend/src/openapi/models/setStrategySortOrder403.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/signalEndpointSchema.ts b/frontend/src/openapi/models/signalEndpointSchema.ts index fff2f178b2..7efa49f3ae 100644 --- a/frontend/src/openapi/models/signalEndpointSchema.ts +++ b/frontend/src/openapi/models/signalEndpointSchema.ts @@ -9,26 +9,26 @@ import type { SignalEndpointTokenSchema } from './signalEndpointTokenSchema'; * An object describing a signal endpoint. */ export interface SignalEndpointSchema { - /** The date and time of when the signal endpoint was created. */ - createdAt: string; - /** The ID of the user that created this signal endpoint. */ - createdByUserId: number; - /** - * A more detailed description of the signal endpoint and its intended use. - * @nullable - */ - description?: string | null; - /** Whether the signal endpoint is currently enabled. If not specified, defaults to true. */ - enabled: boolean; /** * The signal endpoint's ID. Signal endpoint IDs are incrementing integers. In other words, a more recently created signal endpoint will always have a higher ID than an older one. * @minimum 1 */ id: number; + /** Whether the signal endpoint is currently enabled. If not specified, defaults to true. */ + enabled: boolean; /** The signal endpoint name. Must be URL-safe. */ name: string; - /** The list of tokens associated with the signal endpoint. */ - tokens?: SignalEndpointTokenSchema[]; + /** + * A more detailed description of the signal endpoint and its intended use. + * @nullable + */ + description?: string | null; + /** The date and time of when the signal endpoint was created. */ + createdAt: string; + /** The ID of the user that created this signal endpoint. */ + createdByUserId: number; /** The full URL that should be used to call the signal endpoint. This property is only returned for newly created or updated signal endpoints. */ url?: string; + /** The list of tokens associated with the signal endpoint. */ + tokens?: SignalEndpointTokenSchema[]; } diff --git a/frontend/src/openapi/models/signalEndpointSignalSchema.ts b/frontend/src/openapi/models/signalEndpointSignalSchema.ts index 6d9e272014..6e41bf2889 100644 --- a/frontend/src/openapi/models/signalEndpointSignalSchema.ts +++ b/frontend/src/openapi/models/signalEndpointSignalSchema.ts @@ -10,8 +10,6 @@ import type { SignalEndpointSignalSchemaSource } from './signalEndpointSignalSch * An object describing a signal originated from a signal endpoint. */ export interface SignalEndpointSignalSchema { - /** The date and time of when the signal was created. */ - createdAt: string; /** * The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one. * @minimum 1 @@ -19,6 +17,8 @@ export interface SignalEndpointSignalSchema { id?: number; /** The payload of the signal. */ payload?: SignalEndpointSignalSchemaPayload; + /** The date and time of when the signal was created. */ + createdAt: string; /** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */ source: SignalEndpointSignalSchemaSource; /** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */ diff --git a/frontend/src/openapi/models/signalEndpointTokenSchema.ts b/frontend/src/openapi/models/signalEndpointTokenSchema.ts index 45a331db02..4e8ee593b5 100644 --- a/frontend/src/openapi/models/signalEndpointTokenSchema.ts +++ b/frontend/src/openapi/models/signalEndpointTokenSchema.ts @@ -8,19 +8,19 @@ * An object describing a signal endpoint token. */ export interface SignalEndpointTokenSchema { - /** The date and time of when the signal endpoint token was created. */ - createdAt: string; - /** The ID of the user that created this signal endpoint token. */ - createdByUserId: number; /** * The signal endpoint token's ID. Signal endpoint token IDs are incrementing integers. In other words, a more recently created signal endpoint token will always have a higher ID than an older one. * @minimum 1 */ id: number; + /** The token used for authentication. It is automatically generated by Unleash when the token is created and that is the only time this property is returned. */ + token?: string; /** The signal endpoint token name. */ name: string; /** The signal endpoint ID that this token belongs to. */ signalEndpointId: number; - /** The token used for authentication. It is automatically generated by Unleash when the token is created and that is the only time this property is returned. */ - token?: string; + /** The date and time of when the signal endpoint token was created. */ + createdAt: string; + /** The ID of the user that created this signal endpoint token. */ + createdByUserId: number; } diff --git a/frontend/src/openapi/models/signalQuerySignalSchema.ts b/frontend/src/openapi/models/signalQuerySignalSchema.ts index e0bc1c1bcf..060509675c 100644 --- a/frontend/src/openapi/models/signalQuerySignalSchema.ts +++ b/frontend/src/openapi/models/signalQuerySignalSchema.ts @@ -10,8 +10,6 @@ import type { SignalQuerySignalSchemaSource } from './signalQuerySignalSchemaSou * An object describing a signal enriched with source data. */ export interface SignalQuerySignalSchema { - /** The date and time of when the signal was created. */ - createdAt: string; /** * The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one. * @minimum 1 @@ -19,23 +17,25 @@ export interface SignalQuerySignalSchema { id: number; /** The payload of the signal. */ payload?: SignalQuerySignalSchemaPayload; + /** The date and time of when the signal was created. */ + createdAt: string; /** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */ source: SignalQuerySignalSchemaSource; - /** - * A more detailed description of the source that registered this signal. - * @nullable - */ - sourceDescription?: string | null; /** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */ sourceId: number; + /** + * The name of the token used to register this signal. + * @nullable + */ + tokenName?: string | null; /** * The name of the source that registered this signal. * @nullable */ sourceName?: string | null; /** - * The name of the token used to register this signal. + * A more detailed description of the source that registered this signal. * @nullable */ - tokenName?: string | null; + sourceDescription?: string | null; } diff --git a/frontend/src/openapi/models/signalSchema.ts b/frontend/src/openapi/models/signalSchema.ts index bd05ec0a7f..ebd85e4b4a 100644 --- a/frontend/src/openapi/models/signalSchema.ts +++ b/frontend/src/openapi/models/signalSchema.ts @@ -10,13 +10,6 @@ import type { SignalSchemaSource } from './signalSchemaSource'; * An object describing a signal. */ export interface SignalSchema { - /** The date and time of when the signal was created. */ - createdAt: string; - /** - * The ID of the source token that created this signal. Only present if the signal was created by a signal endpoint. - * @nullable - */ - createdBySourceTokenId?: number | null; /** * The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one. * @minimum 1 @@ -24,8 +17,15 @@ export interface SignalSchema { id: number; /** The payload of the signal. */ payload?: SignalSchemaPayload; + /** The date and time of when the signal was created. */ + createdAt: string; /** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */ source: SignalSchemaSource; /** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */ sourceId: number; + /** + * The ID of the source token that created this signal. Only present if the signal was created by a signal endpoint. + * @nullable + */ + createdBySourceTokenId?: number | null; } diff --git a/frontend/src/openapi/models/splashRequestSchema.ts b/frontend/src/openapi/models/splashRequestSchema.ts index 95ad7a8dcc..22944066c0 100644 --- a/frontend/src/openapi/models/splashRequestSchema.ts +++ b/frontend/src/openapi/models/splashRequestSchema.ts @@ -8,8 +8,8 @@ * Data related to a user having seen a splash screen. */ export interface SplashRequestSchema { - /** The ID of the splash screen that was shown. */ - splashId: string; /** The ID of the user that was shown the splash screen. */ userId: number; + /** The ID of the splash screen that was shown. */ + splashId: string; } diff --git a/frontend/src/openapi/models/splashResponseSchema.ts b/frontend/src/openapi/models/splashResponseSchema.ts index 10ed76a077..af498a097a 100644 --- a/frontend/src/openapi/models/splashResponseSchema.ts +++ b/frontend/src/openapi/models/splashResponseSchema.ts @@ -8,10 +8,10 @@ * Data related to a user having seen a splash screen. */ export interface SplashResponseSchema { - /** Indicates whether the user has seen the splash screen or not. */ - seen: boolean; - /** The ID of the splash screen that was shown. */ - splashId: string; /** The ID of the user that was shown the splash screen. */ userId: number; + /** The ID of the splash screen that was shown. */ + splashId: string; + /** Indicates whether the user has seen the splash screen or not. */ + seen: boolean; } diff --git a/frontend/src/openapi/models/staleFeatures401.ts b/frontend/src/openapi/models/staleFeatures401.ts index d66a3fbed1..2e8168163a 100644 --- a/frontend/src/openapi/models/staleFeatures401.ts +++ b/frontend/src/openapi/models/staleFeatures401.ts @@ -7,8 +7,8 @@ export type StaleFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/staleFeatures403.ts b/frontend/src/openapi/models/staleFeatures403.ts index 2e253e169b..73fe2dfa85 100644 --- a/frontend/src/openapi/models/staleFeatures403.ts +++ b/frontend/src/openapi/models/staleFeatures403.ts @@ -7,8 +7,8 @@ export type StaleFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/staleFeatures415.ts b/frontend/src/openapi/models/staleFeatures415.ts index 0d5dda1531..ca4090fae0 100644 --- a/frontend/src/openapi/models/staleFeatures415.ts +++ b/frontend/src/openapi/models/staleFeatures415.ts @@ -7,8 +7,8 @@ export type StaleFeatures415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/strategiesSchema.ts b/frontend/src/openapi/models/strategiesSchema.ts index 2a86577713..58855c517a 100644 --- a/frontend/src/openapi/models/strategiesSchema.ts +++ b/frontend/src/openapi/models/strategiesSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { StrategySchema } from './strategySchema'; import type { StrategiesSchemaVersion } from './strategiesSchemaVersion'; +import type { StrategySchema } from './strategySchema'; /** * List of strategies */ export interface StrategiesSchema { - /** List of strategies */ - strategies: StrategySchema[]; /** Version of the strategies schema */ version: StrategiesSchemaVersion; + /** List of strategies */ + strategies: StrategySchema[]; } diff --git a/frontend/src/openapi/models/strategySchema.ts b/frontend/src/openapi/models/strategySchema.ts index 483248ef87..1493eaf50d 100644 --- a/frontend/src/openapi/models/strategySchema.ts +++ b/frontend/src/openapi/models/strategySchema.ts @@ -9,26 +9,26 @@ import type { StrategySchemaParametersItem } from './strategySchemaParametersIte * The [activation strategy](https://docs.getunleash.io/reference/activation-strategies) schema */ export interface StrategySchema { - deprecated: boolean; - /** - * A short description of the strategy - * @nullable - */ - description: string | null; - /** - * A human friendly name for the strategy - * @nullable - */ - displayName: string | null; - /** Whether the strategy can be edited or not. Strategies bundled with Unleash cannot be edited. */ - editable: boolean; - /** The name (type) of the strategy */ - name: string; - /** A list of relevant parameters for each strategy */ - parameters: StrategySchemaParametersItem[]; /** * An optional title for the strategy * @nullable */ title?: string | null; + /** The name (type) of the strategy */ + name: string; + /** + * A human friendly name for the strategy + * @nullable + */ + displayName: string | null; + /** + * A short description of the strategy + * @nullable + */ + description: string | null; + /** Whether the strategy can be edited or not. Strategies bundled with Unleash cannot be edited. */ + editable: boolean; + deprecated: boolean; + /** A list of relevant parameters for each strategy */ + parameters: StrategySchemaParametersItem[]; } diff --git a/frontend/src/openapi/models/strategySchemaParametersItem.ts b/frontend/src/openapi/models/strategySchemaParametersItem.ts index 600c61526a..458284b69d 100644 --- a/frontend/src/openapi/models/strategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/strategySchemaParametersItem.ts @@ -5,8 +5,8 @@ */ export type StrategySchemaParametersItem = { - description?: string; name?: string; - required?: boolean; type?: string; + description?: string; + required?: boolean; }; diff --git a/frontend/src/openapi/models/strategyVariantSchema.ts b/frontend/src/openapi/models/strategyVariantSchema.ts index f65026026b..dc2bfea0a5 100644 --- a/frontend/src/openapi/models/strategyVariantSchema.ts +++ b/frontend/src/openapi/models/strategyVariantSchema.ts @@ -3,8 +3,8 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { StrategyVariantSchemaPayload } from './strategyVariantSchemaPayload'; import type { StrategyVariantSchemaWeightType } from './strategyVariantSchemaWeightType'; +import type { StrategyVariantSchemaPayload } from './strategyVariantSchemaPayload'; /** * This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants. @@ -12,10 +12,6 @@ import type { StrategyVariantSchemaWeightType } from './strategyVariantSchemaWei export interface StrategyVariantSchema { /** The variant name. Must be unique for this feature flag */ name: string; - /** Extra data configured for this variant */ - payload?: StrategyVariantSchemaPayload; - /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ - stickiness: string; /** * The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information * @minimum 0 @@ -24,4 +20,8 @@ export interface StrategyVariantSchema { weight: number; /** Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ weightType: StrategyVariantSchemaWeightType; + /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ + stickiness: string; + /** Extra data configured for this variant */ + payload?: StrategyVariantSchemaPayload; } diff --git a/frontend/src/openapi/models/subscribeEmailSubscription401.ts b/frontend/src/openapi/models/subscribeEmailSubscription401.ts index 08631c00ea..122e6a862c 100644 --- a/frontend/src/openapi/models/subscribeEmailSubscription401.ts +++ b/frontend/src/openapi/models/subscribeEmailSubscription401.ts @@ -7,8 +7,8 @@ export type SubscribeEmailSubscription401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/subscribeEmailSubscription404.ts b/frontend/src/openapi/models/subscribeEmailSubscription404.ts index 1c3831f0ce..f0e48a48f3 100644 --- a/frontend/src/openapi/models/subscribeEmailSubscription404.ts +++ b/frontend/src/openapi/models/subscribeEmailSubscription404.ts @@ -7,8 +7,8 @@ export type SubscribeEmailSubscription404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/tagSchema.ts b/frontend/src/openapi/models/tagSchema.ts index 3dee083a03..7c5dc396be 100644 --- a/frontend/src/openapi/models/tagSchema.ts +++ b/frontend/src/openapi/models/tagSchema.ts @@ -5,19 +5,19 @@ */ /** - * 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 - * @minLength 2 - * @maxLength 50 - */ - type: string; /** * The value of the tag. * @minLength 2 * @maxLength 50 */ value: string; + /** + * The [type](https://docs.getunleash.io/reference/feature-toggles#tags) of the tag + * @minLength 2 + * @maxLength 50 + */ + type: string; } diff --git a/frontend/src/openapi/models/tagTypeSchema.ts b/frontend/src/openapi/models/tagTypeSchema.ts index ee93c6591f..e9d604bca0 100644 --- a/frontend/src/openapi/models/tagTypeSchema.ts +++ b/frontend/src/openapi/models/tagTypeSchema.ts @@ -8,6 +8,8 @@ * A tag type. */ export interface TagTypeSchema { + /** The name of the tag type. */ + name: string; /** The description of the tag type. */ description?: string; /** @@ -15,6 +17,4 @@ export interface TagTypeSchema { * @nullable */ icon?: string | null; - /** The name of the tag type. */ - name: string; } diff --git a/frontend/src/openapi/models/tagTypesSchema.ts b/frontend/src/openapi/models/tagTypesSchema.ts index 45097e3ba3..fd6d705211 100644 --- a/frontend/src/openapi/models/tagTypesSchema.ts +++ b/frontend/src/openapi/models/tagTypesSchema.ts @@ -9,8 +9,8 @@ import type { TagTypeSchema } from './tagTypeSchema'; * A list of tag types with a version number representing the schema used to model the tag types. */ export interface TagTypesSchema { - /** The list of tag types. */ - tagTypes: TagTypeSchema[]; /** The version of the schema used to model the tag types. */ version: number; + /** The list of tag types. */ + tagTypes: TagTypeSchema[]; } diff --git a/frontend/src/openapi/models/tagWithVersionSchema.ts b/frontend/src/openapi/models/tagWithVersionSchema.ts index 7e5bd7cd72..00e3b0df14 100644 --- a/frontend/src/openapi/models/tagWithVersionSchema.ts +++ b/frontend/src/openapi/models/tagWithVersionSchema.ts @@ -9,7 +9,7 @@ import type { TagSchema } from './tagSchema'; * A tag with a version number representing the schema used to model the tag. */ export interface TagWithVersionSchema { - tag: TagSchema; /** The version of the schema used to model the tag. */ version: number; + tag: TagSchema; } diff --git a/frontend/src/openapi/models/tagsSchema.ts b/frontend/src/openapi/models/tagsSchema.ts index 38967e940c..dc6576a0dc 100644 --- a/frontend/src/openapi/models/tagsSchema.ts +++ b/frontend/src/openapi/models/tagsSchema.ts @@ -9,8 +9,8 @@ import type { TagSchema } from './tagSchema'; * A list of tags with a version number */ export interface TagsSchema { - /** A list of tags. */ - tags: TagSchema[]; /** The version of the schema used to model the tags. */ version: number; + /** A list of tags. */ + tags: TagSchema[]; } diff --git a/frontend/src/openapi/models/telemetrySettingsSchema.ts b/frontend/src/openapi/models/telemetrySettingsSchema.ts index 126eb6aaaf..02eae286d6 100644 --- a/frontend/src/openapi/models/telemetrySettingsSchema.ts +++ b/frontend/src/openapi/models/telemetrySettingsSchema.ts @@ -8,8 +8,8 @@ * Contains information about which settings are configured for version info collection and feature usage collection. */ export interface TelemetrySettingsSchema { - /** Whether collection of feature usage metrics is enabled/active. */ - featureInfoCollectionEnabled: boolean; /** Whether collection of version info is enabled/active. */ versionInfoCollectionEnabled: boolean; + /** Whether collection of feature usage metrics is enabled/active. */ + featureInfoCollectionEnabled: boolean; } diff --git a/frontend/src/openapi/models/toggleEnvironmentOff401.ts b/frontend/src/openapi/models/toggleEnvironmentOff401.ts index 188fac26d9..4abe43c299 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff401.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOff403.ts b/frontend/src/openapi/models/toggleEnvironmentOff403.ts index 660aa5d695..2a8b0f1d8b 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff403.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOff404.ts b/frontend/src/openapi/models/toggleEnvironmentOff404.ts index 7c1481a547..d178c61e2f 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff404.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn401.ts b/frontend/src/openapi/models/toggleEnvironmentOn401.ts index 07c4183a6f..0739240cae 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn401.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn403.ts b/frontend/src/openapi/models/toggleEnvironmentOn403.ts index 984ac2621d..4133d9ee2a 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn403.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn404.ts b/frontend/src/openapi/models/toggleEnvironmentOn404.ts index 6270bae9c6..8a2aa4de4f 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn404.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureActionSchema.ts b/frontend/src/openapi/models/toggleFeatureActionSchema.ts index ec58b8bb4d..7364865f07 100644 --- a/frontend/src/openapi/models/toggleFeatureActionSchema.ts +++ b/frontend/src/openapi/models/toggleFeatureActionSchema.ts @@ -8,10 +8,10 @@ * Input data required for the action */ export interface ToggleFeatureActionSchema { + /** The project where the feature is located */ + project: string; /** The environment we want to target */ environment: string; /** The name of the feature we want to target */ featureName: string; - /** The project where the feature is located */ - project: string; } diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts index ab852604a7..61c034ca2f 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts index a2d472b4a2..ffd7516cd1 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts index 707e447c19..54affe95d7 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts index 16ceaafa52..dae14a5b99 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts index 5d1edb8c60..23d41ed777 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts index ed9cdbddca..433a02de65 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts index 3337b8b48e..8add7d3d8e 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts index fa9df722fd..ef5ea0d2ca 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleFeaturesByTagActionSchema.ts b/frontend/src/openapi/models/toggleFeaturesByTagActionSchema.ts index 5b3c9d919f..62fd4d07e4 100644 --- a/frontend/src/openapi/models/toggleFeaturesByTagActionSchema.ts +++ b/frontend/src/openapi/models/toggleFeaturesByTagActionSchema.ts @@ -8,10 +8,10 @@ * Input data required for the action */ export interface ToggleFeaturesByTagActionSchema { - /** The environment we want to target */ - environment: string; /** The project where the feature is located */ project: string; + /** The environment we want to target */ + environment: string; /** The tag we want to target, in the following format: `[TAG_TYPE]:[TAG_VALUE]` */ tag: string; } diff --git a/frontend/src/openapi/models/toggleMaintenance400.ts b/frontend/src/openapi/models/toggleMaintenance400.ts index afaf155955..220555741a 100644 --- a/frontend/src/openapi/models/toggleMaintenance400.ts +++ b/frontend/src/openapi/models/toggleMaintenance400.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleMaintenance401.ts b/frontend/src/openapi/models/toggleMaintenance401.ts index 23a33df5dd..f374faed57 100644 --- a/frontend/src/openapi/models/toggleMaintenance401.ts +++ b/frontend/src/openapi/models/toggleMaintenance401.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/toggleMaintenance403.ts b/frontend/src/openapi/models/toggleMaintenance403.ts index 0ec58d15fc..974aeed878 100644 --- a/frontend/src/openapi/models/toggleMaintenance403.ts +++ b/frontend/src/openapi/models/toggleMaintenance403.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/tokenUserSchema.ts b/frontend/src/openapi/models/tokenUserSchema.ts index 549078bdac..d2e35428ed 100644 --- a/frontend/src/openapi/models/tokenUserSchema.ts +++ b/frontend/src/openapi/models/tokenUserSchema.ts @@ -9,18 +9,18 @@ import type { RoleSchema } from './roleSchema'; * A user identified by a token */ export interface TokenUserSchema { + /** The user id */ + id: number; + /** The name of the user */ + name?: string; + /** The email of the user */ + email: string; + /** A token uniquely identifying a user */ + token: string; /** * A username or email identifying which user created this token * @nullable */ createdBy: string | null; - /** The email of the user */ - email: string; - /** The user id */ - id: number; - /** The name of the user */ - name?: string; role: RoleSchema; - /** A token uniquely identifying a user */ - token: string; } diff --git a/frontend/src/openapi/models/trafficUsageApiDataSchema.ts b/frontend/src/openapi/models/trafficUsageApiDataSchema.ts index 93f5eee511..f63b0476c5 100644 --- a/frontend/src/openapi/models/trafficUsageApiDataSchema.ts +++ b/frontend/src/openapi/models/trafficUsageApiDataSchema.ts @@ -9,8 +9,8 @@ import type { TrafficUsageApiDataSchemaDaysItem } from './trafficUsageApiDataSch * Contains the recorded data usage for each API path, segmented by day and type of traffic */ export interface TrafficUsageApiDataSchema { - /** The path of the API that the recorded data usage is for */ - apiPath: string; /** An array containing each day in the selected period that has data usage recorded */ days: TrafficUsageApiDataSchemaDaysItem[]; + /** The path of the API that the recorded data usage is for */ + apiPath: string; } diff --git a/frontend/src/openapi/models/trafficUsageApiDataSchemaDaysItemTrafficTypesItem.ts b/frontend/src/openapi/models/trafficUsageApiDataSchemaDaysItemTrafficTypesItem.ts index 584ced8038..fb1254ac10 100644 --- a/frontend/src/openapi/models/trafficUsageApiDataSchemaDaysItemTrafficTypesItem.ts +++ b/frontend/src/openapi/models/trafficUsageApiDataSchemaDaysItemTrafficTypesItem.ts @@ -5,8 +5,8 @@ */ export type TrafficUsageApiDataSchemaDaysItemTrafficTypesItem = { - /** The number of requests */ - count: number; /** The traffic group */ group: string; + /** The number of requests */ + count: number; }; diff --git a/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts b/frontend/src/openapi/models/trafficUsageApiMonthlyDataSchema.ts new file mode 100644 index 0000000000..0e884d4fb9 --- /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 { + /** An array containing each month in the selected range that has data usage recorded */ + months: TrafficUsageApiMonthlyDataSchemaMonthsItem[]; + /** The path of the API that the recorded data usage is for */ + apiPath: string; +} 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..d5aeac2f80 --- /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 traffic group */ + group: string; + /** The number of requests */ + count: number; +}; diff --git a/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchema.ts b/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchema.ts index f7434ae209..35aae9cdeb 100644 --- a/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchema.ts +++ b/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchema.ts @@ -3,18 +3,18 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { TrafficUsageDataSegmentedCombinedSchemaApiDataItem } from './trafficUsageDataSegmentedCombinedSchemaApiDataItem'; -import type { TrafficUsageDataSegmentedCombinedSchemaDateRange } from './trafficUsageDataSegmentedCombinedSchemaDateRange'; import type { TrafficUsageDataSegmentedCombinedSchemaGrouping } from './trafficUsageDataSegmentedCombinedSchemaGrouping'; +import type { TrafficUsageDataSegmentedCombinedSchemaDateRange } from './trafficUsageDataSegmentedCombinedSchemaDateRange'; +import type { TrafficUsageDataSegmentedCombinedSchemaApiDataItem } from './trafficUsageDataSegmentedCombinedSchemaApiDataItem'; /** * Contains the recorded data usage for each API path, segmented by day/month and type of traffic */ export interface TrafficUsageDataSegmentedCombinedSchema { - /** Contains the recorded daily/monthly data usage for each API path */ - apiData: TrafficUsageDataSegmentedCombinedSchemaApiDataItem[]; - /** 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: TrafficUsageDataSegmentedCombinedSchemaDateRange; /** Whether the data is aggregated by month or by day. */ grouping: TrafficUsageDataSegmentedCombinedSchemaGrouping; + /** 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: TrafficUsageDataSegmentedCombinedSchemaDateRange; + /** Contains the recorded daily/monthly data usage for each API path */ + apiData: TrafficUsageDataSegmentedCombinedSchemaApiDataItem[]; } diff --git a/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItemTrafficTypesItem.ts b/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItemTrafficTypesItem.ts index a6e2000d1e..47af6fc7eb 100644 --- a/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItemTrafficTypesItem.ts +++ b/frontend/src/openapi/models/trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItemTrafficTypesItem.ts @@ -6,11 +6,11 @@ export type TrafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItemTrafficTypesItem = { + /** The type of traffic */ + group: string; /** * The number of requests * @minimum 0 */ count: number; - /** The type of traffic */ - group: string; }; diff --git a/frontend/src/openapi/models/trafficUsageDataSegmentedSchema.ts b/frontend/src/openapi/models/trafficUsageDataSegmentedSchema.ts index 10e01e86a2..babd976581 100644 --- a/frontend/src/openapi/models/trafficUsageDataSegmentedSchema.ts +++ b/frontend/src/openapi/models/trafficUsageDataSegmentedSchema.ts @@ -9,8 +9,8 @@ import type { TrafficUsageApiDataSchema } from './trafficUsageApiDataSchema'; * Contains the recorded data usage for each API path, segmented by day and type of traffic */ export interface TrafficUsageDataSegmentedSchema { - /** Contains the recorded daily data usage for each API path */ - apiData: TrafficUsageApiDataSchema[]; /** The year-month period for which the data usage is counted */ period: string; + /** Contains the recorded daily data usage for each API path */ + apiData: TrafficUsageApiDataSchema[]; } diff --git a/frontend/src/openapi/models/uiConfigSchema.ts b/frontend/src/openapi/models/uiConfigSchema.ts index 31eeb7254e..0ffd747249 100644 --- a/frontend/src/openapi/models/uiConfigSchema.ts +++ b/frontend/src/openapi/models/uiConfigSchema.ts @@ -3,68 +3,66 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UiConfigSchemaAuthenticationType } from './uiConfigSchemaAuthenticationType'; import type { UiConfigSchemaBilling } from './uiConfigSchemaBilling'; +import type { ResourceLimitsSchema } from './resourceLimitsSchema'; import type { UiConfigSchemaFlags } from './uiConfigSchemaFlags'; import type { UiConfigSchemaLinksItem } from './uiConfigSchemaLinksItem'; -import type { ResourceLimitsSchema } from './resourceLimitsSchema'; +import type { UiConfigSchemaAuthenticationType } from './uiConfigSchemaAuthenticationType'; import type { VersionSchema } from './versionSchema'; /** * A collection of properties used to configure the Unleash Admin UI. */ export interface UiConfigSchema { - /** The type of authentication enabled for this Unleash instance */ - authenticationType?: UiConfigSchemaAuthenticationType; - /** The base URI path at which this Unleash instance is listening. */ - baseUriPath: string; + /** The slogan to display in the UI footer. */ + slogan?: string; + /** The name of this Unleash instance. Used to build the text in the footer. */ + name?: string; + /** The current version of Unleash */ + version: string; + /** What kind of Unleash instance it is: Enterprise, Pro, or Open source */ + environment?: string; /** The billing model in use for this Unleash instance. */ billing?: UiConfigSchemaBilling; + /** The URL of the Unleash instance. */ + unleashUrl: string; + /** The base URI path at which this Unleash instance is listening. */ + baseUriPath: string; + /** The URI path at which the feedback endpoint is listening. */ + feedbackUriPath?: string; /** Whether password authentication should be disabled or not. */ disablePasswordAuth?: boolean; /** Whether this instance can send out emails or not. */ emailEnabled?: boolean; - /** What kind of Unleash instance it is: Enterprise, Pro, or Open source */ - environment?: string; - /** The URI path at which the feedback endpoint is listening. */ - feedbackUriPath?: string; - /** Additional (largely experimental) features that are enabled in this Unleash instance. */ - flags?: UiConfigSchemaFlags; - /** The list of origins that the front-end API should accept requests from. */ - frontendApiOrigins?: string[]; - /** Relevant links to use in the UI. */ - links?: UiConfigSchemaLinksItem[]; /** Whether maintenance mode is currently active or not. */ maintenanceMode?: boolean; - /** The maximum number of sessions that a user has. */ - 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; - /** A map of resource names and their limits. */ - resourceLimits?: ResourceLimitsSchema; - /** Whether the SAML configuration is set through environment variables or not. */ - samlConfiguredThroughEnv?: boolean; /** * The maximum number of values that can be used in a single segment. * @deprecated */ segmentValuesLimit?: number; - /** The slogan to display in the UI footer. */ - slogan?: string; /** * The maximum number of segments that can be applied to a single strategy. * @deprecated */ strategySegmentsLimit?: number; - /** Whether Unleash AI is available. */ - unleashAIAvailable?: boolean; - /** The URL of the Unleash instance. */ - unleashUrl: string; - /** The current version of Unleash */ - version: string; + /** A map of resource names and their limits. */ + resourceLimits?: ResourceLimitsSchema; + /** Whether a Prometheus API is available. */ + prometheusAPIAvailable?: boolean; + /** The list of origins that the front-end API should accept requests from. */ + frontendApiOrigins?: string[]; + /** Additional (largely experimental) features that are enabled in this Unleash instance. */ + flags?: UiConfigSchemaFlags; + /** Relevant links to use in the UI. */ + links?: UiConfigSchemaLinksItem[]; + /** The type of authentication enabled for this Unleash instance */ + authenticationType?: UiConfigSchemaAuthenticationType; versionInfo: VersionSchema; + /** Whether the OIDC configuration is set through environment variables or not. */ + oidcConfiguredThroughEnv?: boolean; + /** Whether the SAML configuration is set through environment variables or not. */ + samlConfiguredThroughEnv?: boolean; + /** The maximum number of sessions that a user has. */ + maxSessionsCount?: number; } diff --git a/frontend/src/openapi/models/uiObservability401.ts b/frontend/src/openapi/models/uiObservability401.ts index c655c634e0..e1ab3bd14d 100644 --- a/frontend/src/openapi/models/uiObservability401.ts +++ b/frontend/src/openapi/models/uiObservability401.ts @@ -7,8 +7,8 @@ export type UiObservability401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/uiObservability403.ts b/frontend/src/openapi/models/uiObservability403.ts index 4f9f2f7991..da9760f973 100644 --- a/frontend/src/openapi/models/uiObservability403.ts +++ b/frontend/src/openapi/models/uiObservability403.ts @@ -7,8 +7,8 @@ export type UiObservability403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/uncomplete401.ts b/frontend/src/openapi/models/uncomplete401.ts index 5090d0dac5..d835b18290 100644 --- a/frontend/src/openapi/models/uncomplete401.ts +++ b/frontend/src/openapi/models/uncomplete401.ts @@ -7,8 +7,8 @@ export type Uncomplete401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/uncomplete403.ts b/frontend/src/openapi/models/uncomplete403.ts index 8d0dfba097..92341dfb3c 100644 --- a/frontend/src/openapi/models/uncomplete403.ts +++ b/frontend/src/openapi/models/uncomplete403.ts @@ -7,8 +7,8 @@ export type Uncomplete403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/uncomplete404.ts b/frontend/src/openapi/models/uncomplete404.ts index 41ea6356a4..90cbfd7f14 100644 --- a/frontend/src/openapi/models/uncomplete404.ts +++ b/frontend/src/openapi/models/uncomplete404.ts @@ -7,8 +7,8 @@ export type Uncomplete404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/unsubscribeEmailSubscription401.ts b/frontend/src/openapi/models/unsubscribeEmailSubscription401.ts index ff56527d65..09b0e1dcf5 100644 --- a/frontend/src/openapi/models/unsubscribeEmailSubscription401.ts +++ b/frontend/src/openapi/models/unsubscribeEmailSubscription401.ts @@ -7,8 +7,8 @@ export type UnsubscribeEmailSubscription401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/unsubscribeEmailSubscription404.ts b/frontend/src/openapi/models/unsubscribeEmailSubscription404.ts index 6d9fb048f6..ad27e50fe9 100644 --- a/frontend/src/openapi/models/unsubscribeEmailSubscription404.ts +++ b/frontend/src/openapi/models/unsubscribeEmailSubscription404.ts @@ -7,8 +7,8 @@ export type UnsubscribeEmailSubscription404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon400.ts b/frontend/src/openapi/models/updateAddon400.ts index 0645fa4869..0206541ce1 100644 --- a/frontend/src/openapi/models/updateAddon400.ts +++ b/frontend/src/openapi/models/updateAddon400.ts @@ -7,8 +7,8 @@ export type UpdateAddon400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon401.ts b/frontend/src/openapi/models/updateAddon401.ts index f07474f5e0..743db13ccc 100644 --- a/frontend/src/openapi/models/updateAddon401.ts +++ b/frontend/src/openapi/models/updateAddon401.ts @@ -7,8 +7,8 @@ export type UpdateAddon401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon403.ts b/frontend/src/openapi/models/updateAddon403.ts index 9114918f05..b084991190 100644 --- a/frontend/src/openapi/models/updateAddon403.ts +++ b/frontend/src/openapi/models/updateAddon403.ts @@ -7,8 +7,8 @@ export type UpdateAddon403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon404.ts b/frontend/src/openapi/models/updateAddon404.ts index d1cb2410c1..f13fcc03f3 100644 --- a/frontend/src/openapi/models/updateAddon404.ts +++ b/frontend/src/openapi/models/updateAddon404.ts @@ -7,8 +7,8 @@ export type UpdateAddon404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon413.ts b/frontend/src/openapi/models/updateAddon413.ts index 5f50b4aff2..a1cfe2964d 100644 --- a/frontend/src/openapi/models/updateAddon413.ts +++ b/frontend/src/openapi/models/updateAddon413.ts @@ -7,8 +7,8 @@ export type UpdateAddon413 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateAddon415.ts b/frontend/src/openapi/models/updateAddon415.ts index 73ae9421ad..c63e98555f 100644 --- a/frontend/src/openapi/models/updateAddon415.ts +++ b/frontend/src/openapi/models/updateAddon415.ts @@ -7,8 +7,8 @@ export type UpdateAddon415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken401.ts b/frontend/src/openapi/models/updateApiToken401.ts index b800230d53..85d8efeed4 100644 --- a/frontend/src/openapi/models/updateApiToken401.ts +++ b/frontend/src/openapi/models/updateApiToken401.ts @@ -7,8 +7,8 @@ export type UpdateApiToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken403.ts b/frontend/src/openapi/models/updateApiToken403.ts index 6f3f887b56..b98bd75dfc 100644 --- a/frontend/src/openapi/models/updateApiToken403.ts +++ b/frontend/src/openapi/models/updateApiToken403.ts @@ -7,8 +7,8 @@ export type UpdateApiToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken415.ts b/frontend/src/openapi/models/updateApiToken415.ts index ab8308c697..4fdec7d34f 100644 --- a/frontend/src/openapi/models/updateApiToken415.ts +++ b/frontend/src/openapi/models/updateApiToken415.ts @@ -7,8 +7,8 @@ export type UpdateApiToken415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateBanner400.ts b/frontend/src/openapi/models/updateBanner400.ts deleted file mode 100644 index 9ca96cf811..0000000000 --- a/frontend/src/openapi/models/updateBanner400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateBanner400 = { - /** 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/updateBanner401.ts b/frontend/src/openapi/models/updateBanner401.ts deleted file mode 100644 index fc5dad7920..0000000000 --- a/frontend/src/openapi/models/updateBanner401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateBanner401 = { - /** 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/updateBanner403.ts b/frontend/src/openapi/models/updateBanner403.ts deleted file mode 100644 index b9bded1959..0000000000 --- a/frontend/src/openapi/models/updateBanner403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateBanner403 = { - /** 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/updateBanner404.ts b/frontend/src/openapi/models/updateBanner404.ts deleted file mode 100644 index 69111610ad..0000000000 --- a/frontend/src/openapi/models/updateBanner404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateBanner404 = { - /** 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/updateBanner415.ts b/frontend/src/openapi/models/updateBanner415.ts deleted file mode 100644 index b6c993ce63..0000000000 --- a/frontend/src/openapi/models/updateBanner415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateBanner415 = { - /** 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/updateContextFieldSchema.ts b/frontend/src/openapi/models/updateContextFieldSchema.ts index 8ec7f5276c..af87bd670a 100644 --- a/frontend/src/openapi/models/updateContextFieldSchema.ts +++ b/frontend/src/openapi/models/updateContextFieldSchema.ts @@ -11,10 +11,10 @@ import type { LegalValueSchema } from './legalValueSchema'; export interface UpdateContextFieldSchema { /** A description of the context field */ description?: string; - /** A list of allowed values for this context field */ - legalValues?: LegalValueSchema[]; - /** How this context field should be sorted if no other sort order is selected */ - sortOrder?: number; /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ stickiness?: boolean; + /** How this context field should be sorted if no other sort order is selected */ + sortOrder?: number; + /** A list of allowed values for this context field */ + legalValues?: LegalValueSchema[]; } diff --git a/frontend/src/openapi/models/updateEnvironment400.ts b/frontend/src/openapi/models/updateEnvironment400.ts deleted file mode 100644 index 3287916f02..0000000000 --- a/frontend/src/openapi/models/updateEnvironment400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateEnvironment400 = { - /** 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/updateEnvironment401.ts b/frontend/src/openapi/models/updateEnvironment401.ts deleted file mode 100644 index 453aa014b0..0000000000 --- a/frontend/src/openapi/models/updateEnvironment401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateEnvironment401 = { - /** 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/updateEnvironmentSchema.ts b/frontend/src/openapi/models/updateEnvironmentSchema.ts index f535a9646a..47fa9c0735 100644 --- a/frontend/src/openapi/models/updateEnvironmentSchema.ts +++ b/frontend/src/openapi/models/updateEnvironmentSchema.ts @@ -8,8 +8,8 @@ * Data used to update an [environment](https://docs.getunleash.io/reference/environments). */ export interface UpdateEnvironmentSchema { - /** Changes the sort order of this environment. */ - sortOrder?: number; /** Updates the type of environment (i.e. development or production). */ type?: string; + /** Changes the sort order of this environment. */ + sortOrder?: number; } diff --git a/frontend/src/openapi/models/updateFeature401.ts b/frontend/src/openapi/models/updateFeature401.ts index 8dc8d488ad..ffb0b319ee 100644 --- a/frontend/src/openapi/models/updateFeature401.ts +++ b/frontend/src/openapi/models/updateFeature401.ts @@ -7,8 +7,8 @@ export type UpdateFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeature403.ts b/frontend/src/openapi/models/updateFeature403.ts index 60307ce6c8..5b0504d21b 100644 --- a/frontend/src/openapi/models/updateFeature403.ts +++ b/frontend/src/openapi/models/updateFeature403.ts @@ -7,8 +7,8 @@ export type UpdateFeature403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeature404.ts b/frontend/src/openapi/models/updateFeature404.ts index 277bed9d80..86c8358a09 100644 --- a/frontend/src/openapi/models/updateFeature404.ts +++ b/frontend/src/openapi/models/updateFeature404.ts @@ -7,8 +7,8 @@ export type UpdateFeature404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeature415.ts b/frontend/src/openapi/models/updateFeature415.ts index 63cc96c2f9..1be878226d 100644 --- a/frontend/src/openapi/models/updateFeature415.ts +++ b/frontend/src/openapi/models/updateFeature415.ts @@ -7,8 +7,8 @@ export type UpdateFeature415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureSchema.ts b/frontend/src/openapi/models/updateFeatureSchema.ts index dfdbbabd50..3d4436fede 100644 --- a/frontend/src/openapi/models/updateFeatureSchema.ts +++ b/frontend/src/openapi/models/updateFeatureSchema.ts @@ -9,14 +9,14 @@ import type { UpdateFeatureSchemaType } from './updateFeatureSchemaType'; * Data used for updating a feature flag */ export interface UpdateFeatureSchema { - /** If `true` the feature flag will be moved to the [archive](https://docs.getunleash.io/reference/feature-toggles#archive-a-feature-flag) with a property `archivedAt` set to current time */ - archived?: boolean; /** Detailed description of the feature */ description?: string; - /** `true` if the impression data collection is enabled for the feature */ - impressionData?: boolean; - /** `true` if the feature is archived */ - stale?: boolean; /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ type?: UpdateFeatureSchemaType; + /** `true` if the feature is archived */ + stale?: boolean; + /** If `true` the feature flag will be moved to the [archive](https://docs.getunleash.io/reference/feature-toggles#archive-a-feature-flag) with a property `archivedAt` set to current time */ + archived?: boolean; + /** `true` if the impression data collection is enabled for the feature */ + impressionData?: boolean; } diff --git a/frontend/src/openapi/models/updateFeatureStrategy400.ts b/frontend/src/openapi/models/updateFeatureStrategy400.ts index 8d988c7cfc..d43203168a 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy400.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy401.ts b/frontend/src/openapi/models/updateFeatureStrategy401.ts index b29ffbc8c1..133be894e8 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy401.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy403.ts b/frontend/src/openapi/models/updateFeatureStrategy403.ts index fa4a814082..019d7aeb3a 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy403.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy404.ts b/frontend/src/openapi/models/updateFeatureStrategy404.ts index e55ec807e6..15289b23ed 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy404.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy415.ts b/frontend/src/openapi/models/updateFeatureStrategy415.ts index aa9f22a878..917f27989a 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy415.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySchema.ts b/frontend/src/openapi/models/updateFeatureStrategySchema.ts index 4f7d4b87c6..c5fe91fd7b 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySchema.ts @@ -10,21 +10,21 @@ 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 */ - constraints?: ConstraintSchema[]; - /** - * A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs - * @nullable - */ - disabled?: boolean | null; /** The name of the strategy type */ name?: string; - parameters?: ParametersSchema; /** The order of the strategy in the list in feature environment configuration */ sortOrder?: number; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** * A descriptive title for the strategy * @nullable */ title?: string | null; + /** + * A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs + * @nullable + */ + disabled?: boolean | null; + parameters?: ParametersSchema; } diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments400.ts b/frontend/src/openapi/models/updateFeatureStrategySegments400.ts index 2921595eda..12ceac1b9c 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments400.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments401.ts b/frontend/src/openapi/models/updateFeatureStrategySegments401.ts index 1900711027..0ed3ab55fe 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments401.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments403.ts b/frontend/src/openapi/models/updateFeatureStrategySegments403.ts index f0b7925952..08a06145bc 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments403.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments415.ts b/frontend/src/openapi/models/updateFeatureStrategySegments415.ts index 6eaec8b056..3ee0bb53a7 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments415.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts b/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts index 1c537c3f7a..e6cb3c4944 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts @@ -8,12 +8,12 @@ * Data required to update segments for a strategy. */ export interface UpdateFeatureStrategySegmentsSchema { - /** The ID of the strategy environment. */ - environmentId: string; /** The ID of the project that the strategy belongs to. */ projectId: string; - /** The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy. */ - segmentIds: number[]; /** The ID of the strategy to update segments for. */ strategyId: string; + /** The ID of the strategy environment. */ + environmentId: string; + /** The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy. */ + segmentIds: number[]; } diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts index dd8f9b3639..01584d215b 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts index cc3a9ee5e8..8f7159fbbb 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts index 0cfc4b96f9..f371679121 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts index 510044a062..4ab65d845a 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts index 871ecb597d..4f4d0cbd54 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts index 4b223964fc..ee3f445d99 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback400.ts b/frontend/src/openapi/models/updateFeedback400.ts index 053b744d6c..6efc0b9767 100644 --- a/frontend/src/openapi/models/updateFeedback400.ts +++ b/frontend/src/openapi/models/updateFeedback400.ts @@ -7,8 +7,8 @@ export type UpdateFeedback400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback401.ts b/frontend/src/openapi/models/updateFeedback401.ts index d543aa4e75..a0d1c456ce 100644 --- a/frontend/src/openapi/models/updateFeedback401.ts +++ b/frontend/src/openapi/models/updateFeedback401.ts @@ -7,8 +7,8 @@ export type UpdateFeedback401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback415.ts b/frontend/src/openapi/models/updateFeedback415.ts index 8717f71dbe..103b7403a9 100644 --- a/frontend/src/openapi/models/updateFeedback415.ts +++ b/frontend/src/openapi/models/updateFeedback415.ts @@ -7,8 +7,8 @@ export type UpdateFeedback415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateGroup400.ts b/frontend/src/openapi/models/updateGroup400.ts deleted file mode 100644 index c6b5c57e03..0000000000 --- a/frontend/src/openapi/models/updateGroup400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateGroup400 = { - /** 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/updateGroup401.ts b/frontend/src/openapi/models/updateGroup401.ts deleted file mode 100644 index 96d9b8988e..0000000000 --- a/frontend/src/openapi/models/updateGroup401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateGroup401 = { - /** 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/updateGroup403.ts b/frontend/src/openapi/models/updateGroup403.ts deleted file mode 100644 index 63ecdd94d1..0000000000 --- a/frontend/src/openapi/models/updateGroup403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateGroup403 = { - /** 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/updateGroup404.ts b/frontend/src/openapi/models/updateGroup404.ts deleted file mode 100644 index dbb303d159..0000000000 --- a/frontend/src/openapi/models/updateGroup404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateGroup404 = { - /** 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/updateGroup409.ts b/frontend/src/openapi/models/updateGroup409.ts deleted file mode 100644 index e3f6bc449e..0000000000 --- a/frontend/src/openapi/models/updateGroup409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateGroup409 = { - /** 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/updateLicense400.ts b/frontend/src/openapi/models/updateLicense400.ts deleted file mode 100644 index 3843395469..0000000000 --- a/frontend/src/openapi/models/updateLicense400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateLicense400 = { - /** 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/updateLicense401.ts b/frontend/src/openapi/models/updateLicense401.ts deleted file mode 100644 index d0473ae83b..0000000000 --- a/frontend/src/openapi/models/updateLicense401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateLicense401 = { - /** 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/updateLicense403.ts b/frontend/src/openapi/models/updateLicense403.ts deleted file mode 100644 index be9355a733..0000000000 --- a/frontend/src/openapi/models/updateLicense403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateLicense403 = { - /** 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/updateLicense415.ts b/frontend/src/openapi/models/updateLicense415.ts deleted file mode 100644 index 87e8ce4ed5..0000000000 --- a/frontend/src/openapi/models/updateLicense415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateLicense415 = { - /** 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/updateMilestoneStrategy401.ts b/frontend/src/openapi/models/updateMilestoneStrategy401.ts deleted file mode 100644 index a3a05e3d93..0000000000 --- a/frontend/src/openapi/models/updateMilestoneStrategy401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateMilestoneStrategy401 = { - /** 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/updateMilestoneStrategy403.ts b/frontend/src/openapi/models/updateMilestoneStrategy403.ts deleted file mode 100644 index 2408bd3002..0000000000 --- a/frontend/src/openapi/models/updateMilestoneStrategy403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateMilestoneStrategy403 = { - /** 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/updateMilestoneStrategy404.ts b/frontend/src/openapi/models/updateMilestoneStrategy404.ts deleted file mode 100644 index 02c0d06b34..0000000000 --- a/frontend/src/openapi/models/updateMilestoneStrategy404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateMilestoneStrategy404 = { - /** 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/updateProject400.ts b/frontend/src/openapi/models/updateProject400.ts index 9fda5bd46c..0e21edb751 100644 --- a/frontend/src/openapi/models/updateProject400.ts +++ b/frontend/src/openapi/models/updateProject400.ts @@ -7,8 +7,8 @@ export type UpdateProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProject401.ts b/frontend/src/openapi/models/updateProject401.ts index 0cc714eb1e..df27a18289 100644 --- a/frontend/src/openapi/models/updateProject401.ts +++ b/frontend/src/openapi/models/updateProject401.ts @@ -7,8 +7,8 @@ export type UpdateProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProject403.ts b/frontend/src/openapi/models/updateProject403.ts index b09f7ac729..6335b8b1a1 100644 --- a/frontend/src/openapi/models/updateProject403.ts +++ b/frontend/src/openapi/models/updateProject403.ts @@ -7,8 +7,8 @@ export type UpdateProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProject404.ts b/frontend/src/openapi/models/updateProject404.ts index 221fc0ea5c..ae5a9cffa0 100644 --- a/frontend/src/openapi/models/updateProject404.ts +++ b/frontend/src/openapi/models/updateProject404.ts @@ -7,8 +7,8 @@ export type UpdateProject404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProject415.ts b/frontend/src/openapi/models/updateProject415.ts index 3c8767237a..8ac0d8db46 100644 --- a/frontend/src/openapi/models/updateProject415.ts +++ b/frontend/src/openapi/models/updateProject415.ts @@ -7,8 +7,8 @@ export type UpdateProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts index a1de567e33..ee18d96a09 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts index 7e5c070a95..5c2065b7a4 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts index 78c3796d5a..6728cb3041 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts index 82fd707fdd..e51a53001c 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts index 2f16b449a3..c27dbc19ac 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts index f755bf5c97..bc3b8d14d1 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts @@ -3,14 +3,14 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; /** * Data used to update a [project](https://docs.getunleash.io/reference/projects) settings */ export interface UpdateProjectEnterpriseSettingsSchema { - featureNaming?: CreateFeatureNamingPatternSchema; /** A mode of the project affecting what actions are possible in this project */ mode?: UpdateProjectEnterpriseSettingsSchemaMode; + featureNaming?: CreateFeatureNamingPatternSchema; } diff --git a/frontend/src/openapi/models/updateProjectSchema.ts b/frontend/src/openapi/models/updateProjectSchema.ts index 3a580d9cc3..28efbbe0fd 100644 --- a/frontend/src/openapi/models/updateProjectSchema.ts +++ b/frontend/src/openapi/models/updateProjectSchema.ts @@ -9,15 +9,15 @@ import type { UpdateProjectSchemaMode } from './updateProjectSchemaMode'; * Data used to update a [project](https://docs.getunleash.io/reference/projects) */ export interface UpdateProjectSchema { - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; - /** A new description for the project */ - description?: string; - /** A mode of the project affecting what actions are possible in this project */ - mode?: UpdateProjectSchemaMode; /** * The new name of the project. The name must contain at least one non-whitespace character. * @pattern ^(?!\s*$).+ */ name: string; + /** A new description for the project */ + description?: string; + /** A mode of the project affecting what actions are possible in this project */ + mode?: UpdateProjectSchemaMode; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; } diff --git a/frontend/src/openapi/models/updatePublicSignupToken400.ts b/frontend/src/openapi/models/updatePublicSignupToken400.ts index b64a026d95..e86dc90466 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken400.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken400.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updatePublicSignupToken401.ts b/frontend/src/openapi/models/updatePublicSignupToken401.ts index e3bc7b47ad..0698eaf159 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken401.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken401.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updatePublicSignupToken403.ts b/frontend/src/openapi/models/updatePublicSignupToken403.ts index 81181e70f4..a24badeac8 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken403.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken403.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateReleasePlanMilestoneSchema.ts b/frontend/src/openapi/models/updateReleasePlanMilestoneSchema.ts index d66e577b57..844231ed7a 100644 --- a/frontend/src/openapi/models/updateReleasePlanMilestoneSchema.ts +++ b/frontend/src/openapi/models/updateReleasePlanMilestoneSchema.ts @@ -11,10 +11,10 @@ import type { UpdateReleasePlanMilestoneStrategySchema } from './updateReleasePl export interface UpdateReleasePlanMilestoneSchema { /** The name of the milestone. */ name: string; - /** The ID of the release plan/template that this milestone belongs to. */ - releasePlanDefinitionId: string; /** The order of the milestone in the release plan. */ sortOrder: number; + /** The ID of the release plan/template that this milestone belongs to. */ + releasePlanDefinitionId: string; /** A list of strategies that are attached to this milestone. */ strategies?: UpdateReleasePlanMilestoneStrategySchema[]; } diff --git a/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts b/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts index 2122e1d2d1..2923f379c9 100644 --- a/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts +++ b/frontend/src/openapi/models/updateReleasePlanMilestoneStrategySchema.ts @@ -3,35 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ConstraintSchema } from './constraintSchema'; import type { ParametersSchema } from './parametersSchema'; +import type { ConstraintSchema } from './constraintSchema'; 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 */ - constraints?: ConstraintSchema[]; /** The milestone strategy's ID. Milestone strategy IDs are ulids. */ id?: string; /** * The ID of the milestone that this strategy belongs to. */ milestoneId: string; - /** An object containing the parameters for the strategy */ - parameters?: ParametersSchema; - /** Ids of segments to use for this strategy */ - segments?: number[]; /** The order of the strategy in the list */ sortOrder: number; - /** The name of the strategy type */ - strategyName: string; /** * A descriptive title for the strategy * @nullable */ title?: string | null; + /** The name of the strategy type */ + strategyName: string; + /** An object containing the parameters for the strategy */ + parameters?: ParametersSchema; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */ + constraints?: ConstraintSchema[]; /** Strategy level variants */ variants?: CreateStrategyVariantSchema[]; + /** Ids of segments to use for this strategy */ + segments?: number[]; } diff --git a/frontend/src/openapi/models/updateReleasePlanTemplate401.ts b/frontend/src/openapi/models/updateReleasePlanTemplate401.ts deleted file mode 100644 index a867a4cce7..0000000000 --- a/frontend/src/openapi/models/updateReleasePlanTemplate401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateReleasePlanTemplate401 = { - /** 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/updateReleasePlanTemplate403.ts b/frontend/src/openapi/models/updateReleasePlanTemplate403.ts deleted file mode 100644 index c096eaec71..0000000000 --- a/frontend/src/openapi/models/updateReleasePlanTemplate403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateReleasePlanTemplate403 = { - /** 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/updateReleasePlanTemplateMilestone401.ts b/frontend/src/openapi/models/updateReleasePlanTemplateMilestone401.ts deleted file mode 100644 index f59c9a97d9..0000000000 --- a/frontend/src/openapi/models/updateReleasePlanTemplateMilestone401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateReleasePlanTemplateMilestone401 = { - /** 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/updateReleasePlanTemplateMilestone403.ts b/frontend/src/openapi/models/updateReleasePlanTemplateMilestone403.ts deleted file mode 100644 index eaf746feea..0000000000 --- a/frontend/src/openapi/models/updateReleasePlanTemplateMilestone403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateReleasePlanTemplateMilestone403 = { - /** 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/updateReleasePlanTemplateMilestone404.ts b/frontend/src/openapi/models/updateReleasePlanTemplateMilestone404.ts deleted file mode 100644 index 173c964b4d..0000000000 --- a/frontend/src/openapi/models/updateReleasePlanTemplateMilestone404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateReleasePlanTemplateMilestone404 = { - /** 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/updateReleasePlanTemplateSchema.ts b/frontend/src/openapi/models/updateReleasePlanTemplateSchema.ts index 80e3d6f995..7c2a123cab 100644 --- a/frontend/src/openapi/models/updateReleasePlanTemplateSchema.ts +++ b/frontend/src/openapi/models/updateReleasePlanTemplateSchema.ts @@ -9,20 +9,20 @@ import type { CreateReleasePlanMilestoneSchema } from './createReleasePlanMilest * Schema representing the update of a release template. */ export interface UpdateReleasePlanTemplateSchema { + /** + * The release plan/template's ID. Release template IDs are ulids. + */ + id: string; + /** The name of the release template. */ + name: string; /** * A description of the release template. * @nullable */ description?: string | null; - /** - * The release plan/template's ID. Release template IDs are ulids. - */ - id: string; /** * A list of the milestones in this release template. * @nullable */ milestones?: CreateReleasePlanMilestoneSchema[] | null; - /** The name of the release template. */ - name: string; } diff --git a/frontend/src/openapi/models/updateRole400.ts b/frontend/src/openapi/models/updateRole400.ts deleted file mode 100644 index e4148dd3de..0000000000 --- a/frontend/src/openapi/models/updateRole400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateRole400 = { - /** 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/updateRole401.ts b/frontend/src/openapi/models/updateRole401.ts deleted file mode 100644 index c0af67c51e..0000000000 --- a/frontend/src/openapi/models/updateRole401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateRole401 = { - /** 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/updateRole403.ts b/frontend/src/openapi/models/updateRole403.ts deleted file mode 100644 index 55892f62f7..0000000000 --- a/frontend/src/openapi/models/updateRole403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateRole403 = { - /** 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/updateRole404.ts b/frontend/src/openapi/models/updateRole404.ts deleted file mode 100644 index 6593e9a578..0000000000 --- a/frontend/src/openapi/models/updateRole404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateRole404 = { - /** 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/updateRole409.ts b/frontend/src/openapi/models/updateRole409.ts deleted file mode 100644 index f6fb596565..0000000000 --- a/frontend/src/openapi/models/updateRole409.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateRole409 = { - /** 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/updateSegment400.ts b/frontend/src/openapi/models/updateSegment400.ts index 971fe4a50b..0c047832ea 100644 --- a/frontend/src/openapi/models/updateSegment400.ts +++ b/frontend/src/openapi/models/updateSegment400.ts @@ -7,8 +7,8 @@ export type UpdateSegment400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSegment401.ts b/frontend/src/openapi/models/updateSegment401.ts index 58c60dfc93..fce7b629e3 100644 --- a/frontend/src/openapi/models/updateSegment401.ts +++ b/frontend/src/openapi/models/updateSegment401.ts @@ -7,8 +7,8 @@ export type UpdateSegment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSegment403.ts b/frontend/src/openapi/models/updateSegment403.ts index 55656eab87..8ce5661c65 100644 --- a/frontend/src/openapi/models/updateSegment403.ts +++ b/frontend/src/openapi/models/updateSegment403.ts @@ -7,8 +7,8 @@ export type UpdateSegment403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSegment409.ts b/frontend/src/openapi/models/updateSegment409.ts index 1794076664..6fa3398480 100644 --- a/frontend/src/openapi/models/updateSegment409.ts +++ b/frontend/src/openapi/models/updateSegment409.ts @@ -7,8 +7,8 @@ export type UpdateSegment409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSegment415.ts b/frontend/src/openapi/models/updateSegment415.ts index 67dd748ede..4e7495addc 100644 --- a/frontend/src/openapi/models/updateSegment415.ts +++ b/frontend/src/openapi/models/updateSegment415.ts @@ -7,8 +7,8 @@ export type UpdateSegment415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount400.ts b/frontend/src/openapi/models/updateServiceAccount400.ts deleted file mode 100644 index 34ead8c22b..0000000000 --- a/frontend/src/openapi/models/updateServiceAccount400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateServiceAccount400 = { - /** 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/updateServiceAccount401.ts b/frontend/src/openapi/models/updateServiceAccount401.ts deleted file mode 100644 index 4991e5340e..0000000000 --- a/frontend/src/openapi/models/updateServiceAccount401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateServiceAccount401 = { - /** 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/updateServiceAccount403.ts b/frontend/src/openapi/models/updateServiceAccount403.ts deleted file mode 100644 index a9bf7909f6..0000000000 --- a/frontend/src/openapi/models/updateServiceAccount403.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateServiceAccount403 = { - /** 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/updateServiceAccount404.ts b/frontend/src/openapi/models/updateServiceAccount404.ts deleted file mode 100644 index ddf7b6e54f..0000000000 --- a/frontend/src/openapi/models/updateServiceAccount404.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateServiceAccount404 = { - /** 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/updateServiceAccount415.ts b/frontend/src/openapi/models/updateServiceAccount415.ts deleted file mode 100644 index 18dc4d9443..0000000000 --- a/frontend/src/openapi/models/updateServiceAccount415.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type UpdateServiceAccount415 = { - /** 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/updateSortOrder401.ts b/frontend/src/openapi/models/updateSortOrder401.ts index 725044330e..339f400ea2 100644 --- a/frontend/src/openapi/models/updateSortOrder401.ts +++ b/frontend/src/openapi/models/updateSortOrder401.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSortOrder403.ts b/frontend/src/openapi/models/updateSortOrder403.ts index 029dd95fff..a827289fd0 100644 --- a/frontend/src/openapi/models/updateSortOrder403.ts +++ b/frontend/src/openapi/models/updateSortOrder403.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSortOrder404.ts b/frontend/src/openapi/models/updateSortOrder404.ts index 8b8f87f9a7..7c3b72ccd2 100644 --- a/frontend/src/openapi/models/updateSortOrder404.ts +++ b/frontend/src/openapi/models/updateSortOrder404.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings400.ts b/frontend/src/openapi/models/updateSplashSettings400.ts index 059a9163a6..1adac93a80 100644 --- a/frontend/src/openapi/models/updateSplashSettings400.ts +++ b/frontend/src/openapi/models/updateSplashSettings400.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings401.ts b/frontend/src/openapi/models/updateSplashSettings401.ts index 6898bc046b..ff35396dbc 100644 --- a/frontend/src/openapi/models/updateSplashSettings401.ts +++ b/frontend/src/openapi/models/updateSplashSettings401.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings403.ts b/frontend/src/openapi/models/updateSplashSettings403.ts index 652f3301e2..8df3f3d396 100644 --- a/frontend/src/openapi/models/updateSplashSettings403.ts +++ b/frontend/src/openapi/models/updateSplashSettings403.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings415.ts b/frontend/src/openapi/models/updateSplashSettings415.ts index b27d99743c..6f03a27d8a 100644 --- a/frontend/src/openapi/models/updateSplashSettings415.ts +++ b/frontend/src/openapi/models/updateSplashSettings415.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy401.ts b/frontend/src/openapi/models/updateStrategy401.ts index 9454f6c65b..446394de95 100644 --- a/frontend/src/openapi/models/updateStrategy401.ts +++ b/frontend/src/openapi/models/updateStrategy401.ts @@ -7,8 +7,8 @@ export type UpdateStrategy401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy403.ts b/frontend/src/openapi/models/updateStrategy403.ts index 538aa02b8e..dcff2f3243 100644 --- a/frontend/src/openapi/models/updateStrategy403.ts +++ b/frontend/src/openapi/models/updateStrategy403.ts @@ -7,8 +7,8 @@ export type UpdateStrategy403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy404.ts b/frontend/src/openapi/models/updateStrategy404.ts index b9d95ecd54..f162694f9f 100644 --- a/frontend/src/openapi/models/updateStrategy404.ts +++ b/frontend/src/openapi/models/updateStrategy404.ts @@ -7,8 +7,8 @@ export type UpdateStrategy404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy415.ts b/frontend/src/openapi/models/updateStrategy415.ts index d5ddcf2ed4..10682a1483 100644 --- a/frontend/src/openapi/models/updateStrategy415.ts +++ b/frontend/src/openapi/models/updateStrategy415.ts @@ -7,8 +7,8 @@ export type UpdateStrategy415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts b/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts index 6d04dad95d..84ba3fa687 100644 --- a/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts @@ -6,12 +6,12 @@ import type { UpdateStrategySchemaParametersItemType } from './updateStrategySchemaParametersItemType'; export type UpdateStrategySchemaParametersItem = { - /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ - description?: string; /** The name of the parameter */ name: string; - /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ - required?: boolean; /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ type: UpdateStrategySchemaParametersItemType; + /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ + description?: string; + /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ + required?: boolean; }; diff --git a/frontend/src/openapi/models/updateTagType400.ts b/frontend/src/openapi/models/updateTagType400.ts index 639440dc81..f3595377a4 100644 --- a/frontend/src/openapi/models/updateTagType400.ts +++ b/frontend/src/openapi/models/updateTagType400.ts @@ -7,8 +7,8 @@ export type UpdateTagType400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTagType401.ts b/frontend/src/openapi/models/updateTagType401.ts index b2c9dec738..59df717947 100644 --- a/frontend/src/openapi/models/updateTagType401.ts +++ b/frontend/src/openapi/models/updateTagType401.ts @@ -7,8 +7,8 @@ export type UpdateTagType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTagType403.ts b/frontend/src/openapi/models/updateTagType403.ts index fbd70d6aab..99d5bf8885 100644 --- a/frontend/src/openapi/models/updateTagType403.ts +++ b/frontend/src/openapi/models/updateTagType403.ts @@ -7,8 +7,8 @@ export type UpdateTagType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTagType415.ts b/frontend/src/openapi/models/updateTagType415.ts index 11d1d605e8..2c75635495 100644 --- a/frontend/src/openapi/models/updateTagType415.ts +++ b/frontend/src/openapi/models/updateTagType415.ts @@ -7,8 +7,8 @@ export type UpdateTagType415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTags400.ts b/frontend/src/openapi/models/updateTags400.ts index 07489b9580..223e1ac788 100644 --- a/frontend/src/openapi/models/updateTags400.ts +++ b/frontend/src/openapi/models/updateTags400.ts @@ -7,8 +7,8 @@ export type UpdateTags400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTags401.ts b/frontend/src/openapi/models/updateTags401.ts index cf4209e657..20c42a7778 100644 --- a/frontend/src/openapi/models/updateTags401.ts +++ b/frontend/src/openapi/models/updateTags401.ts @@ -7,8 +7,8 @@ export type UpdateTags401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTags403.ts b/frontend/src/openapi/models/updateTags403.ts index 251bf2c7b7..98862bb38c 100644 --- a/frontend/src/openapi/models/updateTags403.ts +++ b/frontend/src/openapi/models/updateTags403.ts @@ -7,8 +7,8 @@ export type UpdateTags403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateTags404.ts b/frontend/src/openapi/models/updateTags404.ts index 9c2dfabfd0..701de19e94 100644 --- a/frontend/src/openapi/models/updateTags404.ts +++ b/frontend/src/openapi/models/updateTags404.ts @@ -7,8 +7,8 @@ export type UpdateTags404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateUser400.ts b/frontend/src/openapi/models/updateUser400.ts index f3ac7681c0..efd48b4cf9 100644 --- a/frontend/src/openapi/models/updateUser400.ts +++ b/frontend/src/openapi/models/updateUser400.ts @@ -7,8 +7,8 @@ export type UpdateUser400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateUser401.ts b/frontend/src/openapi/models/updateUser401.ts index 41e0293d85..03a37e7202 100644 --- a/frontend/src/openapi/models/updateUser401.ts +++ b/frontend/src/openapi/models/updateUser401.ts @@ -7,8 +7,8 @@ export type UpdateUser401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateUser403.ts b/frontend/src/openapi/models/updateUser403.ts index edba209f65..64e3afb9e0 100644 --- a/frontend/src/openapi/models/updateUser403.ts +++ b/frontend/src/openapi/models/updateUser403.ts @@ -7,8 +7,8 @@ export type UpdateUser403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/updateUser404.ts b/frontend/src/openapi/models/updateUser404.ts index d35d3de563..0b52196033 100644 --- a/frontend/src/openapi/models/updateUser404.ts +++ b/frontend/src/openapi/models/updateUser404.ts @@ -7,8 +7,8 @@ export type UpdateUser404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/upsertSegmentSchema.ts b/frontend/src/openapi/models/upsertSegmentSchema.ts index c89aa718bf..afaf6db690 100644 --- a/frontend/src/openapi/models/upsertSegmentSchema.ts +++ b/frontend/src/openapi/models/upsertSegmentSchema.ts @@ -9,18 +9,18 @@ import type { ConstraintSchema } from './constraintSchema'; * Data used to create or update a segment */ export interface UpsertSegmentSchema { - /** The list of constraints that make up this segment */ - constraints: ConstraintSchema[]; + /** The name of the segment */ + name: string; /** * A description of what the segment is for * @nullable */ description?: string | null; - /** The name of the segment */ - name: string; /** * The project the segment belongs to if any. * @nullable */ project?: string | null; + /** The list of constraints that make up this segment */ + constraints: ConstraintSchema[]; } diff --git a/frontend/src/openapi/models/userAccessSchema.ts b/frontend/src/openapi/models/userAccessSchema.ts index b133f1a5c0..7511e7ce93 100644 --- a/frontend/src/openapi/models/userAccessSchema.ts +++ b/frontend/src/openapi/models/userAccessSchema.ts @@ -8,29 +8,29 @@ * Describes a single set of access for a user */ export interface UserAccessSchema { - /** A list of project ids that this user has access to */ - accessibleProjects: string[]; + /** The identifier for the user */ + userId: number; /** * When the user was created * @nullable */ createdAt?: string | null; - /** A list of group names that this user is a member of */ - groups: string[]; - /** - * The last time the user logged in - * @nullable - */ - lastSeen?: string | null; - /** The name of the root role that this user has */ - rootRole: string; - /** The email address of the user */ - userEmail: string; - /** The identifier for the user */ - userId: number; /** * The name of the user * @nullable */ userName?: string | null; + /** + * The last time the user logged in + * @nullable + */ + lastSeen?: string | null; + /** A list of project ids that this user has access to */ + accessibleProjects: string[]; + /** A list of group names that this user is a member of */ + groups: string[]; + /** The name of the root role that this user has */ + rootRole: string; + /** The email address of the user */ + userEmail: string; } diff --git a/frontend/src/openapi/models/userSchema.ts b/frontend/src/openapi/models/userSchema.ts index 897ff0e1af..6fff052fad 100644 --- a/frontend/src/openapi/models/userSchema.ts +++ b/frontend/src/openapi/models/userSchema.ts @@ -8,62 +8,62 @@ * An Unleash user */ export interface UserSchema { - /** A user is either an actual User or a Service Account */ - accountType?: string; - /** - * Count of active browser sessions for this user - * @nullable - */ - activeSessions?: number | null; - /** The user was created at this time */ - createdAt?: string; - /** Experimental. The number of deleted browser sessions after last login */ - deletedSessions?: number; - /** Email of the user */ - email?: string; - /** Is the welcome email sent to the user or not */ - emailSent?: boolean; /** The user id */ id: number; - /** URL used for the user profile image */ - imageUrl?: string; - /** If the user is actively inviting other users, this is the link that can be shared with other users */ - inviteLink?: string; /** * Deprecated in v5. Used internally to know which operations the user should be allowed to perform * @deprecated */ isAPI?: boolean; - /** - * How many unsuccessful attempts at logging in has the user made - * @minimum 0 - */ - loginAttempts?: number; /** * Name of the user * @nullable */ name?: string | null; - /** Deprecated */ - permissions?: string[]; + /** Email of the user */ + email?: string; + /** + * A unique username for the user + * @nullable + */ + username?: string | null; + /** URL used for the user profile image */ + imageUrl?: string; + /** If the user is actively inviting other users, this is the link that can be shared with other users */ + inviteLink?: string; + /** + * How many unsuccessful attempts at logging in has the user made + * @minimum 0 + */ + loginAttempts?: number; + /** Is the welcome email sent to the user or not */ + emailSent?: boolean; /** * Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned * @minimum 0 */ rootRole?: number; + /** + * The last time this user logged in + * @nullable + */ + seenAt?: string | null; + /** The user was created at this time */ + createdAt?: string; + /** A user is either an actual User or a Service Account */ + accountType?: string; + /** Deprecated */ + permissions?: string[]; /** * The SCIM ID of the user, only present if managed by SCIM * @nullable */ scimId?: string | null; /** - * The last time this user logged in + * Count of active browser sessions for this user * @nullable */ - seenAt?: string | null; - /** - * A unique username for the user - * @nullable - */ - username?: string | null; + activeSessions?: number | null; + /** Experimental. The number of deleted browser sessions after last login */ + deletedSessions?: number; } diff --git a/frontend/src/openapi/models/userWithProjectRoleSchema.ts b/frontend/src/openapi/models/userWithProjectRoleSchema.ts index a7dc1de7d1..cbb27190e7 100644 --- a/frontend/src/openapi/models/userWithProjectRoleSchema.ts +++ b/frontend/src/openapi/models/userWithProjectRoleSchema.ts @@ -8,8 +8,13 @@ * Data about a user including their project role */ export interface UserWithProjectRoleSchema { - /** When this user was added to the project */ - addedAt?: string; + /** + * Whether this user is authenticated through Unleash tokens or logged in with a session + * @deprecated + */ + isAPI?: boolean; + /** The name of the user */ + name?: string; /** * The user's email address * @nullable @@ -25,13 +30,8 @@ export interface UserWithProjectRoleSchema { * @nullable */ imageUrl?: string | null; - /** - * Whether this user is authenticated through Unleash tokens or logged in with a session - * @deprecated - */ - isAPI?: boolean; - /** The name of the user */ - name?: string; + /** When this user was added to the project */ + addedAt?: string; /** * The ID of the role this user has in the given project * @minimum 0 diff --git a/frontend/src/openapi/models/usersSchema.ts b/frontend/src/openapi/models/usersSchema.ts index 4edf5e88f8..e82f7b685d 100644 --- a/frontend/src/openapi/models/usersSchema.ts +++ b/frontend/src/openapi/models/usersSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RoleSchema } from './roleSchema'; import type { UserSchema } from './userSchema'; +import type { RoleSchema } from './roleSchema'; /** * Users and root roles */ export interface UsersSchema { - /** A list of [root roles](https://docs.getunleash.io/reference/rbac#predefined-roles) in the Unleash instance. */ - rootRoles?: RoleSchema[]; /** A list of users in the Unleash instance. */ users: UserSchema[]; + /** A list of [root roles](https://docs.getunleash.io/reference/rbac#predefined-roles) in the Unleash instance. */ + rootRoles?: RoleSchema[]; } diff --git a/frontend/src/openapi/models/validateArchiveFeatures400.ts b/frontend/src/openapi/models/validateArchiveFeatures400.ts index 5f332f4dc4..8870d319b9 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures400.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures400.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures401.ts b/frontend/src/openapi/models/validateArchiveFeatures401.ts index 62314da06c..bf3fa6f50e 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures401.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures401.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures403.ts b/frontend/src/openapi/models/validateArchiveFeatures403.ts index feeefdfcbd..d26aad8c5e 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures403.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures403.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures415.ts b/frontend/src/openapi/models/validateArchiveFeatures415.ts index 8a37a6b59f..17c44cd7ce 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures415.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures415.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts b/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts index 4e9540a2f2..c574ade4ea 100644 --- a/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts +++ b/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts @@ -8,8 +8,8 @@ * Validation details for features archive operation */ export interface ValidateArchiveFeaturesSchema { - /** Whether any dependencies will be deleted as part of archive */ - hasDeletedDependencies: boolean; /** List of parent features that would orphan child features that are not part of the archive operation */ parentsWithChildFeatures: string[]; + /** Whether any dependencies will be deleted as part of archive */ + hasDeletedDependencies: boolean; } diff --git a/frontend/src/openapi/models/validateConstraint400.ts b/frontend/src/openapi/models/validateConstraint400.ts index 0e010e78c2..b89de39b1b 100644 --- a/frontend/src/openapi/models/validateConstraint400.ts +++ b/frontend/src/openapi/models/validateConstraint400.ts @@ -7,8 +7,8 @@ export type ValidateConstraint400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint401.ts b/frontend/src/openapi/models/validateConstraint401.ts index 8ecc634bcb..8f8b23f070 100644 --- a/frontend/src/openapi/models/validateConstraint401.ts +++ b/frontend/src/openapi/models/validateConstraint401.ts @@ -7,8 +7,8 @@ export type ValidateConstraint401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint403.ts b/frontend/src/openapi/models/validateConstraint403.ts index 58ea7f19db..372756b2aa 100644 --- a/frontend/src/openapi/models/validateConstraint403.ts +++ b/frontend/src/openapi/models/validateConstraint403.ts @@ -7,8 +7,8 @@ export type ValidateConstraint403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint415.ts b/frontend/src/openapi/models/validateConstraint415.ts index 6f6aa94681..6dd0688f0f 100644 --- a/frontend/src/openapi/models/validateConstraint415.ts +++ b/frontend/src/openapi/models/validateConstraint415.ts @@ -7,8 +7,8 @@ export type ValidateConstraint415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateEnvironmentName400.ts b/frontend/src/openapi/models/validateEnvironmentName400.ts deleted file mode 100644 index 8802fade10..0000000000 --- a/frontend/src/openapi/models/validateEnvironmentName400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ValidateEnvironmentName400 = { - /** 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/validateEnvironmentName401.ts b/frontend/src/openapi/models/validateEnvironmentName401.ts deleted file mode 100644 index cfcf8b49c0..0000000000 --- a/frontend/src/openapi/models/validateEnvironmentName401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ValidateEnvironmentName401 = { - /** 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/validateFeature400.ts b/frontend/src/openapi/models/validateFeature400.ts index ca5a0fe214..93bc15601e 100644 --- a/frontend/src/openapi/models/validateFeature400.ts +++ b/frontend/src/openapi/models/validateFeature400.ts @@ -7,8 +7,8 @@ export type ValidateFeature400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateFeature401.ts b/frontend/src/openapi/models/validateFeature401.ts index 3f55c96903..a8e84cdaca 100644 --- a/frontend/src/openapi/models/validateFeature401.ts +++ b/frontend/src/openapi/models/validateFeature401.ts @@ -7,8 +7,8 @@ export type ValidateFeature401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateFeature409.ts b/frontend/src/openapi/models/validateFeature409.ts index 378bb55428..1cb7bcd1f9 100644 --- a/frontend/src/openapi/models/validateFeature409.ts +++ b/frontend/src/openapi/models/validateFeature409.ts @@ -7,8 +7,8 @@ export type ValidateFeature409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateFeature415.ts b/frontend/src/openapi/models/validateFeature415.ts index 4f0498f6cd..ea03a6758d 100644 --- a/frontend/src/openapi/models/validateFeature415.ts +++ b/frontend/src/openapi/models/validateFeature415.ts @@ -7,8 +7,8 @@ export type ValidateFeature415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateImport404.ts b/frontend/src/openapi/models/validateImport404.ts index 8008c4b94c..114dbbd321 100644 --- a/frontend/src/openapi/models/validateImport404.ts +++ b/frontend/src/openapi/models/validateImport404.ts @@ -7,8 +7,8 @@ export type ValidateImport404 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validatePassword400.ts b/frontend/src/openapi/models/validatePassword400.ts index 9c8b2d9369..636695d47d 100644 --- a/frontend/src/openapi/models/validatePassword400.ts +++ b/frontend/src/openapi/models/validatePassword400.ts @@ -7,8 +7,8 @@ export type ValidatePassword400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validatePassword415.ts b/frontend/src/openapi/models/validatePassword415.ts index 191801eb38..5e2c591433 100644 --- a/frontend/src/openapi/models/validatePassword415.ts +++ b/frontend/src/openapi/models/validatePassword415.ts @@ -7,8 +7,8 @@ export type ValidatePassword415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateProject400.ts b/frontend/src/openapi/models/validateProject400.ts index 690517235f..589bcf0063 100644 --- a/frontend/src/openapi/models/validateProject400.ts +++ b/frontend/src/openapi/models/validateProject400.ts @@ -7,8 +7,8 @@ export type ValidateProject400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateProject401.ts b/frontend/src/openapi/models/validateProject401.ts index af6a4c9a89..43ecd8c2cd 100644 --- a/frontend/src/openapi/models/validateProject401.ts +++ b/frontend/src/openapi/models/validateProject401.ts @@ -7,8 +7,8 @@ export type ValidateProject401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateProject403.ts b/frontend/src/openapi/models/validateProject403.ts index 56a8a94209..d30a5a193f 100644 --- a/frontend/src/openapi/models/validateProject403.ts +++ b/frontend/src/openapi/models/validateProject403.ts @@ -7,8 +7,8 @@ export type ValidateProject403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateProject415.ts b/frontend/src/openapi/models/validateProject415.ts index efb5b1bec4..bd86fc2d9d 100644 --- a/frontend/src/openapi/models/validateProject415.ts +++ b/frontend/src/openapi/models/validateProject415.ts @@ -7,8 +7,8 @@ export type ValidateProject415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validatePublicSignupToken400.ts b/frontend/src/openapi/models/validatePublicSignupToken400.ts index f483d0fc72..e0ed893499 100644 --- a/frontend/src/openapi/models/validatePublicSignupToken400.ts +++ b/frontend/src/openapi/models/validatePublicSignupToken400.ts @@ -7,8 +7,8 @@ export type ValidatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateRole400.ts b/frontend/src/openapi/models/validateRole400.ts deleted file mode 100644 index 4c21ac1ab3..0000000000 --- a/frontend/src/openapi/models/validateRole400.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ValidateRole400 = { - /** 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/validateRole401.ts b/frontend/src/openapi/models/validateRole401.ts deleted file mode 100644 index 9752c60b49..0000000000 --- a/frontend/src/openapi/models/validateRole401.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ValidateRole401 = { - /** 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/validateSegment400.ts b/frontend/src/openapi/models/validateSegment400.ts index f5e0202beb..b81307b553 100644 --- a/frontend/src/openapi/models/validateSegment400.ts +++ b/frontend/src/openapi/models/validateSegment400.ts @@ -7,8 +7,8 @@ export type ValidateSegment400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateSegment401.ts b/frontend/src/openapi/models/validateSegment401.ts index 5fb7566ddd..853ebb1ec6 100644 --- a/frontend/src/openapi/models/validateSegment401.ts +++ b/frontend/src/openapi/models/validateSegment401.ts @@ -7,8 +7,8 @@ export type ValidateSegment401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateSegment409.ts b/frontend/src/openapi/models/validateSegment409.ts index 32ac0eab5c..eece090277 100644 --- a/frontend/src/openapi/models/validateSegment409.ts +++ b/frontend/src/openapi/models/validateSegment409.ts @@ -7,8 +7,8 @@ export type ValidateSegment409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateSegment415.ts b/frontend/src/openapi/models/validateSegment415.ts index 6479afbf37..9759073604 100644 --- a/frontend/src/openapi/models/validateSegment415.ts +++ b/frontend/src/openapi/models/validateSegment415.ts @@ -7,8 +7,8 @@ export type ValidateSegment415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagType400.ts b/frontend/src/openapi/models/validateTagType400.ts index 4bc790c9e1..7267c864b4 100644 --- a/frontend/src/openapi/models/validateTagType400.ts +++ b/frontend/src/openapi/models/validateTagType400.ts @@ -7,8 +7,8 @@ export type ValidateTagType400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagType401.ts b/frontend/src/openapi/models/validateTagType401.ts index 747332aec1..b4ab2a2573 100644 --- a/frontend/src/openapi/models/validateTagType401.ts +++ b/frontend/src/openapi/models/validateTagType401.ts @@ -7,8 +7,8 @@ export type ValidateTagType401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagType403.ts b/frontend/src/openapi/models/validateTagType403.ts index 89dde1e264..73e8388a45 100644 --- a/frontend/src/openapi/models/validateTagType403.ts +++ b/frontend/src/openapi/models/validateTagType403.ts @@ -7,8 +7,8 @@ export type ValidateTagType403 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagType409.ts b/frontend/src/openapi/models/validateTagType409.ts index 69fb7ef80a..40b575306d 100644 --- a/frontend/src/openapi/models/validateTagType409.ts +++ b/frontend/src/openapi/models/validateTagType409.ts @@ -7,8 +7,8 @@ export type ValidateTagType409 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagType415.ts b/frontend/src/openapi/models/validateTagType415.ts index b7e7a894d4..16a2e21c73 100644 --- a/frontend/src/openapi/models/validateTagType415.ts +++ b/frontend/src/openapi/models/validateTagType415.ts @@ -7,8 +7,8 @@ export type ValidateTagType415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateTagTypeSchema.ts b/frontend/src/openapi/models/validateTagTypeSchema.ts index 806aa9b52f..08ac473108 100644 --- a/frontend/src/openapi/models/validateTagTypeSchema.ts +++ b/frontend/src/openapi/models/validateTagTypeSchema.ts @@ -9,7 +9,7 @@ import type { TagTypeSchema } from './tagTypeSchema'; * The result of validating a tag type. */ export interface ValidateTagTypeSchema { - tagType: TagTypeSchema; /** Whether or not the tag type is valid. */ valid: boolean; + tagType: TagTypeSchema; } diff --git a/frontend/src/openapi/models/validateToken401.ts b/frontend/src/openapi/models/validateToken401.ts index 1cbf733f43..9ebdd649a1 100644 --- a/frontend/src/openapi/models/validateToken401.ts +++ b/frontend/src/openapi/models/validateToken401.ts @@ -7,8 +7,8 @@ export type ValidateToken401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateToken415.ts b/frontend/src/openapi/models/validateToken415.ts index 7f6dfe1b3f..f391bd76e6 100644 --- a/frontend/src/openapi/models/validateToken415.ts +++ b/frontend/src/openapi/models/validateToken415.ts @@ -7,8 +7,8 @@ export type ValidateToken415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword400.ts b/frontend/src/openapi/models/validateUserPassword400.ts index 9daa1849dd..eeed7b4a23 100644 --- a/frontend/src/openapi/models/validateUserPassword400.ts +++ b/frontend/src/openapi/models/validateUserPassword400.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword400 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword401.ts b/frontend/src/openapi/models/validateUserPassword401.ts index 014ac318b3..9d0985c1b3 100644 --- a/frontend/src/openapi/models/validateUserPassword401.ts +++ b/frontend/src/openapi/models/validateUserPassword401.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword401 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword415.ts b/frontend/src/openapi/models/validateUserPassword415.ts index ef6e562153..7d1dc435f8 100644 --- a/frontend/src/openapi/models/validateUserPassword415.ts +++ b/frontend/src/openapi/models/validateUserPassword415.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword415 = { /** The ID of the error instance */ id?: string; - /** A description of what went wrong. */ - message?: string; /** The name of the error kind */ name?: string; + /** A description of what went wrong. */ + message?: string; }; diff --git a/frontend/src/openapi/models/variantFlagSchema.ts b/frontend/src/openapi/models/variantFlagSchema.ts index a88b346fe1..84c806918d 100644 --- a/frontend/src/openapi/models/variantFlagSchema.ts +++ b/frontend/src/openapi/models/variantFlagSchema.ts @@ -9,8 +9,12 @@ import type { VariantFlagSchemaPayload } from './variantFlagSchemaPayload'; * A representation of an evaluated Unleash feature variant. */ export interface VariantFlagSchema { + /** The name of the variant. Will always be disabled if `enabled` is false. */ + name?: string; /** Whether the variant is enabled or not. */ enabled?: boolean; + /** Additional data associated with this variant. */ + payload?: VariantFlagSchemaPayload; /** Whether the feature is enabled or not. */ feature_enabled?: boolean; /** @@ -18,8 +22,4 @@ export interface VariantFlagSchema { * @deprecated */ featureEnabled?: boolean; - /** The name of the variant. Will always be disabled if `enabled` is false. */ - name?: string; - /** Additional data associated with this variant. */ - payload?: VariantFlagSchemaPayload; } diff --git a/frontend/src/openapi/models/variantSchema.ts b/frontend/src/openapi/models/variantSchema.ts index 06acae157a..097f36d481 100644 --- a/frontend/src/openapi/models/variantSchema.ts +++ b/frontend/src/openapi/models/variantSchema.ts @@ -3,9 +3,9 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { OverrideSchema } from './overrideSchema'; -import type { VariantSchemaPayload } from './variantSchemaPayload'; import type { VariantSchemaWeightType } from './variantSchemaWeightType'; +import type { VariantSchemaPayload } from './variantSchemaPayload'; +import type { OverrideSchema } from './overrideSchema'; /** * A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) for a more detailed description @@ -13,12 +13,6 @@ import type { VariantSchemaWeightType } from './variantSchemaWeightType'; export interface VariantSchema { /** The variants name. Is unique for this feature flag */ name: string; - /** Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence. */ - overrides?: OverrideSchema[]; - /** Extra data configured for this variant */ - payload?: VariantSchemaPayload; - /** [Stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time */ - stickiness?: string; /** * The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information * @minimum 0 @@ -27,4 +21,10 @@ export interface VariantSchema { weight: number; /** Set to fix if this variant must have exactly the weight allocated to it. If the type is variable, the weight will adjust so that the total weight of all variants adds up to 1000 */ weightType?: VariantSchemaWeightType; + /** [Stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time */ + stickiness?: string; + /** Extra data configured for this variant */ + payload?: VariantSchemaPayload; + /** Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence. */ + overrides?: OverrideSchema[]; } diff --git a/frontend/src/openapi/models/versionSchema.ts b/frontend/src/openapi/models/versionSchema.ts index afc2cd63d2..cb23d6b0c5 100644 --- a/frontend/src/openapi/models/versionSchema.ts +++ b/frontend/src/openapi/models/versionSchema.ts @@ -12,10 +12,15 @@ import type { VersionSchemaLatest } from './versionSchemaLatest'; export interface VersionSchema { /** The current version of Unleash. */ current: VersionSchemaCurrent; - /** The instance identifier of the Unleash instance */ - instanceId?: string; - /** Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`) */ - isLatest: boolean; /** Information about the latest available Unleash releases. Will be an empty object if no data is available. */ latest: VersionSchemaLatest; + /** Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`) */ + isLatest: boolean; + /** The instance identifier of the Unleash instance */ + instanceId?: string; + /** + * The date and time of when this Unleash instance version was built + * @nullable + */ + buildDate?: string | null; } diff --git a/frontend/src/openapi/models/versionSchemaCurrent.ts b/frontend/src/openapi/models/versionSchemaCurrent.ts index ad0826aaf3..083e29c271 100644 --- a/frontend/src/openapi/models/versionSchemaCurrent.ts +++ b/frontend/src/openapi/models/versionSchemaCurrent.ts @@ -8,8 +8,8 @@ * The current version of Unleash. */ export type VersionSchemaCurrent = { - /** The Enterpris version of Unleash used to build this instance, represented as a git revision belonging to the [Unleash Enterprise](https://github.com/ivarconr/unleash-enterprise) repository. Will be an empty string if no enterprise version was used, */ - enterprise?: string; /** The OSS version used when building this Unleash instance, represented as a git revision belonging to the [main Unleash git repo](https://github.com/Unleash/unleash/) */ oss?: string; + /** The Enterpris version of Unleash used to build this instance, represented as a git revision belonging to the [Unleash Enterprise](https://github.com/ivarconr/unleash-enterprise) repository. Will be an empty string if no enterprise version was used, */ + enterprise?: string; }; diff --git a/frontend/src/openapi/models/versionSchemaLatest.ts b/frontend/src/openapi/models/versionSchemaLatest.ts index 4d179178d1..5b2cffbb12 100644 --- a/frontend/src/openapi/models/versionSchemaLatest.ts +++ b/frontend/src/openapi/models/versionSchemaLatest.ts @@ -8,8 +8,8 @@ * Information about the latest available Unleash releases. Will be an empty object if no data is available. */ export type VersionSchemaLatest = { - /** The latest available Enterprise version of Unleash */ - enterprise?: string; /** The latest available OSS version of Unleash */ oss?: string; + /** The latest available Enterprise version of Unleash */ + enterprise?: string; };