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

fix: switch to new change milestone endpoint

This commit is contained in:
kwasniew 2025-10-22 14:55:11 +02:00
parent 0e2c57ed87
commit 92d03d2058
No known key found for this signature in database
GPG Key ID: 43A7CBC24C119560
48 changed files with 74 additions and 529 deletions

View File

@ -47,7 +47,7 @@ const getMilestonesWithAutomation = (
return new Set( return new Set(
progressionChanges progressionChanges
.filter((change) => change.action === 'changeMilestoneProgression') .filter((change) => change.action === 'changeMilestoneProgression')
.map((change) => change.payload.sourceMilestoneId) .map((change) => change.payload.sourceMilestone)
.filter((id): id is string => Boolean(id)), .filter((id): id is string => Boolean(id)),
); );
}; };
@ -58,11 +58,7 @@ const getMilestonesWithDeletedAutomation = (
return new Set( return new Set(
progressionChanges progressionChanges
.filter((change) => change.action === 'deleteMilestoneProgression') .filter((change) => change.action === 'deleteMilestoneProgression')
.map( .map((change) => change.payload.sourceMilestone)
(change) =>
change.payload.sourceMilestoneId ||
change.payload.sourceMilestone,
)
.filter((id): id is string => Boolean(id)), .filter((id): id is string => Boolean(id)),
); );
}; };
@ -72,11 +68,7 @@ const getChangeDescriptions = (
basePlan: IReleasePlan, basePlan: IReleasePlan,
): string[] => { ): string[] => {
return progressionChanges.map((change) => { return progressionChanges.map((change) => {
const sourceId = const sourceId = change.payload.sourceMilestone;
change.action === 'changeMilestoneProgression'
? change.payload.sourceMilestoneId
: change.payload.sourceMilestoneId ||
change.payload.sourceMilestone;
const sourceName = const sourceName =
basePlan.milestones.find((milestone) => milestone.id === sourceId) basePlan.milestones.find((milestone) => milestone.id === sourceId)
?.name || sourceId; ?.name || sourceId;

View File

@ -8,12 +8,7 @@ import type { IReleasePlan } from 'interfaces/releasePlans';
import type { ChangeMilestoneProgressionSchema } from 'openapi'; import type { ChangeMilestoneProgressionSchema } from 'openapi';
import { EventDiff } from 'component/events/EventDiff/EventDiff'; import { EventDiff } from 'component/events/EventDiff/EventDiff';
import { Tab, TabList, TabPanel, Tabs } from './ChangeTabComponents.tsx'; import { Tab, TabList, TabPanel, Tabs } from './ChangeTabComponents.tsx';
import { import { Action, ChangeItemInfo, ChangeItemWrapper } from './Change.styles.tsx';
Action,
Added,
ChangeItemInfo,
ChangeItemWrapper,
} from './Change.styles.tsx';
import { styled } from '@mui/material'; import { styled } from '@mui/material';
import { MilestoneListRenderer } from './MilestoneListRenderer.tsx'; import { MilestoneListRenderer } from './MilestoneListRenderer.tsx';
import { applyProgressionChanges } from './applyProgressionChanges.ts'; import { applyProgressionChanges } from './applyProgressionChanges.ts';
@ -47,7 +42,7 @@ export const ProgressionChange: FC<ProgressionChangeProps> = ({
const basePlan = change.payload.snapshot || currentReleasePlan; const basePlan = change.payload.snapshot || currentReleasePlan;
if (!basePlan) return null; if (!basePlan) return null;
const sourceId = change.payload.sourceMilestoneId; const sourceId = change.payload.sourceMilestone;
if (!sourceId) return null; if (!sourceId) return null;
const sourceMilestone = basePlan.milestones.find( const sourceMilestone = basePlan.milestones.find(
@ -55,9 +50,10 @@ export const ProgressionChange: FC<ProgressionChangeProps> = ({
); );
const sourceMilestoneName = sourceMilestone?.name || sourceId; const sourceMilestoneName = sourceMilestone?.name || sourceId;
const targetMilestoneName = basePlan.milestones.find( const targetMilestoneName =
(milestone) => milestone.id === change.payload.targetMilestone, basePlan.milestones.find(
)?.name || change.payload.targetMilestone; (milestone) => milestone.id === change.payload.targetMilestone,
)?.name || change.payload.targetMilestone;
const modifiedPlan = applyProgressionChanges(basePlan, [change]); const modifiedPlan = applyProgressionChanges(basePlan, [change]);

View File

@ -281,7 +281,7 @@ export const ReleasePlanChange: FC<{
feature: featureName, feature: featureName,
action: 'changeMilestoneProgression', action: 'changeMilestoneProgression',
payload: { payload: {
sourceMilestoneId: sourceMilestoneId, sourceMilestone: sourceMilestoneId,
...payload, ...payload,
}, },
}); });

View File

@ -18,7 +18,7 @@ export const applyProgressionChanges = (
const changeProgression = progressionChanges.find( const changeProgression = progressionChanges.find(
(change): change is IChangeRequestChangeMilestoneProgression => (change): change is IChangeRequestChangeMilestoneProgression =>
change.action === 'changeMilestoneProgression' && change.action === 'changeMilestoneProgression' &&
change.payload.sourceMilestoneId === milestone.id, change.payload.sourceMilestone === milestone.id,
); );
const deleteChange = progressionChanges.find( const deleteChange = progressionChanges.find(
(change): change is IChangeRequestDeleteMilestoneProgression => (change): change is IChangeRequestDeleteMilestoneProgression =>

View File

@ -289,7 +289,6 @@ type ChangeRequestStartMilestone = {
type ChangeRequestChangeMilestoneProgression = type ChangeRequestChangeMilestoneProgression =
ChangeMilestoneProgressionSchema & { ChangeMilestoneProgressionSchema & {
sourceMilestoneId: string;
snapshot?: IReleasePlan; snapshot?: IReleasePlan;
}; };

View File

@ -4,10 +4,7 @@ import type {
IReleasePlan, IReleasePlan,
IReleasePlanMilestone, IReleasePlanMilestone,
} from 'interfaces/releasePlans'; } from 'interfaces/releasePlans';
import type { import type { ChangeMilestoneProgressionSchema } from 'openapi';
CreateMilestoneProgressionSchema,
UpdateMilestoneProgressionSchema,
} from 'openapi';
import { getTimeValueAndUnitFromMinutes } from '../hooks/useMilestoneProgressionForm.js'; import { getTimeValueAndUnitFromMinutes } from '../hooks/useMilestoneProgressionForm.js';
const StyledBoldSpan = styled('span')(({ theme }) => ({ const StyledBoldSpan = styled('span')(({ theme }) => ({
@ -24,13 +21,8 @@ type ChangeRequestAction =
milestone: IReleasePlanMilestone; milestone: IReleasePlanMilestone;
} }
| { | {
type: 'createMilestoneProgression'; type: 'changeMilestoneProgression';
payload: CreateMilestoneProgressionSchema; payload: ChangeMilestoneProgressionSchema;
}
| {
type: 'updateMilestoneProgression';
sourceMilestoneId: string;
payload: UpdateMilestoneProgressionSchema;
} }
| { | {
type: 'deleteMilestoneProgression'; type: 'deleteMilestoneProgression';
@ -91,7 +83,7 @@ export const ReleasePlanChangeRequestDialog = ({
</p> </p>
); );
case 'createMilestoneProgression': { case 'changeMilestoneProgression': {
const sourceMilestone = releasePlan.milestones.find( const sourceMilestone = releasePlan.milestones.find(
(milestone) => (milestone) =>
milestone.id === action.payload.sourceMilestone, milestone.id === action.payload.sourceMilestone,
@ -108,7 +100,7 @@ export const ReleasePlanChangeRequestDialog = ({
return ( return (
<p> <p>
Create automation to proceed from{' '} Configure automation to proceed from{' '}
<StyledBoldSpan>{sourceMilestone?.name}</StyledBoldSpan>{' '} <StyledBoldSpan>{sourceMilestone?.name}</StyledBoldSpan>{' '}
to{' '} to{' '}
<StyledBoldSpan>{targetMilestone?.name}</StyledBoldSpan>{' '} <StyledBoldSpan>{targetMilestone?.name}</StyledBoldSpan>{' '}
@ -118,27 +110,6 @@ export const ReleasePlanChangeRequestDialog = ({
); );
} }
case 'updateMilestoneProgression': {
const milestone = releasePlan.milestones.find(
(milestone) => milestone.id === action.sourceMilestoneId,
);
const { value, unit } = getTimeValueAndUnitFromMinutes(
action.payload.transitionCondition.intervalMinutes,
);
const timeInterval = `${value} ${unit}`;
return (
<p>
Update automation for{' '}
<StyledBoldSpan>{milestone?.name}</StyledBoldSpan> to
proceed after{' '}
<StyledBoldSpan>{timeInterval}</StyledBoldSpan> in{' '}
{environmentId}
</p>
);
}
case 'deleteMilestoneProgression': { case 'deleteMilestoneProgression': {
const milestone = releasePlan.milestones.find( const milestone = releasePlan.milestones.find(
(milestone) => milestone.id === action.sourceMilestoneId, (milestone) => milestone.id === action.sourceMilestoneId,

View File

@ -22,10 +22,7 @@ import { Truncator } from 'component/common/Truncator/Truncator';
import { useUiFlag } from 'hooks/useUiFlag'; import { useUiFlag } from 'hooks/useUiFlag';
import { useMilestoneProgressionsApi } from 'hooks/api/actions/useMilestoneProgressionsApi/useMilestoneProgressionsApi'; import { useMilestoneProgressionsApi } from 'hooks/api/actions/useMilestoneProgressionsApi/useMilestoneProgressionsApi';
import { DeleteProgressionDialog } from './DeleteProgressionDialog.tsx'; import { DeleteProgressionDialog } from './DeleteProgressionDialog.tsx';
import type { import type { ChangeMilestoneProgressionSchema } from 'openapi';
CreateMilestoneProgressionSchema,
UpdateMilestoneProgressionSchema,
} from 'openapi';
import { ReleasePlanMilestoneItem } from './ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx'; import { ReleasePlanMilestoneItem } from './ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx';
const StyledContainer = styled('div')(({ theme }) => ({ const StyledContainer = styled('div')(({ theme }) => ({
@ -111,13 +108,8 @@ export const ReleasePlan = ({
| { type: 'removeReleasePlan'; environmentActive: boolean } | { type: 'removeReleasePlan'; environmentActive: boolean }
| { type: 'startMilestone'; milestone: IReleasePlanMilestone } | { type: 'startMilestone'; milestone: IReleasePlanMilestone }
| { | {
type: 'createMilestoneProgression'; type: 'changeMilestoneProgression';
payload: CreateMilestoneProgressionSchema; payload: ChangeMilestoneProgressionSchema;
}
| {
type: 'updateMilestoneProgression';
sourceMilestoneId: string;
payload: UpdateMilestoneProgressionSchema;
} }
| { | {
type: 'deleteMilestoneProgression'; type: 'deleteMilestoneProgression';
@ -201,25 +193,14 @@ export const ReleasePlan = ({
}); });
break; break;
case 'createMilestoneProgression': case 'changeMilestoneProgression':
await addChange(projectId, environment, { await addChange(projectId, environment, {
feature: featureName, feature: featureName,
action: 'createMilestoneProgression', action: 'changeMilestoneProgression',
payload: changeRequestAction.payload, payload: changeRequestAction.payload,
}); });
break; break;
case 'updateMilestoneProgression':
await addChange(projectId, environment, {
feature: featureName,
action: 'updateMilestoneProgression',
payload: {
sourceMilestone: changeRequestAction.sourceMilestoneId,
...changeRequestAction.payload,
},
});
break;
case 'deleteMilestoneProgression': case 'deleteMilestoneProgression':
await addChange(projectId, environment, { await addChange(projectId, environment, {
feature: featureName, feature: featureName,
@ -314,18 +295,10 @@ export const ReleasePlan = ({
}); });
}; };
const handleAddToChangeRequest = ( const handleAddToChangeRequest = (action: {
action: type: 'changeMilestoneProgression';
| { payload: ChangeMilestoneProgressionSchema;
type: 'createMilestoneProgression'; }) => {
payload: CreateMilestoneProgressionSchema;
}
| {
type: 'updateMilestoneProgression';
sourceMilestoneId: string;
payload: UpdateMilestoneProgressionSchema;
},
) => {
setChangeRequestAction(action); setChangeRequestAction(action);
}; };

View File

@ -43,7 +43,6 @@ export interface IReleasePlanMilestoneItemProps {
onDeleteProgression: (milestone: IReleasePlanMilestone) => void; onDeleteProgression: (milestone: IReleasePlanMilestone) => void;
onAddToChangeRequest: (action: { onAddToChangeRequest: (action: {
type: 'changeMilestoneProgression'; type: 'changeMilestoneProgression';
sourceMilestoneId: string;
payload: ChangeMilestoneProgressionSchema; payload: ChangeMilestoneProgressionSchema;
}) => void; }) => void;
getPendingProgressionChange: ( getPendingProgressionChange: (
@ -93,8 +92,10 @@ export const ReleasePlanMilestoneItem = ({
if (isChangeRequestConfigured(environment)) { if (isChangeRequestConfigured(environment)) {
onAddToChangeRequest({ onAddToChangeRequest({
type: 'changeMilestoneProgression', type: 'changeMilestoneProgression',
sourceMilestoneId: milestone.id, payload: {
payload, ...payload,
sourceMilestone: milestone.id,
},
}); });
return { shouldReset: true }; return { shouldReset: true };
} }

View File

@ -13,4 +13,5 @@ export interface ChangeMilestoneProgressionSchema {
targetMilestone: string; targetMilestone: string;
/** The condition configuration for the transition */ /** The condition configuration for the transition */
transitionCondition: TransitionConditionSchema; transitionCondition: TransitionConditionSchema;
[key: string]: unknown;
} }

View File

@ -16,8 +16,7 @@ import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeReques
import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour.js'; import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour.js';
import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven.js'; import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreezero } from './changeRequestCreateFeatureSchemaOneOfThreezero.js'; import type { ChangeRequestCreateFeatureSchemaOneOfThreezero } from './changeRequestCreateFeatureSchemaOneOfThreezero.js';
import type { ChangeRequestCreateFeatureSchemaOneOfThreetwo } from './changeRequestCreateFeatureSchemaOneOfThreetwo.js'; import type { ChangeRequestCreateFeatureSchemaOneOfThreethree } from './changeRequestCreateFeatureSchemaOneOfThreethree.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. * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change.
@ -36,5 +35,4 @@ export type ChangeRequestCreateFeatureSchema =
| ChangeRequestCreateFeatureSchemaOneOfTwofour | ChangeRequestCreateFeatureSchemaOneOfTwofour
| ChangeRequestCreateFeatureSchemaOneOfTwoseven | ChangeRequestCreateFeatureSchemaOneOfTwoseven
| ChangeRequestCreateFeatureSchemaOneOfThreezero | ChangeRequestCreateFeatureSchemaOneOfThreezero
| ChangeRequestCreateFeatureSchemaOneOfThreetwo | ChangeRequestCreateFeatureSchemaOneOfThreethree;
| ChangeRequestCreateFeatureSchemaOneOfThreefive;

View File

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

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

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

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

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

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

@ -4,15 +4,15 @@
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { ChangeRequestCreateFeatureSchemaOneOfThreezeroAction } from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js'; import type { ChangeRequestCreateFeatureSchemaOneOfThreezeroAction } from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js'; import type { ChangeRequestCreateFeatureSchemaOneOfThreezeroPayload } from './changeRequestCreateFeatureSchemaOneOfThreezeroPayload.js';
/** /**
* Create milestone progression from one milestone to another. * Create or update milestone progression from one milestone to another.
*/ */
export type ChangeRequestCreateFeatureSchemaOneOfThreezero = { export type ChangeRequestCreateFeatureSchemaOneOfThreezero = {
/** The name of this action. */ /** The name of this action. */
action: ChangeRequestCreateFeatureSchemaOneOfThreezeroAction; action: ChangeRequestCreateFeatureSchemaOneOfThreezeroAction;
/** The name of the feature that this change applies to. */ /** The name of the feature that this change applies to. */
feature: string; feature: string;
payload: CreateMilestoneProgressionSchema; payload: ChangeRequestCreateFeatureSchemaOneOfThreezeroPayload;
}; };

View File

@ -12,5 +12,5 @@ export type ChangeRequestCreateFeatureSchemaOneOfThreezeroAction =
// eslint-disable-next-line @typescript-eslint/no-redeclare // eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfThreezeroAction = { export const ChangeRequestCreateFeatureSchemaOneOfThreezeroAction = {
createMilestoneProgression: 'createMilestoneProgression', changeMilestoneProgression: 'changeMilestoneProgression',
} as const; } as const;

View File

@ -18,8 +18,7 @@ import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCrea
import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine.js'; import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine.js';
import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo.js'; import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo.js';
import type { ChangeRequestCreateSchemaOneOfThreefive } from './changeRequestCreateSchemaOneOfThreefive.js'; import type { ChangeRequestCreateSchemaOneOfThreefive } from './changeRequestCreateSchemaOneOfThreefive.js';
import type { ChangeRequestCreateSchemaOneOfThreeseven } from './changeRequestCreateSchemaOneOfThreeseven.js'; import type { ChangeRequestCreateSchemaOneOfThreeeight } from './changeRequestCreateSchemaOneOfThreeeight.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. * Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change.
@ -40,5 +39,4 @@ export type ChangeRequestCreateSchema =
| ChangeRequestCreateSchemaOneOfTwonine | ChangeRequestCreateSchemaOneOfTwonine
| ChangeRequestCreateSchemaOneOfThreetwo | ChangeRequestCreateSchemaOneOfThreetwo
| ChangeRequestCreateSchemaOneOfThreefive | ChangeRequestCreateSchemaOneOfThreefive
| ChangeRequestCreateSchemaOneOfThreeseven | ChangeRequestCreateSchemaOneOfThreeeight;
| ChangeRequestCreateSchemaOneOfFourzero;

View File

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

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

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

@ -4,15 +4,15 @@
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { ChangeRequestCreateSchemaOneOfThreefiveAction } from './changeRequestCreateSchemaOneOfThreefiveAction.js'; import type { ChangeRequestCreateSchemaOneOfThreefiveAction } from './changeRequestCreateSchemaOneOfThreefiveAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js'; import type { ChangeRequestCreateSchemaOneOfThreefivePayload } from './changeRequestCreateSchemaOneOfThreefivePayload.js';
/** /**
* Create milestone progression from one milestone to another. * Create or update milestone progression from one milestone to another.
*/ */
export type ChangeRequestCreateSchemaOneOfThreefive = { export type ChangeRequestCreateSchemaOneOfThreefive = {
/** The name of this action. */ /** The name of this action. */
action: ChangeRequestCreateSchemaOneOfThreefiveAction; action: ChangeRequestCreateSchemaOneOfThreefiveAction;
/** The name of the feature that this change applies to. */ /** The name of the feature that this change applies to. */
feature: string; feature: string;
payload: CreateMilestoneProgressionSchema; payload: ChangeRequestCreateSchemaOneOfThreefivePayload;
}; };

View File

@ -12,5 +12,5 @@ export type ChangeRequestCreateSchemaOneOfThreefiveAction =
// eslint-disable-next-line @typescript-eslint/no-redeclare // eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfThreefiveAction = { export const ChangeRequestCreateSchemaOneOfThreefiveAction = {
createMilestoneProgression: 'createMilestoneProgression', changeMilestoneProgression: 'changeMilestoneProgression',
} as const; } as const;

View File

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

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

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

@ -18,8 +18,7 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoseven } from './changeRe
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonine } from './changeRequestOneOrManyCreateSchemaOneOfTwonine.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonine } from './changeRequestOneOrManyCreateSchemaOneOfTwonine.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwo } from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwo } from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefive } from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefive } from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeseven } from './changeRequestOneOrManyCreateSchemaOneOfThreeseven.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfThreeeight } from './changeRequestOneOrManyCreateSchemaOneOfThreeeight.js';
import type { ChangeRequestOneOrManyCreateSchemaOneOfFourzero } from './changeRequestOneOrManyCreateSchemaOneOfFourzero.js';
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema.js'; import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema.js';
/** /**
@ -41,6 +40,5 @@ export type ChangeRequestOneOrManyCreateSchema =
| ChangeRequestOneOrManyCreateSchemaOneOfTwonine | ChangeRequestOneOrManyCreateSchemaOneOfTwonine
| ChangeRequestOneOrManyCreateSchemaOneOfThreetwo | ChangeRequestOneOrManyCreateSchemaOneOfThreetwo
| ChangeRequestOneOrManyCreateSchemaOneOfThreefive | ChangeRequestOneOrManyCreateSchemaOneOfThreefive
| ChangeRequestOneOrManyCreateSchemaOneOfThreeseven | ChangeRequestOneOrManyCreateSchemaOneOfThreeeight
| ChangeRequestOneOrManyCreateSchemaOneOfFourzero
| ChangeRequestCreateSchema[]; | ChangeRequestCreateSchema[];

View File

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

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

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

@ -4,15 +4,15 @@
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction } from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction } from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js';
import type { CreateMilestoneProgressionSchema } from './createMilestoneProgressionSchema.js'; import type { ChangeRequestOneOrManyCreateSchemaOneOfThreefivePayload } from './changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.js';
/** /**
* Create milestone progression from one milestone to another. * Create or update milestone progression from one milestone to another.
*/ */
export type ChangeRequestOneOrManyCreateSchemaOneOfThreefive = { export type ChangeRequestOneOrManyCreateSchemaOneOfThreefive = {
/** The name of this action. */ /** The name of this action. */
action: ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction; action: ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction;
/** The name of the feature that this change applies to. */ /** The name of the feature that this change applies to. */
feature: string; feature: string;
payload: CreateMilestoneProgressionSchema; payload: ChangeRequestOneOrManyCreateSchemaOneOfThreefivePayload;
}; };

View File

@ -12,5 +12,5 @@ export type ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction =
// eslint-disable-next-line @typescript-eslint/no-redeclare // eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction = { export const ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction = {
createMilestoneProgression: 'createMilestoneProgression', changeMilestoneProgression: 'changeMilestoneProgression',
} as const; } as const;

View File

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

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

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

@ -1,14 +0,0 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type CreateMilestoneProgression401 = {
/** The ID of the error instance */
id?: string;
/** A description of what went wrong. */
message?: string;
/** The name of the error kind */
name?: string;
};

View File

@ -1,14 +0,0 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
export type CreateMilestoneProgression403 = {
/** The ID of the error instance */
id?: string;
/** A description of what went wrong. */
message?: string;
/** The name of the error kind */
name?: string;
};

View File

@ -1,18 +0,0 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { TransitionConditionSchema } from './transitionConditionSchema.js';
/**
* Request body to create a milestone progression
*/
export interface CreateMilestoneProgressionSchema {
/** The ID of the source milestone */
sourceMilestone: string;
/** The ID of the target milestone */
targetMilestone: string;
/** The condition configuration for the transition */
transitionCondition: TransitionConditionSchema;
}

View File

@ -22,7 +22,7 @@ export interface DetailedInvoicesLineSchema {
/** Optional start date for the metered period */ /** Optional start date for the metered period */
startDate?: string; startDate?: string;
/** Total amount for this line item in minor currency units */ /** Total amount for this line item in minor currency units */
totalAmount: number; totalAmount?: number;
/** Unit price for usage line items */ /** Unit price for the line item */
unitPrice?: number; unitPrice?: number;
} }

View File

@ -27,7 +27,7 @@ export type DetailedInvoicesSchemaInvoicesItem = {
/** Tax amount for the invoice */ /** Tax amount for the invoice */
taxAmount: number; taxAmount: number;
/** Tax percentage for the invoice */ /** Tax percentage for the invoice */
taxPercentage?: number; taxPercentage: number;
/** Total amount for the invoice */ /** Total amount for the invoice */
totalAmount: number; totalAmount: number;
/** Usage line items (traffic, consumption usage, overages) */ /** Usage line items (traffic, consumption usage, overages) */

View File

@ -173,6 +173,7 @@ export const EventSchemaType = {
'milestone-progression-created': 'milestone-progression-created', 'milestone-progression-created': 'milestone-progression-created',
'milestone-progression-updated': 'milestone-progression-updated', 'milestone-progression-updated': 'milestone-progression-updated',
'milestone-progression-deleted': 'milestone-progression-deleted', 'milestone-progression-deleted': 'milestone-progression-deleted',
'milestone-progression-changed': 'milestone-progression-changed',
'user-preference-updated': 'user-preference-updated', 'user-preference-updated': 'user-preference-updated',
'scim-users-deleted': 'scim-users-deleted', 'scim-users-deleted': 'scim-users-deleted',
'scim-groups-deleted': 'scim-groups-deleted', 'scim-groups-deleted': 'scim-groups-deleted',

View File

@ -141,6 +141,9 @@ export * from './bulkToggleFeaturesEnvironmentOn415.js';
export * from './bulkToggleFeaturesSchema.js'; export * from './bulkToggleFeaturesSchema.js';
export * from './cdnApiTokenSchema.js'; export * from './cdnApiTokenSchema.js';
export * from './cdnApiTokensSchema.js'; export * from './cdnApiTokensSchema.js';
export * from './changeMilestoneProgression401.js';
export * from './changeMilestoneProgression403.js';
export * from './changeMilestoneProgressionSchema.js';
export * from './changePassword401.js'; export * from './changePassword401.js';
export * from './changePassword403.js'; export * from './changePassword403.js';
export * from './changePassword415.js'; export * from './changePassword415.js';
@ -185,14 +188,12 @@ export * from './changeRequestCreateFeatureSchemaOneOfOnethreePayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfPayload.js'; export * from './changeRequestCreateFeatureSchemaOneOfPayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfSix.js'; export * from './changeRequestCreateFeatureSchemaOneOfSix.js';
export * from './changeRequestCreateFeatureSchemaOneOfSixAction.js'; export * from './changeRequestCreateFeatureSchemaOneOfSixAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefive.js'; export * from './changeRequestCreateFeatureSchemaOneOfThreethree.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefiveAction.js'; export * from './changeRequestCreateFeatureSchemaOneOfThreethreeAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreefivePayload.js'; export * from './changeRequestCreateFeatureSchemaOneOfThreethreePayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwo.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwoAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreetwoPayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreezero.js'; export * from './changeRequestCreateFeatureSchemaOneOfThreezero.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js'; export * from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfThreezeroPayload.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofour.js'; export * from './changeRequestCreateFeatureSchemaOneOfTwofour.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction.js'; export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction.js';
export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload.js'; export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload.js';
@ -206,9 +207,6 @@ export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction.js';
export * from './changeRequestCreateSchema.js'; export * from './changeRequestCreateSchema.js';
export * from './changeRequestCreateSchemaOneOf.js'; export * from './changeRequestCreateSchemaOneOf.js';
export * from './changeRequestCreateSchemaOneOfAction.js'; export * from './changeRequestCreateSchemaOneOfAction.js';
export * from './changeRequestCreateSchemaOneOfFourzero.js';
export * from './changeRequestCreateSchemaOneOfFourzeroAction.js';
export * from './changeRequestCreateSchemaOneOfFourzeroPayload.js';
export * from './changeRequestCreateSchemaOneOfNine.js'; export * from './changeRequestCreateSchemaOneOfNine.js';
export * from './changeRequestCreateSchemaOneOfNineAction.js'; export * from './changeRequestCreateSchemaOneOfNineAction.js';
export * from './changeRequestCreateSchemaOneOfOneeight.js'; export * from './changeRequestCreateSchemaOneOfOneeight.js';
@ -227,11 +225,12 @@ export * from './changeRequestCreateSchemaOneOfSixPayload.js';
export * from './changeRequestCreateSchemaOneOfThree.js'; export * from './changeRequestCreateSchemaOneOfThree.js';
export * from './changeRequestCreateSchemaOneOfThreeAction.js'; export * from './changeRequestCreateSchemaOneOfThreeAction.js';
export * from './changeRequestCreateSchemaOneOfThreePayload.js'; export * from './changeRequestCreateSchemaOneOfThreePayload.js';
export * from './changeRequestCreateSchemaOneOfThreeeight.js';
export * from './changeRequestCreateSchemaOneOfThreeeightAction.js';
export * from './changeRequestCreateSchemaOneOfThreeeightPayload.js';
export * from './changeRequestCreateSchemaOneOfThreefive.js'; export * from './changeRequestCreateSchemaOneOfThreefive.js';
export * from './changeRequestCreateSchemaOneOfThreefiveAction.js'; export * from './changeRequestCreateSchemaOneOfThreefiveAction.js';
export * from './changeRequestCreateSchemaOneOfThreeseven.js'; export * from './changeRequestCreateSchemaOneOfThreefivePayload.js';
export * from './changeRequestCreateSchemaOneOfThreesevenAction.js';
export * from './changeRequestCreateSchemaOneOfThreesevenPayload.js';
export * from './changeRequestCreateSchemaOneOfThreetwo.js'; export * from './changeRequestCreateSchemaOneOfThreetwo.js';
export * from './changeRequestCreateSchemaOneOfThreetwoAction.js'; export * from './changeRequestCreateSchemaOneOfThreetwoAction.js';
export * from './changeRequestCreateSchemaOneOfThreetwoPayload.js'; export * from './changeRequestCreateSchemaOneOfThreetwoPayload.js';
@ -259,9 +258,6 @@ export * from './changeRequestFeatureSchema.js';
export * from './changeRequestOneOrManyCreateSchema.js'; export * from './changeRequestOneOrManyCreateSchema.js';
export * from './changeRequestOneOrManyCreateSchemaOneOf.js'; export * from './changeRequestOneOrManyCreateSchemaOneOf.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfAction.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzero.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzeroAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfFourzeroPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfNine.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfNine.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfNineAction.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfNineAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfOneeight.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfOneeight.js';
@ -280,11 +276,12 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThree.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThree.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeight.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeseven.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenPayload.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.js';
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.js'; export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.js';
@ -464,10 +461,6 @@ export * from './createImpactMetricsConfigSchemaLabelSelectors.js';
export * from './createImpactMetricsConfigSchemaTimeRange.js'; export * from './createImpactMetricsConfigSchemaTimeRange.js';
export * from './createImpactMetricsConfigSchemaYAxisMin.js'; export * from './createImpactMetricsConfigSchemaYAxisMin.js';
export * from './createInvitedUserSchema.js'; export * from './createInvitedUserSchema.js';
export * from './changeMilestoneProgressionSchema.js';
export * from './createMilestoneProgression401.js';
export * from './createMilestoneProgression403.js';
export * from './createMilestoneProgressionSchema.js';
export * from './createPat401.js'; export * from './createPat401.js';
export * from './createPat403.js'; export * from './createPat403.js';
export * from './createPat404.js'; export * from './createPat404.js';
@ -643,12 +636,15 @@ export * from './doraFeaturesSchema.js';
export * from './edgeEndpointTrafficSchema.js'; export * from './edgeEndpointTrafficSchema.js';
export * from './edgeInstanceDataSchema.js'; export * from './edgeInstanceDataSchema.js';
export * from './edgeInstanceDataSchemaHosting.js'; export * from './edgeInstanceDataSchemaHosting.js';
export * from './edgeInstanceHeartbeat400.js';
export * from './edgeInstanceTrafficSchema.js'; export * from './edgeInstanceTrafficSchema.js';
export * from './edgeInstanceTrafficSchemaAccessDenied.js'; export * from './edgeInstanceTrafficSchemaAccessDenied.js';
export * from './edgeInstanceTrafficSchemaCachedResponses.js'; export * from './edgeInstanceTrafficSchemaCachedResponses.js';
export * from './edgeInstanceTrafficSchemaGet.js'; export * from './edgeInstanceTrafficSchemaGet.js';
export * from './edgeInstanceTrafficSchemaPost.js'; export * from './edgeInstanceTrafficSchemaPost.js';
export * from './edgeLatencyMetricsSchema.js'; export * from './edgeLatencyMetricsSchema.js';
export * from './edgeLicenseStateSchema.js';
export * from './edgeLicenseStateSchemaEdgeLicenseState.js';
export * from './edgeProcessMetricsSchema.js'; export * from './edgeProcessMetricsSchema.js';
export * from './edgeRequestStatsSchema.js'; export * from './edgeRequestStatsSchema.js';
export * from './edgeTokenSchema.js'; export * from './edgeTokenSchema.js';
@ -989,6 +985,7 @@ export * from './legalValueSchema.js';
export * from './licenseCheckSchema.js'; export * from './licenseCheckSchema.js';
export * from './licenseCheckSchemaMessageType.js'; export * from './licenseCheckSchemaMessageType.js';
export * from './licenseReadSchema.js'; export * from './licenseReadSchema.js';
export * from './licenseReadSchemaResources.js';
export * from './licenseUpdateSchema.js'; export * from './licenseUpdateSchema.js';
export * from './licensedUserSchema.js'; export * from './licensedUserSchema.js';
export * from './licensedUsersSchema.js'; export * from './licensedUsersSchema.js';
@ -1505,10 +1502,6 @@ export * from './updateLicense400.js';
export * from './updateLicense401.js'; export * from './updateLicense401.js';
export * from './updateLicense403.js'; export * from './updateLicense403.js';
export * from './updateLicense415.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 './updateMilestoneStrategy401.js';
export * from './updateMilestoneStrategy403.js'; export * from './updateMilestoneStrategy403.js';
export * from './updateMilestoneStrategy404.js'; export * from './updateMilestoneStrategy404.js';

View File

@ -3,6 +3,7 @@
* Do not edit manually. * Do not edit manually.
* See `gen:api` script in package.json * See `gen:api` script in package.json
*/ */
import type { LicenseReadSchemaResources } from './licenseReadSchemaResources.js';
/** /**
* A model representing a license response. * A model representing a license response.
@ -22,10 +23,8 @@ export interface LicenseReadSchema {
isValid: boolean; isValid: boolean;
/** Name of plan that the license is for. */ /** Name of plan that the license is for. */
plan?: string; plan?: string;
/** Number of release templates in the license. */ /** The resources available in the license. */
releaseTemplates?: number; resources?: LicenseReadSchemaResources;
/** Number of seats in the license. */
seats?: number;
/** The actual license token. */ /** The actual license token. */
token?: string; token?: string;
/** Type of license. */ /** Type of license. */

View File

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

View File

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

View File

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

View File

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