mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
chore: orval generation (#9524)
This commit is contained in:
parent
482443f373
commit
29181118ce
@ -32,6 +32,6 @@ export interface AddonTypeSchema {
|
||||
name: string;
|
||||
/** The addon provider's parameters. Use these to configure an addon of this provider type. Items with `required: true` must be provided. */
|
||||
parameters?: AddonParameterSchema[];
|
||||
/** 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. */
|
||||
/** 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. */
|
||||
tagTypes?: TagTypeSchema[];
|
||||
}
|
||||
|
@ -1,16 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AiChatMessageSchemaRole } from './aiChatMessageSchemaRole';
|
||||
|
||||
/**
|
||||
* Describes an Unleash AI chat message.
|
||||
*/
|
||||
export interface AiChatMessageSchema {
|
||||
/** The message content. */
|
||||
content: string;
|
||||
/** The role of the message sender. */
|
||||
role: AiChatMessageSchemaRole;
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The role of the message sender.
|
||||
*/
|
||||
export type AiChatMessageSchemaRole =
|
||||
(typeof AiChatMessageSchemaRole)[keyof typeof AiChatMessageSchemaRole];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const AiChatMessageSchemaRole = {
|
||||
system: 'system',
|
||||
user: 'user',
|
||||
assistant: 'assistant',
|
||||
} as const;
|
@ -1,13 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Describes a new Unleash AI chat message sent by the user.
|
||||
*/
|
||||
export interface AiChatNewMessageSchema {
|
||||
/** The message content. */
|
||||
message: string;
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { AiChatMessageSchema } from './aiChatMessageSchema';
|
||||
|
||||
/**
|
||||
* Describes an Unleash AI chat.
|
||||
*/
|
||||
export interface AiChatSchema {
|
||||
/** The date and time of when the chat was created. */
|
||||
createdAt: string;
|
||||
/**
|
||||
* The chat's ID. Chat IDs are incrementing integers. In other words, a more recently created chat will always have a higher ID than an older one. This ID is represented as a string since it is a BigInt.
|
||||
* @pattern ^[0-9]+$
|
||||
*/
|
||||
id: string;
|
||||
/** The messages exchanged between the user and the Unleash AI. */
|
||||
messages: AiChatMessageSchema[];
|
||||
/** The ID of the user that the chat belongs to. */
|
||||
userId: number;
|
||||
}
|
@ -11,6 +11,9 @@ export type ApplicationEnvironmentInstancesSchemaInstancesItem = {
|
||||
instanceId: string;
|
||||
/** The last time the application environment instance was seen */
|
||||
lastSeen?: string;
|
||||
/** An SDK version identifier. Usually formatted as "unleash-client-<language>:<version>" */
|
||||
sdkVersion?: string;
|
||||
/**
|
||||
* An SDK version identifier. Usually formatted as "unleash-client-<language>:<version>"
|
||||
* @nullable
|
||||
*/
|
||||
sdkVersion?: string | null;
|
||||
};
|
||||
|
14
frontend/src/openapi/models/archiveReleasePlanTemplate401.ts
Normal file
14
frontend/src/openapi/models/archiveReleasePlanTemplate401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ArchiveReleasePlanTemplate401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/archiveReleasePlanTemplate403.ts
Normal file
14
frontend/src/openapi/models/archiveReleasePlanTemplate403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ArchiveReleasePlanTemplate403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -12,6 +12,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOnethree } from './changeRequ
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfOnesix } from './changeRequestCreateFeatureSchemaOneOfOnesix';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfOneeight } from './changeRequestCreateFeatureSchemaOneOfOneeight';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwozero } from './changeRequestCreateFeatureSchemaOneOfTwozero';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwotwo } from './changeRequestCreateFeatureSchemaOneOfTwotwo';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwofour } from './changeRequestCreateFeatureSchemaOneOfTwofour';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwoseven } from './changeRequestCreateFeatureSchemaOneOfTwoseven';
|
||||
|
||||
/**
|
||||
* 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 =
|
||||
| ChangeRequestCreateFeatureSchemaOneOfOnethree
|
||||
| ChangeRequestCreateFeatureSchemaOneOfOnesix
|
||||
| ChangeRequestCreateFeatureSchemaOneOfOneeight
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwozero;
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwozero
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwotwo
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwofour
|
||||
| ChangeRequestCreateFeatureSchemaOneOfTwoseven;
|
||||
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwofourAction } from './changeRequestCreateFeatureSchemaOneOfTwofourAction';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwofourPayload } from './changeRequestCreateFeatureSchemaOneOfTwofourPayload';
|
||||
|
||||
/**
|
||||
* Start milestone of feature environment release plan.
|
||||
*/
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfTwofour = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateFeatureSchemaOneOfTwofourAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The ID of the release plan and which of its milestones to start. */
|
||||
payload: ChangeRequestCreateFeatureSchemaOneOfTwofourPayload;
|
||||
};
|
@ -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 ChangeRequestCreateFeatureSchemaOneOfTwofourAction =
|
||||
(typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwofourAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateFeatureSchemaOneOfTwofourAction = {
|
||||
startMilestone: 'startMilestone',
|
||||
} as const;
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The ID of the release plan and which of its milestones to start.
|
||||
*/
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfTwofourPayload = {
|
||||
/** The ID of the milestone to start. This ID is an ulid */
|
||||
milestoneId: string;
|
||||
/** The ID of the release plan. This ID is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenAction } from './changeRequestCreateFeatureSchemaOneOfTwosevenAction';
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload } from './changeRequestCreateFeatureSchemaOneOfTwosevenPayload';
|
||||
|
||||
/**
|
||||
* Remove a release plan from feature environment.
|
||||
*/
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfTwoseven = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateFeatureSchemaOneOfTwosevenAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The Id of the release plan to remove. */
|
||||
payload: ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload;
|
||||
};
|
@ -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 ChangeRequestCreateFeatureSchemaOneOfTwosevenAction =
|
||||
(typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwosevenAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateFeatureSchemaOneOfTwosevenAction = {
|
||||
deleteReleasePlan: 'deleteReleasePlan',
|
||||
} as const;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Id of the release plan to remove.
|
||||
*/
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfTwosevenPayload = {
|
||||
/** The Id of the release plan. This id is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateFeatureSchemaOneOfTwotwoAction } from './changeRequestCreateFeatureSchemaOneOfTwotwoAction';
|
||||
import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema';
|
||||
|
||||
/**
|
||||
* Add a release plan to this feature environment.
|
||||
*/
|
||||
export type ChangeRequestCreateFeatureSchemaOneOfTwotwo = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateFeatureSchemaOneOfTwotwoAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: ReleasePlanTemplateIdSchema;
|
||||
};
|
@ -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 ChangeRequestCreateFeatureSchemaOneOfTwotwoAction =
|
||||
(typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction)[keyof typeof ChangeRequestCreateFeatureSchemaOneOfTwotwoAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateFeatureSchemaOneOfTwotwoAction = {
|
||||
addReleasePlan: 'addReleasePlan',
|
||||
} as const;
|
@ -14,6 +14,9 @@ import type { ChangeRequestCreateSchemaOneOfOneeight } from './changeRequestCrea
|
||||
import type { ChangeRequestCreateSchemaOneOfTwoone } from './changeRequestCreateSchemaOneOfTwoone';
|
||||
import type { ChangeRequestCreateSchemaOneOfTwothree } from './changeRequestCreateSchemaOneOfTwothree';
|
||||
import type { ChangeRequestCreateSchemaOneOfTwofive } from './changeRequestCreateSchemaOneOfTwofive';
|
||||
import type { ChangeRequestCreateSchemaOneOfTwoseven } from './changeRequestCreateSchemaOneOfTwoseven';
|
||||
import type { ChangeRequestCreateSchemaOneOfTwonine } from './changeRequestCreateSchemaOneOfTwonine';
|
||||
import type { ChangeRequestCreateSchemaOneOfThreetwo } from './changeRequestCreateSchemaOneOfThreetwo';
|
||||
|
||||
/**
|
||||
* 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 =
|
||||
| ChangeRequestCreateSchemaOneOfOneeight
|
||||
| ChangeRequestCreateSchemaOneOfTwoone
|
||||
| ChangeRequestCreateSchemaOneOfTwothree
|
||||
| ChangeRequestCreateSchemaOneOfTwofive;
|
||||
| ChangeRequestCreateSchemaOneOfTwofive
|
||||
| ChangeRequestCreateSchemaOneOfTwoseven
|
||||
| ChangeRequestCreateSchemaOneOfTwonine
|
||||
| ChangeRequestCreateSchemaOneOfThreetwo;
|
||||
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateSchemaOneOfThreetwoAction } from './changeRequestCreateSchemaOneOfThreetwoAction';
|
||||
import type { ChangeRequestCreateSchemaOneOfThreetwoPayload } from './changeRequestCreateSchemaOneOfThreetwoPayload';
|
||||
|
||||
/**
|
||||
* Remove a release plan from feature environment.
|
||||
*/
|
||||
export type ChangeRequestCreateSchemaOneOfThreetwo = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateSchemaOneOfThreetwoAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The Id of the release plan to remove. */
|
||||
payload: ChangeRequestCreateSchemaOneOfThreetwoPayload;
|
||||
};
|
@ -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 ChangeRequestCreateSchemaOneOfThreetwoAction =
|
||||
(typeof ChangeRequestCreateSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestCreateSchemaOneOfThreetwoAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateSchemaOneOfThreetwoAction = {
|
||||
deleteReleasePlan: 'deleteReleasePlan',
|
||||
} as const;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Id of the release plan to remove.
|
||||
*/
|
||||
export type ChangeRequestCreateSchemaOneOfThreetwoPayload = {
|
||||
/** The Id of the release plan. This id is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateSchemaOneOfTwonineAction } from './changeRequestCreateSchemaOneOfTwonineAction';
|
||||
import type { ChangeRequestCreateSchemaOneOfTwoninePayload } from './changeRequestCreateSchemaOneOfTwoninePayload';
|
||||
|
||||
/**
|
||||
* Start milestone of feature environment release plan.
|
||||
*/
|
||||
export type ChangeRequestCreateSchemaOneOfTwonine = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateSchemaOneOfTwonineAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The ID of the release plan and which of its milestones to start. */
|
||||
payload: ChangeRequestCreateSchemaOneOfTwoninePayload;
|
||||
};
|
@ -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 ChangeRequestCreateSchemaOneOfTwonineAction =
|
||||
(typeof ChangeRequestCreateSchemaOneOfTwonineAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwonineAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateSchemaOneOfTwonineAction = {
|
||||
startMilestone: 'startMilestone',
|
||||
} as const;
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The ID of the release plan and which of its milestones to start.
|
||||
*/
|
||||
export type ChangeRequestCreateSchemaOneOfTwoninePayload = {
|
||||
/** The ID of the milestone to start. This ID is an ulid */
|
||||
milestoneId: string;
|
||||
/** The ID of the release plan. This ID is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestCreateSchemaOneOfTwosevenAction } from './changeRequestCreateSchemaOneOfTwosevenAction';
|
||||
import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema';
|
||||
|
||||
/**
|
||||
* Add a release plan to this feature environment.
|
||||
*/
|
||||
export type ChangeRequestCreateSchemaOneOfTwoseven = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestCreateSchemaOneOfTwosevenAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: ReleasePlanTemplateIdSchema;
|
||||
};
|
@ -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 ChangeRequestCreateSchemaOneOfTwosevenAction =
|
||||
(typeof ChangeRequestCreateSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestCreateSchemaOneOfTwosevenAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestCreateSchemaOneOfTwosevenAction = {
|
||||
addReleasePlan: 'addReleasePlan',
|
||||
} as const;
|
@ -14,6 +14,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeight } from './changeRe
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoone } from './changeRequestOneOrManyCreateSchemaOneOfTwoone';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwothree } from './changeRequestOneOrManyCreateSchemaOneOfTwothree';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofive } from './changeRequestOneOrManyCreateSchemaOneOfTwofive';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoseven } from './changeRequestOneOrManyCreateSchemaOneOfTwoseven';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonine } from './changeRequestOneOrManyCreateSchemaOneOfTwonine';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwo } from './changeRequestOneOrManyCreateSchemaOneOfThreetwo';
|
||||
import type { ChangeRequestCreateSchema } from './changeRequestCreateSchema';
|
||||
|
||||
/**
|
||||
@ -31,4 +34,7 @@ export type ChangeRequestOneOrManyCreateSchema =
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwoone
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwothree
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwofive
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwoseven
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfTwonine
|
||||
| ChangeRequestOneOrManyCreateSchemaOneOfThreetwo
|
||||
| ChangeRequestCreateSchema[];
|
||||
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction } from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload } from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload';
|
||||
|
||||
/**
|
||||
* Remove a release plan from feature environment.
|
||||
*/
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfThreetwo = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The Id of the release plan to remove. */
|
||||
payload: ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload;
|
||||
};
|
@ -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 ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction =
|
||||
(typeof ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestOneOrManyCreateSchemaOneOfThreetwoAction = {
|
||||
deleteReleasePlan: 'deleteReleasePlan',
|
||||
} as const;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The Id of the release plan to remove.
|
||||
*/
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfThreetwoPayload = {
|
||||
/** The Id of the release plan. This id is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction } from './changeRequestOneOrManyCreateSchemaOneOfTwonineAction';
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload } from './changeRequestOneOrManyCreateSchemaOneOfTwoninePayload';
|
||||
|
||||
/**
|
||||
* Start milestone of feature environment release plan.
|
||||
*/
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfTwonine = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
/** The ID of the release plan and which of its milestones to start. */
|
||||
payload: ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload;
|
||||
};
|
@ -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 ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction =
|
||||
(typeof ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestOneOrManyCreateSchemaOneOfTwonineAction = {
|
||||
startMilestone: 'startMilestone',
|
||||
} as const;
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* The ID of the release plan and which of its milestones to start.
|
||||
*/
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfTwoninePayload = {
|
||||
/** The ID of the milestone to start. This ID is an ulid */
|
||||
milestoneId: string;
|
||||
/** The ID of the release plan. This ID is an ulid */
|
||||
planId: string;
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction } from './changeRequestOneOrManyCreateSchemaOneOfTwosevenAction';
|
||||
import type { ReleasePlanTemplateIdSchema } from './releasePlanTemplateIdSchema';
|
||||
|
||||
/**
|
||||
* Add a release plan to this feature environment.
|
||||
*/
|
||||
export type ChangeRequestOneOrManyCreateSchemaOneOfTwoseven = {
|
||||
/** The name of this action. */
|
||||
action: ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction;
|
||||
/** The name of the feature that this change applies to. */
|
||||
feature: string;
|
||||
payload: ReleasePlanTemplateIdSchema;
|
||||
};
|
@ -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 ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction =
|
||||
(typeof ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction)[keyof typeof ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ChangeRequestOneOrManyCreateSchemaOneOfTwosevenAction = {
|
||||
addReleasePlan: 'addReleasePlan',
|
||||
} as const;
|
14
frontend/src/openapi/models/clientFeaturesDeltaSchema.ts
Normal file
14
frontend/src/openapi/models/clientFeaturesDeltaSchema.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeaturesDeltaSchemaEventsItem } from './clientFeaturesDeltaSchemaEventsItem';
|
||||
|
||||
/**
|
||||
* Schema for delta updates of feature configurations.
|
||||
*/
|
||||
export interface ClientFeaturesDeltaSchema {
|
||||
/** A list of delta events. */
|
||||
events: ClientFeaturesDeltaSchemaEventsItem[];
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOf } from './clientFeaturesDeltaSchemaEventsItemAnyOf';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfThree } from './clientFeaturesDeltaSchemaEventsItemAnyOfThree';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfFive } from './clientFeaturesDeltaSchemaEventsItemAnyOfFive';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfSeven } from './clientFeaturesDeltaSchemaEventsItemAnyOfSeven';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfNine } from './clientFeaturesDeltaSchemaEventsItemAnyOfNine';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItem =
|
||||
| ClientFeaturesDeltaSchemaEventsItemAnyOf
|
||||
| ClientFeaturesDeltaSchemaEventsItemAnyOfThree
|
||||
| ClientFeaturesDeltaSchemaEventsItemAnyOfFive
|
||||
| ClientFeaturesDeltaSchemaEventsItemAnyOfSeven
|
||||
| ClientFeaturesDeltaSchemaEventsItemAnyOfNine;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeatureSchema } from './clientFeatureSchema';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfType } from './clientFeaturesDeltaSchemaEventsItemAnyOfType';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOf = {
|
||||
eventId: number;
|
||||
feature: ClientFeatureSchema;
|
||||
type: ClientFeaturesDeltaSchemaEventsItemAnyOfType;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientSegmentSchema } from './clientSegmentSchema';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType } from './clientFeaturesDeltaSchemaEventsItemAnyOfFiveType';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfFive = {
|
||||
eventId: number;
|
||||
segment: ClientSegmentSchema;
|
||||
type: ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType =
|
||||
(typeof ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ClientFeaturesDeltaSchemaEventsItemAnyOfFiveType = {
|
||||
'segment-updated': 'segment-updated',
|
||||
} as const;
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeatureSchema } from './clientFeatureSchema';
|
||||
import type { ClientSegmentSchema } from './clientSegmentSchema';
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfNineType } from './clientFeaturesDeltaSchemaEventsItemAnyOfNineType';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfNine = {
|
||||
eventId: number;
|
||||
features: ClientFeatureSchema[];
|
||||
segments: ClientSegmentSchema[];
|
||||
type: ClientFeaturesDeltaSchemaEventsItemAnyOfNineType;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfNineType =
|
||||
(typeof ClientFeaturesDeltaSchemaEventsItemAnyOfNineType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfNineType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ClientFeaturesDeltaSchemaEventsItemAnyOfNineType = {
|
||||
hydration: 'hydration',
|
||||
} as const;
|
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType } from './clientFeaturesDeltaSchemaEventsItemAnyOfSevenType';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfSeven = {
|
||||
eventId: number;
|
||||
segmentId: number;
|
||||
type: ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType =
|
||||
(typeof ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ClientFeaturesDeltaSchemaEventsItemAnyOfSevenType = {
|
||||
'segment-removed': 'segment-removed',
|
||||
} as const;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType } from './clientFeaturesDeltaSchemaEventsItemAnyOfThreeType';
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfThree = {
|
||||
eventId: number;
|
||||
featureName: string;
|
||||
project: string;
|
||||
type: ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType =
|
||||
(typeof ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ClientFeaturesDeltaSchemaEventsItemAnyOfThreeType = {
|
||||
'feature-removed': 'feature-removed',
|
||||
} as const;
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type ClientFeaturesDeltaSchemaEventsItemAnyOfType =
|
||||
(typeof ClientFeaturesDeltaSchemaEventsItemAnyOfType)[keyof typeof ClientFeaturesDeltaSchemaEventsItemAnyOfType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ClientFeaturesDeltaSchemaEventsItemAnyOfType = {
|
||||
'feature-updated': 'feature-updated',
|
||||
} as const;
|
14
frontend/src/openapi/models/connect401.ts
Normal file
14
frontend/src/openapi/models/connect401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type Connect401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/connect403.ts
Normal file
14
frontend/src/openapi/models/connect403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type Connect403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -6,7 +6,7 @@
|
||||
import type { ConstraintSchemaOperator } from './constraintSchemaOperator';
|
||||
|
||||
/**
|
||||
* A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-constraints)
|
||||
* A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/activation-strategies#constraints)
|
||||
*/
|
||||
export interface ConstraintSchema {
|
||||
/** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */
|
||||
@ -15,7 +15,7 @@ export interface ConstraintSchema {
|
||||
contextName: string;
|
||||
/** Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa. */
|
||||
inverted?: boolean;
|
||||
/** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators). */
|
||||
/** The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators). */
|
||||
operator: ConstraintSchemaOperator;
|
||||
/** The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values. */
|
||||
value?: string;
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/strategy-constraints#strategy-constraint-operators).
|
||||
* The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/reference/activation-strategies#constraint-operators).
|
||||
*/
|
||||
export type ConstraintSchemaOperator =
|
||||
(typeof ConstraintSchemaOperator)[keyof typeof ConstraintSchemaOperator];
|
||||
|
@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema'
|
||||
* Create a strategy configuration in a feature
|
||||
*/
|
||||
export interface CreateFeatureStrategySchema {
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */
|
||||
constraints?: ConstraintSchema[];
|
||||
/**
|
||||
* A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Describes the properties required to create a [personal access token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user.
|
||||
* Describes the properties required to create a [personal access token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#personal-access-tokens), or PAT. PATs are automatically scoped to the authenticated user.
|
||||
*/
|
||||
export interface CreatePatSchema {
|
||||
/** The PAT's description. */
|
||||
|
@ -19,10 +19,7 @@ export interface CreateProjectSchema {
|
||||
* @nullable
|
||||
*/
|
||||
description?: string | null;
|
||||
/**
|
||||
* A list of environments that should be enabled for this project. When provided, the list must contain at least one environment. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project.
|
||||
* @minItems 1
|
||||
*/
|
||||
/** A list of environments that should be enabled for this project. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project. An empty list will result in no environment enabled for the project. */
|
||||
environments?: string[];
|
||||
/**
|
||||
* The project's identifier. If this property is not present or is an empty string, Unleash will generate the project id automatically. This property is deprecated.
|
||||
|
@ -11,7 +11,7 @@ import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema'
|
||||
* Schema representing the creation of a release plan milestone strategy.
|
||||
*/
|
||||
export interface CreateReleasePlanMilestoneStrategySchema {
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */
|
||||
constraints?: ConstraintSchema[];
|
||||
/** An object containing the parameters for the strategy */
|
||||
parameters?: ParametersSchema;
|
||||
|
14
frontend/src/openapi/models/createReleasePlanTemplate409.ts
Normal file
14
frontend/src/openapi/models/createReleasePlanTemplate409.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type CreateReleasePlanTemplate409 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -5,8 +5,11 @@
|
||||
*/
|
||||
|
||||
export type CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem = {
|
||||
/** The environments of the permission if the permission is environment specific */
|
||||
environment?: string;
|
||||
/**
|
||||
* The environments of the permission if the permission is environment specific
|
||||
* @nullable
|
||||
*/
|
||||
environment?: string | null;
|
||||
/** The id of the permission */
|
||||
id: number;
|
||||
/** The name of the permission */
|
||||
|
@ -5,8 +5,11 @@
|
||||
*/
|
||||
|
||||
export type CreateRoleWithPermissionsSchemaAnyOfPermissionsItem = {
|
||||
/** The environments of the permission if the permission is environment specific */
|
||||
environment?: string;
|
||||
/**
|
||||
* The environments of the permission if the permission is environment specific
|
||||
* @nullable
|
||||
*/
|
||||
environment?: string | null;
|
||||
/** The name of the permission */
|
||||
name: string;
|
||||
};
|
||||
|
@ -5,11 +5,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Data used to create a new [tag](https://docs.getunleash.io/reference/tags)
|
||||
* Data used to create a new [tag](https://docs.getunleash.io/reference/feature-toggles#tags)
|
||||
*/
|
||||
export interface CreateTagSchema {
|
||||
/**
|
||||
* The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag
|
||||
* The [type](https://docs.getunleash.io/reference/feature-toggles#tags) of the tag
|
||||
* @minLength 2
|
||||
* @maxLength 50
|
||||
*/
|
||||
|
14
frontend/src/openapi/models/deleteScimGroups401.ts
Normal file
14
frontend/src/openapi/models/deleteScimGroups401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteScimGroups401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteScimGroups403.ts
Normal file
14
frontend/src/openapi/models/deleteScimGroups403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteScimGroups403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteScimUsers401.ts
Normal file
14
frontend/src/openapi/models/deleteScimUsers401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteScimUsers401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/deleteScimUsers403.ts
Normal file
14
frontend/src/openapi/models/deleteScimUsers403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DeleteScimUsers403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -37,7 +37,7 @@ export interface DeprecatedProjectOverviewSchema {
|
||||
featureNaming?: CreateFeatureNamingPatternSchema;
|
||||
/** The full list of features in this project (excluding archived features) */
|
||||
features?: FeatureSchema[];
|
||||
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */
|
||||
/** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#project-status) on a scale from 0 to 100 */
|
||||
health?: number;
|
||||
/** The number of members this project has */
|
||||
members?: number;
|
||||
|
@ -165,8 +165,11 @@ export const DeprecatedSearchEventsSchemaType = {
|
||||
'release-plan-template-created': 'release-plan-template-created',
|
||||
'release-plan-template-updated': 'release-plan-template-updated',
|
||||
'release-plan-template-deleted': 'release-plan-template-deleted',
|
||||
'release-plan-template-archived': 'release-plan-template-archived',
|
||||
'release-plan-added': 'release-plan-added',
|
||||
'release-plan-removed': 'release-plan-removed',
|
||||
'release-plan-milestone-started': 'release-plan-milestone-started',
|
||||
'user-preference-updated': 'user-preference-updated',
|
||||
'scim-users-deleted': 'scim-users-deleted',
|
||||
'scim-groups-deleted': 'scim-groups-deleted',
|
||||
} as const;
|
||||
|
14
frontend/src/openapi/models/disconnectAll401.ts
Normal file
14
frontend/src/openapi/models/disconnectAll401.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DisconnectAll401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
14
frontend/src/openapi/models/disconnectAll403.ts
Normal file
14
frontend/src/openapi/models/disconnectAll403.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type DisconnectAll403 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
21
frontend/src/openapi/models/edgeEndpointTrafficSchema.ts
Normal file
21
frontend/src/openapi/models/edgeEndpointTrafficSchema.ts
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents traffic data for a single endpoint in Edge
|
||||
*/
|
||||
export interface EdgeEndpointTrafficSchema {
|
||||
/**
|
||||
* Number of 20x requests
|
||||
* @minimum 0
|
||||
*/
|
||||
requests200?: number;
|
||||
/**
|
||||
* Number of 30x requests
|
||||
* @minimum 0
|
||||
*/
|
||||
requests304?: number;
|
||||
}
|
41
frontend/src/openapi/models/edgeInstanceDataSchema.ts
Normal file
41
frontend/src/openapi/models/edgeInstanceDataSchema.ts
Normal file
@ -0,0 +1,41 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeUpstreamLatencySchema } from './edgeUpstreamLatencySchema';
|
||||
import type { EdgeProcessMetricsSchema } from './edgeProcessMetricsSchema';
|
||||
import type { EdgeRequestStatsSchema } from './edgeRequestStatsSchema';
|
||||
import type { EdgeInstanceTrafficSchema } from './edgeInstanceTrafficSchema';
|
||||
|
||||
/**
|
||||
* Represents Edge instance observability data.
|
||||
*/
|
||||
export interface EdgeInstanceDataSchema {
|
||||
/** The name of the application, configured by the user, typically persistent across restarts of Edge. */
|
||||
appName: string;
|
||||
/** A list of Edge instances connected to the Edge instance. */
|
||||
connectedEdges: EdgeInstanceDataSchema[];
|
||||
/**
|
||||
* How many streaming clients are connected to the Edge instance.
|
||||
* @minimum 0
|
||||
*/
|
||||
connectedStreamingClients: number;
|
||||
/** Which version (semver) of Edge is the Edge instance running. */
|
||||
edgeVersion: string;
|
||||
/** The ID of the Edge process, typically a ULID. Newly generated for each restart of the instance. */
|
||||
identifier: string;
|
||||
latencyUpstream: EdgeUpstreamLatencySchema;
|
||||
/** @nullable */
|
||||
processMetrics?: EdgeProcessMetricsSchema;
|
||||
/**
|
||||
* Which region the Edge instance is running in. Set to AWS_REGION by default (if present).
|
||||
* @nullable
|
||||
*/
|
||||
region?: string | null;
|
||||
/** Requests made to edge's endpoints since last report. Meant to be used for billing purposes. */
|
||||
requestsSinceLastReport?: EdgeRequestStatsSchema;
|
||||
/** RFC3339 timestamp for when the Edge instance was started. */
|
||||
started: string;
|
||||
traffic: EdgeInstanceTrafficSchema;
|
||||
}
|
23
frontend/src/openapi/models/edgeInstanceTrafficSchema.ts
Normal file
23
frontend/src/openapi/models/edgeInstanceTrafficSchema.ts
Normal file
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeInstanceTrafficSchemaAccessDenied } from './edgeInstanceTrafficSchemaAccessDenied';
|
||||
import type { EdgeInstanceTrafficSchemaCachedResponses } from './edgeInstanceTrafficSchemaCachedResponses';
|
||||
import type { EdgeInstanceTrafficSchemaGet } from './edgeInstanceTrafficSchemaGet';
|
||||
import type { EdgeInstanceTrafficSchemaPost } from './edgeInstanceTrafficSchemaPost';
|
||||
|
||||
/**
|
||||
* Represents requests to the Edge instance (/api/client/features, /api/frontend, etc.)
|
||||
*/
|
||||
export interface EdgeInstanceTrafficSchema {
|
||||
/** A map containing requests that were denied. */
|
||||
accessDenied: EdgeInstanceTrafficSchemaAccessDenied;
|
||||
/** A map containing requests that had cached responses. */
|
||||
cachedResponses: EdgeInstanceTrafficSchemaCachedResponses;
|
||||
/** A map containing GET requests. */
|
||||
get: EdgeInstanceTrafficSchemaGet;
|
||||
/** A map containing POST requests. */
|
||||
post: EdgeInstanceTrafficSchemaPost;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema';
|
||||
|
||||
/**
|
||||
* A map containing requests that were denied.
|
||||
*/
|
||||
export type EdgeInstanceTrafficSchemaAccessDenied = {
|
||||
[key: string]: EdgeLatencyMetricsSchema;
|
||||
};
|
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema';
|
||||
|
||||
/**
|
||||
* A map containing requests that had cached responses.
|
||||
*/
|
||||
export type EdgeInstanceTrafficSchemaCachedResponses = {
|
||||
[key: string]: EdgeLatencyMetricsSchema;
|
||||
};
|
13
frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts
Normal file
13
frontend/src/openapi/models/edgeInstanceTrafficSchemaGet.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema';
|
||||
|
||||
/**
|
||||
* A map containing GET requests.
|
||||
*/
|
||||
export type EdgeInstanceTrafficSchemaGet = {
|
||||
[key: string]: EdgeLatencyMetricsSchema;
|
||||
};
|
13
frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts
Normal file
13
frontend/src/openapi/models/edgeInstanceTrafficSchemaPost.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema';
|
||||
|
||||
/**
|
||||
* A map containing POST requests.
|
||||
*/
|
||||
export type EdgeInstanceTrafficSchemaPost = {
|
||||
[key: string]: EdgeLatencyMetricsSchema;
|
||||
};
|
26
frontend/src/openapi/models/edgeLatencyMetricsSchema.ts
Normal file
26
frontend/src/openapi/models/edgeLatencyMetricsSchema.ts
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Representing latency for an Edge operation.
|
||||
*/
|
||||
export interface EdgeLatencyMetricsSchema {
|
||||
/**
|
||||
* Average time per request in milliseconds.
|
||||
* @minimum 0
|
||||
*/
|
||||
avg: number;
|
||||
/**
|
||||
* Total number of requests made.
|
||||
* @minimum 0
|
||||
*/
|
||||
count: number;
|
||||
/**
|
||||
* 99% of requests finished within this amount of milliseconds.
|
||||
* @minimum 0
|
||||
*/
|
||||
p99: number;
|
||||
}
|
21
frontend/src/openapi/models/edgeProcessMetricsSchema.ts
Normal file
21
frontend/src/openapi/models/edgeProcessMetricsSchema.ts
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents Edge instance resource usage data.
|
||||
*/
|
||||
export interface EdgeProcessMetricsSchema {
|
||||
/**
|
||||
* CPU usage, in seconds, since start of process.
|
||||
* @minimum 0
|
||||
*/
|
||||
cpuUsage: number;
|
||||
/**
|
||||
* Current process_resident_memory (in bytes) usage.
|
||||
* @minimum 0
|
||||
*/
|
||||
memoryUsage: number;
|
||||
}
|
24
frontend/src/openapi/models/edgeRequestStatsSchema.ts
Normal file
24
frontend/src/openapi/models/edgeRequestStatsSchema.ts
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeEndpointTrafficSchema } from './edgeEndpointTrafficSchema';
|
||||
|
||||
/**
|
||||
* Represents Edge traffic data.
|
||||
*/
|
||||
export interface EdgeRequestStatsSchema {
|
||||
/** 20x and 30x requests to the client features endpoint */
|
||||
'/api/client/features'?: EdgeEndpointTrafficSchema;
|
||||
/** Traffic to Edge Metrics (from SDKs) */
|
||||
'/api/client/metrics'?: EdgeEndpointTrafficSchema;
|
||||
/** Traffic to Edge Metrics (from other Edge instances) */
|
||||
'/api/client/metrics/bulk'?: EdgeEndpointTrafficSchema;
|
||||
/** Traffic to Edge Metrics (from other Edge instances) */
|
||||
'/api/client/metrics/edge'?: EdgeEndpointTrafficSchema;
|
||||
/** Traffic to the frontend endpoint */
|
||||
'/api/frontend'?: EdgeEndpointTrafficSchema;
|
||||
/** Traffic to the proxy endpoint (proxy endpoint is deprecated, use /api/frontend instead) */
|
||||
'/api/proxy'?: EdgeEndpointTrafficSchema;
|
||||
}
|
@ -6,13 +6,13 @@
|
||||
import type { EdgeTokenSchemaType } from './edgeTokenSchemaType';
|
||||
|
||||
/**
|
||||
* A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens) (used by proxy SDKs)
|
||||
* A representation of a client token, limiting access to [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens) (used by serverside SDKs) or [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens) (used by proxy SDKs)
|
||||
*/
|
||||
export interface EdgeTokenSchema {
|
||||
/** The list of projects this token has access to. If the token has access to specific projects they will be listed here. If the token has access to all projects it will be represented as [`*`] */
|
||||
projects: string[];
|
||||
/** The actual token value. [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys) are comprised of three parts. <project(s)>:<environment>.randomcharacters */
|
||||
token: string;
|
||||
/** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */
|
||||
/** The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with */
|
||||
type: EdgeTokenSchemaType;
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys#api-tokens)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#front-end-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with
|
||||
* The [API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys)'s **type**. Unleash supports three different types of API tokens ([ADMIN](https://docs.getunleash.io/reference/api-tokens-and-client-keys#admin-tokens), [CLIENT](https://docs.getunleash.io/reference/api-tokens-and-client-keys#client-tokens), [FRONTEND](https://docs.getunleash.io/reference/api-tokens-and-client-keys#frontend-tokens)). They all have varying access, so when validating a token it's important to know what kind you're dealing with
|
||||
*/
|
||||
export type EdgeTokenSchemaType =
|
||||
(typeof EdgeTokenSchemaType)[keyof typeof EdgeTokenSchemaType];
|
||||
|
15
frontend/src/openapi/models/edgeUpstreamLatencySchema.ts
Normal file
15
frontend/src/openapi/models/edgeUpstreamLatencySchema.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { EdgeLatencyMetricsSchema } from './edgeLatencyMetricsSchema';
|
||||
|
||||
/**
|
||||
* Latencies for upstream actions from Edge (downloading/syncing new features, uploading metrics, uploading instance data)
|
||||
*/
|
||||
export interface EdgeUpstreamLatencySchema {
|
||||
edge: EdgeLatencyMetricsSchema;
|
||||
features: EdgeLatencyMetricsSchema;
|
||||
metrics: EdgeLatencyMetricsSchema;
|
||||
}
|
@ -31,4 +31,6 @@ export interface EnvironmentProjectSchema {
|
||||
sortOrder: number;
|
||||
/** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */
|
||||
type: string;
|
||||
/** Indicates whether the environment can be enabled for feature flags in the project */
|
||||
visible?: boolean;
|
||||
}
|
||||
|
@ -165,8 +165,11 @@ export const EventSchemaType = {
|
||||
'release-plan-template-created': 'release-plan-template-created',
|
||||
'release-plan-template-updated': 'release-plan-template-updated',
|
||||
'release-plan-template-deleted': 'release-plan-template-deleted',
|
||||
'release-plan-template-archived': 'release-plan-template-archived',
|
||||
'release-plan-added': 'release-plan-added',
|
||||
'release-plan-removed': 'release-plan-removed',
|
||||
'release-plan-milestone-started': 'release-plan-milestone-started',
|
||||
'user-preference-updated': 'user-preference-updated',
|
||||
'scim-users-deleted': 'scim-users-deleted',
|
||||
'scim-groups-deleted': 'scim-groups-deleted',
|
||||
} as const;
|
||||
|
@ -11,7 +11,7 @@ import type { StrategyVariantSchema } from './strategyVariantSchema';
|
||||
* A single activation strategy configuration schema for a feature
|
||||
*/
|
||||
export interface FeatureStrategySchema {
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */
|
||||
/** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/activation-strategies#constraints */
|
||||
constraints?: ConstraintSchema[];
|
||||
/**
|
||||
* A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs
|
||||
|
@ -15,12 +15,12 @@ export interface FeatureTagSchema {
|
||||
createdByUserId?: number | null;
|
||||
/** The name of the feature this tag is applied to */
|
||||
featureName: string;
|
||||
/** The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag */
|
||||
/** The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag */
|
||||
tagType?: string;
|
||||
/** The value of the tag */
|
||||
tagValue: string;
|
||||
/**
|
||||
* The [type](https://docs.getunleash.io/reference/tags#tag-types tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property.
|
||||
* The [type](https://docs.getunleash.io/reference/feature-toggles#tags tag types) of the tag. This property is deprecated and will be removed in a future version of Unleash. Superseded by the `tagType` property.
|
||||
* @deprecated
|
||||
*/
|
||||
type?: string;
|
||||
|
15
frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts
Normal file
15
frontend/src/openapi/models/frontendApiFeaturesPostSchema.ts
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { FrontendApiFeaturesPostSchemaContext } from './frontendApiFeaturesPostSchemaContext';
|
||||
|
||||
/**
|
||||
* The Unleash frontend API POST request body.
|
||||
*/
|
||||
export interface FrontendApiFeaturesPostSchema {
|
||||
/** The Unleash context. */
|
||||
context?: FrontendApiFeaturesPostSchemaContext;
|
||||
[key: string]: unknown;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { FrontendApiFeaturesPostSchemaContextProperties } from './frontendApiFeaturesPostSchemaContextProperties';
|
||||
|
||||
/**
|
||||
* The Unleash context.
|
||||
*/
|
||||
export type FrontendApiFeaturesPostSchemaContext = {
|
||||
/**
|
||||
* The name of the application.
|
||||
* @minLength 1
|
||||
*/
|
||||
appName?: string;
|
||||
/** A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user. */
|
||||
currentTime?: string;
|
||||
/**
|
||||
* The environment the app is running in.
|
||||
* @deprecated
|
||||
*/
|
||||
environment?: string;
|
||||
/** Additional Unleash context properties */
|
||||
properties?: FrontendApiFeaturesPostSchemaContextProperties;
|
||||
/** The app's IP address */
|
||||
remoteAddress?: string;
|
||||
/** An identifier for the current session */
|
||||
sessionId?: string;
|
||||
/** An identifier for the current user */
|
||||
userId?: string;
|
||||
[key: string]: unknown;
|
||||
};
|
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Additional Unleash context properties
|
||||
*/
|
||||
export type FrontendApiFeaturesPostSchemaContextProperties = {
|
||||
[key: string]: string;
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetConnectionsForPeriodGrouping =
|
||||
(typeof GetConnectionsForPeriodGrouping)[keyof typeof GetConnectionsForPeriodGrouping];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const GetConnectionsForPeriodGrouping = {
|
||||
daily: 'daily',
|
||||
monthly: 'monthly',
|
||||
} as const;
|
21
frontend/src/openapi/models/getConnectionsForPeriodParams.ts
Normal file
21
frontend/src/openapi/models/getConnectionsForPeriodParams.ts
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { GetConnectionsForPeriodGrouping } from './getConnectionsForPeriodGrouping';
|
||||
|
||||
export type GetConnectionsForPeriodParams = {
|
||||
/**
|
||||
* Whether to aggregate the data by month or by day
|
||||
*/
|
||||
grouping: GetConnectionsForPeriodGrouping;
|
||||
/**
|
||||
* The starting date of the traffic data usage search in IS:yyyy-MM-dd format
|
||||
*/
|
||||
from: string;
|
||||
/**
|
||||
* The starting date of the traffic data usage search in IS:yyyy-MM-dd format
|
||||
*/
|
||||
to: string;
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetFrontendApiFeaturesWithPost401 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetFrontendApiFeaturesWithPost404 = {
|
||||
/** The ID of the error instance */
|
||||
id?: string;
|
||||
/** A description of what went wrong. */
|
||||
message?: string;
|
||||
/** The name of the error kind */
|
||||
name?: string;
|
||||
};
|
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type GetTrafficDataUsageForPeriodGrouping =
|
||||
(typeof GetTrafficDataUsageForPeriodGrouping)[keyof typeof GetTrafficDataUsageForPeriodGrouping];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const GetTrafficDataUsageForPeriodGrouping = {
|
||||
daily: 'daily',
|
||||
monthly: 'monthly',
|
||||
} as const;
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { GetTrafficDataUsageForPeriodGrouping } from './getTrafficDataUsageForPeriodGrouping';
|
||||
|
||||
export type GetTrafficDataUsageForPeriodParams = {
|
||||
/**
|
||||
* Whether to aggregate the data by month or by day
|
||||
*/
|
||||
grouping: GetTrafficDataUsageForPeriodGrouping;
|
||||
/**
|
||||
* The starting date of the traffic data usage search in IS:yyyy-MM-dd format
|
||||
*/
|
||||
from: string;
|
||||
/**
|
||||
* The starting date of the traffic data usage search in IS:yyyy-MM-dd format
|
||||
*/
|
||||
to: string;
|
||||
};
|
@ -37,7 +37,7 @@ export interface HealthOverviewSchema {
|
||||
featureNaming?: CreateFeatureNamingPatternSchema;
|
||||
/** An array containing an overview of all the features of the project and their individual status */
|
||||
features: FeatureSchema[];
|
||||
/** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */
|
||||
/** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */
|
||||
health: number;
|
||||
/**
|
||||
* The number of users/members in the project.
|
||||
|
@ -39,7 +39,7 @@ export interface HealthReportSchema {
|
||||
featureNaming?: CreateFeatureNamingPatternSchema;
|
||||
/** An array containing an overview of all the features of the project and their individual status */
|
||||
features: FeatureSchema[];
|
||||
/** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */
|
||||
/** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#project-status) of the project. */
|
||||
health: number;
|
||||
/**
|
||||
* The number of users/members in the project.
|
||||
|
@ -100,10 +100,6 @@ export * from './advancedPlaygroundRequestSchema';
|
||||
export * from './advancedPlaygroundRequestSchemaProjects';
|
||||
export * from './advancedPlaygroundResponseSchema';
|
||||
export * from './advancedPlaygroundResponseSchemaWarnings';
|
||||
export * from './aiChatMessageSchema';
|
||||
export * from './aiChatMessageSchemaRole';
|
||||
export * from './aiChatNewMessageSchema';
|
||||
export * from './aiChatSchema';
|
||||
export * from './apiTokenSchema';
|
||||
export * from './apiTokenSchemaType';
|
||||
export * from './apiTokensSchema';
|
||||
@ -126,6 +122,8 @@ export * from './archiveFeatures415';
|
||||
export * from './archiveProject400';
|
||||
export * from './archiveProject401';
|
||||
export * from './archiveProject403';
|
||||
export * from './archiveReleasePlanTemplate401';
|
||||
export * from './archiveReleasePlanTemplate403';
|
||||
export * from './archivedFeatureSchema';
|
||||
export * from './archivedFeatureSchemaEnvironmentsItem';
|
||||
export * from './archivedFeaturesSchema';
|
||||
@ -189,6 +187,14 @@ export * from './changeRequestCreateFeatureSchemaOneOfOnethreePayload';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfPayload';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfSix';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfSixAction';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofour';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofourAction';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwofourPayload';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwoseven';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwosevenAction';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwosevenPayload';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwotwo';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwotwoAction';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwozero';
|
||||
export * from './changeRequestCreateFeatureSchemaOneOfTwozeroAction';
|
||||
export * from './changeRequestCreateSchema';
|
||||
@ -212,10 +218,18 @@ export * from './changeRequestCreateSchemaOneOfSixPayload';
|
||||
export * from './changeRequestCreateSchemaOneOfThree';
|
||||
export * from './changeRequestCreateSchemaOneOfThreeAction';
|
||||
export * from './changeRequestCreateSchemaOneOfThreePayload';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwo';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwoAction';
|
||||
export * from './changeRequestCreateSchemaOneOfThreetwoPayload';
|
||||
export * from './changeRequestCreateSchemaOneOfTwofive';
|
||||
export * from './changeRequestCreateSchemaOneOfTwofiveAction';
|
||||
export * from './changeRequestCreateSchemaOneOfTwonine';
|
||||
export * from './changeRequestCreateSchemaOneOfTwonineAction';
|
||||
export * from './changeRequestCreateSchemaOneOfTwoninePayload';
|
||||
export * from './changeRequestCreateSchemaOneOfTwoone';
|
||||
export * from './changeRequestCreateSchemaOneOfTwooneAction';
|
||||
export * from './changeRequestCreateSchemaOneOfTwoseven';
|
||||
export * from './changeRequestCreateSchemaOneOfTwosevenAction';
|
||||
export * from './changeRequestCreateSchemaOneOfTwothree';
|
||||
export * from './changeRequestCreateSchemaOneOfTwothreeAction';
|
||||
export * from './changeRequestCreateSegmentSchema';
|
||||
@ -249,10 +263,18 @@ export * from './changeRequestOneOrManyCreateSchemaOneOfSixPayload';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThree';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreeAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreePayload';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwo';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfThreetwoPayload';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwofive';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwofiveAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwonine';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwonineAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwoninePayload';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwoone';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwooneAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwoseven';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwosevenAction';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothree';
|
||||
export * from './changeRequestOneOrManyCreateSchemaOneOfTwothreeAction';
|
||||
export * from './changeRequestPlaygroundRequestSchema';
|
||||
@ -311,6 +333,18 @@ export * from './clientBulkMetrics400';
|
||||
export * from './clientBulkMetrics413';
|
||||
export * from './clientBulkMetrics415';
|
||||
export * from './clientFeatureSchema';
|
||||
export * from './clientFeaturesDeltaSchema';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItem';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOf';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfFive';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfFiveType';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfNine';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfNineType';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfSeven';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfSevenType';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfThree';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfThreeType';
|
||||
export * from './clientFeaturesDeltaSchemaEventsItemAnyOfType';
|
||||
export * from './clientFeaturesQuerySchema';
|
||||
export * from './clientFeaturesSchema';
|
||||
export * from './clientMetricsEnvSchema';
|
||||
@ -331,6 +365,8 @@ export * from './cloneFeatureSchema';
|
||||
export * from './complete401';
|
||||
export * from './complete403';
|
||||
export * from './complete404';
|
||||
export * from './connect401';
|
||||
export * from './connect403';
|
||||
export * from './constraintSchema';
|
||||
export * from './constraintSchemaOperator';
|
||||
export * from './contextFieldSchema';
|
||||
@ -410,6 +446,7 @@ export * from './createPublicSignupToken403';
|
||||
export * from './createReleasePlanMilestoneSchema';
|
||||
export * from './createReleasePlanMilestoneStrategySchema';
|
||||
export * from './createReleasePlanTemplate401';
|
||||
export * from './createReleasePlanTemplate409';
|
||||
export * from './createReleasePlanTemplateSchema';
|
||||
export * from './createRole400';
|
||||
export * from './createRole401';
|
||||
@ -516,6 +553,10 @@ export * from './deleteRole400';
|
||||
export * from './deleteRole401';
|
||||
export * from './deleteRole403';
|
||||
export * from './deleteRole404';
|
||||
export * from './deleteScimGroups401';
|
||||
export * from './deleteScimGroups403';
|
||||
export * from './deleteScimUsers401';
|
||||
export * from './deleteScimUsers403';
|
||||
export * from './deleteServiceAccount401';
|
||||
export * from './deleteServiceAccount403';
|
||||
export * from './deleteServiceAccount404';
|
||||
@ -539,9 +580,22 @@ export * from './deprecatedSearchEventsSchemaType';
|
||||
export * from './disableBanner401';
|
||||
export * from './disableBanner403';
|
||||
export * from './disableBanner404';
|
||||
export * from './disconnectAll401';
|
||||
export * from './disconnectAll403';
|
||||
export * from './doraFeaturesSchema';
|
||||
export * from './edgeEndpointTrafficSchema';
|
||||
export * from './edgeInstanceDataSchema';
|
||||
export * from './edgeInstanceTrafficSchema';
|
||||
export * from './edgeInstanceTrafficSchemaAccessDenied';
|
||||
export * from './edgeInstanceTrafficSchemaCachedResponses';
|
||||
export * from './edgeInstanceTrafficSchemaGet';
|
||||
export * from './edgeInstanceTrafficSchemaPost';
|
||||
export * from './edgeLatencyMetricsSchema';
|
||||
export * from './edgeProcessMetricsSchema';
|
||||
export * from './edgeRequestStatsSchema';
|
||||
export * from './edgeTokenSchema';
|
||||
export * from './edgeTokenSchemaType';
|
||||
export * from './edgeUpstreamLatencySchema';
|
||||
export * from './editChange404';
|
||||
export * from './emailSchema';
|
||||
export * from './enableBanner401';
|
||||
@ -614,6 +668,9 @@ export * from './frontendApiFeatureSchema';
|
||||
export * from './frontendApiFeatureSchemaVariant';
|
||||
export * from './frontendApiFeatureSchemaVariantPayload';
|
||||
export * from './frontendApiFeatureSchemaVariantPayloadType';
|
||||
export * from './frontendApiFeaturesPostSchema';
|
||||
export * from './frontendApiFeaturesPostSchemaContext';
|
||||
export * from './frontendApiFeaturesPostSchemaContextProperties';
|
||||
export * from './frontendApiFeaturesSchema';
|
||||
export * from './generateNewToken401';
|
||||
export * from './generateNewToken403';
|
||||
@ -650,6 +707,8 @@ export * from './getChangeRequest404';
|
||||
export * from './getChangeRequestPlayground400';
|
||||
export * from './getChangeRequestPlayground401';
|
||||
export * from './getChangeRequestPlayground404';
|
||||
export * from './getConnectionsForPeriodGrouping';
|
||||
export * from './getConnectionsForPeriodParams';
|
||||
export * from './getDeprecatedProjectOverview401';
|
||||
export * from './getDeprecatedProjectOverview403';
|
||||
export * from './getDeprecatedProjectOverview404';
|
||||
@ -689,6 +748,8 @@ export * from './getFeatureVariants404';
|
||||
export * from './getFeatures400';
|
||||
export * from './getFeatures401';
|
||||
export * from './getFeatures403';
|
||||
export * from './getFrontendApiFeaturesWithPost401';
|
||||
export * from './getFrontendApiFeaturesWithPost404';
|
||||
export * from './getFrontendFeatures401';
|
||||
export * from './getFrontendFeatures404';
|
||||
export * from './getGroup400';
|
||||
@ -803,6 +864,8 @@ export * from './getTags401';
|
||||
export * from './getTags403';
|
||||
export * from './getTagsByType401';
|
||||
export * from './getTagsByType403';
|
||||
export * from './getTrafficDataUsageForPeriodGrouping';
|
||||
export * from './getTrafficDataUsageForPeriodParams';
|
||||
export * from './getUser400';
|
||||
export * from './getUser401';
|
||||
export * from './getUser404';
|
||||
@ -857,6 +920,7 @@ export * from './invoicesSchema';
|
||||
export * from './invoicesSchemaItem';
|
||||
export * from './legalValueSchema';
|
||||
export * from './licenseCheckSchema';
|
||||
export * from './licenseCheckSchemaMessageType';
|
||||
export * from './licenseReadSchema';
|
||||
export * from './licenseUpdateSchema';
|
||||
export * from './licensedUserSchema';
|
||||
@ -879,6 +943,11 @@ export * from './maintenanceSchema';
|
||||
export * from './markNotificationsAsReadSchema';
|
||||
export * from './meSchema';
|
||||
export * from './meSchemaSplash';
|
||||
export * from './meteredConnectionsSchema';
|
||||
export * from './meteredConnectionsSchemaApiDataItem';
|
||||
export * from './meteredConnectionsSchemaApiDataItemDataPointsItem';
|
||||
export * from './meteredConnectionsSchemaDateRange';
|
||||
export * from './meteredConnectionsSchemaGrouping';
|
||||
export * from './nameSchema';
|
||||
export * from './notificationsSchema';
|
||||
export * from './notificationsSchemaItem';
|
||||
@ -894,8 +963,6 @@ export * from './oidcSettingsSchemaOneOfFour';
|
||||
export * from './oidcSettingsSchemaOneOfFourDefaultRootRole';
|
||||
export * from './oidcSettingsSchemaOneOfFourIdTokenSigningAlgorithm';
|
||||
export * from './oidcSettingsSchemaOneOfIdTokenSigningAlgorithm';
|
||||
export * from './orderEnvironmentsSchema';
|
||||
export * from './orderEnvironmentsSchemaEnvironmentsItem';
|
||||
export * from './outdatedSdksSchema';
|
||||
export * from './outdatedSdksSchemaSdksItem';
|
||||
export * from './overrideSchema';
|
||||
@ -1164,6 +1231,7 @@ export * from './sendResetPasswordEmail404';
|
||||
export * from './sendResetPasswordEmail415';
|
||||
export * from './serviceAccountSchema';
|
||||
export * from './serviceAccountsSchema';
|
||||
export * from './setCorsSchema';
|
||||
export * from './setOidcSettings400';
|
||||
export * from './setOidcSettings401';
|
||||
export * from './setOidcSettings403';
|
||||
@ -1260,6 +1328,9 @@ export * from './tokenUserSchema';
|
||||
export * from './trafficUsageApiDataSchema';
|
||||
export * from './trafficUsageApiDataSchemaDaysItem';
|
||||
export * from './trafficUsageApiDataSchemaDaysItemTrafficTypesItem';
|
||||
export * from './trafficUsageApiMonthlyDataSchema';
|
||||
export * from './trafficUsageApiMonthlyDataSchemaMonthsItem';
|
||||
export * from './trafficUsageApiMonthlyDataSchemaMonthsItemTrafficTypesItem';
|
||||
export * from './trafficUsageDataSegmentedCombinedSchema';
|
||||
export * from './trafficUsageDataSegmentedCombinedSchemaApiDataItem';
|
||||
export * from './trafficUsageDataSegmentedCombinedSchemaApiDataItemDataPointsItem';
|
||||
@ -1359,6 +1430,7 @@ export * from './updateReleasePlanMilestoneSchema';
|
||||
export * from './updateReleasePlanMilestoneStrategySchema';
|
||||
export * from './updateReleasePlanTemplate401';
|
||||
export * from './updateReleasePlanTemplate403';
|
||||
export * from './updateReleasePlanTemplate409';
|
||||
export * from './updateReleasePlanTemplateMilestone401';
|
||||
export * from './updateReleasePlanTemplateMilestone403';
|
||||
export * from './updateReleasePlanTemplateMilestone404';
|
||||
|
@ -3,6 +3,7 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { LicenseCheckSchemaMessageType } from './licenseCheckSchemaMessageType';
|
||||
|
||||
/**
|
||||
* A model representing a license check response.
|
||||
@ -12,4 +13,6 @@ export interface LicenseCheckSchema {
|
||||
isValid: boolean;
|
||||
/** Message describing the current state of the Unleash license */
|
||||
message?: string;
|
||||
/** Type of messages, whether it is an informative or a warning */
|
||||
messageType?: LicenseCheckSchemaMessageType;
|
||||
}
|
||||
|
18
frontend/src/openapi/models/licenseCheckSchemaMessageType.ts
Normal file
18
frontend/src/openapi/models/licenseCheckSchemaMessageType.ts
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Type of messages, whether it is an informative or a warning
|
||||
*/
|
||||
export type LicenseCheckSchemaMessageType =
|
||||
(typeof LicenseCheckSchemaMessageType)[keyof typeof LicenseCheckSchemaMessageType];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const LicenseCheckSchemaMessageType = {
|
||||
info: 'info',
|
||||
warning: 'warning',
|
||||
error: 'error',
|
||||
} as const;
|
@ -12,10 +12,20 @@ export interface LicenseReadSchema {
|
||||
customer?: string;
|
||||
/** Date when the license expires. */
|
||||
expireAt?: string;
|
||||
/** Identifier of the Unleash instance where this license is valid. */
|
||||
instanceId?: string;
|
||||
/** Name of the Unleash instance where this license is valid. */
|
||||
instanceName?: string;
|
||||
/** Date when the license was issued. */
|
||||
issuedAt?: string;
|
||||
/** Whether the license is valid or not. */
|
||||
isValid?: boolean;
|
||||
/** Name of plan that the license is for. */
|
||||
plan?: string;
|
||||
plan: string;
|
||||
/** Number of seats in the license. */
|
||||
seats?: number;
|
||||
seats: number;
|
||||
/** The actual license token. */
|
||||
token: string;
|
||||
/** Type of license. */
|
||||
type: string;
|
||||
}
|
||||
|
20
frontend/src/openapi/models/meteredConnectionsSchema.ts
Normal file
20
frontend/src/openapi/models/meteredConnectionsSchema.ts
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { MeteredConnectionsSchemaApiDataItem } from './meteredConnectionsSchemaApiDataItem';
|
||||
import type { MeteredConnectionsSchemaDateRange } from './meteredConnectionsSchemaDateRange';
|
||||
import type { MeteredConnectionsSchemaGrouping } from './meteredConnectionsSchemaGrouping';
|
||||
|
||||
/**
|
||||
* Contains the recorded metered groups connections segmented by day/month
|
||||
*/
|
||||
export interface MeteredConnectionsSchema {
|
||||
/** Contains the recorded daily/monthly connections for each metered group */
|
||||
apiData: MeteredConnectionsSchemaApiDataItem[];
|
||||
/** The date range there is data for. The range is inclusive and goes from the start of the `from` date to the end of the `to` date */
|
||||
dateRange: MeteredConnectionsSchemaDateRange;
|
||||
/** Whether the data is aggregated by month or by day. */
|
||||
grouping: MeteredConnectionsSchemaGrouping;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user