1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00

chore: generate orval (#10820)

This commit is contained in:
Jaanus Sellin 2025-10-16 16:11:39 +03:00 committed by GitHub
parent 902c4cd7b8
commit 022226dd43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
34 changed files with 442 additions and 25 deletions

View File

@ -15,6 +15,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfTwozero } from './changeReque
import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeRequestCreateFeatureSchemaOneOfTwotwo.js';
import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour.js';
import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreezero } from './changeRequestCreateFeatureSchemaOneOfThreezero.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreetwo } from './changeRequestCreateFeatureSchemaOneOfThreetwo.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreefive } from './changeRequestCreateFeatureSchemaOneOfThreefive.js';
/**
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change.
@ -31,4 +34,7 @@ export type ChangeRequestCreateFeatureSchema =
| ChangeRequestCreateFeatureSchemaOneOfTwozero
| ChangeRequestCreateFeatureSchemaOneOfTwotwo
| ChangeRequestCreateFeatureSchemaOneOfTwofour
| ChangeRequestCreateFeatureSchemaOneOfTwoseven;
| ChangeRequestCreateFeatureSchemaOneOfTwoseven
| ChangeRequestCreateFeatureSchemaOneOfThreezero
| ChangeRequestCreateFeatureSchemaOneOfThreetwo
| ChangeRequestCreateFeatureSchemaOneOfThreefive;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateFeatureSchemaOneOfThreefiveAction } from './changeRequestCreateFeatureSchemaOneOfThreefiveAction.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreefivePayload } from './changeRequestCreateFeatureSchemaOneOfThreefivePayload.js';
/**
* Delete milestone progression.
*/
export type ChangeRequestCreateFeatureSchemaOneOfThreefive = {
/** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfThreefiveAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestCreateFeatureSchemaOneOfThreefivePayload;
};

View File

@ -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 ChangeRequestCreateFeatureSchemaOneOfThreefiveAction =
(typeof ChangeRequestCreateFeatureSchemaOneOfThreefiveAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreefiveAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfThreefiveAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestCreateFeatureSchemaOneOfThreefivePayload = {
/** The ID of the source milestone with progression to delete. */
sourceMilestone: string;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateFeatureSchemaOneOfThreetwoAction } from './changeRequestCreateFeatureSchemaOneOfThreetwoAction.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreetwoPayload } from './changeRequestCreateFeatureSchemaOneOfThreetwoPayload.js';
/**
* Update milestone progression transition condition.
*/
export type ChangeRequestCreateFeatureSchemaOneOfThreetwo = {
/** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfThreetwoAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestCreateFeatureSchemaOneOfThreetwoPayload;
};

View File

@ -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 ChangeRequestCreateFeatureSchemaOneOfThreetwoAction =
(typeof ChangeRequestCreateFeatureSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreetwoAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfThreetwoAction = {
updateMilestoneProgression: 'updateMilestoneProgression',
} as const;

View File

@ -0,0 +1,13 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
export type ChangeRequestCreateFeatureSchemaOneOfThreetwoPayload = {
/** The ID of the source milestone with progression to update. */
sourceMilestone: string;
/** The condition configuration for the transition */
transitionCondition: TransitionConditionSchema;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateFeatureSchemaOneOfThreezeroAction } from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js';
/**
* Create milestone progression from one milestone to another.
*/
export type ChangeRequestCreateFeatureSchemaOneOfThreezero = {
/** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfThreezeroAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: CreateMilestoneProgressionSchema;
};

View File

@ -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 ChangeRequestCreateFeatureSchemaOneOfThreezeroAction =
(typeof ChangeRequestCreateFeatureSchemaOneOfThreezeroAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreezeroAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfThreezeroAction = {
createMilestoneProgression: 'createMilestoneProgression',
} as const;

View File

@ -17,6 +17,9 @@ import type { ChangeRequestCreateSchemaOneOfTwofive } from './changeRequestCreat
import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCreateSchemaOneOfTwoseven.js';
import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine.js';
import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo.js';
import type { ChangeRequestCreateSchemaOneOfThreefive } from './changeRequestCreateSchemaOneOfThreefive.js';
import type { ChangeRequestCreateSchemaOneOfThreeseven } from './changeRequestCreateSchemaOneOfThreeseven.js';
import type { ChangeRequestCreateSchemaOneOfFourzero } from './changeRequestCreateSchemaOneOfFourzero.js';
/**
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change.
@ -35,4 +38,7 @@ export type ChangeRequestCreateSchema =
| ChangeRequestCreateSchemaOneOfTwofive
| ChangeRequestCreateSchemaOneOfTwoseven
| ChangeRequestCreateSchemaOneOfTwonine
| ChangeRequestCreateSchemaOneOfThreetwo;
| ChangeRequestCreateSchemaOneOfThreetwo
| ChangeRequestCreateSchemaOneOfThreefive
| ChangeRequestCreateSchemaOneOfThreeseven
| ChangeRequestCreateSchemaOneOfFourzero;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateSchemaOneOfFourzeroAction } from './changeRequestCreateSchemaOneOfFourzeroAction.js';
import type { ChangeRequestCreateSchemaOneOfFourzeroPayload } from './changeRequestCreateSchemaOneOfFourzeroPayload.js';
/**
* Delete milestone progression.
*/
export type ChangeRequestCreateSchemaOneOfFourzero = {
/** The name of this action. */
action: ChangeRequestCreateSchemaOneOfFourzeroAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestCreateSchemaOneOfFourzeroPayload;
};

View File

@ -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 ChangeRequestCreateSchemaOneOfFourzeroAction =
(typeof ChangeRequestCreateSchemaOneOfFourzeroAction)[keyof typeof ChangeRequestCreateSchemaOneOfFourzeroAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfFourzeroAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestCreateSchemaOneOfFourzeroPayload = {
/** The ID of the source milestone with progression to delete. */
sourceMilestone: string;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateSchemaOneOfThreefiveAction } from './changeRequestCreateSchemaOneOfThreefiveAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js';
/**
* Create milestone progression from one milestone to another.
*/
export type ChangeRequestCreateSchemaOneOfThreefive = {
/** The name of this action. */
action: ChangeRequestCreateSchemaOneOfThreefiveAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: CreateMilestoneProgressionSchema;
};

View File

@ -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 ChangeRequestCreateSchemaOneOfThreefiveAction =
(typeof ChangeRequestCreateSchemaOneOfThreefiveAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreefiveAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfThreefiveAction = {
createMilestoneProgression: 'createMilestoneProgression',
} as const;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestCreateSchemaOneOfThreesevenAction } from './changeRequestCreateSchemaOneOfThreesevenAction.js';
import type { ChangeRequestCreateSchemaOneOfThreesevenPayload } from './changeRequestCreateSchemaOneOfThreesevenPayload.js';
/**
* Update milestone progression transition condition.
*/
export type ChangeRequestCreateSchemaOneOfThreeseven = {
/** The name of this action. */
action: ChangeRequestCreateSchemaOneOfThreesevenAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestCreateSchemaOneOfThreesevenPayload;
};

View File

@ -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 ChangeRequestCreateSchemaOneOfThreesevenAction =
(typeof ChangeRequestCreateSchemaOneOfThreesevenAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreesevenAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfThreesevenAction = {
updateMilestoneProgression: 'updateMilestoneProgression',
} as const;

View File

@ -0,0 +1,13 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
export type ChangeRequestCreateSchemaOneOfThreesevenPayload = {
/** The ID of the source milestone with progression to update. */
sourceMilestone: string;
/** The condition configuration for the transition */
transitionCondition: TransitionConditionSchema;
};

View File

@ -17,6 +17,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofive } from './changeReq
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoseven } from './changeRequestOneOrManyCreateSchemaOneOfTwoseven.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonine } from './changeRequestOneOrManyCreateSchemaOneOfTwonine.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwo } from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefive } from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeseven } from './changeRequestOneOrManyCreateSchemaOneOfThreeseven.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfFourzero } from './changeRequestOneOrManyCreateSchemaOneOfFourzero.js';
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema.js';
/**
@ -37,4 +40,7 @@ export type ChangeRequestOneOrManyCreateSchema =
| ChangeRequestOneOrManyCreateSchemaOneOfTwoseven
| ChangeRequestOneOrManyCreateSchemaOneOfTwonine
| ChangeRequestOneOrManyCreateSchemaOneOfThreetwo
| ChangeRequestOneOrManyCreateSchemaOneOfThreefive
| ChangeRequestOneOrManyCreateSchemaOneOfThreeseven
| ChangeRequestOneOrManyCreateSchemaOneOfFourzero
| ChangeRequestCreateSchema[];

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction } from './changeRequestOneOrManyCreateSchemaOneOfFourzeroAction.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfFourzeroPayload } from './changeRequestOneOrManyCreateSchemaOneOfFourzeroPayload.js';
/**
* Delete milestone progression.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfFourzero = {
/** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestOneOrManyCreateSchemaOneOfFourzeroPayload;
};

View File

@ -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 ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction =
(typeof ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfFourzeroAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

@ -0,0 +1,10 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfFourzeroPayload = {
/** The ID of the source milestone with progression to delete. */
sourceMilestone: string;
};

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction } from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js';
/**
* Create milestone progression from one milestone to another.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfThreefive = {
/** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: CreateMilestoneProgressionSchema;
};

View File

@ -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 ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction =
(typeof ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction = {
createMilestoneProgression: 'createMilestoneProgression',
} as const;

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction } from './changeRequestOneOrManyCreateSchemaOneOfThreesevenAction.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreesevenPayload } from './changeRequestOneOrManyCreateSchemaOneOfThreesevenPayload.js';
/**
* Update milestone progression transition condition.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfThreeseven = {
/** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction;
/** The name of the feature that this change applies to. */
feature: string;
payload: ChangeRequestOneOrManyCreateSchemaOneOfThreesevenPayload;
};

