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:
parent
0e2c57ed87
commit
92d03d2058
@ -47,7 +47,7 @@ const getMilestonesWithAutomation = (
|
||||
return new Set(
|
||||
progressionChanges
|
||||
.filter((change) => change.action === 'changeMilestoneProgression')
|
||||
.map((change) => change.payload.sourceMilestoneId)
|
||||
.map((change) => change.payload.sourceMilestone)
|
||||
.filter((id): id is string => Boolean(id)),
|
||||
);
|
||||
};
|
||||
@ -58,11 +58,7 @@ const getMilestonesWithDeletedAutomation = (
|
||||
return new Set(
|
||||
progressionChanges
|
||||
.filter((change) => change.action === 'deleteMilestoneProgression')
|
||||
.map(
|
||||
(change) =>
|
||||
change.payload.sourceMilestoneId ||
|
||||
change.payload.sourceMilestone,
|
||||
)
|
||||
.map((change) => change.payload.sourceMilestone)
|
||||
.filter((id): id is string => Boolean(id)),
|
||||
);
|
||||
};
|
||||
@ -72,11 +68,7 @@ const getChangeDescriptions = (
|
||||
basePlan: IReleasePlan,
|
||||
): string[] => {
|
||||
return progressionChanges.map((change) => {
|
||||
const sourceId =
|
||||
change.action === 'changeMilestoneProgression'
|
||||
? change.payload.sourceMilestoneId
|
||||
: change.payload.sourceMilestoneId ||
|
||||
change.payload.sourceMilestone;
|
||||
const sourceId = change.payload.sourceMilestone;
|
||||
const sourceName =
|
||||
basePlan.milestones.find((milestone) => milestone.id === sourceId)
|
||||
?.name || sourceId;
|
||||
|
||||
@ -8,12 +8,7 @@ import type { IReleasePlan } from 'interfaces/releasePlans';
|
||||
import type { ChangeMilestoneProgressionSchema } from 'openapi';
|
||||
import { EventDiff } from 'component/events/EventDiff/EventDiff';
|
||||
import { Tab, TabList, TabPanel, Tabs } from './ChangeTabComponents.tsx';
|
||||
import {
|
||||
Action,
|
||||
Added,
|
||||
ChangeItemInfo,
|
||||
ChangeItemWrapper,
|
||||
} from './Change.styles.tsx';
|
||||
import { Action, ChangeItemInfo, ChangeItemWrapper } from './Change.styles.tsx';
|
||||
import { styled } from '@mui/material';
|
||||
import { MilestoneListRenderer } from './MilestoneListRenderer.tsx';
|
||||
import { applyProgressionChanges } from './applyProgressionChanges.ts';
|
||||
@ -47,7 +42,7 @@ export const ProgressionChange: FC<ProgressionChangeProps> = ({
|
||||
const basePlan = change.payload.snapshot || currentReleasePlan;
|
||||
if (!basePlan) return null;
|
||||
|
||||
const sourceId = change.payload.sourceMilestoneId;
|
||||
const sourceId = change.payload.sourceMilestone;
|
||||
if (!sourceId) return null;
|
||||
|
||||
const sourceMilestone = basePlan.milestones.find(
|
||||
@ -55,9 +50,10 @@ export const ProgressionChange: FC<ProgressionChangeProps> = ({
|
||||
);
|
||||
const sourceMilestoneName = sourceMilestone?.name || sourceId;
|
||||
|
||||
const targetMilestoneName = basePlan.milestones.find(
|
||||
(milestone) => milestone.id === change.payload.targetMilestone,
|
||||
)?.name || change.payload.targetMilestone;
|
||||
const targetMilestoneName =
|
||||
basePlan.milestones.find(
|
||||
(milestone) => milestone.id === change.payload.targetMilestone,
|
||||
)?.name || change.payload.targetMilestone;
|
||||
|
||||
const modifiedPlan = applyProgressionChanges(basePlan, [change]);
|
||||
|
||||
|
||||
@ -281,7 +281,7 @@ export const ReleasePlanChange: FC<{
|
||||
feature: featureName,
|
||||
action: 'changeMilestoneProgression',
|
||||
payload: {
|
||||
sourceMilestoneId: sourceMilestoneId,
|
||||
sourceMilestone: sourceMilestoneId,
|
||||
...payload,
|
||||
},
|
||||
});
|
||||
|
||||
@ -18,7 +18,7 @@ export const applyProgressionChanges = (
|
||||
const changeProgression = progressionChanges.find(
|
||||
(change): change is IChangeRequestChangeMilestoneProgression =>
|
||||
change.action === 'changeMilestoneProgression' &&
|
||||
change.payload.sourceMilestoneId === milestone.id,
|
||||
change.payload.sourceMilestone === milestone.id,
|
||||
);
|
||||
const deleteChange = progressionChanges.find(
|
||||
(change): change is IChangeRequestDeleteMilestoneProgression =>
|
||||
|
||||
@ -289,7 +289,6 @@ type ChangeRequestStartMilestone = {
|
||||
|
||||
type ChangeRequestChangeMilestoneProgression =
|
||||
ChangeMilestoneProgressionSchema & {
|
||||
sourceMilestoneId: string;
|
||||
snapshot?: IReleasePlan;
|
||||
};
|
||||
|
||||
|
||||
@ -4,10 +4,7 @@ import type {
|
||||
IReleasePlan,
|
||||
IReleasePlanMilestone,
|
||||
} from 'interfaces/releasePlans';
|
||||
import type {
|
||||
CreateMilestoneProgressionSchema,
|
||||
UpdateMilestoneProgressionSchema,
|
||||
} from 'openapi';
|
||||
import type { ChangeMilestoneProgressionSchema } from 'openapi';
|
||||
import { getTimeValueAndUnitFromMinutes } from '../hooks/useMilestoneProgressionForm.js';
|
||||
|
||||
const StyledBoldSpan = styled('span')(({ theme }) => ({
|
||||
@ -24,13 +21,8 @@ type ChangeRequestAction =
|
||||
milestone: IReleasePlanMilestone;
|
||||
}
|
||||
| {
|
||||
type: 'createMilestoneProgression';
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
}
|
||||
| {
|
||||
type: 'updateMilestoneProgression';
|
||||
sourceMilestoneId: string;
|
||||
payload: UpdateMilestoneProgressionSchema;
|
||||
type: 'changeMilestoneProgression';
|
||||
payload: ChangeMilestoneProgressionSchema;
|
||||
}
|
||||
| {
|
||||
type: 'deleteMilestoneProgression';
|
||||
@ -91,7 +83,7 @@ export const ReleasePlanChangeRequestDialog = ({
|
||||
</p>
|
||||
);
|
||||
|
||||
case 'createMilestoneProgression': {
|
||||
case 'changeMilestoneProgression': {
|
||||
const sourceMilestone = releasePlan.milestones.find(
|
||||
(milestone) =>
|
||||
milestone.id === action.payload.sourceMilestone,
|
||||
@ -108,7 +100,7 @@ export const ReleasePlanChangeRequestDialog = ({
|
||||
|
||||
return (
|
||||
<p>
|
||||
Create automation to proceed from{' '}
|
||||
Configure automation to proceed from{' '}
|
||||
<StyledBoldSpan>{sourceMilestone?.name}</StyledBoldSpan>{' '}
|
||||
to{' '}
|
||||
<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': {
|
||||
const milestone = releasePlan.milestones.find(
|
||||
(milestone) => milestone.id === action.sourceMilestoneId,
|
||||
|
||||
@ -22,10 +22,7 @@ import { Truncator } from 'component/common/Truncator/Truncator';
|
||||
import { useUiFlag } from 'hooks/useUiFlag';
|
||||
import { useMilestoneProgressionsApi } from 'hooks/api/actions/useMilestoneProgressionsApi/useMilestoneProgressionsApi';
|
||||
import { DeleteProgressionDialog } from './DeleteProgressionDialog.tsx';
|
||||
import type {
|
||||
CreateMilestoneProgressionSchema,
|
||||
UpdateMilestoneProgressionSchema,
|
||||
} from 'openapi';
|
||||
import type { ChangeMilestoneProgressionSchema } from 'openapi';
|
||||
import { ReleasePlanMilestoneItem } from './ReleasePlanMilestoneItem/ReleasePlanMilestoneItem.tsx';
|
||||
|
||||
const StyledContainer = styled('div')(({ theme }) => ({
|
||||
@ -111,13 +108,8 @@ export const ReleasePlan = ({
|
||||
| { type: 'removeReleasePlan'; environmentActive: boolean }
|
||||
| { type: 'startMilestone'; milestone: IReleasePlanMilestone }
|
||||
| {
|
||||
type: 'createMilestoneProgression';
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
}
|
||||
| {
|
||||
type: 'updateMilestoneProgression';
|
||||
sourceMilestoneId: string;
|
||||
payload: UpdateMilestoneProgressionSchema;
|
||||
type: 'changeMilestoneProgression';
|
||||
payload: ChangeMilestoneProgressionSchema;
|
||||
}
|
||||
| {
|
||||
type: 'deleteMilestoneProgression';
|
||||
@ -201,25 +193,14 @@ export const ReleasePlan = ({
|
||||
});
|
||||
break;
|
||||
|
||||
case 'createMilestoneProgression':
|
||||
case 'changeMilestoneProgression':
|
||||
await addChange(projectId, environment, {
|
||||
feature: featureName,
|
||||
action: 'createMilestoneProgression',
|
||||
action: 'changeMilestoneProgression',
|
||||
payload: changeRequestAction.payload,
|
||||
});
|
||||
break;
|
||||
|
||||
case 'updateMilestoneProgression':
|
||||
await addChange(projectId, environment, {
|
||||
feature: featureName,
|
||||
action: 'updateMilestoneProgression',
|
||||
payload: {
|
||||
sourceMilestone: changeRequestAction.sourceMilestoneId,
|
||||
...changeRequestAction.payload,
|
||||
},
|
||||
});
|
||||
break;
|
||||
|
||||
case 'deleteMilestoneProgression':
|
||||
await addChange(projectId, environment, {
|
||||
feature: featureName,
|
||||
@ -314,18 +295,10 @@ export const ReleasePlan = ({
|
||||
});
|
||||
};
|
||||
|
||||
const handleAddToChangeRequest = (
|
||||
action:
|
||||
| {
|
||||
type: 'createMilestoneProgression';
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
}
|
||||
| {
|
||||
type: 'updateMilestoneProgression';
|
||||
sourceMilestoneId: string;
|
||||
payload: UpdateMilestoneProgressionSchema;
|
||||
},
|
||||
) => {
|
||||
const handleAddToChangeRequest = (action: {
|
||||
type: 'changeMilestoneProgression';
|
||||
payload: ChangeMilestoneProgressionSchema;
|
||||
}) => {
|
||||
setChangeRequestAction(action);
|
||||
};
|
||||
|
||||
|
||||
@ -43,7 +43,6 @@ export interface IReleasePlanMilestoneItemProps {
|
||||
onDeleteProgression: (milestone: IReleasePlanMilestone) => void;
|
||||
onAddToChangeRequest: (action: {
|
||||
type: 'changeMilestoneProgression';
|
||||
sourceMilestoneId: string;
|
||||
payload: ChangeMilestoneProgressionSchema;
|
||||
}) => void;
|
||||
getPendingProgressionChange: (
|
||||
@ -93,8 +92,10 @@ export const ReleasePlanMilestoneItem = ({
|
||||
if (isChangeRequestConfigured(environment)) {
|
||||
onAddToChangeRequest({
|
||||
type: 'changeMilestoneProgression',
|
||||
sourceMilestoneId: milestone.id,
|
||||
payload,
|
||||
payload: {
|
||||
...payload,
|
||||
sourceMilestone: milestone.id,
|
||||
},
|
||||
});
|
||||
return { shouldReset: true };
|
||||
}
|
||||
|
||||
@ -13,4 +13,5 @@ export interface ChangeMilestoneProgressionSchema {
|
||||
targetMilestone: string;
|
||||
/** The condition configuration for the transition */
|
||||
transitionCondition: TransitionConditionSchema;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
@ -16,8 +16,7 @@ import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeReques
|
||||
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';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfThreethree } from './changeRequestCreateFeatureSchemaOneOfThreethree.js';
|
||||
|
||||
/**
|
||||
* 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
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwoseven
|
||||
| ChangeRequestCreateFeatureSchemaOneOfThreezero
|
||||
| ChangeRequestCreateFeatureSchemaOneOfThreetwo
|
||||
| ChangeRequestCreateFeatureSchemaOneOfThreefive;
|
||||
| ChangeRequestCreateFeatureSchemaOneOfThreethree;
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -4,15 +4,15 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
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 = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateFeatureSchemaOneOfThreezeroAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
payload: ChangeRequestCreateFeatureSchemaOneOfThreezeroPayload;
|
||||
};
|
||||
|
||||
@ -12,5 +12,5 @@ export type ChangeRequestCreateFeatureSchemaOneOfThreezeroAction =
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateFeatureSchemaOneOfThreezeroAction = {
|
||||
createMilestoneProgression: 'createMilestoneProgression',
|
||||
changeMilestoneProgression: 'changeMilestoneProgression',
|
||||
} as const;
|
||||
|
||||
@ -18,8 +18,7 @@ import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCrea
|
||||
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';
|
||||
import type { ChangeRequestCreateSchemaOneOfThreeeight } from './changeRequestCreateSchemaOneOfThreeeight.js';
|
||||
|
||||
/**
|
||||
* 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
|
||||
| ChangeRequestCreateSchemaOneOfThreetwo
|
||||
| ChangeRequestCreateSchemaOneOfThreefive
|
||||
| ChangeRequestCreateSchemaOneOfThreeseven
|
||||
| ChangeRequestCreateSchemaOneOfFourzero;
|
||||
| ChangeRequestCreateSchemaOneOfThreeeight;
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -4,15 +4,15 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
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 = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateSchemaOneOfThreefiveAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
payload: ChangeRequestCreateSchemaOneOfThreefivePayload;
|
||||
};
|
||||
|
||||
@ -12,5 +12,5 @@ export type ChangeRequestCreateSchemaOneOfThreefiveAction =
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateSchemaOneOfThreefiveAction = {
|
||||
createMilestoneProgression: 'createMilestoneProgression',
|
||||
changeMilestoneProgression: 'changeMilestoneProgression',
|
||||
} as const;
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -18,8 +18,7 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoseven } from './changeRe
|
||||
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 { ChangeRequestOneOrManyCreateSchemaOneOfThreeeight } from './changeRequestOneOrManyCreateSchemaOneOfThreeeight.js';
|
||||
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema.js';
|
||||
|
||||
/**
|
||||
@ -41,6 +40,5 @@ export type ChangeRequestOneOrManyCreateSchema =
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwonine
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfThreetwo
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfThreefive
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfThreeseven
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfFourzero
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfThreeeight
|
||||
| ChangeRequestCreateSchema[];
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -4,15 +4,15 @@
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
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 = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: CreateMilestoneProgressionSchema;
|
||||
payload: ChangeRequestOneOrManyCreateSchemaOneOfThreefivePayload;
|
||||
};
|
||||
|
||||
@ -12,5 +12,5 @@ export type ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction =
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestOneOrManyCreateSchemaOneOfThreefiveAction = {
|
||||
createMilestoneProgression: 'createMilestoneProgression',
|
||||
changeMilestoneProgression: 'changeMilestoneProgression',
|
||||
} as const;
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
}
|
||||
@ -22,7 +22,7 @@ export interface DetailedInvoicesLineSchema {
|
||||
/** Optional start date for the metered period */
|
||||
startDate?: string;
|
||||
/** Total amount for this line item in minor currency units */
|
||||
totalAmount: number;
|
||||
/** Unit price for usage line items */
|
||||
totalAmount?: number;
|
||||
/** Unit price for the line item */
|
||||
unitPrice?: number;
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@ export type DetailedInvoicesSchemaInvoicesItem = {
|
||||
/** Tax amount for the invoice */
|
||||
taxAmount: number;
|
||||
/** Tax percentage for the invoice */
|
||||
taxPercentage?: number;
|
||||
taxPercentage: number;
|
||||
/** Total amount for the invoice */
|
||||
totalAmount: number;
|
||||
/** Usage line items (traffic, consumption usage, overages) */
|
||||
|
||||
@ -173,6 +173,7 @@ export const EventSchemaType = {
|
||||
'milestone-progression-created': 'milestone-progression-created',
|
||||
'milestone-progression-updated': 'milestone-progression-updated',
|
||||
'milestone-progression-deleted': 'milestone-progression-deleted',
|
||||
'milestone-progression-changed': 'milestone-progression-changed',
|
||||
'user-preference-updated': 'user-preference-updated',
|
||||
'scim-users-deleted': 'scim-users-deleted',
|
||||
'scim-groups-deleted': 'scim-groups-deleted',
|
||||
|
||||
@ -141,6 +141,9 @@ export * from './bulkToggleFeaturesEnvironmentOn415.js';
|
||||
export * from './bulkToggleFeaturesSchema.js';
|
||||
export * from './cdnApiTokenSchema.js';
|
||||
export * from './cdnApiTokensSchema.js';
|
||||
export * from './changeMilestoneProgression401.js';
|
||||
export * from './changeMilestoneProgression403.js';
|
||||
export * from './changeMilestoneProgressionSchema.js';
|
||||
export * from './changePassword401.js';
|
||||
export * from './changePassword403.js';
|
||||
export * from './changePassword415.js';
|
||||
@ -185,14 +188,12 @@ 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 './changeRequestCreateFeatureSchemaOneOfThreethree.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfThreethreeAction.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfThreethreePayload.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfThreezero.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfThreezeroAction.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfThreezeroPayload.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofour.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction.js';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload.js';
|
||||
@ -206,9 +207,6 @@ 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';
|
||||
@ -227,11 +225,12 @@ export * from './changeRequestCreateSchemaOneOfSixPayload.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThree.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeAction.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreePayload.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeeight.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeeightAction.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeeightPayload.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreefive.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreefiveAction.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeseven.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreesevenAction.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreesevenPayload.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreefivePayload.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwo.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwoAction.js';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwoPayload.js';
|
||||
@ -259,9 +258,6 @@ 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';
|
||||
@ -280,11 +276,12 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThree.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeight.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeightAction.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeeightPayload.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefive.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefiveAction.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeseven.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenAction.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreesevenPayload.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreefivePayload.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction.js';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload.js';
|
||||
@ -464,10 +461,6 @@ export * from './createImpactMetricsConfigSchemaLabelSelectors.js';
|
||||
export * from './createImpactMetricsConfigSchemaTimeRange.js';
|
||||
export * from './createImpactMetricsConfigSchemaYAxisMin.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 './createPat403.js';
|
||||
export * from './createPat404.js';
|
||||
@ -643,12 +636,15 @@ export * from './doraFeaturesSchema.js';
|
||||
export * from './edgeEndpointTrafficSchema.js';
|
||||
export * from './edgeInstanceDataSchema.js';
|
||||
export * from './edgeInstanceDataSchemaHosting.js';
|
||||
export * from './edgeInstanceHeartbeat400.js';
|
||||
export * from './edgeInstanceTrafficSchema.js';
|
||||
export * from './edgeInstanceTrafficSchemaAccessDenied.js';
|
||||
export * from './edgeInstanceTrafficSchemaCachedResponses.js';
|
||||
export * from './edgeInstanceTrafficSchemaGet.js';
|
||||
export * from './edgeInstanceTrafficSchemaPost.js';
|
||||
export * from './edgeLatencyMetricsSchema.js';
|
||||
export * from './edgeLicenseStateSchema.js';
|
||||
export * from './edgeLicenseStateSchemaEdgeLicenseState.js';
|
||||
export * from './edgeProcessMetricsSchema.js';
|
||||
export * from './edgeRequestStatsSchema.js';
|
||||
export * from './edgeTokenSchema.js';
|
||||
@ -989,6 +985,7 @@ export * from './legalValueSchema.js';
|
||||
export * from './licenseCheckSchema.js';
|
||||
export * from './licenseCheckSchemaMessageType.js';
|
||||
export * from './licenseReadSchema.js';
|
||||
export * from './licenseReadSchemaResources.js';
|
||||
export * from './licenseUpdateSchema.js';
|
||||
export * from './licensedUserSchema.js';
|
||||
export * from './licensedUsersSchema.js';
|
||||
@ -1505,10 +1502,6 @@ 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';
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { LicenseReadSchemaResources } from './licenseReadSchemaResources.js';
|
||||
|
||||
/**
|
||||
* A model representing a license response.
|
||||
@ -22,10 +23,8 @@ export interface LicenseReadSchema {
|
||||
isValid: boolean;
|
||||
/** Name of plan that the license is for. */
|
||||
plan?: string;
|
||||
/** Number of release templates in the license. */
|
||||
releaseTemplates?: number;
|
||||
/** Number of seats in the license. */
|
||||
seats?: number;
|
||||
/** The resources available in the license. */
|
||||
resources?: LicenseReadSchemaResources;
|
||||
/** The actual license token. */
|
||||
token?: string;
|
||||
/** Type of license. */
|
||||
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
};
|
||||
@ -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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user