Skip to content

Commit 2918111

Browse files
authored
chore: orval generation (#9524)
1 parent 482443f commit 2918111

File tree

128 files changed

+1450
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1450
-156
lines changed

frontend/src/openapi/models/addonTypeSchema.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ export interface AddonTypeSchema {
3232
name: string;
3333
/** The addon provider's parameters. Use these to configure an addon of this provider type. Items with `required: true` must be provided. */
3434
parameters?: AddonParameterSchema[];
35-
/** A list of [Unleash tag types](https://docs.getunleash.io/reference/tags#tag-types) that this addon uses. These tags will be added to the Unleash instance when an addon of this type is created. */
35+
/** A list of [Unleash tag types](https://docs.getunleash.io/reference/feature-toggles#tags) that this addon uses. These tags will be added to the Unleash instance when an addon of this type is created. */
3636
tagTypes?: TagTypeSchema[];
3737
}

frontend/src/openapi/models/aiChatMessageSchema.ts

-16
This file was deleted.

frontend/src/openapi/models/aiChatMessageSchemaRole.ts

-18
This file was deleted.

frontend/src/openapi/models/aiChatNewMessageSchema.ts

-13
This file was deleted.

frontend/src/openapi/models/aiChatSchema.ts

-23
This file was deleted.

frontend/src/openapi/models/applicationEnvironmentInstancesSchemaInstancesItem.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export type ApplicationEnvironmentInstancesSchemaInstancesItem = {
1111
instanceId: string;
1212
/** The last time the application environment instance was seen */
1313
lastSeen?: string;
14-
/** An SDK version identifier. Usually formatted as "unleash-client-<language>:<version>" */
15-
sdkVersion?: string;
14+
/**
15+
* An SDK version identifier. Usually formatted as "unleash-client-<language>:<version>"
16+
* @nullable
17+
*/
18+
sdkVersion?: string | null;
1619
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
export type ArchiveReleasePlanTemplate401 = {
8+
/** The ID of the error instance */
9+
id?: string;
10+
/** A description of what went wrong. */
11+
message?: string;
12+
/** The name of the error kind */
13+
name?: string;
14+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
export type ArchiveReleasePlanTemplate403 = {
8+
/** The ID of the error instance */
9+
id?: string;
10+
/** A description of what went wrong. */
11+
message?: string;
12+
/** The name of the error kind */
13+
name?: string;
14+
};

frontend/src/openapi/models/changeRequestCreateFeatureSchema.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOnethree } from './changeRequ
1212
import type { ChangeRequestCreateFeatureSchemaOneOfOnesix } from './changeRequestCreateFeatureSchemaOneOfOnesix';
1313
import type { ChangeRequestCreateFeatureSchemaOneOfOneeight } from './changeRequestCreateFeatureSchemaOneOfOneeight';
1414
import type { ChangeRequestCreateFeatureSchemaOneOfTwozero } from './changeRequestCreateFeatureSchemaOneOfTwozero';
15+
import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeRequestCreateFeatureSchemaOneOfTwotwo';
16+
import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour';
17+
import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven';
1518

1619
/**
1720
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature change.
@@ -25,4 +28,7 @@ export type ChangeRequestCreateFeatureSchema =
2528
| ChangeRequestCreateFeatureSchemaOneOfOnethree
2629
| ChangeRequestCreateFeatureSchemaOneOfOnesix
2730
| ChangeRequestCreateFeatureSchemaOneOfOneeight
28-
| ChangeRequestCreateFeatureSchemaOneOfTwozero;
31+
| ChangeRequestCreateFeatureSchemaOneOfTwozero
32+
| ChangeRequestCreateFeatureSchemaOneOfTwotwo
33+
| ChangeRequestCreateFeatureSchemaOneOfTwofour
34+
| ChangeRequestCreateFeatureSchemaOneOfTwoseven;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
import type { ChangeRequestCreateFeatureSchemaOneOfTwofourAction } from './changeRequestCreateFeatureSchemaOneOfTwofourAction';
7+
import type { ChangeRequestCreateFeatureSchemaOneOfTwofourPayload } from './changeRequestCreateFeatureSchemaOneOfTwofourPayload';
8+
9+
/**
10+
* Start milestone of feature environment release plan.
11+
*/
12+
export type ChangeRequestCreateFeatureSchemaOneOfTwofour = {
13+
/** The name of this action. */
14+
action: ChangeRequestCreateFeatureSchemaOneOfTwofourAction;
15+
/** The name of the feature that this change applies to. */
16+
feature: string;
17+
/** The ID of the release plan and which of its milestones to start. */
18+
payload: ChangeRequestCreateFeatureSchemaOneOfTwofourPayload;
19+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The name of this action.
9+
*/
10+
export type ChangeRequestCreateFeatureSchemaOneOfTwofourAction =
11+
(typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction];
12+
13+
// eslint-disable-next-line @typescript-eslint/no-redeclare
14+
export const ChangeRequestCreateFeatureSchemaOneOfTwofourAction = {
15+
startMilestone: 'startMilestone',
16+
} as const;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The ID of the release plan and which of its milestones to start.
9+
*/
10+
export type ChangeRequestCreateFeatureSchemaOneOfTwofourPayload = {
11+
/** The ID of the milestone to start. This ID is an ulid */
12+
milestoneId: string;
13+
/** The ID of the release plan. This ID is an ulid */
14+
planId: string;
15+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenAction } from './changeRequestCreateFeatureSchemaOneOfTwosevenAction';
7+
import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload } from './changeRequestCreateFeatureSchemaOneOfTwosevenPayload';
8+
9+
/**
10+
* Remove a release plan from feature environment.
11+
*/
12+
export type ChangeRequestCreateFeatureSchemaOneOfTwoseven = {
13+
/** The name of this action. */
14+
action: ChangeRequestCreateFeatureSchemaOneOfTwosevenAction;
15+
/** The name of the feature that this change applies to. */
16+
feature: string;
17+
/** The Id of the release plan to remove. */
18+
payload: ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload;
19+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The name of this action.
9+
*/
10+
export type ChangeRequestCreateFeatureSchemaOneOfTwosevenAction =
11+
(typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction];
12+
13+
// eslint-disable-next-line @typescript-eslint/no-redeclare
14+
export const ChangeRequestCreateFeatureSchemaOneOfTwosevenAction = {
15+
deleteReleasePlan: 'deleteReleasePlan',
16+
} as const;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The Id of the release plan to remove.
9+
*/
10+
export type ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload = {
11+
/** The Id of the release plan. This id is an ulid */
12+
planId: string;
13+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
import type { ChangeRequestCreateFeatureSchemaOneOfTwotwoAction } from './changeRequestCreateFeatureSchemaOneOfTwotwoAction';
7+
import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema';
8+
9+
/**
10+
* Add a release plan to this feature environment.
11+
*/
12+
export type ChangeRequestCreateFeatureSchemaOneOfTwotwo = {
13+
/** The name of this action. */
14+
action: ChangeRequestCreateFeatureSchemaOneOfTwotwoAction;
15+
/** The name of the feature that this change applies to. */
16+
feature: string;
17+
payload: ReleasePlanTemplateIdSchema;
18+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The name of this action.
9+
*/
10+
export type ChangeRequestCreateFeatureSchemaOneOfTwotwoAction =
11+
(typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction];
12+
13+
// eslint-disable-next-line @typescript-eslint/no-redeclare
14+
export const ChangeRequestCreateFeatureSchemaOneOfTwotwoAction = {
15+
addReleasePlan: 'addReleasePlan',
16+
} as const;

frontend/src/openapi/models/changeRequestCreateSchema.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import type { ChangeRequestCreateSchemaOneOfOneeight } from './changeRequestCrea
1414
import type { ChangeRequestCreateSchemaOneOfTwoone } from './changeRequestCreateSchemaOneOfTwoone';
1515
import type { ChangeRequestCreateSchemaOneOfTwothree } from './changeRequestCreateSchemaOneOfTwothree';
1616
import type { ChangeRequestCreateSchemaOneOfTwofive } from './changeRequestCreateSchemaOneOfTwofive';
17+
import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCreateSchemaOneOfTwoseven';
18+
import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine';
19+
import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo';
1720

1821
/**
1922
* Data used to create a [change request](https://docs.getunleash.io/reference/change-requests) for a single feature or segment change.
@@ -29,4 +32,7 @@ export type ChangeRequestCreateSchema =
2932
| ChangeRequestCreateSchemaOneOfOneeight
3033
| ChangeRequestCreateSchemaOneOfTwoone
3134
| ChangeRequestCreateSchemaOneOfTwothree
32-
| ChangeRequestCreateSchemaOneOfTwofive;
35+
| ChangeRequestCreateSchemaOneOfTwofive
36+
| ChangeRequestCreateSchemaOneOfTwoseven
37+
| ChangeRequestCreateSchemaOneOfTwonine
38+
| ChangeRequestCreateSchemaOneOfThreetwo;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
import type { ChangeRequestCreateSchemaOneOfThreetwoAction } from './changeRequestCreateSchemaOneOfThreetwoAction';
7+
import type { ChangeRequestCreateSchemaOneOfThreetwoPayload } from './changeRequestCreateSchemaOneOfThreetwoPayload';
8+
9+
/**
10+
* Remove a release plan from feature environment.
11+
*/
12+
export type ChangeRequestCreateSchemaOneOfThreetwo = {
13+
/** The name of this action. */
14+
action: ChangeRequestCreateSchemaOneOfThreetwoAction;
15+
/** The name of the feature that this change applies to. */
16+
feature: string;
17+
/** The Id of the release plan to remove. */
18+
payload: ChangeRequestCreateSchemaOneOfThreetwoPayload;
19+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The name of this action.
9+
*/
10+
export type ChangeRequestCreateSchemaOneOfThreetwoAction =
11+
(typeof ChangeRequestCreateSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreetwoAction];
12+
13+
// eslint-disable-next-line @typescript-eslint/no-redeclare
14+
export const ChangeRequestCreateSchemaOneOfThreetwoAction = {
15+
deleteReleasePlan: 'deleteReleasePlan',
16+
} as const;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The Id of the release plan to remove.
9+
*/
10+
export type ChangeRequestCreateSchemaOneOfThreetwoPayload = {
11+
/** The Id of the release plan. This id is an ulid */
12+
planId: string;
13+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
import type { ChangeRequestCreateSchemaOneOfTwonineAction } from './changeRequestCreateSchemaOneOfTwonineAction';
7+
import type { ChangeRequestCreateSchemaOneOfTwoninePayload } from './changeRequestCreateSchemaOneOfTwoninePayload';
8+
9+
/**
10+
* Start milestone of feature environment release plan.
11+
*/
12+
export type ChangeRequestCreateSchemaOneOfTwonine = {
13+
/** The name of this action. */
14+
action: ChangeRequestCreateSchemaOneOfTwonineAction;
15+
/** The name of the feature that this change applies to. */
16+
feature: string;
17+
/** The ID of the release plan and which of its milestones to start. */
18+
payload: ChangeRequestCreateSchemaOneOfTwoninePayload;
19+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Generated by Orval
3+
* Do not edit manually.
4+
* See `gen:api` script in package.json
5+
*/
6+
7+
/**
8+
* The name of this action.
9+
*/
10+
export type ChangeRequestCreateSchemaOneOfTwonineAction =
11+
(typeof ChangeRequestCreateSchemaOneOfTwonineAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwonineAction];
12+
13+
// eslint-disable-next-line @typescript-eslint/no-redeclare
14+
export const ChangeRequestCreateSchemaOneOfTwonineAction = {
15+
startMilestone: 'startMilestone',
16+
} as const;

0 commit comments

Comments
 (0)