View File

@ -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 ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction =
(typeof ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfThreesevenAction = {
updateMilestoneProgression: 'updateMilestoneProgression',
} as const;

View File

@ -0,0 +1,13 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
export type ChangeRequestOneOrManyCreateSchemaOneOfThreesevenPayload = {
/** The ID of the source milestone with progression to update. */
sourceMilestone: string;
/** The condition configuration for the transition */
transitionCondition: TransitionConditionSchema;
};

View File

@ -13,6 +13,6 @@ export interface DetailedInvoicesSchema {
invoices: DetailedInvoicesSchemaInvoicesItem[];
/** The currency code for the plan price */
planCurrency?: string;
/** The plan price in minor currency units */
/** The plan price */
planPrice?: number;
}

View File

@ -6,6 +6,8 @@
import type { DetailedInvoicesLineSchema } from './detailedInvoicesLineSchema.js';
export type DetailedInvoicesSchemaInvoicesItem = {
/** The currency code for the invoice */
currency: string;
/** When the invoice is due */
dueDate?: string;
/** When the invoice was created */
@ -20,7 +22,11 @@ export type DetailedInvoicesSchemaInvoicesItem = {
monthText: string;
/** The current status of the invoice */
status: string;
/** Total amount for the invoice in minor currency units */
/** Subtotal amount for the invoice */
subtotal: number;
/** Tax amount for the invoice */
taxAmount: number;
/** Total amount for the invoice */
totalAmount: number;
/** Usage line items (traffic, consumption usage, overages) */
usageLines: DetailedInvoicesLineSchema[];

View File

@ -170,6 +170,9 @@ export const EventSchemaType = {
'release-plan-added': 'release-plan-added',
'release-plan-removed': 'release-plan-removed',
'release-plan-milestone-started': 'release-plan-milestone-started',
'milestone-progression-created': 'milestone-progression-created',
'milestone-progression-updated': 'milestone-progression-updated',
'milestone-progression-deleted': 'milestone-progression-deleted',
'user-preference-updated': 'user-preference-updated',
'scim-users-deleted': 'scim-users-deleted',
'scim-groups-deleted': 'scim-groups-deleted',

View File

@ -185,6 +185,14 @@ export * from './changeRequestCreateFeatureSchemaOneOfOnethreePayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfPayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfSix.js';
export * from './changeRequestCreateFeatureSchemaOneOfSixAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefive.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefiveAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefivePayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwo.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwoAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwoPayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreezero.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofour.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload.js';
@ -198,6 +206,9 @@ export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction.js';
export * from './changeRequestCreateSchema.js';
export * from './changeRequestCreateSchemaOneOf.js';
export * from './changeRequestCreateSchemaOneOfAction.js';
export * from './changeRequestCreateSchemaOneOfFourzero.js';
export * from './changeRequestCreateSchemaOneOfFourzeroAction.js';
export * from './changeRequestCreateSchemaOneOfFourzeroPayload.js';
export * from './changeRequestCreateSchemaOneOfNine.js';
export * from './changeRequestCreateSchemaOneOfNineAction.js';
export * from './changeRequestCreateSchemaOneOfOneeight.js';
@ -216,6 +227,11 @@ export * from './changeRequestCreateSchemaOneOfSixPayload.js';
export * from './changeRequestCreateSchemaOneOfThree.js';
export * from './changeRequestCreateSchemaOneOfThreeAction.js';
export * from './changeRequestCreateSchemaOneOfThreePayload.js';
export * from './changeRequestCreateSchemaOneOfThreefive.js';
export * from './changeRequestCreateSchemaOneOfThreefiveAction.js';
export * from './changeRequestCreateSchemaOneOfThreeseven.js';
export * from './changeRequestCreateSchemaOneOfThreesevenAction.js';
export * from './changeRequestCreateSchemaOneOfThreesevenPayload.js';
export * from './changeRequestCreateSchemaOneOfThreetwo.js';
export * from './changeRequestCreateSchemaOneOfThreetwoAction.js';
export * from './changeRequestCreateSchemaOneOfThreetwoPayload.js';
@ -243,6 +259,9 @@ export * from './changeRequestFeatureSchema.js';
export * from './changeRequestOneOrManyCreateSchema.js';
export * from './changeRequestOneOrManyCreateSchemaOneOf.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzero.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzeroAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzeroPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfNine.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfNineAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfOneeight.js';
@ -261,6 +280,11 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThree.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeseven.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.js';
@ -1187,7 +1211,6 @@ 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';

View File

@ -4,7 +4,7 @@
* See `gen:api` script in package.json
*/
import type { ReleasePlanMilestoneStrategySchema } from './releasePlanMilestoneStrategySchema.js';
import type { ReleasePlanMilestoneSchemaTransitionCondition } from './releasePlanMilestoneSchemaTransitionCondition.js';
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
/**
* Schema representing the creation of a release plan milestone.
@ -16,6 +16,11 @@ export interface ReleasePlanMilestoneSchema {
id: string;
/** The name of the milestone. */
name: string;
/**
* The date and time when the milestone progression was executed.
* @nullable
*/
progressionExecutedAt?: string | null;
/** The ID of the release plan/template that this milestone belongs to. */
releasePlanDefinitionId: string;
/** The order of the milestone in the release plan. */
@ -27,9 +32,6 @@ export interface ReleasePlanMilestoneSchema {
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;
/** The condition configuration for the transition */
transitionCondition?: TransitionConditionSchema;
}

View File

@ -1,13 +0,0 @@
/**
* 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;

View File

@ -8,6 +8,9 @@
* A transition condition for milestone progression
*/
export interface TransitionConditionSchema {
/** The interval in minutes before transitioning */
/**
* The interval in minutes before transitioning
* @minimum 1
*/
intervalMinutes: number;
}