diff --git a/frontend/src/openapi/models/licensedUserSchema.ts b/frontend/src/openapi/models/licensedUserSchema.ts new file mode 100644 index 000000000000..10d622a94cfd --- /dev/null +++ b/frontend/src/openapi/models/licensedUserSchema.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * A schema representing a single licensed user data point. + */ +export interface LicensedUserSchema { + /** + * The count of licensed users on the given date. + * @minimum 0 + */ + count: number; + /** The date associated with the licensed users count. */ + date: string; +} diff --git a/frontend/src/openapi/models/licensedUsersSchema.ts b/frontend/src/openapi/models/licensedUsersSchema.ts new file mode 100644 index 000000000000..18d60c6cabf1 --- /dev/null +++ b/frontend/src/openapi/models/licensedUsersSchema.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { LicensedUsersSchemaLicensedUsers } from './licensedUsersSchemaLicensedUsers'; + +/** + * A response model representing user license data. + */ +export interface LicensedUsersSchema { + /** An object containing historical and current licensed user data. */ + licensedUsers: LicensedUsersSchemaLicensedUsers; + /** + * The total number of licensed seats currently available for this Unleash instance. + * @minimum 0 + */ + seatCount: number; +} diff --git a/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts b/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts new file mode 100644 index 000000000000..79b219563e2f --- /dev/null +++ b/frontend/src/openapi/models/licensedUsersSchemaLicensedUsers.ts @@ -0,0 +1,19 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { LicensedUserSchema } from './licensedUserSchema'; + +/** + * An object containing historical and current licensed user data. + */ +export type LicensedUsersSchemaLicensedUsers = { + /** + * The current number of licenses in use. + * @minimum 0 + */ + current: number; + /** A monthly history of licensed user counts. */ + history: LicensedUserSchema[]; +}; diff --git a/frontend/src/openapi/models/projectStatusSchemaHealth.ts b/frontend/src/openapi/models/projectStatusSchemaHealth.ts new file mode 100644 index 000000000000..543f0dd534cc --- /dev/null +++ b/frontend/src/openapi/models/projectStatusSchemaHealth.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Information about the project's health rating + */ +export type ProjectStatusSchemaHealth = { + /** + * The project's current health score, based on the ratio of healthy flags to stale and potentially stale flags. + * @minimum 0 + */ + current: number; +}; diff --git a/frontend/src/openapi/models/projectStatusSchemaStaleFlags.ts b/frontend/src/openapi/models/projectStatusSchemaStaleFlags.ts new file mode 100644 index 000000000000..7f135905dde4 --- /dev/null +++ b/frontend/src/openapi/models/projectStatusSchemaStaleFlags.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Information on stale and potentially stale flags in this project. + */ +export type ProjectStatusSchemaStaleFlags = { + /** + * The total number of flags in this project that are stale or potentially stale. + * @minimum 0 + */ + total: number; +}; diff --git a/frontend/src/openapi/models/releasePlanTemplateIdSchema.ts b/frontend/src/openapi/models/releasePlanTemplateIdSchema.ts new file mode 100644 index 000000000000..13adc73c135e --- /dev/null +++ b/frontend/src/openapi/models/releasePlanTemplateIdSchema.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * Schema for creating a release plan for a feature flag environment by copying and applying the configuration from a release plan template. + */ +export interface ReleasePlanTemplateIdSchema { + /** + * The release plan template's ID. Release template IDs are ulids. + */ + templateId: string; +}