diff --git a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts index be01513aa0..a662d76213 100644 --- a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts @@ -5,6 +5,7 @@ */ import type { AdvancedPlaygroundFeatureSchema } from './advancedPlaygroundFeatureSchema'; import type { AdvancedPlaygroundRequestSchema } from './advancedPlaygroundRequestSchema'; +import type { AdvancedPlaygroundResponseSchemaWarnings } from './advancedPlaygroundResponseSchemaWarnings'; /** * The state of all features given the provided input. @@ -14,4 +15,6 @@ export interface AdvancedPlaygroundResponseSchema { features: AdvancedPlaygroundFeatureSchema[]; /** The given input used to evaluate the features. */ input: AdvancedPlaygroundRequestSchema; + /** Warnings that occurred during evaluation. */ + warnings?: AdvancedPlaygroundResponseSchemaWarnings; } diff --git a/frontend/src/openapi/models/advancedPlaygroundResponseSchemaWarnings.ts b/frontend/src/openapi/models/advancedPlaygroundResponseSchemaWarnings.ts new file mode 100644 index 0000000000..1b1496d170 --- /dev/null +++ b/frontend/src/openapi/models/advancedPlaygroundResponseSchemaWarnings.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Warnings that occurred during evaluation. + */ +export type AdvancedPlaygroundResponseSchemaWarnings = { + /** A list of top-level context properties that were provided as input that are not valid due to being the wrong type. */ + invalidContextProperties?: string[]; +}; diff --git a/frontend/src/openapi/models/featureLifecycleSchema.ts b/frontend/src/openapi/models/featureLifecycleSchema.ts new file mode 100644 index 0000000000..b22c311dbc --- /dev/null +++ b/frontend/src/openapi/models/featureLifecycleSchema.ts @@ -0,0 +1,11 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { FeatureLifecycleSchemaItem } from './featureLifecycleSchemaItem'; + +/** + * A list of lifecycle stages for a given feature + */ +export type FeatureLifecycleSchema = FeatureLifecycleSchemaItem[]; diff --git a/frontend/src/openapi/models/featureLifecycleSchemaItem.ts b/frontend/src/openapi/models/featureLifecycleSchemaItem.ts new file mode 100644 index 0000000000..b7d00480b6 --- /dev/null +++ b/frontend/src/openapi/models/featureLifecycleSchemaItem.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { FeatureLifecycleSchemaItemStage } from './featureLifecycleSchemaItemStage'; + +/** + * 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; +}; diff --git a/frontend/src/openapi/models/featureLifecycleSchemaItemStage.ts b/frontend/src/openapi/models/featureLifecycleSchemaItemStage.ts new file mode 100644 index 0000000000..0a7855bea0 --- /dev/null +++ b/frontend/src/openapi/models/featureLifecycleSchemaItemStage.ts @@ -0,0 +1,20 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of the lifecycle stage that got recorded for a given feature + */ +export type FeatureLifecycleSchemaItemStage = + (typeof FeatureLifecycleSchemaItemStage)[keyof typeof FeatureLifecycleSchemaItemStage]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const FeatureLifecycleSchemaItemStage = { + initial: 'initial', + 'pre-live': 'pre-live', + live: 'live', + completed: 'completed', + archived: 'archived', +} as const; diff --git a/frontend/src/openapi/models/getFeatureLifecycle401.ts b/frontend/src/openapi/models/getFeatureLifecycle401.ts new file mode 100644 index 0000000000..165d85b05c --- /dev/null +++ b/frontend/src/openapi/models/getFeatureLifecycle401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/getFeatureLifecycle403.ts b/frontend/src/openapi/models/getFeatureLifecycle403.ts new file mode 100644 index 0000000000..a7c08d8fbc --- /dev/null +++ b/frontend/src/openapi/models/getFeatureLifecycle403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/getFeatureLifecycle404.ts b/frontend/src/openapi/models/getFeatureLifecycle404.ts new file mode 100644 index 0000000000..e44175769a --- /dev/null +++ b/frontend/src/openapi/models/getFeatureLifecycle404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index e9f6271326..a6e1d4c472 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -94,6 +94,7 @@ export * from './advancedPlaygroundFeatureSchemaEnvironments'; export * from './advancedPlaygroundRequestSchema'; export * from './advancedPlaygroundRequestSchemaProjects'; export * from './advancedPlaygroundResponseSchema'; +export * from './advancedPlaygroundResponseSchemaWarnings'; export * from './apiTokenSchema'; export * from './apiTokenSchemaType'; export * from './apiTokensSchema'; @@ -535,6 +536,9 @@ export * from './featureEnvironmentMetricsSchemaVariants'; export * from './featureEnvironmentSchema'; export * from './featureEventsSchema'; export * from './featureEventsSchemaVersion'; +export * from './featureLifecycleSchema'; +export * from './featureLifecycleSchemaItem'; +export * from './featureLifecycleSchemaItemStage'; export * from './featureMetricsSchema'; export * from './featureSchema'; export * from './featureSchemaDependenciesItem'; @@ -613,6 +617,9 @@ export * from './getFeature404'; export * from './getFeatureEnvironment401'; export * from './getFeatureEnvironment403'; export * from './getFeatureEnvironment404'; +export * from './getFeatureLifecycle401'; +export * from './getFeatureLifecycle403'; +export * from './getFeatureLifecycle404'; export * from './getFeatureStrategies401'; export * from './getFeatureStrategies403'; export * from './getFeatureStrategies404'; @@ -781,6 +788,9 @@ export * from './licenseUpdateSchema'; export * from './listParentOptions401'; export * from './listParentOptions403'; export * from './listParentOptions404'; +export * from './listParentVariantOptions401'; +export * from './listParentVariantOptions403'; +export * from './listParentVariantOptions404'; export * from './listTags401'; export * from './listTags403'; export * from './listTags404'; @@ -815,6 +825,7 @@ export * from './overwriteFeatureVariantsOnEnvironments401'; export * from './overwriteFeatureVariantsOnEnvironments403'; export * from './parametersSchema'; export * from './parentFeatureOptionsSchema'; +export * from './parentVariantOptionsSchema'; export * from './passwordAuthSchema'; export * from './passwordSchema'; export * from './patSchema'; @@ -968,6 +979,8 @@ export * from './rolesWithVersionSchema'; export * from './samlSettingsSchema'; export * from './samlSettingsSchemaDefaultRootRole'; export * from './scheduledChangeRequestViewModelSchema'; +export * from './scimSettingsSchema'; +export * from './scimTokenSchema'; export * from './sdkContextSchema'; export * from './sdkContextSchemaProperties'; export * from './sdkFlatContextSchema'; @@ -1010,6 +1023,7 @@ export * from './setSamlSettings400'; export * from './setSamlSettings401'; export * from './setSamlSettings403'; export * from './setSamlSettings415'; +export * from './setScimSettingsSchema'; export * from './setSimpleSettings400'; export * from './setSimpleSettings401'; export * from './setSimpleSettings403'; diff --git a/frontend/src/openapi/models/listParentVariantOptions401.ts b/frontend/src/openapi/models/listParentVariantOptions401.ts new file mode 100644 index 0000000000..eabf922b5b --- /dev/null +++ b/frontend/src/openapi/models/listParentVariantOptions401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/listParentVariantOptions403.ts b/frontend/src/openapi/models/listParentVariantOptions403.ts new file mode 100644 index 0000000000..03993b1fca --- /dev/null +++ b/frontend/src/openapi/models/listParentVariantOptions403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/listParentVariantOptions404.ts b/frontend/src/openapi/models/listParentVariantOptions404.ts new file mode 100644 index 0000000000..804b84be10 --- /dev/null +++ b/frontend/src/openapi/models/listParentVariantOptions404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +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; +}; diff --git a/frontend/src/openapi/models/parentVariantOptionsSchema.ts b/frontend/src/openapi/models/parentVariantOptionsSchema.ts new file mode 100644 index 0000000000..75cd72b656 --- /dev/null +++ b/frontend/src/openapi/models/parentVariantOptionsSchema.ts @@ -0,0 +1,10 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * A list of parent variant names available for a given parent feature. This list includes strategy variants and feature environment variants. + */ +export type ParentVariantOptionsSchema = string[]; diff --git a/frontend/src/openapi/models/scimSettingsSchema.ts b/frontend/src/openapi/models/scimSettingsSchema.ts new file mode 100644 index 0000000000..4514a3795b --- /dev/null +++ b/frontend/src/openapi/models/scimSettingsSchema.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * An object describing settings for SCIM provisioning. + */ +export interface ScimSettingsSchema { + /** Whether SCIM provisioning is currently enabled. */ + enabled: boolean; + /** Whether a SCIM provisioning API token is currently set. */ + hasToken: boolean; +} diff --git a/frontend/src/openapi/models/scimTokenSchema.ts b/frontend/src/openapi/models/scimTokenSchema.ts new file mode 100644 index 0000000000..d5e8efee97 --- /dev/null +++ b/frontend/src/openapi/models/scimTokenSchema.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * An object describing a SCIM provisioning API token. + */ +export interface ScimTokenSchema { + /** The token used for SCIM API authentication. Can be revoked at a later stage by generating a new one. */ + token: string; +} diff --git a/frontend/src/openapi/models/setScimSettingsSchema.ts b/frontend/src/openapi/models/setScimSettingsSchema.ts new file mode 100644 index 0000000000..6881ec236b --- /dev/null +++ b/frontend/src/openapi/models/setScimSettingsSchema.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * An object describing settings for SCIM provisioning. + */ +export interface SetScimSettingsSchema { + /** Whether SCIM provisioning is currently enabled. */ + enabled: boolean; +}