From bf2c4219446a8eeaa6e25d34bb2fb73c05fd5ec7 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Wed, 22 Oct 2025 14:55:58 +0200 Subject: [PATCH] fix: switch to new change milestone endpoint --- .../models/changeMilestoneProgression401.ts | 14 ++++++++++++++ .../models/changeMilestoneProgression403.ts | 14 ++++++++++++++ ...equestCreateFeatureSchemaOneOfThreethree.ts | 18 ++++++++++++++++++ ...CreateFeatureSchemaOneOfThreethreeAction.ts | 16 ++++++++++++++++ ...reateFeatureSchemaOneOfThreethreePayload.ts | 10 ++++++++++ ...CreateFeatureSchemaOneOfThreezeroPayload.ts | 15 +++++++++++++++ ...changeRequestCreateSchemaOneOfThreeeight.ts | 18 ++++++++++++++++++ ...RequestCreateSchemaOneOfThreeeightAction.ts | 16 ++++++++++++++++ ...equestCreateSchemaOneOfThreeeightPayload.ts | 10 ++++++++++ ...RequestCreateSchemaOneOfThreefivePayload.ts | 15 +++++++++++++++ ...uestOneOrManyCreateSchemaOneOfThreeeight.ts | 18 ++++++++++++++++++ ...eOrManyCreateSchemaOneOfThreeeightAction.ts | 16 ++++++++++++++++ ...OrManyCreateSchemaOneOfThreeeightPayload.ts | 10 ++++++++++ ...eOrManyCreateSchemaOneOfThreefivePayload.ts | 15 +++++++++++++++ .../openapi/models/edgeInstanceHeartbeat400.ts | 14 ++++++++++++++ .../openapi/models/edgeLicenseStateSchema.ts | 14 ++++++++++++++ .../edgeLicenseStateSchemaEdgeLicenseState.ts | 18 ++++++++++++++++++ .../models/licenseReadSchemaResources.ts | 17 +++++++++++++++++ 18 files changed, 268 insertions(+) create mode 100644 frontend/src/openapi/models/changeMilestoneProgression401.ts create mode 100644 frontend/src/openapi/models/changeMilestoneProgression403.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethree.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreeAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreePayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreezeroPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeight.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightAction.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreefivePayload.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeight.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.ts create mode 100644 frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.ts create mode 100644 frontend/src/openapi/models/edgeInstanceHeartbeat400.ts create mode 100644 frontend/src/openapi/models/edgeLicenseStateSchema.ts create mode 100644 frontend/src/openapi/models/edgeLicenseStateSchemaEdgeLicenseState.ts create mode 100644 frontend/src/openapi/models/licenseReadSchemaResources.ts diff --git a/frontend/src/openapi/models/changeMilestoneProgression401.ts b/frontend/src/openapi/models/changeMilestoneProgression401.ts new file mode 100644 index 0000000000..b47b502099 --- /dev/null +++ b/frontend/src/openapi/models/changeMilestoneProgression401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ChangeMilestoneProgression401 = { + /** 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/changeMilestoneProgression403.ts b/frontend/src/openapi/models/changeMilestoneProgression403.ts new file mode 100644 index 0000000000..3813e0cad6 --- /dev/null +++ b/frontend/src/openapi/models/changeMilestoneProgression403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ChangeMilestoneProgression403 = { + /** 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/changeRequestCreateFeatureSchemaOneOfThreethree.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethree.ts new file mode 100644 index 0000000000..a18fa72870 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethree.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateFeatureSchemaOneOfThreethreeAction } from './changeRequestCreateFeatureSchemaOneOfThreethreeAction.js'; +import type { ChangeRequestCreateFeatureSchemaOneOfThreethreePayload } from './changeRequestCreateFeatureSchemaOneOfThreethreePayload.js'; + +/** + * Delete milestone progression. + */ +export type ChangeRequestCreateFeatureSchemaOneOfThreethree = { + /** The name of this action. */ + action: ChangeRequestCreateFeatureSchemaOneOfThreethreeAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ChangeRequestCreateFeatureSchemaOneOfThreethreePayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreeAction.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreeAction.ts new file mode 100644 index 0000000000..4a9e2295bd --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreeAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateFeatureSchemaOneOfThreethreeAction = + (typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateFeatureSchemaOneOfThreethreeAction = { + deleteMilestoneProgression: 'deleteMilestoneProgression', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreePayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreePayload.ts new file mode 100644 index 0000000000..cbeb4e1997 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreethreePayload.ts @@ -0,0 +1,10 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ChangeRequestCreateFeatureSchemaOneOfThreethreePayload = { + /** The ID of the source milestone with progression to delete. */ + sourceMilestone: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreezeroPayload.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreezeroPayload.ts new file mode 100644 index 0000000000..f9763ed14e --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfThreezeroPayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TransitionConditionSchema } from './transitionConditionSchema.js'; + +export type ChangeRequestCreateFeatureSchemaOneOfThreezeroPayload = { + /** The ID of the source milestone */ + sourceMilestone: string; + /** The ID of the target milestone */ + targetMilestone: string; + /** The condition configuration for the transition */ + transitionCondition: TransitionConditionSchema; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeight.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeight.ts new file mode 100644 index 0000000000..f1d10800fc --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeight.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestCreateSchemaOneOfThreeeightAction } from './changeRequestCreateSchemaOneOfThreeeightAction.js'; +import type { ChangeRequestCreateSchemaOneOfThreeeightPayload } from './changeRequestCreateSchemaOneOfThreeeightPayload.js'; + +/** + * Delete milestone progression. + */ +export type ChangeRequestCreateSchemaOneOfThreeeight = { + /** The name of this action. */ + action: ChangeRequestCreateSchemaOneOfThreeeightAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ChangeRequestCreateSchemaOneOfThreeeightPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightAction.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightAction.ts new file mode 100644 index 0000000000..354ef5c824 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestCreateSchemaOneOfThreeeightAction = + (typeof ChangeRequestCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreeeightAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestCreateSchemaOneOfThreeeightAction = { + deleteMilestoneProgression: 'deleteMilestoneProgression', +} as const; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightPayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightPayload.ts new file mode 100644 index 0000000000..d856a49a9b --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreeeightPayload.ts @@ -0,0 +1,10 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ChangeRequestCreateSchemaOneOfThreeeightPayload = { + /** The ID of the source milestone with progression to delete. */ + sourceMilestone: string; +}; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreefivePayload.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreefivePayload.ts new file mode 100644 index 0000000000..bee02ddfe9 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfThreefivePayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TransitionConditionSchema } from './transitionConditionSchema.js'; + +export type ChangeRequestCreateSchemaOneOfThreefivePayload = { + /** The ID of the source milestone */ + sourceMilestone: string; + /** The ID of the target milestone */ + targetMilestone: string; + /** The condition configuration for the transition */ + transitionCondition: TransitionConditionSchema; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeight.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeight.ts new file mode 100644 index 0000000000..53cb92ee7c --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeight.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction } from './changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.js'; +import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload } from './changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.js'; + +/** + * Delete milestone progression. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeight = { + /** The name of this action. */ + action: ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction; + /** The name of the feature that this change applies to. */ + feature: string; + payload: ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.ts new file mode 100644 index 0000000000..8f7e2af2aa --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.ts @@ -0,0 +1,16 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The name of this action. + */ +export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction = + (typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction = { + deleteMilestoneProgression: 'deleteMilestoneProgression', +} as const; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.ts new file mode 100644 index 0000000000..d7f6c44afa --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.ts @@ -0,0 +1,10 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeightPayload = { + /** The ID of the source milestone with progression to delete. */ + sourceMilestone: string; +}; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.ts new file mode 100644 index 0000000000..d55d76ddb4 --- /dev/null +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TransitionConditionSchema } from './transitionConditionSchema.js'; + +export type ChangeRequestOneOrManyCreateSchemaOneOfThreefivePayload = { + /** The ID of the source milestone */ + sourceMilestone: string; + /** The ID of the target milestone */ + targetMilestone: string; + /** The condition configuration for the transition */ + transitionCondition: TransitionConditionSchema; +}; diff --git a/frontend/src/openapi/models/edgeInstanceHeartbeat400.ts b/frontend/src/openapi/models/edgeInstanceHeartbeat400.ts new file mode 100644 index 0000000000..a7e4a630b5 --- /dev/null +++ b/frontend/src/openapi/models/edgeInstanceHeartbeat400.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type EdgeInstanceHeartbeat400 = { + /** 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/edgeLicenseStateSchema.ts b/frontend/src/openapi/models/edgeLicenseStateSchema.ts new file mode 100644 index 0000000000..c02ed93571 --- /dev/null +++ b/frontend/src/openapi/models/edgeLicenseStateSchema.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { EdgeLicenseStateSchemaEdgeLicenseState } from './edgeLicenseStateSchemaEdgeLicenseState.js'; + +/** + * A model representing the Edge license state response. + */ +export interface EdgeLicenseStateSchema { + /** State of the current Enterprise Edge license */ + edgeLicenseState: EdgeLicenseStateSchemaEdgeLicenseState; +} diff --git a/frontend/src/openapi/models/edgeLicenseStateSchemaEdgeLicenseState.ts b/frontend/src/openapi/models/edgeLicenseStateSchemaEdgeLicenseState.ts new file mode 100644 index 0000000000..03961157b1 --- /dev/null +++ b/frontend/src/openapi/models/edgeLicenseStateSchemaEdgeLicenseState.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * State of the current Enterprise Edge license + */ +export type EdgeLicenseStateSchemaEdgeLicenseState = + (typeof EdgeLicenseStateSchemaEdgeLicenseState)[keyof typeof EdgeLicenseStateSchemaEdgeLicenseState]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const EdgeLicenseStateSchemaEdgeLicenseState = { + Valid: 'Valid', + Invalid: 'Invalid', + Expired: 'Expired', +} as const; diff --git a/frontend/src/openapi/models/licenseReadSchemaResources.ts b/frontend/src/openapi/models/licenseReadSchemaResources.ts new file mode 100644 index 0000000000..62689ba0b4 --- /dev/null +++ b/frontend/src/openapi/models/licenseReadSchemaResources.ts @@ -0,0 +1,17 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The resources available in the license. + */ +export type LicenseReadSchemaResources = { + /** Number of Edge instances in the license. */ + edgeInstances?: number; + /** Number of release templates in the license. */ + releaseTemplates?: number; + /** Number of seats in the license. */ + seats?: number; +};