-
-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: generate missing orval types (#5722)
- Loading branch information
Showing
32 changed files
with
360 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
frontend/src/openapi/models/changeRequestScheduledQueryParamsSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { ChangeRequestScheduledQueryParamsSchemaFeature } from './changeRequestScheduledQueryParamsSchemaFeature'; | ||
import type { ChangeRequestScheduledQueryParamsSchemaStrategyId } from './changeRequestScheduledQueryParamsSchemaStrategyId'; | ||
import type { ChangeRequestScheduledQueryParamsSchemaVariantForFlag } from './changeRequestScheduledQueryParamsSchemaVariantForFlag'; | ||
|
||
/** | ||
* Query parameters used to modify the list of scheduled change requests returned. For each parameter you add, the list will add any scheduled change requests matching that parameter. | ||
*/ | ||
export interface ChangeRequestScheduledQueryParamsSchema { | ||
/** The name of one or more feature flags. */ | ||
feature?: ChangeRequestScheduledQueryParamsSchemaFeature; | ||
/** One or more strategy IDs. */ | ||
strategyId?: ChangeRequestScheduledQueryParamsSchemaStrategyId; | ||
/** One or more features whose variants have been changed in a scheduled change request. This applies to flag-level variants. For changes to strategy variants, use the `strategyId` query parameter with the relevant strategy's ID. */ | ||
variantForFlag?: ChangeRequestScheduledQueryParamsSchemaVariantForFlag; | ||
} |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/changeRequestScheduledQueryParamsSchemaFeature.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* The name of one or more feature flags. | ||
*/ | ||
export type ChangeRequestScheduledQueryParamsSchemaFeature = string[] | string; |
12 changes: 12 additions & 0 deletions
12
frontend/src/openapi/models/changeRequestScheduledQueryParamsSchemaStrategyId.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* One or more strategy IDs. | ||
*/ | ||
export type ChangeRequestScheduledQueryParamsSchemaStrategyId = | ||
| string[] | ||
| string; |
12 changes: 12 additions & 0 deletions
12
frontend/src/openapi/models/changeRequestScheduledQueryParamsSchemaVariantForFlag.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* One or more features whose variants have been changed in a scheduled change request. This applies to flag-level variants. For changes to strategy variants, use the `strategyId` query parameter with the relevant strategy's ID. | ||
*/ | ||
export type ChangeRequestScheduledQueryParamsSchemaVariantForFlag = | ||
| string[] | ||
| string; |
12 changes: 12 additions & 0 deletions
12
frontend/src/openapi/models/changeRequestScheduledResultSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { ScheduledChangeRequestViewModelSchema } from './scheduledChangeRequestViewModelSchema'; | ||
|
||
/** | ||
* A list of scheduled change request view models | ||
*/ | ||
export type ChangeRequestScheduledResultSchema = | ||
ScheduledChangeRequestViewModelSchema[]; |
15 changes: 15 additions & 0 deletions
15
frontend/src/openapi/models/createIncomingWebhookSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Describes the properties required to create or update an incoming webhook. | ||
*/ | ||
export interface CreateIncomingWebhookSchema { | ||
/** Whether the incoming webhook is currently enabled. If not specified, defaults to true. */ | ||
enabled?: boolean; | ||
/** The incoming webhook name. Must be URL-safe. */ | ||
name: string; | ||
} |
13 changes: 13 additions & 0 deletions
13
frontend/src/openapi/models/createIncomingWebhookTokenSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Describes the properties required to create or update an incoming webhook token. | ||
*/ | ||
export interface CreateIncomingWebhookTokenSchema { | ||
/** The incoming webhook token name. */ | ||
name: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/exportQuerySchemaAnyOfThree.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type ExportQuerySchemaAnyOfThree = { | ||
/** Whether to return a downloadable file */ | ||
downloadFile?: boolean; | ||
/** The environment to export from */ | ||
environment: string; | ||
/** Selects project to export the features from. Used when no tags or features are provided. */ | ||
project: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { FeedbackSchema } from './feedbackSchema'; | ||
|
||
/** | ||
* A list of feedback items. | ||
*/ | ||
export type FeedbackListSchema = FeedbackSchema[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Schema representing feedback information. | ||
*/ | ||
export interface FeedbackSchema { | ||
/** Details aspects of the service or product that could benefit from enhancements or modifications. Aids in pinpointing areas needing attention for improvement. */ | ||
areasForImprovement: string; | ||
/** The category of the feedback. */ | ||
category: string; | ||
/** The date and time when the feedback was provided. */ | ||
createdAt: string; | ||
/** A score indicating the difficulty experienced by the user. */ | ||
difficultyScore: number; | ||
/** The unique identifier of the feedback. */ | ||
id: number; | ||
/** This field is for users to mention what they liked. */ | ||
positive: string; | ||
/** The type of user providing the feedback. */ | ||
userType: string; | ||
} |
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/getScheduledChangeRequests404.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
export type GetScheduledChangeRequests404 = { | ||
/** The ID of the error instance */ | ||
id?: string; | ||
/** A description of what went wrong. */ | ||
message?: string; | ||
/** The name of the error kind */ | ||
name?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* An object describing an incoming webhook. | ||
*/ | ||
export interface IncomingWebhookSchema { | ||
/** The date and time of when the incoming webhook was created. */ | ||
createdAt: string; | ||
/** The ID of the user that created this incoming webhook. */ | ||
createdByUserId: number; | ||
/** Whether the incoming webhook is currently enabled. If not specified, defaults to true. */ | ||
enabled: boolean; | ||
/** The incoming webhook's ID. Incoming webhook IDs are incrementing integers. In other words, a more recently created incoming webhook will always have a higher ID than an older one. */ | ||
id: number; | ||
/** The incoming webhook name. Must be URL-safe. */ | ||
name: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* An object describing an incoming webhook token. | ||
*/ | ||
export interface IncomingWebhookTokenSchema { | ||
/** The date and time of when the incoming webhook token was created. */ | ||
createdAt: string; | ||
/** The ID of the user that created this incoming webhook token. */ | ||
createdByUserId: number; | ||
/** The incoming webhook token's ID. Incoming webhook token IDs are incrementing integers. In other words, a more recently created incoming webhook token will always have a higher ID than an older one. */ | ||
id: number; | ||
/** The incoming webhook ID that this token belongs to. */ | ||
incomingWebhookId: number; | ||
/** The incoming webhook token name. */ | ||
name: string; | ||
/** The token used for authentication. It is automatically generated by Unleash when the token is created and that is the only time this property is returned. */ | ||
token?: string; | ||
} |
14 changes: 14 additions & 0 deletions
14
frontend/src/openapi/models/incomingWebhookTokensSchema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { IncomingWebhookTokenSchema } from './incomingWebhookTokenSchema'; | ||
|
||
/** | ||
* A response model with a list of incoming webhook tokens. | ||
*/ | ||
export interface IncomingWebhookTokensSchema { | ||
/** A list of incoming webhook tokens. */ | ||
incoming_webhook_tokens: IncomingWebhookTokenSchema[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { IncomingWebhookSchema } from './incomingWebhookSchema'; | ||
|
||
/** | ||
* A response model with a list of incoming webhooks. | ||
*/ | ||
export interface IncomingWebhooksSchema { | ||
/** A list of incoming webhooks. */ | ||
incoming_webhooks: IncomingWebhookSchema[]; | ||
} |
Oops, something went wrong.