mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: update orval types (#10769)
This commit is contained in:
		
							parent
							
								
									346b063f45
								
							
						
					
					
						commit
						938d25828f
					
				| @ -4,7 +4,7 @@ | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type CreateProgression401 = { | ||||
| export type CreateMilestoneProgression401 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
| @ -4,7 +4,7 @@ | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type CreateProgression403 = { | ||||
| export type CreateMilestoneProgression403 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
| @ -3,7 +3,7 @@ | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { CreateMilestoneProgressionSchemaTransitionCondition } from './createMilestoneProgressionSchemaTransitionCondition.js'; | ||||
| import type { TransitionConditionSchema } from './transitionConditionSchema.js'; | ||||
| 
 | ||||
| /** | ||||
|  * Request body to create a milestone progression | ||||
| @ -14,5 +14,5 @@ export interface CreateMilestoneProgressionSchema { | ||||
|     /** The ID of the target milestone */ | ||||
|     targetMilestone: string; | ||||
|     /** The condition configuration for the transition */ | ||||
|     transitionCondition: CreateMilestoneProgressionSchemaTransitionCondition; | ||||
|     transitionCondition: TransitionConditionSchema; | ||||
| } | ||||
|  | ||||
| @ -1,13 +0,0 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * The condition configuration for the transition | ||||
|  */ | ||||
| export type CreateMilestoneProgressionSchemaTransitionCondition = { | ||||
|     /** The interval in minutes before transitioning */ | ||||
|     intervalMinutes: number; | ||||
| }; | ||||
							
								
								
									
										14
									
								
								frontend/src/openapi/models/deleteMilestoneProgression401.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/deleteMilestoneProgression401.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type DeleteMilestoneProgression401 = { | ||||
|     /** 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/deleteMilestoneProgression403.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/deleteMilestoneProgression403.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type DeleteMilestoneProgression403 = { | ||||
|     /** 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/deleteMilestoneProgression404.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/deleteMilestoneProgression404.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type DeleteMilestoneProgression404 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
|     message?: string; | ||||
|     /** The name of the error kind */ | ||||
|     name?: string; | ||||
| }; | ||||
| @ -11,12 +11,16 @@ export interface DetailedInvoicesLineSchema { | ||||
|     currency: string; | ||||
|     /** Description of the line item */ | ||||
|     description: string; | ||||
|     /** Optional end date for the metered period */ | ||||
|     endDate?: string; | ||||
|     /** Optional limit associated with the line item */ | ||||
|     limit?: number; | ||||
|     /** Lookup key identifying the product/pricing */ | ||||
|     lookupKey: string; | ||||
|     /** Quantity of the item */ | ||||
|     quantity: number; | ||||
|     /** Optional start date for the metered period */ | ||||
|     startDate?: string; | ||||
|     /** Total amount for this line item in minor currency units */ | ||||
|     totalAmount: number; | ||||
| } | ||||
|  | ||||
| @ -16,6 +16,8 @@ export type DetailedInvoicesSchemaInvoicesItem = { | ||||
|     invoiceURL?: string; | ||||
|     /** Primary line items (packages, seats, etc.) */ | ||||
|     mainLines: DetailedInvoicesLineSchema[]; | ||||
|     /** Human-readable month label for the invoice period */ | ||||
|     monthText: string; | ||||
|     /** The current status of the invoice */ | ||||
|     status: string; | ||||
|     /** Total amount for the invoice in minor currency units */ | ||||
|  | ||||
| @ -3,6 +3,7 @@ | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { ReleasePlanSchema } from './releasePlanSchema.js'; | ||||
| import type { FeatureStrategySchema } from './featureStrategySchema.js'; | ||||
| import type { VariantSchema } from './variantSchema.js'; | ||||
| 
 | ||||
| @ -33,6 +34,8 @@ export interface FeatureEnvironmentSchema { | ||||
|     milestoneOrder?: number; | ||||
|     /** The name of the environment */ | ||||
|     name: string; | ||||
|     /** Release plans for this feature environment (only available when milestoneProgression feature flag is enabled) */ | ||||
|     releasePlans?: ReleasePlanSchema[]; | ||||
|     /** The sort order of the feature environment in the feature environments list */ | ||||
|     sortOrder?: number; | ||||
|     /** A list of activation strategies for the feature environment */ | ||||
|  | ||||
| @ -3,6 +3,7 @@ | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { ReleasePlanSchema } from './releasePlanSchema.js'; | ||||
| import type { FeatureStrategySchema } from './featureStrategySchema.js'; | ||||
| import type { VariantSchema } from './variantSchema.js'; | ||||
| 
 | ||||
| @ -38,6 +39,8 @@ export interface FeatureSearchEnvironmentSchema { | ||||
|      * @minimum 0 | ||||
|      */ | ||||
|     no?: number; | ||||
|     /** Release plans for this feature environment (only available when milestoneProgression feature flag is enabled) */ | ||||
|     releasePlans?: ReleasePlanSchema[]; | ||||
|     /** The sort order of the feature environment in the feature environments list */ | ||||
|     sortOrder?: number; | ||||
|     /** A list of activation strategies for the feature environment */ | ||||
|  | ||||
| @ -440,14 +440,13 @@ export * from './createImpactMetricsConfigSchemaLabelSelectors.js'; | ||||
| export * from './createImpactMetricsConfigSchemaTimeRange.js'; | ||||
| export * from './createImpactMetricsConfigSchemaYAxisMin.js'; | ||||
| export * from './createInvitedUserSchema.js'; | ||||
| export * from './createMilestoneProgression401.js'; | ||||
| export * from './createMilestoneProgression403.js'; | ||||
| export * from './createMilestoneProgressionSchema.js'; | ||||
| export * from './createMilestoneProgressionSchemaTransitionCondition.js'; | ||||
| export * from './createPat401.js'; | ||||
| export * from './createPat403.js'; | ||||
| export * from './createPat404.js'; | ||||
| export * from './createPatSchema.js'; | ||||
| export * from './createProgression401.js'; | ||||
| export * from './createProgression403.js'; | ||||
| export * from './createProject400.js'; | ||||
| export * from './createProject401.js'; | ||||
| export * from './createProject403.js'; | ||||
| @ -568,6 +567,9 @@ export * from './deleteInactiveUsers401.js'; | ||||
| export * from './deleteInactiveUsers403.js'; | ||||
| export * from './deleteInstanceImpactMetricConfig401.js'; | ||||
| export * from './deleteInstanceImpactMetricConfig403.js'; | ||||
| export * from './deleteMilestoneProgression401.js'; | ||||
| export * from './deleteMilestoneProgression403.js'; | ||||
| export * from './deleteMilestoneProgression404.js'; | ||||
| export * from './deletePat401.js'; | ||||
| export * from './deletePat403.js'; | ||||
| export * from './deletePat404.js'; | ||||
| @ -1185,6 +1187,7 @@ export * from './registerFrontendMetrics400.js'; | ||||
| export * from './registerFrontendMetrics401.js'; | ||||
| export * from './registerFrontendMetrics404.js'; | ||||
| export * from './releasePlanMilestoneSchema.js'; | ||||
| export * from './releasePlanMilestoneSchemaTransitionCondition.js'; | ||||
| export * from './releasePlanMilestoneStrategySchema.js'; | ||||
| export * from './releasePlanSchema.js'; | ||||
| export * from './releasePlanSchemaDiscriminator.js'; | ||||
| @ -1478,6 +1481,10 @@ export * from './updateLicense400.js'; | ||||
| export * from './updateLicense401.js'; | ||||
| export * from './updateLicense403.js'; | ||||
| export * from './updateLicense415.js'; | ||||
| export * from './updateMilestoneProgression401.js'; | ||||
| export * from './updateMilestoneProgression403.js'; | ||||
| export * from './updateMilestoneProgression404.js'; | ||||
| export * from './updateMilestoneProgressionSchema.js'; | ||||
| export * from './updateMilestoneStrategy401.js'; | ||||
| export * from './updateMilestoneStrategy403.js'; | ||||
| export * from './updateMilestoneStrategy404.js'; | ||||
|  | ||||
| @ -16,4 +16,5 @@ export const PatchSchemaOp = { | ||||
|     replace: 'replace', | ||||
|     copy: 'copy', | ||||
|     move: 'move', | ||||
|     test: 'test', | ||||
| } as const; | ||||
|  | ||||
| @ -4,6 +4,7 @@ | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { ReleasePlanMilestoneStrategySchema } from './releasePlanMilestoneStrategySchema.js'; | ||||
| import type { ReleasePlanMilestoneSchemaTransitionCondition } from './releasePlanMilestoneSchemaTransitionCondition.js'; | ||||
| 
 | ||||
| /** | ||||
|  * Schema representing the creation of a release plan milestone. | ||||
| @ -19,6 +20,16 @@ export interface ReleasePlanMilestoneSchema { | ||||
|     releasePlanDefinitionId: string; | ||||
|     /** The order of the milestone in the release plan. */ | ||||
|     sortOrder: number; | ||||
|     /** | ||||
|      * The date and time when the milestone was started. | ||||
|      * @nullable | ||||
|      */ | ||||
|     startedAt?: string | null; | ||||
|     /** A list of strategies that are attached to this milestone. */ | ||||
|     strategies?: ReleasePlanMilestoneStrategySchema[]; | ||||
|     /** | ||||
|      * The transition condition for the next automated milestone progression. | ||||
|      * @nullable | ||||
|      */ | ||||
|     transitionCondition?: ReleasePlanMilestoneSchemaTransitionCondition; | ||||
| } | ||||
|  | ||||
| @ -0,0 +1,13 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| /** | ||||
|  * The transition condition for the next automated milestone progression. | ||||
|  * @nullable | ||||
|  */ | ||||
| export type ReleasePlanMilestoneSchemaTransitionCondition = { | ||||
|     [key: string]: unknown; | ||||
| } | null; | ||||
| @ -63,7 +63,7 @@ export type SearchFeaturesParams = { | ||||
|      */ | ||||
|     favoritesFirst?: string; | ||||
|     /** | ||||
|      * Whether to get results for archived feature flags or active feature flags. If `true`, Unleash will return only archived flags. If `false`, it will return only active flags. | ||||
|      * Whether to get results for archived feature flags or active feature flags. If `IS:true`, Unleash will return only archived flags. If `IS:false`, it will return only active flags. | ||||
|      */ | ||||
|     archived?: string; | ||||
|     /** | ||||
|  | ||||
							
								
								
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression401.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression401.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type UpdateMilestoneProgression401 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
|     message?: string; | ||||
|     /** The name of the error kind */ | ||||
|     name?: string; | ||||
| }; | ||||
							
								
								
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression403.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression403.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type UpdateMilestoneProgression403 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
|     message?: string; | ||||
|     /** The name of the error kind */ | ||||
|     name?: string; | ||||
| }; | ||||
							
								
								
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression404.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								frontend/src/openapi/models/updateMilestoneProgression404.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| 
 | ||||
| export type UpdateMilestoneProgression404 = { | ||||
|     /** The ID of the error instance */ | ||||
|     id?: string; | ||||
|     /** A description of what went wrong. */ | ||||
|     message?: string; | ||||
|     /** The name of the error kind */ | ||||
|     name?: string; | ||||
| }; | ||||
| @ -0,0 +1,14 @@ | ||||
| /** | ||||
|  * Generated by Orval | ||||
|  * Do not edit manually. | ||||
|  * See `gen:api` script in package.json | ||||
|  */ | ||||
| import type { TransitionConditionSchema } from './transitionConditionSchema.js'; | ||||
| 
 | ||||
| /** | ||||
|  * Request body to update a milestone progression transition condition | ||||
|  */ | ||||
| export interface UpdateMilestoneProgressionSchema { | ||||
|     /** The updated condition configuration for the transition */ | ||||
|     transitionCondition: TransitionConditionSchema; | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user