diff --git a/frontend/src/openapi/models/createProgression401.ts b/frontend/src/openapi/models/createMilestoneProgression401.ts similarity index 85% rename from frontend/src/openapi/models/createProgression401.ts rename to frontend/src/openapi/models/createMilestoneProgression401.ts index 2f4f56b5bb..e74f07b802 100644 --- a/frontend/src/openapi/models/createProgression401.ts +++ b/frontend/src/openapi/models/createMilestoneProgression401.ts @@ -4,7 +4,7 @@ * See `gen:api` script in package.json */ -export type CreateProgression401 = { +export type CreateMilestoneProgression401 = { /** The ID of the error instance */ id?: string; /** A description of what went wrong. */ diff --git a/frontend/src/openapi/models/createProgression403.ts b/frontend/src/openapi/models/createMilestoneProgression403.ts similarity index 85% rename from frontend/src/openapi/models/createProgression403.ts rename to frontend/src/openapi/models/createMilestoneProgression403.ts index 521c55a9ee..0fb6a49145 100644 --- a/frontend/src/openapi/models/createProgression403.ts +++ b/frontend/src/openapi/models/createMilestoneProgression403.ts @@ -4,7 +4,7 @@ * See `gen:api` script in package.json */ -export type CreateProgression403 = { +export type CreateMilestoneProgression403 = { /** The ID of the error instance */ id?: string; /** A description of what went wrong. */ diff --git a/frontend/src/openapi/models/createMilestoneProgressionSchema.ts b/frontend/src/openapi/models/createMilestoneProgressionSchema.ts index 724efe7313..08c4d2397b 100644 --- a/frontend/src/openapi/models/createMilestoneProgressionSchema.ts +++ b/frontend/src/openapi/models/createMilestoneProgressionSchema.ts @@ -3,7 +3,7 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateMilestoneProgressionSchemaTransitionCondition } from './createMilestoneProgressionSchemaTransitionCondition.js'; +import type { TransitionConditionSchema } from './transitionConditionSchema.js'; /** * Request body to create a milestone progression @@ -14,5 +14,5 @@ export interface CreateMilestoneProgressionSchema { /** The ID of the target milestone */ targetMilestone: string; /** The condition configuration for the transition */ - transitionCondition: CreateMilestoneProgressionSchemaTransitionCondition; + transitionCondition: TransitionConditionSchema; } diff --git a/frontend/src/openapi/models/createMilestoneProgressionSchemaTransitionCondition.ts b/frontend/src/openapi/models/createMilestoneProgressionSchemaTransitionCondition.ts deleted file mode 100644 index d4a5a9f7ac..0000000000 --- a/frontend/src/openapi/models/createMilestoneProgressionSchemaTransitionCondition.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Generated by Orval - * Do not edit manually. - * See `gen:api` script in package.json - */ - -/** - * The condition configuration for the transition - */ -export type CreateMilestoneProgressionSchemaTransitionCondition = { - /** The interval in minutes before transitioning */ - intervalMinutes: number; -}; diff --git a/frontend/src/openapi/models/deleteMilestoneProgression401.ts b/frontend/src/openapi/models/deleteMilestoneProgression401.ts new file mode 100644 index 0000000000..59b9d10cb9 --- /dev/null +++ b/frontend/src/openapi/models/deleteMilestoneProgression401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMilestoneProgression401 = { + /** 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/deleteMilestoneProgression403.ts b/frontend/src/openapi/models/deleteMilestoneProgression403.ts new file mode 100644 index 0000000000..481c533cff --- /dev/null +++ b/frontend/src/openapi/models/deleteMilestoneProgression403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMilestoneProgression403 = { + /** 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/deleteMilestoneProgression404.ts b/frontend/src/openapi/models/deleteMilestoneProgression404.ts new file mode 100644 index 0000000000..07ab4efa89 --- /dev/null +++ b/frontend/src/openapi/models/deleteMilestoneProgression404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type DeleteMilestoneProgression404 = { + /** 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/detailedInvoicesLineSchema.ts b/frontend/src/openapi/models/detailedInvoicesLineSchema.ts index 56465da8f0..8e5e4d45b9 100644 --- a/frontend/src/openapi/models/detailedInvoicesLineSchema.ts +++ b/frontend/src/openapi/models/detailedInvoicesLineSchema.ts @@ -11,12 +11,16 @@ export interface DetailedInvoicesLineSchema { currency: string; /** Description of the line item */ description: string; + /** Optional end date for the metered period */ + endDate?: string; /** Optional limit associated with the line item */ limit?: number; /** Lookup key identifying the product/pricing */ lookupKey: string; /** Quantity of the item */ quantity: number; + /** Optional start date for the metered period */ + startDate?: string; /** Total amount for this line item in minor currency units */ totalAmount: number; } diff --git a/frontend/src/openapi/models/detailedInvoicesSchemaInvoicesItem.ts b/frontend/src/openapi/models/detailedInvoicesSchemaInvoicesItem.ts index 45bda253cc..81d2f6b611 100644 --- a/frontend/src/openapi/models/detailedInvoicesSchemaInvoicesItem.ts +++ b/frontend/src/openapi/models/detailedInvoicesSchemaInvoicesItem.ts @@ -16,6 +16,8 @@ export type DetailedInvoicesSchemaInvoicesItem = { invoiceURL?: string; /** Primary line items (packages, seats, etc.) */ mainLines: DetailedInvoicesLineSchema[]; + /** Human-readable month label for the invoice period */ + monthText: string; /** The current status of the invoice */ status: string; /** Total amount for the invoice in minor currency units */ diff --git a/frontend/src/openapi/models/featureEnvironmentSchema.ts b/frontend/src/openapi/models/featureEnvironmentSchema.ts index 1a6c36abf5..4a4980fa18 100644 --- a/frontend/src/openapi/models/featureEnvironmentSchema.ts +++ b/frontend/src/openapi/models/featureEnvironmentSchema.ts @@ -3,6 +3,7 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ReleasePlanSchema } from './releasePlanSchema.js'; import type { FeatureStrategySchema } from './featureStrategySchema.js'; import type { VariantSchema } from './variantSchema.js'; @@ -33,6 +34,8 @@ export interface FeatureEnvironmentSchema { milestoneOrder?: number; /** The name of the environment */ name: string; + /** Release plans for this feature environment (only available when milestoneProgression feature flag is enabled) */ + releasePlans?: ReleasePlanSchema[]; /** The sort order of the feature environment in the feature environments list */ sortOrder?: number; /** A list of activation strategies for the feature environment */ diff --git a/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts b/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts index 46fced5692..47df3d9a89 100644 --- a/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts +++ b/frontend/src/openapi/models/featureSearchEnvironmentSchema.ts @@ -3,6 +3,7 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ReleasePlanSchema } from './releasePlanSchema.js'; import type { FeatureStrategySchema } from './featureStrategySchema.js'; import type { VariantSchema } from './variantSchema.js'; @@ -38,6 +39,8 @@ export interface FeatureSearchEnvironmentSchema { * @minimum 0 */ no?: number; + /** Release plans for this feature environment (only available when milestoneProgression feature flag is enabled) */ + releasePlans?: ReleasePlanSchema[]; /** The sort order of the feature environment in the feature environments list */ sortOrder?: number; /** A list of activation strategies for the feature environment */ diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index a27045cfbb..211eef864b 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -440,14 +440,13 @@ export * from './createImpactMetricsConfigSchemaLabelSelectors.js'; export * from './createImpactMetricsConfigSchemaTimeRange.js'; export * from './createImpactMetricsConfigSchemaYAxisMin.js'; export * from './createInvitedUserSchema.js'; +export * from './createMilestoneProgression401.js'; +export * from './createMilestoneProgression403.js'; export * from './createMilestoneProgressionSchema.js'; -export * from './createMilestoneProgressionSchemaTransitionCondition.js'; export * from './createPat401.js'; export * from './createPat403.js'; export * from './createPat404.js'; export * from './createPatSchema.js'; -export * from './createProgression401.js'; -export * from './createProgression403.js'; export * from './createProject400.js'; export * from './createProject401.js'; export * from './createProject403.js'; @@ -568,6 +567,9 @@ export * from './deleteInactiveUsers401.js'; export * from './deleteInactiveUsers403.js'; export * from './deleteInstanceImpactMetricConfig401.js'; export * from './deleteInstanceImpactMetricConfig403.js'; +export * from './deleteMilestoneProgression401.js'; +export * from './deleteMilestoneProgression403.js'; +export * from './deleteMilestoneProgression404.js'; export * from './deletePat401.js'; export * from './deletePat403.js'; export * from './deletePat404.js'; @@ -1185,6 +1187,7 @@ export * from './registerFrontendMetrics400.js'; export * from './registerFrontendMetrics401.js'; export * from './registerFrontendMetrics404.js'; export * from './releasePlanMilestoneSchema.js'; +export * from './releasePlanMilestoneSchemaTransitionCondition.js'; export * from './releasePlanMilestoneStrategySchema.js'; export * from './releasePlanSchema.js'; export * from './releasePlanSchemaDiscriminator.js'; @@ -1478,6 +1481,10 @@ export * from './updateLicense400.js'; export * from './updateLicense401.js'; export * from './updateLicense403.js'; export * from './updateLicense415.js'; +export * from './updateMilestoneProgression401.js'; +export * from './updateMilestoneProgression403.js'; +export * from './updateMilestoneProgression404.js'; +export * from './updateMilestoneProgressionSchema.js'; export * from './updateMilestoneStrategy401.js'; export * from './updateMilestoneStrategy403.js'; export * from './updateMilestoneStrategy404.js'; diff --git a/frontend/src/openapi/models/patchSchemaOp.ts b/frontend/src/openapi/models/patchSchemaOp.ts index e7bded8eb4..71d224c297 100644 --- a/frontend/src/openapi/models/patchSchemaOp.ts +++ b/frontend/src/openapi/models/patchSchemaOp.ts @@ -16,4 +16,5 @@ export const PatchSchemaOp = { replace: 'replace', copy: 'copy', move: 'move', + test: 'test', } as const; diff --git a/frontend/src/openapi/models/releasePlanMilestoneSchema.ts b/frontend/src/openapi/models/releasePlanMilestoneSchema.ts index 4d73ec0951..c2f272a034 100644 --- a/frontend/src/openapi/models/releasePlanMilestoneSchema.ts +++ b/frontend/src/openapi/models/releasePlanMilestoneSchema.ts @@ -4,6 +4,7 @@ * See `gen:api` script in package.json */ import type { ReleasePlanMilestoneStrategySchema } from './releasePlanMilestoneStrategySchema.js'; +import type { ReleasePlanMilestoneSchemaTransitionCondition } from './releasePlanMilestoneSchemaTransitionCondition.js'; /** * Schema representing the creation of a release plan milestone. @@ -19,6 +20,16 @@ export interface ReleasePlanMilestoneSchema { releasePlanDefinitionId: string; /** The order of the milestone in the release plan. */ sortOrder: number; + /** + * The date and time when the milestone was started. + * @nullable + */ + startedAt?: string | null; /** A list of strategies that are attached to this milestone. */ strategies?: ReleasePlanMilestoneStrategySchema[]; + /** + * The transition condition for the next automated milestone progression. + * @nullable + */ + transitionCondition?: ReleasePlanMilestoneSchemaTransitionCondition; } diff --git a/frontend/src/openapi/models/releasePlanMilestoneSchemaTransitionCondition.ts b/frontend/src/openapi/models/releasePlanMilestoneSchemaTransitionCondition.ts new file mode 100644 index 0000000000..16e943668b --- /dev/null +++ b/frontend/src/openapi/models/releasePlanMilestoneSchemaTransitionCondition.ts @@ -0,0 +1,13 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The transition condition for the next automated milestone progression. + * @nullable + */ +export type ReleasePlanMilestoneSchemaTransitionCondition = { + [key: string]: unknown; +} | null; diff --git a/frontend/src/openapi/models/searchFeaturesParams.ts b/frontend/src/openapi/models/searchFeaturesParams.ts index 6f56d12267..065deccb7b 100644 --- a/frontend/src/openapi/models/searchFeaturesParams.ts +++ b/frontend/src/openapi/models/searchFeaturesParams.ts @@ -63,7 +63,7 @@ export type SearchFeaturesParams = { */ favoritesFirst?: string; /** - * Whether to get results for archived feature flags or active feature flags. If `true`, Unleash will return only archived flags. If `false`, it will return only active flags. + * Whether to get results for archived feature flags or active feature flags. If `IS:true`, Unleash will return only archived flags. If `IS:false`, it will return only active flags. */ archived?: string; /** diff --git a/frontend/src/openapi/models/updateMilestoneProgression401.ts b/frontend/src/openapi/models/updateMilestoneProgression401.ts new file mode 100644 index 0000000000..dfc229edb1 --- /dev/null +++ b/frontend/src/openapi/models/updateMilestoneProgression401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMilestoneProgression401 = { + /** 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/updateMilestoneProgression403.ts b/frontend/src/openapi/models/updateMilestoneProgression403.ts new file mode 100644 index 0000000000..da5515e8e1 --- /dev/null +++ b/frontend/src/openapi/models/updateMilestoneProgression403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMilestoneProgression403 = { + /** 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/updateMilestoneProgression404.ts b/frontend/src/openapi/models/updateMilestoneProgression404.ts new file mode 100644 index 0000000000..2f962f8b0e --- /dev/null +++ b/frontend/src/openapi/models/updateMilestoneProgression404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type UpdateMilestoneProgression404 = { + /** 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/updateMilestoneProgressionSchema.ts b/frontend/src/openapi/models/updateMilestoneProgressionSchema.ts new file mode 100644 index 0000000000..1d7982a074 --- /dev/null +++ b/frontend/src/openapi/models/updateMilestoneProgressionSchema.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { TransitionConditionSchema } from './transitionConditionSchema.js'; + +/** + * Request body to update a milestone progression transition condition + */ +export interface UpdateMilestoneProgressionSchema { + /** The updated condition configuration for the transition */ + transitionCondition: TransitionConditionSchema; +}