mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: upgrade orval types (#3981)
This commit is contained in:
parent
b8da1ce2a9
commit
1bd182d02a
@ -6,11 +6,32 @@
|
||||
import type { _ExportFormat } from './_exportFormat';
|
||||
|
||||
export type _ExportParams = {
|
||||
/**
|
||||
* Desired export format. Must be either `json` or `yaml`.
|
||||
*/
|
||||
format?: _ExportFormat;
|
||||
/**
|
||||
* Whether exported data should be downloaded as a file.
|
||||
*/
|
||||
download?: boolean | string | number;
|
||||
/**
|
||||
* Whether strategies should be included in the exported data.
|
||||
*/
|
||||
strategies?: boolean | string | number;
|
||||
/**
|
||||
* Whether feature toggles should be included in the exported data.
|
||||
*/
|
||||
featureToggles?: boolean | string | number;
|
||||
/**
|
||||
* Whether projects should be included in the exported data.
|
||||
*/
|
||||
projects?: boolean | string | number;
|
||||
/**
|
||||
* Whether tag types, tags, and feature_tags should be included in the exported data.
|
||||
*/
|
||||
tags?: boolean | string | number;
|
||||
/**
|
||||
* Whether environments should be included in the exported data.
|
||||
*/
|
||||
environments?: boolean | string | number;
|
||||
};
|
||||
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddDefaultStrategyToProjectEnvironment400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addEnvironmentToProject401.ts
Normal file
14
frontend/src/openapi/models/addEnvironmentToProject401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddEnvironmentToProject401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addEnvironmentToProject403.ts
Normal file
14
frontend/src/openapi/models/addEnvironmentToProject403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddEnvironmentToProject403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addEnvironmentToProject409.ts
Normal file
14
frontend/src/openapi/models/addEnvironmentToProject409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddEnvironmentToProject409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addPublicSignupTokenUser400.ts
Normal file
14
frontend/src/openapi/models/addPublicSignupTokenUser400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddPublicSignupTokenUser400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addPublicSignupTokenUser409.ts
Normal file
14
frontend/src/openapi/models/addPublicSignupTokenUser409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddPublicSignupTokenUser409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addTag400.ts
Normal file
14
frontend/src/openapi/models/addTag400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddTag400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addTag401.ts
Normal file
14
frontend/src/openapi/models/addTag401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddTag401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addTag403.ts
Normal file
14
frontend/src/openapi/models/addTag403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddTag403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/addTag404.ts
Normal file
14
frontend/src/openapi/models/addTag404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type AddTag404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
17
frontend/src/openapi/models/adminCountSchema.ts
Normal file
17
frontend/src/openapi/models/adminCountSchema.ts
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Contains total admin counts for an Unleash instance.
|
||||
*/
|
||||
export interface AdminCountSchema {
|
||||
/** 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;
|
||||
}
|
@ -7,6 +7,7 @@ import type { AdminPermissionSchema } from './adminPermissionSchema';
|
||||
import type { AdminPermissionsSchemaPermissionsEnvironmentsItem } from './adminPermissionsSchemaPermissionsEnvironmentsItem';
|
||||
|
||||
export type AdminPermissionsSchemaPermissions = {
|
||||
root?: AdminPermissionSchema[];
|
||||
project: AdminPermissionSchema[];
|
||||
environments: AdminPermissionsSchemaPermissionsEnvironmentsItem[];
|
||||
};
|
||||
|
@ -6,10 +6,21 @@
|
||||
import type { ConstraintSchema } from './constraintSchema';
|
||||
|
||||
export interface AdminSegmentSchema {
|
||||
/** The id of a segment */
|
||||
id: number;
|
||||
/** The name of a segment */
|
||||
name: string;
|
||||
/** The description for a segment */
|
||||
description?: string | null;
|
||||
/** List of constraints that are used in this segment */
|
||||
constraints: ConstraintSchema[];
|
||||
/** Number of projects where this segment is used in */
|
||||
usedInFeatures?: number | null;
|
||||
/** Number of projects where this segment is used in */
|
||||
usedInProjects?: number | null;
|
||||
project?: string | null;
|
||||
/** The creator's email or username */
|
||||
createdBy?: string;
|
||||
/** When the segment was created */
|
||||
createdAt: string;
|
||||
}
|
||||
|
@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { SdkContextSchema } from './sdkContextSchema';
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchemaStrategies } from './advancedPlaygroundEnvironmentFeatureSchemaStrategies';
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariant } from './advancedPlaygroundEnvironmentFeatureSchemaVariant';
|
||||
import type { VariantSchema } from './variantSchema';
|
||||
|
||||
/**
|
||||
* A simplified feature toggle model intended for the Unleash playground.
|
||||
*/
|
||||
export interface AdvancedPlaygroundEnvironmentFeatureSchema {
|
||||
/** The feature's name. */
|
||||
name: string;
|
||||
/** The feature's environment. */
|
||||
environment: string;
|
||||
/** The context to use when evaluating toggles */
|
||||
context: SdkContextSchema;
|
||||
/** 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
|
||||
variants, you would get the _disabled variant_.
|
||||
Otherwise, you'll get one of thefeature's defined variants. */
|
||||
variant: AdvancedPlaygroundEnvironmentFeatureSchemaVariant;
|
||||
/** The feature variants. */
|
||||
variants: VariantSchema[];
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult } from './advancedPlaygroundEnvironmentFeatureSchemaStrategiesResult';
|
||||
import type { PlaygroundStrategySchema } from './playgroundStrategySchema';
|
||||
|
||||
/**
|
||||
* Feature's applicable strategies and cumulative results of the strategies
|
||||
*/
|
||||
export type AdvancedPlaygroundEnvironmentFeatureSchemaStrategies = {
|
||||
/** 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[];
|
||||
};
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
export type AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult =
|
||||
| boolean
|
||||
| 'unknown';
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload } from './advancedPlaygroundEnvironmentFeatureSchemaVariantPayload';
|
||||
|
||||
/**
|
||||
* The feature variant you receive based on the provided context or the _disabled
|
||||
variant_. If a feature is disabled or doesn't have any
|
||||
variants, you would get the _disabled variant_.
|
||||
Otherwise, you'll get one of thefeature's defined variants.
|
||||
*/
|
||||
export type AdvancedPlaygroundEnvironmentFeatureSchemaVariant = {
|
||||
/** 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?: AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload;
|
||||
} | null;
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType } from './advancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType';
|
||||
|
||||
/**
|
||||
* An optional payload attached to the variant.
|
||||
*/
|
||||
export type AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload = {
|
||||
/** The format of the payload. */
|
||||
type: AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType;
|
||||
/** The payload value stringified. */
|
||||
value: string;
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The format of the payload.
|
||||
*/
|
||||
export type AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType =
|
||||
typeof AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType[keyof typeof AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayloadType = {
|
||||
json: 'json',
|
||||
csv: 'csv',
|
||||
string: 'string',
|
||||
} as const;
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundFeatureSchemaEnvironments } from './advancedPlaygroundFeatureSchemaEnvironments';
|
||||
|
||||
/**
|
||||
* A simplified feature toggle model intended for the Unleash playground.
|
||||
*/
|
||||
export interface AdvancedPlaygroundFeatureSchema {
|
||||
/** 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;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundEnvironmentFeatureSchema } from './advancedPlaygroundEnvironmentFeatureSchema';
|
||||
|
||||
/**
|
||||
* The lists of features that have been evaluated grouped by environment.
|
||||
*/
|
||||
export type AdvancedPlaygroundFeatureSchemaEnvironments = {
|
||||
[key: string]: AdvancedPlaygroundEnvironmentFeatureSchema[];
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
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 {
|
||||
/** The environments to evaluate toggles in. */
|
||||
environments: string[];
|
||||
/** A list of projects to check for toggles in. */
|
||||
projects?: AdvancedPlaygroundRequestSchemaProjects;
|
||||
context: SdkContextSchema;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* A list of projects to check for toggles in.
|
||||
*/
|
||||
export type AdvancedPlaygroundRequestSchemaProjects = string[] | '*';
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AdvancedPlaygroundRequestSchema } from './advancedPlaygroundRequestSchema';
|
||||
import type { AdvancedPlaygroundFeatureSchema } from './advancedPlaygroundFeatureSchema';
|
||||
|
||||
/**
|
||||
* The state of all features given the provided input.
|
||||
*/
|
||||
export interface AdvancedPlaygroundResponseSchema {
|
||||
/** The given input used to evaluate the features. */
|
||||
input: AdvancedPlaygroundRequestSchema;
|
||||
/** The list of features that have been evaluated. */
|
||||
features: AdvancedPlaygroundFeatureSchema[];
|
||||
}
|
@ -5,15 +5,33 @@
|
||||
*/
|
||||
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 {
|
||||
secret?: string;
|
||||
username: string;
|
||||
/** The token used for authentication. */
|
||||
secret: string;
|
||||
/**
|
||||
* 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;
|
||||
project?: string;
|
||||
projects?: 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. */
|
||||
expiresAt?: string | null;
|
||||
createdAt?: 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. */
|
||||
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. */
|
||||
alias?: string | null;
|
||||
}
|
||||
|
@ -4,6 +4,9 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The type of API token
|
||||
*/
|
||||
export type ApiTokenSchemaType =
|
||||
typeof ApiTokenSchemaType[keyof typeof ApiTokenSchemaType];
|
||||
|
||||
|
@ -5,6 +5,10 @@
|
||||
*/
|
||||
import type { ApiTokenSchema } from './apiTokenSchema';
|
||||
|
||||
/**
|
||||
* Contains a list of API tokens.
|
||||
*/
|
||||
export interface ApiTokensSchema {
|
||||
/** A list of API tokens. */
|
||||
tokens: ApiTokenSchema[];
|
||||
}
|
||||
|
@ -5,12 +5,18 @@
|
||||
*/
|
||||
|
||||
export interface ApplicationSchema {
|
||||
/** Name of the application */
|
||||
appName: string;
|
||||
/** Which SDK and version the application reporting uses. Typically represented as `<identifier>:<version>` */
|
||||
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;
|
||||
announced?: boolean;
|
||||
}
|
||||
|
@ -6,5 +6,6 @@
|
||||
import type { ApplicationSchema } from './applicationSchema';
|
||||
|
||||
export interface ApplicationsSchema {
|
||||
/** Contains a list of applications that have connected via an SDK */
|
||||
applications?: ApplicationSchema[];
|
||||
}
|
||||
|
14
frontend/src/openapi/models/archiveFeature401.ts
Normal file
14
frontend/src/openapi/models/archiveFeature401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ArchiveFeature401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/archiveFeature404.ts
Normal file
14
frontend/src/openapi/models/archiveFeature404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ArchiveFeature404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/bulkMetrics400.ts
Normal file
14
frontend/src/openapi/models/bulkMetrics400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type BulkMetrics400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/bulkMetrics413.ts
Normal file
14
frontend/src/openapi/models/bulkMetrics413.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type BulkMetrics413 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/bulkMetrics415.ts
Normal file
14
frontend/src/openapi/models/bulkMetrics415.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type BulkMetrics415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -10,6 +10,8 @@ import type { ClientMetricsEnvSchema } from './clientMetricsEnvSchema';
|
||||
* A batch of metrics accumulated by Edge (or other compatible applications). Includes both application registrations as well usage metrics from clients
|
||||
*/
|
||||
export interface BulkMetricsSchema {
|
||||
/** A list of applications registered by an Unleash SDK */
|
||||
applications: BulkRegistrationSchema[];
|
||||
/** a list of client usage metrics registered by downstream providers. (Typically Unleash Edge) */
|
||||
metrics: ClientMetricsEnvSchema[];
|
||||
}
|
||||
|
13
frontend/src/openapi/models/bulkToggleFeaturesSchema.ts
Normal file
13
frontend/src/openapi/models/bulkToggleFeaturesSchema.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The feature list used for bulk toggle operations
|
||||
*/
|
||||
export interface BulkToggleFeaturesSchema {
|
||||
/** The features that we want to bulk toggle */
|
||||
features: string[];
|
||||
}
|
14
frontend/src/openapi/models/changeProject400.ts
Normal file
14
frontend/src/openapi/models/changeProject400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ChangeProject400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/changeProject401.ts
Normal file
14
frontend/src/openapi/models/changeProject401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ChangeProject401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -9,6 +9,7 @@ import type { ChangeRequestDefaultEventSchema } from './changeRequestDefaultEven
|
||||
export interface ChangeRequestFeatureSchema {
|
||||
name: string;
|
||||
conflict?: string;
|
||||
/** List of changes inside change request. This list may be empty when listing all change requests for a project. */
|
||||
changes: ChangeRequestEventSchema[];
|
||||
defaultChange?: ChangeRequestDefaultEventSchema;
|
||||
}
|
||||
|
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema';
|
||||
|
||||
export type ChangeRequestOneOrManyCreateSchema =
|
||||
| ChangeRequestCreateSchema
|
||||
| ChangeRequestCreateSchema[];
|
@ -5,9 +5,16 @@
|
||||
*/
|
||||
import type { ClientMetricsSchemaBucket } from './clientMetricsSchemaBucket';
|
||||
|
||||
/**
|
||||
* Client usage metrics, accumulated in buckets of hour by hour by default
|
||||
*/
|
||||
export interface ClientMetricsSchema {
|
||||
/** The name of the application that is evaluating toggles */
|
||||
appName: string;
|
||||
/** 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 */
|
||||
environment?: string;
|
||||
/** Holds all metrics gathered over a window of time. Typically 1 hour wide */
|
||||
bucket: ClientMetricsSchemaBucket;
|
||||
}
|
||||
|
@ -6,8 +6,14 @@
|
||||
import type { DateSchema } from './dateSchema';
|
||||
import type { ClientMetricsSchemaBucketToggles } from './clientMetricsSchemaBucketToggles';
|
||||
|
||||
/**
|
||||
* Holds all metrics gathered over a window of time. Typically 1 hour wide
|
||||
*/
|
||||
export type ClientMetricsSchemaBucket = {
|
||||
/** The start of the time window these metrics are valid for. The window is usually 1 hour wide */
|
||||
start: DateSchema;
|
||||
/** The end of the time window these metrics are valid for. The window is 1 hour wide */
|
||||
stop: DateSchema;
|
||||
/** an object containing feature names with yes/no plus variant usage */
|
||||
toggles: ClientMetricsSchemaBucketToggles;
|
||||
};
|
||||
|
@ -5,10 +5,16 @@
|
||||
*/
|
||||
import type { ClientMetricsSchemaBucketTogglesVariants } from './clientMetricsSchemaBucketTogglesVariants';
|
||||
|
||||
/**
|
||||
* an object containing feature names with yes/no plus variant usage
|
||||
*/
|
||||
export type ClientMetricsSchemaBucketToggles = {
|
||||
[key: string]: {
|
||||
/** How many times the toggle evaluated to true */
|
||||
yes?: number;
|
||||
/** How many times the toggle evaluated to false */
|
||||
no?: number;
|
||||
/** How many times each variant was returned */
|
||||
variants?: ClientMetricsSchemaBucketTogglesVariants;
|
||||
};
|
||||
};
|
||||
|
@ -4,6 +4,9 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* How many times each variant was returned
|
||||
*/
|
||||
export type ClientMetricsSchemaBucketTogglesVariants = {
|
||||
[key: string]: number;
|
||||
};
|
||||
|
14
frontend/src/openapi/models/cloneEnvironment400.ts
Normal file
14
frontend/src/openapi/models/cloneEnvironment400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/cloneEnvironment401.ts
Normal file
14
frontend/src/openapi/models/cloneEnvironment401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -7,9 +7,13 @@ import type { LegalValueSchema } from './legalValueSchema';
|
||||
|
||||
export interface ContextFieldSchema {
|
||||
name: string;
|
||||
description?: string;
|
||||
description?: string | null;
|
||||
stickiness?: boolean;
|
||||
sortOrder?: number;
|
||||
createdAt?: string | null;
|
||||
/** Number of projects where this context field is used in */
|
||||
usedInFeatures?: number | null;
|
||||
/** Number of projects where this context field is used in */
|
||||
usedInProjects?: number | null;
|
||||
legalValues?: LegalValueSchema[];
|
||||
}
|
||||
|
14
frontend/src/openapi/models/contextFieldStrategiesSchema.ts
Normal file
14
frontend/src/openapi/models/contextFieldStrategiesSchema.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ContextFieldStrategiesSchemaStrategiesItem } from './contextFieldStrategiesSchemaStrategiesItem';
|
||||
|
||||
/**
|
||||
* A wrapper object containing all for strategies using a specific context field
|
||||
*/
|
||||
export interface ContextFieldStrategiesSchema {
|
||||
/** List of strategies using the context field */
|
||||
strategies: ContextFieldStrategiesSchemaStrategiesItem[];
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ContextFieldStrategiesSchemaStrategiesItem = {
|
||||
/** 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;
|
||||
};
|
14
frontend/src/openapi/models/createAddon400.ts
Normal file
14
frontend/src/openapi/models/createAddon400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateAddon400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createAddon401.ts
Normal file
14
frontend/src/openapi/models/createAddon401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateAddon401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createAddon403.ts
Normal file
14
frontend/src/openapi/models/createAddon403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateAddon403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createAddon413.ts
Normal file
14
frontend/src/openapi/models/createAddon413.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateAddon413 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createAddon415.ts
Normal file
14
frontend/src/openapi/models/createAddon415.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateAddon415 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -3,14 +3,25 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { CreateApiTokenSchemaAnyOf } from './createApiTokenSchemaAnyOf';
|
||||
import type { CreateApiTokenSchemaAnyOfTwo } from './createApiTokenSchemaAnyOfTwo';
|
||||
|
||||
export interface CreateApiTokenSchema {
|
||||
secret?: string;
|
||||
username: string;
|
||||
/** One of client, admin, frontend */
|
||||
type: string;
|
||||
environment?: string;
|
||||
project?: string;
|
||||
projects?: string[];
|
||||
expiresAt?: string | null;
|
||||
}
|
||||
export type CreateApiTokenSchema =
|
||||
| (CreateApiTokenSchemaAnyOf & {
|
||||
secret?: string;
|
||||
/** One of client, admin, frontend */
|
||||
type: string;
|
||||
environment?: string;
|
||||
project?: string;
|
||||
projects?: string[];
|
||||
expiresAt?: string | null;
|
||||
})
|
||||
| (CreateApiTokenSchemaAnyOfTwo & {
|
||||
secret?: string;
|
||||
/** One of client, admin, frontend */
|
||||
type: string;
|
||||
environment?: string;
|
||||
project?: string;
|
||||
projects?: string[];
|
||||
expiresAt?: string | null;
|
||||
});
|
||||
|
9
frontend/src/openapi/models/createApiTokenSchemaAnyOf.ts
Normal file
9
frontend/src/openapi/models/createApiTokenSchemaAnyOf.ts
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateApiTokenSchemaAnyOf = {
|
||||
username: string;
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateApiTokenSchemaAnyOfTwo = {
|
||||
tokenName: string;
|
||||
};
|
14
frontend/src/openapi/models/createApplication400.ts
Normal file
14
frontend/src/openapi/models/createApplication400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateApplication400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createApplication401.ts
Normal file
14
frontend/src/openapi/models/createApplication401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateApplication401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createApplication403.ts
Normal file
14
frontend/src/openapi/models/createApplication403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateApplication403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
24
frontend/src/openapi/models/createApplicationSchema.ts
Normal file
24
frontend/src/openapi/models/createApplicationSchema.ts
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Reported application information from Unleash SDKs
|
||||
*/
|
||||
export interface CreateApplicationSchema {
|
||||
/** Name of the application */
|
||||
appName?: string;
|
||||
/** Which SDK and version the application reporting uses. Typically represented as `<identifier>:<version>` */
|
||||
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;
|
||||
[key: string]: any;
|
||||
}
|
14
frontend/src/openapi/models/createEnvironment400.ts
Normal file
14
frontend/src/openapi/models/createEnvironment400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createEnvironment401.ts
Normal file
14
frontend/src/openapi/models/createEnvironment401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPat401.ts
Normal file
14
frontend/src/openapi/models/createPat401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePat401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPat403.ts
Normal file
14
frontend/src/openapi/models/createPat403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePat403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPat404.ts
Normal file
14
frontend/src/openapi/models/createPat404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePat404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createProject400.ts
Normal file
14
frontend/src/openapi/models/createProject400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateProject400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createProject401.ts
Normal file
14
frontend/src/openapi/models/createProject401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateProject401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createProjectApiToken400.ts
Normal file
14
frontend/src/openapi/models/createProjectApiToken400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateProjectApiToken400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createProjectApiToken401.ts
Normal file
14
frontend/src/openapi/models/createProjectApiToken401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateProjectApiToken401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createProjectApiToken403.ts
Normal file
14
frontend/src/openapi/models/createProjectApiToken403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateProjectApiToken403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPublicSignupToken400.ts
Normal file
14
frontend/src/openapi/models/createPublicSignupToken400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePublicSignupToken400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPublicSignupToken401.ts
Normal file
14
frontend/src/openapi/models/createPublicSignupToken401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePublicSignupToken401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createPublicSignupToken403.ts
Normal file
14
frontend/src/openapi/models/createPublicSignupToken403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreatePublicSignupToken403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createRole400.ts
Normal file
14
frontend/src/openapi/models/createRole400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -3,10 +3,12 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { CreateRoleWithPermissionsSchemaType } from './createRoleWithPermissionsSchemaType';
|
||||
import type { CreateRoleWithPermissionsSchemaPermissionsItem } from './createRoleWithPermissionsSchemaPermissionsItem';
|
||||
|
||||
export interface CreateRoleWithPermissionsSchema {
|
||||
name: string;
|
||||
description?: string;
|
||||
type?: CreateRoleWithPermissionsSchemaType;
|
||||
permissions?: CreateRoleWithPermissionsSchemaPermissionsItem[];
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateRoleWithPermissionsSchemaType =
|
||||
typeof CreateRoleWithPermissionsSchemaType[keyof typeof CreateRoleWithPermissionsSchemaType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const CreateRoleWithPermissionsSchemaType = {
|
||||
'root-custom': 'root-custom',
|
||||
custom: 'custom',
|
||||
} as const;
|
14
frontend/src/openapi/models/createSegment400.ts
Normal file
14
frontend/src/openapi/models/createSegment400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateSegment400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createSegment401.ts
Normal file
14
frontend/src/openapi/models/createSegment401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateSegment401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createSegment403.ts
Normal file
14
frontend/src/openapi/models/createSegment403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateSegment403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/createSegment409.ts
Normal file
14
frontend/src/openapi/models/createSegment409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateSegment409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteAddon401.ts
Normal file
14
frontend/src/openapi/models/deleteAddon401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteAddon401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteAddon403.ts
Normal file
14
frontend/src/openapi/models/deleteAddon403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteAddon403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteAddon404.ts
Normal file
14
frontend/src/openapi/models/deleteAddon404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteAddon404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteApplication401.ts
Normal file
14
frontend/src/openapi/models/deleteApplication401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteApplication401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteApplication403.ts
Normal file
14
frontend/src/openapi/models/deleteApplication403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteApplication403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteLoginEvent400.ts
Normal file
14
frontend/src/openapi/models/deleteLoginEvent400.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteLoginEvent400 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteLoginEvent401.ts
Normal file
14
frontend/src/openapi/models/deleteLoginEvent401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteLoginEvent401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteLoginEvent404.ts
Normal file
14
frontend/src/openapi/models/deleteLoginEvent404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteLoginEvent404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteLoginHistory401.ts
Normal file
14
frontend/src/openapi/models/deleteLoginHistory401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteLoginHistory401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteLoginHistory404.ts
Normal file
14
frontend/src/openapi/models/deleteLoginHistory404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteLoginHistory404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deletePat401.ts
Normal file
14
frontend/src/openapi/models/deletePat401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeletePat401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deletePat403.ts
Normal file
14
frontend/src/openapi/models/deletePat403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeletePat403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deletePat404.ts
Normal file
14
frontend/src/openapi/models/deletePat404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeletePat404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteProjectApiToken401.ts
Normal file
14
frontend/src/openapi/models/deleteProjectApiToken401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteProjectApiToken401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteProjectApiToken403.ts
Normal file
14
frontend/src/openapi/models/deleteProjectApiToken403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteProjectApiToken403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteRole409.ts
Normal file
14
frontend/src/openapi/models/deleteRole409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteRole409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
14
frontend/src/openapi/models/editChange404.ts
Normal file
14
frontend/src/openapi/models/editChange404.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
};
|
@ -3,6 +3,7 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema';
|
||||
|
||||
/**
|
||||
* Describes a project's configuration in a given environment.
|
||||
@ -22,4 +23,6 @@ export interface EnvironmentProjectSchema {
|
||||
projectApiTokenCount?: number;
|
||||
/** The number of features enabled in this environment for this project */
|
||||
projectEnabledToggleCount?: number;
|
||||
/** The strategy configuration to add when enabling a feature environment by default */
|
||||
defaultStrategy?: CreateFeatureStrategySchema;
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user