From 41e7c511815949d85941f8a549300de2155c4a21 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Tue, 17 Oct 2023 16:52:25 +0300 Subject: [PATCH] chore: generate types Signed-off-by: andreas-unleash --- frontend/src/openapi/index.ts | 32 ++++++++++++++++++ ...eRequestCreateFeatureSchemaOneOfPayload.ts | 2 ++ ...eRequestCreateFeatureSchemaOneOfTwozero.ts | 4 +-- ...tCreateFeatureSchemaOneOfTwozeroPayload.ts | 10 ------ ...hangeRequestCreateSchemaOneOfSixPayload.ts | 2 ++ .../changeRequestCreateSchemaOneOfTwofive.ts | 4 +-- ...eRequestCreateSchemaOneOfTwofivePayload.ts | 10 ------ ...estOneOrManyCreateSchemaOneOfSixPayload.ts | 2 ++ ...equestOneOrManyCreateSchemaOneOfTwofive.ts | 4 +-- ...neOrManyCreateSchemaOneOfTwofivePayload.ts | 10 ------ .../models/checkDependenciesExist401.ts | 14 ++++++++ .../models/checkDependenciesExist403.ts | 14 ++++++++ .../openapi/models/createMessageBanner400.ts | 14 ++++++++ .../openapi/models/createMessageBanner401.ts | 14 ++++++++ .../openapi/models/createMessageBanner403.ts | 14 ++++++++ .../openapi/models/createMessageBanner415.ts | 14 ++++++++ .../models/createMessageBannerSchema.ts | 29 ++++++++++++++++ .../openapi/models/deleteMessageBanner401.ts | 14 ++++++++ .../openapi/models/deleteMessageBanner403.ts | 14 ++++++++ .../openapi/models/deleteMessageBanner404.ts | 14 ++++++++ .../openapi/models/dependenciesExistSchema.ts | 10 ++++++ .../src/openapi/models/eventSchemaType.ts | 4 +++ .../src/openapi/models/exportResultSchema.ts | 3 ++ .../models/exportResultSchemaSegmentsItem.ts | 2 +- .../models/featureDependenciesSchema.ts | 16 +++++++++ .../openapi/models/getMessageBanners401.ts | 14 ++++++++ frontend/src/openapi/models/index.ts | 32 ++++++++++++++++-- .../models/instanceAdminStatsSchema.ts | 3 ++ ...stanceAdminStatsSchemaProductionChanges.ts | 17 ++++++++++ .../src/openapi/models/messageBannerSchema.ts | 33 +++++++++++++++++++ .../openapi/models/messageBannersSchema.ts | 14 ++++++++ .../playgroundStrategySchemaResultAnyOf.ts | 2 +- ...rategySchemaResultAnyOfEvaluationStatus.ts | 3 +- .../projectAccessConfigurationSchema.ts | 14 ++++++++ ...ojectAccessConfigurationSchemaRolesItem.ts | 14 ++++++++ .../openapi/models/searchEventsSchemaType.ts | 4 +++ .../src/openapi/models/setProjectAccess401.ts | 14 ++++++++ .../src/openapi/models/setProjectAccess403.ts | 14 ++++++++ .../openapi/models/updateMessageBanner400.ts | 14 ++++++++ .../openapi/models/updateMessageBanner401.ts | 14 ++++++++ .../openapi/models/updateMessageBanner403.ts | 14 ++++++++ .../openapi/models/updateMessageBanner404.ts | 14 ++++++++ .../openapi/models/updateMessageBanner415.ts | 14 ++++++++ .../models/validateArchiveFeatures400.ts | 14 ++++++++ .../models/validateArchiveFeatures401.ts | 14 ++++++++ .../models/validateArchiveFeatures403.ts | 14 ++++++++ .../models/validateArchiveFeatures415.ts | 14 ++++++++ 47 files changed, 529 insertions(+), 45 deletions(-) delete mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroPayload.ts delete mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofivePayload.ts delete mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofivePayload.ts create mode 100644 frontend/src/openapi/models/checkDependenciesExist401.ts create mode 100644 frontend/src/openapi/models/checkDependenciesExist403.ts create mode 100644 frontend/src/openapi/models/createMessageBanner400.ts create mode 100644 frontend/src/openapi/models/createMessageBanner401.ts create mode 100644 frontend/src/openapi/models/createMessageBanner403.ts create mode 100644 frontend/src/openapi/models/createMessageBanner415.ts create mode 100644 frontend/src/openapi/models/createMessageBannerSchema.ts create mode 100644 frontend/src/openapi/models/deleteMessageBanner401.ts create mode 100644 frontend/src/openapi/models/deleteMessageBanner403.ts create mode 100644 frontend/src/openapi/models/deleteMessageBanner404.ts create mode 100644 frontend/src/openapi/models/dependenciesExistSchema.ts create mode 100644 frontend/src/openapi/models/featureDependenciesSchema.ts create mode 100644 frontend/src/openapi/models/getMessageBanners401.ts create mode 100644 frontend/src/openapi/models/instanceAdminStatsSchemaProductionChanges.ts create mode 100644 frontend/src/openapi/models/messageBannerSchema.ts create mode 100644 frontend/src/openapi/models/messageBannersSchema.ts create mode 100644 frontend/src/openapi/models/projectAccessConfigurationSchema.ts create mode 100644 frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts create mode 100644 frontend/src/openapi/models/setProjectAccess401.ts create mode 100644 frontend/src/openapi/models/setProjectAccess403.ts create mode 100644 frontend/src/openapi/models/updateMessageBanner400.ts create mode 100644 frontend/src/openapi/models/updateMessageBanner401.ts create mode 100644 frontend/src/openapi/models/updateMessageBanner403.ts create mode 100644 frontend/src/openapi/models/updateMessageBanner404.ts create mode 100644 frontend/src/openapi/models/updateMessageBanner415.ts create mode 100644 frontend/src/openapi/models/validateArchiveFeatures400.ts create mode 100644 frontend/src/openapi/models/validateArchiveFeatures401.ts create mode 100644 frontend/src/openapi/models/validateArchiveFeatures403.ts create mode 100644 frontend/src/openapi/models/validateArchiveFeatures415.ts diff --git a/frontend/src/openapi/index.ts b/frontend/src/openapi/index.ts index e9644dae478c..c7e2d2184690 100644 --- a/frontend/src/openapi/index.ts +++ b/frontend/src/openapi/index.ts @@ -1 +1,33 @@ export * from './models'; +export * from './apis/auth'; +export * from './apis/users'; +export * from './apis/environments'; +export * from './apis/change-requests'; +export * from './apis/service-accounts'; +export * from './apis/import-export'; +export * from './apis/instance-admin'; +export * from './apis/unstable'; +export * from './apis/projects'; +export * from './apis/features'; +export * from './apis/metrics'; +export * from './apis/notifications'; +export * from './apis/operational'; +export * from './apis/public-signup-tokens'; +export * from './apis/feature-types'; +export * from './apis/archive'; +export * from './apis/strategies'; +export * from './apis/events'; +export * from './apis/playground'; +export * from './apis/personal-access-tokens'; +export * from './apis/admin-ui'; +export * from './apis/context'; +export * from './apis/tags'; +export * from './apis/addons'; +export * from './apis/api-tokens'; +export * from './apis/dependencies'; +export * from './apis/segments'; +export * from './apis/maintenance'; +export * from './apis/telemetry'; +export * from './apis/client'; +export * from './apis/frontend-api'; +export * from './apis/edge'; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfPayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfPayload.ts index 44f871cd2ae7..a73a7453131f 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfPayload.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfPayload.ts @@ -7,4 +7,6 @@ export type ChangeRequestCreateFeatureSchemaOneOfPayload = { /** The new state of the feature. */ enabled: boolean; + /** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */ + shouldActivateDisabledStrategies?: boolean; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts index ee9ff73781c2..b2940cf0657b 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts @@ -4,15 +4,13 @@ * See `gen:api` script in package.json */ import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroAction } from './changeRequestCreateFeatureSchemaOneOfTwozeroAction'; -import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload } from './changeRequestCreateFeatureSchemaOneOfTwozeroPayload'; /** - * Remove a parent feature dependency. + * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateFeatureSchemaOneOfTwozero = { /** The name of the feature that this change applies to. */ feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfTwozeroAction; - payload: ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroPayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroPayload.ts deleted file mode 100644 index 659777cea9a5..000000000000 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozeroPayload.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ChangeRequestCreateFeatureSchemaOneOfTwozeroPayload = { - /** The name of the feature we want to remove dependency on. */ - feature: string; -}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixPayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixPayload.ts index b1d28ee2acd5..5701a50d65bd 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixPayload.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSixPayload.ts @@ -7,4 +7,6 @@ export type ChangeRequestCreateSchemaOneOfSixPayload = { /** The new state of the feature. */ enabled: boolean; + /** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */ + shouldActivateDisabledStrategies?: boolean; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts index 8b0d9f031b22..c32357514751 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts @@ -4,15 +4,13 @@ * See `gen:api` script in package.json */ import type { ChangeRequestCreateSchemaOneOfTwofiveAction } from './changeRequestCreateSchemaOneOfTwofiveAction'; -import type { ChangeRequestCreateSchemaOneOfTwofivePayload } from './changeRequestCreateSchemaOneOfTwofivePayload'; /** - * Remove a parent feature dependency. + * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateSchemaOneOfTwofive = { /** The name of the feature that this change applies to. */ feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfTwofiveAction; - payload: ChangeRequestCreateSchemaOneOfTwofivePayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofivePayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofivePayload.ts deleted file mode 100644 index 2f6cdfd0252b..000000000000 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofivePayload.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ChangeRequestCreateSchemaOneOfTwofivePayload = { - /** The name of the feature we want to remove dependency on. */ - feature: string; -}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixPayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixPayload.ts index fe9c084d87f2..c5fc15c2c88b 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixPayload.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSixPayload.ts @@ -7,4 +7,6 @@ export type ChangeRequestOneOrManyCreateSchemaOneOfSixPayload = { /** The new state of the feature. */ enabled: boolean; + /** Only relevant when ALL the strategies are disabled. If true, all the disabled strategies will be enabled. If false, the default strategy will be added */ + shouldActivateDisabledStrategies?: boolean; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts index 12ff13482dd0..aabf765c0deb 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts @@ -4,15 +4,13 @@ * See `gen:api` script in package.json */ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction } from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction'; -import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload } from './changeRequestOneOrManyCreateSchemaOneOfTwofivePayload'; /** - * Remove a parent feature dependency. + * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwofive = { /** The name of the feature that this change applies to. */ feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction; - payload: ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofivePayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofivePayload.ts deleted file mode 100644 index 48482bc37d0e..000000000000 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofivePayload.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -export type ChangeRequestOneOrManyCreateSchemaOneOfTwofivePayload = { - /** The name of the feature we want to remove dependency on. */ - feature: string; -}; diff --git a/frontend/src/openapi/models/checkDependenciesExist401.ts b/frontend/src/openapi/models/checkDependenciesExist401.ts new file mode 100644 index 000000000000..474c83c6b8e1 --- /dev/null +++ b/frontend/src/openapi/models/checkDependenciesExist401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CheckDependenciesExist401 = { + /** The ID of the error instance */ + id?: 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 new file mode 100644 index 000000000000..b082e9aa50c8 --- /dev/null +++ b/frontend/src/openapi/models/checkDependenciesExist403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CheckDependenciesExist403 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/createMessageBanner400.ts b/frontend/src/openapi/models/createMessageBanner400.ts new file mode 100644 index 000000000000..9b7508b9cd65 --- /dev/null +++ b/frontend/src/openapi/models/createMessageBanner400.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CreateMessageBanner400 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/createMessageBanner401.ts b/frontend/src/openapi/models/createMessageBanner401.ts new file mode 100644 index 000000000000..e9e3611ebb0c --- /dev/null +++ b/frontend/src/openapi/models/createMessageBanner401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CreateMessageBanner401 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/createMessageBanner403.ts b/frontend/src/openapi/models/createMessageBanner403.ts new file mode 100644 index 000000000000..e048b6b87edc --- /dev/null +++ b/frontend/src/openapi/models/createMessageBanner403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CreateMessageBanner403 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/createMessageBanner415.ts b/frontend/src/openapi/models/createMessageBanner415.ts new file mode 100644 index 000000000000..54e536d7e3fc --- /dev/null +++ b/frontend/src/openapi/models/createMessageBanner415.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type CreateMessageBanner415 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/createMessageBannerSchema.ts b/frontend/src/openapi/models/createMessageBannerSchema.ts new file mode 100644 index 000000000000..968e7adc8451 --- /dev/null +++ b/frontend/src/openapi/models/createMessageBannerSchema.ts @@ -0,0 +1,29 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Describes the properties required to create or update a message banner. + */ +export interface CreateMessageBannerSchema { + /** The message to display to all users. Supports markdown. */ + message: string; + /** Whether the message banner should be displayed to all users. If not specified, defaults to true. */ + enabled?: boolean; + /** The variant of the message banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; + /** Whether the message banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; + /** The icon to display on the message 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. */ + icon?: string | null; + /** The link to display on the message 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. */ + link?: string | null; + /** The text to display on the link. If not specified, will be displayed as "More info". */ + linkText?: string | null; + /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ + dialogTitle?: string | null; + /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ + dialog?: string | null; +} diff --git a/frontend/src/openapi/models/deleteMessageBanner401.ts b/frontend/src/openapi/models/deleteMessageBanner401.ts new file mode 100644 index 000000000000..6e084e66d774 --- /dev/null +++ b/frontend/src/openapi/models/deleteMessageBanner401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMessageBanner401 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/deleteMessageBanner403.ts b/frontend/src/openapi/models/deleteMessageBanner403.ts new file mode 100644 index 000000000000..9d17f170c3eb --- /dev/null +++ b/frontend/src/openapi/models/deleteMessageBanner403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMessageBanner403 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/deleteMessageBanner404.ts b/frontend/src/openapi/models/deleteMessageBanner404.ts new file mode 100644 index 000000000000..e39440e53665 --- /dev/null +++ b/frontend/src/openapi/models/deleteMessageBanner404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMessageBanner404 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/dependenciesExistSchema.ts b/frontend/src/openapi/models/dependenciesExistSchema.ts new file mode 100644 index 000000000000..80d1a0b272e7 --- /dev/null +++ b/frontend/src/openapi/models/dependenciesExistSchema.ts @@ -0,0 +1,10 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * `true` when any dependencies exist, `false` when no dependencies exist. + */ +export type DependenciesExistSchema = boolean; diff --git a/frontend/src/openapi/models/eventSchemaType.ts b/frontend/src/openapi/models/eventSchemaType.ts index 32f33e54c536..b5fbff0afed2 100644 --- a/frontend/src/openapi/models/eventSchemaType.ts +++ b/frontend/src/openapi/models/eventSchemaType.ts @@ -52,6 +52,7 @@ export const EventSchemaType = { 'project-access-group-roles-updated': 'project-access-group-roles-updated', 'project-access-user-roles-deleted': 'project-access-user-roles-deleted', 'project-access-group-roles-deleted': 'project-access-group-roles-deleted', + 'project-access-updated': 'project-access-updated', 'project-created': 'project-created', 'project-updated': 'project-updated', 'project-deleted': 'project-deleted', @@ -124,4 +125,7 @@ export const EventSchemaType = { 'feature-dependency-added': 'feature-dependency-added', 'feature-dependency-removed': 'feature-dependency-removed', 'feature-dependencies-removed': 'feature-dependencies-removed', + 'message-banner-created': 'message-banner-created', + 'message-banner-updated': 'message-banner-updated', + 'message-banner-deleted': 'message-banner-deleted', } as const; diff --git a/frontend/src/openapi/models/exportResultSchema.ts b/frontend/src/openapi/models/exportResultSchema.ts index 2c9492a3f008..38e576810ce5 100644 --- a/frontend/src/openapi/models/exportResultSchema.ts +++ b/frontend/src/openapi/models/exportResultSchema.ts @@ -10,6 +10,7 @@ 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 toggle definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.) @@ -29,4 +30,6 @@ export interface ExportResultSchema { 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/exportResultSchemaSegmentsItem.ts b/frontend/src/openapi/models/exportResultSchemaSegmentsItem.ts index 79ad76f202f4..e7841be3ba9b 100644 --- a/frontend/src/openapi/models/exportResultSchemaSegmentsItem.ts +++ b/frontend/src/openapi/models/exportResultSchemaSegmentsItem.ts @@ -6,5 +6,5 @@ export type ExportResultSchemaSegmentsItem = { id: number; - name?: string; + name: string; }; diff --git a/frontend/src/openapi/models/featureDependenciesSchema.ts b/frontend/src/openapi/models/featureDependenciesSchema.ts new file mode 100644 index 000000000000..a848f26d6e38 --- /dev/null +++ b/frontend/src/openapi/models/featureDependenciesSchema.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { DependentFeatureSchema } from './dependentFeatureSchema'; + +/** + * Feature dependency connection between a child feature and its dependencies + */ +export interface FeatureDependenciesSchema { + /** 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/getMessageBanners401.ts b/frontend/src/openapi/models/getMessageBanners401.ts new file mode 100644 index 000000000000..5c513ad57fe0 --- /dev/null +++ b/frontend/src/openapi/models/getMessageBanners401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetMessageBanners401 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index b21dae1693c2..2bceb4ac2cce 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -150,7 +150,6 @@ export * from './changeRequestCreateFeatureSchemaOneOfSix'; export * from './changeRequestCreateFeatureSchemaOneOfSixAction'; export * from './changeRequestCreateFeatureSchemaOneOfTwozero'; export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction'; -export * from './changeRequestCreateFeatureSchemaOneOfTwozeroPayload'; export * from './changeRequestCreateSchema'; export * from './changeRequestCreateSchemaOneOf'; export * from './changeRequestCreateSchemaOneOfAction'; @@ -174,7 +173,6 @@ export * from './changeRequestCreateSchemaOneOfThreeAction'; export * from './changeRequestCreateSchemaOneOfThreePayload'; export * from './changeRequestCreateSchemaOneOfTwofive'; export * from './changeRequestCreateSchemaOneOfTwofiveAction'; -export * from './changeRequestCreateSchemaOneOfTwofivePayload'; export * from './changeRequestCreateSchemaOneOfTwoone'; export * from './changeRequestCreateSchemaOneOfTwooneAction'; export * from './changeRequestCreateSchemaOneOfTwothree'; @@ -212,7 +210,6 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwofive'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction'; -export * from './changeRequestOneOrManyCreateSchemaOneOfTwofivePayload'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction'; export * from './changeRequestOneOrManyCreateSchemaOneOfTwothree'; @@ -237,6 +234,8 @@ export * from './changeRoleForUser404'; export * from './changeUserPassword400'; export * from './changeUserPassword401'; export * from './changeUserPassword403'; +export * from './checkDependenciesExist401'; +export * from './checkDependenciesExist403'; export * from './clientApplicationSchema'; export * from './clientApplicationSchemaStarted'; export * from './clientFeatureSchema'; @@ -303,6 +302,11 @@ export * from './createGroupSchema'; export * from './createGroupSchemaUsersItem'; export * from './createGroupSchemaUsersItemUser'; export * from './createInvitedUserSchema'; +export * from './createMessageBanner400'; +export * from './createMessageBanner401'; +export * from './createMessageBanner403'; +export * from './createMessageBanner415'; +export * from './createMessageBannerSchema'; export * from './createPat401'; export * from './createPat403'; export * from './createPat404'; @@ -399,6 +403,9 @@ export * from './deleteFeatures403'; export * from './deleteGroup400'; export * from './deleteGroup401'; export * from './deleteGroup403'; +export * from './deleteMessageBanner401'; +export * from './deleteMessageBanner403'; +export * from './deleteMessageBanner404'; export * from './deletePat401'; export * from './deletePat403'; export * from './deletePat404'; @@ -424,6 +431,7 @@ export * from './deleteTagType403'; export * from './deleteUser401'; export * from './deleteUser403'; export * from './deleteUser404'; +export * from './dependenciesExistSchema'; export * from './dependentFeatureSchema'; export * from './deprecateStrategy401'; export * from './deprecateStrategy403'; @@ -449,6 +457,7 @@ export * from './exportQuerySchemaOneOf'; export * from './exportQuerySchemaOneOfTwo'; export * from './exportResultSchema'; export * from './exportResultSchemaSegmentsItem'; +export * from './featureDependenciesSchema'; export * from './featureEnvironmentMetricsSchema'; export * from './featureEnvironmentMetricsSchemaVariants'; export * from './featureEnvironmentSchema'; @@ -542,6 +551,7 @@ export * from './getLoginHistory404'; export * from './getMaintenance401'; export * from './getMaintenance403'; export * from './getMe401'; +export * from './getMessageBanners401'; export * from './getOidcSettings400'; export * from './getOidcSettings401'; export * from './getOidcSettings403'; @@ -637,6 +647,7 @@ export * from './instanceAdminStatsSchema'; export * from './instanceAdminStatsSchemaActiveUsers'; export * from './instanceAdminStatsSchemaClientAppsItem'; export * from './instanceAdminStatsSchemaClientAppsItemRange'; +export * from './instanceAdminStatsSchemaProductionChanges'; export * from './invoicesSchema'; export * from './invoicesSchemaItem'; export * from './legalValueSchema'; @@ -654,6 +665,8 @@ export * from './maintenanceSchema'; export * from './markNotificationsAsReadSchema'; export * from './meSchema'; export * from './meSchemaSplash'; +export * from './messageBannerSchema'; +export * from './messageBannersSchema'; export * from './nameSchema'; export * from './notificationsSchema'; export * from './notificationsSchemaItem'; @@ -724,6 +737,8 @@ export * from './playgroundStrategySchemaResultAnyOfFourVariant'; export * from './playgroundStrategySchemaResultAnyOfFourVariantPayload'; export * from './playgroundStrategySchemaResultAnyOfFourVariantPayloadType'; export * from './profileSchema'; +export * from './projectAccessConfigurationSchema'; +export * from './projectAccessConfigurationSchemaRolesItem'; export * from './projectAccessSchema'; export * from './projectAddAccessSchema'; export * from './projectAddRoleAccessSchema'; @@ -844,6 +859,8 @@ export * from './setOidcSettings400'; export * from './setOidcSettings401'; export * from './setOidcSettings403'; export * from './setOidcSettings415'; +export * from './setProjectAccess401'; +export * from './setProjectAccess403'; export * from './setRolesForGroup401'; export * from './setRolesForGroup403'; export * from './setRolesForGroup404'; @@ -957,6 +974,11 @@ export * from './updateGroup401'; export * from './updateGroup403'; export * from './updateGroup404'; export * from './updateGroup409'; +export * from './updateMessageBanner400'; +export * from './updateMessageBanner401'; +export * from './updateMessageBanner403'; +export * from './updateMessageBanner404'; +export * from './updateMessageBanner415'; export * from './updateProject400'; export * from './updateProject401'; export * from './updateProject403'; @@ -1027,6 +1049,10 @@ export * from './userWithProjectRoleSchema'; export * from './usersGroupsBaseSchema'; export * from './usersSchema'; export * from './usersSearchSchema'; +export * from './validateArchiveFeatures400'; +export * from './validateArchiveFeatures401'; +export * from './validateArchiveFeatures403'; +export * from './validateArchiveFeatures415'; export * from './validateConstraint400'; export * from './validateConstraint401'; export * from './validateConstraint403'; diff --git a/frontend/src/openapi/models/instanceAdminStatsSchema.ts b/frontend/src/openapi/models/instanceAdminStatsSchema.ts index a8e4370f7ef5..517387a1d414 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchema.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchema.ts @@ -4,6 +4,7 @@ * See `gen:api` script in package.json */ import type { InstanceAdminStatsSchemaActiveUsers } from './instanceAdminStatsSchemaActiveUsers'; +import type { InstanceAdminStatsSchemaProductionChanges } from './instanceAdminStatsSchemaProductionChanges'; import type { InstanceAdminStatsSchemaClientAppsItem } from './instanceAdminStatsSchemaClientAppsItem'; /** @@ -22,6 +23,8 @@ export interface InstanceAdminStatsSchema { users?: number; /** The number of active users in the last 7, 30 and 90 days */ activeUsers?: InstanceAdminStatsSchemaActiveUsers; + /** 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 */ featureToggles?: number; /** The number of projects defined in this instance. */ diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaProductionChanges.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaProductionChanges.ts new file mode 100644 index 000000000000..f6452c44a711 --- /dev/null +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaProductionChanges.ts @@ -0,0 +1,17 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The number of changes to the production environment in the last 30, 60 and 90 days + */ +export type InstanceAdminStatsSchemaProductionChanges = { + /** The number of changes in production in the last 30 days */ + last30?: number; + /** The number of changes in production in the last 60 days */ + last60?: number; + /** The number of changes in production in the last 90 days */ + last90?: number; +}; diff --git a/frontend/src/openapi/models/messageBannerSchema.ts b/frontend/src/openapi/models/messageBannerSchema.ts new file mode 100644 index 000000000000..395da383a745 --- /dev/null +++ b/frontend/src/openapi/models/messageBannerSchema.ts @@ -0,0 +1,33 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * An object describing a message banner to be displayed to all users. + */ +export interface MessageBannerSchema { + /** The message banner's ID. Message banner IDs are incrementing integers. In other words, a more recently created message banner will always have a higher ID than an older one. */ + id: number; + /** The message to display to all users. Supports markdown. */ + message: string; + /** Whether the message banner should be displayed to all users. If not specified, defaults to true. */ + enabled?: boolean; + /** The variant of the message banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; + /** Whether the message banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; + /** The icon to display on the message 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. */ + icon?: string | null; + /** The link to display on the message 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. */ + link?: string | null; + /** The text to display on the link. If not specified, will be displayed as "More info". */ + linkText?: string | null; + /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ + dialogTitle?: string | null; + /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ + dialog?: string | null; + /** The date and time of when the message banner was created. */ + createdAt: string; +} diff --git a/frontend/src/openapi/models/messageBannersSchema.ts b/frontend/src/openapi/models/messageBannersSchema.ts new file mode 100644 index 000000000000..5b14d9b7c5ee --- /dev/null +++ b/frontend/src/openapi/models/messageBannersSchema.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { MessageBannerSchema } from './messageBannerSchema'; + +/** + * A response model with a list of message banners. + */ +export interface MessageBannersSchema { + /** A list of message banners. */ + messageBanners: MessageBannerSchema[]; +} diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts index 7df5ead4d4f8..cb962fcdfe9d 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts @@ -7,7 +7,7 @@ import type { PlaygroundStrategySchemaResultAnyOfEvaluationStatus } from './play import type { PlaygroundStrategySchemaResultAnyOfEnabled } from './playgroundStrategySchemaResultAnyOfEnabled'; export type PlaygroundStrategySchemaResultAnyOf = { - /** 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. */ + /** 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/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts index fc0524aec9f8..318e7cc11d74 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfEvaluationStatus.ts @@ -5,7 +5,7 @@ */ /** - * 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. + * 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. */ export type PlaygroundStrategySchemaResultAnyOfEvaluationStatus = typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus[keyof typeof PlaygroundStrategySchemaResultAnyOfEvaluationStatus]; @@ -13,4 +13,5 @@ export type PlaygroundStrategySchemaResultAnyOfEvaluationStatus = // eslint-disable-next-line @typescript-eslint/no-redeclare export const PlaygroundStrategySchemaResultAnyOfEvaluationStatus = { incomplete: 'incomplete', + unevaluated: 'unevaluated', } as const; diff --git a/frontend/src/openapi/models/projectAccessConfigurationSchema.ts b/frontend/src/openapi/models/projectAccessConfigurationSchema.ts new file mode 100644 index 000000000000..e6a172c1b22c --- /dev/null +++ b/frontend/src/openapi/models/projectAccessConfigurationSchema.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ProjectAccessConfigurationSchemaRolesItem } from './projectAccessConfigurationSchemaRolesItem'; + +/** + * An object describing roles for a project and what users and groups are part of that role. + */ +export interface ProjectAccessConfigurationSchema { + /** A list of roles that are available within this project. */ + roles: ProjectAccessConfigurationSchemaRolesItem[]; +} diff --git a/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts new file mode 100644 index 000000000000..191933b4681f --- /dev/null +++ b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ProjectAccessConfigurationSchemaRolesItem = { + /** The id of the role. */ + 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/searchEventsSchemaType.ts b/frontend/src/openapi/models/searchEventsSchemaType.ts index 5f8b0b9693d2..430c257d18d3 100644 --- a/frontend/src/openapi/models/searchEventsSchemaType.ts +++ b/frontend/src/openapi/models/searchEventsSchemaType.ts @@ -52,6 +52,7 @@ export const SearchEventsSchemaType = { 'project-access-group-roles-updated': 'project-access-group-roles-updated', 'project-access-user-roles-deleted': 'project-access-user-roles-deleted', 'project-access-group-roles-deleted': 'project-access-group-roles-deleted', + 'project-access-updated': 'project-access-updated', 'project-created': 'project-created', 'project-updated': 'project-updated', 'project-deleted': 'project-deleted', @@ -124,4 +125,7 @@ export const SearchEventsSchemaType = { 'feature-dependency-added': 'feature-dependency-added', 'feature-dependency-removed': 'feature-dependency-removed', 'feature-dependencies-removed': 'feature-dependencies-removed', + 'message-banner-created': 'message-banner-created', + 'message-banner-updated': 'message-banner-updated', + 'message-banner-deleted': 'message-banner-deleted', } as const; diff --git a/frontend/src/openapi/models/setProjectAccess401.ts b/frontend/src/openapi/models/setProjectAccess401.ts new file mode 100644 index 000000000000..610c8a36a22c --- /dev/null +++ b/frontend/src/openapi/models/setProjectAccess401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type SetProjectAccess401 = { + /** The ID of the error instance */ + id?: 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 new file mode 100644 index 000000000000..ca966193990c --- /dev/null +++ b/frontend/src/openapi/models/setProjectAccess403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type SetProjectAccess403 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/updateMessageBanner400.ts b/frontend/src/openapi/models/updateMessageBanner400.ts new file mode 100644 index 000000000000..0facf20b9407 --- /dev/null +++ b/frontend/src/openapi/models/updateMessageBanner400.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMessageBanner400 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/updateMessageBanner401.ts b/frontend/src/openapi/models/updateMessageBanner401.ts new file mode 100644 index 000000000000..1063ffacbc90 --- /dev/null +++ b/frontend/src/openapi/models/updateMessageBanner401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMessageBanner401 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/updateMessageBanner403.ts b/frontend/src/openapi/models/updateMessageBanner403.ts new file mode 100644 index 000000000000..8765489a6f81 --- /dev/null +++ b/frontend/src/openapi/models/updateMessageBanner403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMessageBanner403 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/updateMessageBanner404.ts b/frontend/src/openapi/models/updateMessageBanner404.ts new file mode 100644 index 000000000000..dc2c2fbde82b --- /dev/null +++ b/frontend/src/openapi/models/updateMessageBanner404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMessageBanner404 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/updateMessageBanner415.ts b/frontend/src/openapi/models/updateMessageBanner415.ts new file mode 100644 index 000000000000..3c8f8fa049d4 --- /dev/null +++ b/frontend/src/openapi/models/updateMessageBanner415.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMessageBanner415 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +}; diff --git a/frontend/src/openapi/models/validateArchiveFeatures400.ts b/frontend/src/openapi/models/validateArchiveFeatures400.ts new file mode 100644 index 000000000000..8870d319b985 --- /dev/null +++ b/frontend/src/openapi/models/validateArchiveFeatures400.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ValidateArchiveFeatures400 = { + /** The ID of the error instance */ + id?: 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 new file mode 100644 index 000000000000..bf3fa6f50ef4 --- /dev/null +++ b/frontend/src/openapi/models/validateArchiveFeatures401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ValidateArchiveFeatures401 = { + /** The ID of the error instance */ + id?: 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 new file mode 100644 index 000000000000..d26aad8c5ec0 --- /dev/null +++ b/frontend/src/openapi/models/validateArchiveFeatures403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ValidateArchiveFeatures403 = { + /** The ID of the error instance */ + id?: 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 new file mode 100644 index 000000000000..17c44cd7ce85 --- /dev/null +++ b/frontend/src/openapi/models/validateArchiveFeatures415.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ValidateArchiveFeatures415 = { + /** The ID of the error instance */ + id?: string; + /** The name of the error kind */ + name?: string; + /** A description of what went wrong. */ + message?: string; +};