1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-24 20:06:55 +01:00

fix: switch to new change milestone endpoint

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateFeatureSchemaOneOfThreethreeAction =
(typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfThreethreeAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateFeatureSchemaOneOfThreethreeAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

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

View File

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

View File

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

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestCreateSchemaOneOfThreeeightAction =
(typeof ChangeRequestCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreeeightAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestCreateSchemaOneOfThreeeightAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

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

View File

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

View File

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

View File

@ -0,0 +1,16 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The name of this action.
*/
export type ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction =
(typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChangeRequestOneOrManyCreateSchemaOneOfThreeeightAction = {
deleteMilestoneProgression: 'deleteMilestoneProgression',
} as const;

View File

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

View File

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

View File

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

View File

@ -0,0 +1,14 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { EdgeLicenseStateSchemaEdgeLicenseState } from './edgeLicenseStateSchemaEdgeLicenseState.js';
/**
* A model representing the Edge license state response.
*/
export interface EdgeLicenseStateSchema {
/** State of the current Enterprise Edge license */
edgeLicenseState: EdgeLicenseStateSchemaEdgeLicenseState;
}

View File

@ -0,0 +1,18 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* State of the current Enterprise Edge license
*/
export type EdgeLicenseStateSchemaEdgeLicenseState =
(typeof EdgeLicenseStateSchemaEdgeLicenseState)[keyof typeof EdgeLicenseStateSchemaEdgeLicenseState];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const EdgeLicenseStateSchemaEdgeLicenseState = {
Valid: 'Valid',
Invalid: 'Invalid',
Expired: 'Expired',
} as const;

View File

@ -0,0 +1,17 @@
/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
/**
* The resources available in the license.
*/
export type LicenseReadSchemaResources = {
/** Number of Edge instances in the license. */
edgeInstances?: number;
/** Number of release templates in the license. */
releaseTemplates?: number;
/** Number of seats in the license. */
seats?: number;
};