From 6b2b7a338893db7943a0bd6987c271081a6cdcbc Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Mon, 4 Dec 2023 21:49:49 +0200 Subject: [PATCH] chore: generate new models from openapi (#5528) --- .../openapi/models/addAccessToProject400.ts | 4 +- .../openapi/models/addAccessToProject401.ts | 4 +- .../openapi/models/addAccessToProject403.ts | 4 +- .../openapi/models/addAccessToProject404.ts | 4 +- .../openapi/models/addAccessToProject415.ts | 4 +- ...dDefaultStrategyToProjectEnvironment400.ts | 4 +- .../models/addEnvironmentToProject401.ts | 4 +- .../models/addEnvironmentToProject403.ts | 4 +- .../models/addEnvironmentToProject409.ts | 4 +- .../openapi/models/addFavoriteFeature401.ts | 4 +- .../openapi/models/addFavoriteFeature404.ts | 4 +- .../openapi/models/addFavoriteProject401.ts | 4 +- .../openapi/models/addFavoriteProject404.ts | 4 +- .../openapi/models/addFeatureDependency401.ts | 4 +- .../openapi/models/addFeatureDependency403.ts | 4 +- .../openapi/models/addFeatureDependency404.ts | 4 +- .../openapi/models/addFeatureStrategy401.ts | 4 +- .../openapi/models/addFeatureStrategy403.ts | 4 +- .../openapi/models/addFeatureStrategy404.ts | 4 +- .../models/addPublicSignupTokenUser400.ts | 4 +- .../models/addPublicSignupTokenUser409.ts | 4 +- .../models/addRoleAccessToProject400.ts | 4 +- .../models/addRoleAccessToProject401.ts | 4 +- .../models/addRoleAccessToProject403.ts | 4 +- .../models/addRoleAccessToProject404.ts | 4 +- .../models/addRoleAccessToProject415.ts | 4 +- .../src/openapi/models/addRoleToUser401.ts | 4 +- .../src/openapi/models/addRoleToUser403.ts | 4 +- .../src/openapi/models/addRoleToUser404.ts | 4 +- frontend/src/openapi/models/addTag400.ts | 4 +- frontend/src/openapi/models/addTag401.ts | 4 +- frontend/src/openapi/models/addTag403.ts | 4 +- frontend/src/openapi/models/addTag404.ts | 4 +- .../src/openapi/models/addTagToFeatures401.ts | 4 +- .../src/openapi/models/addTagToFeatures403.ts | 4 +- .../src/openapi/models/addTagToFeatures404.ts | 4 +- .../src/openapi/models/addTagToFeatures415.ts | 4 +- .../openapi/models/addonCreateUpdateSchema.ts | 24 +++---- .../openapi/models/addonParameterSchema.ts | 12 ++-- frontend/src/openapi/models/addonSchema.ts | 20 +++--- .../src/openapi/models/addonTypeSchema.ts | 42 ++++++------ .../models/addonTypeSchemaAlertsItem.ts | 4 +- .../models/addonTypeSchemaInstallation.ts | 8 +-- .../src/openapi/models/adminCountSchema.ts | 4 +- .../models/adminFeaturesQuerySchema.ts | 4 +- .../openapi/models/adminPermissionSchema.ts | 8 +-- .../adminPermissionsSchemaPermissions.ts | 10 +-- .../src/openapi/models/adminSegmentSchema.ts | 20 +++--- .../adminStrategiesSchemaStrategiesItem.ts | 12 ++-- ...ancedPlaygroundEnvironmentFeatureSchema.ts | 20 +++--- ...roundEnvironmentFeatureSchemaStrategies.ts | 6 +- ...aygroundEnvironmentFeatureSchemaVariant.ts | 4 +- .../models/advancedPlaygroundFeatureSchema.ts | 4 +- .../models/advancedPlaygroundRequestSchema.ts | 4 +- .../advancedPlaygroundResponseSchema.ts | 6 +- frontend/src/openapi/models/apiTokenSchema.ts | 36 +++++----- .../src/openapi/models/applicationSchema.ts | 12 ++-- .../openapi/models/applicationUsageSchema.ts | 4 +- .../src/openapi/models/archiveFeature401.ts | 4 +- .../src/openapi/models/archiveFeature403.ts | 4 +- .../src/openapi/models/archiveFeature404.ts | 4 +- .../src/openapi/models/archiveFeatures400.ts | 4 +- .../src/openapi/models/archiveFeatures401.ts | 4 +- .../src/openapi/models/archiveFeatures403.ts | 4 +- .../src/openapi/models/archiveFeatures415.ts | 4 +- frontend/src/openapi/models/bannerSchema.ts | 28 ++++---- frontend/src/openapi/models/bulkMetrics400.ts | 4 +- frontend/src/openapi/models/bulkMetrics413.ts | 4 +- frontend/src/openapi/models/bulkMetrics415.ts | 4 +- .../openapi/models/bulkRegistrationSchema.ts | 8 +-- .../bulkToggleFeaturesEnvironmentOff400.ts | 4 +- .../bulkToggleFeaturesEnvironmentOff401.ts | 4 +- .../bulkToggleFeaturesEnvironmentOff403.ts | 4 +- .../bulkToggleFeaturesEnvironmentOff404.ts | 4 +- .../bulkToggleFeaturesEnvironmentOff413.ts | 4 +- .../bulkToggleFeaturesEnvironmentOff415.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn400.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn401.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn403.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn404.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn413.ts | 4 +- .../bulkToggleFeaturesEnvironmentOn415.ts | 4 +- .../src/openapi/models/changePassword401.ts | 4 +- .../src/openapi/models/changePassword403.ts | 4 +- .../src/openapi/models/changePassword415.ts | 4 +- .../openapi/models/changePasswordSchema.ts | 4 +- .../src/openapi/models/changeProject400.ts | 4 +- .../src/openapi/models/changeProject401.ts | 4 +- .../src/openapi/models/changeProject403.ts | 4 +- .../src/openapi/models/changeProject404.ts | 4 +- .../src/openapi/models/changeProject415.ts | 4 +- .../models/changeRequestApprovalSchema.ts | 4 +- .../changeRequestApprovalSchemaCreatedBy.ts | 4 +- .../models/changeRequestChangeSchema.ts | 14 ++-- .../changeRequestChangeSchemaCreatedBy.ts | 4 +- .../models/changeRequestCommentSchema.ts | 8 +-- .../changeRequestCommentSchemaCreatedBy.ts | 4 +- .../changeRequestCreateFeatureSchemaOneOf.ts | 4 +- ...ngeRequestCreateFeatureSchemaOneOfEight.ts | 4 +- ...angeRequestCreateFeatureSchemaOneOfFour.ts | 4 +- ...RequestCreateFeatureSchemaOneOfOneeight.ts | 4 +- ...geRequestCreateFeatureSchemaOneOfOneone.ts | 4 +- ...geRequestCreateFeatureSchemaOneOfOnesix.ts | 4 +- ...RequestCreateFeatureSchemaOneOfOnethree.ts | 4 +- ...hangeRequestCreateFeatureSchemaOneOfSix.ts | 4 +- ...eRequestCreateFeatureSchemaOneOfTwozero.ts | 4 +- .../changeRequestCreateSchemaOneOfNine.ts | 4 +- .../changeRequestCreateSchemaOneOfOneeight.ts | 4 +- .../changeRequestCreateSchemaOneOfOneone.ts | 4 +- .../changeRequestCreateSchemaOneOfOnesix.ts | 4 +- .../changeRequestCreateSchemaOneOfOnethree.ts | 4 +- .../changeRequestCreateSchemaOneOfSix.ts | 4 +- .../changeRequestCreateSchemaOneOfTwofive.ts | 4 +- .../changeRequestCreateSchemaOneOfTwoone.ts | 4 +- .../changeRequestCreateSchemaOneOfTwothree.ts | 4 +- .../changeRequestEnvironmentConfigSchema.ts | 8 +-- .../models/changeRequestFeatureSchema.ts | 8 +-- ...geRequestOneOrManyCreateSchemaOneOfNine.ts | 4 +- ...questOneOrManyCreateSchemaOneOfOneeight.ts | 4 +- ...RequestOneOrManyCreateSchemaOneOfOneone.ts | 4 +- ...RequestOneOrManyCreateSchemaOneOfOnesix.ts | 4 +- ...questOneOrManyCreateSchemaOneOfOnethree.ts | 4 +- ...ngeRequestOneOrManyCreateSchemaOneOfSix.ts | 4 +- ...equestOneOrManyCreateSchemaOneOfTwofive.ts | 4 +- ...RequestOneOrManyCreateSchemaOneOfTwoone.ts | 4 +- ...questOneOrManyCreateSchemaOneOfTwothree.ts | 4 +- .../models/changeRequestSchemaOneOf.ts | 36 +++++----- .../changeRequestSchemaOneOfCreatedBy.ts | 2 +- .../models/changeRequestSchemaOneOfFour.ts | 40 +++++------ .../changeRequestSchemaOneOfFourCreatedBy.ts | 2 +- .../changeRequestSegmentChangeSchema.ts | 14 ++-- ...angeRequestSegmentChangeSchemaCreatedBy.ts | 4 +- .../models/changeRequestStateSchemaOneOf.ts | 4 +- .../changeRequestStateSchemaOneOfThree.ts | 8 +-- .../openapi/models/changeRoleForGroup401.ts | 4 +- .../openapi/models/changeRoleForGroup403.ts | 4 +- .../openapi/models/changeRoleForGroup404.ts | 4 +- .../openapi/models/changeRoleForUser401.ts | 4 +- .../openapi/models/changeRoleForUser403.ts | 4 +- .../openapi/models/changeRoleForUser404.ts | 4 +- .../openapi/models/changeUserPassword400.ts | 4 +- .../openapi/models/changeUserPassword401.ts | 4 +- .../openapi/models/changeUserPassword403.ts | 4 +- .../models/checkDependenciesExist401.ts | 4 +- .../models/checkDependenciesExist403.ts | 4 +- .../openapi/models/clientApplicationSchema.ts | 8 +-- .../src/openapi/models/clientFeatureSchema.ts | 18 ++--- .../models/clientFeaturesQuerySchema.ts | 18 ++--- .../openapi/models/clientFeaturesSchema.ts | 10 +-- .../openapi/models/clientMetricsEnvSchema.ts | 12 ++-- .../src/openapi/models/clientMetricsSchema.ts | 8 +-- .../clientMetricsSchemaBucketToggles.ts | 4 +- .../src/openapi/models/clientSegmentSchema.ts | 4 +- .../src/openapi/models/cloneEnvironment400.ts | 4 +- .../src/openapi/models/cloneEnvironment401.ts | 4 +- .../openapi/models/cloneEnvironmentSchema.ts | 12 ++-- .../src/openapi/models/cloneFeature401.ts | 4 +- .../src/openapi/models/cloneFeature403.ts | 4 +- .../src/openapi/models/cloneFeature404.ts | 4 +- .../src/openapi/models/cloneFeature415.ts | 4 +- .../src/openapi/models/constraintSchema.ts | 12 ++-- .../src/openapi/models/contextFieldSchema.ts | 20 +++--- ...textFieldStrategiesSchemaStrategiesItem.ts | 12 ++-- frontend/src/openapi/models/createAddon400.ts | 4 +- frontend/src/openapi/models/createAddon401.ts | 4 +- frontend/src/openapi/models/createAddon403.ts | 4 +- frontend/src/openapi/models/createAddon413.ts | 4 +- frontend/src/openapi/models/createAddon415.ts | 4 +- .../src/openapi/models/createApiToken401.ts | 4 +- .../src/openapi/models/createApiToken403.ts | 4 +- .../src/openapi/models/createApiToken415.ts | 4 +- .../models/createApiTokenSchemaOneOf.ts | 4 +- .../models/createApiTokenSchemaOneOfFour.ts | 8 +-- .../models/createApiTokenSchemaOneOfThree.ts | 8 +-- .../openapi/models/createApplication400.ts | 4 +- .../openapi/models/createApplication401.ts | 4 +- .../openapi/models/createApplication403.ts | 4 +- .../openapi/models/createApplicationSchema.ts | 8 +-- .../src/openapi/models/createBanner400.ts | 4 +- .../src/openapi/models/createBanner401.ts | 4 +- .../src/openapi/models/createBanner403.ts | 4 +- .../src/openapi/models/createBanner415.ts | 4 +- .../src/openapi/models/createBannerSchema.ts | 20 +++--- .../models/createContextFieldSchema.ts | 8 +-- .../models/createDependentFeatureSchema.ts | 4 +- .../openapi/models/createEnvironment400.ts | 4 +- .../openapi/models/createEnvironment401.ts | 4 +- .../openapi/models/createEnvironmentSchema.ts | 8 +-- .../src/openapi/models/createFeature401.ts | 4 +- .../src/openapi/models/createFeature403.ts | 4 +- .../src/openapi/models/createFeature404.ts | 4 +- .../src/openapi/models/createFeature415.ts | 4 +- .../createFeatureNamingPatternSchema.ts | 8 +-- .../src/openapi/models/createFeatureSchema.ts | 8 +-- .../models/createFeatureStrategySchema.ts | 22 +++--- .../src/openapi/models/createFeedback400.ts | 4 +- .../src/openapi/models/createFeedback401.ts | 4 +- .../src/openapi/models/createFeedback415.ts | 4 +- frontend/src/openapi/models/createGroup400.ts | 4 +- frontend/src/openapi/models/createGroup401.ts | 4 +- frontend/src/openapi/models/createGroup403.ts | 4 +- frontend/src/openapi/models/createGroup409.ts | 4 +- .../src/openapi/models/createGroupSchema.ts | 4 +- .../openapi/models/createInvitedUserSchema.ts | 4 +- frontend/src/openapi/models/createPat401.ts | 4 +- frontend/src/openapi/models/createPat403.ts | 4 +- frontend/src/openapi/models/createPat404.ts | 4 +- .../src/openapi/models/createProject400.ts | 4 +- .../src/openapi/models/createProject401.ts | 4 +- .../src/openapi/models/createProject403.ts | 4 +- .../src/openapi/models/createProject415.ts | 4 +- .../models/createProjectApiToken400.ts | 4 +- .../models/createProjectApiToken401.ts | 4 +- .../models/createProjectApiToken403.ts | 4 +- .../models/createProjectApiToken404.ts | 4 +- .../src/openapi/models/createProjectSchema.ts | 16 ++--- .../models/createPublicSignupToken400.ts | 4 +- .../models/createPublicSignupToken401.ts | 4 +- .../models/createPublicSignupToken403.ts | 4 +- frontend/src/openapi/models/createRole400.ts | 4 +- frontend/src/openapi/models/createRole401.ts | 4 +- frontend/src/openapi/models/createRole403.ts | 4 +- frontend/src/openapi/models/createRole409.ts | 4 +- .../createRoleWithPermissionsSchemaAnyOf.ts | 10 +-- ...reateRoleWithPermissionsSchemaAnyOfFour.ts | 10 +-- ...rmissionsSchemaAnyOfFourPermissionsItem.ts | 4 +- ...thPermissionsSchemaAnyOfPermissionsItem.ts | 4 +- .../src/openapi/models/createSegment400.ts | 4 +- .../src/openapi/models/createSegment401.ts | 4 +- .../src/openapi/models/createSegment403.ts | 4 +- .../src/openapi/models/createSegment409.ts | 4 +- .../src/openapi/models/createSegment415.ts | 4 +- .../openapi/models/createServiceAccount400.ts | 4 +- .../openapi/models/createServiceAccount401.ts | 4 +- .../openapi/models/createServiceAccount403.ts | 4 +- .../openapi/models/createServiceAccount409.ts | 4 +- .../openapi/models/createServiceAccount415.ts | 4 +- .../models/createServiceAccountSchema.ts | 4 +- .../models/createServiceAccountToken401.ts | 4 +- .../models/createServiceAccountToken403.ts | 4 +- .../models/createServiceAccountToken404.ts | 4 +- .../models/createServiceAccountToken409.ts | 4 +- .../models/createServiceAccountToken415.ts | 4 +- .../src/openapi/models/createStrategy401.ts | 4 +- .../src/openapi/models/createStrategy403.ts | 4 +- .../src/openapi/models/createStrategy409.ts | 4 +- .../src/openapi/models/createStrategy415.ts | 4 +- .../openapi/models/createStrategySchema.ts | 12 ++-- .../createStrategySchemaParametersItem.ts | 8 +-- .../models/createStrategyVariantSchema.ts | 10 +-- frontend/src/openapi/models/createTag400.ts | 4 +- frontend/src/openapi/models/createTag401.ts | 4 +- frontend/src/openapi/models/createTag403.ts | 4 +- frontend/src/openapi/models/createTag409.ts | 4 +- frontend/src/openapi/models/createTag415.ts | 4 +- .../src/openapi/models/createTagType400.ts | 4 +- .../src/openapi/models/createTagType401.ts | 4 +- .../src/openapi/models/createTagType403.ts | 4 +- .../src/openapi/models/createTagType409.ts | 4 +- .../src/openapi/models/createTagType415.ts | 4 +- frontend/src/openapi/models/createUser400.ts | 4 +- frontend/src/openapi/models/createUser401.ts | 4 +- frontend/src/openapi/models/createUser403.ts | 4 +- .../models/createUserResponseSchema.ts | 36 +++++----- .../src/openapi/models/createUserSchema.ts | 4 +- frontend/src/openapi/models/deleteAddon401.ts | 4 +- frontend/src/openapi/models/deleteAddon403.ts | 4 +- frontend/src/openapi/models/deleteAddon404.ts | 4 +- .../src/openapi/models/deleteApiToken401.ts | 4 +- .../src/openapi/models/deleteApiToken403.ts | 4 +- .../openapi/models/deleteApplication401.ts | 4 +- .../openapi/models/deleteApplication403.ts | 4 +- .../src/openapi/models/deleteBanner401.ts | 4 +- .../src/openapi/models/deleteBanner403.ts | 4 +- .../src/openapi/models/deleteBanner404.ts | 4 +- .../src/openapi/models/deleteFeature401.ts | 4 +- .../src/openapi/models/deleteFeature403.ts | 4 +- .../models/deleteFeatureDependencies401.ts | 4 +- .../models/deleteFeatureDependencies403.ts | 4 +- .../models/deleteFeatureDependencies404.ts | 4 +- .../models/deleteFeatureDependency401.ts | 4 +- .../models/deleteFeatureDependency403.ts | 4 +- .../models/deleteFeatureDependency404.ts | 4 +- .../models/deleteFeatureStrategy401.ts | 4 +- .../models/deleteFeatureStrategy403.ts | 4 +- .../models/deleteFeatureStrategy404.ts | 4 +- .../src/openapi/models/deleteFeatures400.ts | 4 +- .../src/openapi/models/deleteFeatures401.ts | 4 +- .../src/openapi/models/deleteFeatures403.ts | 4 +- frontend/src/openapi/models/deleteGroup400.ts | 4 +- frontend/src/openapi/models/deleteGroup401.ts | 4 +- frontend/src/openapi/models/deleteGroup403.ts | 4 +- frontend/src/openapi/models/deletePat401.ts | 4 +- frontend/src/openapi/models/deletePat403.ts | 4 +- frontend/src/openapi/models/deletePat404.ts | 4 +- .../src/openapi/models/deleteProject400.ts | 4 +- .../src/openapi/models/deleteProject401.ts | 4 +- .../src/openapi/models/deleteProject403.ts | 4 +- .../models/deleteProjectApiToken400.ts | 4 +- .../models/deleteProjectApiToken401.ts | 4 +- .../models/deleteProjectApiToken403.ts | 4 +- .../models/deleteProjectApiToken404.ts | 4 +- frontend/src/openapi/models/deleteRole400.ts | 4 +- frontend/src/openapi/models/deleteRole401.ts | 4 +- frontend/src/openapi/models/deleteRole403.ts | 4 +- frontend/src/openapi/models/deleteRole404.ts | 4 +- .../openapi/models/deleteServiceAccount401.ts | 4 +- .../openapi/models/deleteServiceAccount403.ts | 4 +- .../openapi/models/deleteServiceAccount404.ts | 4 +- .../models/deleteServiceAccountToken401.ts | 4 +- .../models/deleteServiceAccountToken403.ts | 4 +- .../models/deleteServiceAccountToken404.ts | 4 +- .../src/openapi/models/deleteTagType401.ts | 4 +- .../src/openapi/models/deleteTagType403.ts | 4 +- frontend/src/openapi/models/deleteUser401.ts | 4 +- frontend/src/openapi/models/deleteUser403.ts | 4 +- frontend/src/openapi/models/deleteUser404.ts | 4 +- .../openapi/models/dependentFeatureSchema.ts | 4 +- .../openapi/models/deprecateStrategy401.ts | 4 +- .../openapi/models/deprecateStrategy403.ts | 4 +- .../openapi/models/deprecateStrategy404.ts | 4 +- .../models/deprecatedProjectOverviewSchema.ts | 45 ++++++++++++ .../deprecatedProjectOverviewSchemaMode.ts | 18 +++++ .../src/openapi/models/disableBanner401.ts | 4 +- .../src/openapi/models/disableBanner403.ts | 4 +- .../src/openapi/models/disableBanner404.ts | 4 +- .../src/openapi/models/edgeTokenSchema.ts | 4 +- frontend/src/openapi/models/editChange404.ts | 4 +- .../src/openapi/models/enableBanner401.ts | 4 +- .../src/openapi/models/enableBanner403.ts | 4 +- .../src/openapi/models/enableBanner404.ts | 4 +- .../models/environmentProjectSchema.ts | 20 +++--- .../src/openapi/models/environmentSchema.ts | 20 +++--- .../models/environmentsProjectSchema.ts | 4 +- .../src/openapi/models/environmentsSchema.ts | 4 +- frontend/src/openapi/models/eventSchema.ts | 22 +++--- .../src/openapi/models/eventSchemaData.ts | 2 +- .../src/openapi/models/eventSchemaPreData.ts | 2 +- frontend/src/openapi/models/eventsSchema.ts | 6 +- .../src/openapi/models/exportFeatures404.ts | 4 +- .../openapi/models/exportQuerySchemaOneOf.ts | 4 +- .../models/exportQuerySchemaOneOfTwo.ts | 4 +- .../src/openapi/models/exportResultSchema.ts | 18 ++--- .../models/featureDependenciesSchema.ts | 4 +- .../models/featureEnvironmentMetricsSchema.ts | 12 ++-- .../models/featureEnvironmentSchema.ts | 40 +++++------ .../src/openapi/models/featureEventsSchema.ts | 10 +-- .../openapi/models/featureMetricsSchema.ts | 8 +-- frontend/src/openapi/models/featureSchema.ts | 54 +++++++-------- .../models/featureSchemaDependenciesItem.ts | 4 +- .../openapi/models/featureStrategySchema.ts | 24 +++---- .../models/featureStrategySegmentSchema.ts | 4 +- .../openapi/models/featureTypeCountSchema.ts | 15 ++++ .../src/openapi/models/featureTypeSchema.ts | 8 +-- .../src/openapi/models/featureTypesSchema.ts | 6 +- .../src/openapi/models/featureUsageSchema.ts | 8 +-- .../openapi/models/featureVariantsSchema.ts | 4 +- frontend/src/openapi/models/featuresSchema.ts | 4 +- .../openapi/models/feedbackCreateSchema.ts | 4 +- .../openapi/models/feedbackResponseSchema.ts | 12 ++-- .../openapi/models/feedbackUpdateSchema.ts | 8 +-- .../openapi/models/getAccessOverview401.ts | 4 +- .../openapi/models/getAccessOverview403.ts | 4 +- .../openapi/models/getAccessOverview415.ts | 4 +- frontend/src/openapi/models/getAddon401.ts | 4 +- frontend/src/openapi/models/getAddons401.ts | 4 +- .../src/openapi/models/getAdminCount401.ts | 4 +- .../src/openapi/models/getAdminCount403.ts | 4 +- .../models/getAdvancedPlayground400.ts | 4 +- .../models/getAdvancedPlayground401.ts | 4 +- .../src/openapi/models/getAllApiTokens401.ts | 4 +- .../src/openapi/models/getAllApiTokens403.ts | 4 +- .../openapi/models/getAllEnvironments401.ts | 4 +- .../openapi/models/getAllEnvironments403.ts | 4 +- .../openapi/models/getAllFeatureTypes401.ts | 4 +- .../src/openapi/models/getAllStrategies401.ts | 4 +- .../src/openapi/models/getAllToggles401.ts | 4 +- .../src/openapi/models/getAllToggles403.ts | 4 +- .../openapi/models/getApiTokensByName401.ts | 4 +- .../openapi/models/getApiTokensByName403.ts | 4 +- .../src/openapi/models/getApplication404.ts | 4 +- .../openapi/models/getArchivedFeatures401.ts | 4 +- .../openapi/models/getArchivedFeatures403.ts | 4 +- .../getArchivedFeaturesByProjectId401.ts | 4 +- .../getArchivedFeaturesByProjectId403.ts | 4 +- frontend/src/openapi/models/getBanners401.ts | 4 +- .../models/getBaseUsersAndGroups401.ts | 4 +- .../src/openapi/models/getChangeRequest404.ts | 4 +- .../models/getDeprecatedProjectOverview401.ts | 14 ++++ .../models/getDeprecatedProjectOverview403.ts | 14 ++++ .../models/getDeprecatedProjectOverview404.ts | 14 ++++ .../src/openapi/models/getEnvironment401.ts | 4 +- .../src/openapi/models/getEnvironment403.ts | 4 +- .../src/openapi/models/getEnvironment404.ts | 4 +- .../getEnvironmentFeatureVariants401.ts | 4 +- .../getEnvironmentFeatureVariants403.ts | 4 +- .../getEnvironmentFeatureVariants404.ts | 4 +- frontend/src/openapi/models/getEvents401.ts | 4 +- .../openapi/models/getEventsForToggle401.ts | 4 +- frontend/src/openapi/models/getFeature401.ts | 4 +- frontend/src/openapi/models/getFeature403.ts | 4 +- frontend/src/openapi/models/getFeature404.ts | 4 +- .../models/getFeatureEnvironment401.ts | 4 +- .../models/getFeatureEnvironment403.ts | 4 +- .../models/getFeatureEnvironment404.ts | 4 +- .../openapi/models/getFeatureStrategies401.ts | 4 +- .../openapi/models/getFeatureStrategies403.ts | 4 +- .../openapi/models/getFeatureStrategies404.ts | 4 +- .../openapi/models/getFeatureStrategy401.ts | 4 +- .../openapi/models/getFeatureStrategy403.ts | 4 +- .../openapi/models/getFeatureStrategy404.ts | 4 +- .../models/getFeatureUsageSummary401.ts | 4 +- .../models/getFeatureUsageSummary403.ts | 4 +- .../models/getFeatureUsageSummary404.ts | 4 +- .../openapi/models/getFeatureVariants401.ts | 4 +- .../openapi/models/getFeatureVariants403.ts | 4 +- .../openapi/models/getFeatureVariants404.ts | 4 +- frontend/src/openapi/models/getFeatures400.ts | 4 +- frontend/src/openapi/models/getFeatures401.ts | 4 +- frontend/src/openapi/models/getFeatures403.ts | 4 +- .../openapi/models/getFrontendFeatures401.ts | 4 +- .../openapi/models/getFrontendFeatures404.ts | 4 +- .../openapi/models/getGoogleSettings400.ts | 4 +- .../openapi/models/getGoogleSettings401.ts | 4 +- .../openapi/models/getGoogleSettings403.ts | 4 +- frontend/src/openapi/models/getGroup400.ts | 4 +- frontend/src/openapi/models/getGroup401.ts | 4 +- frontend/src/openapi/models/getGroup403.ts | 4 +- frontend/src/openapi/models/getGroup404.ts | 4 +- frontend/src/openapi/models/getGroups401.ts | 4 +- frontend/src/openapi/models/getGroups403.ts | 4 +- .../src/openapi/models/getLoginHistory401.ts | 4 +- .../src/openapi/models/getLoginHistory404.ts | 4 +- .../src/openapi/models/getMaintenance401.ts | 4 +- .../src/openapi/models/getMaintenance403.ts | 4 +- frontend/src/openapi/models/getMe401.ts | 4 +- .../src/openapi/models/getOidcSettings400.ts | 4 +- .../src/openapi/models/getOidcSettings401.ts | 4 +- .../src/openapi/models/getOidcSettings403.ts | 4 +- frontend/src/openapi/models/getPats401.ts | 4 +- frontend/src/openapi/models/getPats403.ts | 4 +- frontend/src/openapi/models/getPats404.ts | 4 +- .../src/openapi/models/getPlayground400.ts | 4 +- .../src/openapi/models/getPlayground401.ts | 4 +- frontend/src/openapi/models/getProfile401.ts | 4 +- .../src/openapi/models/getProjectAccess401.ts | 4 +- .../src/openapi/models/getProjectAccess403.ts | 4 +- .../openapi/models/getProjectApiTokens401.ts | 4 +- .../openapi/models/getProjectApiTokens403.ts | 4 +- .../openapi/models/getProjectApiTokens404.ts | 4 +- .../src/openapi/models/getProjectDora401.ts | 4 +- .../src/openapi/models/getProjectDora403.ts | 4 +- .../src/openapi/models/getProjectDora404.ts | 4 +- .../models/getProjectEnvironments401.ts | 4 +- .../models/getProjectEnvironments403.ts | 4 +- .../models/getProjectEnvironments404.ts | 4 +- .../models/getProjectHealthReport401.ts | 4 +- .../models/getProjectHealthReport403.ts | 4 +- .../models/getProjectHealthReport404.ts | 4 +- .../openapi/models/getProjectOverview401.ts | 4 +- .../openapi/models/getProjectOverview403.ts | 4 +- .../openapi/models/getProjectOverview404.ts | 4 +- .../src/openapi/models/getProjectUsers401.ts | 4 +- .../src/openapi/models/getProjectUsers403.ts | 4 +- frontend/src/openapi/models/getProjects401.ts | 4 +- frontend/src/openapi/models/getProjects403.ts | 4 +- .../openapi/models/getPublicSignupToken401.ts | 4 +- .../openapi/models/getPublicSignupToken403.ts | 4 +- .../openapi/models/getRawFeatureMetrics401.ts | 4 +- .../openapi/models/getRawFeatureMetrics403.ts | 4 +- .../openapi/models/getRawFeatureMetrics404.ts | 4 +- frontend/src/openapi/models/getRoleById400.ts | 4 +- frontend/src/openapi/models/getRoleById401.ts | 4 +- frontend/src/openapi/models/getRoleById404.ts | 4 +- .../openapi/models/getRoleProjectAccess401.ts | 4 +- .../openapi/models/getRoleProjectAccess403.ts | 4 +- frontend/src/openapi/models/getRoles401.ts | 4 +- frontend/src/openapi/models/getRoles403.ts | 4 +- .../src/openapi/models/getSamlSettings400.ts | 4 +- .../src/openapi/models/getSamlSettings401.ts | 4 +- .../src/openapi/models/getSamlSettings403.ts | 4 +- frontend/src/openapi/models/getSegment404.ts | 4 +- .../models/getServiceAccountTokens401.ts | 4 +- .../models/getServiceAccountTokens403.ts | 4 +- .../models/getServiceAccountTokens404.ts | 4 +- .../openapi/models/getServiceAccounts401.ts | 4 +- .../openapi/models/getServiceAccounts403.ts | 4 +- .../openapi/models/getSimpleSettings401.ts | 4 +- .../openapi/models/getSimpleSettings403.ts | 4 +- .../models/getStrategiesByContextField401.ts | 4 +- frontend/src/openapi/models/getStrategy401.ts | 4 +- frontend/src/openapi/models/getStrategy404.ts | 4 +- frontend/src/openapi/models/getTag401.ts | 4 +- frontend/src/openapi/models/getTag403.ts | 4 +- frontend/src/openapi/models/getTag404.ts | 4 +- frontend/src/openapi/models/getTagType401.ts | 4 +- frontend/src/openapi/models/getTagType403.ts | 4 +- frontend/src/openapi/models/getTagTypes401.ts | 4 +- frontend/src/openapi/models/getTagTypes403.ts | 4 +- frontend/src/openapi/models/getTags401.ts | 4 +- frontend/src/openapi/models/getTags403.ts | 4 +- .../src/openapi/models/getTagsByType401.ts | 4 +- .../src/openapi/models/getTagsByType403.ts | 4 +- frontend/src/openapi/models/getUser400.ts | 4 +- frontend/src/openapi/models/getUser401.ts | 4 +- frontend/src/openapi/models/getUser404.ts | 4 +- frontend/src/openapi/models/getUsers401.ts | 4 +- frontend/src/openapi/models/getUsers403.ts | 4 +- .../src/openapi/models/getValidTokens400.ts | 4 +- .../src/openapi/models/getValidTokens413.ts | 4 +- .../src/openapi/models/getValidTokens415.ts | 4 +- .../openapi/models/googleSettingsSchema.ts | 12 ++-- frontend/src/openapi/models/groupSchema.ts | 28 ++++---- .../openapi/models/groupUserModelSchema.ts | 4 +- .../models/groupWithProjectRoleSchema.ts | 24 +++---- .../openapi/models/healthOverviewSchema.ts | 52 +++++++------- .../src/openapi/models/healthReportSchema.ts | 68 +++++++++---------- .../src/openapi/models/importToggles404.ts | 4 +- .../src/openapi/models/importTogglesSchema.ts | 6 +- .../models/importTogglesValidateItemSchema.ts | 4 +- .../models/importTogglesValidateSchema.ts | 4 +- frontend/src/openapi/models/index.ts | 6 ++ .../models/instanceAdminStatsSchema.ts | 66 +++++++++--------- .../instanceAdminStatsSchemaActiveUsers.ts | 4 +- .../instanceAdminStatsSchemaClientAppsItem.ts | 4 +- .../src/openapi/models/invoicesSchemaItem.ts | 12 ++-- .../src/openapi/models/legalValueSchema.ts | 4 +- .../openapi/models/listParentOptions401.ts | 4 +- .../openapi/models/listParentOptions403.ts | 4 +- .../openapi/models/listParentOptions404.ts | 4 +- frontend/src/openapi/models/listTags401.ts | 4 +- frontend/src/openapi/models/listTags403.ts | 4 +- frontend/src/openapi/models/listTags404.ts | 4 +- frontend/src/openapi/models/login401.ts | 4 +- .../src/openapi/models/loginEventSchema.ts | 16 ++--- frontend/src/openapi/models/loginSchema.ts | 4 +- frontend/src/openapi/models/meSchema.ts | 10 +-- .../openapi/models/notificationsSchemaItem.ts | 20 +++--- .../notificationsSchemaItemCreatedBy.ts | 4 +- .../src/openapi/models/oidcSettingsSchema.ts | 32 ++++----- .../overwriteEnvironmentFeatureVariants400.ts | 4 +- .../overwriteEnvironmentFeatureVariants401.ts | 4 +- .../overwriteEnvironmentFeatureVariants403.ts | 4 +- .../models/overwriteFeatureVariants400.ts | 4 +- .../models/overwriteFeatureVariants401.ts | 4 +- .../models/overwriteFeatureVariants403.ts | 4 +- .../models/overwriteFeatureVariants404.ts | 4 +- ...erwriteFeatureVariantsOnEnvironments400.ts | 4 +- ...erwriteFeatureVariantsOnEnvironments401.ts | 4 +- ...erwriteFeatureVariantsOnEnvironments403.ts | 4 +- frontend/src/openapi/models/passwordSchema.ts | 8 +-- frontend/src/openapi/models/patSchema.ts | 8 +-- .../patchEnvironmentsFeatureVariants400.ts | 4 +- .../patchEnvironmentsFeatureVariants401.ts | 4 +- .../patchEnvironmentsFeatureVariants403.ts | 4 +- .../patchEnvironmentsFeatureVariants404.ts | 4 +- .../src/openapi/models/patchFeature401.ts | 4 +- .../src/openapi/models/patchFeature403.ts | 4 +- .../src/openapi/models/patchFeature404.ts | 4 +- .../src/openapi/models/patchFeature415.ts | 4 +- .../openapi/models/patchFeatureStrategy400.ts | 4 +- .../openapi/models/patchFeatureStrategy401.ts | 4 +- .../openapi/models/patchFeatureStrategy403.ts | 4 +- .../openapi/models/patchFeatureStrategy404.ts | 4 +- .../openapi/models/patchFeatureStrategy415.ts | 4 +- .../openapi/models/patchFeatureVariants400.ts | 4 +- .../openapi/models/patchFeatureVariants401.ts | 4 +- .../openapi/models/patchFeatureVariants403.ts | 4 +- .../openapi/models/patchFeatureVariants404.ts | 4 +- frontend/src/openapi/models/patchSchema.ts | 8 +-- .../src/openapi/models/permissionSchema.ts | 4 +- .../models/playgroundConstraintSchema.ts | 16 ++--- .../openapi/models/playgroundFeatureSchema.ts | 16 ++--- .../playgroundFeatureSchemaStrategies.ts | 6 +- .../models/playgroundFeatureSchemaVariant.ts | 4 +- .../openapi/models/playgroundRequestSchema.ts | 4 +- .../models/playgroundResponseSchema.ts | 6 +- .../openapi/models/playgroundSegmentSchema.ts | 4 +- .../models/playgroundStrategySchema.ts | 34 +++++----- .../playgroundStrategySchemaResultAnyOf.ts | 6 +- ...playgroundStrategySchemaResultAnyOfFour.ts | 4 +- ...undStrategySchemaResultAnyOfFourVariant.ts | 4 +- frontend/src/openapi/models/profileSchema.ts | 8 +-- ...ojectAccessConfigurationSchemaRolesItem.ts | 4 +- .../src/openapi/models/projectAccessSchema.ts | 6 +- .../openapi/models/projectAddAccessSchema.ts | 4 +- .../openapi/models/projectCreatedSchema.ts | 12 ++-- .../models/projectDoraMetricsSchema.ts | 4 +- .../models/projectEnvironmentSchema.ts | 4 +- .../openapi/models/projectOverviewSchema.ts | 48 ++++++------- .../src/openapi/models/projectRoleSchema.ts | 8 +-- frontend/src/openapi/models/projectSchema.ts | 36 +++++----- .../projectSettingsSchemaDefaultStickiness.ts | 4 +- .../models/projectSettingsSchemaMode.ts | 4 +- .../src/openapi/models/projectStatsSchema.ts | 8 +-- .../src/openapi/models/projectUsersSchema.ts | 6 +- frontend/src/openapi/models/projectsSchema.ts | 4 +- .../src/openapi/models/proxyClientSchema.ts | 8 +-- .../src/openapi/models/proxyFeatureSchema.ts | 4 +- .../models/proxyFeatureSchemaVariant.ts | 4 +- .../models/publicSignupTokenCreateSchema.ts | 4 +- .../openapi/models/publicSignupTokenSchema.ts | 26 +++---- .../models/publicSignupTokenUpdateSchema.ts | 4 +- .../src/openapi/models/pushVariantsSchema.ts | 4 +- .../openapi/models/reactivateStrategy401.ts | 4 +- .../openapi/models/reactivateStrategy403.ts | 4 +- .../openapi/models/reactivateStrategy404.ts | 4 +- .../models/registerClientMetrics400.ts | 4 +- .../models/registerFrontendClient400.ts | 4 +- .../models/registerFrontendClient401.ts | 4 +- .../models/registerFrontendClient404.ts | 4 +- .../models/registerFrontendMetrics400.ts | 4 +- .../models/registerFrontendMetrics401.ts | 4 +- .../models/registerFrontendMetrics404.ts | 4 +- .../openapi/models/removeEnvironment400.ts | 4 +- .../openapi/models/removeEnvironment401.ts | 4 +- .../models/removeEnvironmentFromProject400.ts | 4 +- .../models/removeEnvironmentFromProject401.ts | 4 +- .../models/removeEnvironmentFromProject403.ts | 4 +- .../models/removeFavoriteFeature401.ts | 4 +- .../models/removeFavoriteFeature404.ts | 4 +- .../models/removeFavoriteProject401.ts | 4 +- .../models/removeFavoriteProject404.ts | 4 +- .../openapi/models/removeGroupAccess401.ts | 4 +- .../openapi/models/removeGroupAccess403.ts | 4 +- .../openapi/models/removeGroupAccess404.ts | 4 +- .../openapi/models/removeRoleForUser401.ts | 4 +- .../openapi/models/removeRoleForUser403.ts | 4 +- .../openapi/models/removeRoleForUser404.ts | 4 +- .../openapi/models/removeRoleFromGroup401.ts | 4 +- .../openapi/models/removeRoleFromGroup403.ts | 4 +- .../openapi/models/removeRoleFromGroup404.ts | 4 +- .../src/openapi/models/removeSegment401.ts | 4 +- .../src/openapi/models/removeSegment403.ts | 4 +- .../src/openapi/models/removeSegment409.ts | 4 +- .../src/openapi/models/removeStrategy401.ts | 4 +- .../src/openapi/models/removeStrategy403.ts | 4 +- .../src/openapi/models/removeStrategy404.ts | 4 +- frontend/src/openapi/models/removeTag401.ts | 4 +- frontend/src/openapi/models/removeTag403.ts | 4 +- frontend/src/openapi/models/removeTag404.ts | 4 +- .../src/openapi/models/removeUserAccess401.ts | 4 +- .../src/openapi/models/removeUserAccess403.ts | 4 +- .../src/openapi/models/removeUserAccess404.ts | 4 +- .../openapi/models/requestsPerSecondSchema.ts | 6 +- .../models/requestsPerSecondSchemaData.ts | 6 +- .../requestsPerSecondSegmentedSchema.ts | 2 +- .../openapi/models/resetUserPassword400.ts | 4 +- .../openapi/models/resetUserPassword401.ts | 4 +- .../openapi/models/resetUserPassword403.ts | 4 +- .../openapi/models/resetUserPassword404.ts | 4 +- .../src/openapi/models/reviveFeature400.ts | 4 +- .../src/openapi/models/reviveFeature401.ts | 4 +- .../src/openapi/models/reviveFeature403.ts | 4 +- .../src/openapi/models/reviveFeatures400.ts | 4 +- .../src/openapi/models/reviveFeatures401.ts | 4 +- .../src/openapi/models/reviveFeatures403.ts | 4 +- frontend/src/openapi/models/roleSchema.ts | 12 ++-- .../models/roleWithPermissionsSchema.ts | 12 ++-- .../openapi/models/roleWithVersionSchema.ts | 4 +- .../openapi/models/rolesWithVersionSchema.ts | 4 +- .../src/openapi/models/samlSettingsSchema.ts | 16 ++--- .../src/openapi/models/searchEventsSchema.ts | 12 ++-- .../src/openapi/models/searchFeatures401.ts | 4 +- .../src/openapi/models/searchFeatures403.ts | 4 +- .../src/openapi/models/searchFeatures404.ts | 4 +- .../openapi/models/searchFeaturesParams.ts | 12 +++- frontend/src/openapi/models/searchUsers401.ts | 4 +- frontend/src/openapi/models/segmentSchema.ts | 12 ++-- .../models/sendResetPasswordEmail401.ts | 4 +- .../models/sendResetPasswordEmail404.ts | 4 +- .../models/sendResetPasswordEmail415.ts | 4 +- .../openapi/models/serviceAccountSchema.ts | 36 +++++----- .../openapi/models/serviceAccountsSchema.ts | 6 +- .../openapi/models/setGoogleSettings400.ts | 4 +- .../openapi/models/setGoogleSettings401.ts | 4 +- .../openapi/models/setGoogleSettings403.ts | 4 +- .../openapi/models/setGoogleSettings415.ts | 4 +- .../src/openapi/models/setOidcSettings400.ts | 4 +- .../src/openapi/models/setOidcSettings401.ts | 4 +- .../src/openapi/models/setOidcSettings403.ts | 4 +- .../src/openapi/models/setOidcSettings415.ts | 4 +- .../src/openapi/models/setProjectAccess401.ts | 4 +- .../src/openapi/models/setProjectAccess403.ts | 4 +- .../src/openapi/models/setRolesForGroup401.ts | 4 +- .../src/openapi/models/setRolesForGroup403.ts | 4 +- .../src/openapi/models/setRolesForGroup404.ts | 4 +- .../src/openapi/models/setRolesForUser401.ts | 4 +- .../src/openapi/models/setRolesForUser403.ts | 4 +- .../src/openapi/models/setRolesForUser404.ts | 4 +- .../src/openapi/models/setSamlSettings400.ts | 4 +- .../src/openapi/models/setSamlSettings401.ts | 4 +- .../src/openapi/models/setSamlSettings403.ts | 4 +- .../src/openapi/models/setSamlSettings415.ts | 4 +- .../openapi/models/setSimpleSettings400.ts | 4 +- .../openapi/models/setSimpleSettings401.ts | 4 +- .../openapi/models/setSimpleSettings403.ts | 4 +- .../openapi/models/setSimpleSettings415.ts | 4 +- .../openapi/models/setStrategySortOrder400.ts | 4 +- .../openapi/models/setStrategySortOrder401.ts | 4 +- .../openapi/models/setStrategySortOrder403.ts | 4 +- .../src/openapi/models/splashRequestSchema.ts | 4 +- .../openapi/models/splashResponseSchema.ts | 8 +-- .../src/openapi/models/staleFeatures401.ts | 4 +- .../src/openapi/models/staleFeatures403.ts | 4 +- .../src/openapi/models/staleFeatures415.ts | 4 +- frontend/src/openapi/models/stateSchema.ts | 46 ++++++------- .../src/openapi/models/strategiesSchema.ts | 6 +- frontend/src/openapi/models/strategySchema.ts | 14 ++-- .../models/strategySchemaParametersItem.ts | 4 +- .../openapi/models/strategyVariantSchema.ts | 10 +-- frontend/src/openapi/models/tagSchema.ts | 4 +- frontend/src/openapi/models/tagTypeSchema.ts | 4 +- frontend/src/openapi/models/tagTypesSchema.ts | 4 +- .../openapi/models/tagWithVersionSchema.ts | 2 +- frontend/src/openapi/models/tagsSchema.ts | 4 +- .../openapi/models/telemetrySettingsSchema.ts | 4 +- .../openapi/models/toggleEnvironmentOff401.ts | 4 +- .../openapi/models/toggleEnvironmentOff403.ts | 4 +- .../openapi/models/toggleEnvironmentOff404.ts | 4 +- .../openapi/models/toggleEnvironmentOn401.ts | 4 +- .../openapi/models/toggleEnvironmentOn403.ts | 4 +- .../openapi/models/toggleEnvironmentOn404.ts | 4 +- .../models/toggleFeatureEnvironmentOff400.ts | 4 +- .../models/toggleFeatureEnvironmentOff401.ts | 4 +- .../models/toggleFeatureEnvironmentOff403.ts | 4 +- .../models/toggleFeatureEnvironmentOff404.ts | 4 +- .../models/toggleFeatureEnvironmentOn400.ts | 4 +- .../models/toggleFeatureEnvironmentOn401.ts | 4 +- .../models/toggleFeatureEnvironmentOn403.ts | 4 +- .../models/toggleFeatureEnvironmentOn404.ts | 4 +- .../openapi/models/toggleMaintenance400.ts | 4 +- .../openapi/models/toggleMaintenance401.ts | 4 +- .../openapi/models/toggleMaintenance403.ts | 4 +- .../src/openapi/models/tokenUserSchema.ts | 10 +-- frontend/src/openapi/models/uiConfigSchema.ts | 46 ++++++------- frontend/src/openapi/models/updateAddon400.ts | 4 +- frontend/src/openapi/models/updateAddon401.ts | 4 +- frontend/src/openapi/models/updateAddon403.ts | 4 +- frontend/src/openapi/models/updateAddon404.ts | 4 +- frontend/src/openapi/models/updateAddon413.ts | 4 +- frontend/src/openapi/models/updateAddon415.ts | 4 +- .../src/openapi/models/updateApiToken401.ts | 4 +- .../src/openapi/models/updateApiToken403.ts | 4 +- .../src/openapi/models/updateApiToken415.ts | 4 +- .../src/openapi/models/updateBanner400.ts | 4 +- .../src/openapi/models/updateBanner401.ts | 4 +- .../src/openapi/models/updateBanner403.ts | 4 +- .../src/openapi/models/updateBanner404.ts | 4 +- .../src/openapi/models/updateBanner415.ts | 4 +- .../models/updateContextFieldSchema.ts | 8 +-- .../openapi/models/updateEnvironment400.ts | 4 +- .../openapi/models/updateEnvironment401.ts | 4 +- .../openapi/models/updateEnvironmentSchema.ts | 4 +- .../src/openapi/models/updateFeature401.ts | 4 +- .../src/openapi/models/updateFeature403.ts | 4 +- .../src/openapi/models/updateFeature404.ts | 4 +- .../src/openapi/models/updateFeature415.ts | 4 +- .../src/openapi/models/updateFeatureSchema.ts | 12 ++-- .../models/updateFeatureStrategy400.ts | 4 +- .../models/updateFeatureStrategy401.ts | 4 +- .../models/updateFeatureStrategy403.ts | 4 +- .../models/updateFeatureStrategy404.ts | 4 +- .../models/updateFeatureStrategy415.ts | 4 +- .../models/updateFeatureStrategySchema.ts | 12 ++-- .../updateFeatureStrategySegments400.ts | 4 +- .../updateFeatureStrategySegments401.ts | 4 +- .../updateFeatureStrategySegments403.ts | 4 +- .../updateFeatureStrategySegments415.ts | 4 +- .../updateFeatureStrategySegmentsSchema.ts | 8 +-- .../models/updateFeatureTypeLifetime400.ts | 4 +- .../models/updateFeatureTypeLifetime401.ts | 4 +- .../models/updateFeatureTypeLifetime403.ts | 4 +- .../models/updateFeatureTypeLifetime404.ts | 4 +- .../models/updateFeatureTypeLifetime409.ts | 4 +- .../models/updateFeatureTypeLifetime415.ts | 4 +- .../src/openapi/models/updateFeedback400.ts | 4 +- .../src/openapi/models/updateFeedback401.ts | 4 +- .../src/openapi/models/updateFeedback415.ts | 4 +- frontend/src/openapi/models/updateGroup400.ts | 4 +- frontend/src/openapi/models/updateGroup401.ts | 4 +- frontend/src/openapi/models/updateGroup403.ts | 4 +- frontend/src/openapi/models/updateGroup404.ts | 4 +- frontend/src/openapi/models/updateGroup409.ts | 4 +- .../src/openapi/models/updateProject400.ts | 4 +- .../src/openapi/models/updateProject401.ts | 4 +- .../src/openapi/models/updateProject403.ts | 4 +- .../src/openapi/models/updateProject404.ts | 4 +- .../src/openapi/models/updateProject415.ts | 4 +- .../updateProjectEnterpriseSettings400.ts | 4 +- .../updateProjectEnterpriseSettings401.ts | 4 +- .../updateProjectEnterpriseSettings403.ts | 4 +- .../updateProjectEnterpriseSettings404.ts | 4 +- .../updateProjectEnterpriseSettings415.ts | 4 +- .../updateProjectEnterpriseSettingsSchema.ts | 4 +- .../src/openapi/models/updateProjectSchema.ts | 8 +-- .../models/updatePublicSignupToken400.ts | 4 +- .../models/updatePublicSignupToken401.ts | 4 +- .../models/updatePublicSignupToken403.ts | 4 +- frontend/src/openapi/models/updateRole400.ts | 4 +- frontend/src/openapi/models/updateRole401.ts | 4 +- frontend/src/openapi/models/updateRole403.ts | 4 +- frontend/src/openapi/models/updateRole404.ts | 4 +- frontend/src/openapi/models/updateRole409.ts | 4 +- .../src/openapi/models/updateSegment400.ts | 4 +- .../src/openapi/models/updateSegment401.ts | 4 +- .../src/openapi/models/updateSegment403.ts | 4 +- .../src/openapi/models/updateSegment409.ts | 4 +- .../src/openapi/models/updateSegment415.ts | 4 +- .../openapi/models/updateServiceAccount400.ts | 4 +- .../openapi/models/updateServiceAccount401.ts | 4 +- .../openapi/models/updateServiceAccount403.ts | 4 +- .../openapi/models/updateServiceAccount404.ts | 4 +- .../openapi/models/updateServiceAccount415.ts | 4 +- .../src/openapi/models/updateSortOrder401.ts | 4 +- .../src/openapi/models/updateSortOrder403.ts | 4 +- .../src/openapi/models/updateSortOrder404.ts | 4 +- .../openapi/models/updateSplashSettings400.ts | 4 +- .../openapi/models/updateSplashSettings401.ts | 4 +- .../openapi/models/updateSplashSettings403.ts | 4 +- .../openapi/models/updateSplashSettings415.ts | 4 +- .../src/openapi/models/updateStrategy401.ts | 4 +- .../src/openapi/models/updateStrategy403.ts | 4 +- .../src/openapi/models/updateStrategy404.ts | 4 +- .../src/openapi/models/updateStrategy415.ts | 4 +- .../updateStrategySchemaParametersItem.ts | 8 +-- .../src/openapi/models/updateTagType400.ts | 4 +- .../src/openapi/models/updateTagType401.ts | 4 +- .../src/openapi/models/updateTagType403.ts | 4 +- .../src/openapi/models/updateTagType415.ts | 4 +- frontend/src/openapi/models/updateTags400.ts | 4 +- frontend/src/openapi/models/updateTags401.ts | 4 +- frontend/src/openapi/models/updateTags403.ts | 4 +- frontend/src/openapi/models/updateTags404.ts | 4 +- frontend/src/openapi/models/updateUser400.ts | 4 +- frontend/src/openapi/models/updateUser401.ts | 4 +- frontend/src/openapi/models/updateUser403.ts | 4 +- frontend/src/openapi/models/updateUser404.ts | 4 +- .../src/openapi/models/upsertSegmentSchema.ts | 12 ++-- .../src/openapi/models/userAccessSchema.ts | 16 ++--- frontend/src/openapi/models/userSchema.ts | 36 +++++----- .../models/userWithProjectRoleSchema.ts | 16 ++--- frontend/src/openapi/models/usersSchema.ts | 6 +- .../models/validateArchiveFeatures400.ts | 4 +- .../models/validateArchiveFeatures401.ts | 4 +- .../models/validateArchiveFeatures403.ts | 4 +- .../models/validateArchiveFeatures415.ts | 4 +- .../models/validateArchiveFeaturesSchema.ts | 4 +- .../openapi/models/validateConstraint400.ts | 4 +- .../openapi/models/validateConstraint401.ts | 4 +- .../openapi/models/validateConstraint403.ts | 4 +- .../openapi/models/validateConstraint415.ts | 4 +- .../models/validateEnvironmentName400.ts | 4 +- .../models/validateEnvironmentName401.ts | 4 +- .../src/openapi/models/validateFeature400.ts | 4 +- .../src/openapi/models/validateFeature401.ts | 4 +- .../src/openapi/models/validateFeature409.ts | 4 +- .../src/openapi/models/validateFeature415.ts | 4 +- .../src/openapi/models/validateImport404.ts | 4 +- .../src/openapi/models/validatePassword400.ts | 4 +- .../src/openapi/models/validatePassword415.ts | 4 +- .../src/openapi/models/validateProject400.ts | 4 +- .../src/openapi/models/validateProject401.ts | 4 +- .../src/openapi/models/validateProject403.ts | 4 +- .../src/openapi/models/validateProject415.ts | 4 +- .../models/validatePublicSignupToken400.ts | 4 +- .../src/openapi/models/validateRole400.ts | 4 +- .../src/openapi/models/validateRole401.ts | 4 +- .../src/openapi/models/validateSegment400.ts | 4 +- .../src/openapi/models/validateSegment401.ts | 4 +- .../src/openapi/models/validateSegment409.ts | 4 +- .../src/openapi/models/validateSegment415.ts | 4 +- .../src/openapi/models/validateTagType400.ts | 4 +- .../src/openapi/models/validateTagType401.ts | 4 +- .../src/openapi/models/validateTagType403.ts | 4 +- .../src/openapi/models/validateTagType409.ts | 4 +- .../src/openapi/models/validateTagType415.ts | 4 +- .../openapi/models/validateTagTypeSchema.ts | 2 +- .../src/openapi/models/validateToken401.ts | 4 +- .../src/openapi/models/validateToken415.ts | 4 +- .../openapi/models/validateUserPassword400.ts | 4 +- .../openapi/models/validateUserPassword401.ts | 4 +- .../openapi/models/validateUserPassword415.ts | 4 +- .../src/openapi/models/variantFlagSchema.ts | 4 +- frontend/src/openapi/models/variantSchema.ts | 16 ++--- frontend/src/openapi/models/versionSchema.ts | 8 +-- .../openapi/models/versionSchemaCurrent.ts | 4 +- .../src/openapi/models/versionSchemaLatest.ts | 4 +- 888 files changed, 2666 insertions(+), 2532 deletions(-) create mode 100644 frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts create mode 100644 frontend/src/openapi/models/deprecatedProjectOverviewSchemaMode.ts create mode 100644 frontend/src/openapi/models/featureTypeCountSchema.ts create mode 100644 frontend/src/openapi/models/getDeprecatedProjectOverview401.ts create mode 100644 frontend/src/openapi/models/getDeprecatedProjectOverview403.ts create mode 100644 frontend/src/openapi/models/getDeprecatedProjectOverview404.ts diff --git a/frontend/src/openapi/models/addAccessToProject400.ts b/frontend/src/openapi/models/addAccessToProject400.ts index 3f50bf16a9..2fe71abb70 100644 --- a/frontend/src/openapi/models/addAccessToProject400.ts +++ b/frontend/src/openapi/models/addAccessToProject400.ts @@ -7,8 +7,8 @@ export type AddAccessToProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject401.ts b/frontend/src/openapi/models/addAccessToProject401.ts index 71d1b5542a..50e88718f2 100644 --- a/frontend/src/openapi/models/addAccessToProject401.ts +++ b/frontend/src/openapi/models/addAccessToProject401.ts @@ -7,8 +7,8 @@ export type AddAccessToProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject403.ts b/frontend/src/openapi/models/addAccessToProject403.ts index e7655b90cd..f7ce89727a 100644 --- a/frontend/src/openapi/models/addAccessToProject403.ts +++ b/frontend/src/openapi/models/addAccessToProject403.ts @@ -7,8 +7,8 @@ export type AddAccessToProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject404.ts b/frontend/src/openapi/models/addAccessToProject404.ts index 52250779cc..680efe99f0 100644 --- a/frontend/src/openapi/models/addAccessToProject404.ts +++ b/frontend/src/openapi/models/addAccessToProject404.ts @@ -7,8 +7,8 @@ export type AddAccessToProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addAccessToProject415.ts b/frontend/src/openapi/models/addAccessToProject415.ts index f88fc0ae11..2b8f18ca91 100644 --- a/frontend/src/openapi/models/addAccessToProject415.ts +++ b/frontend/src/openapi/models/addAccessToProject415.ts @@ -7,8 +7,8 @@ export type AddAccessToProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts b/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts index 942dbf50dc..8a7c7aba4c 100644 --- a/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts +++ b/frontend/src/openapi/models/addDefaultStrategyToProjectEnvironment400.ts @@ -7,8 +7,8 @@ export type AddDefaultStrategyToProjectEnvironment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject401.ts b/frontend/src/openapi/models/addEnvironmentToProject401.ts index 558167b414..d315b29bab 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject401.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject401.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject403.ts b/frontend/src/openapi/models/addEnvironmentToProject403.ts index c869db70f0..5ce2876993 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject403.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject403.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addEnvironmentToProject409.ts b/frontend/src/openapi/models/addEnvironmentToProject409.ts index 02a2f40ad8..06306394ef 100644 --- a/frontend/src/openapi/models/addEnvironmentToProject409.ts +++ b/frontend/src/openapi/models/addEnvironmentToProject409.ts @@ -7,8 +7,8 @@ export type AddEnvironmentToProject409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteFeature401.ts b/frontend/src/openapi/models/addFavoriteFeature401.ts index 0ede014869..3ab69cbe30 100644 --- a/frontend/src/openapi/models/addFavoriteFeature401.ts +++ b/frontend/src/openapi/models/addFavoriteFeature401.ts @@ -7,8 +7,8 @@ export type AddFavoriteFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteFeature404.ts b/frontend/src/openapi/models/addFavoriteFeature404.ts index a964a776ef..e63459b1d3 100644 --- a/frontend/src/openapi/models/addFavoriteFeature404.ts +++ b/frontend/src/openapi/models/addFavoriteFeature404.ts @@ -7,8 +7,8 @@ export type AddFavoriteFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteProject401.ts b/frontend/src/openapi/models/addFavoriteProject401.ts index 403db5bc21..ddf684a323 100644 --- a/frontend/src/openapi/models/addFavoriteProject401.ts +++ b/frontend/src/openapi/models/addFavoriteProject401.ts @@ -7,8 +7,8 @@ export type AddFavoriteProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFavoriteProject404.ts b/frontend/src/openapi/models/addFavoriteProject404.ts index add74fa582..82c7527be7 100644 --- a/frontend/src/openapi/models/addFavoriteProject404.ts +++ b/frontend/src/openapi/models/addFavoriteProject404.ts @@ -7,8 +7,8 @@ export type AddFavoriteProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency401.ts b/frontend/src/openapi/models/addFeatureDependency401.ts index 7dd2c833c3..c49eca9745 100644 --- a/frontend/src/openapi/models/addFeatureDependency401.ts +++ b/frontend/src/openapi/models/addFeatureDependency401.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency403.ts b/frontend/src/openapi/models/addFeatureDependency403.ts index b4223b3b74..a27953d22a 100644 --- a/frontend/src/openapi/models/addFeatureDependency403.ts +++ b/frontend/src/openapi/models/addFeatureDependency403.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureDependency404.ts b/frontend/src/openapi/models/addFeatureDependency404.ts index a3f7df3c5b..55c29d3985 100644 --- a/frontend/src/openapi/models/addFeatureDependency404.ts +++ b/frontend/src/openapi/models/addFeatureDependency404.ts @@ -7,8 +7,8 @@ export type AddFeatureDependency404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy401.ts b/frontend/src/openapi/models/addFeatureStrategy401.ts index 9ba79e9b77..d845d8c54c 100644 --- a/frontend/src/openapi/models/addFeatureStrategy401.ts +++ b/frontend/src/openapi/models/addFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy403.ts b/frontend/src/openapi/models/addFeatureStrategy403.ts index 7b027c8274..1d531eb0af 100644 --- a/frontend/src/openapi/models/addFeatureStrategy403.ts +++ b/frontend/src/openapi/models/addFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addFeatureStrategy404.ts b/frontend/src/openapi/models/addFeatureStrategy404.ts index eccfde3c52..3f28fbbf58 100644 --- a/frontend/src/openapi/models/addFeatureStrategy404.ts +++ b/frontend/src/openapi/models/addFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type AddFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addPublicSignupTokenUser400.ts b/frontend/src/openapi/models/addPublicSignupTokenUser400.ts index 2812569813..2cd284b48e 100644 --- a/frontend/src/openapi/models/addPublicSignupTokenUser400.ts +++ b/frontend/src/openapi/models/addPublicSignupTokenUser400.ts @@ -7,8 +7,8 @@ export type AddPublicSignupTokenUser400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addPublicSignupTokenUser409.ts b/frontend/src/openapi/models/addPublicSignupTokenUser409.ts index 0996333e06..796dd957ab 100644 --- a/frontend/src/openapi/models/addPublicSignupTokenUser409.ts +++ b/frontend/src/openapi/models/addPublicSignupTokenUser409.ts @@ -7,8 +7,8 @@ export type AddPublicSignupTokenUser409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject400.ts b/frontend/src/openapi/models/addRoleAccessToProject400.ts index 37e0363a51..74b0b4a36b 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject400.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject400.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject401.ts b/frontend/src/openapi/models/addRoleAccessToProject401.ts index b725277423..80cad35922 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject401.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject401.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject403.ts b/frontend/src/openapi/models/addRoleAccessToProject403.ts index ec41aa7e98..4444a6ddf9 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject403.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject403.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject404.ts b/frontend/src/openapi/models/addRoleAccessToProject404.ts index 4384c3321e..a1bb99f6f9 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject404.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject404.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleAccessToProject415.ts b/frontend/src/openapi/models/addRoleAccessToProject415.ts index 49c655ab04..02d736eb12 100644 --- a/frontend/src/openapi/models/addRoleAccessToProject415.ts +++ b/frontend/src/openapi/models/addRoleAccessToProject415.ts @@ -7,8 +7,8 @@ export type AddRoleAccessToProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser401.ts b/frontend/src/openapi/models/addRoleToUser401.ts index b627f7bf7f..9727a6de08 100644 --- a/frontend/src/openapi/models/addRoleToUser401.ts +++ b/frontend/src/openapi/models/addRoleToUser401.ts @@ -7,8 +7,8 @@ export type AddRoleToUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser403.ts b/frontend/src/openapi/models/addRoleToUser403.ts index 87aeff9ab7..d1c0d6f565 100644 --- a/frontend/src/openapi/models/addRoleToUser403.ts +++ b/frontend/src/openapi/models/addRoleToUser403.ts @@ -7,8 +7,8 @@ export type AddRoleToUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addRoleToUser404.ts b/frontend/src/openapi/models/addRoleToUser404.ts index 2e99fbd3f0..84d737d89a 100644 --- a/frontend/src/openapi/models/addRoleToUser404.ts +++ b/frontend/src/openapi/models/addRoleToUser404.ts @@ -7,8 +7,8 @@ export type AddRoleToUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTag400.ts b/frontend/src/openapi/models/addTag400.ts index 902bfb86b5..1ee244d86e 100644 --- a/frontend/src/openapi/models/addTag400.ts +++ b/frontend/src/openapi/models/addTag400.ts @@ -7,8 +7,8 @@ export type AddTag400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTag401.ts b/frontend/src/openapi/models/addTag401.ts index d4c4f359ce..cfe1cbc937 100644 --- a/frontend/src/openapi/models/addTag401.ts +++ b/frontend/src/openapi/models/addTag401.ts @@ -7,8 +7,8 @@ export type AddTag401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTag403.ts b/frontend/src/openapi/models/addTag403.ts index b89ce211e5..09b2a23845 100644 --- a/frontend/src/openapi/models/addTag403.ts +++ b/frontend/src/openapi/models/addTag403.ts @@ -7,8 +7,8 @@ export type AddTag403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTag404.ts b/frontend/src/openapi/models/addTag404.ts index 7914806745..d323a31c08 100644 --- a/frontend/src/openapi/models/addTag404.ts +++ b/frontend/src/openapi/models/addTag404.ts @@ -7,8 +7,8 @@ export type AddTag404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures401.ts b/frontend/src/openapi/models/addTagToFeatures401.ts index a05f69e640..c888db6274 100644 --- a/frontend/src/openapi/models/addTagToFeatures401.ts +++ b/frontend/src/openapi/models/addTagToFeatures401.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures403.ts b/frontend/src/openapi/models/addTagToFeatures403.ts index f9bba0d679..e7b86ba73f 100644 --- a/frontend/src/openapi/models/addTagToFeatures403.ts +++ b/frontend/src/openapi/models/addTagToFeatures403.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures404.ts b/frontend/src/openapi/models/addTagToFeatures404.ts index 95b39be5df..b1a0e4e602 100644 --- a/frontend/src/openapi/models/addTagToFeatures404.ts +++ b/frontend/src/openapi/models/addTagToFeatures404.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addTagToFeatures415.ts b/frontend/src/openapi/models/addTagToFeatures415.ts index ccd2a5b762..bffc24bd5f 100644 --- a/frontend/src/openapi/models/addTagToFeatures415.ts +++ b/frontend/src/openapi/models/addTagToFeatures415.ts @@ -7,8 +7,8 @@ export type AddTagToFeatures415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/addonCreateUpdateSchema.ts b/frontend/src/openapi/models/addonCreateUpdateSchema.ts index 7e4f190d27..a7062c5f95 100644 --- a/frontend/src/openapi/models/addonCreateUpdateSchema.ts +++ b/frontend/src/openapi/models/addonCreateUpdateSchema.ts @@ -9,6 +9,18 @@ import type { AddonCreateUpdateSchemaParameters } from './addonCreateUpdateSchem * Data required to create or update an [Unleash addon](https://docs.getunleash.io/reference/addons) instance. */ export interface AddonCreateUpdateSchema { + /** A description of the addon. */ + description?: string; + /** Whether the addon should be enabled or not. */ + enabled: boolean; + /** The list of environments that this addon will listen to events from. An empty list means it will listen to events from **all** environments. */ + environments?: string[]; + /** The event types that will trigger this specific addon. */ + events: string[]; + /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. Consult the documentation for details. */ + parameters: AddonCreateUpdateSchemaParameters; + /** The projects that this addon will listen to events from. An empty list means it will listen to events from **all** projects. */ + projects?: string[]; /** The addon provider, such as "webhook" or "slack". This string is **case sensitive** and maps to the provider's `name` property. The list of all supported providers and their parameters for a specific Unleash instance can be found by making a GET request to the `api/admin/addons` endpoint: the `providers` property of that response will contain all available providers. @@ -22,16 +34,4 @@ The default set of providers can be found in the [addons reference documentation The provider you choose for your addon dictates what properties the `parameters` object needs. Refer to the documentation for each provider for more information. */ provider: string; - /** A description of the addon. */ - description?: string; - /** Whether the addon should be enabled or not. */ - enabled: boolean; - /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. Consult the documentation for details. */ - parameters: AddonCreateUpdateSchemaParameters; - /** The event types that will trigger this specific addon. */ - events: string[]; - /** The projects that this addon will listen to events from. An empty list means it will listen to events from **all** projects. */ - projects?: string[]; - /** The list of environments that this addon will listen to events from. An empty list means it will listen to events from **all** environments. */ - environments?: string[]; } diff --git a/frontend/src/openapi/models/addonParameterSchema.ts b/frontend/src/openapi/models/addonParameterSchema.ts index d316fcf483..7aedae1f8b 100644 --- a/frontend/src/openapi/models/addonParameterSchema.ts +++ b/frontend/src/openapi/models/addonParameterSchema.ts @@ -8,18 +8,18 @@ * An addon parameter definition. */ export interface AddonParameterSchema { - /** The name of the parameter as it is used in code. References to this parameter should use this value. */ - name: string; - /** The name of the parameter as it is shown to the end user in the Admin UI. */ - displayName: string; - /** The type of the parameter. Corresponds roughly to [HTML `input` field types](https://developer.mozilla.org/docs/Web/HTML/Element/Input#input_types). Multi-line inut fields are indicated as `textfield` (equivalent to the HTML `textarea` tag). */ - type: string; /** A description of the parameter. This should explain to the end user what the parameter is used for. */ description?: string; + /** The name of the parameter as it is shown to the end user in the Admin UI. */ + displayName: string; + /** The name of the parameter as it is used in code. References to this parameter should use this value. */ + name: string; /** The default value for this parameter. This value is used if no other value is provided. */ placeholder?: string; /** Whether this parameter is required or not. If a parameter is required, you must give it a value when you create the addon. If it is not required it can be left out. It may receive a default value in those cases. */ required: boolean; /** Indicates whether this parameter is **sensitive** or not. Unleash will not return sensitive parameters to API requests. It will instead use a number of asterisks to indicate that a value is set, e.g. "******". The number of asterisks does not correlate to the parameter's value. */ sensitive: boolean; + /** The type of the parameter. Corresponds roughly to [HTML `input` field types](https://developer.mozilla.org/docs/Web/HTML/Element/Input#input_types). Multi-line inut fields are indicated as `textfield` (equivalent to the HTML `textarea` tag). */ + type: string; } diff --git a/frontend/src/openapi/models/addonSchema.ts b/frontend/src/openapi/models/addonSchema.ts index 71c2fcec96..aca64317eb 100644 --- a/frontend/src/openapi/models/addonSchema.ts +++ b/frontend/src/openapi/models/addonSchema.ts @@ -9,20 +9,20 @@ import type { AddonSchemaParameters } from './addonSchemaParameters'; * An [addon](https://docs.getunleash.io/reference/addons) instance description. Contains data about what kind of provider it uses, whether it's enabled or not, what events it listens for, and more. */ export interface AddonSchema { - /** The addon's unique identifier. */ - id: number; - /** The addon provider, such as "webhook" or "slack". */ - provider: string; /** A description of the addon. `null` if no description exists. */ description: string | null; /** Whether the addon is enabled or not. */ enabled: boolean; - /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. */ - parameters: AddonSchemaParameters; - /** The event types that trigger this specific addon. */ - events: string[]; - /** The projects that this addon listens to events from. An empty list means it listens to events from **all** projects. */ - projects?: string[]; /** The list of environments that this addon listens to events from. An empty list means it listens to events from **all** environments. */ environments?: string[]; + /** The event types that trigger this specific addon. */ + events: string[]; + /** The addon's unique identifier. */ + id: number; + /** Parameters for the addon provider. This object has different required and optional properties depending on the provider you choose. */ + parameters: AddonSchemaParameters; + /** The projects that this addon listens to events from. An empty list means it listens to events from **all** projects. */ + projects?: string[]; + /** The addon provider, such as "webhook" or "slack". */ + provider: string; } diff --git a/frontend/src/openapi/models/addonTypeSchema.ts b/frontend/src/openapi/models/addonTypeSchema.ts index c637dbd390..419d1b4d51 100644 --- a/frontend/src/openapi/models/addonTypeSchema.ts +++ b/frontend/src/openapi/models/addonTypeSchema.ts @@ -3,35 +3,35 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { TagTypeSchema } from './tagTypeSchema'; -import type { AddonParameterSchema } from './addonParameterSchema'; -import type { AddonTypeSchemaInstallation } from './addonTypeSchemaInstallation'; import type { AddonTypeSchemaAlertsItem } from './addonTypeSchemaAlertsItem'; +import type { AddonTypeSchemaInstallation } from './addonTypeSchemaInstallation'; +import type { AddonParameterSchema } from './addonParameterSchema'; +import type { TagTypeSchema } from './tagTypeSchema'; /** * An addon provider. Defines a specific addon type and what the end user must configure when creating a new addon of that type. */ export interface AddonTypeSchema { - /** The name of the addon type. When creating new addons, this goes in the payload's `type` field. */ - name: string; - /** The addon type's name as it should be displayed in the admin UI. */ - displayName: string; - /** A URL to where you can find more information about using this addon type. */ - documentationUrl: string; - /** A description of the addon type. */ - description: string; - /** A long description of how to use this addon type. This will be displayed on the top of configuration page. Can contain markdown. */ - howTo?: string; - /** 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. */ - tagTypes?: TagTypeSchema[]; - /** The addon provider's parameters. Use these to configure an addon of this provider type. Items with `required: true` must be provided. */ - parameters?: AddonParameterSchema[]; - /** All the [event types](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#feature-toggle-events) that are available for this addon provider. */ - events?: string[]; - /** The installation configuration for this addon type. */ - installation?: AddonTypeSchemaInstallation; /** A list of alerts to display to the user when installing addons of this type. */ alerts?: AddonTypeSchemaAlertsItem[]; /** This should be used to inform the user that this addon type is deprecated and should not be used. Deprecated addons will show a badge with this information on the UI. */ deprecated?: string; + /** A description of the addon type. */ + description: string; + /** The addon type's name as it should be displayed in the admin UI. */ + displayName: string; + /** A URL to where you can find more information about using this addon type. */ + documentationUrl: string; + /** All the [event types](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#feature-toggle-events) that are available for this addon provider. */ + events?: string[]; + /** A long description of how to use this addon type. This will be displayed on the top of configuration page. Can contain markdown. */ + howTo?: string; + /** The installation configuration for this addon type. */ + installation?: AddonTypeSchemaInstallation; + /** The name of the addon type. When creating new addons, this goes in the payload's `type` field. */ + 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. */ + tagTypes?: TagTypeSchema[]; } diff --git a/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts b/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts index 8d81a649c4..6d195a8b18 100644 --- a/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts +++ b/frontend/src/openapi/models/addonTypeSchemaAlertsItem.ts @@ -6,8 +6,8 @@ import type { AddonTypeSchemaAlertsItemType } from './addonTypeSchemaAlertsItemType'; export type AddonTypeSchemaAlertsItem = { - /** The type of alert. This determines the color of the alert. */ - type: AddonTypeSchemaAlertsItemType; /** The text of the alert. This is what will be displayed to the user. */ text: string; + /** The type of alert. This determines the color of the alert. */ + type: AddonTypeSchemaAlertsItemType; }; diff --git a/frontend/src/openapi/models/addonTypeSchemaInstallation.ts b/frontend/src/openapi/models/addonTypeSchemaInstallation.ts index 7b57a550c6..1bdc1ed7a9 100644 --- a/frontend/src/openapi/models/addonTypeSchemaInstallation.ts +++ b/frontend/src/openapi/models/addonTypeSchemaInstallation.ts @@ -8,10 +8,10 @@ * The installation configuration for this addon type. */ export type AddonTypeSchemaInstallation = { - /** A URL to where the addon configuration should redirect to install addons of this type. */ - url: string; - /** The title of the installation configuration. This will be displayed to the user when installing addons of this type. */ - title?: string; /** The help text of the installation configuration. This will be displayed to the user when installing addons of this type. */ helpText?: string; + /** The title of the installation configuration. This will be displayed to the user when installing addons of this type. */ + title?: string; + /** A URL to where the addon configuration should redirect to install addons of this type. */ + url: string; }; diff --git a/frontend/src/openapi/models/adminCountSchema.ts b/frontend/src/openapi/models/adminCountSchema.ts index fc9eaff03f..724ae7c702 100644 --- a/frontend/src/openapi/models/adminCountSchema.ts +++ b/frontend/src/openapi/models/adminCountSchema.ts @@ -8,10 +8,10 @@ * Contains total admin counts for an Unleash instance. */ export interface AdminCountSchema { - /** Total number of admins that have a password set. */ - password: number; /** Total number of admins that do not have a password set. May be SSO, but may also be users that did not set a password yet. */ noPassword: number; + /** Total number of admins that have a password set. */ + password: number; /** Total number of service accounts that have the admin root role. */ service: number; } diff --git a/frontend/src/openapi/models/adminFeaturesQuerySchema.ts b/frontend/src/openapi/models/adminFeaturesQuerySchema.ts index 9f0c39f593..5abee94a7f 100644 --- a/frontend/src/openapi/models/adminFeaturesQuerySchema.ts +++ b/frontend/src/openapi/models/adminFeaturesQuerySchema.ts @@ -8,8 +8,8 @@ * Query parameters used to modify the list of features returned. */ export interface AdminFeaturesQuerySchema { - /** Used to filter by tags. For each entry, a TAGTYPE:TAGVALUE is expected */ - tag?: string[]; /** A case-insensitive prefix filter for the names of feature toggles */ namePrefix?: string; + /** Used to filter by tags. For each entry, a TAGTYPE:TAGVALUE is expected */ + tag?: string[]; } diff --git a/frontend/src/openapi/models/adminPermissionSchema.ts b/frontend/src/openapi/models/adminPermissionSchema.ts index 86c11791d0..927e0c1dfd 100644 --- a/frontend/src/openapi/models/adminPermissionSchema.ts +++ b/frontend/src/openapi/models/adminPermissionSchema.ts @@ -8,14 +8,14 @@ * Describes a single permission */ export interface AdminPermissionSchema { + /** The name to display in listings of permissions */ + displayName: string; + /** Which environment this permission applies to */ + environment?: string; /** The identifier for this permission */ id: number; /** The name of this permission */ name: string; - /** The name to display in listings of permissions */ - displayName: string; /** What level this permission applies to. Either root, project or the name of the environment it applies to */ type: string; - /** Which environment this permission applies to */ - environment?: string; } diff --git a/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts b/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts index d0e779e41a..ef53d9ddd1 100644 --- a/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts +++ b/frontend/src/openapi/models/adminPermissionsSchemaPermissions.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdminPermissionSchema } from './adminPermissionSchema'; import type { AdminPermissionsSchemaPermissionsEnvironmentsItem } from './adminPermissionsSchemaPermissionsEnvironmentsItem'; +import type { AdminPermissionSchema } from './adminPermissionSchema'; /** * Returns permissions available at all three levels (root|project|environment) */ export type AdminPermissionsSchemaPermissions = { - /** Permissions available at the root level, i.e. not connected to any specific project or environment */ - root?: AdminPermissionSchema[]; - /** Permissions available at the project level */ - project: AdminPermissionSchema[]; /** A list of environments with available permissions per environment */ environments: AdminPermissionsSchemaPermissionsEnvironmentsItem[]; + /** Permissions available at the project level */ + project: AdminPermissionSchema[]; + /** Permissions available at the root level, i.e. not connected to any specific project or environment */ + root?: AdminPermissionSchema[]; }; diff --git a/frontend/src/openapi/models/adminSegmentSchema.ts b/frontend/src/openapi/models/adminSegmentSchema.ts index fc06591cf4..b8dbe5f8e5 100644 --- a/frontend/src/openapi/models/adminSegmentSchema.ts +++ b/frontend/src/openapi/models/adminSegmentSchema.ts @@ -9,22 +9,22 @@ import type { ConstraintSchema } from './constraintSchema'; * A description of a [segment](https://docs.getunleash.io/reference/segments) */ export interface AdminSegmentSchema { + /** The list of constraints that are used in this segment */ + constraints: ConstraintSchema[]; + /** When the segment was created */ + createdAt: string; + /** The creator's email or username */ + createdBy?: string | null; + /** The description for this segment */ + description?: string | null; /** The ID of this segment */ id: number; /** The name of this segment */ name: string; - /** The description for this segment */ - description?: string | null; - /** The list of constraints that are used in this segment */ - constraints: ConstraintSchema[]; + /** The project the segment belongs to. Only present if the segment is a project-specific segment. */ + project?: string | null; /** The number of feature flags that use this segment. The number also includes the any flags with pending change requests that would add this segment. */ usedInFeatures?: number | null; /** The number of projects that use this segment. The number includes any projects with pending change requests that would add this segment. */ usedInProjects?: number | null; - /** The project the segment belongs to. Only present if the segment is a project-specific segment. */ - project?: string | null; - /** The creator's email or username */ - createdBy?: string | null; - /** When the segment was created */ - createdAt: string; } diff --git a/frontend/src/openapi/models/adminStrategiesSchemaStrategiesItem.ts b/frontend/src/openapi/models/adminStrategiesSchemaStrategiesItem.ts index 959cbec068..d32044d6a7 100644 --- a/frontend/src/openapi/models/adminStrategiesSchemaStrategiesItem.ts +++ b/frontend/src/openapi/models/adminStrategiesSchemaStrategiesItem.ts @@ -5,14 +5,14 @@ */ export type AdminStrategiesSchemaStrategiesItem = { - /** The ID of the strategy */ - id: string; - /** The name of the feature flag that this strategy belongs to. */ - featureName: string; - /** The ID of the project that the strategy belongs to. */ - projectId: string; /** The ID of the environment that the strategy belongs to. */ environment: string; + /** The name of the feature flag that this strategy belongs to. */ + featureName: string; + /** The ID of the strategy */ + id: string; + /** The ID of the project that the strategy belongs to. */ + projectId: string; /** The name of the strategy's type. */ strategyName: string; }; diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts index 129e8c7587..2f6bb91783 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchema.ts @@ -12,22 +12,22 @@ import type { VariantSchema } from './variantSchema'; * A simplified feature toggle model intended for the Unleash playground. */ export interface AdvancedPlaygroundEnvironmentFeatureSchema { - /** The feature's name. */ - name: string; - /** The feature's environment. */ - environment: string; /** The context to use when evaluating toggles */ context: SdkFlatContextSchema; - /** The ID of the project that contains this feature. */ - projectId: string; - /** Feature's applicable strategies and cumulative results of the strategies */ - strategies: AdvancedPlaygroundEnvironmentFeatureSchemaStrategies; - /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ - isEnabledInCurrentEnvironment: boolean; + /** The feature's environment. */ + environment: string; /** Whether this feature is enabled or not in the current environment. If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), this will be `false` to align with how client SDKs treat unresolved feature states. */ isEnabled: boolean; + /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ + isEnabledInCurrentEnvironment: boolean; + /** The feature's name. */ + name: string; + /** The ID of the project that contains this feature. */ + projectId: string; + /** Feature's applicable strategies and cumulative results of the strategies */ + strategies: AdvancedPlaygroundEnvironmentFeatureSchemaStrategies; /** The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts index 17079d6dac..92be7f7dcc 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaStrategies.ts @@ -3,19 +3,19 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult } from './advancedPlaygroundEnvironmentFeatureSchemaStrategiesResult'; import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; +import type { AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult } from './advancedPlaygroundEnvironmentFeatureSchemaStrategiesResult'; /** * Feature's applicable strategies and cumulative results of the strategies */ export type AdvancedPlaygroundEnvironmentFeatureSchemaStrategies = { + /** The strategies that apply to this feature. */ + data: PlaygroundStrategySchema[]; /** The cumulative results of all the feature's strategies. Can be `true`, `false`, or `unknown`. This property will only be `unknown` if one or more of the strategies can't be fully evaluated and the rest of the strategies all resolve to `false`. */ result: AdvancedPlaygroundEnvironmentFeatureSchemaStrategiesResult; - /** The strategies that apply to this feature. */ - data: PlaygroundStrategySchema[]; }; diff --git a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts index 5838f9401a..44b4b0eede 100644 --- a/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/advancedPlaygroundEnvironmentFeatureSchemaVariant.ts @@ -12,10 +12,10 @@ import type { AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload } from '. Otherwise, you'll get one of the feature's defined variants. */ export type AdvancedPlaygroundEnvironmentFeatureSchemaVariant = { - /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ - name: string; /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ enabled: boolean; + /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ + name: string; /** An optional payload attached to the variant. */ payload?: AdvancedPlaygroundEnvironmentFeatureSchemaVariantPayload; } | null; diff --git a/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts b/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts index 4dc4b3b401..d3f17d396d 100644 --- a/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundFeatureSchema.ts @@ -9,10 +9,10 @@ import type { AdvancedPlaygroundFeatureSchemaEnvironments } from './advancedPlay * A simplified feature toggle model intended for the Unleash playground. */ export interface AdvancedPlaygroundFeatureSchema { + /** The lists of features that have been evaluated grouped by environment. */ + environments: AdvancedPlaygroundFeatureSchemaEnvironments; /** The feature's name. */ name: string; /** The ID of the project that contains this feature. */ projectId: string; - /** The lists of features that have been evaluated grouped by environment. */ - environments: AdvancedPlaygroundFeatureSchemaEnvironments; } diff --git a/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts b/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts index d09b031d77..7bb85bc239 100644 --- a/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundRequestSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdvancedPlaygroundRequestSchemaProjects } from './advancedPlaygroundRequestSchemaProjects'; import type { SdkContextSchema } from './sdkContextSchema'; +import type { AdvancedPlaygroundRequestSchemaProjects } from './advancedPlaygroundRequestSchemaProjects'; /** * Data for the playground API to evaluate toggles in advanced mode with environment and context multi selection */ export interface AdvancedPlaygroundRequestSchema { + context: SdkContextSchema; /** The environments to evaluate toggles in. */ environments: string[]; /** A list of projects to check for toggles in. */ projects?: AdvancedPlaygroundRequestSchemaProjects; - context: SdkContextSchema; } diff --git a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts index dd652f9859..be01513aa0 100644 --- a/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts +++ b/frontend/src/openapi/models/advancedPlaygroundResponseSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { AdvancedPlaygroundRequestSchema } from './advancedPlaygroundRequestSchema'; import type { AdvancedPlaygroundFeatureSchema } from './advancedPlaygroundFeatureSchema'; +import type { AdvancedPlaygroundRequestSchema } from './advancedPlaygroundRequestSchema'; /** * The state of all features given the provided input. */ export interface AdvancedPlaygroundResponseSchema { - /** The given input used to evaluate the features. */ - input: AdvancedPlaygroundRequestSchema; /** The list of features that have been evaluated. */ features: AdvancedPlaygroundFeatureSchema[]; + /** The given input used to evaluate the features. */ + input: AdvancedPlaygroundRequestSchema; } diff --git a/frontend/src/openapi/models/apiTokenSchema.ts b/frontend/src/openapi/models/apiTokenSchema.ts index 73ef506633..dfe101eabf 100644 --- a/frontend/src/openapi/models/apiTokenSchema.ts +++ b/frontend/src/openapi/models/apiTokenSchema.ts @@ -9,29 +9,29 @@ import type { ApiTokenSchemaType } from './apiTokenSchemaType'; * An overview of an [Unleash API token](https://docs.getunleash.io/reference/api-tokens-and-client-keys). */ export interface ApiTokenSchema { + /** Alias is no longer in active use and will often be NULL. It's kept around as a way of allowing old proxy tokens created with the old metadata format to keep working. */ + alias?: string | null; + /** When the token was created. */ + createdAt: string; + /** The environment the token has access to. `*` if it has access to all environments. */ + environment?: string; + /** The token's expiration date. NULL if the token doesn't have an expiration set. */ + expiresAt?: string | null; + /** The project this token belongs to. */ + project: string; + /** 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 token used for authentication. */ secret: string; + /** When the token was last seen/used to authenticate with. NULL if the token has not yet been used for authentication. */ + seenAt?: string | null; + /** A unique name for this particular token */ + tokenName: string; + /** The type of API token */ + type: ApiTokenSchemaType; /** * This property was deprecated in Unleash v5. Prefer the `tokenName` property instead. * @deprecated */ username?: string; - /** A unique name for this particular token */ - tokenName: string; - /** The type of API token */ - type: ApiTokenSchemaType; - /** The environment the token has access to. `*` if it has access to all environments. */ - environment?: string; - /** The project this token belongs to. */ - project: string; - /** 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 token's expiration date. NULL if the token doesn't have an expiration set. */ - expiresAt?: string | null; - /** When the token was created. */ - createdAt: string; - /** When the token was last seen/used to authenticate with. NULL if the token has not yet been used for authentication. */ - seenAt?: string | null; - /** Alias is no longer in active use and will often be NULL. It's kept around as a way of allowing old proxy tokens created with the old metadata format to keep working. */ - alias?: string | null; } diff --git a/frontend/src/openapi/models/applicationSchema.ts b/frontend/src/openapi/models/applicationSchema.ts index 68ceb10365..20cd1b0991 100644 --- a/frontend/src/openapi/models/applicationSchema.ts +++ b/frontend/src/openapi/models/applicationSchema.ts @@ -11,18 +11,18 @@ import type { ApplicationUsageSchema } from './applicationUsageSchema'; export interface ApplicationSchema { /** Name of the application */ appName: string; + /** The CSS color that is used to color the application's entry in the application list */ + color?: string; + /** Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface */ + description?: string; + /** An URL to an icon file to be used for the applications's entry in the application list */ + icon?: string; /** Which SDK and version the application reporting uses. Typically represented as `:` */ sdkVersion?: string; /** Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK */ strategies?: string[]; - /** Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface */ - description?: string; /** A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application */ url?: string; - /** The CSS color that is used to color the application's entry in the application list */ - color?: string; - /** An URL to an icon file to be used for the applications's entry in the application list */ - icon?: string; /** The list of projects the application has been using. */ usage?: ApplicationUsageSchema[]; } diff --git a/frontend/src/openapi/models/applicationUsageSchema.ts b/frontend/src/openapi/models/applicationUsageSchema.ts index c73cff55ad..574358bbae 100644 --- a/frontend/src/openapi/models/applicationUsageSchema.ts +++ b/frontend/src/openapi/models/applicationUsageSchema.ts @@ -8,8 +8,8 @@ * Data about an project that have been used by applications. */ export interface ApplicationUsageSchema { - /** Name of the project */ - project: string; /** Which environments have been accessed in this project. */ environments: string[]; + /** Name of the project */ + project: string; } diff --git a/frontend/src/openapi/models/archiveFeature401.ts b/frontend/src/openapi/models/archiveFeature401.ts index 967737032a..68db626928 100644 --- a/frontend/src/openapi/models/archiveFeature401.ts +++ b/frontend/src/openapi/models/archiveFeature401.ts @@ -7,8 +7,8 @@ export type ArchiveFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeature403.ts b/frontend/src/openapi/models/archiveFeature403.ts index 5d9530de89..708cbfdfa5 100644 --- a/frontend/src/openapi/models/archiveFeature403.ts +++ b/frontend/src/openapi/models/archiveFeature403.ts @@ -7,8 +7,8 @@ export type ArchiveFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeature404.ts b/frontend/src/openapi/models/archiveFeature404.ts index b413f37aa0..af92c9e187 100644 --- a/frontend/src/openapi/models/archiveFeature404.ts +++ b/frontend/src/openapi/models/archiveFeature404.ts @@ -7,8 +7,8 @@ export type ArchiveFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures400.ts b/frontend/src/openapi/models/archiveFeatures400.ts index d4fe8a788c..1f70f4e959 100644 --- a/frontend/src/openapi/models/archiveFeatures400.ts +++ b/frontend/src/openapi/models/archiveFeatures400.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures401.ts b/frontend/src/openapi/models/archiveFeatures401.ts index 623ff2a41e..5e2c368e39 100644 --- a/frontend/src/openapi/models/archiveFeatures401.ts +++ b/frontend/src/openapi/models/archiveFeatures401.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures403.ts b/frontend/src/openapi/models/archiveFeatures403.ts index df60678a64..8201940bed 100644 --- a/frontend/src/openapi/models/archiveFeatures403.ts +++ b/frontend/src/openapi/models/archiveFeatures403.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/archiveFeatures415.ts b/frontend/src/openapi/models/archiveFeatures415.ts index e22a36242e..520443aa2c 100644 --- a/frontend/src/openapi/models/archiveFeatures415.ts +++ b/frontend/src/openapi/models/archiveFeatures415.ts @@ -7,8 +7,8 @@ export type ArchiveFeatures415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bannerSchema.ts b/frontend/src/openapi/models/bannerSchema.ts index e71e57be05..0e684b1f65 100644 --- a/frontend/src/openapi/models/bannerSchema.ts +++ b/frontend/src/openapi/models/bannerSchema.ts @@ -8,26 +8,26 @@ * An object describing a banner to be displayed to all users. */ export interface BannerSchema { - /** The banner's ID. Banner IDs are incrementing integers. In other words, a more recently created banner will always have a higher ID than an older one. */ - id: number; - /** The message to display to all users. Supports markdown. */ - message: string; + /** The date and time of when the banner was created. */ + createdAt: string; + /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ + dialog?: string | null; + /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ + dialogTitle?: string | null; /** Whether the banner should be displayed currently. If not specified, defaults to true. */ enabled?: boolean; - /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ - variant?: string; - /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ - sticky?: boolean; /** The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */ icon?: string | null; + /** The banner's ID. Banner IDs are incrementing integers. In other words, a more recently created banner will always have a higher ID than an older one. */ + id: number; /** The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */ link?: string | null; /** The text to display on the link. If not specified, will be displayed as "More info". */ linkText?: string | null; - /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ - dialogTitle?: string | null; - /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ - dialog?: string | null; - /** The date and time of when the banner was created. */ - createdAt: string; + /** The message to display to all users. Supports markdown. */ + message: string; + /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; + /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; } diff --git a/frontend/src/openapi/models/bulkMetrics400.ts b/frontend/src/openapi/models/bulkMetrics400.ts index cd190ba84d..63a02b2870 100644 --- a/frontend/src/openapi/models/bulkMetrics400.ts +++ b/frontend/src/openapi/models/bulkMetrics400.ts @@ -7,8 +7,8 @@ export type BulkMetrics400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkMetrics413.ts b/frontend/src/openapi/models/bulkMetrics413.ts index c70f1795cb..c2e4ed61ae 100644 --- a/frontend/src/openapi/models/bulkMetrics413.ts +++ b/frontend/src/openapi/models/bulkMetrics413.ts @@ -7,8 +7,8 @@ export type BulkMetrics413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkMetrics415.ts b/frontend/src/openapi/models/bulkMetrics415.ts index f983814135..eaefeb5e5a 100644 --- a/frontend/src/openapi/models/bulkMetrics415.ts +++ b/frontend/src/openapi/models/bulkMetrics415.ts @@ -7,8 +7,8 @@ export type BulkMetrics415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkRegistrationSchema.ts b/frontend/src/openapi/models/bulkRegistrationSchema.ts index fcca68c9c2..d6a72cd7b1 100644 --- a/frontend/src/openapi/models/bulkRegistrationSchema.ts +++ b/frontend/src/openapi/models/bulkRegistrationSchema.ts @@ -10,21 +10,21 @@ import type { DateSchema } from './dateSchema'; * An application registration. Defines the format POSTed by our server-side SDKs when they're starting up */ export interface BulkRegistrationSchema { + /** The name of the application that is evaluating toggles */ + appName: string; /** A list of applications this app registration has been registered through. If connected directly to Unleash, this is an empty list. This can be used in later visualizations to tell how many levels of proxy or Edge instances our SDKs have connected through */ connectVia?: BulkRegistrationSchemaConnectViaItem[]; - /** The name of the application that is evaluating toggles */ - appName: string; /** Which environment the application is running in */ environment: string; /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ instanceId: string; /** How often (in seconds) the application refreshes its features */ interval?: number; + /** The version the sdk is running. Typically : */ + sdkVersion?: string; /** The application started at */ started?: DateSchema; /** Enabled [strategies](https://docs.getunleash.io/reference/activation-strategies) in the application */ strategies?: string[]; - /** The version the sdk is running. Typically : */ - sdkVersion?: string; } diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts index 095d6899ec..f661450cc4 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff400.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts index 771560261c..a63fb9659b 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts index bb0728ab74..ec21bf5dc5 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts index 7d713d48a0..43438d47da 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts index 35f977e59a..dc7310fa2b 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff413.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts index c3d75fd491..385cc41106 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOff415.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOff415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts index 30b6b2b2d3..6f1d91df99 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn400.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts index ee9f8ad969..6c6b55b035 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts index 003e326c73..f26c7eada6 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts index bda3c1c091..8e04ad0c00 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts index 658232f903..fad07edb5b 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn413.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts index c896d83b84..1aa814d7f0 100644 --- a/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts +++ b/frontend/src/openapi/models/bulkToggleFeaturesEnvironmentOn415.ts @@ -7,8 +7,8 @@ export type BulkToggleFeaturesEnvironmentOn415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changePassword401.ts b/frontend/src/openapi/models/changePassword401.ts index 0a7972a5fb..9e1eee5384 100644 --- a/frontend/src/openapi/models/changePassword401.ts +++ b/frontend/src/openapi/models/changePassword401.ts @@ -7,8 +7,8 @@ export type ChangePassword401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changePassword403.ts b/frontend/src/openapi/models/changePassword403.ts index 95d4d214bf..b09ea9c327 100644 --- a/frontend/src/openapi/models/changePassword403.ts +++ b/frontend/src/openapi/models/changePassword403.ts @@ -7,8 +7,8 @@ export type ChangePassword403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changePassword415.ts b/frontend/src/openapi/models/changePassword415.ts index d0278686ae..391bb17363 100644 --- a/frontend/src/openapi/models/changePassword415.ts +++ b/frontend/src/openapi/models/changePassword415.ts @@ -7,8 +7,8 @@ export type ChangePassword415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changePasswordSchema.ts b/frontend/src/openapi/models/changePasswordSchema.ts index a4bcb74aed..25bd76d9a7 100644 --- a/frontend/src/openapi/models/changePasswordSchema.ts +++ b/frontend/src/openapi/models/changePasswordSchema.ts @@ -8,8 +8,8 @@ * Change password as long as the token is a valid token */ export interface ChangePasswordSchema { - /** A reset token used to validate that the user is allowed to change the password. */ - token: string; /** The new password for the user */ password: string; + /** A reset token used to validate that the user is allowed to change the password. */ + token: string; } diff --git a/frontend/src/openapi/models/changeProject400.ts b/frontend/src/openapi/models/changeProject400.ts index 061253f78b..52073edcae 100644 --- a/frontend/src/openapi/models/changeProject400.ts +++ b/frontend/src/openapi/models/changeProject400.ts @@ -7,8 +7,8 @@ export type ChangeProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeProject401.ts b/frontend/src/openapi/models/changeProject401.ts index add327cd28..695febd4d3 100644 --- a/frontend/src/openapi/models/changeProject401.ts +++ b/frontend/src/openapi/models/changeProject401.ts @@ -7,8 +7,8 @@ export type ChangeProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeProject403.ts b/frontend/src/openapi/models/changeProject403.ts index 7b20bb9d50..4b11a18479 100644 --- a/frontend/src/openapi/models/changeProject403.ts +++ b/frontend/src/openapi/models/changeProject403.ts @@ -7,8 +7,8 @@ export type ChangeProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeProject404.ts b/frontend/src/openapi/models/changeProject404.ts index 6fde86df07..25ba171335 100644 --- a/frontend/src/openapi/models/changeProject404.ts +++ b/frontend/src/openapi/models/changeProject404.ts @@ -7,8 +7,8 @@ export type ChangeProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeProject415.ts b/frontend/src/openapi/models/changeProject415.ts index 2b00d40749..7614d17386 100644 --- a/frontend/src/openapi/models/changeProject415.ts +++ b/frontend/src/openapi/models/changeProject415.ts @@ -7,8 +7,8 @@ export type ChangeProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRequestApprovalSchema.ts b/frontend/src/openapi/models/changeRequestApprovalSchema.ts index 791672e88a..aaf88e705c 100644 --- a/frontend/src/openapi/models/changeRequestApprovalSchema.ts +++ b/frontend/src/openapi/models/changeRequestApprovalSchema.ts @@ -9,8 +9,8 @@ import type { ChangeRequestApprovalSchemaCreatedBy } from './changeRequestApprov * Information about a [change request](https://docs.getunleash.io/reference/change-requests) approval. */ export interface ChangeRequestApprovalSchema { - /** Information about the user who gave this approval. */ - createdBy: ChangeRequestApprovalSchemaCreatedBy; /** When the approval was given. */ createdAt: string; + /** Information about the user who gave this approval. */ + createdBy: ChangeRequestApprovalSchemaCreatedBy; } diff --git a/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts index 27b100d94b..187efc1f5d 100644 --- a/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestApprovalSchemaCreatedBy.ts @@ -10,8 +10,8 @@ export type ChangeRequestApprovalSchemaCreatedBy = { /** The ID of the user who gave this approval. */ id?: number; - /** The approving user's username. */ - username?: string; /** The URL where the user's image can be found. */ imageUrl?: string; + /** The approving user's username. */ + username?: string; }; diff --git a/frontend/src/openapi/models/changeRequestChangeSchema.ts b/frontend/src/openapi/models/changeRequestChangeSchema.ts index 70a7be74ac..fb4380e910 100644 --- a/frontend/src/openapi/models/changeRequestChangeSchema.ts +++ b/frontend/src/openapi/models/changeRequestChangeSchema.ts @@ -3,23 +3,23 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestChangeSchemaPayload } from './changeRequestChangeSchemaPayload'; import type { ChangeRequestChangeSchemaCreatedBy } from './changeRequestChangeSchemaCreatedBy'; +import type { ChangeRequestChangeSchemaPayload } from './changeRequestChangeSchemaPayload'; /** * A change request change, containing info about the type of change and the specific changes. */ export interface ChangeRequestChangeSchema { - /** The ID of this change. */ - id: number; /** The kind of action that the change contains information about. */ action: string; /** A description of the conflict caused by this change. Only present if there are any conflicts. */ conflict?: string; - /** The data required to perform this action. */ - payload: ChangeRequestChangeSchemaPayload; - /** The user who created this change. */ - createdBy?: ChangeRequestChangeSchemaCreatedBy; /** When this change was suggested */ createdAt?: string; + /** The user who created this change. */ + createdBy?: ChangeRequestChangeSchemaCreatedBy; + /** The ID of this change. */ + id: number; + /** The data required to perform this action. */ + payload: ChangeRequestChangeSchemaPayload; } diff --git a/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts index db9f6879ca..8749dfaf68 100644 --- a/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestChangeSchemaCreatedBy.ts @@ -8,8 +8,8 @@ * The user who created this change. */ export type ChangeRequestChangeSchemaCreatedBy = { - /** The user's username. */ - username?: string | null; /** The URL where the user's image can be found. */ imageUrl?: string | null; + /** The user's username. */ + username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestCommentSchema.ts b/frontend/src/openapi/models/changeRequestCommentSchema.ts index d71c106ee2..10153804d1 100644 --- a/frontend/src/openapi/models/changeRequestCommentSchema.ts +++ b/frontend/src/openapi/models/changeRequestCommentSchema.ts @@ -9,12 +9,12 @@ import type { ChangeRequestCommentSchemaCreatedBy } from './changeRequestComment * A comment belonging to a [change request](https://docs.getunleash.io/reference/change-requests). */ export interface ChangeRequestCommentSchema { + /** When the comment was made. */ + createdAt: string; + /** Information about the user who posted the comment */ + createdBy: ChangeRequestCommentSchemaCreatedBy; /** The comment's ID. Unique per change request. */ id?: number; /** The content of the comment. */ text: string; - /** Information about the user who posted the comment */ - createdBy: ChangeRequestCommentSchemaCreatedBy; - /** When the comment was made. */ - createdAt: string; } diff --git a/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts index 7b83e19226..7501c799d3 100644 --- a/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestCommentSchemaCreatedBy.ts @@ -8,8 +8,8 @@ * Information about the user who posted the comment */ export type ChangeRequestCommentSchemaCreatedBy = { - /** The user's username. */ - username?: string | null; /** The URL where the user's image can be found. */ imageUrl?: string | null; + /** The user's username. */ + username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts index e9e064c076..10f61ee3fa 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOf.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfPayload } from './changeReque * Update the enabled state for a feature. */ export type ChangeRequestCreateFeatureSchemaOneOf = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateFeatureSchemaOneOfPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts index 8bcf520340..665d778bfd 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfEight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfEightPayload } from './change * Delete a strategy from this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfEight = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfEightAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateFeatureSchemaOneOfEightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts index 56650dfa1a..bba07d1209 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfFour.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestCreateFeatureSchemaOneOfFour = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfFourAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts index 9a72c81293..b161132505 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestCreateFeatureSchemaOneOfOneeight = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfOneeightAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts index 2df0e82a29..a75a875de8 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOneone.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOneoneAction } from './change * Archive a feature. */ export type ChangeRequestCreateFeatureSchemaOneOfOneone = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfOneoneAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts index 69c0a2c2bb..4979d8c632 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnesix.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestCreateFeatureSchemaOneOfOnesix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfOnesixAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts index dd5f89d51b..43f3499417 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateFeatureSchemaOneOfOnethreePayload } from './cha * Update variants for this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfOnethree = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfOnethreeAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateFeatureSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts index cdea0fa262..60d0ecdd6f 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestCreateFeatureSchemaOneOfSix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfSixAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts index b2940cf065..bec2e4420c 100644 --- a/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts +++ b/frontend/src/openapi/models/changeRequestCreateFeatureSchemaOneOfTwozero.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateFeatureSchemaOneOfTwozeroAction } from './chang * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateFeatureSchemaOneOfTwozero = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateFeatureSchemaOneOfTwozeroAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts index 1225e7571c..b41499892c 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfNine.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestCreateSchemaOneOfNine = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfNineAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts index ae5d08f387..0cb1387339 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfOneeightPayload } from './changeRequ * Update variants for this feature. */ export type ChangeRequestCreateSchemaOneOfOneeight = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfOneeightAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateSchemaOneOfOneeightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts index c1ed82e4b8..266f2d1f0e 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOneone.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestCreateSchemaOneOfOneone = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfOneoneAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts index ed97d3fa61..6b83d85fff 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnesix.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateSchemaOneOfOnesixAction } from './changeRequest * Archive a feature. */ export type ChangeRequestCreateSchemaOneOfOnesix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfOnesixAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts index 1680ee2441..00419f76c2 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfOnethreePayload } from './changeRequ * Delete a strategy from this feature. */ export type ChangeRequestCreateSchemaOneOfOnethree = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfOnethreeAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts index 168217c9ea..aae66ddafc 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { ChangeRequestCreateSchemaOneOfSixPayload } from './changeRequestCr * Update the enabled state for a feature. */ export type ChangeRequestCreateSchemaOneOfSix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfSixAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestCreateSchemaOneOfSixPayload; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts index c323575147..df6cca95d2 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwofive.ts @@ -9,8 +9,8 @@ import type { ChangeRequestCreateSchemaOneOfTwofiveAction } from './changeReques * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestCreateSchemaOneOfTwofive = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfTwofiveAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts index 5c403cee30..a21383133f 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwoone.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestCreateSchemaOneOfTwoone = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfTwooneAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts index db1cb76103..5b416f1222 100644 --- a/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts +++ b/frontend/src/openapi/models/changeRequestCreateSchemaOneOfTwothree.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestCreateSchemaOneOfTwothree = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestCreateSchemaOneOfTwothreeAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts b/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts index 65723bafb8..e586050cf8 100644 --- a/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts +++ b/frontend/src/openapi/models/changeRequestEnvironmentConfigSchema.ts @@ -8,12 +8,12 @@ * The [change request](https://docs.getunleash.io/reference/change-requests) configuration for a specific environment. */ export interface ChangeRequestEnvironmentConfigSchema { - /** The environment that this configuration applies to. */ - environment: string; - /** The [type of the environment](https://docs.getunleash.io/reference/environments#environment-types) listed in `environment`. */ - type: string; /** `true` if this environment has change requests enabled, otherwise `false`. */ changeRequestEnabled: boolean; + /** The environment that this configuration applies to. */ + environment: string; /** The number of approvals that are required for a change request to be fully approved and ready to be applied in this environment. */ requiredApprovals: number | null; + /** The [type of the environment](https://docs.getunleash.io/reference/environments#environment-types) listed in `environment`. */ + type: string; } diff --git a/frontend/src/openapi/models/changeRequestFeatureSchema.ts b/frontend/src/openapi/models/changeRequestFeatureSchema.ts index 0b8a704cb0..287c0bc795 100644 --- a/frontend/src/openapi/models/changeRequestFeatureSchema.ts +++ b/frontend/src/openapi/models/changeRequestFeatureSchema.ts @@ -10,11 +10,11 @@ import type { ChangeRequestDefaultChangeSchema } from './changeRequestDefaultCha * A feature and all its suggested changes. */ export interface ChangeRequestFeatureSchema { - /** The name of the feature */ - name: string; - /** A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level. */ - conflict?: string; /** List of changes inside change request. This list may be empty when listing all change requests for a project. */ changes: ChangeRequestChangeSchema[]; + /** A string describing the conflicts related to this change. Only present if there are any concflicts on the feature level. */ + conflict?: string; defaultChange?: ChangeRequestDefaultChangeSchema; + /** The name of the feature */ + name: string; } diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts index b44aae1da3..fad6a4c5d8 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfNine.ts @@ -10,9 +10,9 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add a strategy to the feature */ export type ChangeRequestOneOrManyCreateSchemaOneOfNine = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfNineAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts index ca9ead179c..3e4283a938 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneeight.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOneeightPayload } from './c * Update variants for this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneeight = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfOneeightAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestOneOrManyCreateSchemaOneOfOneeightPayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts index 277b416aa2..9d9b9e90dc 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOneone.ts @@ -10,9 +10,9 @@ import type { UpdateFeatureStrategySchema } from './updateFeatureStrategySchema' * Update a strategy belonging to this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOneone = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfOneoneAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: UpdateFeatureStrategySchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts index ae01698984..7be07eb9a3 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnesix.ts @@ -9,8 +9,8 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction } from './chan * Archive a feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnesix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfOnesixAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts index e6a02937b0..309adda383 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfOnethree.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfOnethreePayload } from './c * Delete a strategy from this feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfOnethree = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfOnethreeAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestOneOrManyCreateSchemaOneOfOnethreePayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts index 29b665ad84..95bc4c6307 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfSix.ts @@ -10,9 +10,9 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfSixPayload } from './change * Update the enabled state for a feature. */ export type ChangeRequestOneOrManyCreateSchemaOneOfSix = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfSixAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: ChangeRequestOneOrManyCreateSchemaOneOfSixPayload; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts index aabf765c0d..d1b3dc4b77 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwofive.ts @@ -9,8 +9,8 @@ import type { ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction } from './cha * Remove a parent feature dependency or all dependencies if no payload. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwofive = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfTwofiveAction; + /** The name of the feature that this change applies to. */ + feature: string; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts index 07d23cb50e..810d5402f0 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwoone.ts @@ -10,9 +10,9 @@ import type { SetStrategySortOrderSchema } from './setStrategySortOrderSchema'; * Reorder strategies for this feature */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwoone = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfTwooneAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: SetStrategySortOrderSchema; }; diff --git a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts index 7d32e59484..655b327843 100644 --- a/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts +++ b/frontend/src/openapi/models/changeRequestOneOrManyCreateSchemaOneOfTwothree.ts @@ -10,9 +10,9 @@ import type { CreateDependentFeatureSchema } from './createDependentFeatureSchem * Add a parent feature dependency. */ export type ChangeRequestOneOrManyCreateSchemaOneOfTwothree = { - /** The name of the feature that this change applies to. */ - feature: string; /** The name of this action. */ action: ChangeRequestOneOrManyCreateSchemaOneOfTwothreeAction; + /** The name of the feature that this change applies to. */ + feature: string; payload: CreateDependentFeatureSchema; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestSchemaOneOf.ts index 1586fddefd..947892870a 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOf.ts @@ -3,38 +3,38 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestSchemaOneOfCreatedBy } from './changeRequestSchemaOneOfCreatedBy'; +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestSchemaOneOfState } from './changeRequestSchemaOneOfState'; export type ChangeRequestSchemaOneOf = { - /** This change requests's ID. */ - id: number; - /** A title describing the change request's content. */ - title?: string; + /** A list of approvals that this change request has received. */ + approvals?: ChangeRequestApprovalSchema[]; + /** All comments that have been made on this change request. */ + comments?: ChangeRequestCommentSchema[]; + /** When this change request was created. */ + createdAt: string; + /** The user who created this change request. */ + createdBy: ChangeRequestSchemaOneOfCreatedBy; /** The environment in which the changes should be applied. */ environment: string; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; + /** This change requests's ID. */ + id: number; /** The minimum number of approvals required before this change request can be applied. */ minApprovals: number; /** The project this change request belongs to. */ project: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; - /** The list of segments and their changes that relate to this change request. */ - segments: ChangeRequestSegmentChangeSchema[]; - /** A list of approvals that this change request has received. */ - approvals?: ChangeRequestApprovalSchema[]; /** A list of rejections that this change request has received. */ rejections?: ChangeRequestApprovalSchema[]; - /** All comments that have been made on this change request. */ - comments?: ChangeRequestCommentSchema[]; - /** The user who created this change request. */ - createdBy: ChangeRequestSchemaOneOfCreatedBy; - /** When this change request was created. */ - createdAt: string; + /** The list of segments and their changes that relate to this change request. */ + segments: ChangeRequestSegmentChangeSchema[]; /** The current state of the change request. */ state: ChangeRequestSchemaOneOfState; + /** A title describing the change request's content. */ + title?: string; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts index 0c4864284c..df55f2c46f 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfCreatedBy.ts @@ -8,7 +8,7 @@ * The user who created this change request. */ export type ChangeRequestSchemaOneOfCreatedBy = { - username?: string | null; /** The URL of the user's profile image. */ imageUrl?: string | null; + username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts index 6bbb20e9be..3e3844f085 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfFour.ts @@ -3,40 +3,40 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; -import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; import type { ChangeRequestApprovalSchema } from './changeRequestApprovalSchema'; import type { ChangeRequestCommentSchema } from './changeRequestCommentSchema'; import type { ChangeRequestSchemaOneOfFourCreatedBy } from './changeRequestSchemaOneOfFourCreatedBy'; -import type { ChangeRequestSchemaOneOfFourState } from './changeRequestSchemaOneOfFourState'; +import type { ChangeRequestFeatureSchema } from './changeRequestFeatureSchema'; import type { ChangeRequestScheduleSchema } from './changeRequestScheduleSchema'; +import type { ChangeRequestSegmentChangeSchema } from './changeRequestSegmentChangeSchema'; +import type { ChangeRequestSchemaOneOfFourState } from './changeRequestSchemaOneOfFourState'; export type ChangeRequestSchemaOneOfFour = { - /** This change requests's ID. */ - id: number; - /** A title describing the change request's content. */ - title?: string; + /** A list of approvals that this change request has received. */ + approvals?: ChangeRequestApprovalSchema[]; + /** All comments that have been made on this change request. */ + comments?: ChangeRequestCommentSchema[]; + /** When this change request was created. */ + createdAt: string; + /** The user who created this change request. */ + createdBy: ChangeRequestSchemaOneOfFourCreatedBy; /** The environment in which the changes should be applied. */ environment: string; + /** The list of features and their changes that relate to this change request. */ + features: ChangeRequestFeatureSchema[]; + /** This change requests's ID. */ + id: number; /** The minimum number of approvals required before this change request can be applied. */ minApprovals: number; /** The project this change request belongs to. */ project: string; - /** The list of features and their changes that relate to this change request. */ - features: ChangeRequestFeatureSchema[]; - /** The list of segments and their changes that relate to this change request. */ - segments: ChangeRequestSegmentChangeSchema[]; - /** A list of approvals that this change request has received. */ - approvals?: ChangeRequestApprovalSchema[]; /** A list of rejections that this change request has received. */ rejections?: ChangeRequestApprovalSchema[]; - /** All comments that have been made on this change request. */ - comments?: ChangeRequestCommentSchema[]; - /** The user who created this change request. */ - createdBy: ChangeRequestSchemaOneOfFourCreatedBy; - /** When this change request was created. */ - createdAt: string; + schedule: ChangeRequestScheduleSchema; + /** The list of segments and their changes that relate to this change request. */ + segments: ChangeRequestSegmentChangeSchema[]; /** The current state of the change request. */ state: ChangeRequestSchemaOneOfFourState; - schedule: ChangeRequestScheduleSchema; + /** A title describing the change request's content. */ + title?: string; }; diff --git a/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts b/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts index 9315a36d3d..0f3db5d830 100644 --- a/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSchemaOneOfFourCreatedBy.ts @@ -8,7 +8,7 @@ * The user who created this change request. */ export type ChangeRequestSchemaOneOfFourCreatedBy = { - username?: string | null; /** The URL of the user's profile image. */ imageUrl?: string | null; + username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts b/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts index 48001fa35b..1198ab3ffe 100644 --- a/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts +++ b/frontend/src/openapi/models/changeRequestSegmentChangeSchema.ts @@ -3,25 +3,25 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ChangeRequestSegmentChangeSchemaPayload } from './changeRequestSegmentChangeSchemaPayload'; import type { ChangeRequestSegmentChangeSchemaCreatedBy } from './changeRequestSegmentChangeSchemaCreatedBy'; +import type { ChangeRequestSegmentChangeSchemaPayload } from './changeRequestSegmentChangeSchemaPayload'; /** * A change request segment change, containing info about the type of segment change and the specific changes. */ export interface ChangeRequestSegmentChangeSchema { - /** The ID of this change. */ - id: number; /** The kind of action that the change contains information about. */ action: string; /** A description of the conflict caused by this change. Only present if there are any conflicts. */ conflict?: string; - /** The data required to perform this action. */ - payload: ChangeRequestSegmentChangeSchemaPayload; - /** The user who created this change. */ - createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy; /** When this change was suggested */ createdAt?: string; + /** The user who created this change. */ + createdBy?: ChangeRequestSegmentChangeSchemaCreatedBy; + /** The ID of this change. */ + id: number; /** The current name of the segment */ name: string; + /** The data required to perform this action. */ + payload: ChangeRequestSegmentChangeSchemaPayload; } diff --git a/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts b/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts index 657e8c9d20..b6479e3ac4 100644 --- a/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts +++ b/frontend/src/openapi/models/changeRequestSegmentChangeSchemaCreatedBy.ts @@ -8,8 +8,8 @@ * The user who created this change. */ export type ChangeRequestSegmentChangeSchemaCreatedBy = { - /** The user's username. */ - username?: string | null; /** The URL where the user's image can be found. */ imageUrl?: string | null; + /** The user's username. */ + username?: string | null; }; diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts index a62a2b7f78..dae86a4b89 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOf.ts @@ -6,8 +6,8 @@ import type { ChangeRequestStateSchemaOneOfState } from './changeRequestStateSchemaOneOfState'; export type ChangeRequestStateSchemaOneOf = { - /** The new desired state for the change request */ - state: ChangeRequestStateSchemaOneOfState; /** Any comments accompanying the state changed. Used when sending a draft to review. */ comment?: string; + /** The new desired state for the change request */ + state: ChangeRequestStateSchemaOneOfState; }; diff --git a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts index 3d0bed1a3f..cb4adb38b3 100644 --- a/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/changeRequestStateSchemaOneOfThree.ts @@ -6,10 +6,10 @@ import type { ChangeRequestStateSchemaOneOfThreeState } from './changeRequestStateSchemaOneOfThreeState'; export type ChangeRequestStateSchemaOneOfThree = { - /** The new desired state for the change request */ - state: ChangeRequestStateSchemaOneOfThreeState; - /** The time at which the change request should be applied. */ - scheduledAt: string; /** Any comments accompanying the state changed. Used when sending a draft to review. */ comment?: string; + /** The time at which the change request should be applied. */ + scheduledAt: string; + /** The new desired state for the change request */ + state: ChangeRequestStateSchemaOneOfThreeState; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup401.ts b/frontend/src/openapi/models/changeRoleForGroup401.ts index 96f9a4608e..15f5b67dc2 100644 --- a/frontend/src/openapi/models/changeRoleForGroup401.ts +++ b/frontend/src/openapi/models/changeRoleForGroup401.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup403.ts b/frontend/src/openapi/models/changeRoleForGroup403.ts index dc715f57ee..7f695da071 100644 --- a/frontend/src/openapi/models/changeRoleForGroup403.ts +++ b/frontend/src/openapi/models/changeRoleForGroup403.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForGroup404.ts b/frontend/src/openapi/models/changeRoleForGroup404.ts index 80ec80e0d7..d889d7cd77 100644 --- a/frontend/src/openapi/models/changeRoleForGroup404.ts +++ b/frontend/src/openapi/models/changeRoleForGroup404.ts @@ -7,8 +7,8 @@ export type ChangeRoleForGroup404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser401.ts b/frontend/src/openapi/models/changeRoleForUser401.ts index b7c30109ac..f0424f5f97 100644 --- a/frontend/src/openapi/models/changeRoleForUser401.ts +++ b/frontend/src/openapi/models/changeRoleForUser401.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser403.ts b/frontend/src/openapi/models/changeRoleForUser403.ts index 9c4233acc8..52505e476d 100644 --- a/frontend/src/openapi/models/changeRoleForUser403.ts +++ b/frontend/src/openapi/models/changeRoleForUser403.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeRoleForUser404.ts b/frontend/src/openapi/models/changeRoleForUser404.ts index eb2cf023ab..0a57e9473e 100644 --- a/frontend/src/openapi/models/changeRoleForUser404.ts +++ b/frontend/src/openapi/models/changeRoleForUser404.ts @@ -7,8 +7,8 @@ export type ChangeRoleForUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword400.ts b/frontend/src/openapi/models/changeUserPassword400.ts index 483e455108..bcbf7b55e9 100644 --- a/frontend/src/openapi/models/changeUserPassword400.ts +++ b/frontend/src/openapi/models/changeUserPassword400.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword401.ts b/frontend/src/openapi/models/changeUserPassword401.ts index 951320e572..0969f3a29e 100644 --- a/frontend/src/openapi/models/changeUserPassword401.ts +++ b/frontend/src/openapi/models/changeUserPassword401.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/changeUserPassword403.ts b/frontend/src/openapi/models/changeUserPassword403.ts index bc982be8c3..a34d6fa0fa 100644 --- a/frontend/src/openapi/models/changeUserPassword403.ts +++ b/frontend/src/openapi/models/changeUserPassword403.ts @@ -7,8 +7,8 @@ export type ChangeUserPassword403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/checkDependenciesExist401.ts b/frontend/src/openapi/models/checkDependenciesExist401.ts index 474c83c6b8..cc344371a5 100644 --- a/frontend/src/openapi/models/checkDependenciesExist401.ts +++ b/frontend/src/openapi/models/checkDependenciesExist401.ts @@ -7,8 +7,8 @@ export type CheckDependenciesExist401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/checkDependenciesExist403.ts b/frontend/src/openapi/models/checkDependenciesExist403.ts index b082e9aa50..e5df00dbcf 100644 --- a/frontend/src/openapi/models/checkDependenciesExist403.ts +++ b/frontend/src/openapi/models/checkDependenciesExist403.ts @@ -7,8 +7,8 @@ export type CheckDependenciesExist403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/clientApplicationSchema.ts b/frontend/src/openapi/models/clientApplicationSchema.ts index 569fdbe45e..fd231b01ef 100644 --- a/frontend/src/openapi/models/clientApplicationSchema.ts +++ b/frontend/src/openapi/models/clientApplicationSchema.ts @@ -11,17 +11,17 @@ import type { ClientApplicationSchemaStarted } from './clientApplicationSchemaSt export interface ClientApplicationSchema { /** An identifier for the app that uses the sdk, should be static across SDK restarts */ appName: string; - /** A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds */ - instanceId?: string; - /** An SDK version identifier. Usually formatted as "unleash-client-:" */ - sdkVersion?: string; /** * The SDK's configured 'environment' property. Deprecated. This property does **not** control which Unleash environment the SDK gets toggles for. To control Unleash environments, use the SDKs API key. * @deprecated */ environment?: string; + /** A unique identifier identifying the instance of the application running the SDK. Often changes based on execution environment. For instance: two pods in Kubernetes will have two different instanceIds */ + instanceId?: string; /** How often (in seconds) does the client refresh its toggles */ interval: number; + /** An SDK version identifier. Usually formatted as "unleash-client-:" */ + sdkVersion?: string; /** Either an RFC-3339 timestamp or a unix timestamp in seconds */ started: ClientApplicationSchemaStarted; /** Which strategies the SDKs runtime knows about */ diff --git a/frontend/src/openapi/models/clientFeatureSchema.ts b/frontend/src/openapi/models/clientFeatureSchema.ts index 8eeee10e0d..b0b44c518f 100644 --- a/frontend/src/openapi/models/clientFeatureSchema.ts +++ b/frontend/src/openapi/models/clientFeatureSchema.ts @@ -3,32 +3,32 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { DependentFeatureSchema } from './dependentFeatureSchema'; import type { FeatureStrategySchema } from './featureStrategySchema'; import type { VariantSchema } from './variantSchema'; -import type { DependentFeatureSchema } from './dependentFeatureSchema'; /** * Feature toggle configuration used by SDKs to evaluate state of a toggle */ export interface ClientFeatureSchema { - /** The unique name of a feature toggle. Is validated to be URL safe on creation */ - name: string; - /** What kind of feature flag is this. Refer to the documentation on [feature toggle types](https://docs.getunleash.io/reference/feature-toggle-types) for more information */ - type?: string; + /** Feature dependencies for this toggle */ + dependencies?: DependentFeatureSchema[]; /** A description of the toggle */ description?: string | null; /** Whether the feature flag is enabled for the current API key or not. This is ANDed with the evaluation results of the strategies list, so if this is false, the evaluation result will always be false */ enabled: boolean; - /** If this is true Unleash believes this feature toggle has been active longer than Unleash expects a toggle of this type to be active */ - stale?: boolean; /** Set to true if SDKs should trigger [impression events](https://docs.getunleash.io/reference/impression-data) when this toggle is evaluated */ impressionData?: boolean | null; + /** The unique name of a feature toggle. Is validated to be URL safe on creation */ + name: string; /** Which project this feature toggle belongs to */ project?: string; + /** If this is true Unleash believes this feature toggle has been active longer than Unleash expects a toggle of this type to be active */ + stale?: boolean; /** Evaluation strategies for this toggle. Each entry in this list will be evaluated and ORed together */ strategies?: FeatureStrategySchema[]; + /** What kind of feature flag is this. Refer to the documentation on [feature toggle types](https://docs.getunleash.io/reference/feature-toggle-types) for more information */ + type?: string; /** [Variants](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) configured for this toggle */ variants?: VariantSchema[] | null; - /** Feature dependencies for this toggle */ - dependencies?: DependentFeatureSchema[]; } diff --git a/frontend/src/openapi/models/clientFeaturesQuerySchema.ts b/frontend/src/openapi/models/clientFeaturesQuerySchema.ts index 45b6052948..c6ab09d7bc 100644 --- a/frontend/src/openapi/models/clientFeaturesQuerySchema.ts +++ b/frontend/src/openapi/models/clientFeaturesQuerySchema.ts @@ -8,15 +8,6 @@ * Query parameters active for a client features request */ export interface ClientFeaturesQuerySchema { - /** Features tagged with one of these tags are included */ - tag?: string[][]; - /** - * Features that are part of these projects are included in this response. (DEPRECATED) - Handled by API tokens - * @deprecated - */ - project?: string[]; - /** Features are filtered to only include features whose name starts with this prefix */ - namePrefix?: string; /** * Strategies for the feature toggle configured for this environment are included. (DEPRECATED) - Handled by API tokens * @deprecated @@ -24,4 +15,13 @@ export interface ClientFeaturesQuerySchema { environment?: string; /** Set to true if requesting client does not support Unleash-Client-Specification 4.2.2 or newer. Modern SDKs will have this set to false, since they will be able to merge constraints and segments themselves */ inlineSegmentConstraints?: boolean; + /** Features are filtered to only include features whose name starts with this prefix */ + namePrefix?: string; + /** + * Features that are part of these projects are included in this response. (DEPRECATED) - Handled by API tokens + * @deprecated + */ + project?: string[]; + /** Features tagged with one of these tags are included */ + tag?: string[][]; } diff --git a/frontend/src/openapi/models/clientFeaturesSchema.ts b/frontend/src/openapi/models/clientFeaturesSchema.ts index e843f85179..338094fc08 100644 --- a/frontend/src/openapi/models/clientFeaturesSchema.ts +++ b/frontend/src/openapi/models/clientFeaturesSchema.ts @@ -4,19 +4,19 @@ * See `gen:api` script in package.json */ import type { ClientFeatureSchema } from './clientFeatureSchema'; -import type { ClientSegmentSchema } from './clientSegmentSchema'; import type { ClientFeaturesQuerySchema } from './clientFeaturesQuerySchema'; +import type { ClientSegmentSchema } from './clientSegmentSchema'; /** * Configuration data for server-side SDKs for evaluating feature flags. */ export interface ClientFeaturesSchema { - /** A version number for the format used in the response. Most Unleash instances now return version 2, which includes segments as a separate array */ - version: number; /** A list of feature toggles with their configuration */ features: ClientFeatureSchema[]; - /** A list of [Segments](https://docs.getunleash.io/reference/segments) configured for this Unleash instance */ - segments?: ClientSegmentSchema[]; /** A summary of filters and parameters sent to the endpoint. Used by the server to build the features and segments response */ query?: ClientFeaturesQuerySchema; + /** A list of [Segments](https://docs.getunleash.io/reference/segments) configured for this Unleash instance */ + segments?: ClientSegmentSchema[]; + /** A version number for the format used in the response. Most Unleash instances now return version 2, which includes segments as a separate array */ + version: number; } diff --git a/frontend/src/openapi/models/clientMetricsEnvSchema.ts b/frontend/src/openapi/models/clientMetricsEnvSchema.ts index ef050086bf..0b153370e7 100644 --- a/frontend/src/openapi/models/clientMetricsEnvSchema.ts +++ b/frontend/src/openapi/models/clientMetricsEnvSchema.ts @@ -10,18 +10,18 @@ import type { ClientMetricsEnvSchemaVariants } from './clientMetricsEnvSchemaVar * Used for reporting feature evaluation results from SDKs */ export interface ClientMetricsEnvSchema { - /** Name of the feature checked by the SDK */ - featureName: string; /** The name of the application the SDK is being used in */ appName: string; /** Which environment the SDK is being used in */ environment: string; - /** The start of the time window these metrics are valid for. The window is 1 hour wide */ - timestamp?: DateSchema; - /** How many times the toggle evaluated to true */ - yes?: number; + /** Name of the feature checked by the SDK */ + featureName: string; /** How many times the toggle evaluated to false */ no?: number; + /** The start of the time window these metrics are valid for. The window is 1 hour wide */ + timestamp?: DateSchema; /** How many times each variant was returned */ variants?: ClientMetricsEnvSchemaVariants; + /** How many times the toggle evaluated to true */ + yes?: number; } diff --git a/frontend/src/openapi/models/clientMetricsSchema.ts b/frontend/src/openapi/models/clientMetricsSchema.ts index 508b469cd9..8d8ec63d0e 100644 --- a/frontend/src/openapi/models/clientMetricsSchema.ts +++ b/frontend/src/openapi/models/clientMetricsSchema.ts @@ -11,10 +11,10 @@ import type { ClientMetricsSchemaBucket } from './clientMetricsSchemaBucket'; export interface ClientMetricsSchema { /** The name of the application that is evaluating toggles */ appName: string; - /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ - instanceId?: string; - /** Which environment the application is running in */ - environment?: string; /** Holds all metrics gathered over a window of time. Typically 1 hour wide */ bucket: ClientMetricsSchemaBucket; + /** Which environment the application is running in */ + environment?: string; + /** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */ + instanceId?: string; } diff --git a/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts b/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts index 34809e4d42..e60e97c47c 100644 --- a/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts +++ b/frontend/src/openapi/models/clientMetricsSchemaBucketToggles.ts @@ -10,11 +10,11 @@ import type { ClientMetricsSchemaBucketTogglesVariants } from './clientMetricsSc */ export type ClientMetricsSchemaBucketToggles = { [key: string]: { - /** How many times the toggle evaluated to true */ - yes?: number; /** How many times the toggle evaluated to false */ no?: number; /** An object describing how many times each variant was returned. Variant names are used as properties, and the number of times they were exposed is the corresponding value (i.e. `{ [variantName]: number }`). */ variants?: ClientMetricsSchemaBucketTogglesVariants; + /** How many times the toggle evaluated to true */ + yes?: number; }; }; diff --git a/frontend/src/openapi/models/clientSegmentSchema.ts b/frontend/src/openapi/models/clientSegmentSchema.ts index 610de0c3e3..7bc1443e47 100644 --- a/frontend/src/openapi/models/clientSegmentSchema.ts +++ b/frontend/src/openapi/models/clientSegmentSchema.ts @@ -9,10 +9,10 @@ import type { ConstraintSchema } from './constraintSchema'; * Represents a client API segment of users defined by a set of constraints. */ export interface ClientSegmentSchema { + /** List of constraints that determine which users are part of the segment */ + constraints: ConstraintSchema[]; /** The segment's id. */ id: number; /** The name of the segment. */ name?: string; - /** List of constraints that determine which users are part of the segment */ - constraints: ConstraintSchema[]; } diff --git a/frontend/src/openapi/models/cloneEnvironment400.ts b/frontend/src/openapi/models/cloneEnvironment400.ts index 9e888b8ee4..1e47e9611c 100644 --- a/frontend/src/openapi/models/cloneEnvironment400.ts +++ b/frontend/src/openapi/models/cloneEnvironment400.ts @@ -7,8 +7,8 @@ export type CloneEnvironment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/cloneEnvironment401.ts b/frontend/src/openapi/models/cloneEnvironment401.ts index e389538c5c..0fd43349dd 100644 --- a/frontend/src/openapi/models/cloneEnvironment401.ts +++ b/frontend/src/openapi/models/cloneEnvironment401.ts @@ -7,8 +7,8 @@ export type CloneEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/cloneEnvironmentSchema.ts b/frontend/src/openapi/models/cloneEnvironmentSchema.ts index b75e87bea6..0d0f7a1878 100644 --- a/frontend/src/openapi/models/cloneEnvironmentSchema.ts +++ b/frontend/src/openapi/models/cloneEnvironmentSchema.ts @@ -8,12 +8,12 @@ * Data used to clone an environment. */ export interface CloneEnvironmentSchema { - /** The name of the new cloned environment, this cannot be changed later */ - name: string; - /** Updates the type of environment (i.e. development or production). */ - type: string; - /** A list of projects that should be included in the cloned environment. */ - projects?: string[]; /** Copies the RBAC permissions from the source environment if true. Defaults to true */ clonePermissions?: boolean; + /** The name of the new cloned environment, this cannot be changed later */ + name: string; + /** A list of projects that should be included in the cloned environment. */ + projects?: string[]; + /** Updates the type of environment (i.e. development or production). */ + type: string; } diff --git a/frontend/src/openapi/models/cloneFeature401.ts b/frontend/src/openapi/models/cloneFeature401.ts index 4cdf53827b..1bbfbc170d 100644 --- a/frontend/src/openapi/models/cloneFeature401.ts +++ b/frontend/src/openapi/models/cloneFeature401.ts @@ -7,8 +7,8 @@ export type CloneFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature403.ts b/frontend/src/openapi/models/cloneFeature403.ts index 3cc825c5e5..ea7e5934fb 100644 --- a/frontend/src/openapi/models/cloneFeature403.ts +++ b/frontend/src/openapi/models/cloneFeature403.ts @@ -7,8 +7,8 @@ export type CloneFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature404.ts b/frontend/src/openapi/models/cloneFeature404.ts index 7dba2d1e60..fb3956d460 100644 --- a/frontend/src/openapi/models/cloneFeature404.ts +++ b/frontend/src/openapi/models/cloneFeature404.ts @@ -7,8 +7,8 @@ export type CloneFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/cloneFeature415.ts b/frontend/src/openapi/models/cloneFeature415.ts index cfad7b23c0..4cce4b6559 100644 --- a/frontend/src/openapi/models/cloneFeature415.ts +++ b/frontend/src/openapi/models/cloneFeature415.ts @@ -7,8 +7,8 @@ export type CloneFeature415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/constraintSchema.ts b/frontend/src/openapi/models/constraintSchema.ts index ba1bd035cf..eece6c6c38 100644 --- a/frontend/src/openapi/models/constraintSchema.ts +++ b/frontend/src/openapi/models/constraintSchema.ts @@ -9,16 +9,16 @@ 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) */ export interface ConstraintSchema { - /** The name of the context field that this constraint should apply to. */ - contextName: string; - /** 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). */ - operator: ConstraintSchemaOperator; /** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ caseInsensitive?: boolean; + /** The name of the context field that this constraint should apply to. */ + 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 context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ - values?: string[]; + /** 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). */ + 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; + /** The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ + values?: string[]; } diff --git a/frontend/src/openapi/models/contextFieldSchema.ts b/frontend/src/openapi/models/contextFieldSchema.ts index 3f9c118019..c501cdd159 100644 --- a/frontend/src/openapi/models/contextFieldSchema.ts +++ b/frontend/src/openapi/models/contextFieldSchema.ts @@ -9,20 +9,20 @@ import type { LegalValueSchema } from './legalValueSchema'; * A representation of a [context field](https://docs.getunleash.io/reference/unleash-context). */ export interface ContextFieldSchema { - /** The name of the context field */ - name: string; - /** The description of the context field. */ - description?: string | null; - /** Does this context field support being used for [stickiness](https://docs.getunleash.io/reference/stickiness) calculations */ - stickiness?: boolean; - /** Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically. */ - sortOrder?: number; /** When this context field was created */ createdAt?: string | null; + /** The description of the context field. */ + description?: string | null; + /** Allowed values for this context field schema. Can be used to narrow down accepted input */ + legalValues?: LegalValueSchema[]; + /** The name of the context field */ + name: string; + /** Used when sorting a list of context fields. Is also used as a tiebreaker if a list of context fields is sorted alphabetically. */ + sortOrder?: number; + /** Does this context field support being used for [stickiness](https://docs.getunleash.io/reference/stickiness) calculations */ + stickiness?: boolean; /** Number of projects where this context field is used in */ usedInFeatures?: number | null; /** Number of projects where this context field is used in */ usedInProjects?: number | null; - /** Allowed values for this context field schema. Can be used to narrow down accepted input */ - legalValues?: LegalValueSchema[]; } diff --git a/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts b/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts index 4f89781dbb..953f5614c3 100644 --- a/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts +++ b/frontend/src/openapi/models/contextFieldStrategiesSchemaStrategiesItem.ts @@ -5,14 +5,14 @@ */ export type ContextFieldStrategiesSchemaStrategiesItem = { - /** The ID of the strategy. */ - id: string; - /** The name of the feature that contains this strategy. */ - featureName: string; - /** The ID of the project that contains this feature. */ - projectId: string; /** The ID of the environment where this strategy is in. */ environment: string; + /** The name of the feature that contains this strategy. */ + featureName: string; + /** The ID of the strategy. */ + id: string; + /** The ID of the project that contains this feature. */ + projectId: string; /** The name of the strategy. */ strategyName: string; }; diff --git a/frontend/src/openapi/models/createAddon400.ts b/frontend/src/openapi/models/createAddon400.ts index a9780a07bb..d37de487fa 100644 --- a/frontend/src/openapi/models/createAddon400.ts +++ b/frontend/src/openapi/models/createAddon400.ts @@ -7,8 +7,8 @@ export type CreateAddon400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createAddon401.ts b/frontend/src/openapi/models/createAddon401.ts index 71f482e976..efe5a37805 100644 --- a/frontend/src/openapi/models/createAddon401.ts +++ b/frontend/src/openapi/models/createAddon401.ts @@ -7,8 +7,8 @@ export type CreateAddon401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createAddon403.ts b/frontend/src/openapi/models/createAddon403.ts index af13d131a9..0cd705350d 100644 --- a/frontend/src/openapi/models/createAddon403.ts +++ b/frontend/src/openapi/models/createAddon403.ts @@ -7,8 +7,8 @@ export type CreateAddon403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createAddon413.ts b/frontend/src/openapi/models/createAddon413.ts index 9445ded15e..ee6de7a482 100644 --- a/frontend/src/openapi/models/createAddon413.ts +++ b/frontend/src/openapi/models/createAddon413.ts @@ -7,8 +7,8 @@ export type CreateAddon413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createAddon415.ts b/frontend/src/openapi/models/createAddon415.ts index e25960cad0..833cc0ac54 100644 --- a/frontend/src/openapi/models/createAddon415.ts +++ b/frontend/src/openapi/models/createAddon415.ts @@ -7,8 +7,8 @@ export type CreateAddon415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApiToken401.ts b/frontend/src/openapi/models/createApiToken401.ts index 0f6914ec05..9761fb4b59 100644 --- a/frontend/src/openapi/models/createApiToken401.ts +++ b/frontend/src/openapi/models/createApiToken401.ts @@ -7,8 +7,8 @@ export type CreateApiToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApiToken403.ts b/frontend/src/openapi/models/createApiToken403.ts index f57f67a484..ce0c5b4d98 100644 --- a/frontend/src/openapi/models/createApiToken403.ts +++ b/frontend/src/openapi/models/createApiToken403.ts @@ -7,8 +7,8 @@ export type CreateApiToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApiToken415.ts b/frontend/src/openapi/models/createApiToken415.ts index c1e373b692..69567984ff 100644 --- a/frontend/src/openapi/models/createApiToken415.ts +++ b/frontend/src/openapi/models/createApiToken415.ts @@ -7,8 +7,8 @@ export type CreateApiToken415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts index 0fd75c12f7..d69dafe406 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOf.ts @@ -7,8 +7,8 @@ export type CreateApiTokenSchemaOneOf = { /** The time when this token should expire. */ expiresAt?: string; - /** An admin token. Must be the string "admin" (not case sensitive). */ - type: string; /** The name of the token. */ tokenName: string; + /** An admin token. Must be the string "admin" (not case sensitive). */ + type: string; }; diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts index 2880a53efe..be3a2dd5b7 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOfFour.ts @@ -5,16 +5,16 @@ */ export type CreateApiTokenSchemaOneOfFour = { - /** The time when this token should expire. */ - expiresAt?: string; - /** A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). */ - type: string; /** The environment that the token should be valid for. Defaults to "default" */ environment?: string; + /** The time when this token should expire. */ + expiresAt?: string; /** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */ project?: string; /** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */ projects?: string[]; + /** A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). */ + type: string; /** * The name of the token. This property is deprecated. Use `tokenName` instead. * @deprecated diff --git a/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts b/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts index f910d3123a..97311c914c 100644 --- a/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts +++ b/frontend/src/openapi/models/createApiTokenSchemaOneOfThree.ts @@ -5,16 +5,16 @@ */ export type CreateApiTokenSchemaOneOfThree = { - /** The time when this token should expire. */ - expiresAt?: string; - /** A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). */ - type: string; /** The environment that the token should be valid for. Defaults to "default" */ environment?: string; + /** The time when this token should expire. */ + expiresAt?: string; /** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */ project?: string; /** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */ projects?: string[]; /** The name of the token. */ tokenName: string; + /** A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). */ + type: string; }; diff --git a/frontend/src/openapi/models/createApplication400.ts b/frontend/src/openapi/models/createApplication400.ts index e312d01476..0f305cc041 100644 --- a/frontend/src/openapi/models/createApplication400.ts +++ b/frontend/src/openapi/models/createApplication400.ts @@ -7,8 +7,8 @@ export type CreateApplication400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApplication401.ts b/frontend/src/openapi/models/createApplication401.ts index c9646590ea..d1f08a6850 100644 --- a/frontend/src/openapi/models/createApplication401.ts +++ b/frontend/src/openapi/models/createApplication401.ts @@ -7,8 +7,8 @@ export type CreateApplication401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApplication403.ts b/frontend/src/openapi/models/createApplication403.ts index 42d03ba3d8..b28d9aa8e3 100644 --- a/frontend/src/openapi/models/createApplication403.ts +++ b/frontend/src/openapi/models/createApplication403.ts @@ -7,8 +7,8 @@ export type CreateApplication403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createApplicationSchema.ts b/frontend/src/openapi/models/createApplicationSchema.ts index 7ed0757bdf..f2b129bec2 100644 --- a/frontend/src/openapi/models/createApplicationSchema.ts +++ b/frontend/src/openapi/models/createApplicationSchema.ts @@ -10,14 +10,14 @@ export interface CreateApplicationSchema { /** Name of the application */ appName?: string; + /** Css color to be used to color the application's entry in the application list */ + color?: string; + /** An URL to an icon file to be used for the applications's entry in the application list */ + icon?: string; /** Which SDK and version the application reporting uses. Typically represented as `:` */ sdkVersion?: string; /** Which [strategies](https://docs.getunleash.io/topics/the-anatomy-of-unleash#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/reference/custom-activation-strategies) has been loaded in the SDK */ strategies?: string[]; /** A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application */ url?: string; - /** Css color to be used to color the application's entry in the application list */ - color?: string; - /** An URL to an icon file to be used for the applications's entry in the application list */ - icon?: string; } diff --git a/frontend/src/openapi/models/createBanner400.ts b/frontend/src/openapi/models/createBanner400.ts index ceabf58185..5f3a75125c 100644 --- a/frontend/src/openapi/models/createBanner400.ts +++ b/frontend/src/openapi/models/createBanner400.ts @@ -7,8 +7,8 @@ export type CreateBanner400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createBanner401.ts b/frontend/src/openapi/models/createBanner401.ts index 4089fff063..5c1005221a 100644 --- a/frontend/src/openapi/models/createBanner401.ts +++ b/frontend/src/openapi/models/createBanner401.ts @@ -7,8 +7,8 @@ export type CreateBanner401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createBanner403.ts b/frontend/src/openapi/models/createBanner403.ts index 02c5bc2c9a..080d57c000 100644 --- a/frontend/src/openapi/models/createBanner403.ts +++ b/frontend/src/openapi/models/createBanner403.ts @@ -7,8 +7,8 @@ export type CreateBanner403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createBanner415.ts b/frontend/src/openapi/models/createBanner415.ts index fda61fc3b7..56cab84ec3 100644 --- a/frontend/src/openapi/models/createBanner415.ts +++ b/frontend/src/openapi/models/createBanner415.ts @@ -7,8 +7,8 @@ export type CreateBanner415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createBannerSchema.ts b/frontend/src/openapi/models/createBannerSchema.ts index a49c20c543..f665a33917 100644 --- a/frontend/src/openapi/models/createBannerSchema.ts +++ b/frontend/src/openapi/models/createBannerSchema.ts @@ -8,22 +8,22 @@ * Describes the properties required to create or update a banner. */ export interface CreateBannerSchema { - /** The message to display to all users. Supports markdown. */ - message: string; + /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ + dialog?: string | null; + /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ + dialogTitle?: string | null; /** Whether the banner should be displayed currently. If not specified, defaults to true. */ enabled?: boolean; - /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ - variant?: string; - /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ - sticky?: boolean; /** The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed. */ icon?: string | null; /** The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed. */ link?: string | null; /** The text to display on the link. If not specified, will be displayed as "More info". */ linkText?: string | null; - /** The title to display on the dialog. If not specified, this will be the same as `linkText`. */ - dialogTitle?: string | null; - /** The markdown to display on the dialog. If not specified, no dialog will be displayed. */ - dialog?: string | null; + /** The message to display to all users. Supports markdown. */ + message: string; + /** Whether the banner should be sticky on the screen. If not specified, defaults to `false`. */ + sticky?: boolean; + /** The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info". */ + variant?: string; } diff --git a/frontend/src/openapi/models/createContextFieldSchema.ts b/frontend/src/openapi/models/createContextFieldSchema.ts index 5bc0ff3833..17a5926480 100644 --- a/frontend/src/openapi/models/createContextFieldSchema.ts +++ b/frontend/src/openapi/models/createContextFieldSchema.ts @@ -11,12 +11,12 @@ import type { LegalValueSchema } from './legalValueSchema'; export interface CreateContextFieldSchema { /** A description of the context field */ description?: string; - /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ - stickiness?: boolean; - /** How this context field should be sorted if no other sort order is selected */ - sortOrder?: number; /** A list of allowed values for this context field */ legalValues?: LegalValueSchema[]; /** The name of the context field. */ name: string; + /** How this context field should be sorted if no other sort order is selected */ + sortOrder?: number; + /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ + stickiness?: boolean; } diff --git a/frontend/src/openapi/models/createDependentFeatureSchema.ts b/frontend/src/openapi/models/createDependentFeatureSchema.ts index 1d6a07cf51..c806dadc4d 100644 --- a/frontend/src/openapi/models/createDependentFeatureSchema.ts +++ b/frontend/src/openapi/models/createDependentFeatureSchema.ts @@ -8,10 +8,10 @@ * Feature dependency on a parent feature in write model */ export interface CreateDependentFeatureSchema { - /** The name of the feature we depend on. */ - feature: string; /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ enabled?: boolean; + /** The name of the feature we depend on. */ + feature: string; /** The list of variants the parent feature should resolve to. Leave empty when you only want to check the `enabled` status. */ variants?: string[]; } diff --git a/frontend/src/openapi/models/createEnvironment400.ts b/frontend/src/openapi/models/createEnvironment400.ts index 093f302a5f..717877c797 100644 --- a/frontend/src/openapi/models/createEnvironment400.ts +++ b/frontend/src/openapi/models/createEnvironment400.ts @@ -7,8 +7,8 @@ export type CreateEnvironment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createEnvironment401.ts b/frontend/src/openapi/models/createEnvironment401.ts index 005742b5ab..8aefd21db4 100644 --- a/frontend/src/openapi/models/createEnvironment401.ts +++ b/frontend/src/openapi/models/createEnvironment401.ts @@ -7,8 +7,8 @@ export type CreateEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createEnvironmentSchema.ts b/frontend/src/openapi/models/createEnvironmentSchema.ts index edd7a94b37..20cfe25a5a 100644 --- a/frontend/src/openapi/models/createEnvironmentSchema.ts +++ b/frontend/src/openapi/models/createEnvironmentSchema.ts @@ -8,8 +8,12 @@ * Data required to create a new [environment](https://docs.getunleash.io/reference/environments) */ export interface CreateEnvironmentSchema { + /** Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state. */ + enabled?: boolean; /** The name of the environment. Must be a URL-friendly string according to [RFC 3968, section 2.3](https://www.rfc-editor.org/rfc/rfc3986#section-2.3) */ name: string; + /** Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later. */ + sortOrder?: number; /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types) you would like to create. Unleash officially recognizes the following values: - `development` - `test` @@ -18,8 +22,4 @@ export interface CreateEnvironmentSchema { If you pass a string that is not one of the recognized values, Unleash will accept it, but it will carry no special semantics. */ type: string; - /** Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state. */ - enabled?: boolean; - /** Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later. */ - sortOrder?: number; } diff --git a/frontend/src/openapi/models/createFeature401.ts b/frontend/src/openapi/models/createFeature401.ts index d6455796a6..8c2d3423d6 100644 --- a/frontend/src/openapi/models/createFeature401.ts +++ b/frontend/src/openapi/models/createFeature401.ts @@ -7,8 +7,8 @@ export type CreateFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeature403.ts b/frontend/src/openapi/models/createFeature403.ts index 17b1fcfedd..fa5ab2fc30 100644 --- a/frontend/src/openapi/models/createFeature403.ts +++ b/frontend/src/openapi/models/createFeature403.ts @@ -7,8 +7,8 @@ export type CreateFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeature404.ts b/frontend/src/openapi/models/createFeature404.ts index f511647cf3..a7417a67d9 100644 --- a/frontend/src/openapi/models/createFeature404.ts +++ b/frontend/src/openapi/models/createFeature404.ts @@ -7,8 +7,8 @@ export type CreateFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeature415.ts b/frontend/src/openapi/models/createFeature415.ts index 902e3fdea9..e2a8156a9d 100644 --- a/frontend/src/openapi/models/createFeature415.ts +++ b/frontend/src/openapi/models/createFeature415.ts @@ -7,8 +7,8 @@ export type CreateFeature415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts b/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts index f0bc2244c8..17bf215a9d 100644 --- a/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts +++ b/frontend/src/openapi/models/createFeatureNamingPatternSchema.ts @@ -8,10 +8,10 @@ * Create a feature naming pattern */ export interface CreateFeatureNamingPatternSchema { - /** A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed. */ - pattern: string | null; - /** An example of a feature name that matches the pattern. Must itself match the pattern supplied. */ - example?: string | null; /** A description of the pattern in a human-readable format. Will be shown to users when they create a new feature flag. */ description?: string | null; + /** An example of a feature name that matches the pattern. Must itself match the pattern supplied. */ + example?: string | null; + /** A JavaScript regular expression pattern, without the start and end delimiters. Optional flags are not allowed. */ + pattern: string | null; } diff --git a/frontend/src/openapi/models/createFeatureSchema.ts b/frontend/src/openapi/models/createFeatureSchema.ts index 85ab09c8ed..600c387d4e 100644 --- a/frontend/src/openapi/models/createFeatureSchema.ts +++ b/frontend/src/openapi/models/createFeatureSchema.ts @@ -8,12 +8,12 @@ * Data used to create a new feature toggle. */ export interface CreateFeatureSchema { - /** Unique feature name */ - name: string; - /** The feature toggle's [type](https://docs.getunleash.io/reference/feature-toggle-types). One of experiment, kill-switch, release, operational, or permission */ - type?: string; /** Detailed description of the feature */ description?: string | null; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData?: boolean; + /** Unique feature name */ + name: string; + /** The feature toggle's [type](https://docs.getunleash.io/reference/feature-toggle-types). One of experiment, kill-switch, release, operational, or permission */ + type?: string; } diff --git a/frontend/src/openapi/models/createFeatureStrategySchema.ts b/frontend/src/openapi/models/createFeatureStrategySchema.ts index 02fd43a431..f0f3ecaabf 100644 --- a/frontend/src/openapi/models/createFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/createFeatureStrategySchema.ts @@ -4,27 +4,27 @@ * See `gen:api` script in package.json */ import type { ConstraintSchema } from './constraintSchema'; -import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema'; import type { ParametersSchema } from './parametersSchema'; +import type { CreateStrategyVariantSchema } from './createStrategyVariantSchema'; /** * Create a strategy configuration in a feature */ export interface CreateFeatureStrategySchema { - /** The name of the strategy type */ - name: string; - /** A descriptive title for the strategy */ - title?: string | null; - /** A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs */ - disabled?: boolean | null; - /** The order of the strategy in the list */ - sortOrder?: number; /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ constraints?: ConstraintSchema[]; - /** Strategy level variants */ - variants?: CreateStrategyVariantSchema[]; + /** A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs */ + disabled?: boolean | null; + /** The name of the strategy type */ + name: string; /** An object containing the parameters for the strategy */ parameters?: ParametersSchema; /** Ids of segments to use for this strategy */ segments?: number[]; + /** The order of the strategy in the list */ + sortOrder?: number; + /** A descriptive title for the strategy */ + title?: string | null; + /** Strategy level variants */ + variants?: CreateStrategyVariantSchema[]; } diff --git a/frontend/src/openapi/models/createFeedback400.ts b/frontend/src/openapi/models/createFeedback400.ts index 7af9a5a353..8985c94af6 100644 --- a/frontend/src/openapi/models/createFeedback400.ts +++ b/frontend/src/openapi/models/createFeedback400.ts @@ -7,8 +7,8 @@ export type CreateFeedback400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeedback401.ts b/frontend/src/openapi/models/createFeedback401.ts index de35ac003d..4f2855e850 100644 --- a/frontend/src/openapi/models/createFeedback401.ts +++ b/frontend/src/openapi/models/createFeedback401.ts @@ -7,8 +7,8 @@ export type CreateFeedback401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createFeedback415.ts b/frontend/src/openapi/models/createFeedback415.ts index f3439ebf19..cd563b88a6 100644 --- a/frontend/src/openapi/models/createFeedback415.ts +++ b/frontend/src/openapi/models/createFeedback415.ts @@ -7,8 +7,8 @@ export type CreateFeedback415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createGroup400.ts b/frontend/src/openapi/models/createGroup400.ts index b83d1946b8..f3dfa3bf6b 100644 --- a/frontend/src/openapi/models/createGroup400.ts +++ b/frontend/src/openapi/models/createGroup400.ts @@ -7,8 +7,8 @@ export type CreateGroup400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createGroup401.ts b/frontend/src/openapi/models/createGroup401.ts index 400c70a849..0ad14e25d5 100644 --- a/frontend/src/openapi/models/createGroup401.ts +++ b/frontend/src/openapi/models/createGroup401.ts @@ -7,8 +7,8 @@ export type CreateGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createGroup403.ts b/frontend/src/openapi/models/createGroup403.ts index 2c77767035..d18b702176 100644 --- a/frontend/src/openapi/models/createGroup403.ts +++ b/frontend/src/openapi/models/createGroup403.ts @@ -7,8 +7,8 @@ export type CreateGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createGroup409.ts b/frontend/src/openapi/models/createGroup409.ts index 4d02458168..01a5a944f2 100644 --- a/frontend/src/openapi/models/createGroup409.ts +++ b/frontend/src/openapi/models/createGroup409.ts @@ -7,8 +7,8 @@ export type CreateGroup409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createGroupSchema.ts b/frontend/src/openapi/models/createGroupSchema.ts index 5cd2662a0b..d929cd8222 100644 --- a/frontend/src/openapi/models/createGroupSchema.ts +++ b/frontend/src/openapi/models/createGroupSchema.ts @@ -9,12 +9,12 @@ import type { CreateGroupSchemaUsersItem } from './createGroupSchemaUsersItem'; * A detailed information about a user group */ export interface CreateGroupSchema { - /** The name of the group */ - name: string; /** A custom description of the group */ description?: string | null; /** A list of SSO groups that should map to this Unleash group */ mappingsSSO?: string[]; + /** The name of the group */ + name: string; /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ rootRole?: number | null; /** A list of users belonging to this group */ diff --git a/frontend/src/openapi/models/createInvitedUserSchema.ts b/frontend/src/openapi/models/createInvitedUserSchema.ts index 72a59b56a5..e46dd44fa6 100644 --- a/frontend/src/openapi/models/createInvitedUserSchema.ts +++ b/frontend/src/openapi/models/createInvitedUserSchema.ts @@ -8,12 +8,12 @@ * Data used to create a user that has been invited to Unleash. */ export interface CreateInvitedUserSchema { - /** The user's username. Must be unique if provided. */ - username?: string; /** The invited user's email address */ email: string; /** The user's name */ name: string; /** The user's password */ password: string; + /** The user's username. Must be unique if provided. */ + username?: string; } diff --git a/frontend/src/openapi/models/createPat401.ts b/frontend/src/openapi/models/createPat401.ts index 77040a5403..91201540da 100644 --- a/frontend/src/openapi/models/createPat401.ts +++ b/frontend/src/openapi/models/createPat401.ts @@ -7,8 +7,8 @@ export type CreatePat401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createPat403.ts b/frontend/src/openapi/models/createPat403.ts index cfbd19bf56..e51110d46d 100644 --- a/frontend/src/openapi/models/createPat403.ts +++ b/frontend/src/openapi/models/createPat403.ts @@ -7,8 +7,8 @@ export type CreatePat403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createPat404.ts b/frontend/src/openapi/models/createPat404.ts index d652400ef3..d587f513a5 100644 --- a/frontend/src/openapi/models/createPat404.ts +++ b/frontend/src/openapi/models/createPat404.ts @@ -7,8 +7,8 @@ export type CreatePat404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProject400.ts b/frontend/src/openapi/models/createProject400.ts index 2ba2a9ea07..c1c3735707 100644 --- a/frontend/src/openapi/models/createProject400.ts +++ b/frontend/src/openapi/models/createProject400.ts @@ -7,8 +7,8 @@ export type CreateProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProject401.ts b/frontend/src/openapi/models/createProject401.ts index 1e14423432..64553578bd 100644 --- a/frontend/src/openapi/models/createProject401.ts +++ b/frontend/src/openapi/models/createProject401.ts @@ -7,8 +7,8 @@ export type CreateProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProject403.ts b/frontend/src/openapi/models/createProject403.ts index d20fd7f8b8..eae97697bf 100644 --- a/frontend/src/openapi/models/createProject403.ts +++ b/frontend/src/openapi/models/createProject403.ts @@ -7,8 +7,8 @@ export type CreateProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProject415.ts b/frontend/src/openapi/models/createProject415.ts index ceb93104df..b60c4d6d4b 100644 --- a/frontend/src/openapi/models/createProject415.ts +++ b/frontend/src/openapi/models/createProject415.ts @@ -7,8 +7,8 @@ export type CreateProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken400.ts b/frontend/src/openapi/models/createProjectApiToken400.ts index 54590d407e..400861c523 100644 --- a/frontend/src/openapi/models/createProjectApiToken400.ts +++ b/frontend/src/openapi/models/createProjectApiToken400.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken401.ts b/frontend/src/openapi/models/createProjectApiToken401.ts index e618976446..026a01e5ab 100644 --- a/frontend/src/openapi/models/createProjectApiToken401.ts +++ b/frontend/src/openapi/models/createProjectApiToken401.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken403.ts b/frontend/src/openapi/models/createProjectApiToken403.ts index 99b7ec4889..4b27df33cb 100644 --- a/frontend/src/openapi/models/createProjectApiToken403.ts +++ b/frontend/src/openapi/models/createProjectApiToken403.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProjectApiToken404.ts b/frontend/src/openapi/models/createProjectApiToken404.ts index 3696277b10..0bd090548a 100644 --- a/frontend/src/openapi/models/createProjectApiToken404.ts +++ b/frontend/src/openapi/models/createProjectApiToken404.ts @@ -7,8 +7,8 @@ export type CreateProjectApiToken404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createProjectSchema.ts b/frontend/src/openapi/models/createProjectSchema.ts index a0db3dff81..cae48ebb50 100644 --- a/frontend/src/openapi/models/createProjectSchema.ts +++ b/frontend/src/openapi/models/createProjectSchema.ts @@ -9,14 +9,14 @@ import type { CreateProjectSchemaMode } from './createProjectSchemaMode'; * Data used to create a new [project](https://docs.getunleash.io/reference/projects). */ export interface CreateProjectSchema { - /** The project's identifier. */ - id: string; - /** The project's name. */ - name: string; - /** The project's description. */ - description?: string | null; - /** A mode of the project affecting what actions are possible in this project */ - mode?: CreateProjectSchemaMode; /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ defaultStickiness?: string; + /** The project's description. */ + description?: string | null; + /** The project's identifier. */ + id: string; + /** A mode of the project affecting what actions are possible in this project */ + mode?: CreateProjectSchemaMode; + /** The project's name. */ + name: string; } diff --git a/frontend/src/openapi/models/createPublicSignupToken400.ts b/frontend/src/openapi/models/createPublicSignupToken400.ts index bfb1ca4c5f..cb8aa0b0d6 100644 --- a/frontend/src/openapi/models/createPublicSignupToken400.ts +++ b/frontend/src/openapi/models/createPublicSignupToken400.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createPublicSignupToken401.ts b/frontend/src/openapi/models/createPublicSignupToken401.ts index 7900a31b1c..88833cd976 100644 --- a/frontend/src/openapi/models/createPublicSignupToken401.ts +++ b/frontend/src/openapi/models/createPublicSignupToken401.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createPublicSignupToken403.ts b/frontend/src/openapi/models/createPublicSignupToken403.ts index a647659ab1..15222146c8 100644 --- a/frontend/src/openapi/models/createPublicSignupToken403.ts +++ b/frontend/src/openapi/models/createPublicSignupToken403.ts @@ -7,8 +7,8 @@ export type CreatePublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createRole400.ts b/frontend/src/openapi/models/createRole400.ts index bdc361a91b..e0b054a104 100644 --- a/frontend/src/openapi/models/createRole400.ts +++ b/frontend/src/openapi/models/createRole400.ts @@ -7,8 +7,8 @@ export type CreateRole400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createRole401.ts b/frontend/src/openapi/models/createRole401.ts index f28a31c584..4fba2534c6 100644 --- a/frontend/src/openapi/models/createRole401.ts +++ b/frontend/src/openapi/models/createRole401.ts @@ -7,8 +7,8 @@ export type CreateRole401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createRole403.ts b/frontend/src/openapi/models/createRole403.ts index 7d2272a02c..aefd982891 100644 --- a/frontend/src/openapi/models/createRole403.ts +++ b/frontend/src/openapi/models/createRole403.ts @@ -7,8 +7,8 @@ export type CreateRole403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createRole409.ts b/frontend/src/openapi/models/createRole409.ts index 79c1963e06..f1be29289b 100644 --- a/frontend/src/openapi/models/createRole409.ts +++ b/frontend/src/openapi/models/createRole409.ts @@ -7,8 +7,8 @@ export type CreateRole409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts index 95f98ea73a..a47b5b8d8e 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateRoleWithPermissionsSchemaAnyOfType } from './createRoleWithPermissionsSchemaAnyOfType'; import type { CreateRoleWithPermissionsSchemaAnyOfPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfPermissionsItem'; +import type { CreateRoleWithPermissionsSchemaAnyOfType } from './createRoleWithPermissionsSchemaAnyOfType'; export type CreateRoleWithPermissionsSchemaAnyOf = { - /** The name of the custom role */ - name: string; /** A more detailed description of the custom role and what use it's intended for */ description?: string; - /** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */ - type?: CreateRoleWithPermissionsSchemaAnyOfType; + /** The name of the custom role */ + name: string; /** A list of permissions assigned to this role */ permissions?: CreateRoleWithPermissionsSchemaAnyOfPermissionsItem[]; + /** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */ + type?: CreateRoleWithPermissionsSchemaAnyOfType; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts index 410ff00780..e2f6941a95 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFour.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateRoleWithPermissionsSchemaAnyOfFourType } from './createRoleWithPermissionsSchemaAnyOfFourType'; import type { CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfFourPermissionsItem'; +import type { CreateRoleWithPermissionsSchemaAnyOfFourType } from './createRoleWithPermissionsSchemaAnyOfFourType'; export type CreateRoleWithPermissionsSchemaAnyOfFour = { - /** The name of the custom role */ - name: string; /** A more detailed description of the custom role and what use it's intended for */ description?: string; - /** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */ - type?: CreateRoleWithPermissionsSchemaAnyOfFourType; + /** The name of the custom role */ + name: string; /** A list of permissions assigned to this role */ permissions?: CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem[]; + /** [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) contain a specific set of permissions for project resources. */ + type?: CreateRoleWithPermissionsSchemaAnyOfFourType; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts index 2fb672ee76..5e3aee88a4 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfFourPermissionsItem.ts @@ -5,10 +5,10 @@ */ export type CreateRoleWithPermissionsSchemaAnyOfFourPermissionsItem = { + /** The environments of the permission if the permission is environment specific */ + environment?: string; /** The id of the permission */ id: number; /** The name of the permission */ name?: string; - /** The environments of the permission if the permission is environment specific */ - environment?: string; }; diff --git a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts index 6e886f6597..5b9261265e 100644 --- a/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts +++ b/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOfPermissionsItem.ts @@ -5,8 +5,8 @@ */ export type CreateRoleWithPermissionsSchemaAnyOfPermissionsItem = { - /** The name of the permission */ - name: string; /** The environments of the permission if the permission is environment specific */ environment?: string; + /** The name of the permission */ + name: string; }; diff --git a/frontend/src/openapi/models/createSegment400.ts b/frontend/src/openapi/models/createSegment400.ts index e80b79d52c..55ac016ecb 100644 --- a/frontend/src/openapi/models/createSegment400.ts +++ b/frontend/src/openapi/models/createSegment400.ts @@ -7,8 +7,8 @@ export type CreateSegment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createSegment401.ts b/frontend/src/openapi/models/createSegment401.ts index 7b907cf359..149541f7b3 100644 --- a/frontend/src/openapi/models/createSegment401.ts +++ b/frontend/src/openapi/models/createSegment401.ts @@ -7,8 +7,8 @@ export type CreateSegment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createSegment403.ts b/frontend/src/openapi/models/createSegment403.ts index aa2288a88c..9760e7935c 100644 --- a/frontend/src/openapi/models/createSegment403.ts +++ b/frontend/src/openapi/models/createSegment403.ts @@ -7,8 +7,8 @@ export type CreateSegment403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createSegment409.ts b/frontend/src/openapi/models/createSegment409.ts index 0f5e901a54..30d7a9cfa6 100644 --- a/frontend/src/openapi/models/createSegment409.ts +++ b/frontend/src/openapi/models/createSegment409.ts @@ -7,8 +7,8 @@ export type CreateSegment409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createSegment415.ts b/frontend/src/openapi/models/createSegment415.ts index c70ff43bd6..b0587d4721 100644 --- a/frontend/src/openapi/models/createSegment415.ts +++ b/frontend/src/openapi/models/createSegment415.ts @@ -7,8 +7,8 @@ export type CreateSegment415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount400.ts b/frontend/src/openapi/models/createServiceAccount400.ts index 8b05e2c275..b2f9b4147a 100644 --- a/frontend/src/openapi/models/createServiceAccount400.ts +++ b/frontend/src/openapi/models/createServiceAccount400.ts @@ -7,8 +7,8 @@ export type CreateServiceAccount400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount401.ts b/frontend/src/openapi/models/createServiceAccount401.ts index e8dae27070..dd4c95e8f2 100644 --- a/frontend/src/openapi/models/createServiceAccount401.ts +++ b/frontend/src/openapi/models/createServiceAccount401.ts @@ -7,8 +7,8 @@ export type CreateServiceAccount401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount403.ts b/frontend/src/openapi/models/createServiceAccount403.ts index c095a2fe4c..f8a45fc5f5 100644 --- a/frontend/src/openapi/models/createServiceAccount403.ts +++ b/frontend/src/openapi/models/createServiceAccount403.ts @@ -7,8 +7,8 @@ export type CreateServiceAccount403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount409.ts b/frontend/src/openapi/models/createServiceAccount409.ts index 9e29df25d5..8117d3d94f 100644 --- a/frontend/src/openapi/models/createServiceAccount409.ts +++ b/frontend/src/openapi/models/createServiceAccount409.ts @@ -7,8 +7,8 @@ export type CreateServiceAccount409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccount415.ts b/frontend/src/openapi/models/createServiceAccount415.ts index f389892787..f76f2ebfd9 100644 --- a/frontend/src/openapi/models/createServiceAccount415.ts +++ b/frontend/src/openapi/models/createServiceAccount415.ts @@ -7,8 +7,8 @@ export type CreateServiceAccount415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccountSchema.ts b/frontend/src/openapi/models/createServiceAccountSchema.ts index ac4cb66c4b..066c6f6b8c 100644 --- a/frontend/src/openapi/models/createServiceAccountSchema.ts +++ b/frontend/src/openapi/models/createServiceAccountSchema.ts @@ -8,10 +8,10 @@ * Describes the properties required to create a new service account */ export interface CreateServiceAccountSchema { - /** The username of the service account */ - username?: string; /** The name of the service account */ name?: string; /** The id of the root role for the service account */ rootRole: number; + /** The username of the service account */ + username?: string; } diff --git a/frontend/src/openapi/models/createServiceAccountToken401.ts b/frontend/src/openapi/models/createServiceAccountToken401.ts index 94d59bb790..191e807e79 100644 --- a/frontend/src/openapi/models/createServiceAccountToken401.ts +++ b/frontend/src/openapi/models/createServiceAccountToken401.ts @@ -7,8 +7,8 @@ export type CreateServiceAccountToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccountToken403.ts b/frontend/src/openapi/models/createServiceAccountToken403.ts index 793af56871..1a94d71051 100644 --- a/frontend/src/openapi/models/createServiceAccountToken403.ts +++ b/frontend/src/openapi/models/createServiceAccountToken403.ts @@ -7,8 +7,8 @@ export type CreateServiceAccountToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccountToken404.ts b/frontend/src/openapi/models/createServiceAccountToken404.ts index 4a6bb5d65a..7180734386 100644 --- a/frontend/src/openapi/models/createServiceAccountToken404.ts +++ b/frontend/src/openapi/models/createServiceAccountToken404.ts @@ -7,8 +7,8 @@ export type CreateServiceAccountToken404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccountToken409.ts b/frontend/src/openapi/models/createServiceAccountToken409.ts index 7f695a3634..2c3f80556c 100644 --- a/frontend/src/openapi/models/createServiceAccountToken409.ts +++ b/frontend/src/openapi/models/createServiceAccountToken409.ts @@ -7,8 +7,8 @@ export type CreateServiceAccountToken409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createServiceAccountToken415.ts b/frontend/src/openapi/models/createServiceAccountToken415.ts index aee03636b1..92a36b763b 100644 --- a/frontend/src/openapi/models/createServiceAccountToken415.ts +++ b/frontend/src/openapi/models/createServiceAccountToken415.ts @@ -7,8 +7,8 @@ export type CreateServiceAccountToken415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createStrategy401.ts b/frontend/src/openapi/models/createStrategy401.ts index a614554306..edd6509fae 100644 --- a/frontend/src/openapi/models/createStrategy401.ts +++ b/frontend/src/openapi/models/createStrategy401.ts @@ -7,8 +7,8 @@ export type CreateStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createStrategy403.ts b/frontend/src/openapi/models/createStrategy403.ts index c62d914d17..74ad2a84f7 100644 --- a/frontend/src/openapi/models/createStrategy403.ts +++ b/frontend/src/openapi/models/createStrategy403.ts @@ -7,8 +7,8 @@ export type CreateStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createStrategy409.ts b/frontend/src/openapi/models/createStrategy409.ts index f11515762c..0f06ce37f1 100644 --- a/frontend/src/openapi/models/createStrategy409.ts +++ b/frontend/src/openapi/models/createStrategy409.ts @@ -7,8 +7,8 @@ export type CreateStrategy409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createStrategy415.ts b/frontend/src/openapi/models/createStrategy415.ts index 1ab705ad72..3e0ca6ff9e 100644 --- a/frontend/src/openapi/models/createStrategy415.ts +++ b/frontend/src/openapi/models/createStrategy415.ts @@ -7,8 +7,8 @@ export type CreateStrategy415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createStrategySchema.ts b/frontend/src/openapi/models/createStrategySchema.ts index 5100846dca..c134116505 100644 --- a/frontend/src/openapi/models/createStrategySchema.ts +++ b/frontend/src/openapi/models/createStrategySchema.ts @@ -9,16 +9,16 @@ import type { CreateStrategySchemaParametersItem } from './createStrategySchemaP * The data required to create a strategy type. Refer to the docs on [custom strategy types](https://docs.getunleash.io/reference/custom-activation-strategies) for more information. */ export interface CreateStrategySchema { - /** The name of the strategy type. Must be unique. */ - name: string; - /** The title of the strategy */ - title?: string; + /** Whether the strategy type is deprecated or not. Defaults to `false`. */ + deprecated?: boolean; /** A description of the strategy type. */ description?: string; /** Whether the strategy type is editable or not. Defaults to `true`. */ editable?: boolean; - /** Whether the strategy type is deprecated or not. Defaults to `false`. */ - deprecated?: boolean; + /** The name of the strategy type. Must be unique. */ + name: string; /** The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation. */ parameters: CreateStrategySchemaParametersItem[]; + /** The title of the strategy */ + title?: string; } diff --git a/frontend/src/openapi/models/createStrategySchemaParametersItem.ts b/frontend/src/openapi/models/createStrategySchemaParametersItem.ts index d2fb9b52db..0755238ac7 100644 --- a/frontend/src/openapi/models/createStrategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/createStrategySchemaParametersItem.ts @@ -6,12 +6,12 @@ import type { CreateStrategySchemaParametersItemType } from './createStrategySchemaParametersItemType'; export type CreateStrategySchemaParametersItem = { - /** The name of the parameter */ - name: string; - /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ - type: CreateStrategySchemaParametersItemType; /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ description?: string; + /** The name of the parameter */ + name: string; /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ required?: boolean; + /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ + type: CreateStrategySchemaParametersItemType; }; diff --git a/frontend/src/openapi/models/createStrategyVariantSchema.ts b/frontend/src/openapi/models/createStrategyVariantSchema.ts index 1c69ce80b7..795b0451ef 100644 --- a/frontend/src/openapi/models/createStrategyVariantSchema.ts +++ b/frontend/src/openapi/models/createStrategyVariantSchema.ts @@ -3,8 +3,8 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { CreateStrategyVariantSchemaWeightType } from './createStrategyVariantSchemaWeightType'; import type { CreateStrategyVariantSchemaPayload } from './createStrategyVariantSchemaPayload'; +import type { CreateStrategyVariantSchemaWeightType } from './createStrategyVariantSchemaWeightType'; /** * This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants. @@ -12,12 +12,12 @@ import type { CreateStrategyVariantSchemaPayload } from './createStrategyVariant export interface CreateStrategyVariantSchema { /** The variant name. Must be unique for this feature toggle */ name: string; + /** Extra data configured for this variant */ + payload?: CreateStrategyVariantSchemaPayload; + /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ + stickiness: string; /** The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information */ weight: number; /** Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ weightType: CreateStrategyVariantSchemaWeightType; - /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ - stickiness: string; - /** Extra data configured for this variant */ - payload?: CreateStrategyVariantSchemaPayload; } diff --git a/frontend/src/openapi/models/createTag400.ts b/frontend/src/openapi/models/createTag400.ts index 96224cd402..4b9a6b137c 100644 --- a/frontend/src/openapi/models/createTag400.ts +++ b/frontend/src/openapi/models/createTag400.ts @@ -7,8 +7,8 @@ export type CreateTag400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTag401.ts b/frontend/src/openapi/models/createTag401.ts index 079678019d..5d3ca13bf5 100644 --- a/frontend/src/openapi/models/createTag401.ts +++ b/frontend/src/openapi/models/createTag401.ts @@ -7,8 +7,8 @@ export type CreateTag401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTag403.ts b/frontend/src/openapi/models/createTag403.ts index 0219f83bb3..58ca9e947c 100644 --- a/frontend/src/openapi/models/createTag403.ts +++ b/frontend/src/openapi/models/createTag403.ts @@ -7,8 +7,8 @@ export type CreateTag403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTag409.ts b/frontend/src/openapi/models/createTag409.ts index 85d7d0c776..977905313f 100644 --- a/frontend/src/openapi/models/createTag409.ts +++ b/frontend/src/openapi/models/createTag409.ts @@ -7,8 +7,8 @@ export type CreateTag409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTag415.ts b/frontend/src/openapi/models/createTag415.ts index 2bcd85a7f1..62d91eac78 100644 --- a/frontend/src/openapi/models/createTag415.ts +++ b/frontend/src/openapi/models/createTag415.ts @@ -7,8 +7,8 @@ export type CreateTag415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTagType400.ts b/frontend/src/openapi/models/createTagType400.ts index 6f779f4998..ecc0d6d33c 100644 --- a/frontend/src/openapi/models/createTagType400.ts +++ b/frontend/src/openapi/models/createTagType400.ts @@ -7,8 +7,8 @@ export type CreateTagType400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTagType401.ts b/frontend/src/openapi/models/createTagType401.ts index 1973edb889..7a53021f0f 100644 --- a/frontend/src/openapi/models/createTagType401.ts +++ b/frontend/src/openapi/models/createTagType401.ts @@ -7,8 +7,8 @@ export type CreateTagType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTagType403.ts b/frontend/src/openapi/models/createTagType403.ts index 9e0643115e..561711e9d0 100644 --- a/frontend/src/openapi/models/createTagType403.ts +++ b/frontend/src/openapi/models/createTagType403.ts @@ -7,8 +7,8 @@ export type CreateTagType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTagType409.ts b/frontend/src/openapi/models/createTagType409.ts index 1e069cf330..9fbdf36714 100644 --- a/frontend/src/openapi/models/createTagType409.ts +++ b/frontend/src/openapi/models/createTagType409.ts @@ -7,8 +7,8 @@ export type CreateTagType409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createTagType415.ts b/frontend/src/openapi/models/createTagType415.ts index 876da478f1..e67c9e143a 100644 --- a/frontend/src/openapi/models/createTagType415.ts +++ b/frontend/src/openapi/models/createTagType415.ts @@ -7,8 +7,8 @@ export type CreateTagType415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createUser400.ts b/frontend/src/openapi/models/createUser400.ts index 41ebd39523..5e5df4cfcf 100644 --- a/frontend/src/openapi/models/createUser400.ts +++ b/frontend/src/openapi/models/createUser400.ts @@ -7,8 +7,8 @@ export type CreateUser400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createUser401.ts b/frontend/src/openapi/models/createUser401.ts index 1deab0a473..bda673c83a 100644 --- a/frontend/src/openapi/models/createUser401.ts +++ b/frontend/src/openapi/models/createUser401.ts @@ -7,8 +7,8 @@ export type CreateUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createUser403.ts b/frontend/src/openapi/models/createUser403.ts index 15f6158567..8c669b4d1a 100644 --- a/frontend/src/openapi/models/createUser403.ts +++ b/frontend/src/openapi/models/createUser403.ts @@ -7,8 +7,8 @@ export type CreateUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/createUserResponseSchema.ts b/frontend/src/openapi/models/createUserResponseSchema.ts index 44394297ba..180b58df9a 100644 --- a/frontend/src/openapi/models/createUserResponseSchema.ts +++ b/frontend/src/openapi/models/createUserResponseSchema.ts @@ -9,35 +9,35 @@ import type { CreateUserResponseSchemaRootRole } from './createUserResponseSchem * An Unleash user after creation */ export interface CreateUserResponseSchema { + /** A user is either an actual User or a Service Account */ + accountType?: string; + /** The user was created at this time */ + createdAt?: string; + /** Email of the user */ + email?: string; + /** Is the welcome email sent to the user or not */ + emailSent?: boolean; /** The user id */ id: number; + /** URL used for the userprofile image */ + imageUrl?: string; + /** If the user is actively inviting other users, this is the link that can be shared with other users */ + inviteLink?: string; /** * (Deprecated): Used internally to know which operations the user should be allowed to perform * @deprecated */ isAPI?: boolean; - /** Name of the user */ - name?: string | null; - /** Email of the user */ - email?: string; - /** A unique username for the user */ - username?: string; - /** URL used for the userprofile image */ - imageUrl?: string; - /** If the user is actively inviting other users, this is the link that can be shared with other users */ - inviteLink?: string; /** How many unsuccessful attempts at logging in has the user made */ loginAttempts?: number; - /** Is the welcome email sent to the user or not */ - emailSent?: boolean; + /** Name of the user */ + name?: string | null; + /** Deprecated */ + permissions?: string[]; /** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role. */ rootRole?: CreateUserResponseSchemaRootRole; /** The last time this user logged in */ seenAt?: string | null; - /** The user was created at this time */ - createdAt?: string; - /** A user is either an actual User or a Service Account */ - accountType?: string; - /** Deprecated */ - permissions?: string[]; + /** A unique username for the user */ + username?: string; } diff --git a/frontend/src/openapi/models/createUserSchema.ts b/frontend/src/openapi/models/createUserSchema.ts index f5ebd440d4..9dc15229ec 100644 --- a/frontend/src/openapi/models/createUserSchema.ts +++ b/frontend/src/openapi/models/createUserSchema.ts @@ -9,8 +9,6 @@ import type { CreateUserSchemaRootRole } from './createUserSchemaRootRole'; * The payload must contain at least one of the name and email properties, though which one is up to you. For the user to be able to log in to the system, the user must have an email. */ export interface CreateUserSchema { - /** The user's username. Must be provided if email is not provided. */ - username?: string; /** The user's email address. Must be provided if username is not provided. */ email?: string; /** The user's name (not the user's username). */ @@ -21,4 +19,6 @@ export interface CreateUserSchema { rootRole: CreateUserSchemaRootRole; /** Whether to send a welcome email with a login link to the user or not. Defaults to `true`. */ sendEmail?: boolean; + /** The user's username. Must be provided if email is not provided. */ + username?: string; } diff --git a/frontend/src/openapi/models/deleteAddon401.ts b/frontend/src/openapi/models/deleteAddon401.ts index 7541c714f8..5039b45fda 100644 --- a/frontend/src/openapi/models/deleteAddon401.ts +++ b/frontend/src/openapi/models/deleteAddon401.ts @@ -7,8 +7,8 @@ export type DeleteAddon401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteAddon403.ts b/frontend/src/openapi/models/deleteAddon403.ts index 88b733666e..97069ba9fa 100644 --- a/frontend/src/openapi/models/deleteAddon403.ts +++ b/frontend/src/openapi/models/deleteAddon403.ts @@ -7,8 +7,8 @@ export type DeleteAddon403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteAddon404.ts b/frontend/src/openapi/models/deleteAddon404.ts index 5e60e902f0..2e2b24e772 100644 --- a/frontend/src/openapi/models/deleteAddon404.ts +++ b/frontend/src/openapi/models/deleteAddon404.ts @@ -7,8 +7,8 @@ export type DeleteAddon404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteApiToken401.ts b/frontend/src/openapi/models/deleteApiToken401.ts index 21e492c96b..d7dda87d99 100644 --- a/frontend/src/openapi/models/deleteApiToken401.ts +++ b/frontend/src/openapi/models/deleteApiToken401.ts @@ -7,8 +7,8 @@ export type DeleteApiToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteApiToken403.ts b/frontend/src/openapi/models/deleteApiToken403.ts index 1feaa110d0..8a7986acc6 100644 --- a/frontend/src/openapi/models/deleteApiToken403.ts +++ b/frontend/src/openapi/models/deleteApiToken403.ts @@ -7,8 +7,8 @@ export type DeleteApiToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteApplication401.ts b/frontend/src/openapi/models/deleteApplication401.ts index ade25da24a..4544ded06f 100644 --- a/frontend/src/openapi/models/deleteApplication401.ts +++ b/frontend/src/openapi/models/deleteApplication401.ts @@ -7,8 +7,8 @@ export type DeleteApplication401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteApplication403.ts b/frontend/src/openapi/models/deleteApplication403.ts index c973fa4494..709ff83fb6 100644 --- a/frontend/src/openapi/models/deleteApplication403.ts +++ b/frontend/src/openapi/models/deleteApplication403.ts @@ -7,8 +7,8 @@ export type DeleteApplication403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteBanner401.ts b/frontend/src/openapi/models/deleteBanner401.ts index 4a5c5341c2..6276e18561 100644 --- a/frontend/src/openapi/models/deleteBanner401.ts +++ b/frontend/src/openapi/models/deleteBanner401.ts @@ -7,8 +7,8 @@ export type DeleteBanner401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteBanner403.ts b/frontend/src/openapi/models/deleteBanner403.ts index d3a57141c2..8e7a91568d 100644 --- a/frontend/src/openapi/models/deleteBanner403.ts +++ b/frontend/src/openapi/models/deleteBanner403.ts @@ -7,8 +7,8 @@ export type DeleteBanner403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteBanner404.ts b/frontend/src/openapi/models/deleteBanner404.ts index 35cb3781ad..142a38c7b9 100644 --- a/frontend/src/openapi/models/deleteBanner404.ts +++ b/frontend/src/openapi/models/deleteBanner404.ts @@ -7,8 +7,8 @@ export type DeleteBanner404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeature401.ts b/frontend/src/openapi/models/deleteFeature401.ts index 86990d1f67..c60a294a9f 100644 --- a/frontend/src/openapi/models/deleteFeature401.ts +++ b/frontend/src/openapi/models/deleteFeature401.ts @@ -7,8 +7,8 @@ export type DeleteFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeature403.ts b/frontend/src/openapi/models/deleteFeature403.ts index 0b548321cb..8b40397f0a 100644 --- a/frontend/src/openapi/models/deleteFeature403.ts +++ b/frontend/src/openapi/models/deleteFeature403.ts @@ -7,8 +7,8 @@ export type DeleteFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies401.ts b/frontend/src/openapi/models/deleteFeatureDependencies401.ts index 91d72e8805..89a76f2608 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies401.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies403.ts b/frontend/src/openapi/models/deleteFeatureDependencies403.ts index 39eca16151..1c58e82aa3 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies403.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependencies404.ts b/frontend/src/openapi/models/deleteFeatureDependencies404.ts index b998e497f3..855c1fe0e7 100644 --- a/frontend/src/openapi/models/deleteFeatureDependencies404.ts +++ b/frontend/src/openapi/models/deleteFeatureDependencies404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependencies404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency401.ts b/frontend/src/openapi/models/deleteFeatureDependency401.ts index ca04a49580..ce8611e9ba 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency401.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency403.ts b/frontend/src/openapi/models/deleteFeatureDependency403.ts index fa117f0dce..01ab6bf5b0 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency403.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureDependency404.ts b/frontend/src/openapi/models/deleteFeatureDependency404.ts index 82da097209..c04d991172 100644 --- a/frontend/src/openapi/models/deleteFeatureDependency404.ts +++ b/frontend/src/openapi/models/deleteFeatureDependency404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureDependency404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy401.ts b/frontend/src/openapi/models/deleteFeatureStrategy401.ts index ecece939ab..4dd367e69e 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy401.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy403.ts b/frontend/src/openapi/models/deleteFeatureStrategy403.ts index c0d6e23315..6b6a4a4ec3 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy403.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatureStrategy404.ts b/frontend/src/openapi/models/deleteFeatureStrategy404.ts index ce7b0c020b..c6455e1f26 100644 --- a/frontend/src/openapi/models/deleteFeatureStrategy404.ts +++ b/frontend/src/openapi/models/deleteFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type DeleteFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures400.ts b/frontend/src/openapi/models/deleteFeatures400.ts index 42e4495dcc..f3d6d59e4d 100644 --- a/frontend/src/openapi/models/deleteFeatures400.ts +++ b/frontend/src/openapi/models/deleteFeatures400.ts @@ -7,8 +7,8 @@ export type DeleteFeatures400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures401.ts b/frontend/src/openapi/models/deleteFeatures401.ts index 8c19b273cf..1bb60d667d 100644 --- a/frontend/src/openapi/models/deleteFeatures401.ts +++ b/frontend/src/openapi/models/deleteFeatures401.ts @@ -7,8 +7,8 @@ export type DeleteFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteFeatures403.ts b/frontend/src/openapi/models/deleteFeatures403.ts index 77432aff81..c0313a53e4 100644 --- a/frontend/src/openapi/models/deleteFeatures403.ts +++ b/frontend/src/openapi/models/deleteFeatures403.ts @@ -7,8 +7,8 @@ export type DeleteFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteGroup400.ts b/frontend/src/openapi/models/deleteGroup400.ts index f8d0a5e5db..2c98e2eb72 100644 --- a/frontend/src/openapi/models/deleteGroup400.ts +++ b/frontend/src/openapi/models/deleteGroup400.ts @@ -7,8 +7,8 @@ export type DeleteGroup400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteGroup401.ts b/frontend/src/openapi/models/deleteGroup401.ts index 7c13c85e05..4b8ae2bb0f 100644 --- a/frontend/src/openapi/models/deleteGroup401.ts +++ b/frontend/src/openapi/models/deleteGroup401.ts @@ -7,8 +7,8 @@ export type DeleteGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteGroup403.ts b/frontend/src/openapi/models/deleteGroup403.ts index b05294fd81..0eeaca75f7 100644 --- a/frontend/src/openapi/models/deleteGroup403.ts +++ b/frontend/src/openapi/models/deleteGroup403.ts @@ -7,8 +7,8 @@ export type DeleteGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deletePat401.ts b/frontend/src/openapi/models/deletePat401.ts index 955368ac8e..c7d545bbeb 100644 --- a/frontend/src/openapi/models/deletePat401.ts +++ b/frontend/src/openapi/models/deletePat401.ts @@ -7,8 +7,8 @@ export type DeletePat401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deletePat403.ts b/frontend/src/openapi/models/deletePat403.ts index 5077a70552..6709a9a302 100644 --- a/frontend/src/openapi/models/deletePat403.ts +++ b/frontend/src/openapi/models/deletePat403.ts @@ -7,8 +7,8 @@ export type DeletePat403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deletePat404.ts b/frontend/src/openapi/models/deletePat404.ts index fe4c629a35..9a819ec1b4 100644 --- a/frontend/src/openapi/models/deletePat404.ts +++ b/frontend/src/openapi/models/deletePat404.ts @@ -7,8 +7,8 @@ export type DeletePat404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProject400.ts b/frontend/src/openapi/models/deleteProject400.ts index 3bd7635968..c64fe3401a 100644 --- a/frontend/src/openapi/models/deleteProject400.ts +++ b/frontend/src/openapi/models/deleteProject400.ts @@ -7,8 +7,8 @@ export type DeleteProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProject401.ts b/frontend/src/openapi/models/deleteProject401.ts index ba6984781e..dda77d663a 100644 --- a/frontend/src/openapi/models/deleteProject401.ts +++ b/frontend/src/openapi/models/deleteProject401.ts @@ -7,8 +7,8 @@ export type DeleteProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProject403.ts b/frontend/src/openapi/models/deleteProject403.ts index 5ef2e6c399..b63e01a306 100644 --- a/frontend/src/openapi/models/deleteProject403.ts +++ b/frontend/src/openapi/models/deleteProject403.ts @@ -7,8 +7,8 @@ export type DeleteProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken400.ts b/frontend/src/openapi/models/deleteProjectApiToken400.ts index dee1aee19a..aa77553393 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken400.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken400.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken401.ts b/frontend/src/openapi/models/deleteProjectApiToken401.ts index 4e945a4b3b..8d56012caa 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken401.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken401.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken403.ts b/frontend/src/openapi/models/deleteProjectApiToken403.ts index 0d91c7b5a6..888a649d62 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken403.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken403.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteProjectApiToken404.ts b/frontend/src/openapi/models/deleteProjectApiToken404.ts index 8cbe50135d..8835bae17c 100644 --- a/frontend/src/openapi/models/deleteProjectApiToken404.ts +++ b/frontend/src/openapi/models/deleteProjectApiToken404.ts @@ -7,8 +7,8 @@ export type DeleteProjectApiToken404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteRole400.ts b/frontend/src/openapi/models/deleteRole400.ts index 1553df956d..7e1edd8871 100644 --- a/frontend/src/openapi/models/deleteRole400.ts +++ b/frontend/src/openapi/models/deleteRole400.ts @@ -7,8 +7,8 @@ export type DeleteRole400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteRole401.ts b/frontend/src/openapi/models/deleteRole401.ts index 7ea1af6ec9..4894c73e0b 100644 --- a/frontend/src/openapi/models/deleteRole401.ts +++ b/frontend/src/openapi/models/deleteRole401.ts @@ -7,8 +7,8 @@ export type DeleteRole401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteRole403.ts b/frontend/src/openapi/models/deleteRole403.ts index 1c52121cd1..99e3475d23 100644 --- a/frontend/src/openapi/models/deleteRole403.ts +++ b/frontend/src/openapi/models/deleteRole403.ts @@ -7,8 +7,8 @@ export type DeleteRole403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteRole404.ts b/frontend/src/openapi/models/deleteRole404.ts index ad2f64e051..99df9e3081 100644 --- a/frontend/src/openapi/models/deleteRole404.ts +++ b/frontend/src/openapi/models/deleteRole404.ts @@ -7,8 +7,8 @@ export type DeleteRole404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccount401.ts b/frontend/src/openapi/models/deleteServiceAccount401.ts index 0420e1263b..f21f52122d 100644 --- a/frontend/src/openapi/models/deleteServiceAccount401.ts +++ b/frontend/src/openapi/models/deleteServiceAccount401.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccount401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccount403.ts b/frontend/src/openapi/models/deleteServiceAccount403.ts index a70a3072f1..c420089c8b 100644 --- a/frontend/src/openapi/models/deleteServiceAccount403.ts +++ b/frontend/src/openapi/models/deleteServiceAccount403.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccount403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccount404.ts b/frontend/src/openapi/models/deleteServiceAccount404.ts index 67628d6691..4f242c5124 100644 --- a/frontend/src/openapi/models/deleteServiceAccount404.ts +++ b/frontend/src/openapi/models/deleteServiceAccount404.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccount404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccountToken401.ts b/frontend/src/openapi/models/deleteServiceAccountToken401.ts index 58cd460dc0..8641ffe148 100644 --- a/frontend/src/openapi/models/deleteServiceAccountToken401.ts +++ b/frontend/src/openapi/models/deleteServiceAccountToken401.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccountToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccountToken403.ts b/frontend/src/openapi/models/deleteServiceAccountToken403.ts index b90263887b..fd757825da 100644 --- a/frontend/src/openapi/models/deleteServiceAccountToken403.ts +++ b/frontend/src/openapi/models/deleteServiceAccountToken403.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccountToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteServiceAccountToken404.ts b/frontend/src/openapi/models/deleteServiceAccountToken404.ts index 7cd8f47ae0..fbc5371883 100644 --- a/frontend/src/openapi/models/deleteServiceAccountToken404.ts +++ b/frontend/src/openapi/models/deleteServiceAccountToken404.ts @@ -7,8 +7,8 @@ export type DeleteServiceAccountToken404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteTagType401.ts b/frontend/src/openapi/models/deleteTagType401.ts index ded32d63b5..887d4440ce 100644 --- a/frontend/src/openapi/models/deleteTagType401.ts +++ b/frontend/src/openapi/models/deleteTagType401.ts @@ -7,8 +7,8 @@ export type DeleteTagType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteTagType403.ts b/frontend/src/openapi/models/deleteTagType403.ts index b59847657c..523a3addac 100644 --- a/frontend/src/openapi/models/deleteTagType403.ts +++ b/frontend/src/openapi/models/deleteTagType403.ts @@ -7,8 +7,8 @@ export type DeleteTagType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteUser401.ts b/frontend/src/openapi/models/deleteUser401.ts index 1c195d4239..321f47718f 100644 --- a/frontend/src/openapi/models/deleteUser401.ts +++ b/frontend/src/openapi/models/deleteUser401.ts @@ -7,8 +7,8 @@ export type DeleteUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteUser403.ts b/frontend/src/openapi/models/deleteUser403.ts index 8666d9cec7..c868268b85 100644 --- a/frontend/src/openapi/models/deleteUser403.ts +++ b/frontend/src/openapi/models/deleteUser403.ts @@ -7,8 +7,8 @@ export type DeleteUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deleteUser404.ts b/frontend/src/openapi/models/deleteUser404.ts index b5f4210408..0bc2e12d00 100644 --- a/frontend/src/openapi/models/deleteUser404.ts +++ b/frontend/src/openapi/models/deleteUser404.ts @@ -7,8 +7,8 @@ export type DeleteUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/dependentFeatureSchema.ts b/frontend/src/openapi/models/dependentFeatureSchema.ts index 6a6172161c..5dda3ed184 100644 --- a/frontend/src/openapi/models/dependentFeatureSchema.ts +++ b/frontend/src/openapi/models/dependentFeatureSchema.ts @@ -8,10 +8,10 @@ * Feature dependency on a parent feature in read model */ export interface DependentFeatureSchema { - /** The name of the feature we depend on. */ - feature: string; /** Whether the parent feature should be enabled. When `false` variants are ignored. `true` by default. */ enabled?: boolean; + /** The name of the feature we depend on. */ + feature: string; /** The list of variants the parent feature should resolve to. Leave empty when you only want to check the `enabled` status. */ variants?: string[]; } diff --git a/frontend/src/openapi/models/deprecateStrategy401.ts b/frontend/src/openapi/models/deprecateStrategy401.ts index 41ef2e844a..02db1078dd 100644 --- a/frontend/src/openapi/models/deprecateStrategy401.ts +++ b/frontend/src/openapi/models/deprecateStrategy401.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deprecateStrategy403.ts b/frontend/src/openapi/models/deprecateStrategy403.ts index 476125befc..fa15891481 100644 --- a/frontend/src/openapi/models/deprecateStrategy403.ts +++ b/frontend/src/openapi/models/deprecateStrategy403.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deprecateStrategy404.ts b/frontend/src/openapi/models/deprecateStrategy404.ts index 982796b4ba..a42f5b37fa 100644 --- a/frontend/src/openapi/models/deprecateStrategy404.ts +++ b/frontend/src/openapi/models/deprecateStrategy404.ts @@ -7,8 +7,8 @@ export type DeprecateStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts new file mode 100644 index 0000000000..d12a8fd6a3 --- /dev/null +++ b/frontend/src/openapi/models/deprecatedProjectOverviewSchema.ts @@ -0,0 +1,45 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ +import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { FeatureSchema } from './featureSchema'; +import type { DeprecatedProjectOverviewSchemaMode } from './deprecatedProjectOverviewSchemaMode'; +import type { ProjectStatsSchema } from './projectStatsSchema'; + +/** + * A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc. + */ +export interface DeprecatedProjectOverviewSchema { + /** When the project was created. */ + createdAt?: string | null; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; + /** Additional information about the project */ + description?: string | null; + /** The environments that are enabled for this project */ + environments?: ProjectEnvironmentSchema[]; + /** `true` if the project was favorited, otherwise `false`. */ + favorite?: boolean; + /** A limit on the number of features allowed in the project. Null if no limit. */ + featureLimit?: number | null; + 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 */ + health?: number; + /** The number of members this project has */ + members?: number; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: DeprecatedProjectOverviewSchemaMode; + /** The name of this project */ + name: string; + /** Project statistics */ + stats?: ProjectStatsSchema; + /** When the project was last updated. */ + updatedAt?: string | null; + /** The schema version used to describe the project overview */ + version: number; +} diff --git a/frontend/src/openapi/models/deprecatedProjectOverviewSchemaMode.ts b/frontend/src/openapi/models/deprecatedProjectOverviewSchemaMode.ts new file mode 100644 index 0000000000..b12747a374 --- /dev/null +++ b/frontend/src/openapi/models/deprecatedProjectOverviewSchemaMode.ts @@ -0,0 +1,18 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. + */ +export type DeprecatedProjectOverviewSchemaMode = + (typeof DeprecatedProjectOverviewSchemaMode)[keyof typeof DeprecatedProjectOverviewSchemaMode]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const DeprecatedProjectOverviewSchemaMode = { + open: 'open', + protected: 'protected', + private: 'private', +} as const; diff --git a/frontend/src/openapi/models/disableBanner401.ts b/frontend/src/openapi/models/disableBanner401.ts index 964a1ceaff..0d3aecf854 100644 --- a/frontend/src/openapi/models/disableBanner401.ts +++ b/frontend/src/openapi/models/disableBanner401.ts @@ -7,8 +7,8 @@ export type DisableBanner401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/disableBanner403.ts b/frontend/src/openapi/models/disableBanner403.ts index 56921017ac..0092c75eea 100644 --- a/frontend/src/openapi/models/disableBanner403.ts +++ b/frontend/src/openapi/models/disableBanner403.ts @@ -7,8 +7,8 @@ export type DisableBanner403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/disableBanner404.ts b/frontend/src/openapi/models/disableBanner404.ts index 0c7c68828a..e7cac2c084 100644 --- a/frontend/src/openapi/models/disableBanner404.ts +++ b/frontend/src/openapi/models/disableBanner404.ts @@ -7,8 +7,8 @@ export type DisableBanner404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/edgeTokenSchema.ts b/frontend/src/openapi/models/edgeTokenSchema.ts index 5039d6051a..27e5247aef 100644 --- a/frontend/src/openapi/models/edgeTokenSchema.ts +++ b/frontend/src/openapi/models/edgeTokenSchema.ts @@ -11,8 +11,8 @@ import type { EdgeTokenSchemaType } from './edgeTokenSchemaType'; 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 [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 */ - type: EdgeTokenSchemaType; /** The actual token value. [Unleash API tokens](https://docs.getunleash.io/reference/api-tokens-and-client-keys) are comprised of three parts. :.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 */ + type: EdgeTokenSchemaType; } diff --git a/frontend/src/openapi/models/editChange404.ts b/frontend/src/openapi/models/editChange404.ts index 94fd7cbeef..5a913095cd 100644 --- a/frontend/src/openapi/models/editChange404.ts +++ b/frontend/src/openapi/models/editChange404.ts @@ -7,8 +7,8 @@ export type EditChange404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/enableBanner401.ts b/frontend/src/openapi/models/enableBanner401.ts index fac5feb545..663254791a 100644 --- a/frontend/src/openapi/models/enableBanner401.ts +++ b/frontend/src/openapi/models/enableBanner401.ts @@ -7,8 +7,8 @@ export type EnableBanner401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/enableBanner403.ts b/frontend/src/openapi/models/enableBanner403.ts index f44a882d68..4e76b22d63 100644 --- a/frontend/src/openapi/models/enableBanner403.ts +++ b/frontend/src/openapi/models/enableBanner403.ts @@ -7,8 +7,8 @@ export type EnableBanner403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/enableBanner404.ts b/frontend/src/openapi/models/enableBanner404.ts index d370d99fc7..3d003b985e 100644 --- a/frontend/src/openapi/models/enableBanner404.ts +++ b/frontend/src/openapi/models/enableBanner404.ts @@ -7,8 +7,8 @@ export type EnableBanner404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/environmentProjectSchema.ts b/frontend/src/openapi/models/environmentProjectSchema.ts index ebc5e34999..635433f157 100644 --- a/frontend/src/openapi/models/environmentProjectSchema.ts +++ b/frontend/src/openapi/models/environmentProjectSchema.ts @@ -9,20 +9,20 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Describes a project's configuration in a given environment. */ export interface EnvironmentProjectSchema { - /** The name of the environment */ - name: string; - /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ - type: string; + /** The strategy configuration to add when enabling a feature environment by default */ + defaultStrategy?: CreateFeatureStrategySchema; /** `true` if the environment is enabled for the project, otherwise `false` */ enabled: boolean; - /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ - protected: boolean; - /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */ - sortOrder: number; + /** The name of the environment */ + name: string; /** The number of client and front-end API tokens that have access to this project */ projectApiTokenCount?: number; /** The number of features enabled in this environment for this project */ projectEnabledToggleCount?: number; - /** The strategy configuration to add when enabling a feature environment by default */ - defaultStrategy?: CreateFeatureStrategySchema; + /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ + protected: boolean; + /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear */ + sortOrder: number; + /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ + type: string; } diff --git a/frontend/src/openapi/models/environmentSchema.ts b/frontend/src/openapi/models/environmentSchema.ts index 05795d9252..c979d76b6e 100644 --- a/frontend/src/openapi/models/environmentSchema.ts +++ b/frontend/src/openapi/models/environmentSchema.ts @@ -8,20 +8,20 @@ * A definition of the project environment */ export interface EnvironmentSchema { - /** The name of the environment */ - name: string; - /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ - type: string; + /** The number of API tokens for the project environment */ + apiTokenCount?: number | null; /** `true` if the environment is enabled for the project, otherwise `false`. */ enabled: boolean; + /** The number of enabled toggles for the project environment */ + enabledToggleCount?: number | null; + /** The name of the environment */ + name: string; + /** The number of projects with this environment */ + projectCount?: number | null; /** `true` if the environment is protected, otherwise `false`. A *protected* environment can not be deleted. */ protected: boolean; /** Priority of the environment in a list of environments, the lower the value, the higher up in the list the environment will appear. Needs to be an integer */ sortOrder: number; - /** The number of projects with this environment */ - projectCount?: number | null; - /** The number of API tokens for the project environment */ - apiTokenCount?: number | null; - /** The number of enabled toggles for the project environment */ - enabledToggleCount?: number | null; + /** The [type of environment](https://docs.getunleash.io/reference/environments#environment-types). */ + type: string; } diff --git a/frontend/src/openapi/models/environmentsProjectSchema.ts b/frontend/src/openapi/models/environmentsProjectSchema.ts index 18dbae2c8f..4375a7288d 100644 --- a/frontend/src/openapi/models/environmentsProjectSchema.ts +++ b/frontend/src/openapi/models/environmentsProjectSchema.ts @@ -9,8 +9,8 @@ import type { EnvironmentProjectSchema } from './environmentProjectSchema'; * Environments defined for a given project */ export interface EnvironmentsProjectSchema { - /** Version of the environments schema */ - version: number; /** List of environments */ environments: EnvironmentProjectSchema[]; + /** Version of the environments schema */ + version: number; } diff --git a/frontend/src/openapi/models/environmentsSchema.ts b/frontend/src/openapi/models/environmentsSchema.ts index 5e267b68a7..e61d022c9f 100644 --- a/frontend/src/openapi/models/environmentsSchema.ts +++ b/frontend/src/openapi/models/environmentsSchema.ts @@ -9,8 +9,8 @@ import type { EnvironmentSchema } from './environmentSchema'; * A versioned list of environments */ export interface EnvironmentsSchema { - /** Version of the environments schema */ - version: number; /** List of environments */ environments: EnvironmentSchema[]; + /** Version of the environments schema */ + version: number; } diff --git a/frontend/src/openapi/models/eventSchema.ts b/frontend/src/openapi/models/eventSchema.ts index 09dd284340..5bb0475560 100644 --- a/frontend/src/openapi/models/eventSchema.ts +++ b/frontend/src/openapi/models/eventSchema.ts @@ -3,33 +3,33 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { EventSchemaType } from './eventSchemaType'; import type { EventSchemaData } from './eventSchemaData'; import type { EventSchemaPreData } from './eventSchemaPreData'; import type { TagSchema } from './tagSchema'; +import type { EventSchemaType } from './eventSchemaType'; /** * An event describing something happening in the system */ export interface EventSchema { - /** The ID of the event. An increasing natural number. */ - id: number; /** The time the event happened as a RFC 3339-conformant timestamp. */ createdAt: string; - /** What [type](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#event-type-description) of event this is */ - type: EventSchemaType; /** Which user created this event */ createdBy: string; - /** The feature toggle environment the event relates to, if applicable. */ - environment?: string | null; - /** The project the event relates to, if applicable. */ - project?: string | null; - /** The name of the feature toggle the event relates to, if applicable. */ - featureName?: string | null; /** Extra associated data related to the event, such as feature toggle state, segment configuration, etc., if applicable. */ data?: EventSchemaData; + /** The feature toggle environment the event relates to, if applicable. */ + environment?: string | null; + /** The name of the feature toggle the event relates to, if applicable. */ + featureName?: string | null; + /** The ID of the event. An increasing natural number. */ + id: number; /** Data relating to the previous state of the event's subject. */ preData?: EventSchemaPreData; + /** The project the event relates to, if applicable. */ + project?: string | null; /** Any tags related to the event, if applicable. */ tags?: TagSchema[] | null; + /** What [type](https://docs.getunleash.io/reference/api/legacy/unleash/admin/events#event-type-description) of event this is */ + type: EventSchemaType; } diff --git a/frontend/src/openapi/models/eventSchemaData.ts b/frontend/src/openapi/models/eventSchemaData.ts index ae43894525..68f9997993 100644 --- a/frontend/src/openapi/models/eventSchemaData.ts +++ b/frontend/src/openapi/models/eventSchemaData.ts @@ -7,4 +7,4 @@ /** * Extra associated data related to the event, such as feature toggle state, segment configuration, etc., if applicable. */ -export type EventSchemaData = { [key: string]: any }; +export type EventSchemaData = { [key: string]: any } | null; diff --git a/frontend/src/openapi/models/eventSchemaPreData.ts b/frontend/src/openapi/models/eventSchemaPreData.ts index 875e7e327a..81db3960a3 100644 --- a/frontend/src/openapi/models/eventSchemaPreData.ts +++ b/frontend/src/openapi/models/eventSchemaPreData.ts @@ -7,4 +7,4 @@ /** * Data relating to the previous state of the event's subject. */ -export type EventSchemaPreData = { [key: string]: any }; +export type EventSchemaPreData = { [key: string]: any } | null; diff --git a/frontend/src/openapi/models/eventsSchema.ts b/frontend/src/openapi/models/eventsSchema.ts index f9c598c209..d0a96ac02c 100644 --- a/frontend/src/openapi/models/eventsSchema.ts +++ b/frontend/src/openapi/models/eventsSchema.ts @@ -3,17 +3,17 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { EventsSchemaVersion } from './eventsSchemaVersion'; import type { EventSchema } from './eventSchema'; +import type { EventsSchemaVersion } from './eventsSchemaVersion'; /** * A list of events that has happened in the system */ export interface EventsSchema { - /** The api version of this response. A natural increasing number. Only increases if format changes */ - version: EventsSchemaVersion; /** The list of events */ events: EventSchema[]; /** The total count of events */ totalEvents?: number; + /** The api version of this response. A natural increasing number. Only increases if format changes */ + version: EventsSchemaVersion; } diff --git a/frontend/src/openapi/models/exportFeatures404.ts b/frontend/src/openapi/models/exportFeatures404.ts index 20900f408d..711582511a 100644 --- a/frontend/src/openapi/models/exportFeatures404.ts +++ b/frontend/src/openapi/models/exportFeatures404.ts @@ -7,8 +7,8 @@ export type ExportFeatures404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/exportQuerySchemaOneOf.ts b/frontend/src/openapi/models/exportQuerySchemaOneOf.ts index 4e20e1a932..0df7f9f367 100644 --- a/frontend/src/openapi/models/exportQuerySchemaOneOf.ts +++ b/frontend/src/openapi/models/exportQuerySchemaOneOf.ts @@ -5,10 +5,10 @@ */ export type ExportQuerySchemaOneOf = { - /** The environment to export from */ - environment: string; /** Whether to return a downloadable file */ downloadFile?: boolean; + /** The environment to export from */ + environment: string; /** Selects features to export by name. */ features: string[]; }; diff --git a/frontend/src/openapi/models/exportQuerySchemaOneOfTwo.ts b/frontend/src/openapi/models/exportQuerySchemaOneOfTwo.ts index c240e32ded..35e6db3ccd 100644 --- a/frontend/src/openapi/models/exportQuerySchemaOneOfTwo.ts +++ b/frontend/src/openapi/models/exportQuerySchemaOneOfTwo.ts @@ -5,10 +5,10 @@ */ export type ExportQuerySchemaOneOfTwo = { - /** The environment to export from */ - environment: string; /** Whether to return a downloadable file */ downloadFile?: boolean; + /** The environment to export from */ + environment: string; /** Selects features to export by tag. Takes precedence over the features field. */ tag: string; }; diff --git a/frontend/src/openapi/models/exportResultSchema.ts b/frontend/src/openapi/models/exportResultSchema.ts index 38e576810c..99ca932518 100644 --- a/frontend/src/openapi/models/exportResultSchema.ts +++ b/frontend/src/openapi/models/exportResultSchema.ts @@ -3,33 +3,33 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { ContextFieldSchema } from './contextFieldSchema'; +import type { FeatureDependenciesSchema } from './featureDependenciesSchema'; +import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; import type { FeatureSchema } from './featureSchema'; import type { FeatureStrategySchema } from './featureStrategySchema'; -import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; -import type { ContextFieldSchema } from './contextFieldSchema'; import type { FeatureTagSchema } from './featureTagSchema'; import type { ExportResultSchemaSegmentsItem } from './exportResultSchemaSegmentsItem'; import type { TagTypeSchema } from './tagTypeSchema'; -import type { FeatureDependenciesSchema } from './featureDependenciesSchema'; /** * The result of the export operation, providing you with the feature toggle definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.) */ export interface ExportResultSchema { + /** A list of all the context fields that are in use by any of the strategies in the `featureStrategies` list. */ + contextFields?: ContextFieldSchema[]; + /** A list of all the dependencies for features in `features` list. */ + dependencies?: FeatureDependenciesSchema[]; + /** Environment-specific configuration for all the features in the `features` list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc. */ + featureEnvironments?: FeatureEnvironmentSchema[]; /** All the exported features. */ features: FeatureSchema[]; /** All strategy instances that are used by the exported features in the `features` list. */ featureStrategies: FeatureStrategySchema[]; - /** Environment-specific configuration for all the features in the `features` list. Includes data such as whether the feature is enabled in the selected export environment, whether there are any variants assigned, etc. */ - featureEnvironments?: FeatureEnvironmentSchema[]; - /** A list of all the context fields that are in use by any of the strategies in the `featureStrategies` list. */ - contextFields?: ContextFieldSchema[]; /** A list of all the tags that have been applied to any of the features in the `features` list. */ featureTags?: FeatureTagSchema[]; /** A list of all the segments that are used by the strategies in the `featureStrategies` list. */ segments?: ExportResultSchemaSegmentsItem[]; /** A list of all of the tag types that are used in the `featureTags` list. */ tagTypes: TagTypeSchema[]; - /** A list of all the dependencies for features in `features` list. */ - dependencies?: FeatureDependenciesSchema[]; } diff --git a/frontend/src/openapi/models/featureDependenciesSchema.ts b/frontend/src/openapi/models/featureDependenciesSchema.ts index a848f26d6e..b2ece2e691 100644 --- a/frontend/src/openapi/models/featureDependenciesSchema.ts +++ b/frontend/src/openapi/models/featureDependenciesSchema.ts @@ -9,8 +9,8 @@ import type { DependentFeatureSchema } from './dependentFeatureSchema'; * Feature dependency connection between a child feature and its dependencies */ export interface FeatureDependenciesSchema { - /** The name of the child feature. */ - feature: string; /** List of parent features for the child feature */ dependencies: DependentFeatureSchema[]; + /** The name of the child feature. */ + feature: string; } diff --git a/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts b/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts index 3e47007aef..eb28cab957 100644 --- a/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts +++ b/frontend/src/openapi/models/featureEnvironmentMetricsSchema.ts @@ -10,18 +10,18 @@ import type { FeatureEnvironmentMetricsSchemaVariants } from './featureEnvironme * How many times `feautreName` was evaluated to `true` (yes) and `false` (no) for `appName` in `environmnet` */ export interface FeatureEnvironmentMetricsSchema { - /** The name of the feature */ - featureName?: string; /** The name of the application the SDK is being used in */ appName?: string; /** Which environment the SDK is being used in */ environment: string; - /** The start of the time window these metrics are valid for. The window is usually 1 hour wide */ - timestamp: DateSchema; - /** How many times the toggle evaluated to true */ - yes: number; + /** The name of the feature */ + featureName?: string; /** How many times the toggle evaluated to false */ no: number; + /** The start of the time window these metrics are valid for. The window is usually 1 hour wide */ + timestamp: DateSchema; /** How many times each variant was returned */ variants?: FeatureEnvironmentMetricsSchemaVariants; + /** How many times the toggle evaluated to true */ + yes: number; } diff --git a/frontend/src/openapi/models/featureEnvironmentSchema.ts b/frontend/src/openapi/models/featureEnvironmentSchema.ts index 55f27a2ec4..dc1b8088ee 100644 --- a/frontend/src/openapi/models/featureEnvironmentSchema.ts +++ b/frontend/src/openapi/models/featureEnvironmentSchema.ts @@ -10,28 +10,28 @@ import type { VariantSchema } from './variantSchema'; * A detailed description of the feature environment */ export interface FeatureEnvironmentSchema { - /** The name of the environment */ - name: string; - /** The name of the feature */ - featureName?: string; - /** The name of the environment */ - environment?: string; - /** The type of the environment */ - type?: string; /** `true` if the feature is enabled for the environment, otherwise `false`. */ enabled: boolean; - /** The sort order of the feature environment in the feature environments list */ - sortOrder?: number; - /** The number of defined variants */ - variantCount?: number; - /** A list of activation strategies for the feature environment */ - strategies?: FeatureStrategySchema[]; - /** A list of variants for the feature environment */ - variants?: VariantSchema[]; - /** The date when metrics where last collected for the feature environment */ - lastSeenAt?: string | null; - /** Whether the feature has any strategies defined. */ - hasStrategies?: boolean; + /** The name of the environment */ + environment?: string; + /** The name of the feature */ + featureName?: string; /** Whether the feature has any enabled strategies defined. */ hasEnabledStrategies?: boolean; + /** Whether the feature has any strategies defined. */ + hasStrategies?: boolean; + /** The date when metrics where last collected for the feature environment */ + lastSeenAt?: string | null; + /** The name of the environment */ + name: string; + /** The sort order of the feature environment in the feature environments list */ + sortOrder?: number; + /** A list of activation strategies for the feature environment */ + strategies?: FeatureStrategySchema[]; + /** The type of the environment */ + type?: string; + /** The number of defined variants */ + variantCount?: number; + /** A list of variants for the feature environment */ + variants?: VariantSchema[]; } diff --git a/frontend/src/openapi/models/featureEventsSchema.ts b/frontend/src/openapi/models/featureEventsSchema.ts index aaf0475d66..6af614d97d 100644 --- a/frontend/src/openapi/models/featureEventsSchema.ts +++ b/frontend/src/openapi/models/featureEventsSchema.ts @@ -3,19 +3,19 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureEventsSchemaVersion } from './featureEventsSchemaVersion'; import type { EventSchema } from './eventSchema'; +import type { FeatureEventsSchemaVersion } from './featureEventsSchemaVersion'; /** * One or more events happening to a specific feature toggle */ export interface FeatureEventsSchema { - /** An API versioning number */ - version?: FeatureEventsSchemaVersion; - /** The name of the feature toggle these events relate to */ - toggleName?: string; /** The list of events */ events: EventSchema[]; + /** The name of the feature toggle these events relate to */ + toggleName?: string; /** How many events are there for this feature toggle */ totalEvents?: number; + /** An API versioning number */ + version?: FeatureEventsSchemaVersion; } diff --git a/frontend/src/openapi/models/featureMetricsSchema.ts b/frontend/src/openapi/models/featureMetricsSchema.ts index 6bc9b41048..a529ab2167 100644 --- a/frontend/src/openapi/models/featureMetricsSchema.ts +++ b/frontend/src/openapi/models/featureMetricsSchema.ts @@ -9,10 +9,10 @@ import type { FeatureEnvironmentMetricsSchema } from './featureEnvironmentMetric * A batch of feature metrics */ export interface FeatureMetricsSchema { - /** The version of this schema */ - version: number; - /** The maturity level of this API (alpha, beta, stable, deprecated) */ - maturity: string; /** Metrics gathered per environment */ data: FeatureEnvironmentMetricsSchema[]; + /** The maturity level of this API (alpha, beta, stable, deprecated) */ + maturity: string; + /** The version of this schema */ + version: number; } diff --git a/frontend/src/openapi/models/featureSchema.ts b/frontend/src/openapi/models/featureSchema.ts index 4f9252ea58..65f91a7cfc 100644 --- a/frontend/src/openapi/models/featureSchema.ts +++ b/frontend/src/openapi/models/featureSchema.ts @@ -3,50 +3,47 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { FeatureSchemaDependenciesItem } from './featureSchemaDependenciesItem'; import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; -import type { VariantSchema } from './variantSchema'; import type { FeatureSchemaStrategiesItem } from './featureSchemaStrategiesItem'; import type { TagSchema } from './tagSchema'; -import type { FeatureSchemaDependenciesItem } from './featureSchemaDependenciesItem'; +import type { VariantSchema } from './variantSchema'; /** * A feature toggle definition */ export interface FeatureSchema { - /** Unique feature name */ - name: string; - /** Type of the toggle e.g. experiment, kill-switch, release, operational, permission */ - type?: string; - /** Detailed description of the feature */ - description?: string | null; /** `true` if the feature is archived */ archived?: boolean; - /** Name of the project the feature belongs to */ - project?: string; + /** The date the feature was archived */ + archivedAt?: string | null; + /** The list of child feature names. This is an experimental field and may change. */ + children?: string[]; + /** The date the feature was created */ + createdAt?: string | null; + /** The list of parent dependencies. This is an experimental field and may change. */ + dependencies?: FeatureSchemaDependenciesItem[]; + /** Detailed description of the feature */ + description?: string | null; /** `true` if the feature is enabled, otherwise `false`. */ enabled?: boolean; - /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ - stale?: boolean; + /** The list of environments where the feature can be used */ + environments?: FeatureEnvironmentSchema[]; /** `true` if the feature was favorited, otherwise `false`. */ favorite?: boolean; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData?: boolean; - /** The date the feature was created */ - createdAt?: string | null; - /** The date the feature was archived */ - archivedAt?: string | null; /** * The date when metrics where last collected for the feature. This field is deprecated, use the one in featureEnvironmentSchema * @deprecated */ lastSeenAt?: string | null; - /** The list of environments where the feature can be used */ - environments?: FeatureEnvironmentSchema[]; - /** - * The list of feature variants - * @deprecated - */ - variants?: VariantSchema[]; + /** Unique feature name */ + name: string; + /** Name of the project the feature belongs to */ + project?: string; + /** `true` if the feature is stale based on the age and feature type, otherwise `false`. */ + stale?: boolean; /** * This is a legacy field that will be deprecated * @deprecated @@ -54,8 +51,11 @@ export interface FeatureSchema { strategies?: FeatureSchemaStrategiesItem[]; /** The list of feature tags */ tags?: TagSchema[] | null; - /** The list of child feature names. This is an experimental field and may change. */ - children?: string[]; - /** The list of parent dependencies. This is an experimental field and may change. */ - dependencies?: FeatureSchemaDependenciesItem[]; + /** Type of the toggle e.g. experiment, kill-switch, release, operational, permission */ + type?: string; + /** + * The list of feature variants + * @deprecated + */ + variants?: VariantSchema[]; } diff --git a/frontend/src/openapi/models/featureSchemaDependenciesItem.ts b/frontend/src/openapi/models/featureSchemaDependenciesItem.ts index d538c66a2c..5f5f4e53a2 100644 --- a/frontend/src/openapi/models/featureSchemaDependenciesItem.ts +++ b/frontend/src/openapi/models/featureSchemaDependenciesItem.ts @@ -5,10 +5,10 @@ */ export type FeatureSchemaDependenciesItem = { - /** The name of the parent feature */ - feature: string; /** Whether the parent feature is enabled or not */ enabled?: boolean; + /** The name of the parent feature */ + feature: string; /** The list of variants the parent feature should resolve to. Only valid when feature is enabled. */ variants?: string[]; }; diff --git a/frontend/src/openapi/models/featureStrategySchema.ts b/frontend/src/openapi/models/featureStrategySchema.ts index 887e268fbe..a4ac3c783c 100644 --- a/frontend/src/openapi/models/featureStrategySchema.ts +++ b/frontend/src/openapi/models/featureStrategySchema.ts @@ -4,30 +4,30 @@ * See `gen:api` script in package.json */ import type { ConstraintSchema } from './constraintSchema'; -import type { StrategyVariantSchema } from './strategyVariantSchema'; import type { ParametersSchema } from './parametersSchema'; +import type { StrategyVariantSchema } from './strategyVariantSchema'; /** * A single activation strategy configuration schema for a feature */ export interface FeatureStrategySchema { - /** A uuid for the feature strategy */ - id?: string; - /** The name or type of strategy */ - name: string; - /** A descriptive title for the strategy */ - title?: string | null; + /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ + constraints?: ConstraintSchema[]; /** A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs */ disabled?: boolean | null; /** The name or feature the strategy is attached to */ featureName?: string; - /** The order of the strategy in the list */ - sortOrder?: number; + /** A uuid for the feature strategy */ + id?: string; + /** The name or type of strategy */ + name: string; + parameters?: ParametersSchema; /** A list of segment ids attached to the strategy */ segments?: number[]; - /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ - constraints?: ConstraintSchema[]; + /** The order of the strategy in the list */ + sortOrder?: number; + /** A descriptive title for the strategy */ + title?: string | null; /** Strategy level variants */ variants?: StrategyVariantSchema[]; - parameters?: ParametersSchema; } diff --git a/frontend/src/openapi/models/featureStrategySegmentSchema.ts b/frontend/src/openapi/models/featureStrategySegmentSchema.ts index 5ec0d10460..968b2763da 100644 --- a/frontend/src/openapi/models/featureStrategySegmentSchema.ts +++ b/frontend/src/openapi/models/featureStrategySegmentSchema.ts @@ -8,8 +8,8 @@ * An object containing a segment identifier and a strategy identifier. */ export interface FeatureStrategySegmentSchema { - /** The ID of the segment */ - segmentId: number; /** The ID of the strategy */ featureStrategyId: string; + /** The ID of the segment */ + segmentId: number; } diff --git a/frontend/src/openapi/models/featureTypeCountSchema.ts b/frontend/src/openapi/models/featureTypeCountSchema.ts new file mode 100644 index 0000000000..f81caee47d --- /dev/null +++ b/frontend/src/openapi/models/featureTypeCountSchema.ts @@ -0,0 +1,15 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +/** + * A count of feature flags of a specific type + */ +export interface FeatureTypeCountSchema { + /** Number of feature flags of this type */ + count: number; + /** Type of the flag e.g. experiment, kill-switch, release, operational, permission */ + type: string; +} diff --git a/frontend/src/openapi/models/featureTypeSchema.ts b/frontend/src/openapi/models/featureTypeSchema.ts index 4a2f1ba5f8..6176a6715c 100644 --- a/frontend/src/openapi/models/featureTypeSchema.ts +++ b/frontend/src/openapi/models/featureTypeSchema.ts @@ -8,12 +8,12 @@ * A [feature toggle type](https://docs.getunleash.io/reference/feature-toggle-types). */ export interface FeatureTypeSchema { - /** The identifier of this feature toggle type. */ - id: string; - /** The display name of this feature toggle type. */ - name: string; /** A description of what this feature toggle type is intended to be used for. */ description: string; + /** The identifier of this feature toggle type. */ + id: string; /** How many days it takes before a feature toggle of this typed is flagged as [potentially stale](https://docs.getunleash.io/reference/technical-debt#stale-and-potentially-stale-toggles) by Unleash. If this value is `null`, Unleash will never mark it as potentially stale. */ lifetimeDays: number | null; + /** The display name of this feature toggle type. */ + name: string; } diff --git a/frontend/src/openapi/models/featureTypesSchema.ts b/frontend/src/openapi/models/featureTypesSchema.ts index 37ebcdd5a9..3dd20eadc2 100644 --- a/frontend/src/openapi/models/featureTypesSchema.ts +++ b/frontend/src/openapi/models/featureTypesSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { FeatureTypesSchemaVersion } from './featureTypesSchemaVersion'; import type { FeatureTypeSchema } from './featureTypeSchema'; +import type { FeatureTypesSchemaVersion } from './featureTypesSchemaVersion'; /** * A list of [feature toggle types](https://docs.getunleash.io/reference/feature-toggle-types) and the schema version used to represent those feature types. */ export interface FeatureTypesSchema { - /** The schema version used to describe the feature toggle types listed in the `types` property. */ - version: FeatureTypesSchemaVersion; /** The list of feature toggle types. */ types: FeatureTypeSchema[]; + /** The schema version used to describe the feature toggle types listed in the `types` property. */ + version: FeatureTypesSchemaVersion; } diff --git a/frontend/src/openapi/models/featureUsageSchema.ts b/frontend/src/openapi/models/featureUsageSchema.ts index ceec1f509c..a561fc8706 100644 --- a/frontend/src/openapi/models/featureUsageSchema.ts +++ b/frontend/src/openapi/models/featureUsageSchema.ts @@ -9,14 +9,14 @@ import type { FeatureEnvironmentMetricsSchema } from './featureEnvironmentMetric * How many applications have seen this feature toggle, as well as how this feature was evaluated the last hour */ export interface FeatureUsageSchema { - /** The version of this schema */ - version: number; - /** The maturity level of this API (alpha, beta, stable, deprecated) */ - maturity: string; /** The name of the feature */ featureName: string; /** Last hour statistics. Accumulated per feature per environment. Contains counts for evaluations to true (yes) and to false (no) */ lastHourUsage: FeatureEnvironmentMetricsSchema[]; + /** The maturity level of this API (alpha, beta, stable, deprecated) */ + maturity: string; /** A list of applications seen using this feature */ seenApplications: string[]; + /** The version of this schema */ + version: number; } diff --git a/frontend/src/openapi/models/featureVariantsSchema.ts b/frontend/src/openapi/models/featureVariantsSchema.ts index b9956a578b..8b80a014e8 100644 --- a/frontend/src/openapi/models/featureVariantsSchema.ts +++ b/frontend/src/openapi/models/featureVariantsSchema.ts @@ -9,8 +9,8 @@ import type { VariantSchema } from './variantSchema'; * A versioned collection of feature toggle variants. */ export interface FeatureVariantsSchema { - /** The version of the feature variants schema. */ - version: number; /** All variants defined for a specific feature toggle. */ variants: VariantSchema[]; + /** The version of the feature variants schema. */ + version: number; } diff --git a/frontend/src/openapi/models/featuresSchema.ts b/frontend/src/openapi/models/featuresSchema.ts index 55026a5dff..fe3e278d91 100644 --- a/frontend/src/openapi/models/featuresSchema.ts +++ b/frontend/src/openapi/models/featuresSchema.ts @@ -10,8 +10,8 @@ import type { FeatureSchema } from './featureSchema'; * @deprecated */ export interface FeaturesSchema { - /** The version of the feature's schema */ - version: number; /** A list of features */ features: FeatureSchema[]; + /** The version of the feature's schema */ + version: number; } diff --git a/frontend/src/openapi/models/feedbackCreateSchema.ts b/frontend/src/openapi/models/feedbackCreateSchema.ts index b182cef176..24d6d9f854 100644 --- a/frontend/src/openapi/models/feedbackCreateSchema.ts +++ b/frontend/src/openapi/models/feedbackCreateSchema.ts @@ -8,8 +8,8 @@ * User feedback information to be created. */ export interface FeedbackCreateSchema { - /** `true` if the user has asked never to see this feedback questionnaire again. Defaults to `false`. */ - neverShow?: boolean; /** The name of the feedback session */ feedbackId: string; + /** `true` if the user has asked never to see this feedback questionnaire again. Defaults to `false`. */ + neverShow?: boolean; } diff --git a/frontend/src/openapi/models/feedbackResponseSchema.ts b/frontend/src/openapi/models/feedbackResponseSchema.ts index 4424094422..48f6ec260c 100644 --- a/frontend/src/openapi/models/feedbackResponseSchema.ts +++ b/frontend/src/openapi/models/feedbackResponseSchema.ts @@ -8,12 +8,12 @@ * User feedback information about a particular feedback item. */ export interface FeedbackResponseSchema { - /** The ID of the user that gave the feedback. */ - userId?: number; - /** `true` if the user has asked never to see this feedback questionnaire again. */ - neverShow?: boolean; - /** When this feedback was given */ - given?: string | null; /** The name of the feedback session */ feedbackId?: string; + /** When this feedback was given */ + given?: string | null; + /** `true` if the user has asked never to see this feedback questionnaire again. */ + neverShow?: boolean; + /** The ID of the user that gave the feedback. */ + userId?: number; } diff --git a/frontend/src/openapi/models/feedbackUpdateSchema.ts b/frontend/src/openapi/models/feedbackUpdateSchema.ts index d93fe61b9a..d5fad3e1e6 100644 --- a/frontend/src/openapi/models/feedbackUpdateSchema.ts +++ b/frontend/src/openapi/models/feedbackUpdateSchema.ts @@ -8,10 +8,10 @@ * User feedback information to be updated. */ export interface FeedbackUpdateSchema { - /** The ID of the user that gave the feedback. */ - userId?: number; - /** `true` if the user has asked never to see this feedback questionnaire again. */ - neverShow?: boolean; /** When this feedback was given */ given?: string | null; + /** `true` if the user has asked never to see this feedback questionnaire again. */ + neverShow?: boolean; + /** The ID of the user that gave the feedback. */ + userId?: number; } diff --git a/frontend/src/openapi/models/getAccessOverview401.ts b/frontend/src/openapi/models/getAccessOverview401.ts index 3e1a004694..7e5eb14856 100644 --- a/frontend/src/openapi/models/getAccessOverview401.ts +++ b/frontend/src/openapi/models/getAccessOverview401.ts @@ -7,8 +7,8 @@ export type GetAccessOverview401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAccessOverview403.ts b/frontend/src/openapi/models/getAccessOverview403.ts index 7ca09fc700..cbff41eb97 100644 --- a/frontend/src/openapi/models/getAccessOverview403.ts +++ b/frontend/src/openapi/models/getAccessOverview403.ts @@ -7,8 +7,8 @@ export type GetAccessOverview403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAccessOverview415.ts b/frontend/src/openapi/models/getAccessOverview415.ts index a1e0620b5f..f016f8c25a 100644 --- a/frontend/src/openapi/models/getAccessOverview415.ts +++ b/frontend/src/openapi/models/getAccessOverview415.ts @@ -7,8 +7,8 @@ export type GetAccessOverview415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAddon401.ts b/frontend/src/openapi/models/getAddon401.ts index 75f67d57a8..8fb27ba4a9 100644 --- a/frontend/src/openapi/models/getAddon401.ts +++ b/frontend/src/openapi/models/getAddon401.ts @@ -7,8 +7,8 @@ export type GetAddon401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAddons401.ts b/frontend/src/openapi/models/getAddons401.ts index 1147da18e3..f4fed7b0e2 100644 --- a/frontend/src/openapi/models/getAddons401.ts +++ b/frontend/src/openapi/models/getAddons401.ts @@ -7,8 +7,8 @@ export type GetAddons401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAdminCount401.ts b/frontend/src/openapi/models/getAdminCount401.ts index 7191387774..10046986e8 100644 --- a/frontend/src/openapi/models/getAdminCount401.ts +++ b/frontend/src/openapi/models/getAdminCount401.ts @@ -7,8 +7,8 @@ export type GetAdminCount401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAdminCount403.ts b/frontend/src/openapi/models/getAdminCount403.ts index 0011be2d1a..6d27c09ab7 100644 --- a/frontend/src/openapi/models/getAdminCount403.ts +++ b/frontend/src/openapi/models/getAdminCount403.ts @@ -7,8 +7,8 @@ export type GetAdminCount403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAdvancedPlayground400.ts b/frontend/src/openapi/models/getAdvancedPlayground400.ts index c4908590e3..d7c775fae4 100644 --- a/frontend/src/openapi/models/getAdvancedPlayground400.ts +++ b/frontend/src/openapi/models/getAdvancedPlayground400.ts @@ -7,8 +7,8 @@ export type GetAdvancedPlayground400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAdvancedPlayground401.ts b/frontend/src/openapi/models/getAdvancedPlayground401.ts index b065b63952..64cad04c5f 100644 --- a/frontend/src/openapi/models/getAdvancedPlayground401.ts +++ b/frontend/src/openapi/models/getAdvancedPlayground401.ts @@ -7,8 +7,8 @@ export type GetAdvancedPlayground401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllApiTokens401.ts b/frontend/src/openapi/models/getAllApiTokens401.ts index 8fa8e95b1c..e9eefeab0f 100644 --- a/frontend/src/openapi/models/getAllApiTokens401.ts +++ b/frontend/src/openapi/models/getAllApiTokens401.ts @@ -7,8 +7,8 @@ export type GetAllApiTokens401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllApiTokens403.ts b/frontend/src/openapi/models/getAllApiTokens403.ts index d9bf4630c7..6f655cbc95 100644 --- a/frontend/src/openapi/models/getAllApiTokens403.ts +++ b/frontend/src/openapi/models/getAllApiTokens403.ts @@ -7,8 +7,8 @@ export type GetAllApiTokens403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllEnvironments401.ts b/frontend/src/openapi/models/getAllEnvironments401.ts index 46e3857996..f44f5d479a 100644 --- a/frontend/src/openapi/models/getAllEnvironments401.ts +++ b/frontend/src/openapi/models/getAllEnvironments401.ts @@ -7,8 +7,8 @@ export type GetAllEnvironments401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllEnvironments403.ts b/frontend/src/openapi/models/getAllEnvironments403.ts index 5003b33498..cceb7795de 100644 --- a/frontend/src/openapi/models/getAllEnvironments403.ts +++ b/frontend/src/openapi/models/getAllEnvironments403.ts @@ -7,8 +7,8 @@ export type GetAllEnvironments403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllFeatureTypes401.ts b/frontend/src/openapi/models/getAllFeatureTypes401.ts index 0528ef3590..81153b32f4 100644 --- a/frontend/src/openapi/models/getAllFeatureTypes401.ts +++ b/frontend/src/openapi/models/getAllFeatureTypes401.ts @@ -7,8 +7,8 @@ export type GetAllFeatureTypes401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllStrategies401.ts b/frontend/src/openapi/models/getAllStrategies401.ts index b53aa3c519..d0d036c419 100644 --- a/frontend/src/openapi/models/getAllStrategies401.ts +++ b/frontend/src/openapi/models/getAllStrategies401.ts @@ -7,8 +7,8 @@ export type GetAllStrategies401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllToggles401.ts b/frontend/src/openapi/models/getAllToggles401.ts index fdd311de08..fcc96e7214 100644 --- a/frontend/src/openapi/models/getAllToggles401.ts +++ b/frontend/src/openapi/models/getAllToggles401.ts @@ -7,8 +7,8 @@ export type GetAllToggles401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getAllToggles403.ts b/frontend/src/openapi/models/getAllToggles403.ts index e284f53cc4..177adcc587 100644 --- a/frontend/src/openapi/models/getAllToggles403.ts +++ b/frontend/src/openapi/models/getAllToggles403.ts @@ -7,8 +7,8 @@ export type GetAllToggles403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getApiTokensByName401.ts b/frontend/src/openapi/models/getApiTokensByName401.ts index 2b7f390334..b36d20e1fa 100644 --- a/frontend/src/openapi/models/getApiTokensByName401.ts +++ b/frontend/src/openapi/models/getApiTokensByName401.ts @@ -7,8 +7,8 @@ export type GetApiTokensByName401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getApiTokensByName403.ts b/frontend/src/openapi/models/getApiTokensByName403.ts index 6d3b469dde..4e89b5670e 100644 --- a/frontend/src/openapi/models/getApiTokensByName403.ts +++ b/frontend/src/openapi/models/getApiTokensByName403.ts @@ -7,8 +7,8 @@ export type GetApiTokensByName403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getApplication404.ts b/frontend/src/openapi/models/getApplication404.ts index 6539616d95..e8fb652635 100644 --- a/frontend/src/openapi/models/getApplication404.ts +++ b/frontend/src/openapi/models/getApplication404.ts @@ -7,8 +7,8 @@ export type GetApplication404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeatures401.ts b/frontend/src/openapi/models/getArchivedFeatures401.ts index e6f8872ad5..8c9694169c 100644 --- a/frontend/src/openapi/models/getArchivedFeatures401.ts +++ b/frontend/src/openapi/models/getArchivedFeatures401.ts @@ -7,8 +7,8 @@ export type GetArchivedFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeatures403.ts b/frontend/src/openapi/models/getArchivedFeatures403.ts index a2a5a1c30d..1ebec4e331 100644 --- a/frontend/src/openapi/models/getArchivedFeatures403.ts +++ b/frontend/src/openapi/models/getArchivedFeatures403.ts @@ -7,8 +7,8 @@ export type GetArchivedFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts b/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts index 7ce3e64ecc..b19ca8d9d9 100644 --- a/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts +++ b/frontend/src/openapi/models/getArchivedFeaturesByProjectId401.ts @@ -7,8 +7,8 @@ export type GetArchivedFeaturesByProjectId401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts b/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts index e8ff6c0e1c..4feeaf4a3e 100644 --- a/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts +++ b/frontend/src/openapi/models/getArchivedFeaturesByProjectId403.ts @@ -7,8 +7,8 @@ export type GetArchivedFeaturesByProjectId403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getBanners401.ts b/frontend/src/openapi/models/getBanners401.ts index 86e7a7dc4b..d1b59858b8 100644 --- a/frontend/src/openapi/models/getBanners401.ts +++ b/frontend/src/openapi/models/getBanners401.ts @@ -7,8 +7,8 @@ export type GetBanners401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getBaseUsersAndGroups401.ts b/frontend/src/openapi/models/getBaseUsersAndGroups401.ts index 051f15e9cc..2b058bfcfe 100644 --- a/frontend/src/openapi/models/getBaseUsersAndGroups401.ts +++ b/frontend/src/openapi/models/getBaseUsersAndGroups401.ts @@ -7,8 +7,8 @@ export type GetBaseUsersAndGroups401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getChangeRequest404.ts b/frontend/src/openapi/models/getChangeRequest404.ts index 362aa06122..16216c673a 100644 --- a/frontend/src/openapi/models/getChangeRequest404.ts +++ b/frontend/src/openapi/models/getChangeRequest404.ts @@ -7,8 +7,8 @@ export type GetChangeRequest404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts new file mode 100644 index 0000000000..8b7118d973 --- /dev/null +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview401.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetDeprecatedProjectOverview401 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts new file mode 100644 index 0000000000..3c99c3ddd8 --- /dev/null +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview403.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetDeprecatedProjectOverview403 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts b/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts new file mode 100644 index 0000000000..70c61f6578 --- /dev/null +++ b/frontend/src/openapi/models/getDeprecatedProjectOverview404.ts @@ -0,0 +1,14 @@ +/** + * Generated by Orval + * Do not edit manually. + * See `gen:api` script in package.json + */ + +export type GetDeprecatedProjectOverview404 = { + /** The ID of the error instance */ + id?: string; + /** A description of what went wrong. */ + message?: string; + /** The name of the error kind */ + name?: string; +}; diff --git a/frontend/src/openapi/models/getEnvironment401.ts b/frontend/src/openapi/models/getEnvironment401.ts index a849a8bfc3..ae923a0c70 100644 --- a/frontend/src/openapi/models/getEnvironment401.ts +++ b/frontend/src/openapi/models/getEnvironment401.ts @@ -7,8 +7,8 @@ export type GetEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEnvironment403.ts b/frontend/src/openapi/models/getEnvironment403.ts index 0ca1adada6..e02042b9a2 100644 --- a/frontend/src/openapi/models/getEnvironment403.ts +++ b/frontend/src/openapi/models/getEnvironment403.ts @@ -7,8 +7,8 @@ export type GetEnvironment403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEnvironment404.ts b/frontend/src/openapi/models/getEnvironment404.ts index 945dd87c01..c7a07da0bc 100644 --- a/frontend/src/openapi/models/getEnvironment404.ts +++ b/frontend/src/openapi/models/getEnvironment404.ts @@ -7,8 +7,8 @@ export type GetEnvironment404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts index 18f02ff13d..c5d0802939 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants401.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts index 2e1715988e..3a6f5270ce 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants403.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts b/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts index f5d8b94c93..7e22b4e23d 100644 --- a/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts +++ b/frontend/src/openapi/models/getEnvironmentFeatureVariants404.ts @@ -7,8 +7,8 @@ export type GetEnvironmentFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEvents401.ts b/frontend/src/openapi/models/getEvents401.ts index fb04636938..2414d9ab01 100644 --- a/frontend/src/openapi/models/getEvents401.ts +++ b/frontend/src/openapi/models/getEvents401.ts @@ -7,8 +7,8 @@ export type GetEvents401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getEventsForToggle401.ts b/frontend/src/openapi/models/getEventsForToggle401.ts index 47ecaa08e6..dd55158ba3 100644 --- a/frontend/src/openapi/models/getEventsForToggle401.ts +++ b/frontend/src/openapi/models/getEventsForToggle401.ts @@ -7,8 +7,8 @@ export type GetEventsForToggle401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeature401.ts b/frontend/src/openapi/models/getFeature401.ts index 80b1c77302..0276e85bea 100644 --- a/frontend/src/openapi/models/getFeature401.ts +++ b/frontend/src/openapi/models/getFeature401.ts @@ -7,8 +7,8 @@ export type GetFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeature403.ts b/frontend/src/openapi/models/getFeature403.ts index 3f6999848e..6775c928b6 100644 --- a/frontend/src/openapi/models/getFeature403.ts +++ b/frontend/src/openapi/models/getFeature403.ts @@ -7,8 +7,8 @@ export type GetFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeature404.ts b/frontend/src/openapi/models/getFeature404.ts index afaca36f59..2a79678adc 100644 --- a/frontend/src/openapi/models/getFeature404.ts +++ b/frontend/src/openapi/models/getFeature404.ts @@ -7,8 +7,8 @@ export type GetFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment401.ts b/frontend/src/openapi/models/getFeatureEnvironment401.ts index 2cca9093f2..c03dc4fdb4 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment401.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment401.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment403.ts b/frontend/src/openapi/models/getFeatureEnvironment403.ts index d3b73b3930..4bf25ae376 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment403.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment403.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureEnvironment404.ts b/frontend/src/openapi/models/getFeatureEnvironment404.ts index 8f5be83727..2f3ce81870 100644 --- a/frontend/src/openapi/models/getFeatureEnvironment404.ts +++ b/frontend/src/openapi/models/getFeatureEnvironment404.ts @@ -7,8 +7,8 @@ export type GetFeatureEnvironment404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies401.ts b/frontend/src/openapi/models/getFeatureStrategies401.ts index 14b4400d26..f37d251a96 100644 --- a/frontend/src/openapi/models/getFeatureStrategies401.ts +++ b/frontend/src/openapi/models/getFeatureStrategies401.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies403.ts b/frontend/src/openapi/models/getFeatureStrategies403.ts index 37b7a46d1b..ff41cccf9c 100644 --- a/frontend/src/openapi/models/getFeatureStrategies403.ts +++ b/frontend/src/openapi/models/getFeatureStrategies403.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategies404.ts b/frontend/src/openapi/models/getFeatureStrategies404.ts index 73fe6e6f54..7e915306f9 100644 --- a/frontend/src/openapi/models/getFeatureStrategies404.ts +++ b/frontend/src/openapi/models/getFeatureStrategies404.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategies404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy401.ts b/frontend/src/openapi/models/getFeatureStrategy401.ts index 4d2a4df0a4..2a896dfbba 100644 --- a/frontend/src/openapi/models/getFeatureStrategy401.ts +++ b/frontend/src/openapi/models/getFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy403.ts b/frontend/src/openapi/models/getFeatureStrategy403.ts index 4354f2112a..a26337bac0 100644 --- a/frontend/src/openapi/models/getFeatureStrategy403.ts +++ b/frontend/src/openapi/models/getFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureStrategy404.ts b/frontend/src/openapi/models/getFeatureStrategy404.ts index 700e76a2c5..cfa91e0fbb 100644 --- a/frontend/src/openapi/models/getFeatureStrategy404.ts +++ b/frontend/src/openapi/models/getFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type GetFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary401.ts b/frontend/src/openapi/models/getFeatureUsageSummary401.ts index 970930d28f..c0da548242 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary401.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary401.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary403.ts b/frontend/src/openapi/models/getFeatureUsageSummary403.ts index 894a8cabde..b52c6d3187 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary403.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary403.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureUsageSummary404.ts b/frontend/src/openapi/models/getFeatureUsageSummary404.ts index 48ab3e6973..3880b36358 100644 --- a/frontend/src/openapi/models/getFeatureUsageSummary404.ts +++ b/frontend/src/openapi/models/getFeatureUsageSummary404.ts @@ -7,8 +7,8 @@ export type GetFeatureUsageSummary404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants401.ts b/frontend/src/openapi/models/getFeatureVariants401.ts index a1abfdba71..0eec1f6f49 100644 --- a/frontend/src/openapi/models/getFeatureVariants401.ts +++ b/frontend/src/openapi/models/getFeatureVariants401.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants403.ts b/frontend/src/openapi/models/getFeatureVariants403.ts index 6ecc3e577d..267d7aab59 100644 --- a/frontend/src/openapi/models/getFeatureVariants403.ts +++ b/frontend/src/openapi/models/getFeatureVariants403.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatureVariants404.ts b/frontend/src/openapi/models/getFeatureVariants404.ts index 26492fa3cf..a696c0b29a 100644 --- a/frontend/src/openapi/models/getFeatureVariants404.ts +++ b/frontend/src/openapi/models/getFeatureVariants404.ts @@ -7,8 +7,8 @@ export type GetFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatures400.ts b/frontend/src/openapi/models/getFeatures400.ts index eebbb6ea22..9b48ae0bba 100644 --- a/frontend/src/openapi/models/getFeatures400.ts +++ b/frontend/src/openapi/models/getFeatures400.ts @@ -7,8 +7,8 @@ export type GetFeatures400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatures401.ts b/frontend/src/openapi/models/getFeatures401.ts index 3cbb2f71e3..c6fac0ad73 100644 --- a/frontend/src/openapi/models/getFeatures401.ts +++ b/frontend/src/openapi/models/getFeatures401.ts @@ -7,8 +7,8 @@ export type GetFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFeatures403.ts b/frontend/src/openapi/models/getFeatures403.ts index 3ab9bf3158..9478d68d3d 100644 --- a/frontend/src/openapi/models/getFeatures403.ts +++ b/frontend/src/openapi/models/getFeatures403.ts @@ -7,8 +7,8 @@ export type GetFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFrontendFeatures401.ts b/frontend/src/openapi/models/getFrontendFeatures401.ts index e3027f95b0..cdd6e074d8 100644 --- a/frontend/src/openapi/models/getFrontendFeatures401.ts +++ b/frontend/src/openapi/models/getFrontendFeatures401.ts @@ -7,8 +7,8 @@ export type GetFrontendFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getFrontendFeatures404.ts b/frontend/src/openapi/models/getFrontendFeatures404.ts index 02d6845e20..07df82f9c2 100644 --- a/frontend/src/openapi/models/getFrontendFeatures404.ts +++ b/frontend/src/openapi/models/getFrontendFeatures404.ts @@ -7,8 +7,8 @@ export type GetFrontendFeatures404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGoogleSettings400.ts b/frontend/src/openapi/models/getGoogleSettings400.ts index 3f834b2cd6..07cc774eeb 100644 --- a/frontend/src/openapi/models/getGoogleSettings400.ts +++ b/frontend/src/openapi/models/getGoogleSettings400.ts @@ -7,8 +7,8 @@ export type GetGoogleSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGoogleSettings401.ts b/frontend/src/openapi/models/getGoogleSettings401.ts index c675f5f2ab..372d551e54 100644 --- a/frontend/src/openapi/models/getGoogleSettings401.ts +++ b/frontend/src/openapi/models/getGoogleSettings401.ts @@ -7,8 +7,8 @@ export type GetGoogleSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGoogleSettings403.ts b/frontend/src/openapi/models/getGoogleSettings403.ts index 93632e0baa..54c3be2d0c 100644 --- a/frontend/src/openapi/models/getGoogleSettings403.ts +++ b/frontend/src/openapi/models/getGoogleSettings403.ts @@ -7,8 +7,8 @@ export type GetGoogleSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroup400.ts b/frontend/src/openapi/models/getGroup400.ts index 7392d498ad..8daed2f9eb 100644 --- a/frontend/src/openapi/models/getGroup400.ts +++ b/frontend/src/openapi/models/getGroup400.ts @@ -7,8 +7,8 @@ export type GetGroup400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroup401.ts b/frontend/src/openapi/models/getGroup401.ts index 25f0ad64e6..3786576e2a 100644 --- a/frontend/src/openapi/models/getGroup401.ts +++ b/frontend/src/openapi/models/getGroup401.ts @@ -7,8 +7,8 @@ export type GetGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroup403.ts b/frontend/src/openapi/models/getGroup403.ts index 52eb7e515a..1c69b2a7db 100644 --- a/frontend/src/openapi/models/getGroup403.ts +++ b/frontend/src/openapi/models/getGroup403.ts @@ -7,8 +7,8 @@ export type GetGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroup404.ts b/frontend/src/openapi/models/getGroup404.ts index 160ea72258..4173dacbed 100644 --- a/frontend/src/openapi/models/getGroup404.ts +++ b/frontend/src/openapi/models/getGroup404.ts @@ -7,8 +7,8 @@ export type GetGroup404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroups401.ts b/frontend/src/openapi/models/getGroups401.ts index a8fe371db5..3d0cddd035 100644 --- a/frontend/src/openapi/models/getGroups401.ts +++ b/frontend/src/openapi/models/getGroups401.ts @@ -7,8 +7,8 @@ export type GetGroups401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getGroups403.ts b/frontend/src/openapi/models/getGroups403.ts index bd64224d71..1937d89a4a 100644 --- a/frontend/src/openapi/models/getGroups403.ts +++ b/frontend/src/openapi/models/getGroups403.ts @@ -7,8 +7,8 @@ export type GetGroups403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getLoginHistory401.ts b/frontend/src/openapi/models/getLoginHistory401.ts index 17f30e6adf..59f6b4743f 100644 --- a/frontend/src/openapi/models/getLoginHistory401.ts +++ b/frontend/src/openapi/models/getLoginHistory401.ts @@ -7,8 +7,8 @@ export type GetLoginHistory401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getLoginHistory404.ts b/frontend/src/openapi/models/getLoginHistory404.ts index dc91441cf1..049d0d29c1 100644 --- a/frontend/src/openapi/models/getLoginHistory404.ts +++ b/frontend/src/openapi/models/getLoginHistory404.ts @@ -7,8 +7,8 @@ export type GetLoginHistory404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getMaintenance401.ts b/frontend/src/openapi/models/getMaintenance401.ts index 8c30bee276..de8a205869 100644 --- a/frontend/src/openapi/models/getMaintenance401.ts +++ b/frontend/src/openapi/models/getMaintenance401.ts @@ -7,8 +7,8 @@ export type GetMaintenance401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getMaintenance403.ts b/frontend/src/openapi/models/getMaintenance403.ts index 910113ad4a..bc2c7bcef4 100644 --- a/frontend/src/openapi/models/getMaintenance403.ts +++ b/frontend/src/openapi/models/getMaintenance403.ts @@ -7,8 +7,8 @@ export type GetMaintenance403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getMe401.ts b/frontend/src/openapi/models/getMe401.ts index c49782d1e2..92f16a49f3 100644 --- a/frontend/src/openapi/models/getMe401.ts +++ b/frontend/src/openapi/models/getMe401.ts @@ -7,8 +7,8 @@ export type GetMe401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getOidcSettings400.ts b/frontend/src/openapi/models/getOidcSettings400.ts index 506bb8c056..326ce1f6f5 100644 --- a/frontend/src/openapi/models/getOidcSettings400.ts +++ b/frontend/src/openapi/models/getOidcSettings400.ts @@ -7,8 +7,8 @@ export type GetOidcSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getOidcSettings401.ts b/frontend/src/openapi/models/getOidcSettings401.ts index fbd2ddc0b5..72e4e7c7d6 100644 --- a/frontend/src/openapi/models/getOidcSettings401.ts +++ b/frontend/src/openapi/models/getOidcSettings401.ts @@ -7,8 +7,8 @@ export type GetOidcSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getOidcSettings403.ts b/frontend/src/openapi/models/getOidcSettings403.ts index 8d8f3202f5..b35087f02e 100644 --- a/frontend/src/openapi/models/getOidcSettings403.ts +++ b/frontend/src/openapi/models/getOidcSettings403.ts @@ -7,8 +7,8 @@ export type GetOidcSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPats401.ts b/frontend/src/openapi/models/getPats401.ts index 22925a3ffb..bf2506137c 100644 --- a/frontend/src/openapi/models/getPats401.ts +++ b/frontend/src/openapi/models/getPats401.ts @@ -7,8 +7,8 @@ export type GetPats401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPats403.ts b/frontend/src/openapi/models/getPats403.ts index 9476002c33..8e7fb4f22b 100644 --- a/frontend/src/openapi/models/getPats403.ts +++ b/frontend/src/openapi/models/getPats403.ts @@ -7,8 +7,8 @@ export type GetPats403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPats404.ts b/frontend/src/openapi/models/getPats404.ts index 559b548bfb..a9bdfdf62f 100644 --- a/frontend/src/openapi/models/getPats404.ts +++ b/frontend/src/openapi/models/getPats404.ts @@ -7,8 +7,8 @@ export type GetPats404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPlayground400.ts b/frontend/src/openapi/models/getPlayground400.ts index bebc663feb..7a78b782ac 100644 --- a/frontend/src/openapi/models/getPlayground400.ts +++ b/frontend/src/openapi/models/getPlayground400.ts @@ -7,8 +7,8 @@ export type GetPlayground400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPlayground401.ts b/frontend/src/openapi/models/getPlayground401.ts index 6dbf6f992c..743981c12f 100644 --- a/frontend/src/openapi/models/getPlayground401.ts +++ b/frontend/src/openapi/models/getPlayground401.ts @@ -7,8 +7,8 @@ export type GetPlayground401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProfile401.ts b/frontend/src/openapi/models/getProfile401.ts index a8370bf50b..79164ced25 100644 --- a/frontend/src/openapi/models/getProfile401.ts +++ b/frontend/src/openapi/models/getProfile401.ts @@ -7,8 +7,8 @@ export type GetProfile401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectAccess401.ts b/frontend/src/openapi/models/getProjectAccess401.ts index c2793f22de..a6938b9269 100644 --- a/frontend/src/openapi/models/getProjectAccess401.ts +++ b/frontend/src/openapi/models/getProjectAccess401.ts @@ -7,8 +7,8 @@ export type GetProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectAccess403.ts b/frontend/src/openapi/models/getProjectAccess403.ts index 34ac21cb65..5d41f40945 100644 --- a/frontend/src/openapi/models/getProjectAccess403.ts +++ b/frontend/src/openapi/models/getProjectAccess403.ts @@ -7,8 +7,8 @@ export type GetProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens401.ts b/frontend/src/openapi/models/getProjectApiTokens401.ts index 7ee262eb46..3bdb6a4c61 100644 --- a/frontend/src/openapi/models/getProjectApiTokens401.ts +++ b/frontend/src/openapi/models/getProjectApiTokens401.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens403.ts b/frontend/src/openapi/models/getProjectApiTokens403.ts index 2dce463b40..0b4358a871 100644 --- a/frontend/src/openapi/models/getProjectApiTokens403.ts +++ b/frontend/src/openapi/models/getProjectApiTokens403.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectApiTokens404.ts b/frontend/src/openapi/models/getProjectApiTokens404.ts index f5c8633da8..bad28838ff 100644 --- a/frontend/src/openapi/models/getProjectApiTokens404.ts +++ b/frontend/src/openapi/models/getProjectApiTokens404.ts @@ -7,8 +7,8 @@ export type GetProjectApiTokens404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora401.ts b/frontend/src/openapi/models/getProjectDora401.ts index 3b08317710..e79bf4ee00 100644 --- a/frontend/src/openapi/models/getProjectDora401.ts +++ b/frontend/src/openapi/models/getProjectDora401.ts @@ -7,8 +7,8 @@ export type GetProjectDora401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora403.ts b/frontend/src/openapi/models/getProjectDora403.ts index 0166072dde..0cf959aafa 100644 --- a/frontend/src/openapi/models/getProjectDora403.ts +++ b/frontend/src/openapi/models/getProjectDora403.ts @@ -7,8 +7,8 @@ export type GetProjectDora403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectDora404.ts b/frontend/src/openapi/models/getProjectDora404.ts index 62083a95ef..9bdf512767 100644 --- a/frontend/src/openapi/models/getProjectDora404.ts +++ b/frontend/src/openapi/models/getProjectDora404.ts @@ -7,8 +7,8 @@ export type GetProjectDora404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments401.ts b/frontend/src/openapi/models/getProjectEnvironments401.ts index 8d9c72aeb7..c6bae52e8a 100644 --- a/frontend/src/openapi/models/getProjectEnvironments401.ts +++ b/frontend/src/openapi/models/getProjectEnvironments401.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments403.ts b/frontend/src/openapi/models/getProjectEnvironments403.ts index bcc41c8d6f..a74bdd71d9 100644 --- a/frontend/src/openapi/models/getProjectEnvironments403.ts +++ b/frontend/src/openapi/models/getProjectEnvironments403.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectEnvironments404.ts b/frontend/src/openapi/models/getProjectEnvironments404.ts index a07ee4c685..271036b513 100644 --- a/frontend/src/openapi/models/getProjectEnvironments404.ts +++ b/frontend/src/openapi/models/getProjectEnvironments404.ts @@ -7,8 +7,8 @@ export type GetProjectEnvironments404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport401.ts b/frontend/src/openapi/models/getProjectHealthReport401.ts index debbe149f3..41cc08d7cc 100644 --- a/frontend/src/openapi/models/getProjectHealthReport401.ts +++ b/frontend/src/openapi/models/getProjectHealthReport401.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport403.ts b/frontend/src/openapi/models/getProjectHealthReport403.ts index f5501f409c..fd8f6da75a 100644 --- a/frontend/src/openapi/models/getProjectHealthReport403.ts +++ b/frontend/src/openapi/models/getProjectHealthReport403.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectHealthReport404.ts b/frontend/src/openapi/models/getProjectHealthReport404.ts index 8314ab3941..46f5b7e3d5 100644 --- a/frontend/src/openapi/models/getProjectHealthReport404.ts +++ b/frontend/src/openapi/models/getProjectHealthReport404.ts @@ -7,8 +7,8 @@ export type GetProjectHealthReport404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview401.ts b/frontend/src/openapi/models/getProjectOverview401.ts index 200eea6607..989a91d9f5 100644 --- a/frontend/src/openapi/models/getProjectOverview401.ts +++ b/frontend/src/openapi/models/getProjectOverview401.ts @@ -7,8 +7,8 @@ export type GetProjectOverview401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview403.ts b/frontend/src/openapi/models/getProjectOverview403.ts index cec2afb933..e8694f9d06 100644 --- a/frontend/src/openapi/models/getProjectOverview403.ts +++ b/frontend/src/openapi/models/getProjectOverview403.ts @@ -7,8 +7,8 @@ export type GetProjectOverview403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectOverview404.ts b/frontend/src/openapi/models/getProjectOverview404.ts index c69425e134..caa2bda3b0 100644 --- a/frontend/src/openapi/models/getProjectOverview404.ts +++ b/frontend/src/openapi/models/getProjectOverview404.ts @@ -7,8 +7,8 @@ export type GetProjectOverview404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectUsers401.ts b/frontend/src/openapi/models/getProjectUsers401.ts index 1f7ce103ea..1cd86beee0 100644 --- a/frontend/src/openapi/models/getProjectUsers401.ts +++ b/frontend/src/openapi/models/getProjectUsers401.ts @@ -7,8 +7,8 @@ export type GetProjectUsers401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjectUsers403.ts b/frontend/src/openapi/models/getProjectUsers403.ts index 2248528059..5c08f06129 100644 --- a/frontend/src/openapi/models/getProjectUsers403.ts +++ b/frontend/src/openapi/models/getProjectUsers403.ts @@ -7,8 +7,8 @@ export type GetProjectUsers403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjects401.ts b/frontend/src/openapi/models/getProjects401.ts index b6a5836287..18379e5eb5 100644 --- a/frontend/src/openapi/models/getProjects401.ts +++ b/frontend/src/openapi/models/getProjects401.ts @@ -7,8 +7,8 @@ export type GetProjects401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getProjects403.ts b/frontend/src/openapi/models/getProjects403.ts index 4ca629b142..59f7e88f7a 100644 --- a/frontend/src/openapi/models/getProjects403.ts +++ b/frontend/src/openapi/models/getProjects403.ts @@ -7,8 +7,8 @@ export type GetProjects403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPublicSignupToken401.ts b/frontend/src/openapi/models/getPublicSignupToken401.ts index 08049e9f11..a1ee595747 100644 --- a/frontend/src/openapi/models/getPublicSignupToken401.ts +++ b/frontend/src/openapi/models/getPublicSignupToken401.ts @@ -7,8 +7,8 @@ export type GetPublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getPublicSignupToken403.ts b/frontend/src/openapi/models/getPublicSignupToken403.ts index 59aa977299..b9d9aee442 100644 --- a/frontend/src/openapi/models/getPublicSignupToken403.ts +++ b/frontend/src/openapi/models/getPublicSignupToken403.ts @@ -7,8 +7,8 @@ export type GetPublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics401.ts b/frontend/src/openapi/models/getRawFeatureMetrics401.ts index 27d2d26219..81987cd30d 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics401.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics401.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics403.ts b/frontend/src/openapi/models/getRawFeatureMetrics403.ts index 802cd363e3..4ce9ee376c 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics403.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics403.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRawFeatureMetrics404.ts b/frontend/src/openapi/models/getRawFeatureMetrics404.ts index dd1a7e48fa..75f25aa518 100644 --- a/frontend/src/openapi/models/getRawFeatureMetrics404.ts +++ b/frontend/src/openapi/models/getRawFeatureMetrics404.ts @@ -7,8 +7,8 @@ export type GetRawFeatureMetrics404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoleById400.ts b/frontend/src/openapi/models/getRoleById400.ts index eb15d4b268..19947ec37b 100644 --- a/frontend/src/openapi/models/getRoleById400.ts +++ b/frontend/src/openapi/models/getRoleById400.ts @@ -7,8 +7,8 @@ export type GetRoleById400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoleById401.ts b/frontend/src/openapi/models/getRoleById401.ts index 6060e4c31e..588bd4e397 100644 --- a/frontend/src/openapi/models/getRoleById401.ts +++ b/frontend/src/openapi/models/getRoleById401.ts @@ -7,8 +7,8 @@ export type GetRoleById401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoleById404.ts b/frontend/src/openapi/models/getRoleById404.ts index baedfd8b5d..a8cc0aae9a 100644 --- a/frontend/src/openapi/models/getRoleById404.ts +++ b/frontend/src/openapi/models/getRoleById404.ts @@ -7,8 +7,8 @@ export type GetRoleById404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoleProjectAccess401.ts b/frontend/src/openapi/models/getRoleProjectAccess401.ts index ca46050b91..5ce57c34c6 100644 --- a/frontend/src/openapi/models/getRoleProjectAccess401.ts +++ b/frontend/src/openapi/models/getRoleProjectAccess401.ts @@ -7,8 +7,8 @@ export type GetRoleProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoleProjectAccess403.ts b/frontend/src/openapi/models/getRoleProjectAccess403.ts index 70d1d39b4c..2b38b4f752 100644 --- a/frontend/src/openapi/models/getRoleProjectAccess403.ts +++ b/frontend/src/openapi/models/getRoleProjectAccess403.ts @@ -7,8 +7,8 @@ export type GetRoleProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoles401.ts b/frontend/src/openapi/models/getRoles401.ts index 2bb42bc110..86b1ef3ddc 100644 --- a/frontend/src/openapi/models/getRoles401.ts +++ b/frontend/src/openapi/models/getRoles401.ts @@ -7,8 +7,8 @@ export type GetRoles401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getRoles403.ts b/frontend/src/openapi/models/getRoles403.ts index fdc7319ef3..0bddf86c0b 100644 --- a/frontend/src/openapi/models/getRoles403.ts +++ b/frontend/src/openapi/models/getRoles403.ts @@ -7,8 +7,8 @@ export type GetRoles403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSamlSettings400.ts b/frontend/src/openapi/models/getSamlSettings400.ts index b094d50f8a..dca699efa4 100644 --- a/frontend/src/openapi/models/getSamlSettings400.ts +++ b/frontend/src/openapi/models/getSamlSettings400.ts @@ -7,8 +7,8 @@ export type GetSamlSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSamlSettings401.ts b/frontend/src/openapi/models/getSamlSettings401.ts index a06704a1b8..aa90619a95 100644 --- a/frontend/src/openapi/models/getSamlSettings401.ts +++ b/frontend/src/openapi/models/getSamlSettings401.ts @@ -7,8 +7,8 @@ export type GetSamlSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSamlSettings403.ts b/frontend/src/openapi/models/getSamlSettings403.ts index 68fe2a5213..c27f437686 100644 --- a/frontend/src/openapi/models/getSamlSettings403.ts +++ b/frontend/src/openapi/models/getSamlSettings403.ts @@ -7,8 +7,8 @@ export type GetSamlSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSegment404.ts b/frontend/src/openapi/models/getSegment404.ts index 72e2991638..98c3294bd4 100644 --- a/frontend/src/openapi/models/getSegment404.ts +++ b/frontend/src/openapi/models/getSegment404.ts @@ -7,8 +7,8 @@ export type GetSegment404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccountTokens401.ts b/frontend/src/openapi/models/getServiceAccountTokens401.ts index b7b75b2813..55f67ba225 100644 --- a/frontend/src/openapi/models/getServiceAccountTokens401.ts +++ b/frontend/src/openapi/models/getServiceAccountTokens401.ts @@ -7,8 +7,8 @@ export type GetServiceAccountTokens401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccountTokens403.ts b/frontend/src/openapi/models/getServiceAccountTokens403.ts index f6b8041e35..96557031ab 100644 --- a/frontend/src/openapi/models/getServiceAccountTokens403.ts +++ b/frontend/src/openapi/models/getServiceAccountTokens403.ts @@ -7,8 +7,8 @@ export type GetServiceAccountTokens403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccountTokens404.ts b/frontend/src/openapi/models/getServiceAccountTokens404.ts index 00a7afb6b5..7129d020bc 100644 --- a/frontend/src/openapi/models/getServiceAccountTokens404.ts +++ b/frontend/src/openapi/models/getServiceAccountTokens404.ts @@ -7,8 +7,8 @@ export type GetServiceAccountTokens404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccounts401.ts b/frontend/src/openapi/models/getServiceAccounts401.ts index eaf87dcbc0..9a095d8e70 100644 --- a/frontend/src/openapi/models/getServiceAccounts401.ts +++ b/frontend/src/openapi/models/getServiceAccounts401.ts @@ -7,8 +7,8 @@ export type GetServiceAccounts401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getServiceAccounts403.ts b/frontend/src/openapi/models/getServiceAccounts403.ts index 0d88ae72ed..7993d67e98 100644 --- a/frontend/src/openapi/models/getServiceAccounts403.ts +++ b/frontend/src/openapi/models/getServiceAccounts403.ts @@ -7,8 +7,8 @@ export type GetServiceAccounts403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSimpleSettings401.ts b/frontend/src/openapi/models/getSimpleSettings401.ts index 34c59e12f9..f212332fad 100644 --- a/frontend/src/openapi/models/getSimpleSettings401.ts +++ b/frontend/src/openapi/models/getSimpleSettings401.ts @@ -7,8 +7,8 @@ export type GetSimpleSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getSimpleSettings403.ts b/frontend/src/openapi/models/getSimpleSettings403.ts index 6f7a74dc12..04004ee247 100644 --- a/frontend/src/openapi/models/getSimpleSettings403.ts +++ b/frontend/src/openapi/models/getSimpleSettings403.ts @@ -7,8 +7,8 @@ export type GetSimpleSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getStrategiesByContextField401.ts b/frontend/src/openapi/models/getStrategiesByContextField401.ts index 9b8001e3b7..f2d6a55aed 100644 --- a/frontend/src/openapi/models/getStrategiesByContextField401.ts +++ b/frontend/src/openapi/models/getStrategiesByContextField401.ts @@ -7,8 +7,8 @@ export type GetStrategiesByContextField401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getStrategy401.ts b/frontend/src/openapi/models/getStrategy401.ts index 4c98917dde..1eb1b220b4 100644 --- a/frontend/src/openapi/models/getStrategy401.ts +++ b/frontend/src/openapi/models/getStrategy401.ts @@ -7,8 +7,8 @@ export type GetStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getStrategy404.ts b/frontend/src/openapi/models/getStrategy404.ts index 7fbd09eaee..7d24889bc3 100644 --- a/frontend/src/openapi/models/getStrategy404.ts +++ b/frontend/src/openapi/models/getStrategy404.ts @@ -7,8 +7,8 @@ export type GetStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTag401.ts b/frontend/src/openapi/models/getTag401.ts index 5907350626..e6e746eef4 100644 --- a/frontend/src/openapi/models/getTag401.ts +++ b/frontend/src/openapi/models/getTag401.ts @@ -7,8 +7,8 @@ export type GetTag401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTag403.ts b/frontend/src/openapi/models/getTag403.ts index 59bde84be2..cba34486ef 100644 --- a/frontend/src/openapi/models/getTag403.ts +++ b/frontend/src/openapi/models/getTag403.ts @@ -7,8 +7,8 @@ export type GetTag403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTag404.ts b/frontend/src/openapi/models/getTag404.ts index 3c92a6a425..2baba2de1b 100644 --- a/frontend/src/openapi/models/getTag404.ts +++ b/frontend/src/openapi/models/getTag404.ts @@ -7,8 +7,8 @@ export type GetTag404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagType401.ts b/frontend/src/openapi/models/getTagType401.ts index 84e12fb50d..81e87a06c1 100644 --- a/frontend/src/openapi/models/getTagType401.ts +++ b/frontend/src/openapi/models/getTagType401.ts @@ -7,8 +7,8 @@ export type GetTagType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagType403.ts b/frontend/src/openapi/models/getTagType403.ts index edd9bb3372..2f68aaba30 100644 --- a/frontend/src/openapi/models/getTagType403.ts +++ b/frontend/src/openapi/models/getTagType403.ts @@ -7,8 +7,8 @@ export type GetTagType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagTypes401.ts b/frontend/src/openapi/models/getTagTypes401.ts index f15156603b..1def75b5ec 100644 --- a/frontend/src/openapi/models/getTagTypes401.ts +++ b/frontend/src/openapi/models/getTagTypes401.ts @@ -7,8 +7,8 @@ export type GetTagTypes401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagTypes403.ts b/frontend/src/openapi/models/getTagTypes403.ts index a69e1c85c2..a2a19f3d49 100644 --- a/frontend/src/openapi/models/getTagTypes403.ts +++ b/frontend/src/openapi/models/getTagTypes403.ts @@ -7,8 +7,8 @@ export type GetTagTypes403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTags401.ts b/frontend/src/openapi/models/getTags401.ts index dccf27ad55..6f375394ca 100644 --- a/frontend/src/openapi/models/getTags401.ts +++ b/frontend/src/openapi/models/getTags401.ts @@ -7,8 +7,8 @@ export type GetTags401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTags403.ts b/frontend/src/openapi/models/getTags403.ts index 67d6620ec6..5ec4e8f11a 100644 --- a/frontend/src/openapi/models/getTags403.ts +++ b/frontend/src/openapi/models/getTags403.ts @@ -7,8 +7,8 @@ export type GetTags403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagsByType401.ts b/frontend/src/openapi/models/getTagsByType401.ts index 20b121e6ee..7ab542cbf5 100644 --- a/frontend/src/openapi/models/getTagsByType401.ts +++ b/frontend/src/openapi/models/getTagsByType401.ts @@ -7,8 +7,8 @@ export type GetTagsByType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getTagsByType403.ts b/frontend/src/openapi/models/getTagsByType403.ts index d20db74a0f..ca509cebd5 100644 --- a/frontend/src/openapi/models/getTagsByType403.ts +++ b/frontend/src/openapi/models/getTagsByType403.ts @@ -7,8 +7,8 @@ export type GetTagsByType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getUser400.ts b/frontend/src/openapi/models/getUser400.ts index d30b6a8862..c9c629233c 100644 --- a/frontend/src/openapi/models/getUser400.ts +++ b/frontend/src/openapi/models/getUser400.ts @@ -7,8 +7,8 @@ export type GetUser400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getUser401.ts b/frontend/src/openapi/models/getUser401.ts index c94727e54c..beedf21f26 100644 --- a/frontend/src/openapi/models/getUser401.ts +++ b/frontend/src/openapi/models/getUser401.ts @@ -7,8 +7,8 @@ export type GetUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getUser404.ts b/frontend/src/openapi/models/getUser404.ts index c612f490bd..840283e45d 100644 --- a/frontend/src/openapi/models/getUser404.ts +++ b/frontend/src/openapi/models/getUser404.ts @@ -7,8 +7,8 @@ export type GetUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getUsers401.ts b/frontend/src/openapi/models/getUsers401.ts index 58a765c27f..b913f8769d 100644 --- a/frontend/src/openapi/models/getUsers401.ts +++ b/frontend/src/openapi/models/getUsers401.ts @@ -7,8 +7,8 @@ export type GetUsers401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getUsers403.ts b/frontend/src/openapi/models/getUsers403.ts index cfe4f5a98c..05c07cf78c 100644 --- a/frontend/src/openapi/models/getUsers403.ts +++ b/frontend/src/openapi/models/getUsers403.ts @@ -7,8 +7,8 @@ export type GetUsers403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens400.ts b/frontend/src/openapi/models/getValidTokens400.ts index fdde61c910..793943e3d6 100644 --- a/frontend/src/openapi/models/getValidTokens400.ts +++ b/frontend/src/openapi/models/getValidTokens400.ts @@ -7,8 +7,8 @@ export type GetValidTokens400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens413.ts b/frontend/src/openapi/models/getValidTokens413.ts index 2a8c13006b..882ce2911f 100644 --- a/frontend/src/openapi/models/getValidTokens413.ts +++ b/frontend/src/openapi/models/getValidTokens413.ts @@ -7,8 +7,8 @@ export type GetValidTokens413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/getValidTokens415.ts b/frontend/src/openapi/models/getValidTokens415.ts index 27254ecbbd..4062fb2446 100644 --- a/frontend/src/openapi/models/getValidTokens415.ts +++ b/frontend/src/openapi/models/getValidTokens415.ts @@ -7,8 +7,8 @@ export type GetValidTokens415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/googleSettingsSchema.ts b/frontend/src/openapi/models/googleSettingsSchema.ts index 0e419d7005..efc8a34789 100644 --- a/frontend/src/openapi/models/googleSettingsSchema.ts +++ b/frontend/src/openapi/models/googleSettingsSchema.ts @@ -8,16 +8,16 @@ * Configuration for using Google Authentication */ export interface GoogleSettingsSchema { - /** Is google OIDC enabled */ - enabled?: boolean; + /** Should Unleash create users based on the emails coming back in the authentication reply from Google */ + autoCreate?: boolean; /** The google client id, used to authenticate against google */ clientId: string; /** The client secret used to authenticate the OAuth session used to log the user in */ clientSecret: string; - /** Name of the host allowed to access the Google authentication flow */ - unleashHostname: string; - /** Should Unleash create users based on the emails coming back in the authentication reply from Google */ - autoCreate?: boolean; /** A comma separated list of email domains that Unleash will auto create user accounts for. */ emailDomains?: string; + /** Is google OIDC enabled */ + enabled?: boolean; + /** Name of the host allowed to access the Google authentication flow */ + unleashHostname: string; } diff --git a/frontend/src/openapi/models/groupSchema.ts b/frontend/src/openapi/models/groupSchema.ts index a2e1f3eeb1..e73f38a742 100644 --- a/frontend/src/openapi/models/groupSchema.ts +++ b/frontend/src/openapi/models/groupSchema.ts @@ -9,24 +9,24 @@ import type { GroupUserModelSchema } from './groupUserModelSchema'; * A detailed information about a user group */ export interface GroupSchema { - /** The group id */ - id?: number; - /** The name of the group */ - name: string; - /** A custom description of the group */ - description?: string | null; - /** A list of SSO groups that should map to this Unleash group */ - mappingsSSO?: string[]; - /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ - rootRole?: number | null; - /** A user who created this group */ - createdBy?: string | null; /** When was this group created */ createdAt?: string | null; - /** A list of users belonging to this group */ - users?: GroupUserModelSchema[]; + /** A user who created this group */ + createdBy?: string | null; + /** A custom description of the group */ + description?: string | null; + /** The group id */ + id?: number; + /** A list of SSO groups that should map to this Unleash group */ + mappingsSSO?: string[]; + /** The name of the group */ + name: string; /** A list of projects where this group is used */ projects?: string[]; + /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ + rootRole?: number | null; /** The number of users that belong to this group */ userCount?: number; + /** A list of users belonging to this group */ + users?: GroupUserModelSchema[]; } diff --git a/frontend/src/openapi/models/groupUserModelSchema.ts b/frontend/src/openapi/models/groupUserModelSchema.ts index b7f6dfa01e..d71e5ad091 100644 --- a/frontend/src/openapi/models/groupUserModelSchema.ts +++ b/frontend/src/openapi/models/groupUserModelSchema.ts @@ -9,9 +9,9 @@ import type { UserSchema } from './userSchema'; * Details for a single user belonging to a group */ export interface GroupUserModelSchema { - /** The date when the user joined the group */ - joinedAt?: string; /** The username of the user who added this user to this group */ createdBy?: string | null; + /** The date when the user joined the group */ + joinedAt?: string; user: UserSchema; } diff --git a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts index ba9e36b0d9..b483730b23 100644 --- a/frontend/src/openapi/models/groupWithProjectRoleSchema.ts +++ b/frontend/src/openapi/models/groupWithProjectRoleSchema.ts @@ -9,26 +9,26 @@ import type { GroupUserModelSchema } from './groupUserModelSchema'; * Data about a group including their project role */ export interface GroupWithProjectRoleSchema { - /** The name of the group */ - name?: string; - /** The group's ID in the Unleash system */ - id: number; /** When this group was added to the project */ addedAt?: string; + /** When was this group created */ + createdAt?: string | null; + /** A user who created this group */ + createdBy?: string | null; + /** A custom description of the group */ + description?: string | null; + /** The group's ID in the Unleash system */ + id: number; + /** A list of SSO groups that should map to this Unleash group */ + mappingsSSO?: string[]; + /** The name of the group */ + name?: string; /** The ID of the role this group has in the given project */ roleId?: number; /** A list of roles this user has in the given project */ roles?: number[]; - /** A custom description of the group */ - description?: string | null; - /** A list of SSO groups that should map to this Unleash group */ - mappingsSSO?: string[]; /** A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role. */ rootRole?: number | null; - /** A user who created this group */ - createdBy?: string | null; - /** When was this group created */ - createdAt?: string | null; /** A list of users belonging to this group */ users?: GroupUserModelSchema[]; } diff --git a/frontend/src/openapi/models/healthOverviewSchema.ts b/frontend/src/openapi/models/healthOverviewSchema.ts index 5349235461..8c03635f1c 100644 --- a/frontend/src/openapi/models/healthOverviewSchema.ts +++ b/frontend/src/openapi/models/healthOverviewSchema.ts @@ -3,43 +3,43 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { HealthOverviewSchemaMode } from './healthOverviewSchemaMode'; import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { FeatureSchema } from './featureSchema'; -import type { ProjectStatsSchema } from './projectStatsSchema'; import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { FeatureSchema } from './featureSchema'; +import type { HealthOverviewSchemaMode } from './healthOverviewSchemaMode'; +import type { ProjectStatsSchema } from './projectStatsSchema'; /** * An overview of a project's stats and its health as described in the documentation on [technical debt](https://docs.getunleash.io/reference/technical-debt) */ export interface HealthOverviewSchema { - /** The project overview version. */ - version: number; - /** The project's name */ - name: string; - /** The project's description */ - description?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness: string; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode: HealthOverviewSchemaMode; - /** A limit on the number of features allowed in the project. Null if no limit. */ - featureLimit?: number | null; - /** The number of users/members in the project. */ - members: number; - /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */ - health: number; - /** An array containing the names of all the environments configured for the project. */ - environments: ProjectEnvironmentSchema[]; - /** An array containing an overview of all the features of the project and their individual status */ - features: FeatureSchema[]; - /** When the project was last updated. */ - updatedAt?: string | null; /** When the project was last updated. */ createdAt?: string | null; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness: string; + /** The project's description */ + description?: string | null; + /** An array containing the names of all the environments configured for the project. */ + environments: ProjectEnvironmentSchema[]; /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ favorite?: boolean; + /** A limit on the number of features allowed in the project. Null if no limit. */ + featureLimit?: number | null; + 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. */ + health: number; + /** The number of users/members in the project. */ + members: number; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode: HealthOverviewSchemaMode; + /** The project's name */ + name: string; /** Project statistics */ stats?: ProjectStatsSchema; - featureNaming?: CreateFeatureNamingPatternSchema; + /** When the project was last updated. */ + updatedAt?: string | null; + /** The project overview version. */ + version: number; } diff --git a/frontend/src/openapi/models/healthReportSchema.ts b/frontend/src/openapi/models/healthReportSchema.ts index d8b9cdead6..562413de6c 100644 --- a/frontend/src/openapi/models/healthReportSchema.ts +++ b/frontend/src/openapi/models/healthReportSchema.ts @@ -3,49 +3,49 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { HealthReportSchemaMode } from './healthReportSchemaMode'; import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { FeatureSchema } from './featureSchema'; -import type { ProjectStatsSchema } from './projectStatsSchema'; import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { FeatureSchema } from './featureSchema'; +import type { HealthReportSchemaMode } from './healthReportSchemaMode'; +import type { ProjectStatsSchema } from './projectStatsSchema'; /** * A report of the current health of the requested project, with datapoints like counters of currently active, stale, and potentially stale feature toggles. */ export interface HealthReportSchema { - /** The project overview version. */ - version: number; - /** The project's name */ - name: string; - /** The project's description */ - description?: string | null; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness: string; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode: HealthReportSchemaMode; - /** A limit on the number of features allowed in the project. Null if no limit. */ - featureLimit?: number | null; - /** The number of users/members in the project. */ - members: number; - /** The overall [health rating](https://docs.getunleash.io/reference/technical-debt#health-rating) of the project. */ - health: number; - /** An array containing the names of all the environments configured for the project. */ - environments: ProjectEnvironmentSchema[]; - /** An array containing an overview of all the features of the project and their individual status */ - features: FeatureSchema[]; - /** When the project was last updated. */ - updatedAt?: string | null; - /** When the project was last updated. */ - createdAt?: string | null; - /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ - favorite?: boolean; - /** Project statistics */ - stats?: ProjectStatsSchema; - featureNaming?: CreateFeatureNamingPatternSchema; - /** The number of potentially stale feature toggles. */ - potentiallyStaleCount: number; /** The number of active feature toggles. */ activeCount: number; + /** When the project was last updated. */ + createdAt?: string | null; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness: string; + /** The project's description */ + description?: string | null; + /** An array containing the names of all the environments configured for the project. */ + environments: ProjectEnvironmentSchema[]; + /** Indicates if the project has been marked as a favorite by the current user requesting the project health overview. */ + favorite?: boolean; + /** A limit on the number of features allowed in the project. Null if no limit. */ + featureLimit?: number | null; + 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. */ + health: number; + /** The number of users/members in the project. */ + members: number; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode: HealthReportSchemaMode; + /** The project's name */ + name: string; + /** The number of potentially stale feature toggles. */ + potentiallyStaleCount: number; /** The number of stale feature toggles. */ staleCount: number; + /** Project statistics */ + stats?: ProjectStatsSchema; + /** When the project was last updated. */ + updatedAt?: string | null; + /** The project overview version. */ + version: number; } diff --git a/frontend/src/openapi/models/importToggles404.ts b/frontend/src/openapi/models/importToggles404.ts index a5399fcd78..b1a0900af0 100644 --- a/frontend/src/openapi/models/importToggles404.ts +++ b/frontend/src/openapi/models/importToggles404.ts @@ -7,8 +7,8 @@ export type ImportToggles404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/importTogglesSchema.ts b/frontend/src/openapi/models/importTogglesSchema.ts index 749e2e8167..f6b5be7529 100644 --- a/frontend/src/openapi/models/importTogglesSchema.ts +++ b/frontend/src/openapi/models/importTogglesSchema.ts @@ -9,9 +9,9 @@ import type { ExportResultSchema } from './exportResultSchema'; * The result of the export operation for a project and environment, used at import */ export interface ImportTogglesSchema { - /** The exported [project](https://docs.getunleash.io/reference/projects) */ - project: string; + data: ExportResultSchema; /** The exported [environment](https://docs.getunleash.io/reference/environments) */ environment: string; - data: ExportResultSchema; + /** The exported [project](https://docs.getunleash.io/reference/projects) */ + project: string; } diff --git a/frontend/src/openapi/models/importTogglesValidateItemSchema.ts b/frontend/src/openapi/models/importTogglesValidateItemSchema.ts index 01ac7e199d..da84581e07 100644 --- a/frontend/src/openapi/models/importTogglesValidateItemSchema.ts +++ b/frontend/src/openapi/models/importTogglesValidateItemSchema.ts @@ -8,8 +8,8 @@ * A description of an error or warning pertaining to a feature toggle import job. */ export interface ImportTogglesValidateItemSchema { - /** The validation error message */ - message: string; /** The items affected by this error message */ affectedItems: string[]; + /** The validation error message */ + message: string; } diff --git a/frontend/src/openapi/models/importTogglesValidateSchema.ts b/frontend/src/openapi/models/importTogglesValidateSchema.ts index 124eab86d0..9739d8c3fd 100644 --- a/frontend/src/openapi/models/importTogglesValidateSchema.ts +++ b/frontend/src/openapi/models/importTogglesValidateSchema.ts @@ -11,8 +11,8 @@ import type { ImportTogglesValidateItemSchema } from './importTogglesValidateIte export interface ImportTogglesValidateSchema { /** A list of errors that prevent the provided data from being successfully imported. */ errors: ImportTogglesValidateItemSchema[]; - /** A list of warnings related to the provided data. */ - warnings: ImportTogglesValidateItemSchema[]; /** Any additional permissions required to import the data. If the list is empty, you require no additional permissions beyond what your user already has. */ permissions?: ImportTogglesValidateItemSchema[]; + /** A list of warnings related to the provided data. */ + warnings: ImportTogglesValidateItemSchema[]; } diff --git a/frontend/src/openapi/models/index.ts b/frontend/src/openapi/models/index.ts index 97dee9c1a3..9636eddab4 100644 --- a/frontend/src/openapi/models/index.ts +++ b/frontend/src/openapi/models/index.ts @@ -447,6 +447,8 @@ export * from './dependentFeatureSchema'; export * from './deprecateStrategy401'; export * from './deprecateStrategy403'; export * from './deprecateStrategy404'; +export * from './deprecatedProjectOverviewSchema'; +export * from './deprecatedProjectOverviewSchemaMode'; export * from './disableBanner401'; export * from './disableBanner403'; export * from './disableBanner404'; @@ -487,6 +489,7 @@ export * from './featureSchemaStrategiesItem'; export * from './featureStrategySchema'; export * from './featureStrategySegmentSchema'; export * from './featureTagSchema'; +export * from './featureTypeCountSchema'; export * from './featureTypeSchema'; export * from './featureTypesSchema'; export * from './featureTypesSchemaVersion'; @@ -523,6 +526,9 @@ export * from './getArchivedFeaturesByProjectId403'; export * from './getBanners401'; export * from './getBaseUsersAndGroups401'; export * from './getChangeRequest404'; +export * from './getDeprecatedProjectOverview401'; +export * from './getDeprecatedProjectOverview403'; +export * from './getDeprecatedProjectOverview404'; export * from './getEnvironment401'; export * from './getEnvironment403'; export * from './getEnvironment404'; diff --git a/frontend/src/openapi/models/instanceAdminStatsSchema.ts b/frontend/src/openapi/models/instanceAdminStatsSchema.ts index 517387a1d4..c4c5068b3f 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchema.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchema.ts @@ -4,53 +4,53 @@ * See `gen:api` script in package.json */ import type { InstanceAdminStatsSchemaActiveUsers } from './instanceAdminStatsSchemaActiveUsers'; -import type { InstanceAdminStatsSchemaProductionChanges } from './instanceAdminStatsSchemaProductionChanges'; import type { InstanceAdminStatsSchemaClientAppsItem } from './instanceAdminStatsSchemaClientAppsItem'; +import type { InstanceAdminStatsSchemaProductionChanges } from './instanceAdminStatsSchemaProductionChanges'; /** * Information about an instance and statistics about usage of various features of Unleash */ export interface InstanceAdminStatsSchema { - /** A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID. */ - instanceId: string; - /** When these statistics were produced */ - timestamp?: string | null; - /** The version of Unleash OSS that is bundled in this instance */ - versionOSS?: string; - /** The version of Unleash Enterprise that is bundled in this instance */ - versionEnterprise?: string; - /** The number of users this instance has */ - users?: number; /** The number of active users in the last 7, 30 and 90 days */ activeUsers?: InstanceAdminStatsSchemaActiveUsers; - /** The number of changes to the production environment in the last 30, 60 and 90 days */ - productionChanges?: InstanceAdminStatsSchemaProductionChanges; - /** The number of feature-toggles this instance has */ - featureToggles?: number; - /** The number of projects defined in this instance. */ - projects?: number; - /** The number of context fields defined in this instance. */ - contextFields?: number; - /** The number of roles defined in this instance */ - roles?: number; - /** The number of groups defined in this instance */ - groups?: number; - /** The number of environments defined in this instance */ - environments?: number; - /** The number of segments defined in this instance */ - segments?: number; - /** The number of strategies defined in this instance */ - strategies?: number; - /** Whether or not SAML authentication is enabled for this instance */ - SAMLenabled?: boolean; - /** Whether or not OIDC authentication is enabled for this instance */ - OIDCenabled?: boolean; /** A count of connected applications in the last week, last month and all time since last restart */ clientApps?: InstanceAdminStatsSchemaClientAppsItem[]; + /** The number of context fields defined in this instance. */ + contextFields?: number; + /** The number of environments defined in this instance */ + environments?: number; /** The number of export operations on this instance */ featureExports?: number; /** The number of import operations on this instance */ featureImports?: number; + /** The number of feature-toggles this instance has */ + featureToggles?: number; + /** The number of groups defined in this instance */ + groups?: number; + /** A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID. */ + instanceId: string; + /** Whether or not OIDC authentication is enabled for this instance */ + OIDCenabled?: boolean; + /** The number of changes to the production environment in the last 30, 60 and 90 days */ + productionChanges?: InstanceAdminStatsSchemaProductionChanges; + /** The number of projects defined in this instance. */ + projects?: number; + /** The number of roles defined in this instance */ + roles?: number; + /** Whether or not SAML authentication is enabled for this instance */ + SAMLenabled?: boolean; + /** The number of segments defined in this instance */ + segments?: number; + /** The number of strategies defined in this instance */ + strategies?: number; /** A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with */ sum?: string; + /** When these statistics were produced */ + timestamp?: string | null; + /** The number of users this instance has */ + users?: number; + /** The version of Unleash Enterprise that is bundled in this instance */ + versionEnterprise?: string; + /** The version of Unleash OSS that is bundled in this instance */ + versionOSS?: string; } diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts index 7224c6e60b..5b1981a43c 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaActiveUsers.ts @@ -8,12 +8,12 @@ * The number of active users in the last 7, 30 and 90 days */ export type InstanceAdminStatsSchemaActiveUsers = { - /** The number of active users in the last 7 days */ - last7?: number; /** The number of active users in the last 30 days */ last30?: number; /** The number of active users in the last 60 days */ last60?: number; + /** The number of active users in the last 7 days */ + last7?: number; /** The number of active users in the last 90 days */ last90?: number; }; diff --git a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts index 7e0840e4de..56d3db5e11 100644 --- a/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts +++ b/frontend/src/openapi/models/instanceAdminStatsSchemaClientAppsItem.ts @@ -9,8 +9,8 @@ import type { InstanceAdminStatsSchemaClientAppsItemRange } from './instanceAdmi * An entry describing how many client applications has been observed over the defined range */ export type InstanceAdminStatsSchemaClientAppsItem = { - /** A description of a time range */ - range?: InstanceAdminStatsSchemaClientAppsItemRange; /** The number of client applications that have been observed in this period */ count?: number; + /** A description of a time range */ + range?: InstanceAdminStatsSchemaClientAppsItemRange; }; diff --git a/frontend/src/openapi/models/invoicesSchemaItem.ts b/frontend/src/openapi/models/invoicesSchemaItem.ts index 7239fe74e0..45502fe49f 100644 --- a/frontend/src/openapi/models/invoicesSchemaItem.ts +++ b/frontend/src/openapi/models/invoicesSchemaItem.ts @@ -10,14 +10,14 @@ export type InvoicesSchemaItem = { /** A formatted representation of the amount due. */ amountFormatted: string; + /** When the invoice is due */ + dueDate?: string; + /** A link to a PDF-version of the invoice. */ + invoicePDF: string; + /** A URL pointing to where the invoice can be found. */ + invoiceURL: string; /** `true` if the invoice has been paid, `false` if it has not. */ paid: boolean; /** The current status of the invoice */ status: string; - /** When the invoice is due */ - dueDate?: string; - /** A URL pointing to where the invoice can be found. */ - invoiceURL: string; - /** A link to a PDF-version of the invoice. */ - invoicePDF: string; }; diff --git a/frontend/src/openapi/models/legalValueSchema.ts b/frontend/src/openapi/models/legalValueSchema.ts index 5962e31570..ec236e4161 100644 --- a/frontend/src/openapi/models/legalValueSchema.ts +++ b/frontend/src/openapi/models/legalValueSchema.ts @@ -8,8 +8,8 @@ * Describes a legal value. Typically used to limit possible values for contextFields or strategy properties */ export interface LegalValueSchema { - /** The valid value */ - value: string; /** Describes this specific legal value */ description?: string; + /** The valid value */ + value: string; } diff --git a/frontend/src/openapi/models/listParentOptions401.ts b/frontend/src/openapi/models/listParentOptions401.ts index f8f40171fb..3b362a65a6 100644 --- a/frontend/src/openapi/models/listParentOptions401.ts +++ b/frontend/src/openapi/models/listParentOptions401.ts @@ -7,8 +7,8 @@ export type ListParentOptions401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/listParentOptions403.ts b/frontend/src/openapi/models/listParentOptions403.ts index 20beb33433..2fccca095b 100644 --- a/frontend/src/openapi/models/listParentOptions403.ts +++ b/frontend/src/openapi/models/listParentOptions403.ts @@ -7,8 +7,8 @@ export type ListParentOptions403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/listParentOptions404.ts b/frontend/src/openapi/models/listParentOptions404.ts index 6ab73a2c22..9fab71c22b 100644 --- a/frontend/src/openapi/models/listParentOptions404.ts +++ b/frontend/src/openapi/models/listParentOptions404.ts @@ -7,8 +7,8 @@ export type ListParentOptions404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/listTags401.ts b/frontend/src/openapi/models/listTags401.ts index 3f13acaef9..980d7d9895 100644 --- a/frontend/src/openapi/models/listTags401.ts +++ b/frontend/src/openapi/models/listTags401.ts @@ -7,8 +7,8 @@ export type ListTags401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/listTags403.ts b/frontend/src/openapi/models/listTags403.ts index 592f25b091..38e99a1be2 100644 --- a/frontend/src/openapi/models/listTags403.ts +++ b/frontend/src/openapi/models/listTags403.ts @@ -7,8 +7,8 @@ export type ListTags403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/listTags404.ts b/frontend/src/openapi/models/listTags404.ts index f45123569f..ccac15597f 100644 --- a/frontend/src/openapi/models/listTags404.ts +++ b/frontend/src/openapi/models/listTags404.ts @@ -7,8 +7,8 @@ export type ListTags404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/login401.ts b/frontend/src/openapi/models/login401.ts index 29d8e24ab8..15809d7b17 100644 --- a/frontend/src/openapi/models/login401.ts +++ b/frontend/src/openapi/models/login401.ts @@ -7,8 +7,8 @@ export type Login401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/loginEventSchema.ts b/frontend/src/openapi/models/loginEventSchema.ts index 20b0491638..5c970c1e26 100644 --- a/frontend/src/openapi/models/loginEventSchema.ts +++ b/frontend/src/openapi/models/loginEventSchema.ts @@ -8,18 +8,18 @@ * A model representing a single login event. */ export interface LoginEventSchema { - /** The event's ID. Event IDs are incrementing integers. In other words, a more recent event will always have a higher ID than an older event. */ - id: number; - /** The username of the user that attempted to log in. Will return "Incorrectly configured provider" when attempting to log in using a misconfigured provider. */ - username?: string; /** The authentication type used to log in. */ auth_type?: string; /** The date and time of when the login was attempted. */ created_at?: string; - /** Whether the login was successful or not. */ - successful?: boolean; - /** The IP address of the client that attempted to log in. */ - ip?: string | null; /** The reason for the login failure. This property is only present if the login was unsuccessful. */ failure_reason?: string | null; + /** The event's ID. Event IDs are incrementing integers. In other words, a more recent event will always have a higher ID than an older event. */ + id: number; + /** The IP address of the client that attempted to log in. */ + ip?: string | null; + /** Whether the login was successful or not. */ + successful?: boolean; + /** The username of the user that attempted to log in. Will return "Incorrectly configured provider" when attempting to log in using a misconfigured provider. */ + username?: string; } diff --git a/frontend/src/openapi/models/loginSchema.ts b/frontend/src/openapi/models/loginSchema.ts index 6235458cc7..49b438b721 100644 --- a/frontend/src/openapi/models/loginSchema.ts +++ b/frontend/src/openapi/models/loginSchema.ts @@ -8,8 +8,8 @@ * A username/password login request */ export interface LoginSchema { - /** The username trying to log in */ - username: string; /** The password of the user trying to log in */ password: string; + /** The username trying to log in */ + username: string; } diff --git a/frontend/src/openapi/models/meSchema.ts b/frontend/src/openapi/models/meSchema.ts index 33b607ae5f..cf92be396a 100644 --- a/frontend/src/openapi/models/meSchema.ts +++ b/frontend/src/openapi/models/meSchema.ts @@ -3,20 +3,20 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UserSchema } from './userSchema'; -import type { PermissionSchema } from './permissionSchema'; import type { FeedbackResponseSchema } from './feedbackResponseSchema'; +import type { PermissionSchema } from './permissionSchema'; import type { MeSchemaSplash } from './meSchemaSplash'; +import type { UserSchema } from './userSchema'; /** * Detailed user information */ export interface MeSchema { - user: UserSchema; - /** User permissions for projects and environments */ - permissions: PermissionSchema[]; /** User feedback information */ feedback: FeedbackResponseSchema[]; + /** User permissions for projects and environments */ + permissions: PermissionSchema[]; /** Splash screen configuration */ splash: MeSchemaSplash; + user: UserSchema; } diff --git a/frontend/src/openapi/models/notificationsSchemaItem.ts b/frontend/src/openapi/models/notificationsSchemaItem.ts index 97fadf7e9d..bd48ec83cc 100644 --- a/frontend/src/openapi/models/notificationsSchemaItem.ts +++ b/frontend/src/openapi/models/notificationsSchemaItem.ts @@ -3,21 +3,21 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { NotificationsSchemaItemNotificationType } from './notificationsSchemaItemNotificationType'; import type { NotificationsSchemaItemCreatedBy } from './notificationsSchemaItemCreatedBy'; +import type { NotificationsSchemaItemNotificationType } from './notificationsSchemaItemNotificationType'; export type NotificationsSchemaItem = { - /** The id of this notification */ - id: number; - /** The actual notification message */ - message: string; - /** The link to change request or feature toggle the notification refers to */ - link: string; - /** The type of the notification used e.g. for the graphical hints */ - notificationType: NotificationsSchemaItemNotificationType; - createdBy: NotificationsSchemaItemCreatedBy; /** The date and time when the notification was created */ createdAt: string; + createdBy: NotificationsSchemaItemCreatedBy; + /** The id of this notification */ + id: number; + /** The link to change request or feature toggle the notification refers to */ + link: string; + /** The actual notification message */ + message: string; + /** The type of the notification used e.g. for the graphical hints */ + notificationType: NotificationsSchemaItemNotificationType; /** The date and time when the notification was read or marked as read, otherwise `null` */ readAt: string | null; }; diff --git a/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts b/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts index 226ed9dc88..8f5f8b3e75 100644 --- a/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts +++ b/frontend/src/openapi/models/notificationsSchemaItemCreatedBy.ts @@ -5,8 +5,8 @@ */ export type NotificationsSchemaItemCreatedBy = { - /** The name of the user who triggered the notification */ - username?: string | null; /** The avatar url of the user who triggered the notification */ imageUrl?: string | null; + /** The name of the user who triggered the notification */ + username?: string | null; }; diff --git a/frontend/src/openapi/models/oidcSettingsSchema.ts b/frontend/src/openapi/models/oidcSettingsSchema.ts index cdb715dc22..a2645b2512 100644 --- a/frontend/src/openapi/models/oidcSettingsSchema.ts +++ b/frontend/src/openapi/models/oidcSettingsSchema.ts @@ -10,26 +10,26 @@ import type { OidcSettingsSchemaIdTokenSigningAlgorithm } from './oidcSettingsSc * Settings for configuring OpenID Connect as a login provider for Unleash */ export interface OidcSettingsSchema { - /** `true` if OpenID connect is turned on for this instance, otherwise `false` */ - enabled?: boolean; - /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ - discoverUrl?: string; - /** The OIDC client ID of this application. */ - clientId: string; - /** Shared secret from OpenID server. Used to authenticate login requests */ - secret: string; - /** Auto create users based on email addresses from login tokens */ - autoCreate?: boolean; - /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ - enableSingleSignOut?: boolean; - /** [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ - defaultRootRole?: OidcSettingsSchemaDefaultRootRole; - /** Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true` */ - emailDomains?: string; /** Authentication Context Class Reference, used to request extra values in the acr claim returned from the server. If multiple values are required, they should be space separated. Consult [the OIDC reference](https://openid.net/specs/openid-connect-core-1_0.html#AuthorizationEndpoint) for more information */ acrValues?: string; + /** Auto create users based on email addresses from login tokens */ + autoCreate?: boolean; + /** The OIDC client ID of this application. */ + clientId: string; + /** [Default role](https://docs.getunleash.io/reference/rbac#standard-roles) granted to users auto-created from email. Only relevant if autoCreate is `true` */ + defaultRootRole?: OidcSettingsSchemaDefaultRootRole; + /** The [.well-known OpenID discover URL](https://swagger.io/docs/specification/authentication/openid-connect-discovery/) */ + discoverUrl?: string; + /** Comma separated list of email domains that are automatically approved for an account in the server. Only relevant if autoCreate is `true` */ + emailDomains?: string; + /** `true` if OpenID connect is turned on for this instance, otherwise `false` */ + enabled?: boolean; + /** Support Single sign out when user clicks logout in Unleash. If `true` user is signed out of all OpenID Connect sessions against the clientId they may have active */ + enableSingleSignOut?: boolean; /** The signing algorithm used to sign our token. Refer to the [JWT signatures](https://jwt.io/introduction) documentation for more information. */ idTokenSigningAlgorithm?: OidcSettingsSchemaIdTokenSigningAlgorithm; + /** Shared secret from OpenID server. Used to authenticate login requests */ + secret: string; } diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts index d083dfc3b7..2e2ea0db11 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants400.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts index 25aa477617..eb0e3928f0 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants401.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts index 2e3c7615ec..c5d041abf7 100644 --- a/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts +++ b/frontend/src/openapi/models/overwriteEnvironmentFeatureVariants403.ts @@ -7,8 +7,8 @@ export type OverwriteEnvironmentFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants400.ts b/frontend/src/openapi/models/overwriteFeatureVariants400.ts index eabca038a4..b0834fa3d3 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants400.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants400.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants401.ts b/frontend/src/openapi/models/overwriteFeatureVariants401.ts index abb90d264c..d32d711607 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants401.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants401.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants403.ts b/frontend/src/openapi/models/overwriteFeatureVariants403.ts index 70332d6a3c..5c694e1f87 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants403.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants403.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariants404.ts b/frontend/src/openapi/models/overwriteFeatureVariants404.ts index 2c24dbf839..2d9dc47e9c 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariants404.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariants404.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts index 247c0504cf..f2e994c077 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments400.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts index 606327beb3..3a6c015396 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments401.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts index 294b8c613d..085fa769d5 100644 --- a/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts +++ b/frontend/src/openapi/models/overwriteFeatureVariantsOnEnvironments403.ts @@ -7,8 +7,8 @@ export type OverwriteFeatureVariantsOnEnvironments403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/passwordSchema.ts b/frontend/src/openapi/models/passwordSchema.ts index c45723bd87..fa272f9c5b 100644 --- a/frontend/src/openapi/models/passwordSchema.ts +++ b/frontend/src/openapi/models/passwordSchema.ts @@ -8,10 +8,10 @@ * Fields used to create new password or update old password */ export interface PasswordSchema { - /** The new password to change or validate. */ - password: string; - /** The old password the user is changing. This field is for the non-admin users changing their own password. */ - oldPassword?: string; /** The confirmation of the new password. This field is for the non-admin users changing their own password. */ confirmPassword?: string; + /** The old password the user is changing. This field is for the non-admin users changing their own password. */ + oldPassword?: string; + /** The new password to change or validate. */ + password: string; } diff --git a/frontend/src/openapi/models/patSchema.ts b/frontend/src/openapi/models/patSchema.ts index e83ebb18bb..ab99389f57 100644 --- a/frontend/src/openapi/models/patSchema.ts +++ b/frontend/src/openapi/models/patSchema.ts @@ -8,14 +8,14 @@ * An overview of a [Personal Access Token](https://docs.getunleash.io/how-to/how-to-create-personal-access-tokens). */ export interface PatSchema { + /** When the token was created. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.) */ + createdAt?: string; + /** The token's expiration date. */ + expiresAt?: string; /** The unique identification number for this Personal Access Token. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.) */ id?: number; /** The token used for authentication. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.) */ secret?: string; - /** The token's expiration date. */ - expiresAt?: string; - /** When the token was created. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.) */ - createdAt?: string; /** When the token was last seen/used to authenticate with. `null` if it has not been used yet. (This property is set by Unleash when the token is created and cannot be set manually: if you provide a value when creating a PAT, Unleash will ignore it.) */ seenAt?: string | null; } diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts index d8501617c2..f9e0f3de90 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants400.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts index 69e97dff46..eafaba10f7 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants401.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts index ffe8e60f91..e0cfdc6056 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants403.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts index feefe45b72..0ea10da01e 100644 --- a/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts +++ b/frontend/src/openapi/models/patchEnvironmentsFeatureVariants404.ts @@ -7,8 +7,8 @@ export type PatchEnvironmentsFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeature401.ts b/frontend/src/openapi/models/patchFeature401.ts index f38807901c..675e62d472 100644 --- a/frontend/src/openapi/models/patchFeature401.ts +++ b/frontend/src/openapi/models/patchFeature401.ts @@ -7,8 +7,8 @@ export type PatchFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeature403.ts b/frontend/src/openapi/models/patchFeature403.ts index 6c250b6e5f..9d56b24400 100644 --- a/frontend/src/openapi/models/patchFeature403.ts +++ b/frontend/src/openapi/models/patchFeature403.ts @@ -7,8 +7,8 @@ export type PatchFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeature404.ts b/frontend/src/openapi/models/patchFeature404.ts index fb78bad79e..59c94174c3 100644 --- a/frontend/src/openapi/models/patchFeature404.ts +++ b/frontend/src/openapi/models/patchFeature404.ts @@ -7,8 +7,8 @@ export type PatchFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeature415.ts b/frontend/src/openapi/models/patchFeature415.ts index 0e28bf2f2d..d86ffb3f38 100644 --- a/frontend/src/openapi/models/patchFeature415.ts +++ b/frontend/src/openapi/models/patchFeature415.ts @@ -7,8 +7,8 @@ export type PatchFeature415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy400.ts b/frontend/src/openapi/models/patchFeatureStrategy400.ts index 18c0d464b7..6a32711021 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy400.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy400.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy401.ts b/frontend/src/openapi/models/patchFeatureStrategy401.ts index 5deff24ea3..ac7993b26b 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy401.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy403.ts b/frontend/src/openapi/models/patchFeatureStrategy403.ts index d5cceee2ac..e576831ce6 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy403.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy404.ts b/frontend/src/openapi/models/patchFeatureStrategy404.ts index 6b9093292f..e8416904b0 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy404.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureStrategy415.ts b/frontend/src/openapi/models/patchFeatureStrategy415.ts index 52ec681307..ac67100c34 100644 --- a/frontend/src/openapi/models/patchFeatureStrategy415.ts +++ b/frontend/src/openapi/models/patchFeatureStrategy415.ts @@ -7,8 +7,8 @@ export type PatchFeatureStrategy415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants400.ts b/frontend/src/openapi/models/patchFeatureVariants400.ts index 8cc19065cc..ff8fc97af3 100644 --- a/frontend/src/openapi/models/patchFeatureVariants400.ts +++ b/frontend/src/openapi/models/patchFeatureVariants400.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants401.ts b/frontend/src/openapi/models/patchFeatureVariants401.ts index 0f52ee458b..84b4691717 100644 --- a/frontend/src/openapi/models/patchFeatureVariants401.ts +++ b/frontend/src/openapi/models/patchFeatureVariants401.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants403.ts b/frontend/src/openapi/models/patchFeatureVariants403.ts index 727737b46b..6c2dbc2d96 100644 --- a/frontend/src/openapi/models/patchFeatureVariants403.ts +++ b/frontend/src/openapi/models/patchFeatureVariants403.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchFeatureVariants404.ts b/frontend/src/openapi/models/patchFeatureVariants404.ts index 01384c7d21..18d1b03a3b 100644 --- a/frontend/src/openapi/models/patchFeatureVariants404.ts +++ b/frontend/src/openapi/models/patchFeatureVariants404.ts @@ -7,8 +7,8 @@ export type PatchFeatureVariants404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/patchSchema.ts b/frontend/src/openapi/models/patchSchema.ts index c292aeb8e6..94c0d06918 100644 --- a/frontend/src/openapi/models/patchSchema.ts +++ b/frontend/src/openapi/models/patchSchema.ts @@ -9,12 +9,12 @@ import type { PatchSchemaOp } from './patchSchemaOp'; * A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description */ export interface PatchSchema { - /** The path to the property to operate on */ - path: string; - /** The kind of operation to perform */ - op: PatchSchemaOp; /** The target to move or copy from, if performing one of those operations */ from?: string; + /** The kind of operation to perform */ + op: PatchSchemaOp; + /** The path to the property to operate on */ + path: string; /** The value to add or replace, if performing one of those operations */ value?: unknown; } diff --git a/frontend/src/openapi/models/permissionSchema.ts b/frontend/src/openapi/models/permissionSchema.ts index 82657128e0..830d91387f 100644 --- a/frontend/src/openapi/models/permissionSchema.ts +++ b/frontend/src/openapi/models/permissionSchema.ts @@ -8,10 +8,10 @@ * Project and environment permissions */ export interface PermissionSchema { + /** The environment this permission applies to */ + environment?: string; /** [Project](https://docs.getunleash.io/reference/rbac#project-permissions) or [environment](https://docs.getunleash.io/reference/rbac#environment-permissions) permission name */ permission: string; /** The project this permission applies to */ project?: string; - /** The environment this permission applies to */ - environment?: string; } diff --git a/frontend/src/openapi/models/playgroundConstraintSchema.ts b/frontend/src/openapi/models/playgroundConstraintSchema.ts index f512c37843..feb11be6ee 100644 --- a/frontend/src/openapi/models/playgroundConstraintSchema.ts +++ b/frontend/src/openapi/models/playgroundConstraintSchema.ts @@ -9,18 +9,18 @@ import type { PlaygroundConstraintSchemaOperator } from './playgroundConstraintS * A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/reference/strategy-constraints) */ export interface PlaygroundConstraintSchema { - /** The name of the context field that this constraint should apply to. */ - contextName: string; - /** 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). */ - operator: PlaygroundConstraintSchemaOperator; /** Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive). */ caseInsensitive?: boolean; + /** The name of the context field that this constraint should apply to. */ + 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 context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ - values?: string[]; - /** 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; + /** 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). */ + operator: PlaygroundConstraintSchemaOperator; /** Whether this was evaluated as true or false. */ result: boolean; + /** 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; + /** The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values. */ + values?: string[]; } diff --git a/frontend/src/openapi/models/playgroundFeatureSchema.ts b/frontend/src/openapi/models/playgroundFeatureSchema.ts index b2fa7e9359..9d1fece363 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchema.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchema.ts @@ -11,20 +11,20 @@ import type { VariantSchema } from './variantSchema'; * A simplified feature toggle model intended for the Unleash playground. */ export interface PlaygroundFeatureSchema { + /** Whether the feature has a parent dependency that is not satisfied */ + hasUnsatisfiedDependency?: boolean; + /** Whether this feature is enabled or not in the current environment. + If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), + this will be `false` to align with how client SDKs treat unresolved feature states. */ + isEnabled: boolean; + /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ + isEnabledInCurrentEnvironment: boolean; /** The feature's name. */ name: string; /** The ID of the project that contains this feature. */ projectId: string; /** The feature's applicable strategies and cumulative results of the strategies */ strategies: PlaygroundFeatureSchemaStrategies; - /** Whether the feature has a parent dependency that is not satisfied */ - hasUnsatisfiedDependency?: boolean; - /** Whether the feature is active and would be evaluated in the provided environment in a normal SDK context. */ - isEnabledInCurrentEnvironment: boolean; - /** Whether this feature is enabled or not in the current environment. - If a feature can't be fully evaluated (that is, `strategies.result` is `unknown`), - this will be `false` to align with how client SDKs treat unresolved feature states. */ - isEnabled: boolean; /** The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. diff --git a/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts b/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts index 15e03ec66c..2c8fdc8f7f 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchemaStrategies.ts @@ -3,19 +3,19 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundFeatureSchemaStrategiesResult } from './playgroundFeatureSchemaStrategiesResult'; import type { PlaygroundStrategySchema } from './playgroundStrategySchema'; +import type { PlaygroundFeatureSchemaStrategiesResult } from './playgroundFeatureSchemaStrategiesResult'; /** * The feature's applicable strategies and cumulative results of the strategies */ export type PlaygroundFeatureSchemaStrategies = { + /** The strategies that apply to this feature. */ + data: PlaygroundStrategySchema[]; /** The cumulative results of all the feature's strategies. Can be `true`, `false`, or `unknown`. This property will only be `unknown` if one or more of the strategies can't be fully evaluated and the rest of the strategies all resolve to `false`. */ result: PlaygroundFeatureSchemaStrategiesResult; - /** The strategies that apply to this feature. */ - data: PlaygroundStrategySchema[]; }; diff --git a/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts b/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts index 488548aebb..7d551c45e8 100644 --- a/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/playgroundFeatureSchemaVariant.ts @@ -12,10 +12,10 @@ import type { PlaygroundFeatureSchemaVariantPayload } from './playgroundFeatureS Otherwise, you'll get one of thefeature's defined variants. */ export type PlaygroundFeatureSchemaVariant = { - /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ - name: string; /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ enabled: boolean; + /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ + name: string; /** An optional payload attached to the variant. */ payload?: PlaygroundFeatureSchemaVariantPayload; } | null; diff --git a/frontend/src/openapi/models/playgroundRequestSchema.ts b/frontend/src/openapi/models/playgroundRequestSchema.ts index 2aaa8ff411..80efbf47f4 100644 --- a/frontend/src/openapi/models/playgroundRequestSchema.ts +++ b/frontend/src/openapi/models/playgroundRequestSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundRequestSchemaProjects } from './playgroundRequestSchemaProjects'; import type { SdkContextSchema } from './sdkContextSchema'; +import type { PlaygroundRequestSchemaProjects } from './playgroundRequestSchemaProjects'; /** * Data for the playground API to evaluate toggles */ export interface PlaygroundRequestSchema { + context: SdkContextSchema; /** The environment to evaluate toggles in. */ environment: string; /** A list of projects to check for toggles in. */ projects?: PlaygroundRequestSchemaProjects; - context: SdkContextSchema; } diff --git a/frontend/src/openapi/models/playgroundResponseSchema.ts b/frontend/src/openapi/models/playgroundResponseSchema.ts index bfc4aeef72..bbc7fe8620 100644 --- a/frontend/src/openapi/models/playgroundResponseSchema.ts +++ b/frontend/src/openapi/models/playgroundResponseSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundRequestSchema } from './playgroundRequestSchema'; import type { PlaygroundFeatureSchema } from './playgroundFeatureSchema'; +import type { PlaygroundRequestSchema } from './playgroundRequestSchema'; /** * The state of all features given the provided input. */ export interface PlaygroundResponseSchema { - /** The given input used to evaluate the features. */ - input: PlaygroundRequestSchema; /** The list of features that have been evaluated. */ features: PlaygroundFeatureSchema[]; + /** The given input used to evaluate the features. */ + input: PlaygroundRequestSchema; } diff --git a/frontend/src/openapi/models/playgroundSegmentSchema.ts b/frontend/src/openapi/models/playgroundSegmentSchema.ts index 971af147af..fe672bb493 100644 --- a/frontend/src/openapi/models/playgroundSegmentSchema.ts +++ b/frontend/src/openapi/models/playgroundSegmentSchema.ts @@ -9,12 +9,12 @@ import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; * The evaluated result of a segment as used by the Playground. */ export interface PlaygroundSegmentSchema { + /** The list of constraints in this segment. */ + constraints: PlaygroundConstraintSchema[]; /** The segment's id. */ id: number; /** The name of the segment. */ name: string; /** Whether this was evaluated as true or false. */ result: boolean; - /** The list of constraints in this segment. */ - constraints: PlaygroundConstraintSchema[]; } diff --git a/frontend/src/openapi/models/playgroundStrategySchema.ts b/frontend/src/openapi/models/playgroundStrategySchema.ts index 724e435125..2286bc2632 100644 --- a/frontend/src/openapi/models/playgroundStrategySchema.ts +++ b/frontend/src/openapi/models/playgroundStrategySchema.ts @@ -3,32 +3,32 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; +import type { PlaygroundStrategySchemaLinks } from './playgroundStrategySchemaLinks'; +import type { ParametersSchema } from './parametersSchema'; import type { PlaygroundStrategySchemaResult } from './playgroundStrategySchemaResult'; import type { PlaygroundSegmentSchema } from './playgroundSegmentSchema'; -import type { PlaygroundConstraintSchema } from './playgroundConstraintSchema'; -import type { ParametersSchema } from './parametersSchema'; -import type { PlaygroundStrategySchemaLinks } from './playgroundStrategySchemaLinks'; /** * An evaluated feature toggle strategy as used by the Playground */ export interface PlaygroundStrategySchema { - /** The strategy's name. */ - name: string; - /** Description of the feature's purpose. */ - title?: string; - /** The strategy's id. */ - id: string; - /** The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false` */ - result: PlaygroundStrategySchemaResult; - /** The strategy's status. Disabled strategies are not evaluated */ - disabled: boolean | null; - /** The strategy's segments and their evaluation results. */ - segments: PlaygroundSegmentSchema[]; /** The strategy's constraints and their evaluation results. */ constraints: PlaygroundConstraintSchema[]; - /** The strategy's constraints and their evaluation results. */ - parameters: ParametersSchema; + /** The strategy's status. Disabled strategies are not evaluated */ + disabled: boolean | null; + /** The strategy's id. */ + id: string; /** A set of links to actions you can perform on this strategy */ links: PlaygroundStrategySchemaLinks; + /** The strategy's name. */ + name: string; + /** The strategy's constraints and their evaluation results. */ + parameters: ParametersSchema; + /** The strategy's evaluation result. If the strategy is a custom strategy that Unleash can't evaluate, `evaluationStatus` will be `unknown`. Otherwise, it will be `true` or `false` */ + result: PlaygroundStrategySchemaResult; + /** The strategy's segments and their evaluation results. */ + segments: PlaygroundSegmentSchema[]; + /** Description of the feature's purpose. */ + title?: string; } diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts index cb962fcdfe..887830ecaa 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOf.ts @@ -3,12 +3,12 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { PlaygroundStrategySchemaResultAnyOfEvaluationStatus } from './playgroundStrategySchemaResultAnyOfEvaluationStatus'; import type { PlaygroundStrategySchemaResultAnyOfEnabled } from './playgroundStrategySchemaResultAnyOfEnabled'; +import type { PlaygroundStrategySchemaResultAnyOfEvaluationStatus } from './playgroundStrategySchemaResultAnyOfEvaluationStatus'; export type PlaygroundStrategySchemaResultAnyOf = { - /** Signals that this strategy could not be evaluated. This is most likely because you're using a custom strategy that Unleash doesn't know about. The `unevaluated` result is also returned if the strategy is disabled. */ - evaluationStatus: PlaygroundStrategySchemaResultAnyOfEvaluationStatus; /** Whether this strategy resolves to `false` or if it might resolve to `true`. Because Unleash can't evaluate the strategy, it can't say for certain whether it will be `true`, but if you have failing constraints or segments, it _can_ determine that your strategy would be `false`. */ enabled: PlaygroundStrategySchemaResultAnyOfEnabled; + /** Signals that this strategy could not be evaluated. This is most likely because you're using a custom strategy that Unleash doesn't know about. The `unevaluated` result is also returned if the strategy is disabled. */ + evaluationStatus: PlaygroundStrategySchemaResultAnyOfEvaluationStatus; }; diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts index a78e09281e..273e4f9fed 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFour.ts @@ -8,10 +8,10 @@ import type { PlaygroundStrategySchemaResultAnyOfFourVariant } from './playgroun import type { VariantSchema } from './variantSchema'; export type PlaygroundStrategySchemaResultAnyOfFour = { - /** Signals that this strategy was evaluated successfully. */ - evaluationStatus: PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus; /** Whether this strategy evaluates to true or not. */ enabled: boolean; + /** Signals that this strategy was evaluated successfully. */ + evaluationStatus: PlaygroundStrategySchemaResultAnyOfFourEvaluationStatus; /** The feature variant you receive based on the provided context or the _disabled variant_. If a feature is disabled or doesn't have any variants, you would get the _disabled variant_. diff --git a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts index 2492baf4f2..68a7038837 100644 --- a/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts +++ b/frontend/src/openapi/models/playgroundStrategySchemaResultAnyOfFourVariant.ts @@ -12,10 +12,10 @@ import type { PlaygroundStrategySchemaResultAnyOfFourVariantPayload } from './pl Otherwise, you'll get one of the feature's defined variants. */ export type PlaygroundStrategySchemaResultAnyOfFourVariant = { - /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ - name: string; /** Whether the variant is enabled or not. If the feature is disabled or if it doesn't have variants, this property will be `false` */ enabled: boolean; + /** The variant's name. If there is no variant or if the toggle is disabled, this will be `disabled` */ + name: string; /** An optional payload attached to the variant. */ payload?: PlaygroundStrategySchemaResultAnyOfFourVariantPayload; } | null; diff --git a/frontend/src/openapi/models/profileSchema.ts b/frontend/src/openapi/models/profileSchema.ts index 623a723830..a06de78c3a 100644 --- a/frontend/src/openapi/models/profileSchema.ts +++ b/frontend/src/openapi/models/profileSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RoleSchema } from './roleSchema'; import type { FeatureSchema } from './featureSchema'; +import type { RoleSchema } from './roleSchema'; /** * User profile overview */ export interface ProfileSchema { - rootRole: RoleSchema; - /** Which projects this user is a member of */ - projects: string[]; /** Deprecated, always returns empty array */ features: FeatureSchema[]; + /** Which projects this user is a member of */ + projects: string[]; + rootRole: RoleSchema; } diff --git a/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts index 191933b468..4b212978fa 100644 --- a/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts +++ b/frontend/src/openapi/models/projectAccessConfigurationSchemaRolesItem.ts @@ -5,10 +5,10 @@ */ export type ProjectAccessConfigurationSchemaRolesItem = { - /** The id of the role. */ - id?: number; /** A list of group ids that will be assigned this role */ groups?: number[]; + /** The id of the role. */ + id?: number; /** A list of user ids that will be assigned this role */ users?: number[]; }; diff --git a/frontend/src/openapi/models/projectAccessSchema.ts b/frontend/src/openapi/models/projectAccessSchema.ts index b8ccdef36d..85436f4eff 100644 --- a/frontend/src/openapi/models/projectAccessSchema.ts +++ b/frontend/src/openapi/models/projectAccessSchema.ts @@ -4,8 +4,8 @@ * See `gen:api` script in package.json */ import type { GroupWithProjectRoleSchema } from './groupWithProjectRoleSchema'; -import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; import type { RoleSchema } from './roleSchema'; +import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; /** * An object describing access permissions for a given project. @@ -13,8 +13,8 @@ import type { RoleSchema } from './roleSchema'; export interface ProjectAccessSchema { /** A list of groups that have access to this project */ groups: GroupWithProjectRoleSchema[]; - /** A list of users and their roles within this project */ - users: UserWithProjectRoleSchema[]; /** A list of roles that are available within this project. */ roles: RoleSchema[]; + /** A list of users and their roles within this project */ + users: UserWithProjectRoleSchema[]; } diff --git a/frontend/src/openapi/models/projectAddAccessSchema.ts b/frontend/src/openapi/models/projectAddAccessSchema.ts index a8bb25ffd0..de13239e19 100644 --- a/frontend/src/openapi/models/projectAddAccessSchema.ts +++ b/frontend/src/openapi/models/projectAddAccessSchema.ts @@ -8,10 +8,10 @@ * An object containing a collection of roles, a collection of groups and a collection of users. */ export interface ProjectAddAccessSchema { - /** A list of role IDs */ - roles: number[]; /** A list of group IDs */ groups: number[]; + /** A list of role IDs */ + roles: number[]; /** A list of user IDs */ users: number[]; } diff --git a/frontend/src/openapi/models/projectCreatedSchema.ts b/frontend/src/openapi/models/projectCreatedSchema.ts index 8c66572056..316bfefe59 100644 --- a/frontend/src/openapi/models/projectCreatedSchema.ts +++ b/frontend/src/openapi/models/projectCreatedSchema.ts @@ -9,16 +9,16 @@ import type { ProjectCreatedSchemaMode } from './projectCreatedSchemaMode'; * Details about the newly created project. */ export interface ProjectCreatedSchema { - /** The project's identifier. */ - id: string; - /** The project's name. */ - name: string; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; /** The project's description. */ description?: string | null; /** A limit on the number of features allowed in the project. `null` if no limit. */ featureLimit?: number | null; + /** The project's identifier. */ + id: string; /** A mode of the project affecting what actions are possible in this project */ mode?: ProjectCreatedSchemaMode; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; + /** The project's name. */ + name: string; } diff --git a/frontend/src/openapi/models/projectDoraMetricsSchema.ts b/frontend/src/openapi/models/projectDoraMetricsSchema.ts index a81f71d100..76a56e03fb 100644 --- a/frontend/src/openapi/models/projectDoraMetricsSchema.ts +++ b/frontend/src/openapi/models/projectDoraMetricsSchema.ts @@ -9,8 +9,8 @@ import type { DoraFeaturesSchema } from './doraFeaturesSchema'; * A projects dora metrics */ export interface ProjectDoraMetricsSchema { - /** The average time it takes a feature toggle to be enabled in production. The measurement unit is days. */ - projectAverage?: number; /** An array of objects containing feature toggle name and timeToProduction values. The measurement unit of timeToProduction is days. */ features: DoraFeaturesSchema[]; + /** The average time it takes a feature toggle to be enabled in production. The measurement unit is days. */ + projectAverage?: number; } diff --git a/frontend/src/openapi/models/projectEnvironmentSchema.ts b/frontend/src/openapi/models/projectEnvironmentSchema.ts index 6ee609b750..07d0b5c071 100644 --- a/frontend/src/openapi/models/projectEnvironmentSchema.ts +++ b/frontend/src/openapi/models/projectEnvironmentSchema.ts @@ -9,10 +9,10 @@ import type { CreateFeatureStrategySchema } from './createFeatureStrategySchema' * Add an environment to a project, optionally also sets if change requests are enabled for this environment on the project */ export interface ProjectEnvironmentSchema { - /** The environment to add to the project */ - environment: string; /** Whether change requests should be enabled or for this environment on the project or not */ changeRequestsEnabled?: boolean; /** A default strategy to create for this environment on the project. */ defaultStrategy?: CreateFeatureStrategySchema; + /** The environment to add to the project */ + environment: string; } diff --git a/frontend/src/openapi/models/projectOverviewSchema.ts b/frontend/src/openapi/models/projectOverviewSchema.ts index 1f05a68975..993c560cf3 100644 --- a/frontend/src/openapi/models/projectOverviewSchema.ts +++ b/frontend/src/openapi/models/projectOverviewSchema.ts @@ -3,43 +3,43 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ProjectStatsSchema } from './projectStatsSchema'; -import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode'; -import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; import type { ProjectEnvironmentSchema } from './projectEnvironmentSchema'; -import type { FeatureSchema } from './featureSchema'; +import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { FeatureTypeCountSchema } from './featureTypeCountSchema'; +import type { ProjectOverviewSchemaMode } from './projectOverviewSchemaMode'; +import type { ProjectStatsSchema } from './projectStatsSchema'; /** * A high-level overview of a project. It contains information such as project statistics, the name of the project, what members and what features it contains, etc. */ export interface ProjectOverviewSchema { - /** Project statistics */ - stats?: ProjectStatsSchema; - /** The schema version used to describe the project overview */ - version: number; - /** The name of this project */ - name: string; - /** Additional information about the project */ - description?: string | null; + /** When the project was created. */ + createdAt?: string | null; /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ defaultStickiness?: string; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode?: ProjectOverviewSchemaMode; + /** Additional information about the project */ + description?: string | null; + /** The environments that are enabled for this project */ + environments?: ProjectEnvironmentSchema[]; + /** `true` if the project was favorited, otherwise `false`. */ + favorite?: boolean; /** A limit on the number of features allowed in the project. Null if no limit. */ featureLimit?: number | null; featureNaming?: CreateFeatureNamingPatternSchema; - /** The number of members this project has */ - members?: number; + /** The number of features of each type that are in this project */ + featureTypeCounts?: FeatureTypeCountSchema[]; /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ health?: number; - /** The environments that are enabled for this project */ - environments?: ProjectEnvironmentSchema[]; - /** The full list of features in this project (excluding archived features) */ - features?: FeatureSchema[]; + /** The number of members this project has */ + members?: number; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: ProjectOverviewSchemaMode; + /** The name of this project */ + name: string; + /** Project statistics */ + stats?: ProjectStatsSchema; /** When the project was last updated. */ updatedAt?: string | null; - /** When the project was created. */ - createdAt?: string | null; - /** `true` if the project was favorited, otherwise `false`. */ - favorite?: boolean; + /** The schema version used to describe the project overview */ + version: number; } diff --git a/frontend/src/openapi/models/projectRoleSchema.ts b/frontend/src/openapi/models/projectRoleSchema.ts index 6089b04768..e44a96b526 100644 --- a/frontend/src/openapi/models/projectRoleSchema.ts +++ b/frontend/src/openapi/models/projectRoleSchema.ts @@ -8,14 +8,14 @@ * An overview of how many users and groups are mapped to the specified project with the specified role. */ export interface ProjectRoleSchema { + /** Number of groups mapped to this project. */ + groupCount?: number; /** The id of the project user and group count are counted for. */ project: string; /** Id of the role the user and group count are counted for. */ role?: number; - /** Number of users mapped to this project. */ - userCount?: number; /** Number of service accounts mapped to this project. */ serviceAccountCount?: number; - /** Number of groups mapped to this project. */ - groupCount?: number; + /** Number of users mapped to this project. */ + userCount?: number; } diff --git a/frontend/src/openapi/models/projectSchema.ts b/frontend/src/openapi/models/projectSchema.ts index 89d951a678..9df5784694 100644 --- a/frontend/src/openapi/models/projectSchema.ts +++ b/frontend/src/openapi/models/projectSchema.ts @@ -9,26 +9,26 @@ import type { ProjectSchemaMode } from './projectSchemaMode'; * A definition of the project used for projects listing purposes */ export interface ProjectSchema { - /** The id of this project */ - id: string; - /** The name of this project */ - name: string; - /** Additional information about the project */ - description?: string | null; - /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ - health?: number; - /** The number of features this project has */ - featureCount?: number; - /** The number of members this project has */ - memberCount?: number; /** When this project was created. */ createdAt?: string; - /** When this project was last updated. */ - updatedAt?: string | null; - /** `true` if the project was favorited, otherwise `false`. */ - favorite?: boolean; - /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ - mode?: ProjectSchemaMode; /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ defaultStickiness?: string; + /** Additional information about the project */ + description?: string | null; + /** `true` if the project was favorited, otherwise `false`. */ + favorite?: boolean; + /** The number of features this project has */ + featureCount?: number; + /** An indicator of the [project's health](https://docs.getunleash.io/reference/technical-debt#health-rating) on a scale from 0 to 100 */ + health?: number; + /** The id of this project */ + id: string; + /** The number of members this project has */ + memberCount?: number; + /** The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). Determines whether non-project members can submit change requests or not. */ + mode?: ProjectSchemaMode; + /** The name of this project */ + name: string; + /** When this project was last updated. */ + updatedAt?: string | null; } diff --git a/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts b/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts index 2339ff7cd8..2ba828848a 100644 --- a/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts +++ b/frontend/src/openapi/models/projectSettingsSchemaDefaultStickiness.ts @@ -8,7 +8,8 @@ * The [default stickiness for this project](https://docs.getunleash.io/reference/stickiness#project-default-stickiness) */ export type ProjectSettingsSchemaDefaultStickiness = - (typeof ProjectSettingsSchemaDefaultStickiness)[keyof typeof ProjectSettingsSchemaDefaultStickiness]; + | (typeof ProjectSettingsSchemaDefaultStickiness)[keyof typeof ProjectSettingsSchemaDefaultStickiness] + | null; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectSettingsSchemaDefaultStickiness = { @@ -16,5 +17,4 @@ export const ProjectSettingsSchemaDefaultStickiness = { sessionId: 'sessionId', userId: 'userId', random: 'random', - null: null, } as const; diff --git a/frontend/src/openapi/models/projectSettingsSchemaMode.ts b/frontend/src/openapi/models/projectSettingsSchemaMode.ts index fc17990f5d..7db6d24bb5 100644 --- a/frontend/src/openapi/models/projectSettingsSchemaMode.ts +++ b/frontend/src/openapi/models/projectSettingsSchemaMode.ts @@ -8,11 +8,11 @@ * The project's [collaboration mode](https://docs.getunleash.io/reference/project-collaboration-mode). */ export type ProjectSettingsSchemaMode = - (typeof ProjectSettingsSchemaMode)[keyof typeof ProjectSettingsSchemaMode]; + | (typeof ProjectSettingsSchemaMode)[keyof typeof ProjectSettingsSchemaMode] + | null; // eslint-disable-next-line @typescript-eslint/no-redeclare export const ProjectSettingsSchemaMode = { open: 'open', protected: 'protected', - null: null, } as const; diff --git a/frontend/src/openapi/models/projectStatsSchema.ts b/frontend/src/openapi/models/projectStatsSchema.ts index 2a1223975b..f55f96da91 100644 --- a/frontend/src/openapi/models/projectStatsSchema.ts +++ b/frontend/src/openapi/models/projectStatsSchema.ts @@ -12,16 +12,16 @@ Stats are divided into current and previous **windows**. - The **previous window** is the 30 days **before** the current window (from 60 to 30 days ago) */ export interface ProjectStatsSchema { + /** The number of feature toggles that were archived during the current window */ + archivedCurrentWindow: number; + /** The number of feature toggles that were archived during the previous window */ + archivedPastWindow: number; /** The average time from when a feature was created to when it was enabled in the "production" environment during the current window */ avgTimeToProdCurrentWindow: number; /** The number of feature toggles created during the current window */ createdCurrentWindow: number; /** The number of feature toggles created during the previous window */ createdPastWindow: number; - /** The number of feature toggles that were archived during the current window */ - archivedCurrentWindow: number; - /** The number of feature toggles that were archived during the previous window */ - archivedPastWindow: number; /** The number of project events that occurred during the current window */ projectActivityCurrentWindow: number; /** The number of project events that occurred during the previous window */ diff --git a/frontend/src/openapi/models/projectUsersSchema.ts b/frontend/src/openapi/models/projectUsersSchema.ts index bd24403475..ec5fc7c0c2 100644 --- a/frontend/src/openapi/models/projectUsersSchema.ts +++ b/frontend/src/openapi/models/projectUsersSchema.ts @@ -3,16 +3,16 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; import type { RoleSchema } from './roleSchema'; +import type { UserWithProjectRoleSchema } from './userWithProjectRoleSchema'; /** * An overview of users and available roles within a project. * @deprecated */ export interface ProjectUsersSchema { - /** A list of users with access to this project and their role within it. */ - users: UserWithProjectRoleSchema[]; /** A list of roles that are available for this project */ roles: RoleSchema[]; + /** A list of users with access to this project and their role within it. */ + users: UserWithProjectRoleSchema[]; } diff --git a/frontend/src/openapi/models/projectsSchema.ts b/frontend/src/openapi/models/projectsSchema.ts index 97608f6fce..a54057cab1 100644 --- a/frontend/src/openapi/models/projectsSchema.ts +++ b/frontend/src/openapi/models/projectsSchema.ts @@ -9,8 +9,8 @@ import type { ProjectSchema } from './projectSchema'; * An overview of all the projects in the Unleash instance */ export interface ProjectsSchema { - /** The schema version used to represent the project data. */ - version: number; /** A list of projects in the Unleash instance */ projects: ProjectSchema[]; + /** The schema version used to represent the project data. */ + version: number; } diff --git a/frontend/src/openapi/models/proxyClientSchema.ts b/frontend/src/openapi/models/proxyClientSchema.ts index 34a33f5ec1..163a8c58fb 100644 --- a/frontend/src/openapi/models/proxyClientSchema.ts +++ b/frontend/src/openapi/models/proxyClientSchema.ts @@ -11,17 +11,17 @@ import type { ProxyClientSchemaStarted } from './proxyClientSchemaStarted'; export interface ProxyClientSchema { /** Name of the application using Unleash */ appName: string; - /** Instance id for this application (typically hostname, podId or similar) */ - instanceId?: string; - /** Optional field that describes the sdk version (name:version) */ - sdkVersion?: string; /** * deprecated * @deprecated */ environment?: string; + /** Instance id for this application (typically hostname, podId or similar) */ + instanceId?: string; /** At which interval, in milliseconds, will this client be expected to send metrics */ interval: number; + /** Optional field that describes the sdk version (name:version) */ + sdkVersion?: string; /** When this client started. Should be reported as ISO8601 time. */ started: ProxyClientSchemaStarted; /** List of strategies implemented by this application */ diff --git a/frontend/src/openapi/models/proxyFeatureSchema.ts b/frontend/src/openapi/models/proxyFeatureSchema.ts index d836caf388..6c6c73a57f 100644 --- a/frontend/src/openapi/models/proxyFeatureSchema.ts +++ b/frontend/src/openapi/models/proxyFeatureSchema.ts @@ -9,12 +9,12 @@ import type { ProxyFeatureSchemaVariant } from './proxyFeatureSchemaVariant'; * Frontend API feature */ export interface ProxyFeatureSchema { - /** Unique feature name. */ - name: string; /** Always set to `true`. */ enabled: boolean; /** `true` if the impression data collection is enabled for the feature, otherwise `false`. */ impressionData: boolean; + /** Unique feature name. */ + name: string; /** Variant details */ variant?: ProxyFeatureSchemaVariant; } diff --git a/frontend/src/openapi/models/proxyFeatureSchemaVariant.ts b/frontend/src/openapi/models/proxyFeatureSchemaVariant.ts index 3c43d47246..a6743163e6 100644 --- a/frontend/src/openapi/models/proxyFeatureSchemaVariant.ts +++ b/frontend/src/openapi/models/proxyFeatureSchemaVariant.ts @@ -9,10 +9,10 @@ import type { ProxyFeatureSchemaVariantPayload } from './proxyFeatureSchemaVaria * Variant details */ export type ProxyFeatureSchemaVariant = { - /** The variants name. Is unique for this feature toggle */ - name: string; /** Whether the variant is enabled or not. */ enabled: boolean; + /** The variants name. Is unique for this feature toggle */ + name: string; /** Extra data configured for this variant */ payload?: ProxyFeatureSchemaVariantPayload; }; diff --git a/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts b/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts index d88032e0d9..2dfce1dc64 100644 --- a/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenCreateSchema.ts @@ -8,8 +8,8 @@ * Used for creating a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens) */ export interface PublicSignupTokenCreateSchema { - /** The token's name. */ - name: string; /** The token's expiration date. */ expiresAt: string; + /** The token's name. */ + name: string; } diff --git a/frontend/src/openapi/models/publicSignupTokenSchema.ts b/frontend/src/openapi/models/publicSignupTokenSchema.ts index 3f901b7c08..b40172b822 100644 --- a/frontend/src/openapi/models/publicSignupTokenSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenSchema.ts @@ -3,29 +3,29 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UserSchema } from './userSchema'; import type { RoleSchema } from './roleSchema'; +import type { UserSchema } from './userSchema'; /** * Used for transporting a [public invite link](https://docs.getunleash.io/reference/public-signup#public-sign-up-tokens) */ export interface PublicSignupTokenSchema { - /** The actual value of the token. This is the part that is used by Unleash to create an invite link */ - secret: string; - /** The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user. */ - url: string | null; - /** The token's name. Only for displaying in the UI */ - name: string; - /** Whether the token is active. This property will always be `false` for a token that has expired. */ - enabled: boolean; - /** The time when the token will expire. */ - expiresAt: string; /** When the token was created. */ createdAt: string; /** The creator's email or username */ createdBy: string | null; - /** Array of users that have signed up using the token. */ - users?: UserSchema[] | null; + /** Whether the token is active. This property will always be `false` for a token that has expired. */ + enabled: boolean; + /** The time when the token will expire. */ + expiresAt: string; + /** The token's name. Only for displaying in the UI */ + name: string; /** Users who sign up using this token will be given this role. */ role: RoleSchema; + /** The actual value of the token. This is the part that is used by Unleash to create an invite link */ + secret: string; + /** The public signup link for the token. Users who follow this link will be taken to a signup page where they can create an Unleash user. */ + url: string | null; + /** Array of users that have signed up using the token. */ + users?: UserSchema[] | null; } diff --git a/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts b/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts index 34356ee01f..ddc1ceca68 100644 --- a/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts +++ b/frontend/src/openapi/models/publicSignupTokenUpdateSchema.ts @@ -8,8 +8,8 @@ * Used by Unleash for updating a token's expiration date or, when deleting the invite link, it's status */ export interface PublicSignupTokenUpdateSchema { - /** The token's expiration date. */ - expiresAt?: string; /** Whether the token is active or not. */ enabled?: boolean; + /** The token's expiration date. */ + expiresAt?: string; } diff --git a/frontend/src/openapi/models/pushVariantsSchema.ts b/frontend/src/openapi/models/pushVariantsSchema.ts index f1ae72b716..827c015b10 100644 --- a/frontend/src/openapi/models/pushVariantsSchema.ts +++ b/frontend/src/openapi/models/pushVariantsSchema.ts @@ -9,8 +9,8 @@ import type { VariantSchema } from './variantSchema'; * Data used when copying variants into a new environment. */ export interface PushVariantsSchema { - /** The variants to write to the provided environments */ - variants?: VariantSchema[]; /** The enviromnents to write the provided variants to */ environments?: string[]; + /** The variants to write to the provided environments */ + variants?: VariantSchema[]; } diff --git a/frontend/src/openapi/models/reactivateStrategy401.ts b/frontend/src/openapi/models/reactivateStrategy401.ts index 72978d8c61..ca4eabaf61 100644 --- a/frontend/src/openapi/models/reactivateStrategy401.ts +++ b/frontend/src/openapi/models/reactivateStrategy401.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reactivateStrategy403.ts b/frontend/src/openapi/models/reactivateStrategy403.ts index dc7c950c5e..5bcdcf7353 100644 --- a/frontend/src/openapi/models/reactivateStrategy403.ts +++ b/frontend/src/openapi/models/reactivateStrategy403.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reactivateStrategy404.ts b/frontend/src/openapi/models/reactivateStrategy404.ts index 87a3f2e9d1..524f47cfe5 100644 --- a/frontend/src/openapi/models/reactivateStrategy404.ts +++ b/frontend/src/openapi/models/reactivateStrategy404.ts @@ -7,8 +7,8 @@ export type ReactivateStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerClientMetrics400.ts b/frontend/src/openapi/models/registerClientMetrics400.ts index 6dcae0fb45..76d7d6dab1 100644 --- a/frontend/src/openapi/models/registerClientMetrics400.ts +++ b/frontend/src/openapi/models/registerClientMetrics400.ts @@ -7,8 +7,8 @@ export type RegisterClientMetrics400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient400.ts b/frontend/src/openapi/models/registerFrontendClient400.ts index 49644c1e7b..b7141d20f2 100644 --- a/frontend/src/openapi/models/registerFrontendClient400.ts +++ b/frontend/src/openapi/models/registerFrontendClient400.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient401.ts b/frontend/src/openapi/models/registerFrontendClient401.ts index d6e8354d05..08ea81beb9 100644 --- a/frontend/src/openapi/models/registerFrontendClient401.ts +++ b/frontend/src/openapi/models/registerFrontendClient401.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendClient404.ts b/frontend/src/openapi/models/registerFrontendClient404.ts index 5f6518127e..3dfd5c1303 100644 --- a/frontend/src/openapi/models/registerFrontendClient404.ts +++ b/frontend/src/openapi/models/registerFrontendClient404.ts @@ -7,8 +7,8 @@ export type RegisterFrontendClient404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics400.ts b/frontend/src/openapi/models/registerFrontendMetrics400.ts index 1870e6fd41..22a79d4ecc 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics400.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics400.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics401.ts b/frontend/src/openapi/models/registerFrontendMetrics401.ts index a924e6dc00..15a72363b5 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics401.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics401.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/registerFrontendMetrics404.ts b/frontend/src/openapi/models/registerFrontendMetrics404.ts index 31e26ece41..d24bfb8396 100644 --- a/frontend/src/openapi/models/registerFrontendMetrics404.ts +++ b/frontend/src/openapi/models/registerFrontendMetrics404.ts @@ -7,8 +7,8 @@ export type RegisterFrontendMetrics404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironment400.ts b/frontend/src/openapi/models/removeEnvironment400.ts index 7ff29894d1..2bc0a657fe 100644 --- a/frontend/src/openapi/models/removeEnvironment400.ts +++ b/frontend/src/openapi/models/removeEnvironment400.ts @@ -7,8 +7,8 @@ export type RemoveEnvironment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironment401.ts b/frontend/src/openapi/models/removeEnvironment401.ts index 53ff2ef80f..97b55931fd 100644 --- a/frontend/src/openapi/models/removeEnvironment401.ts +++ b/frontend/src/openapi/models/removeEnvironment401.ts @@ -7,8 +7,8 @@ export type RemoveEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironmentFromProject400.ts b/frontend/src/openapi/models/removeEnvironmentFromProject400.ts index 2a20ec9af2..497e8ed00d 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject400.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject400.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironmentFromProject401.ts b/frontend/src/openapi/models/removeEnvironmentFromProject401.ts index 699822e30b..208a19c7cc 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject401.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject401.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeEnvironmentFromProject403.ts b/frontend/src/openapi/models/removeEnvironmentFromProject403.ts index 729998b21a..30271e8e79 100644 --- a/frontend/src/openapi/models/removeEnvironmentFromProject403.ts +++ b/frontend/src/openapi/models/removeEnvironmentFromProject403.ts @@ -7,8 +7,8 @@ export type RemoveEnvironmentFromProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteFeature401.ts b/frontend/src/openapi/models/removeFavoriteFeature401.ts index 8760f7f6ab..277078e0cc 100644 --- a/frontend/src/openapi/models/removeFavoriteFeature401.ts +++ b/frontend/src/openapi/models/removeFavoriteFeature401.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteFeature404.ts b/frontend/src/openapi/models/removeFavoriteFeature404.ts index bbe220fc96..2174ed0484 100644 --- a/frontend/src/openapi/models/removeFavoriteFeature404.ts +++ b/frontend/src/openapi/models/removeFavoriteFeature404.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteProject401.ts b/frontend/src/openapi/models/removeFavoriteProject401.ts index 77313f0f37..62cefeacbf 100644 --- a/frontend/src/openapi/models/removeFavoriteProject401.ts +++ b/frontend/src/openapi/models/removeFavoriteProject401.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeFavoriteProject404.ts b/frontend/src/openapi/models/removeFavoriteProject404.ts index 209445cc22..f3ecc80857 100644 --- a/frontend/src/openapi/models/removeFavoriteProject404.ts +++ b/frontend/src/openapi/models/removeFavoriteProject404.ts @@ -7,8 +7,8 @@ export type RemoveFavoriteProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess401.ts b/frontend/src/openapi/models/removeGroupAccess401.ts index 893b22707a..5ab80c3864 100644 --- a/frontend/src/openapi/models/removeGroupAccess401.ts +++ b/frontend/src/openapi/models/removeGroupAccess401.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess403.ts b/frontend/src/openapi/models/removeGroupAccess403.ts index 264fe1c34b..adb5114631 100644 --- a/frontend/src/openapi/models/removeGroupAccess403.ts +++ b/frontend/src/openapi/models/removeGroupAccess403.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeGroupAccess404.ts b/frontend/src/openapi/models/removeGroupAccess404.ts index afee09dca9..d8e4b72919 100644 --- a/frontend/src/openapi/models/removeGroupAccess404.ts +++ b/frontend/src/openapi/models/removeGroupAccess404.ts @@ -7,8 +7,8 @@ export type RemoveGroupAccess404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleForUser401.ts b/frontend/src/openapi/models/removeRoleForUser401.ts index d566ed2356..34396c6a42 100644 --- a/frontend/src/openapi/models/removeRoleForUser401.ts +++ b/frontend/src/openapi/models/removeRoleForUser401.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleForUser403.ts b/frontend/src/openapi/models/removeRoleForUser403.ts index 726786cb86..425d8e4a74 100644 --- a/frontend/src/openapi/models/removeRoleForUser403.ts +++ b/frontend/src/openapi/models/removeRoleForUser403.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleForUser404.ts b/frontend/src/openapi/models/removeRoleForUser404.ts index 23516708ca..5b404b08f7 100644 --- a/frontend/src/openapi/models/removeRoleForUser404.ts +++ b/frontend/src/openapi/models/removeRoleForUser404.ts @@ -7,8 +7,8 @@ export type RemoveRoleForUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup401.ts b/frontend/src/openapi/models/removeRoleFromGroup401.ts index eb4147225f..bc0242d1a8 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup401.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup401.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup403.ts b/frontend/src/openapi/models/removeRoleFromGroup403.ts index 046f7ba178..f29020dd50 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup403.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup403.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeRoleFromGroup404.ts b/frontend/src/openapi/models/removeRoleFromGroup404.ts index 28b9b93134..8d7e410346 100644 --- a/frontend/src/openapi/models/removeRoleFromGroup404.ts +++ b/frontend/src/openapi/models/removeRoleFromGroup404.ts @@ -7,8 +7,8 @@ export type RemoveRoleFromGroup404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeSegment401.ts b/frontend/src/openapi/models/removeSegment401.ts index 87f8365e5a..c88dd4a8d9 100644 --- a/frontend/src/openapi/models/removeSegment401.ts +++ b/frontend/src/openapi/models/removeSegment401.ts @@ -7,8 +7,8 @@ export type RemoveSegment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeSegment403.ts b/frontend/src/openapi/models/removeSegment403.ts index fc2192fff3..c4c54047f2 100644 --- a/frontend/src/openapi/models/removeSegment403.ts +++ b/frontend/src/openapi/models/removeSegment403.ts @@ -7,8 +7,8 @@ export type RemoveSegment403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeSegment409.ts b/frontend/src/openapi/models/removeSegment409.ts index b0faf098c2..07207a449e 100644 --- a/frontend/src/openapi/models/removeSegment409.ts +++ b/frontend/src/openapi/models/removeSegment409.ts @@ -7,8 +7,8 @@ export type RemoveSegment409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy401.ts b/frontend/src/openapi/models/removeStrategy401.ts index a7a3022b8d..a971fda587 100644 --- a/frontend/src/openapi/models/removeStrategy401.ts +++ b/frontend/src/openapi/models/removeStrategy401.ts @@ -7,8 +7,8 @@ export type RemoveStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy403.ts b/frontend/src/openapi/models/removeStrategy403.ts index 205e50cc96..1afc98bbdf 100644 --- a/frontend/src/openapi/models/removeStrategy403.ts +++ b/frontend/src/openapi/models/removeStrategy403.ts @@ -7,8 +7,8 @@ export type RemoveStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeStrategy404.ts b/frontend/src/openapi/models/removeStrategy404.ts index 61401aebff..8dbd060d3a 100644 --- a/frontend/src/openapi/models/removeStrategy404.ts +++ b/frontend/src/openapi/models/removeStrategy404.ts @@ -7,8 +7,8 @@ export type RemoveStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeTag401.ts b/frontend/src/openapi/models/removeTag401.ts index 6819d74a87..1c6f461ae8 100644 --- a/frontend/src/openapi/models/removeTag401.ts +++ b/frontend/src/openapi/models/removeTag401.ts @@ -7,8 +7,8 @@ export type RemoveTag401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeTag403.ts b/frontend/src/openapi/models/removeTag403.ts index 6c5f6b1855..bafdfc1440 100644 --- a/frontend/src/openapi/models/removeTag403.ts +++ b/frontend/src/openapi/models/removeTag403.ts @@ -7,8 +7,8 @@ export type RemoveTag403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeTag404.ts b/frontend/src/openapi/models/removeTag404.ts index c65cc1c93f..283384dcf2 100644 --- a/frontend/src/openapi/models/removeTag404.ts +++ b/frontend/src/openapi/models/removeTag404.ts @@ -7,8 +7,8 @@ export type RemoveTag404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess401.ts b/frontend/src/openapi/models/removeUserAccess401.ts index 3670d15ad1..02dd4e1625 100644 --- a/frontend/src/openapi/models/removeUserAccess401.ts +++ b/frontend/src/openapi/models/removeUserAccess401.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess403.ts b/frontend/src/openapi/models/removeUserAccess403.ts index 6bde8cbe0a..d8fe20a871 100644 --- a/frontend/src/openapi/models/removeUserAccess403.ts +++ b/frontend/src/openapi/models/removeUserAccess403.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/removeUserAccess404.ts b/frontend/src/openapi/models/removeUserAccess404.ts index e9dab937a6..6cee3b4d4d 100644 --- a/frontend/src/openapi/models/removeUserAccess404.ts +++ b/frontend/src/openapi/models/removeUserAccess404.ts @@ -7,8 +7,8 @@ export type RemoveUserAccess404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/requestsPerSecondSchema.ts b/frontend/src/openapi/models/requestsPerSecondSchema.ts index af8055087e..9f51ac8886 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchema.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RequestsPerSecondSchemaStatus } from './requestsPerSecondSchemaStatus'; import type { RequestsPerSecondSchemaData } from './requestsPerSecondSchemaData'; +import type { RequestsPerSecondSchemaStatus } from './requestsPerSecondSchemaStatus'; /** * Statistics for usage of Unleash, formatted so it can easily be used in a graph */ export interface RequestsPerSecondSchema { - /** Whether the query against prometheus succeeded or failed */ - status?: RequestsPerSecondSchemaStatus; /** The query result from prometheus */ data?: RequestsPerSecondSchemaData; + /** Whether the query against prometheus succeeded or failed */ + status?: RequestsPerSecondSchemaStatus; } diff --git a/frontend/src/openapi/models/requestsPerSecondSchemaData.ts b/frontend/src/openapi/models/requestsPerSecondSchemaData.ts index e3bd59153e..7a997fe72a 100644 --- a/frontend/src/openapi/models/requestsPerSecondSchemaData.ts +++ b/frontend/src/openapi/models/requestsPerSecondSchemaData.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { RequestsPerSecondSchemaDataResultType } from './requestsPerSecondSchemaDataResultType'; import type { RequestsPerSecondSchemaDataResultItem } from './requestsPerSecondSchemaDataResultItem'; +import type { RequestsPerSecondSchemaDataResultType } from './requestsPerSecondSchemaDataResultType'; /** * The query result from prometheus */ export type RequestsPerSecondSchemaData = { - /** Prometheus compatible result type. */ - resultType?: RequestsPerSecondSchemaDataResultType; /** An array of values per metric. Each one represents a line in the graph labeled by its metric name */ result?: RequestsPerSecondSchemaDataResultItem[]; + /** Prometheus compatible result type. */ + resultType?: RequestsPerSecondSchemaDataResultType; }; diff --git a/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts b/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts index 7a28b2480c..bb82b3a9a2 100644 --- a/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts +++ b/frontend/src/openapi/models/requestsPerSecondSegmentedSchema.ts @@ -9,6 +9,6 @@ import type { RequestsPerSecondSchema } from './requestsPerSecondSchema'; * Get usage metrics separated by client and admin paths */ export interface RequestsPerSecondSegmentedSchema { - clientMetrics?: RequestsPerSecondSchema; adminMetrics?: RequestsPerSecondSchema; + clientMetrics?: RequestsPerSecondSchema; } diff --git a/frontend/src/openapi/models/resetUserPassword400.ts b/frontend/src/openapi/models/resetUserPassword400.ts index e7853fbda3..2c14659304 100644 --- a/frontend/src/openapi/models/resetUserPassword400.ts +++ b/frontend/src/openapi/models/resetUserPassword400.ts @@ -7,8 +7,8 @@ export type ResetUserPassword400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword401.ts b/frontend/src/openapi/models/resetUserPassword401.ts index 3b3149f46a..1347e1e07e 100644 --- a/frontend/src/openapi/models/resetUserPassword401.ts +++ b/frontend/src/openapi/models/resetUserPassword401.ts @@ -7,8 +7,8 @@ export type ResetUserPassword401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword403.ts b/frontend/src/openapi/models/resetUserPassword403.ts index ecb6d74e80..f009a3cd8f 100644 --- a/frontend/src/openapi/models/resetUserPassword403.ts +++ b/frontend/src/openapi/models/resetUserPassword403.ts @@ -7,8 +7,8 @@ export type ResetUserPassword403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/resetUserPassword404.ts b/frontend/src/openapi/models/resetUserPassword404.ts index f7f1ef0bf7..008a84e419 100644 --- a/frontend/src/openapi/models/resetUserPassword404.ts +++ b/frontend/src/openapi/models/resetUserPassword404.ts @@ -7,8 +7,8 @@ export type ResetUserPassword404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeature400.ts b/frontend/src/openapi/models/reviveFeature400.ts index 4074712b3a..877f9afe2a 100644 --- a/frontend/src/openapi/models/reviveFeature400.ts +++ b/frontend/src/openapi/models/reviveFeature400.ts @@ -7,8 +7,8 @@ export type ReviveFeature400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeature401.ts b/frontend/src/openapi/models/reviveFeature401.ts index 35f611e8c9..89cf4a8626 100644 --- a/frontend/src/openapi/models/reviveFeature401.ts +++ b/frontend/src/openapi/models/reviveFeature401.ts @@ -7,8 +7,8 @@ export type ReviveFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeature403.ts b/frontend/src/openapi/models/reviveFeature403.ts index 5cca898ad3..b0d36417ab 100644 --- a/frontend/src/openapi/models/reviveFeature403.ts +++ b/frontend/src/openapi/models/reviveFeature403.ts @@ -7,8 +7,8 @@ export type ReviveFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures400.ts b/frontend/src/openapi/models/reviveFeatures400.ts index f66411c624..d46bf22264 100644 --- a/frontend/src/openapi/models/reviveFeatures400.ts +++ b/frontend/src/openapi/models/reviveFeatures400.ts @@ -7,8 +7,8 @@ export type ReviveFeatures400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures401.ts b/frontend/src/openapi/models/reviveFeatures401.ts index 8dc384b562..43d0dae7f8 100644 --- a/frontend/src/openapi/models/reviveFeatures401.ts +++ b/frontend/src/openapi/models/reviveFeatures401.ts @@ -7,8 +7,8 @@ export type ReviveFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/reviveFeatures403.ts b/frontend/src/openapi/models/reviveFeatures403.ts index e285e8f17f..af925377ca 100644 --- a/frontend/src/openapi/models/reviveFeatures403.ts +++ b/frontend/src/openapi/models/reviveFeatures403.ts @@ -7,8 +7,8 @@ export type ReviveFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/roleSchema.ts b/frontend/src/openapi/models/roleSchema.ts index 47fa5e028b..ba47576795 100644 --- a/frontend/src/openapi/models/roleSchema.ts +++ b/frontend/src/openapi/models/roleSchema.ts @@ -8,12 +8,12 @@ * A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform */ export interface RoleSchema { - /** The role id */ - id: number; - /** A role can either be a global root role (applies to all projects) or a project role */ - type: string; - /** The name of the role */ - name: string; /** A more detailed description of the role and what use it's intended for */ description?: string; + /** The role id */ + id: number; + /** The name of the role */ + name: string; + /** A role can either be a global root role (applies to all projects) or a project role */ + type: string; } diff --git a/frontend/src/openapi/models/roleWithPermissionsSchema.ts b/frontend/src/openapi/models/roleWithPermissionsSchema.ts index 5575ae849f..c6f4b368fb 100644 --- a/frontend/src/openapi/models/roleWithPermissionsSchema.ts +++ b/frontend/src/openapi/models/roleWithPermissionsSchema.ts @@ -9,14 +9,14 @@ import type { AdminPermissionSchema } from './adminPermissionSchema'; * A read model for the role and permissions to allow Unleash to decide what actions a role holder is allowed to perform */ export interface RoleWithPermissionsSchema { - /** The role id */ - id: number; - /** A role can either be a global `root` role, or a `project` role or a `custom` project role or a custom global `root-custom` role */ - type: string; - /** The name of the role */ - name: string; /** A more detailed description of the role and what use it's intended for */ description?: string; + /** The role id */ + id: number; + /** The name of the role */ + name: string; /** A list of permissions assigned to this role */ permissions: AdminPermissionSchema[]; + /** A role can either be a global `root` role, or a `project` role or a `custom` project role or a custom global `root-custom` role */ + type: string; } diff --git a/frontend/src/openapi/models/roleWithVersionSchema.ts b/frontend/src/openapi/models/roleWithVersionSchema.ts index 81959a6c56..a8fca3354c 100644 --- a/frontend/src/openapi/models/roleWithVersionSchema.ts +++ b/frontend/src/openapi/models/roleWithVersionSchema.ts @@ -9,8 +9,8 @@ import type { RoleSchema } from './roleSchema'; * A single user role received after creation or update of a role */ export interface RoleWithVersionSchema { - /** The version of this schema */ - version: number; /** A single role */ roles: RoleSchema; + /** The version of this schema */ + version: number; } diff --git a/frontend/src/openapi/models/rolesWithVersionSchema.ts b/frontend/src/openapi/models/rolesWithVersionSchema.ts index 8141caca7b..1a0287fd3b 100644 --- a/frontend/src/openapi/models/rolesWithVersionSchema.ts +++ b/frontend/src/openapi/models/rolesWithVersionSchema.ts @@ -9,8 +9,8 @@ import type { RoleSchema } from './roleSchema'; * A collection of user roles */ export interface RolesWithVersionSchema { - /** The version of this schema */ - version: number; /** A list of roles */ roles: RoleSchema[]; + /** The version of this schema */ + version: number; } diff --git a/frontend/src/openapi/models/samlSettingsSchema.ts b/frontend/src/openapi/models/samlSettingsSchema.ts index 9ceb49dc7b..acbe05ed1d 100644 --- a/frontend/src/openapi/models/samlSettingsSchema.ts +++ b/frontend/src/openapi/models/samlSettingsSchema.ts @@ -9,22 +9,22 @@ import type { SamlSettingsSchemaDefaultRootRole } from './samlSettingsSchemaDefa * Settings used to authenticate via SAML */ export interface SamlSettingsSchema { + /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ + autoCreate?: boolean; + /** The X509 certificate used to validate requests */ + certificate: string; + /** Assign this root role to auto created users */ + defaultRootRole?: SamlSettingsSchemaDefaultRootRole; + /** A comma separated list of email domains that Unleash will auto create user accounts for. */ + emailDomains?: string; /** Is SAML authentication enabled */ enabled?: boolean; /** The SAML 2.0 entity ID */ entityId: string; /** Which URL to use for Single Sign On */ signOnUrl: string; - /** The X509 certificate used to validate requests */ - certificate: string; /** Which URL to use for Single Sign Out */ signOutUrl?: string; /** Signing certificate for sign out requests */ spCertificate?: string; - /** Should Unleash create users based on the emails coming back in the authentication reply from the SAML server */ - autoCreate?: boolean; - /** A comma separated list of email domains that Unleash will auto create user accounts for. */ - emailDomains?: string; - /** Assign this root role to auto created users */ - defaultRootRole?: SamlSettingsSchemaDefaultRootRole; } diff --git a/frontend/src/openapi/models/searchEventsSchema.ts b/frontend/src/openapi/models/searchEventsSchema.ts index 20196ac2d5..3cd55d3791 100644 --- a/frontend/src/openapi/models/searchEventsSchema.ts +++ b/frontend/src/openapi/models/searchEventsSchema.ts @@ -12,16 +12,16 @@ import type { SearchEventsSchemaType } from './searchEventsSchemaType'; */ export interface SearchEventsSchema { - /** Find events by event type (case-sensitive). */ - type?: SearchEventsSchemaType; - /** Find events by project ID (case-sensitive). */ - project?: string; /** Find events by feature toggle name (case-sensitive). */ feature?: string; - /** Find events by a free-text search query. The query will be matched against the event type, the username or email that created the event (if any), and the event data payload (if any). */ - query?: string; /** The maximum amount of events to return in the search result */ limit?: number; /** Which event id to start listing from */ offset?: number; + /** Find events by project ID (case-sensitive). */ + project?: string; + /** Find events by a free-text search query. The query will be matched against the event type, the username or email that created the event (if any), and the event data payload (if any). */ + query?: string; + /** Find events by event type (case-sensitive). */ + type?: SearchEventsSchemaType; } diff --git a/frontend/src/openapi/models/searchFeatures401.ts b/frontend/src/openapi/models/searchFeatures401.ts index 3a3cb00fc2..670aba3d09 100644 --- a/frontend/src/openapi/models/searchFeatures401.ts +++ b/frontend/src/openapi/models/searchFeatures401.ts @@ -7,8 +7,8 @@ export type SearchFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/searchFeatures403.ts b/frontend/src/openapi/models/searchFeatures403.ts index 547f2fe96f..1d280f0b42 100644 --- a/frontend/src/openapi/models/searchFeatures403.ts +++ b/frontend/src/openapi/models/searchFeatures403.ts @@ -7,8 +7,8 @@ export type SearchFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/searchFeatures404.ts b/frontend/src/openapi/models/searchFeatures404.ts index 3f95b00e07..3ecd5ececc 100644 --- a/frontend/src/openapi/models/searchFeatures404.ts +++ b/frontend/src/openapi/models/searchFeatures404.ts @@ -7,8 +7,8 @@ export type SearchFeatures404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/searchFeaturesParams.ts b/frontend/src/openapi/models/searchFeaturesParams.ts index 4c5ce4ec35..1a7a47e792 100644 --- a/frontend/src/openapi/models/searchFeaturesParams.ts +++ b/frontend/src/openapi/models/searchFeaturesParams.ts @@ -10,9 +10,13 @@ export type SearchFeaturesParams = { */ query?: string; /** - * Id of the project where search and filter is performed + * Id of the project where search and filter is performed. The project id can be specified with an operator. The supported operators are IS, IS_NOT, IS_ANY_OF, IS_NOT_ANY_OF. */ project?: string; + /** + * The state of the feature active/stale. The state can be specified with an operator. The supported operators are IS, IS_NOT, IS_ANY_OF, IS_NOT_ANY_OF. + */ + state?: string; /** * The list of feature types to filter by */ @@ -22,7 +26,7 @@ export type SearchFeaturesParams = { */ tag?: string; /** - * The list of segments with operators to filter by. + * The list of segments with operators to filter by. The segment valid operators are INCLUDE, DO_NOT_INCLUDE, INCLUDE_ALL_OF, INCLUDE_ANY_OF, EXCLUDE_IF_ANY_OF, EXCLUDE_ALL. */ segment?: string; /** @@ -49,4 +53,8 @@ export type SearchFeaturesParams = { * The flag to indicate if the favorite features should be returned first. By default it is set to false. */ favoritesFirst?: string; + /** + * The date the feature was created. The date can be specified with an operator. The supported operators are IS_BEFORE, IS_ON_OR_AFTER. + */ + createdAt?: string; }; diff --git a/frontend/src/openapi/models/searchUsers401.ts b/frontend/src/openapi/models/searchUsers401.ts index fc376453b5..7870930ea5 100644 --- a/frontend/src/openapi/models/searchUsers401.ts +++ b/frontend/src/openapi/models/searchUsers401.ts @@ -7,8 +7,8 @@ export type SearchUsers401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/segmentSchema.ts b/frontend/src/openapi/models/segmentSchema.ts index 72f4ccb445..b050a80482 100644 --- a/frontend/src/openapi/models/segmentSchema.ts +++ b/frontend/src/openapi/models/segmentSchema.ts @@ -9,18 +9,18 @@ import type { ConstraintSchema } from './constraintSchema'; * Represents a segment of users defined by a set of constraints. */ export interface SegmentSchema { - /** The segment's id. */ - id: number; - /** The name of the segment. */ - name?: string; /** List of constraints that determine which users are part of the segment */ constraints: ConstraintSchema[]; - /** The description of the segment. */ - description?: string | null; /** The time the segment was created as a RFC 3339-conformant timestamp. */ createdAt?: string; /** Which user created this segment */ createdBy?: string; + /** The description of the segment. */ + description?: string | null; + /** The segment's id. */ + id: number; + /** The name of the segment. */ + name?: string; /** The project the segment relates to, if applicable. */ project?: string | null; } diff --git a/frontend/src/openapi/models/sendResetPasswordEmail401.ts b/frontend/src/openapi/models/sendResetPasswordEmail401.ts index 6a229e96f9..578397a57c 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail401.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail401.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/sendResetPasswordEmail404.ts b/frontend/src/openapi/models/sendResetPasswordEmail404.ts index 744f70cd3e..4720764ff0 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail404.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail404.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/sendResetPasswordEmail415.ts b/frontend/src/openapi/models/sendResetPasswordEmail415.ts index e7db5da8b6..5a10419051 100644 --- a/frontend/src/openapi/models/sendResetPasswordEmail415.ts +++ b/frontend/src/openapi/models/sendResetPasswordEmail415.ts @@ -7,8 +7,8 @@ export type SendResetPasswordEmail415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/serviceAccountSchema.ts b/frontend/src/openapi/models/serviceAccountSchema.ts index 91f57591a2..b09f095dec 100644 --- a/frontend/src/openapi/models/serviceAccountSchema.ts +++ b/frontend/src/openapi/models/serviceAccountSchema.ts @@ -9,22 +9,20 @@ import type { PatSchema } from './patSchema'; * Represents a [service account](https://docs.getunleash.io/reference/service-accounts). Service accounts are used to let systems interact with the Unleash API. */ export interface ServiceAccountSchema { - /** The service account id */ - id: number; - /** - * Deprecated: for internal use only, should not be exposed through the API - * @deprecated - */ - isAPI?: boolean; - /** The name of the service account */ - name?: string; + /** The service account creation date */ + createdAt?: string; /** * Deprecated: service accounts don't have emails associated with them * @deprecated */ email?: string; - /** The service account username */ - username?: string; + /** + * Deprecated: internal use only + * @deprecated + */ + emailSent?: boolean; + /** The service account id */ + id: number; /** The service account image url */ imageUrl?: string; /** @@ -32,16 +30,18 @@ export interface ServiceAccountSchema { * @deprecated */ inviteLink?: string; + /** + * Deprecated: for internal use only, should not be exposed through the API + * @deprecated + */ + isAPI?: boolean; /** * Deprecated: service accounts cannot log in to Unleash * @deprecated */ loginAttempts?: number; - /** - * Deprecated: internal use only - * @deprecated - */ - emailSent?: boolean; + /** The name of the service account */ + name?: string; /** The root role id associated with the service account */ rootRole?: number; /** @@ -49,8 +49,8 @@ export interface ServiceAccountSchema { * @deprecated */ seenAt?: string | null; - /** The service account creation date */ - createdAt?: string; /** The list of tokens associated with the service account */ tokens?: PatSchema[]; + /** The service account username */ + username?: string; } diff --git a/frontend/src/openapi/models/serviceAccountsSchema.ts b/frontend/src/openapi/models/serviceAccountsSchema.ts index 11662c307f..35234e8aea 100644 --- a/frontend/src/openapi/models/serviceAccountsSchema.ts +++ b/frontend/src/openapi/models/serviceAccountsSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { ServiceAccountSchema } from './serviceAccountSchema'; import type { RoleSchema } from './roleSchema'; +import type { ServiceAccountSchema } from './serviceAccountSchema'; /** * Represents a list of service accounts, and includes a list of root roles they reference */ export interface ServiceAccountsSchema { - /** A list of service accounts */ - serviceAccounts: ServiceAccountSchema[]; /** A list of root roles that are referenced from service account objects in the `serviceAccounts` list */ rootRoles?: RoleSchema[]; + /** A list of service accounts */ + serviceAccounts: ServiceAccountSchema[]; } diff --git a/frontend/src/openapi/models/setGoogleSettings400.ts b/frontend/src/openapi/models/setGoogleSettings400.ts index 5057f02714..dee2b7850e 100644 --- a/frontend/src/openapi/models/setGoogleSettings400.ts +++ b/frontend/src/openapi/models/setGoogleSettings400.ts @@ -7,8 +7,8 @@ export type SetGoogleSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setGoogleSettings401.ts b/frontend/src/openapi/models/setGoogleSettings401.ts index 3afa9974be..54029b5900 100644 --- a/frontend/src/openapi/models/setGoogleSettings401.ts +++ b/frontend/src/openapi/models/setGoogleSettings401.ts @@ -7,8 +7,8 @@ export type SetGoogleSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setGoogleSettings403.ts b/frontend/src/openapi/models/setGoogleSettings403.ts index f7cd395550..8b6df43930 100644 --- a/frontend/src/openapi/models/setGoogleSettings403.ts +++ b/frontend/src/openapi/models/setGoogleSettings403.ts @@ -7,8 +7,8 @@ export type SetGoogleSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setGoogleSettings415.ts b/frontend/src/openapi/models/setGoogleSettings415.ts index 903ab409dd..023e5713df 100644 --- a/frontend/src/openapi/models/setGoogleSettings415.ts +++ b/frontend/src/openapi/models/setGoogleSettings415.ts @@ -7,8 +7,8 @@ export type SetGoogleSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setOidcSettings400.ts b/frontend/src/openapi/models/setOidcSettings400.ts index b94ee58c51..05bb154d51 100644 --- a/frontend/src/openapi/models/setOidcSettings400.ts +++ b/frontend/src/openapi/models/setOidcSettings400.ts @@ -7,8 +7,8 @@ export type SetOidcSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setOidcSettings401.ts b/frontend/src/openapi/models/setOidcSettings401.ts index 3d25907b7a..19e3218baf 100644 --- a/frontend/src/openapi/models/setOidcSettings401.ts +++ b/frontend/src/openapi/models/setOidcSettings401.ts @@ -7,8 +7,8 @@ export type SetOidcSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setOidcSettings403.ts b/frontend/src/openapi/models/setOidcSettings403.ts index 097f415dc7..321c4c58dc 100644 --- a/frontend/src/openapi/models/setOidcSettings403.ts +++ b/frontend/src/openapi/models/setOidcSettings403.ts @@ -7,8 +7,8 @@ export type SetOidcSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setOidcSettings415.ts b/frontend/src/openapi/models/setOidcSettings415.ts index f1aaf454bb..bdb2e1e064 100644 --- a/frontend/src/openapi/models/setOidcSettings415.ts +++ b/frontend/src/openapi/models/setOidcSettings415.ts @@ -7,8 +7,8 @@ export type SetOidcSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setProjectAccess401.ts b/frontend/src/openapi/models/setProjectAccess401.ts index 610c8a36a2..e9d788c6fd 100644 --- a/frontend/src/openapi/models/setProjectAccess401.ts +++ b/frontend/src/openapi/models/setProjectAccess401.ts @@ -7,8 +7,8 @@ export type SetProjectAccess401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setProjectAccess403.ts b/frontend/src/openapi/models/setProjectAccess403.ts index ca96619399..9b0a28a35b 100644 --- a/frontend/src/openapi/models/setProjectAccess403.ts +++ b/frontend/src/openapi/models/setProjectAccess403.ts @@ -7,8 +7,8 @@ export type SetProjectAccess403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup401.ts b/frontend/src/openapi/models/setRolesForGroup401.ts index dab7d40eec..e284e4ad11 100644 --- a/frontend/src/openapi/models/setRolesForGroup401.ts +++ b/frontend/src/openapi/models/setRolesForGroup401.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup403.ts b/frontend/src/openapi/models/setRolesForGroup403.ts index 751578082b..20b8e6c3a1 100644 --- a/frontend/src/openapi/models/setRolesForGroup403.ts +++ b/frontend/src/openapi/models/setRolesForGroup403.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForGroup404.ts b/frontend/src/openapi/models/setRolesForGroup404.ts index 0199a08180..09eacaa732 100644 --- a/frontend/src/openapi/models/setRolesForGroup404.ts +++ b/frontend/src/openapi/models/setRolesForGroup404.ts @@ -7,8 +7,8 @@ export type SetRolesForGroup404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser401.ts b/frontend/src/openapi/models/setRolesForUser401.ts index 2a55d880cf..0059c1b1b1 100644 --- a/frontend/src/openapi/models/setRolesForUser401.ts +++ b/frontend/src/openapi/models/setRolesForUser401.ts @@ -7,8 +7,8 @@ export type SetRolesForUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser403.ts b/frontend/src/openapi/models/setRolesForUser403.ts index 4469f4b8a3..c2a11e7472 100644 --- a/frontend/src/openapi/models/setRolesForUser403.ts +++ b/frontend/src/openapi/models/setRolesForUser403.ts @@ -7,8 +7,8 @@ export type SetRolesForUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setRolesForUser404.ts b/frontend/src/openapi/models/setRolesForUser404.ts index 262a554b02..51cb0c79b5 100644 --- a/frontend/src/openapi/models/setRolesForUser404.ts +++ b/frontend/src/openapi/models/setRolesForUser404.ts @@ -7,8 +7,8 @@ export type SetRolesForUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSamlSettings400.ts b/frontend/src/openapi/models/setSamlSettings400.ts index 6ef973ce73..1472a24f1b 100644 --- a/frontend/src/openapi/models/setSamlSettings400.ts +++ b/frontend/src/openapi/models/setSamlSettings400.ts @@ -7,8 +7,8 @@ export type SetSamlSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSamlSettings401.ts b/frontend/src/openapi/models/setSamlSettings401.ts index 4dd4cd2b19..e22f1fe12a 100644 --- a/frontend/src/openapi/models/setSamlSettings401.ts +++ b/frontend/src/openapi/models/setSamlSettings401.ts @@ -7,8 +7,8 @@ export type SetSamlSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSamlSettings403.ts b/frontend/src/openapi/models/setSamlSettings403.ts index 0a7d943cdd..8d59c8da8c 100644 --- a/frontend/src/openapi/models/setSamlSettings403.ts +++ b/frontend/src/openapi/models/setSamlSettings403.ts @@ -7,8 +7,8 @@ export type SetSamlSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSamlSettings415.ts b/frontend/src/openapi/models/setSamlSettings415.ts index e5973ee80f..bdc018eb7c 100644 --- a/frontend/src/openapi/models/setSamlSettings415.ts +++ b/frontend/src/openapi/models/setSamlSettings415.ts @@ -7,8 +7,8 @@ export type SetSamlSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSimpleSettings400.ts b/frontend/src/openapi/models/setSimpleSettings400.ts index 6cbfccba0f..ee24ab281a 100644 --- a/frontend/src/openapi/models/setSimpleSettings400.ts +++ b/frontend/src/openapi/models/setSimpleSettings400.ts @@ -7,8 +7,8 @@ export type SetSimpleSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSimpleSettings401.ts b/frontend/src/openapi/models/setSimpleSettings401.ts index 8cae3729f3..777ba145b8 100644 --- a/frontend/src/openapi/models/setSimpleSettings401.ts +++ b/frontend/src/openapi/models/setSimpleSettings401.ts @@ -7,8 +7,8 @@ export type SetSimpleSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSimpleSettings403.ts b/frontend/src/openapi/models/setSimpleSettings403.ts index 23b32afddd..eb0d1c77f2 100644 --- a/frontend/src/openapi/models/setSimpleSettings403.ts +++ b/frontend/src/openapi/models/setSimpleSettings403.ts @@ -7,8 +7,8 @@ export type SetSimpleSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setSimpleSettings415.ts b/frontend/src/openapi/models/setSimpleSettings415.ts index cba16522e6..d31c737349 100644 --- a/frontend/src/openapi/models/setSimpleSettings415.ts +++ b/frontend/src/openapi/models/setSimpleSettings415.ts @@ -7,8 +7,8 @@ export type SetSimpleSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setStrategySortOrder400.ts b/frontend/src/openapi/models/setStrategySortOrder400.ts index e52ee05c73..9ede36002a 100644 --- a/frontend/src/openapi/models/setStrategySortOrder400.ts +++ b/frontend/src/openapi/models/setStrategySortOrder400.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setStrategySortOrder401.ts b/frontend/src/openapi/models/setStrategySortOrder401.ts index ef0d8d7615..3fac7f4bc0 100644 --- a/frontend/src/openapi/models/setStrategySortOrder401.ts +++ b/frontend/src/openapi/models/setStrategySortOrder401.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/setStrategySortOrder403.ts b/frontend/src/openapi/models/setStrategySortOrder403.ts index f7cbd53edb..8892808bf0 100644 --- a/frontend/src/openapi/models/setStrategySortOrder403.ts +++ b/frontend/src/openapi/models/setStrategySortOrder403.ts @@ -7,8 +7,8 @@ export type SetStrategySortOrder403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/splashRequestSchema.ts b/frontend/src/openapi/models/splashRequestSchema.ts index 22944066c0..95ad7a8dcc 100644 --- a/frontend/src/openapi/models/splashRequestSchema.ts +++ b/frontend/src/openapi/models/splashRequestSchema.ts @@ -8,8 +8,8 @@ * Data related to a user having seen a splash screen. */ export interface SplashRequestSchema { - /** The ID of the user that was shown the splash screen. */ - userId: number; /** The ID of the splash screen that was shown. */ splashId: string; + /** The ID of the user that was shown the splash screen. */ + userId: number; } diff --git a/frontend/src/openapi/models/splashResponseSchema.ts b/frontend/src/openapi/models/splashResponseSchema.ts index af498a097a..10ed76a077 100644 --- a/frontend/src/openapi/models/splashResponseSchema.ts +++ b/frontend/src/openapi/models/splashResponseSchema.ts @@ -8,10 +8,10 @@ * Data related to a user having seen a splash screen. */ export interface SplashResponseSchema { - /** The ID of the user that was shown the splash screen. */ - userId: number; - /** The ID of the splash screen that was shown. */ - splashId: string; /** Indicates whether the user has seen the splash screen or not. */ seen: boolean; + /** The ID of the splash screen that was shown. */ + splashId: string; + /** The ID of the user that was shown the splash screen. */ + userId: number; } diff --git a/frontend/src/openapi/models/staleFeatures401.ts b/frontend/src/openapi/models/staleFeatures401.ts index 2e8168163a..d66a3fbed1 100644 --- a/frontend/src/openapi/models/staleFeatures401.ts +++ b/frontend/src/openapi/models/staleFeatures401.ts @@ -7,8 +7,8 @@ export type StaleFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/staleFeatures403.ts b/frontend/src/openapi/models/staleFeatures403.ts index 73fe2dfa85..2e253e169b 100644 --- a/frontend/src/openapi/models/staleFeatures403.ts +++ b/frontend/src/openapi/models/staleFeatures403.ts @@ -7,8 +7,8 @@ export type StaleFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/staleFeatures415.ts b/frontend/src/openapi/models/staleFeatures415.ts index ca4090fae0..0d5dda1531 100644 --- a/frontend/src/openapi/models/staleFeatures415.ts +++ b/frontend/src/openapi/models/staleFeatures415.ts @@ -7,8 +7,8 @@ export type StaleFeatures415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/stateSchema.ts b/frontend/src/openapi/models/stateSchema.ts index 2e8f0f32ce..eac5712f99 100644 --- a/frontend/src/openapi/models/stateSchema.ts +++ b/frontend/src/openapi/models/stateSchema.ts @@ -3,45 +3,45 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { EnvironmentSchema } from './environmentSchema'; +import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; import type { FeatureSchema } from './featureSchema'; +import type { FeatureStrategySchema } from './featureStrategySchema'; +import type { FeatureStrategySegmentSchema } from './featureStrategySegmentSchema'; +import type { FeatureTagSchema } from './featureTagSchema'; +import type { ProjectSchema } from './projectSchema'; +import type { SegmentSchema } from './segmentSchema'; import type { StrategySchema } from './strategySchema'; import type { TagSchema } from './tagSchema'; import type { TagTypeSchema } from './tagTypeSchema'; -import type { FeatureTagSchema } from './featureTagSchema'; -import type { ProjectSchema } from './projectSchema'; -import type { FeatureStrategySchema } from './featureStrategySchema'; -import type { FeatureEnvironmentSchema } from './featureEnvironmentSchema'; -import type { EnvironmentSchema } from './environmentSchema'; -import type { SegmentSchema } from './segmentSchema'; -import type { FeatureStrategySegmentSchema } from './featureStrategySegmentSchema'; /** * The application state as used by the deprecated export/import APIs. * @deprecated */ export interface StateSchema { - /** The version of the schema used to describe the state */ - version: number; + /** A list of environments */ + environments?: EnvironmentSchema[]; + /** A list of feature environment configurations */ + featureEnvironments?: FeatureEnvironmentSchema[]; /** A list of features */ features?: FeatureSchema[]; + /** A list of feature strategies as applied to features */ + featureStrategies?: FeatureStrategySchema[]; + /** A list of segment/strategy pairings */ + featureStrategySegments?: FeatureStrategySegmentSchema[]; + /** A list of tags applied to features */ + featureTags?: FeatureTagSchema[]; + /** A list of projects */ + projects?: ProjectSchema[]; + /** A list of segments */ + segments?: SegmentSchema[]; /** A list of strategies */ strategies?: StrategySchema[]; /** A list of tags */ tags?: TagSchema[]; /** A list of tag types */ tagTypes?: TagTypeSchema[]; - /** A list of tags applied to features */ - featureTags?: FeatureTagSchema[]; - /** A list of projects */ - projects?: ProjectSchema[]; - /** A list of feature strategies as applied to features */ - featureStrategies?: FeatureStrategySchema[]; - /** A list of feature environment configurations */ - featureEnvironments?: FeatureEnvironmentSchema[]; - /** A list of environments */ - environments?: EnvironmentSchema[]; - /** A list of segments */ - segments?: SegmentSchema[]; - /** A list of segment/strategy pairings */ - featureStrategySegments?: FeatureStrategySegmentSchema[]; + /** The version of the schema used to describe the state */ + version: number; } diff --git a/frontend/src/openapi/models/strategiesSchema.ts b/frontend/src/openapi/models/strategiesSchema.ts index 58855c517a..2a86577713 100644 --- a/frontend/src/openapi/models/strategiesSchema.ts +++ b/frontend/src/openapi/models/strategiesSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { StrategiesSchemaVersion } from './strategiesSchemaVersion'; import type { StrategySchema } from './strategySchema'; +import type { StrategiesSchemaVersion } from './strategiesSchemaVersion'; /** * List of strategies */ export interface StrategiesSchema { - /** Version of the strategies schema */ - version: StrategiesSchemaVersion; /** List of strategies */ strategies: StrategySchema[]; + /** Version of the strategies schema */ + version: StrategiesSchemaVersion; } diff --git a/frontend/src/openapi/models/strategySchema.ts b/frontend/src/openapi/models/strategySchema.ts index 7e1c62786e..377facc70c 100644 --- a/frontend/src/openapi/models/strategySchema.ts +++ b/frontend/src/openapi/models/strategySchema.ts @@ -9,17 +9,17 @@ import type { StrategySchemaParametersItem } from './strategySchemaParametersIte * The [activation strategy](https://docs.getunleash.io/reference/activation-strategies) schema */ export interface StrategySchema { - /** An optional title for the strategy */ - title?: string | null; - /** The name (type) of the strategy */ - name: string; - /** A human friendly name for the strategy */ - displayName: string | null; + deprecated: boolean; /** A short description of the strategy */ description: string | null; + /** A human friendly name for the strategy */ + displayName: string | null; /** Whether the strategy can be edited or not. Strategies bundled with Unleash cannot be edited. */ editable: boolean; - deprecated: boolean; + /** The name (type) of the strategy */ + name: string; /** A list of relevant parameters for each strategy */ parameters: StrategySchemaParametersItem[]; + /** An optional title for the strategy */ + title?: string | null; } diff --git a/frontend/src/openapi/models/strategySchemaParametersItem.ts b/frontend/src/openapi/models/strategySchemaParametersItem.ts index 458284b69d..600c61526a 100644 --- a/frontend/src/openapi/models/strategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/strategySchemaParametersItem.ts @@ -5,8 +5,8 @@ */ export type StrategySchemaParametersItem = { - name?: string; - type?: string; description?: string; + name?: string; required?: boolean; + type?: string; }; diff --git a/frontend/src/openapi/models/strategyVariantSchema.ts b/frontend/src/openapi/models/strategyVariantSchema.ts index 04abb5908a..00346306b5 100644 --- a/frontend/src/openapi/models/strategyVariantSchema.ts +++ b/frontend/src/openapi/models/strategyVariantSchema.ts @@ -3,8 +3,8 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { StrategyVariantSchemaWeightType } from './strategyVariantSchemaWeightType'; import type { StrategyVariantSchemaPayload } from './strategyVariantSchemaPayload'; +import type { StrategyVariantSchemaWeightType } from './strategyVariantSchemaWeightType'; /** * This is an experimental property. It may change or be removed as we work on it. Please don't depend on it yet. A strategy variant allows you to attach any data to strategies instead of only returning `true`/`false`. Strategy variants take precedence over feature variants. @@ -12,12 +12,12 @@ import type { StrategyVariantSchemaPayload } from './strategyVariantSchemaPayloa export interface StrategyVariantSchema { /** The variant name. Must be unique for this feature toggle */ name: string; + /** Extra data configured for this variant */ + payload?: StrategyVariantSchemaPayload; + /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ + stickiness: string; /** The weight is the likelihood of any one user getting this variant. It is an integer between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information */ weight: number; /** Set to `fix` if this variant must have exactly the weight allocated to it. If the type is `variable`, the weight will adjust so that the total weight of all variants adds up to 1000. Refer to the [variant weight documentation](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight). */ weightType: StrategyVariantSchemaWeightType; - /** The [stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) to use for distribution of this variant. Stickiness is how Unleash guarantees that the same user gets the same variant every time */ - stickiness: string; - /** Extra data configured for this variant */ - payload?: StrategyVariantSchemaPayload; } diff --git a/frontend/src/openapi/models/tagSchema.ts b/frontend/src/openapi/models/tagSchema.ts index 04aabffe8c..4cf10dfcb8 100644 --- a/frontend/src/openapi/models/tagSchema.ts +++ b/frontend/src/openapi/models/tagSchema.ts @@ -8,8 +8,8 @@ * Representation of a [tag](https://docs.getunleash.io/reference/tags) */ export interface TagSchema { - /** The value of the tag */ - value: string; /** The [type](https://docs.getunleash.io/reference/tags#tag-types) of the tag */ type: string; + /** The value of the tag */ + value: string; } diff --git a/frontend/src/openapi/models/tagTypeSchema.ts b/frontend/src/openapi/models/tagTypeSchema.ts index 82f8c98e16..75e59021e6 100644 --- a/frontend/src/openapi/models/tagTypeSchema.ts +++ b/frontend/src/openapi/models/tagTypeSchema.ts @@ -8,10 +8,10 @@ * A tag type. */ export interface TagTypeSchema { - /** The name of the tag type. */ - name: string; /** The description of the tag type. */ description?: string; /** The icon of the tag type. */ icon?: string | null; + /** The name of the tag type. */ + name: string; } diff --git a/frontend/src/openapi/models/tagTypesSchema.ts b/frontend/src/openapi/models/tagTypesSchema.ts index fd6d705211..45097e3ba3 100644 --- a/frontend/src/openapi/models/tagTypesSchema.ts +++ b/frontend/src/openapi/models/tagTypesSchema.ts @@ -9,8 +9,8 @@ import type { TagTypeSchema } from './tagTypeSchema'; * A list of tag types with a version number representing the schema used to model the tag types. */ export interface TagTypesSchema { - /** The version of the schema used to model the tag types. */ - version: number; /** The list of tag types. */ tagTypes: TagTypeSchema[]; + /** The version of the schema used to model the tag types. */ + version: number; } diff --git a/frontend/src/openapi/models/tagWithVersionSchema.ts b/frontend/src/openapi/models/tagWithVersionSchema.ts index 00e3b0df14..7e5bd7cd72 100644 --- a/frontend/src/openapi/models/tagWithVersionSchema.ts +++ b/frontend/src/openapi/models/tagWithVersionSchema.ts @@ -9,7 +9,7 @@ import type { TagSchema } from './tagSchema'; * A tag with a version number representing the schema used to model the tag. */ export interface TagWithVersionSchema { + tag: TagSchema; /** The version of the schema used to model the tag. */ version: number; - tag: TagSchema; } diff --git a/frontend/src/openapi/models/tagsSchema.ts b/frontend/src/openapi/models/tagsSchema.ts index dc6576a0dc..38967e940c 100644 --- a/frontend/src/openapi/models/tagsSchema.ts +++ b/frontend/src/openapi/models/tagsSchema.ts @@ -9,8 +9,8 @@ import type { TagSchema } from './tagSchema'; * A list of tags with a version number */ export interface TagsSchema { - /** The version of the schema used to model the tags. */ - version: number; /** A list of tags. */ tags: TagSchema[]; + /** The version of the schema used to model the tags. */ + version: number; } diff --git a/frontend/src/openapi/models/telemetrySettingsSchema.ts b/frontend/src/openapi/models/telemetrySettingsSchema.ts index 02eae286d6..126eb6aaaf 100644 --- a/frontend/src/openapi/models/telemetrySettingsSchema.ts +++ b/frontend/src/openapi/models/telemetrySettingsSchema.ts @@ -8,8 +8,8 @@ * Contains information about which settings are configured for version info collection and feature usage collection. */ export interface TelemetrySettingsSchema { - /** Whether collection of version info is enabled/active. */ - versionInfoCollectionEnabled: boolean; /** Whether collection of feature usage metrics is enabled/active. */ featureInfoCollectionEnabled: boolean; + /** Whether collection of version info is enabled/active. */ + versionInfoCollectionEnabled: boolean; } diff --git a/frontend/src/openapi/models/toggleEnvironmentOff401.ts b/frontend/src/openapi/models/toggleEnvironmentOff401.ts index 4abe43c299..188fac26d9 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff401.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOff403.ts b/frontend/src/openapi/models/toggleEnvironmentOff403.ts index 2a8b0f1d8b..660aa5d695 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff403.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOff404.ts b/frontend/src/openapi/models/toggleEnvironmentOff404.ts index d178c61e2f..7c1481a547 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOff404.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn401.ts b/frontend/src/openapi/models/toggleEnvironmentOn401.ts index 0739240cae..07c4183a6f 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn401.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn403.ts b/frontend/src/openapi/models/toggleEnvironmentOn403.ts index 4133d9ee2a..984ac2621d 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn403.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleEnvironmentOn404.ts b/frontend/src/openapi/models/toggleEnvironmentOn404.ts index 8a2aa4de4f..6270bae9c6 100644 --- a/frontend/src/openapi/models/toggleEnvironmentOn404.ts +++ b/frontend/src/openapi/models/toggleEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type ToggleEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts index 61c034ca2f..ab852604a7 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff400.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts index ffd7516cd1..a2d472b4a2 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff401.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts index 54affe95d7..707e447c19 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff403.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts index dae14a5b99..16ceaafa52 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOff404.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOff404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts index 23d41ed777..5d1edb8c60 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn400.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts index 433a02de65..ed9cdbddca 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn401.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts index 8add7d3d8e..3337b8b48e 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn403.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts b/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts index ef5ea0d2ca..fa9df722fd 100644 --- a/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts +++ b/frontend/src/openapi/models/toggleFeatureEnvironmentOn404.ts @@ -7,8 +7,8 @@ export type ToggleFeatureEnvironmentOn404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleMaintenance400.ts b/frontend/src/openapi/models/toggleMaintenance400.ts index 220555741a..afaf155955 100644 --- a/frontend/src/openapi/models/toggleMaintenance400.ts +++ b/frontend/src/openapi/models/toggleMaintenance400.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleMaintenance401.ts b/frontend/src/openapi/models/toggleMaintenance401.ts index f374faed57..23a33df5dd 100644 --- a/frontend/src/openapi/models/toggleMaintenance401.ts +++ b/frontend/src/openapi/models/toggleMaintenance401.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/toggleMaintenance403.ts b/frontend/src/openapi/models/toggleMaintenance403.ts index 974aeed878..0ec58d15fc 100644 --- a/frontend/src/openapi/models/toggleMaintenance403.ts +++ b/frontend/src/openapi/models/toggleMaintenance403.ts @@ -7,8 +7,8 @@ export type ToggleMaintenance403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/tokenUserSchema.ts b/frontend/src/openapi/models/tokenUserSchema.ts index 545f5976c1..4b49df9a32 100644 --- a/frontend/src/openapi/models/tokenUserSchema.ts +++ b/frontend/src/openapi/models/tokenUserSchema.ts @@ -9,15 +9,15 @@ import type { RoleSchema } from './roleSchema'; * A user identified by a token */ export interface TokenUserSchema { + /** A username or email identifying which user created this token */ + createdBy: string | null; + /** The email of the user */ + email: string; /** The user id */ id: number; /** The name of the user */ name?: string; - /** The email of the user */ - email: string; + role: RoleSchema; /** A token uniquely identifying a user */ token: string; - /** A username or email identifying which user created this token */ - createdBy: string | null; - role: RoleSchema; } diff --git a/frontend/src/openapi/models/uiConfigSchema.ts b/frontend/src/openapi/models/uiConfigSchema.ts index abb135dbad..e5108d01db 100644 --- a/frontend/src/openapi/models/uiConfigSchema.ts +++ b/frontend/src/openapi/models/uiConfigSchema.ts @@ -3,46 +3,46 @@ * Do not edit manually. * See `gen:api` script in package.json */ +import type { UiConfigSchemaAuthenticationType } from './uiConfigSchemaAuthenticationType'; import type { UiConfigSchemaFlags } from './uiConfigSchemaFlags'; import type { UiConfigSchemaLinksItem } from './uiConfigSchemaLinksItem'; -import type { UiConfigSchemaAuthenticationType } from './uiConfigSchemaAuthenticationType'; import type { VersionSchema } from './versionSchema'; /** * A collection of properties used to configure the Unleash Admin UI. */ export interface UiConfigSchema { - /** The slogan to display in the UI footer. */ - slogan?: string; - /** The name of this Unleash instance. Used to build the text in the footer. */ - name?: string; - /** The current version of Unleash */ - version: string; - /** What kind of Unleash instance it is: Enterprise, Pro, or Open source */ - environment?: string; - /** The URL of the Unleash instance. */ - unleashUrl: string; + /** The type of authentication enabled for this Unleash instance */ + authenticationType?: UiConfigSchemaAuthenticationType; /** The base URI path at which this Unleash instance is listening. */ baseUriPath: string; /** Whether password authentication should be disabled or not. */ disablePasswordAuth?: boolean; /** Whether this instance can send out emails or not. */ emailEnabled?: boolean; - /** Whether maintenance mode is currently active or not. */ - maintenanceMode?: boolean; - /** The maximum number of values that can be used in a single segment. */ - segmentValuesLimit?: number; - /** The maximum number of segments that can be applied to a single strategy. */ - strategySegmentsLimit?: number; - /** Whether to enable the Unleash network view or not. */ - networkViewEnabled?: boolean; - /** The list of origins that the front-end API should accept requests from. */ - frontendApiOrigins?: string[]; + /** What kind of Unleash instance it is: Enterprise, Pro, or Open source */ + environment?: string; /** Additional (largely experimental) features that are enabled in this Unleash instance. */ flags?: UiConfigSchemaFlags; + /** The list of origins that the front-end API should accept requests from. */ + frontendApiOrigins?: string[]; /** Relevant links to use in the UI. */ links?: UiConfigSchemaLinksItem[]; - /** The type of authentication enabled for this Unleash instance */ - authenticationType?: UiConfigSchemaAuthenticationType; + /** Whether maintenance mode is currently active or not. */ + maintenanceMode?: boolean; + /** The name of this Unleash instance. Used to build the text in the footer. */ + name?: string; + /** Whether to enable the Unleash network view or not. */ + networkViewEnabled?: boolean; + /** The maximum number of values that can be used in a single segment. */ + segmentValuesLimit?: number; + /** The slogan to display in the UI footer. */ + slogan?: string; + /** The maximum number of segments that can be applied to a single strategy. */ + strategySegmentsLimit?: number; + /** The URL of the Unleash instance. */ + unleashUrl: string; + /** The current version of Unleash */ + version: string; versionInfo: VersionSchema; } diff --git a/frontend/src/openapi/models/updateAddon400.ts b/frontend/src/openapi/models/updateAddon400.ts index 0206541ce1..0645fa4869 100644 --- a/frontend/src/openapi/models/updateAddon400.ts +++ b/frontend/src/openapi/models/updateAddon400.ts @@ -7,8 +7,8 @@ export type UpdateAddon400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateAddon401.ts b/frontend/src/openapi/models/updateAddon401.ts index 743db13ccc..f07474f5e0 100644 --- a/frontend/src/openapi/models/updateAddon401.ts +++ b/frontend/src/openapi/models/updateAddon401.ts @@ -7,8 +7,8 @@ export type UpdateAddon401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateAddon403.ts b/frontend/src/openapi/models/updateAddon403.ts index b084991190..9114918f05 100644 --- a/frontend/src/openapi/models/updateAddon403.ts +++ b/frontend/src/openapi/models/updateAddon403.ts @@ -7,8 +7,8 @@ export type UpdateAddon403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateAddon404.ts b/frontend/src/openapi/models/updateAddon404.ts index f13fcc03f3..d1cb2410c1 100644 --- a/frontend/src/openapi/models/updateAddon404.ts +++ b/frontend/src/openapi/models/updateAddon404.ts @@ -7,8 +7,8 @@ export type UpdateAddon404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateAddon413.ts b/frontend/src/openapi/models/updateAddon413.ts index a1cfe2964d..5f50b4aff2 100644 --- a/frontend/src/openapi/models/updateAddon413.ts +++ b/frontend/src/openapi/models/updateAddon413.ts @@ -7,8 +7,8 @@ export type UpdateAddon413 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateAddon415.ts b/frontend/src/openapi/models/updateAddon415.ts index c63e98555f..73ae9421ad 100644 --- a/frontend/src/openapi/models/updateAddon415.ts +++ b/frontend/src/openapi/models/updateAddon415.ts @@ -7,8 +7,8 @@ export type UpdateAddon415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken401.ts b/frontend/src/openapi/models/updateApiToken401.ts index 85d8efeed4..b800230d53 100644 --- a/frontend/src/openapi/models/updateApiToken401.ts +++ b/frontend/src/openapi/models/updateApiToken401.ts @@ -7,8 +7,8 @@ export type UpdateApiToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken403.ts b/frontend/src/openapi/models/updateApiToken403.ts index b98bd75dfc..6f3f887b56 100644 --- a/frontend/src/openapi/models/updateApiToken403.ts +++ b/frontend/src/openapi/models/updateApiToken403.ts @@ -7,8 +7,8 @@ export type UpdateApiToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateApiToken415.ts b/frontend/src/openapi/models/updateApiToken415.ts index 4fdec7d34f..ab8308c697 100644 --- a/frontend/src/openapi/models/updateApiToken415.ts +++ b/frontend/src/openapi/models/updateApiToken415.ts @@ -7,8 +7,8 @@ export type UpdateApiToken415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateBanner400.ts b/frontend/src/openapi/models/updateBanner400.ts index bb1da2c5d9..9ca96cf811 100644 --- a/frontend/src/openapi/models/updateBanner400.ts +++ b/frontend/src/openapi/models/updateBanner400.ts @@ -7,8 +7,8 @@ export type UpdateBanner400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateBanner401.ts b/frontend/src/openapi/models/updateBanner401.ts index 800f880784..fc5dad7920 100644 --- a/frontend/src/openapi/models/updateBanner401.ts +++ b/frontend/src/openapi/models/updateBanner401.ts @@ -7,8 +7,8 @@ export type UpdateBanner401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateBanner403.ts b/frontend/src/openapi/models/updateBanner403.ts index b5cfbcb81e..b9bded1959 100644 --- a/frontend/src/openapi/models/updateBanner403.ts +++ b/frontend/src/openapi/models/updateBanner403.ts @@ -7,8 +7,8 @@ export type UpdateBanner403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateBanner404.ts b/frontend/src/openapi/models/updateBanner404.ts index 2caf1c2eeb..69111610ad 100644 --- a/frontend/src/openapi/models/updateBanner404.ts +++ b/frontend/src/openapi/models/updateBanner404.ts @@ -7,8 +7,8 @@ export type UpdateBanner404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateBanner415.ts b/frontend/src/openapi/models/updateBanner415.ts index c00df64ec7..b6c993ce63 100644 --- a/frontend/src/openapi/models/updateBanner415.ts +++ b/frontend/src/openapi/models/updateBanner415.ts @@ -7,8 +7,8 @@ export type UpdateBanner415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateContextFieldSchema.ts b/frontend/src/openapi/models/updateContextFieldSchema.ts index af87bd670a..8ec7f5276c 100644 --- a/frontend/src/openapi/models/updateContextFieldSchema.ts +++ b/frontend/src/openapi/models/updateContextFieldSchema.ts @@ -11,10 +11,10 @@ import type { LegalValueSchema } from './legalValueSchema'; export interface UpdateContextFieldSchema { /** A description of the context field */ description?: string; - /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ - stickiness?: boolean; - /** How this context field should be sorted if no other sort order is selected */ - sortOrder?: number; /** A list of allowed values for this context field */ legalValues?: LegalValueSchema[]; + /** How this context field should be sorted if no other sort order is selected */ + sortOrder?: number; + /** `true` if this field should be available for use with [custom stickiness](https://docs.getunleash.io/reference/stickiness#custom-stickiness), otherwise `false` */ + stickiness?: boolean; } diff --git a/frontend/src/openapi/models/updateEnvironment400.ts b/frontend/src/openapi/models/updateEnvironment400.ts index 3892454dbc..3287916f02 100644 --- a/frontend/src/openapi/models/updateEnvironment400.ts +++ b/frontend/src/openapi/models/updateEnvironment400.ts @@ -7,8 +7,8 @@ export type UpdateEnvironment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateEnvironment401.ts b/frontend/src/openapi/models/updateEnvironment401.ts index d01e46e14a..453aa014b0 100644 --- a/frontend/src/openapi/models/updateEnvironment401.ts +++ b/frontend/src/openapi/models/updateEnvironment401.ts @@ -7,8 +7,8 @@ export type UpdateEnvironment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateEnvironmentSchema.ts b/frontend/src/openapi/models/updateEnvironmentSchema.ts index 47fa9c0735..f535a9646a 100644 --- a/frontend/src/openapi/models/updateEnvironmentSchema.ts +++ b/frontend/src/openapi/models/updateEnvironmentSchema.ts @@ -8,8 +8,8 @@ * Data used to update an [environment](https://docs.getunleash.io/reference/environments). */ export interface UpdateEnvironmentSchema { - /** Updates the type of environment (i.e. development or production). */ - type?: string; /** Changes the sort order of this environment. */ sortOrder?: number; + /** Updates the type of environment (i.e. development or production). */ + type?: string; } diff --git a/frontend/src/openapi/models/updateFeature401.ts b/frontend/src/openapi/models/updateFeature401.ts index ffb0b319ee..8dc8d488ad 100644 --- a/frontend/src/openapi/models/updateFeature401.ts +++ b/frontend/src/openapi/models/updateFeature401.ts @@ -7,8 +7,8 @@ export type UpdateFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeature403.ts b/frontend/src/openapi/models/updateFeature403.ts index 5b0504d21b..60307ce6c8 100644 --- a/frontend/src/openapi/models/updateFeature403.ts +++ b/frontend/src/openapi/models/updateFeature403.ts @@ -7,8 +7,8 @@ export type UpdateFeature403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeature404.ts b/frontend/src/openapi/models/updateFeature404.ts index 86c8358a09..277bed9d80 100644 --- a/frontend/src/openapi/models/updateFeature404.ts +++ b/frontend/src/openapi/models/updateFeature404.ts @@ -7,8 +7,8 @@ export type UpdateFeature404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeature415.ts b/frontend/src/openapi/models/updateFeature415.ts index 1be878226d..63cc96c2f9 100644 --- a/frontend/src/openapi/models/updateFeature415.ts +++ b/frontend/src/openapi/models/updateFeature415.ts @@ -7,8 +7,8 @@ export type UpdateFeature415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureSchema.ts b/frontend/src/openapi/models/updateFeatureSchema.ts index eadace70f5..be30e34018 100644 --- a/frontend/src/openapi/models/updateFeatureSchema.ts +++ b/frontend/src/openapi/models/updateFeatureSchema.ts @@ -8,14 +8,14 @@ * Data used for updating a feature toggle */ export interface UpdateFeatureSchema { - /** Detailed description of the feature */ - description?: string; - /** Type of the toggle e.g. experiment, kill-switch, release, operational, permission */ - type?: string; - /** `true` if the feature is archived */ - stale?: boolean; /** If `true` the feature toggle will be moved to the [archive](https://docs.getunleash.io/reference/archived-toggles) with a property `archivedAt` set to current time */ archived?: boolean; + /** Detailed description of the feature */ + description?: string; /** `true` if the impression data collection is enabled for the feature */ impressionData?: boolean; + /** `true` if the feature is archived */ + stale?: boolean; + /** Type of the toggle e.g. experiment, kill-switch, release, operational, permission */ + type?: string; } diff --git a/frontend/src/openapi/models/updateFeatureStrategy400.ts b/frontend/src/openapi/models/updateFeatureStrategy400.ts index d43203168a..8d988c7cfc 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy400.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy401.ts b/frontend/src/openapi/models/updateFeatureStrategy401.ts index 133be894e8..b29ffbc8c1 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy401.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy403.ts b/frontend/src/openapi/models/updateFeatureStrategy403.ts index 019d7aeb3a..fa4a814082 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy403.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy404.ts b/frontend/src/openapi/models/updateFeatureStrategy404.ts index 15289b23ed..e55ec807e6 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy404.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy404.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategy415.ts b/frontend/src/openapi/models/updateFeatureStrategy415.ts index 917f27989a..aa9f22a878 100644 --- a/frontend/src/openapi/models/updateFeatureStrategy415.ts +++ b/frontend/src/openapi/models/updateFeatureStrategy415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategy415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySchema.ts b/frontend/src/openapi/models/updateFeatureStrategySchema.ts index 8e4afa7428..f220af72e8 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySchema.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySchema.ts @@ -10,15 +10,15 @@ import type { ParametersSchema } from './parametersSchema'; * Update a strategy configuration in a feature */ export interface UpdateFeatureStrategySchema { - /** The name of the strategy type */ - name?: string; - /** The order of the strategy in the list in feature environment configuration */ - sortOrder?: number; /** A list of the constraints attached to the strategy. See https://docs.getunleash.io/reference/strategy-constraints */ constraints?: ConstraintSchema[]; - /** A descriptive title for the strategy */ - title?: string | null; /** A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs */ disabled?: boolean | null; + /** The name of the strategy type */ + name?: string; parameters?: ParametersSchema; + /** The order of the strategy in the list in feature environment configuration */ + sortOrder?: number; + /** A descriptive title for the strategy */ + title?: string | null; } diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments400.ts b/frontend/src/openapi/models/updateFeatureStrategySegments400.ts index 12ceac1b9c..2921595eda 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments400.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments401.ts b/frontend/src/openapi/models/updateFeatureStrategySegments401.ts index 0ed3ab55fe..1900711027 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments401.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments403.ts b/frontend/src/openapi/models/updateFeatureStrategySegments403.ts index 08a06145bc..f0b7925952 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments403.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegments415.ts b/frontend/src/openapi/models/updateFeatureStrategySegments415.ts index 3ee0bb53a7..6eaec8b056 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegments415.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegments415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureStrategySegments415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts b/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts index e6cb3c4944..1c537c3f7a 100644 --- a/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts +++ b/frontend/src/openapi/models/updateFeatureStrategySegmentsSchema.ts @@ -8,12 +8,12 @@ * Data required to update segments for a strategy. */ export interface UpdateFeatureStrategySegmentsSchema { - /** The ID of the project that the strategy belongs to. */ - projectId: string; - /** The ID of the strategy to update segments for. */ - strategyId: string; /** The ID of the strategy environment. */ environmentId: string; + /** The ID of the project that the strategy belongs to. */ + projectId: string; /** The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy. */ segmentIds: number[]; + /** The ID of the strategy to update segments for. */ + strategyId: string; } diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts index 01584d215b..dd8f9b3639 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime400.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts index 8f7159fbbb..cc3a9ee5e8 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime401.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts index f371679121..0cfc4b96f9 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime403.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts index 4ab65d845a..510044a062 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime404.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts index 4f4d0cbd54..871ecb597d 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime409.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts b/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts index ee3f445d99..4b223964fc 100644 --- a/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts +++ b/frontend/src/openapi/models/updateFeatureTypeLifetime415.ts @@ -7,8 +7,8 @@ export type UpdateFeatureTypeLifetime415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback400.ts b/frontend/src/openapi/models/updateFeedback400.ts index 6efc0b9767..053b744d6c 100644 --- a/frontend/src/openapi/models/updateFeedback400.ts +++ b/frontend/src/openapi/models/updateFeedback400.ts @@ -7,8 +7,8 @@ export type UpdateFeedback400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback401.ts b/frontend/src/openapi/models/updateFeedback401.ts index a0d1c456ce..d543aa4e75 100644 --- a/frontend/src/openapi/models/updateFeedback401.ts +++ b/frontend/src/openapi/models/updateFeedback401.ts @@ -7,8 +7,8 @@ export type UpdateFeedback401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateFeedback415.ts b/frontend/src/openapi/models/updateFeedback415.ts index 103b7403a9..8717f71dbe 100644 --- a/frontend/src/openapi/models/updateFeedback415.ts +++ b/frontend/src/openapi/models/updateFeedback415.ts @@ -7,8 +7,8 @@ export type UpdateFeedback415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateGroup400.ts b/frontend/src/openapi/models/updateGroup400.ts index d0be9e15f5..c6b5c57e03 100644 --- a/frontend/src/openapi/models/updateGroup400.ts +++ b/frontend/src/openapi/models/updateGroup400.ts @@ -7,8 +7,8 @@ export type UpdateGroup400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateGroup401.ts b/frontend/src/openapi/models/updateGroup401.ts index b06f28af6c..96d9b8988e 100644 --- a/frontend/src/openapi/models/updateGroup401.ts +++ b/frontend/src/openapi/models/updateGroup401.ts @@ -7,8 +7,8 @@ export type UpdateGroup401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateGroup403.ts b/frontend/src/openapi/models/updateGroup403.ts index 2846ea0366..63ecdd94d1 100644 --- a/frontend/src/openapi/models/updateGroup403.ts +++ b/frontend/src/openapi/models/updateGroup403.ts @@ -7,8 +7,8 @@ export type UpdateGroup403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateGroup404.ts b/frontend/src/openapi/models/updateGroup404.ts index e5b0d13e7e..dbb303d159 100644 --- a/frontend/src/openapi/models/updateGroup404.ts +++ b/frontend/src/openapi/models/updateGroup404.ts @@ -7,8 +7,8 @@ export type UpdateGroup404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateGroup409.ts b/frontend/src/openapi/models/updateGroup409.ts index 4f0c9d8695..e3f6bc449e 100644 --- a/frontend/src/openapi/models/updateGroup409.ts +++ b/frontend/src/openapi/models/updateGroup409.ts @@ -7,8 +7,8 @@ export type UpdateGroup409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProject400.ts b/frontend/src/openapi/models/updateProject400.ts index 0e21edb751..9fda5bd46c 100644 --- a/frontend/src/openapi/models/updateProject400.ts +++ b/frontend/src/openapi/models/updateProject400.ts @@ -7,8 +7,8 @@ export type UpdateProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProject401.ts b/frontend/src/openapi/models/updateProject401.ts index df27a18289..0cc714eb1e 100644 --- a/frontend/src/openapi/models/updateProject401.ts +++ b/frontend/src/openapi/models/updateProject401.ts @@ -7,8 +7,8 @@ export type UpdateProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProject403.ts b/frontend/src/openapi/models/updateProject403.ts index 6335b8b1a1..b09f7ac729 100644 --- a/frontend/src/openapi/models/updateProject403.ts +++ b/frontend/src/openapi/models/updateProject403.ts @@ -7,8 +7,8 @@ export type UpdateProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProject404.ts b/frontend/src/openapi/models/updateProject404.ts index ae5a9cffa0..221fc0ea5c 100644 --- a/frontend/src/openapi/models/updateProject404.ts +++ b/frontend/src/openapi/models/updateProject404.ts @@ -7,8 +7,8 @@ export type UpdateProject404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProject415.ts b/frontend/src/openapi/models/updateProject415.ts index 8ac0d8db46..3c8767237a 100644 --- a/frontend/src/openapi/models/updateProject415.ts +++ b/frontend/src/openapi/models/updateProject415.ts @@ -7,8 +7,8 @@ export type UpdateProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts index ee18d96a09..a1de567e33 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings400.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts index 5c2065b7a4..7e5c070a95 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings401.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts index 6728cb3041..78c3796d5a 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings403.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts index e51a53001c..82fd707fdd 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings404.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts index c27dbc19ac..2f16b449a3 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettings415.ts @@ -7,8 +7,8 @@ export type UpdateProjectEnterpriseSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts index bc3b8d14d1..f755bf5c97 100644 --- a/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts +++ b/frontend/src/openapi/models/updateProjectEnterpriseSettingsSchema.ts @@ -3,14 +3,14 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode'; import type { CreateFeatureNamingPatternSchema } from './createFeatureNamingPatternSchema'; +import type { UpdateProjectEnterpriseSettingsSchemaMode } from './updateProjectEnterpriseSettingsSchemaMode'; /** * Data used to update a [project](https://docs.getunleash.io/reference/projects) settings */ export interface UpdateProjectEnterpriseSettingsSchema { + featureNaming?: CreateFeatureNamingPatternSchema; /** A mode of the project affecting what actions are possible in this project */ mode?: UpdateProjectEnterpriseSettingsSchemaMode; - featureNaming?: CreateFeatureNamingPatternSchema; } diff --git a/frontend/src/openapi/models/updateProjectSchema.ts b/frontend/src/openapi/models/updateProjectSchema.ts index ce549eb0d9..a910b428ee 100644 --- a/frontend/src/openapi/models/updateProjectSchema.ts +++ b/frontend/src/openapi/models/updateProjectSchema.ts @@ -9,12 +9,12 @@ import type { UpdateProjectSchemaMode } from './updateProjectSchemaMode'; * Data used to update a [project](https://docs.getunleash.io/reference/projects) */ export interface UpdateProjectSchema { - /** The new name of the project */ - name: string; + /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ + defaultStickiness?: string; /** A new description for the project */ description?: string; /** A mode of the project affecting what actions are possible in this project */ mode?: UpdateProjectSchemaMode; - /** A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy */ - defaultStickiness?: string; + /** The new name of the project */ + name: string; } diff --git a/frontend/src/openapi/models/updatePublicSignupToken400.ts b/frontend/src/openapi/models/updatePublicSignupToken400.ts index e86dc90466..b64a026d95 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken400.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken400.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updatePublicSignupToken401.ts b/frontend/src/openapi/models/updatePublicSignupToken401.ts index 0698eaf159..e3bc7b47ad 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken401.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken401.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updatePublicSignupToken403.ts b/frontend/src/openapi/models/updatePublicSignupToken403.ts index a24badeac8..81181e70f4 100644 --- a/frontend/src/openapi/models/updatePublicSignupToken403.ts +++ b/frontend/src/openapi/models/updatePublicSignupToken403.ts @@ -7,8 +7,8 @@ export type UpdatePublicSignupToken403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateRole400.ts b/frontend/src/openapi/models/updateRole400.ts index c7b09e7c96..e4148dd3de 100644 --- a/frontend/src/openapi/models/updateRole400.ts +++ b/frontend/src/openapi/models/updateRole400.ts @@ -7,8 +7,8 @@ export type UpdateRole400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateRole401.ts b/frontend/src/openapi/models/updateRole401.ts index f2f39a2db5..c0af67c51e 100644 --- a/frontend/src/openapi/models/updateRole401.ts +++ b/frontend/src/openapi/models/updateRole401.ts @@ -7,8 +7,8 @@ export type UpdateRole401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateRole403.ts b/frontend/src/openapi/models/updateRole403.ts index cdd8043716..55892f62f7 100644 --- a/frontend/src/openapi/models/updateRole403.ts +++ b/frontend/src/openapi/models/updateRole403.ts @@ -7,8 +7,8 @@ export type UpdateRole403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateRole404.ts b/frontend/src/openapi/models/updateRole404.ts index 3d3f39cf29..6593e9a578 100644 --- a/frontend/src/openapi/models/updateRole404.ts +++ b/frontend/src/openapi/models/updateRole404.ts @@ -7,8 +7,8 @@ export type UpdateRole404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateRole409.ts b/frontend/src/openapi/models/updateRole409.ts index 7e4102115c..f6fb596565 100644 --- a/frontend/src/openapi/models/updateRole409.ts +++ b/frontend/src/openapi/models/updateRole409.ts @@ -7,8 +7,8 @@ export type UpdateRole409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSegment400.ts b/frontend/src/openapi/models/updateSegment400.ts index 0c047832ea..971fe4a50b 100644 --- a/frontend/src/openapi/models/updateSegment400.ts +++ b/frontend/src/openapi/models/updateSegment400.ts @@ -7,8 +7,8 @@ export type UpdateSegment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSegment401.ts b/frontend/src/openapi/models/updateSegment401.ts index fce7b629e3..58c60dfc93 100644 --- a/frontend/src/openapi/models/updateSegment401.ts +++ b/frontend/src/openapi/models/updateSegment401.ts @@ -7,8 +7,8 @@ export type UpdateSegment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSegment403.ts b/frontend/src/openapi/models/updateSegment403.ts index 8ce5661c65..55656eab87 100644 --- a/frontend/src/openapi/models/updateSegment403.ts +++ b/frontend/src/openapi/models/updateSegment403.ts @@ -7,8 +7,8 @@ export type UpdateSegment403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSegment409.ts b/frontend/src/openapi/models/updateSegment409.ts index 6fa3398480..1794076664 100644 --- a/frontend/src/openapi/models/updateSegment409.ts +++ b/frontend/src/openapi/models/updateSegment409.ts @@ -7,8 +7,8 @@ export type UpdateSegment409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSegment415.ts b/frontend/src/openapi/models/updateSegment415.ts index 4e7495addc..67dd748ede 100644 --- a/frontend/src/openapi/models/updateSegment415.ts +++ b/frontend/src/openapi/models/updateSegment415.ts @@ -7,8 +7,8 @@ export type UpdateSegment415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount400.ts b/frontend/src/openapi/models/updateServiceAccount400.ts index 4c4f09da43..34ead8c22b 100644 --- a/frontend/src/openapi/models/updateServiceAccount400.ts +++ b/frontend/src/openapi/models/updateServiceAccount400.ts @@ -7,8 +7,8 @@ export type UpdateServiceAccount400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount401.ts b/frontend/src/openapi/models/updateServiceAccount401.ts index c51c31ff0e..4991e5340e 100644 --- a/frontend/src/openapi/models/updateServiceAccount401.ts +++ b/frontend/src/openapi/models/updateServiceAccount401.ts @@ -7,8 +7,8 @@ export type UpdateServiceAccount401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount403.ts b/frontend/src/openapi/models/updateServiceAccount403.ts index c39cd15ff2..a9bf7909f6 100644 --- a/frontend/src/openapi/models/updateServiceAccount403.ts +++ b/frontend/src/openapi/models/updateServiceAccount403.ts @@ -7,8 +7,8 @@ export type UpdateServiceAccount403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount404.ts b/frontend/src/openapi/models/updateServiceAccount404.ts index d9b72867d9..ddf7b6e54f 100644 --- a/frontend/src/openapi/models/updateServiceAccount404.ts +++ b/frontend/src/openapi/models/updateServiceAccount404.ts @@ -7,8 +7,8 @@ export type UpdateServiceAccount404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateServiceAccount415.ts b/frontend/src/openapi/models/updateServiceAccount415.ts index 1d3a9b044b..18dc4d9443 100644 --- a/frontend/src/openapi/models/updateServiceAccount415.ts +++ b/frontend/src/openapi/models/updateServiceAccount415.ts @@ -7,8 +7,8 @@ export type UpdateServiceAccount415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSortOrder401.ts b/frontend/src/openapi/models/updateSortOrder401.ts index 339f400ea2..725044330e 100644 --- a/frontend/src/openapi/models/updateSortOrder401.ts +++ b/frontend/src/openapi/models/updateSortOrder401.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSortOrder403.ts b/frontend/src/openapi/models/updateSortOrder403.ts index a827289fd0..029dd95fff 100644 --- a/frontend/src/openapi/models/updateSortOrder403.ts +++ b/frontend/src/openapi/models/updateSortOrder403.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSortOrder404.ts b/frontend/src/openapi/models/updateSortOrder404.ts index 7c3b72ccd2..8b8f87f9a7 100644 --- a/frontend/src/openapi/models/updateSortOrder404.ts +++ b/frontend/src/openapi/models/updateSortOrder404.ts @@ -7,8 +7,8 @@ export type UpdateSortOrder404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings400.ts b/frontend/src/openapi/models/updateSplashSettings400.ts index 1adac93a80..059a9163a6 100644 --- a/frontend/src/openapi/models/updateSplashSettings400.ts +++ b/frontend/src/openapi/models/updateSplashSettings400.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings401.ts b/frontend/src/openapi/models/updateSplashSettings401.ts index ff35396dbc..6898bc046b 100644 --- a/frontend/src/openapi/models/updateSplashSettings401.ts +++ b/frontend/src/openapi/models/updateSplashSettings401.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings403.ts b/frontend/src/openapi/models/updateSplashSettings403.ts index 8df3f3d396..652f3301e2 100644 --- a/frontend/src/openapi/models/updateSplashSettings403.ts +++ b/frontend/src/openapi/models/updateSplashSettings403.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateSplashSettings415.ts b/frontend/src/openapi/models/updateSplashSettings415.ts index 6f03a27d8a..b27d99743c 100644 --- a/frontend/src/openapi/models/updateSplashSettings415.ts +++ b/frontend/src/openapi/models/updateSplashSettings415.ts @@ -7,8 +7,8 @@ export type UpdateSplashSettings415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy401.ts b/frontend/src/openapi/models/updateStrategy401.ts index 446394de95..9454f6c65b 100644 --- a/frontend/src/openapi/models/updateStrategy401.ts +++ b/frontend/src/openapi/models/updateStrategy401.ts @@ -7,8 +7,8 @@ export type UpdateStrategy401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy403.ts b/frontend/src/openapi/models/updateStrategy403.ts index dcff2f3243..538aa02b8e 100644 --- a/frontend/src/openapi/models/updateStrategy403.ts +++ b/frontend/src/openapi/models/updateStrategy403.ts @@ -7,8 +7,8 @@ export type UpdateStrategy403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy404.ts b/frontend/src/openapi/models/updateStrategy404.ts index f162694f9f..b9d95ecd54 100644 --- a/frontend/src/openapi/models/updateStrategy404.ts +++ b/frontend/src/openapi/models/updateStrategy404.ts @@ -7,8 +7,8 @@ export type UpdateStrategy404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateStrategy415.ts b/frontend/src/openapi/models/updateStrategy415.ts index 10682a1483..d5ddcf2ed4 100644 --- a/frontend/src/openapi/models/updateStrategy415.ts +++ b/frontend/src/openapi/models/updateStrategy415.ts @@ -7,8 +7,8 @@ export type UpdateStrategy415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts b/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts index 84ba3fa687..6d04dad95d 100644 --- a/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts +++ b/frontend/src/openapi/models/updateStrategySchemaParametersItem.ts @@ -6,12 +6,12 @@ import type { UpdateStrategySchemaParametersItemType } from './updateStrategySchemaParametersItemType'; export type UpdateStrategySchemaParametersItem = { - /** The name of the parameter */ - name: string; - /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ - type: UpdateStrategySchemaParametersItemType; /** A description of this strategy parameter. Use this to indicate to the users what the parameter does. */ description?: string; + /** The name of the parameter */ + name: string; /** Whether this parameter must be configured when using the strategy. Defaults to `false` */ required?: boolean; + /** The [type of the parameter](https://docs.getunleash.io/reference/custom-activation-strategies#parameter-types) */ + type: UpdateStrategySchemaParametersItemType; }; diff --git a/frontend/src/openapi/models/updateTagType400.ts b/frontend/src/openapi/models/updateTagType400.ts index f3595377a4..639440dc81 100644 --- a/frontend/src/openapi/models/updateTagType400.ts +++ b/frontend/src/openapi/models/updateTagType400.ts @@ -7,8 +7,8 @@ export type UpdateTagType400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTagType401.ts b/frontend/src/openapi/models/updateTagType401.ts index 59df717947..b2c9dec738 100644 --- a/frontend/src/openapi/models/updateTagType401.ts +++ b/frontend/src/openapi/models/updateTagType401.ts @@ -7,8 +7,8 @@ export type UpdateTagType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTagType403.ts b/frontend/src/openapi/models/updateTagType403.ts index 99d5bf8885..fbd70d6aab 100644 --- a/frontend/src/openapi/models/updateTagType403.ts +++ b/frontend/src/openapi/models/updateTagType403.ts @@ -7,8 +7,8 @@ export type UpdateTagType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTagType415.ts b/frontend/src/openapi/models/updateTagType415.ts index 2c75635495..11d1d605e8 100644 --- a/frontend/src/openapi/models/updateTagType415.ts +++ b/frontend/src/openapi/models/updateTagType415.ts @@ -7,8 +7,8 @@ export type UpdateTagType415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTags400.ts b/frontend/src/openapi/models/updateTags400.ts index 223e1ac788..07489b9580 100644 --- a/frontend/src/openapi/models/updateTags400.ts +++ b/frontend/src/openapi/models/updateTags400.ts @@ -7,8 +7,8 @@ export type UpdateTags400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTags401.ts b/frontend/src/openapi/models/updateTags401.ts index 20c42a7778..cf4209e657 100644 --- a/frontend/src/openapi/models/updateTags401.ts +++ b/frontend/src/openapi/models/updateTags401.ts @@ -7,8 +7,8 @@ export type UpdateTags401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTags403.ts b/frontend/src/openapi/models/updateTags403.ts index 98862bb38c..251bf2c7b7 100644 --- a/frontend/src/openapi/models/updateTags403.ts +++ b/frontend/src/openapi/models/updateTags403.ts @@ -7,8 +7,8 @@ export type UpdateTags403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateTags404.ts b/frontend/src/openapi/models/updateTags404.ts index 701de19e94..9c2dfabfd0 100644 --- a/frontend/src/openapi/models/updateTags404.ts +++ b/frontend/src/openapi/models/updateTags404.ts @@ -7,8 +7,8 @@ export type UpdateTags404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateUser400.ts b/frontend/src/openapi/models/updateUser400.ts index efd48b4cf9..f3ac7681c0 100644 --- a/frontend/src/openapi/models/updateUser400.ts +++ b/frontend/src/openapi/models/updateUser400.ts @@ -7,8 +7,8 @@ export type UpdateUser400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateUser401.ts b/frontend/src/openapi/models/updateUser401.ts index 03a37e7202..41e0293d85 100644 --- a/frontend/src/openapi/models/updateUser401.ts +++ b/frontend/src/openapi/models/updateUser401.ts @@ -7,8 +7,8 @@ export type UpdateUser401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateUser403.ts b/frontend/src/openapi/models/updateUser403.ts index 64e3afb9e0..edba209f65 100644 --- a/frontend/src/openapi/models/updateUser403.ts +++ b/frontend/src/openapi/models/updateUser403.ts @@ -7,8 +7,8 @@ export type UpdateUser403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/updateUser404.ts b/frontend/src/openapi/models/updateUser404.ts index 0b52196033..d35d3de563 100644 --- a/frontend/src/openapi/models/updateUser404.ts +++ b/frontend/src/openapi/models/updateUser404.ts @@ -7,8 +7,8 @@ export type UpdateUser404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/upsertSegmentSchema.ts b/frontend/src/openapi/models/upsertSegmentSchema.ts index 65d602f66b..d944ad7752 100644 --- a/frontend/src/openapi/models/upsertSegmentSchema.ts +++ b/frontend/src/openapi/models/upsertSegmentSchema.ts @@ -9,12 +9,12 @@ import type { ConstraintSchema } from './constraintSchema'; * Data used to create or update a segment */ export interface UpsertSegmentSchema { - /** The name of the segment */ - name: string; - /** A description of what the segment is for */ - description?: string | null; - /** The project the segment belongs to if any. */ - project?: string | null; /** The list of constraints that make up this segment */ constraints: ConstraintSchema[]; + /** A description of what the segment is for */ + description?: string | null; + /** The name of the segment */ + name: string; + /** The project the segment belongs to if any. */ + project?: string | null; } diff --git a/frontend/src/openapi/models/userAccessSchema.ts b/frontend/src/openapi/models/userAccessSchema.ts index 3bbd726a2e..d2337249cf 100644 --- a/frontend/src/openapi/models/userAccessSchema.ts +++ b/frontend/src/openapi/models/userAccessSchema.ts @@ -8,20 +8,20 @@ * Describes a single set of access for a user */ export interface UserAccessSchema { - /** The identifier for the user */ - userId: number; - /** When the user was created */ - createdAt?: string | null; - /** The name of the user */ - userName?: string | null; - /** The last time the user logged in */ - lastSeen?: string | null; /** A list of project ids that this user has access to */ accessibleProjects: string[]; + /** When the user was created */ + createdAt?: string | null; /** A list of group names that this user is a member of */ groups: string[]; + /** The last time the user logged in */ + lastSeen?: string | null; /** The name of the root role that this user has */ rootRole: string; /** The email address of the user */ userEmail: string; + /** The identifier for the user */ + userId: number; + /** The name of the user */ + userName?: string | null; } diff --git a/frontend/src/openapi/models/userSchema.ts b/frontend/src/openapi/models/userSchema.ts index 4d0d5bb48b..408030dd0c 100644 --- a/frontend/src/openapi/models/userSchema.ts +++ b/frontend/src/openapi/models/userSchema.ts @@ -8,35 +8,35 @@ * An Unleash user */ export interface UserSchema { + /** A user is either an actual User or a Service Account */ + accountType?: string; + /** The user was created at this time */ + createdAt?: string; + /** Email of the user */ + email?: string; + /** Is the welcome email sent to the user or not */ + emailSent?: boolean; /** The user id */ id: number; + /** URL used for the userprofile image */ + imageUrl?: string; + /** If the user is actively inviting other users, this is the link that can be shared with other users */ + inviteLink?: string; /** * (Deprecated): Used internally to know which operations the user should be allowed to perform * @deprecated */ isAPI?: boolean; - /** Name of the user */ - name?: string | null; - /** Email of the user */ - email?: string; - /** A unique username for the user */ - username?: string; - /** URL used for the userprofile image */ - imageUrl?: string; - /** If the user is actively inviting other users, this is the link that can be shared with other users */ - inviteLink?: string; /** How many unsuccessful attempts at logging in has the user made */ loginAttempts?: number; - /** Is the welcome email sent to the user or not */ - emailSent?: boolean; + /** Name of the user */ + name?: string | null; + /** Deprecated */ + permissions?: string[]; /** Which [root role](https://docs.getunleash.io/reference/rbac#predefined-roles) this user is assigned */ rootRole?: number; /** The last time this user logged in */ seenAt?: string | null; - /** The user was created at this time */ - createdAt?: string; - /** A user is either an actual User or a Service Account */ - accountType?: string; - /** Deprecated */ - permissions?: string[]; + /** A unique username for the user */ + username?: string; } diff --git a/frontend/src/openapi/models/userWithProjectRoleSchema.ts b/frontend/src/openapi/models/userWithProjectRoleSchema.ts index b9ed18ea5b..554a3245f1 100644 --- a/frontend/src/openapi/models/userWithProjectRoleSchema.ts +++ b/frontend/src/openapi/models/userWithProjectRoleSchema.ts @@ -8,6 +8,14 @@ * Data about a user including their project role */ export interface UserWithProjectRoleSchema { + /** When this user was added to the project */ + addedAt?: string; + /** The user's email address */ + email?: string | null; + /** The user's ID in the Unleash system */ + id: number; + /** A URL pointing to the user's image. */ + imageUrl?: string | null; /** * Whether this user is authenticated through Unleash tokens or logged in with a session * @deprecated @@ -15,14 +23,6 @@ export interface UserWithProjectRoleSchema { isAPI?: boolean; /** The name of the user */ name?: string; - /** The user's email address */ - email?: string | null; - /** The user's ID in the Unleash system */ - id: number; - /** A URL pointing to the user's image. */ - imageUrl?: string | null; - /** When this user was added to the project */ - addedAt?: string; /** The ID of the role this user has in the given project */ roleId?: number; /** A list of roles this user has in the given project */ diff --git a/frontend/src/openapi/models/usersSchema.ts b/frontend/src/openapi/models/usersSchema.ts index e82f7b685d..4edf5e88f8 100644 --- a/frontend/src/openapi/models/usersSchema.ts +++ b/frontend/src/openapi/models/usersSchema.ts @@ -3,15 +3,15 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { UserSchema } from './userSchema'; import type { RoleSchema } from './roleSchema'; +import type { UserSchema } from './userSchema'; /** * Users and root roles */ export interface UsersSchema { - /** A list of users in the Unleash instance. */ - users: UserSchema[]; /** A list of [root roles](https://docs.getunleash.io/reference/rbac#predefined-roles) in the Unleash instance. */ rootRoles?: RoleSchema[]; + /** A list of users in the Unleash instance. */ + users: UserSchema[]; } diff --git a/frontend/src/openapi/models/validateArchiveFeatures400.ts b/frontend/src/openapi/models/validateArchiveFeatures400.ts index 8870d319b9..5f332f4dc4 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures400.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures400.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures401.ts b/frontend/src/openapi/models/validateArchiveFeatures401.ts index bf3fa6f50e..62314da06c 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures401.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures401.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures403.ts b/frontend/src/openapi/models/validateArchiveFeatures403.ts index d26aad8c5e..feeefdfcbd 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures403.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures403.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeatures415.ts b/frontend/src/openapi/models/validateArchiveFeatures415.ts index 17c44cd7ce..8a37a6b59f 100644 --- a/frontend/src/openapi/models/validateArchiveFeatures415.ts +++ b/frontend/src/openapi/models/validateArchiveFeatures415.ts @@ -7,8 +7,8 @@ export type ValidateArchiveFeatures415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts b/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts index c574ade4ea..4e9540a2f2 100644 --- a/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts +++ b/frontend/src/openapi/models/validateArchiveFeaturesSchema.ts @@ -8,8 +8,8 @@ * Validation details for features archive operation */ export interface ValidateArchiveFeaturesSchema { - /** List of parent features that would orphan child features that are not part of the archive operation */ - parentsWithChildFeatures: string[]; /** Whether any dependencies will be deleted as part of archive */ hasDeletedDependencies: boolean; + /** List of parent features that would orphan child features that are not part of the archive operation */ + parentsWithChildFeatures: string[]; } diff --git a/frontend/src/openapi/models/validateConstraint400.ts b/frontend/src/openapi/models/validateConstraint400.ts index b89de39b1b..0e010e78c2 100644 --- a/frontend/src/openapi/models/validateConstraint400.ts +++ b/frontend/src/openapi/models/validateConstraint400.ts @@ -7,8 +7,8 @@ export type ValidateConstraint400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint401.ts b/frontend/src/openapi/models/validateConstraint401.ts index 8f8b23f070..8ecc634bcb 100644 --- a/frontend/src/openapi/models/validateConstraint401.ts +++ b/frontend/src/openapi/models/validateConstraint401.ts @@ -7,8 +7,8 @@ export type ValidateConstraint401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint403.ts b/frontend/src/openapi/models/validateConstraint403.ts index 372756b2aa..58ea7f19db 100644 --- a/frontend/src/openapi/models/validateConstraint403.ts +++ b/frontend/src/openapi/models/validateConstraint403.ts @@ -7,8 +7,8 @@ export type ValidateConstraint403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateConstraint415.ts b/frontend/src/openapi/models/validateConstraint415.ts index 6dd0688f0f..6f6aa94681 100644 --- a/frontend/src/openapi/models/validateConstraint415.ts +++ b/frontend/src/openapi/models/validateConstraint415.ts @@ -7,8 +7,8 @@ export type ValidateConstraint415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateEnvironmentName400.ts b/frontend/src/openapi/models/validateEnvironmentName400.ts index 91682215e0..8802fade10 100644 --- a/frontend/src/openapi/models/validateEnvironmentName400.ts +++ b/frontend/src/openapi/models/validateEnvironmentName400.ts @@ -7,8 +7,8 @@ export type ValidateEnvironmentName400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateEnvironmentName401.ts b/frontend/src/openapi/models/validateEnvironmentName401.ts index c4d8893b4f..cfcf8b49c0 100644 --- a/frontend/src/openapi/models/validateEnvironmentName401.ts +++ b/frontend/src/openapi/models/validateEnvironmentName401.ts @@ -7,8 +7,8 @@ export type ValidateEnvironmentName401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateFeature400.ts b/frontend/src/openapi/models/validateFeature400.ts index 93bc15601e..ca5a0fe214 100644 --- a/frontend/src/openapi/models/validateFeature400.ts +++ b/frontend/src/openapi/models/validateFeature400.ts @@ -7,8 +7,8 @@ export type ValidateFeature400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateFeature401.ts b/frontend/src/openapi/models/validateFeature401.ts index a8e84cdaca..3f55c96903 100644 --- a/frontend/src/openapi/models/validateFeature401.ts +++ b/frontend/src/openapi/models/validateFeature401.ts @@ -7,8 +7,8 @@ export type ValidateFeature401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateFeature409.ts b/frontend/src/openapi/models/validateFeature409.ts index 1cb7bcd1f9..378bb55428 100644 --- a/frontend/src/openapi/models/validateFeature409.ts +++ b/frontend/src/openapi/models/validateFeature409.ts @@ -7,8 +7,8 @@ export type ValidateFeature409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateFeature415.ts b/frontend/src/openapi/models/validateFeature415.ts index ea03a6758d..4f0498f6cd 100644 --- a/frontend/src/openapi/models/validateFeature415.ts +++ b/frontend/src/openapi/models/validateFeature415.ts @@ -7,8 +7,8 @@ export type ValidateFeature415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateImport404.ts b/frontend/src/openapi/models/validateImport404.ts index 114dbbd321..8008c4b94c 100644 --- a/frontend/src/openapi/models/validateImport404.ts +++ b/frontend/src/openapi/models/validateImport404.ts @@ -7,8 +7,8 @@ export type ValidateImport404 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validatePassword400.ts b/frontend/src/openapi/models/validatePassword400.ts index 636695d47d..9c8b2d9369 100644 --- a/frontend/src/openapi/models/validatePassword400.ts +++ b/frontend/src/openapi/models/validatePassword400.ts @@ -7,8 +7,8 @@ export type ValidatePassword400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validatePassword415.ts b/frontend/src/openapi/models/validatePassword415.ts index 5e2c591433..191801eb38 100644 --- a/frontend/src/openapi/models/validatePassword415.ts +++ b/frontend/src/openapi/models/validatePassword415.ts @@ -7,8 +7,8 @@ export type ValidatePassword415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateProject400.ts b/frontend/src/openapi/models/validateProject400.ts index 589bcf0063..690517235f 100644 --- a/frontend/src/openapi/models/validateProject400.ts +++ b/frontend/src/openapi/models/validateProject400.ts @@ -7,8 +7,8 @@ export type ValidateProject400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateProject401.ts b/frontend/src/openapi/models/validateProject401.ts index 43ecd8c2cd..af6a4c9a89 100644 --- a/frontend/src/openapi/models/validateProject401.ts +++ b/frontend/src/openapi/models/validateProject401.ts @@ -7,8 +7,8 @@ export type ValidateProject401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateProject403.ts b/frontend/src/openapi/models/validateProject403.ts index d30a5a193f..56a8a94209 100644 --- a/frontend/src/openapi/models/validateProject403.ts +++ b/frontend/src/openapi/models/validateProject403.ts @@ -7,8 +7,8 @@ export type ValidateProject403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateProject415.ts b/frontend/src/openapi/models/validateProject415.ts index bd86fc2d9d..efb5b1bec4 100644 --- a/frontend/src/openapi/models/validateProject415.ts +++ b/frontend/src/openapi/models/validateProject415.ts @@ -7,8 +7,8 @@ export type ValidateProject415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validatePublicSignupToken400.ts b/frontend/src/openapi/models/validatePublicSignupToken400.ts index e0ed893499..f483d0fc72 100644 --- a/frontend/src/openapi/models/validatePublicSignupToken400.ts +++ b/frontend/src/openapi/models/validatePublicSignupToken400.ts @@ -7,8 +7,8 @@ export type ValidatePublicSignupToken400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateRole400.ts b/frontend/src/openapi/models/validateRole400.ts index 9ff6f52fac..4c21ac1ab3 100644 --- a/frontend/src/openapi/models/validateRole400.ts +++ b/frontend/src/openapi/models/validateRole400.ts @@ -7,8 +7,8 @@ export type ValidateRole400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateRole401.ts b/frontend/src/openapi/models/validateRole401.ts index d82ed2a793..9752c60b49 100644 --- a/frontend/src/openapi/models/validateRole401.ts +++ b/frontend/src/openapi/models/validateRole401.ts @@ -7,8 +7,8 @@ export type ValidateRole401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateSegment400.ts b/frontend/src/openapi/models/validateSegment400.ts index b81307b553..f5e0202beb 100644 --- a/frontend/src/openapi/models/validateSegment400.ts +++ b/frontend/src/openapi/models/validateSegment400.ts @@ -7,8 +7,8 @@ export type ValidateSegment400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateSegment401.ts b/frontend/src/openapi/models/validateSegment401.ts index 853ebb1ec6..5fb7566ddd 100644 --- a/frontend/src/openapi/models/validateSegment401.ts +++ b/frontend/src/openapi/models/validateSegment401.ts @@ -7,8 +7,8 @@ export type ValidateSegment401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateSegment409.ts b/frontend/src/openapi/models/validateSegment409.ts index eece090277..32ac0eab5c 100644 --- a/frontend/src/openapi/models/validateSegment409.ts +++ b/frontend/src/openapi/models/validateSegment409.ts @@ -7,8 +7,8 @@ export type ValidateSegment409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateSegment415.ts b/frontend/src/openapi/models/validateSegment415.ts index 9759073604..6479afbf37 100644 --- a/frontend/src/openapi/models/validateSegment415.ts +++ b/frontend/src/openapi/models/validateSegment415.ts @@ -7,8 +7,8 @@ export type ValidateSegment415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagType400.ts b/frontend/src/openapi/models/validateTagType400.ts index 7267c864b4..4bc790c9e1 100644 --- a/frontend/src/openapi/models/validateTagType400.ts +++ b/frontend/src/openapi/models/validateTagType400.ts @@ -7,8 +7,8 @@ export type ValidateTagType400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagType401.ts b/frontend/src/openapi/models/validateTagType401.ts index b4ab2a2573..747332aec1 100644 --- a/frontend/src/openapi/models/validateTagType401.ts +++ b/frontend/src/openapi/models/validateTagType401.ts @@ -7,8 +7,8 @@ export type ValidateTagType401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagType403.ts b/frontend/src/openapi/models/validateTagType403.ts index 73e8388a45..89dde1e264 100644 --- a/frontend/src/openapi/models/validateTagType403.ts +++ b/frontend/src/openapi/models/validateTagType403.ts @@ -7,8 +7,8 @@ export type ValidateTagType403 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagType409.ts b/frontend/src/openapi/models/validateTagType409.ts index 40b575306d..69fb7ef80a 100644 --- a/frontend/src/openapi/models/validateTagType409.ts +++ b/frontend/src/openapi/models/validateTagType409.ts @@ -7,8 +7,8 @@ export type ValidateTagType409 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagType415.ts b/frontend/src/openapi/models/validateTagType415.ts index 16a2e21c73..b7e7a894d4 100644 --- a/frontend/src/openapi/models/validateTagType415.ts +++ b/frontend/src/openapi/models/validateTagType415.ts @@ -7,8 +7,8 @@ export type ValidateTagType415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateTagTypeSchema.ts b/frontend/src/openapi/models/validateTagTypeSchema.ts index 08ac473108..806aa9b52f 100644 --- a/frontend/src/openapi/models/validateTagTypeSchema.ts +++ b/frontend/src/openapi/models/validateTagTypeSchema.ts @@ -9,7 +9,7 @@ import type { TagTypeSchema } from './tagTypeSchema'; * The result of validating a tag type. */ export interface ValidateTagTypeSchema { + tagType: TagTypeSchema; /** Whether or not the tag type is valid. */ valid: boolean; - tagType: TagTypeSchema; } diff --git a/frontend/src/openapi/models/validateToken401.ts b/frontend/src/openapi/models/validateToken401.ts index 9ebdd649a1..1cbf733f43 100644 --- a/frontend/src/openapi/models/validateToken401.ts +++ b/frontend/src/openapi/models/validateToken401.ts @@ -7,8 +7,8 @@ export type ValidateToken401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateToken415.ts b/frontend/src/openapi/models/validateToken415.ts index f391bd76e6..7f6dfe1b3f 100644 --- a/frontend/src/openapi/models/validateToken415.ts +++ b/frontend/src/openapi/models/validateToken415.ts @@ -7,8 +7,8 @@ export type ValidateToken415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword400.ts b/frontend/src/openapi/models/validateUserPassword400.ts index eeed7b4a23..9daa1849dd 100644 --- a/frontend/src/openapi/models/validateUserPassword400.ts +++ b/frontend/src/openapi/models/validateUserPassword400.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword400 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword401.ts b/frontend/src/openapi/models/validateUserPassword401.ts index 9d0985c1b3..014ac318b3 100644 --- a/frontend/src/openapi/models/validateUserPassword401.ts +++ b/frontend/src/openapi/models/validateUserPassword401.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword401 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/validateUserPassword415.ts b/frontend/src/openapi/models/validateUserPassword415.ts index 7d1dc435f8..ef6e562153 100644 --- a/frontend/src/openapi/models/validateUserPassword415.ts +++ b/frontend/src/openapi/models/validateUserPassword415.ts @@ -7,8 +7,8 @@ export type ValidateUserPassword415 = { /** The ID of the error instance */ id?: string; - /** The name of the error kind */ - name?: string; /** A description of what went wrong. */ message?: string; + /** The name of the error kind */ + name?: string; }; diff --git a/frontend/src/openapi/models/variantFlagSchema.ts b/frontend/src/openapi/models/variantFlagSchema.ts index 71e597a51b..cc9d00b5d4 100644 --- a/frontend/src/openapi/models/variantFlagSchema.ts +++ b/frontend/src/openapi/models/variantFlagSchema.ts @@ -9,10 +9,10 @@ import type { VariantFlagSchemaPayload } from './variantFlagSchemaPayload'; * A representation of an evaluated Unleash feature variant. */ export interface VariantFlagSchema { - /** The name of the variant. Will always be disabled if `enabled` is false. */ - name?: string; /** Whether the variant is enabled or not. */ enabled?: boolean; + /** The name of the variant. Will always be disabled if `enabled` is false. */ + name?: string; /** Additional data associated with this variant. */ payload?: VariantFlagSchemaPayload; } diff --git a/frontend/src/openapi/models/variantSchema.ts b/frontend/src/openapi/models/variantSchema.ts index 5fa92a88e5..20f2ffe948 100644 --- a/frontend/src/openapi/models/variantSchema.ts +++ b/frontend/src/openapi/models/variantSchema.ts @@ -3,9 +3,9 @@ * Do not edit manually. * See `gen:api` script in package.json */ -import type { VariantSchemaWeightType } from './variantSchemaWeightType'; -import type { VariantSchemaPayload } from './variantSchemaPayload'; import type { OverrideSchema } from './overrideSchema'; +import type { VariantSchemaPayload } from './variantSchemaPayload'; +import type { VariantSchemaWeightType } from './variantSchemaWeightType'; /** * A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/reference/feature-toggle-variants#what-are-variants) for a more detailed description @@ -13,14 +13,14 @@ import type { OverrideSchema } from './overrideSchema'; export interface VariantSchema { /** The variants name. Is unique for this feature toggle */ name: string; + /** Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence. */ + overrides?: OverrideSchema[]; + /** Extra data configured for this variant */ + payload?: VariantSchemaPayload; + /** [Stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time */ + stickiness?: string; /** The weight is the likelihood of any one user getting this variant. It is a number between 0 and 1000. See the section on [variant weights](https://docs.getunleash.io/reference/feature-toggle-variants#variant-weight) for more information */ weight: number; /** Set to fix if this variant must have exactly the weight allocated to it. If the type is variable, the weight will adjust so that the total weight of all variants adds up to 1000 */ weightType?: VariantSchemaWeightType; - /** [Stickiness](https://docs.getunleash.io/reference/feature-toggle-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time */ - stickiness?: string; - /** Extra data configured for this variant */ - payload?: VariantSchemaPayload; - /** Overrides assigning specific variants to specific users. The weighting system automatically assigns users to specific groups for you, but any overrides in this list will take precedence. */ - overrides?: OverrideSchema[]; } diff --git a/frontend/src/openapi/models/versionSchema.ts b/frontend/src/openapi/models/versionSchema.ts index 89dba4a460..afc2cd63d2 100644 --- a/frontend/src/openapi/models/versionSchema.ts +++ b/frontend/src/openapi/models/versionSchema.ts @@ -12,10 +12,10 @@ import type { VersionSchemaLatest } from './versionSchemaLatest'; export interface VersionSchema { /** The current version of Unleash. */ current: VersionSchemaCurrent; - /** Information about the latest available Unleash releases. Will be an empty object if no data is available. */ - latest: VersionSchemaLatest; - /** Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`) */ - isLatest: boolean; /** The instance identifier of the Unleash instance */ instanceId?: string; + /** Whether the Unleash server is running the latest release (`true`) or if there are updates available (`false`) */ + isLatest: boolean; + /** Information about the latest available Unleash releases. Will be an empty object if no data is available. */ + latest: VersionSchemaLatest; } diff --git a/frontend/src/openapi/models/versionSchemaCurrent.ts b/frontend/src/openapi/models/versionSchemaCurrent.ts index 083e29c271..ad0826aaf3 100644 --- a/frontend/src/openapi/models/versionSchemaCurrent.ts +++ b/frontend/src/openapi/models/versionSchemaCurrent.ts @@ -8,8 +8,8 @@ * The current version of Unleash. */ export type VersionSchemaCurrent = { - /** The OSS version used when building this Unleash instance, represented as a git revision belonging to the [main Unleash git repo](https://github.com/Unleash/unleash/) */ - oss?: string; /** The Enterpris version of Unleash used to build this instance, represented as a git revision belonging to the [Unleash Enterprise](https://github.com/ivarconr/unleash-enterprise) repository. Will be an empty string if no enterprise version was used, */ enterprise?: string; + /** The OSS version used when building this Unleash instance, represented as a git revision belonging to the [main Unleash git repo](https://github.com/Unleash/unleash/) */ + oss?: string; }; diff --git a/frontend/src/openapi/models/versionSchemaLatest.ts b/frontend/src/openapi/models/versionSchemaLatest.ts index 5b2cffbb12..4d179178d1 100644 --- a/frontend/src/openapi/models/versionSchemaLatest.ts +++ b/frontend/src/openapi/models/versionSchemaLatest.ts @@ -8,8 +8,8 @@ * Information about the latest available Unleash releases. Will be an empty object if no data is available. */ export type VersionSchemaLatest = { - /** The latest available OSS version of Unleash */ - oss?: string; /** The latest available Enterprise version of Unleash */ enterprise?: string; + /** The latest available OSS version of Unleash */ + oss?: string; };