mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: update orval (#6842)
Includes updates for: - playground - parent variant - scim - fetaure lifecycle
This commit is contained in:
parent
f4ef06f69b
commit
7e91cbe1c4
@ -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;
|
||||
}
|
||||
|
@ -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[];
|
||||
};
|
11
frontend/src/openapi/models/featureLifecycleSchema.ts
Normal file
11
frontend/src/openapi/models/featureLifecycleSchema.ts
Normal file
@ -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[];
|
16
frontend/src/openapi/models/featureLifecycleSchemaItem.ts
Normal file
16
frontend/src/openapi/models/featureLifecycleSchemaItem.ts
Normal file
@ -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;
|
||||
};
|
@ -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;
|
14
frontend/src/openapi/models/getFeatureLifecycle401.ts
Normal file
14
frontend/src/openapi/models/getFeatureLifecycle401.ts
Normal file
@ -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;
|
||||
};
|
14
frontend/src/openapi/models/getFeatureLifecycle403.ts
Normal file
14
frontend/src/openapi/models/getFeatureLifecycle403.ts
Normal file
@ -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;
|
||||
};
|
14
frontend/src/openapi/models/getFeatureLifecycle404.ts
Normal file
14
frontend/src/openapi/models/getFeatureLifecycle404.ts
Normal file
@ -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;
|
||||
};
|
@ -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';
|
||||
|
14
frontend/src/openapi/models/listParentVariantOptions401.ts
Normal file
14
frontend/src/openapi/models/listParentVariantOptions401.ts
Normal file
@ -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;
|
||||
};
|
14
frontend/src/openapi/models/listParentVariantOptions403.ts
Normal file
14
frontend/src/openapi/models/listParentVariantOptions403.ts
Normal file
@ -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;
|
||||
};
|
14
frontend/src/openapi/models/listParentVariantOptions404.ts
Normal file
14
frontend/src/openapi/models/listParentVariantOptions404.ts
Normal file
@ -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;
|
||||
};
|
10
frontend/src/openapi/models/parentVariantOptionsSchema.ts
Normal file
10
frontend/src/openapi/models/parentVariantOptionsSchema.ts
Normal file
@ -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[];
|
15
frontend/src/openapi/models/scimSettingsSchema.ts
Normal file
15
frontend/src/openapi/models/scimSettingsSchema.ts
Normal file
@ -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;
|
||||
}
|
13
frontend/src/openapi/models/scimTokenSchema.ts
Normal file
13
frontend/src/openapi/models/scimTokenSchema.ts
Normal file
@ -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;
|
||||
}
|
13
frontend/src/openapi/models/setScimSettingsSchema.ts
Normal file
13
frontend/src/openapi/models/setScimSettingsSchema.ts
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user