unleash-server 7.3.0 → 7.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -36
- package/dist/lib/addons/datadog.js +1 -1
- package/dist/lib/addons/datadog.js.map +1 -1
- package/dist/lib/addons/datadog.test.js +11 -11
- package/dist/lib/addons/datadog.test.js.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md-events.d.ts.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md-events.js +11 -1
- package/dist/lib/addons/feature-event-formatter-md-events.js.map +1 -1
- package/dist/lib/addons/feature-event-formatter-md.test.js +8 -6
- package/dist/lib/addons/feature-event-formatter-md.test.js.map +1 -1
- package/dist/lib/addons/new-relic-definition.js +1 -1
- package/dist/lib/addons/new-relic-definition.js.map +1 -1
- package/dist/lib/addons/new-relic.js +4 -4
- package/dist/lib/addons/new-relic.js.map +1 -1
- package/dist/lib/addons/new-relic.test.js +4 -4
- package/dist/lib/addons/new-relic.test.js.map +1 -1
- package/dist/lib/addons/slack-app-definition.d.ts.map +1 -1
- package/dist/lib/addons/slack-app-definition.js +3 -1
- package/dist/lib/addons/slack-app-definition.js.map +1 -1
- package/dist/lib/addons/slack-app.test.js +1 -2
- package/dist/lib/addons/slack-app.test.js.map +1 -1
- package/dist/lib/addons/slack-definition.d.ts.map +1 -1
- package/dist/lib/addons/slack-definition.js +3 -1
- package/dist/lib/addons/slack-definition.js.map +1 -1
- package/dist/lib/addons/slack.js +1 -1
- package/dist/lib/addons/slack.js.map +1 -1
- package/dist/lib/addons/slack.test.js +1 -1
- package/dist/lib/addons/slack.test.js.map +1 -1
- package/dist/lib/addons/teams-definition.d.ts.map +1 -1
- package/dist/lib/addons/teams-definition.js +3 -1
- package/dist/lib/addons/teams-definition.js.map +1 -1
- package/dist/lib/addons/teams.js +1 -1
- package/dist/lib/addons/teams.js.map +1 -1
- package/dist/lib/addons/teams.test.js +1 -1
- package/dist/lib/addons/teams.test.js.map +1 -1
- package/dist/lib/addons/webhook-definition.d.ts.map +1 -1
- package/dist/lib/addons/webhook-definition.js +4 -2
- package/dist/lib/addons/webhook-definition.js.map +1 -1
- package/dist/lib/addons/webhook.js +1 -1
- package/dist/lib/addons/webhook.js.map +1 -1
- package/dist/lib/addons/webhook.test.js +3 -3
- package/dist/lib/addons/webhook.test.js.map +1 -1
- package/dist/lib/app.js +2 -2
- package/dist/lib/app.js.map +1 -1
- package/dist/lib/app.test.js +6 -2
- package/dist/lib/app.test.js.map +1 -1
- package/dist/lib/create-config.test.js +9 -2
- package/dist/lib/create-config.test.js.map +1 -1
- package/dist/lib/db/access-store.d.ts +1 -2
- package/dist/lib/db/access-store.d.ts.map +1 -1
- package/dist/lib/db/access-store.js +2 -3
- package/dist/lib/db/access-store.js.map +1 -1
- package/dist/lib/db/access-store.test.js +5 -1
- package/dist/lib/db/access-store.test.js.map +1 -1
- package/dist/lib/db/api-token-store.d.ts +1 -2
- package/dist/lib/db/api-token-store.d.ts.map +1 -1
- package/dist/lib/db/api-token-store.js +1 -2
- package/dist/lib/db/api-token-store.js.map +1 -1
- package/dist/lib/db/favorite-features-store.d.ts +1 -3
- package/dist/lib/db/favorite-features-store.d.ts.map +1 -1
- package/dist/lib/db/favorite-features-store.js +1 -3
- package/dist/lib/db/favorite-features-store.js.map +1 -1
- package/dist/lib/db/favorite-projects-store.d.ts +2 -3
- package/dist/lib/db/favorite-projects-store.d.ts.map +1 -1
- package/dist/lib/db/favorite-projects-store.js +20 -4
- package/dist/lib/db/favorite-projects-store.js.map +1 -1
- package/dist/lib/db/feature-environment-store.d.ts +1 -2
- package/dist/lib/db/feature-environment-store.d.ts.map +1 -1
- package/dist/lib/db/feature-environment-store.js +1 -2
- package/dist/lib/db/feature-environment-store.js.map +1 -1
- package/dist/lib/db/feature-type-store.d.ts +1 -2
- package/dist/lib/db/feature-type-store.d.ts.map +1 -1
- package/dist/lib/db/feature-type-store.js +1 -2
- package/dist/lib/db/feature-type-store.js.map +1 -1
- package/dist/lib/db/project-stats-store.d.ts +1 -2
- package/dist/lib/db/project-stats-store.d.ts.map +1 -1
- package/dist/lib/db/project-stats-store.js +1 -2
- package/dist/lib/db/project-stats-store.js.map +1 -1
- package/dist/lib/db/public-signup-token-store.d.ts +1 -2
- package/dist/lib/db/public-signup-token-store.d.ts.map +1 -1
- package/dist/lib/db/public-signup-token-store.js +1 -2
- package/dist/lib/db/public-signup-token-store.js.map +1 -1
- package/dist/lib/db/reset-token-store.d.ts +2 -3
- package/dist/lib/db/reset-token-store.d.ts.map +1 -1
- package/dist/lib/db/reset-token-store.js +31 -6
- package/dist/lib/db/reset-token-store.js.map +1 -1
- package/dist/lib/db/user-feedback-store.d.ts +1 -1
- package/dist/lib/db/user-feedback-store.d.ts.map +1 -1
- package/dist/lib/db/user-feedback-store.js +1 -1
- package/dist/lib/db/user-feedback-store.js.map +1 -1
- package/dist/lib/db/user-splash-store.d.ts +1 -1
- package/dist/lib/db/user-splash-store.d.ts.map +1 -1
- package/dist/lib/db/user-splash-store.js +1 -1
- package/dist/lib/db/user-splash-store.js.map +1 -1
- package/dist/lib/default-custom-auth-deny-all.js +1 -1
- package/dist/lib/default-custom-auth-deny-all.js.map +1 -1
- package/dist/lib/domain/project-health/project-health.js +1 -1
- package/dist/lib/domain/project-health/project-health.js.map +1 -1
- package/dist/lib/error/unleash-error.test.js +4 -1
- package/dist/lib/error/unleash-error.test.js.map +1 -1
- package/dist/lib/events/index.d.ts +5 -1
- package/dist/lib/events/index.d.ts.map +1 -1
- package/dist/lib/events/index.js +8 -0
- package/dist/lib/events/index.js.map +1 -1
- package/dist/lib/features/access/access-read-model.d.ts.map +1 -1
- package/dist/lib/features/access/access-read-model.js +3 -2
- package/dist/lib/features/access/access-read-model.js.map +1 -1
- package/dist/lib/features/access/createAccessService.d.ts +5 -1
- package/dist/lib/features/access/createAccessService.d.ts.map +1 -1
- package/dist/lib/features/access/createAccessService.js +2 -2
- package/dist/lib/features/access/createAccessService.js.map +1 -1
- package/dist/lib/features/change-request-segment-usage-service/change-request-segment-usage-read-model.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.d.ts +1 -2
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.js +1 -2
- package/dist/lib/features/client-feature-toggles/client-feature-toggle-service.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.js +18 -9
- package/dist/lib/features/client-feature-toggles/client-feature-toggle.controller.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/client-feature-toggle-delta.test.js +54 -0
- package/dist/lib/features/client-feature-toggles/delta/client-feature-toggle-delta.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.d.ts +1 -0
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.d.ts.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.js +14 -0
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.test.js +1 -1
- package/dist/lib/features/client-feature-toggles/delta/delta-cache.test.js.map +1 -1
- package/dist/lib/features/client-feature-toggles/tests/client-feature-toggles.e2e.test.js +1 -1
- package/dist/lib/features/client-feature-toggles/tests/client-feature-toggles.e2e.test.js.map +1 -1
- package/dist/lib/features/context/context-field-store-type.d.ts +2 -0
- package/dist/lib/features/context/context-field-store-type.d.ts.map +1 -1
- package/dist/lib/features/context/context-field-store.d.ts +3 -3
- package/dist/lib/features/context/context-field-store.d.ts.map +1 -1
- package/dist/lib/features/context/context-field-store.js +12 -3
- package/dist/lib/features/context/context-field-store.js.map +1 -1
- package/dist/lib/features/context/context-service.d.ts +9 -3
- package/dist/lib/features/context/context-service.d.ts.map +1 -1
- package/dist/lib/features/context/context-service.js +33 -4
- package/dist/lib/features/context/context-service.js.map +1 -1
- package/dist/lib/features/context/context.d.ts +10 -5
- package/dist/lib/features/context/context.d.ts.map +1 -1
- package/dist/lib/features/context/context.js +65 -37
- package/dist/lib/features/context/context.js.map +1 -1
- package/dist/lib/features/context/fake-context-field-store.d.ts +1 -0
- package/dist/lib/features/context/fake-context-field-store.d.ts.map +1 -1
- package/dist/lib/features/context/fake-context-field-store.js +4 -1
- package/dist/lib/features/context/fake-context-field-store.js.map +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.d.ts +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.d.ts.map +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.js +1 -1
- package/dist/lib/features/dependent-features/fake-dependent-features-read-model.js.map +1 -1
- package/dist/lib/features/environments/environments-controller.d.ts +1 -2
- package/dist/lib/features/environments/environments-controller.d.ts.map +1 -1
- package/dist/lib/features/environments/environments-controller.js +2 -3
- package/dist/lib/features/environments/environments-controller.js.map +1 -1
- package/dist/lib/features/events/event-created-by-migration.test.js +3 -3
- package/dist/lib/features/events/event-created-by-migration.test.js.map +1 -1
- package/dist/lib/features/events/event-search-controller.js +1 -1
- package/dist/lib/features/events/event-search-controller.js.map +1 -1
- package/dist/lib/features/events/event-service.test.js.map +1 -1
- package/dist/lib/features/events/event-store.d.ts.map +1 -1
- package/dist/lib/features/events/event-store.js +22 -9
- package/dist/lib/features/events/event-store.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-api-usage.test.js +1 -1
- package/dist/lib/features/export-import-toggles/export-import-api-usage.test.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.d.ts +0 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.d.ts.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-controller.js +5 -6
- package/dist/lib/features/export-import-toggles/export-import-controller.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-service.d.ts.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import-service.js +10 -1
- package/dist/lib/features/export-import-toggles/export-import-service.js.map +1 -1
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js +8 -3
- package/dist/lib/features/export-import-toggles/export-import.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.js +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-read-model.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-store.js +1 -1
- package/dist/lib/features/feature-lifecycle/fake-feature-lifecycle-store.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.d.ts +5 -4
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.js +9 -3
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-count-controller.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model-type.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model-type.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.d.ts +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.js +17 -18
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.test.js +17 -0
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-read-model.test.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.js +3 -2
- package/dist/lib/features/feature-lifecycle/feature-lifecycle-store.js.map +1 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle.e2e.test.js +4 -1
- package/dist/lib/features/feature-lifecycle/feature-lifecycle.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.d.ts +4 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.d.ts.map +1 -1
- package/dist/lib/features/feature-links/createFeatureLinkService.js +7 -3
- package/dist/lib/features/feature-links/createFeatureLinkService.js.map +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.d.ts +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.js +1 -1
- package/dist/lib/features/feature-links/fake-feature-links-read-model.js.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.d.ts +3 -0
- package/dist/lib/features/feature-links/feature-link-service.d.ts.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.js +6 -1
- package/dist/lib/features/feature-links/feature-link-service.js.map +1 -1
- package/dist/lib/features/feature-links/feature-link-service.test.js +20 -3
- package/dist/lib/features/feature-links/feature-link-service.test.js.map +1 -1
- package/dist/lib/features/feature-naming-pattern/feature-naming-validation.test.js +10 -2
- package/dist/lib/features/feature-naming-pattern/feature-naming-validation.test.js.map +1 -1
- package/dist/lib/features/feature-search/createFeatureSearchService.d.ts +3 -2
- package/dist/lib/features/feature-search/createFeatureSearchService.d.ts.map +1 -1
- package/dist/lib/features/feature-search/createFeatureSearchService.js +4 -4
- package/dist/lib/features/feature-search/createFeatureSearchService.js.map +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.d.ts +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.d.ts.map +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.js +1 -1
- package/dist/lib/features/feature-search/fake-feature-search-store.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-controller.js +2 -2
- package/dist/lib/features/feature-search/feature-search-controller.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-service.d.ts +4 -3
- package/dist/lib/features/feature-search/feature-search-service.d.ts.map +1 -1
- package/dist/lib/features/feature-search/feature-search-service.js +12 -4
- package/dist/lib/features/feature-search/feature-search-service.js.map +1 -1
- package/dist/lib/features/feature-search/feature-search-store.d.ts +1 -3
- package/dist/lib/features/feature-search/feature-search-store.d.ts.map +1 -1
- package/dist/lib/features/feature-search/feature-search-store.js +1 -3
- package/dist/lib/features/feature-search/feature-search-store.js.map +1 -1
- package/dist/lib/features/feature-search/feature.search.e2e.test.js +1 -1
- package/dist/lib/features/feature-search/feature.search.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/archive-feature-toggle-controller.js +1 -1
- package/dist/lib/features/feature-toggle/archive-feature-toggle-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.d.ts +2 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/configuration-revision-service.js +16 -0
- package/dist/lib/features/feature-toggle/configuration-revision-service.js.map +1 -1
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.d.ts +3 -4
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.js +2 -3
- package/dist/lib/features/feature-toggle/converters/feature-toggle-row-converter.js.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js +1 -12
- package/dist/lib/features/feature-toggle/createFeatureToggleService.js.map +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.d.ts +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.js +1 -1
- package/dist/lib/features/feature-toggle/fake-feature-collaborators-read-model.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.d.ts +5 -5
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.js +6 -6
- package/dist/lib/features/feature-toggle/fakes/fake-feature-strategies-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.d.ts +8 -8
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.js +10 -12
- package/dist/lib/features/feature-toggle/fakes/fake-feature-toggle-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.d.ts +7 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.js +7 -3
- package/dist/lib/features/feature-toggle/fakes/fake-features-read-model.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-controller.js +4 -3
- package/dist/lib/features/feature-toggle/feature-toggle-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-service.d.ts +3 -10
- package/dist/lib/features/feature-toggle/feature-toggle-service.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-service.js +10 -26
- package/dist/lib/features/feature-toggle/feature-toggle-service.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-store.js +7 -3
- package/dist/lib/features/feature-toggle/feature-toggle-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.d.ts +1 -3
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.js +1 -3
- package/dist/lib/features/feature-toggle/feature-toggle-strategies-store.js.map +1 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.d.ts +0 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.d.ts.map +1 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.js +0 -1
- package/dist/lib/features/feature-toggle/legacy/feature-toggle-legacy-controller.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-store.e2e.test.js +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-store.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggle-strategies-store.e2e.test.js +2 -2
- package/dist/lib/features/feature-toggle/tests/feature-toggle-strategies-store.e2e.test.js.map +1 -1
- package/dist/lib/features/feature-toggle/tests/feature-toggles.e2e.test.js +3 -3
- package/dist/lib/features/feature-toggle/tests/feature-toggles.e2e.test.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-controller.js +2 -2
- package/dist/lib/features/frontend-api/frontend-api-controller.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-repository.d.ts +1 -3
- package/dist/lib/features/frontend-api/frontend-api-repository.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-repository.js +6 -6
- package/dist/lib/features/frontend-api/frontend-api-repository.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.js +3 -1
- package/dist/lib/features/frontend-api/frontend-api-service.js.map +1 -1
- package/dist/lib/features/frontend-api/frontend-api-service.test.js +2 -2
- package/dist/lib/features/frontend-api/frontend-api.concurrency.e2e.test.js +1 -1
- package/dist/lib/features/frontend-api/frontend-api.concurrency.e2e.test.js.map +1 -1
- package/dist/lib/features/frontend-api/global-frontend-api-cache.d.ts +0 -2
- package/dist/lib/features/frontend-api/global-frontend-api-cache.d.ts.map +1 -1
- package/dist/lib/features/frontend-api/global-frontend-api-cache.js +0 -7
- package/dist/lib/features/frontend-api/global-frontend-api-cache.js.map +1 -1
- package/dist/lib/features/frontend-api/proxy-repository.js +1 -1
- package/dist/lib/features/frontend-api/proxy-repository.js.map +1 -1
- package/dist/lib/features/instance-stats/createInstanceStatsService.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/createInstanceStatsService.js +5 -2
- package/dist/lib/features/instance-stats/createInstanceStatsService.js.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.e2e.test.js +28 -19
- package/dist/lib/features/instance-stats/getEdgeInstances.e2e.test.js.map +1 -1
- package/dist/lib/features/instance-stats/getEdgeInstances.js +14 -2
- package/dist/lib/features/instance-stats/getEdgeInstances.js.map +1 -1
- package/dist/lib/features/instance-stats/getProductionChanges.e2e.test.js +2 -2
- package/dist/lib/features/instance-stats/getProductionChanges.e2e.test.js.map +1 -1
- package/dist/lib/features/instance-stats/getReadOnlyUsers.d.ts +5 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.d.ts.map +1 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.js +9 -0
- package/dist/lib/features/instance-stats/getReadOnlyUsers.js.map +1 -0
- package/dist/lib/features/instance-stats/instance-stats-service.d.ts +8 -5
- package/dist/lib/features/instance-stats/instance-stats-service.d.ts.map +1 -1
- package/dist/lib/features/instance-stats/instance-stats-service.js +17 -4
- package/dist/lib/features/instance-stats/instance-stats-service.js.map +1 -1
- package/dist/lib/features/instance-stats/instance-stats-service.test.js +8 -6
- package/dist/lib/features/instance-stats/instance-stats-service.test.js.map +1 -1
- package/dist/lib/features/integration-events/integration-events-service.d.ts +1 -3
- package/dist/lib/features/integration-events/integration-events-service.d.ts.map +1 -1
- package/dist/lib/features/integration-events/integration-events-service.js +1 -3
- package/dist/lib/features/integration-events/integration-events-service.js.map +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.d.ts +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.d.ts.map +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.js +1 -1
- package/dist/lib/features/maintenance/maintenance-controller.js.map +1 -1
- package/dist/lib/features/maintenance/maintenance-service.js +1 -1
- package/dist/lib/features/maintenance/maintenance-service.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-service.e2e.test.js +10 -10
- package/dist/lib/features/metrics/client-metrics/client-metrics-service.e2e.test.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.d.ts +1 -3
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js +2 -4
- package/dist/lib/features/metrics/client-metrics/client-metrics-store-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.d.ts +0 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.js +0 -1
- package/dist/lib/features/metrics/client-metrics/client-metrics.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.d.ts +10 -10
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.js +13 -11
- package/dist/lib/features/metrics/client-metrics/fake-client-metrics-store-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.d.ts +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.d.ts.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.js +3 -3
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.js.map +1 -1
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.test.js +2 -2
- package/dist/lib/features/metrics/client-metrics/metrics-service-v2.test.js.map +1 -1
- package/dist/lib/features/metrics/custom/custom-metrics-controller.d.ts +2 -2
- package/dist/lib/features/metrics/custom/custom-metrics-controller.d.ts.map +1 -1
- package/dist/lib/features/metrics/custom/custom-metrics-controller.js +2 -2
- package/dist/lib/features/metrics/custom/custom-metrics-controller.js.map +1 -1
- package/dist/lib/features/metrics/impact/metrics-translator.js +3 -1
- package/dist/lib/features/metrics/impact/metrics-translator.js.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.d.ts.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.js +1 -0
- package/dist/lib/features/metrics/instance/instance-service.js.map +1 -1
- package/dist/lib/features/metrics/instance/instance-service.test.js +2 -2
- package/dist/lib/features/metrics/instance/instance-service.test.js.map +1 -1
- package/dist/lib/features/metrics/instance/metrics.d.ts +1 -0
- package/dist/lib/features/metrics/instance/metrics.d.ts.map +1 -1
- package/dist/lib/features/metrics/instance/metrics.js +22 -6
- package/dist/lib/features/metrics/instance/metrics.js.map +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.d.ts +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.d.ts.map +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.js +1 -1
- package/dist/lib/features/metrics/last-seen/fake-last-seen-read-model.js.map +1 -1
- package/dist/lib/features/metrics/shared/schema.test.js +0 -1
- package/dist/lib/features/metrics/shared/schema.test.js.map +1 -1
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.d.ts +2 -2
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.d.ts.map +1 -1
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.js +2 -2
- package/dist/lib/features/metrics/sizes/fake-largest-resources-read-model.js.map +1 -1
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.d.ts +1 -2
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.d.ts.map +1 -1
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.js +1 -2
- package/dist/lib/features/metrics/unknown-flags/unknown-flags-service.js.map +1 -1
- package/dist/lib/features/onboarding/fake-onboarding-store.d.ts +2 -2
- package/dist/lib/features/onboarding/fake-onboarding-store.d.ts.map +1 -1
- package/dist/lib/features/onboarding/fake-onboarding-store.js +2 -2
- package/dist/lib/features/onboarding/fake-onboarding-store.js.map +1 -1
- package/dist/lib/features/onboarding/onboarding-service.d.ts +1 -3
- package/dist/lib/features/onboarding/onboarding-service.d.ts.map +1 -1
- package/dist/lib/features/onboarding/onboarding-service.js +2 -4
- package/dist/lib/features/onboarding/onboarding-service.js.map +1 -1
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts +3 -3
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.d.ts.map +1 -1
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js +3 -3
- package/dist/lib/features/personal-dashboard/fake-personal-dashboard-read-model.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/constraint.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/constraint.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/repository/index.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/repository/index.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/gradual-rollout-random.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/remote-address-strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/remote-address-strategy.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/strategy.js.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.d.ts +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.d.ts.map +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.js +1 -1
- package/dist/lib/features/playground/feature-evaluator/strategy/unknown-strategy.js.map +1 -1
- package/dist/lib/features/playground/offline-unleash-client.test.js +6 -2
- package/dist/lib/features/playground/offline-unleash-client.test.js.map +1 -1
- package/dist/lib/features/playground/playground-service.d.ts.map +1 -1
- package/dist/lib/features/playground/playground-service.js +3 -2
- package/dist/lib/features/playground/playground-service.js.map +1 -1
- package/dist/lib/features/playground/playground.test.js +1 -1
- package/dist/lib/features/playground/playground.test.js.map +1 -1
- package/dist/lib/features/private-project/fakePrivateProjectChecker.d.ts +3 -3
- package/dist/lib/features/private-project/fakePrivateProjectChecker.d.ts.map +1 -1
- package/dist/lib/features/private-project/fakePrivateProjectChecker.js +3 -3
- package/dist/lib/features/private-project/fakePrivateProjectChecker.js.map +1 -1
- package/dist/lib/features/private-project/privateProjectStore.d.ts +1 -2
- package/dist/lib/features/private-project/privateProjectStore.d.ts.map +1 -1
- package/dist/lib/features/private-project/privateProjectStore.js +2 -3
- package/dist/lib/features/private-project/privateProjectStore.js.map +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.d.ts +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.d.ts.map +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.js +1 -1
- package/dist/lib/features/project/fake-project-flag-creators-read-model.js.map +1 -1
- package/dist/lib/features/project/project-controller.d.ts +1 -1
- package/dist/lib/features/project/project-controller.d.ts.map +1 -1
- package/dist/lib/features/project/project-controller.js +3 -1
- package/dist/lib/features/project/project-controller.js.map +1 -1
- package/dist/lib/features/project/project-read-model.d.ts +1 -2
- package/dist/lib/features/project/project-read-model.d.ts.map +1 -1
- package/dist/lib/features/project/project-read-model.js +1 -2
- package/dist/lib/features/project/project-read-model.js.map +1 -1
- package/dist/lib/features/project/project-service.e2e.test.js +10 -3
- package/dist/lib/features/project/project-service.e2e.test.js.map +1 -1
- package/dist/lib/features/project/project-store.d.ts +2 -3
- package/dist/lib/features/project/project-store.d.ts.map +1 -1
- package/dist/lib/features/project/project-store.js +43 -3
- package/dist/lib/features/project/project-store.js.map +1 -1
- package/dist/lib/features/project/projects.e2e.test.js +1 -1
- package/dist/lib/features/project/projects.e2e.test.js.map +1 -1
- package/dist/lib/features/project-environments/environment-service.d.ts +1 -0
- package/dist/lib/features/project-environments/environment-service.d.ts.map +1 -1
- package/dist/lib/features/project-environments/environment-service.js +8 -1
- package/dist/lib/features/project-environments/environment-service.js.map +1 -1
- package/dist/lib/features/project-environments/fake-environment-store.d.ts +3 -3
- package/dist/lib/features/project-environments/fake-environment-store.d.ts.map +1 -1
- package/dist/lib/features/project-environments/fake-environment-store.js +5 -5
- package/dist/lib/features/project-environments/fake-environment-store.js.map +1 -1
- package/dist/lib/features/project-insights/project-insights-service.e2e.test.js +1 -1
- package/dist/lib/features/project-insights/project-insights-service.e2e.test.js.map +1 -1
- package/dist/lib/features/project-status/projects-status.e2e.test.js +1 -1
- package/dist/lib/features/project-status/projects-status.e2e.test.js.map +1 -1
- package/dist/lib/features/scheduler/job-service.js +1 -1
- package/dist/lib/features/scheduler/job-service.js.map +1 -1
- package/dist/lib/features/scheduler/job-service.test.js +1 -1
- package/dist/lib/features/scheduler/job-service.test.js.map +1 -1
- package/dist/lib/features/scheduler/job-store.d.ts +0 -1
- package/dist/lib/features/scheduler/job-store.d.ts.map +1 -1
- package/dist/lib/features/scheduler/job-store.js +0 -1
- package/dist/lib/features/scheduler/job-store.js.map +1 -1
- package/dist/lib/features/segment/admin-segment.e2e.test.js +7 -25
- package/dist/lib/features/segment/admin-segment.e2e.test.js.map +1 -1
- package/dist/lib/features/segment/fake-segment-read-model.d.ts +2 -2
- package/dist/lib/features/segment/fake-segment-read-model.d.ts.map +1 -1
- package/dist/lib/features/segment/fake-segment-read-model.js +2 -2
- package/dist/lib/features/segment/fake-segment-read-model.js.map +1 -1
- package/dist/lib/features/segment/segment-controller.d.ts +1 -2
- package/dist/lib/features/segment/segment-controller.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-controller.js +6 -4
- package/dist/lib/features/segment/segment-controller.js.map +1 -1
- package/dist/lib/features/segment/segment-service-interface.d.ts +2 -2
- package/dist/lib/features/segment/segment-service-interface.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-service.d.ts +3 -3
- package/dist/lib/features/segment/segment-service.d.ts.map +1 -1
- package/dist/lib/features/segment/segment-service.js +31 -5
- package/dist/lib/features/segment/segment-service.js.map +1 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.d.ts.map +1 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.js +3 -1
- package/dist/lib/features/tag-type/fake-tag-type-store.js.map +1 -1
- package/dist/lib/features/tag-type/tag-type.d.ts +1 -2
- package/dist/lib/features/tag-type/tag-type.d.ts.map +1 -1
- package/dist/lib/features/tag-type/tag-type.js +1 -2
- package/dist/lib/features/tag-type/tag-type.js.map +1 -1
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.d.ts +4 -4
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.d.ts.map +1 -1
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.js +4 -4
- package/dist/lib/features/traffic-data-usage/fake-traffic-data-usage-store.js.map +1 -1
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.d.ts +1 -2
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.d.ts.map +1 -1
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.js +3 -4
- package/dist/lib/features/traffic-data-usage/traffic-data-usage-store.js.map +1 -1
- package/dist/lib/features/ui-observability-controller/ui-observability-controller.js +1 -1
- package/dist/lib/features/ui-observability-controller/ui-observability-controller.js.map +1 -1
- package/dist/lib/features/unique-connection/unique-connection-service.d.ts +0 -1
- package/dist/lib/features/unique-connection/unique-connection-service.d.ts.map +1 -1
- package/dist/lib/features/unique-connection/unique-connection-service.js +0 -1
- package/dist/lib/features/unique-connection/unique-connection-service.js.map +1 -1
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.d.ts +2 -2
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.d.ts.map +1 -1
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.js +2 -2
- package/dist/lib/features/user-subscriptions/fake-user-subscriptions-read-model.js.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-read-model.test.js +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-read-model.test.js.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.d.ts +1 -2
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.d.ts.map +1 -1
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.js +1 -2
- package/dist/lib/features/user-subscriptions/user-subscriptions-service.js.map +1 -1
- package/dist/lib/features/users/createUserService.d.ts.map +1 -1
- package/dist/lib/features/users/createUserService.js +3 -1
- package/dist/lib/features/users/createUserService.js.map +1 -1
- package/dist/lib/features/users/user-store.d.ts +1 -2
- package/dist/lib/features/users/user-store.d.ts.map +1 -1
- package/dist/lib/features/users/user-store.js +3 -2
- package/dist/lib/features/users/user-store.js.map +1 -1
- package/dist/lib/features/users/user-updates-read-model.d.ts +2 -2
- package/dist/lib/features/users/user-updates-read-model.d.ts.map +1 -1
- package/dist/lib/features/users/user-updates-read-model.js +2 -2
- package/dist/lib/features/users/user-updates-read-model.js.map +1 -1
- package/dist/lib/logger.test.js +2 -2
- package/dist/lib/logger.test.js.map +1 -1
- package/dist/lib/metric-events.d.ts +15 -2
- package/dist/lib/metric-events.d.ts.map +1 -1
- package/dist/lib/metric-events.js +2 -1
- package/dist/lib/metric-events.js.map +1 -1
- package/dist/lib/metrics.d.ts.map +1 -1
- package/dist/lib/metrics.js +65 -4
- package/dist/lib/metrics.js.map +1 -1
- package/dist/lib/metrics.test.js +13 -8
- package/dist/lib/metrics.test.js.map +1 -1
- package/dist/lib/middleware/api-token-middleware.js +1 -1
- package/dist/lib/middleware/api-token-middleware.js.map +1 -1
- package/dist/lib/middleware/api-token-middleware.test.js +4 -1
- package/dist/lib/middleware/api-token-middleware.test.js.map +1 -1
- package/dist/lib/middleware/audit-middleware.js +1 -1
- package/dist/lib/middleware/audit-middleware.js.map +1 -1
- package/dist/lib/middleware/catch-all-error-handler.js +1 -1
- package/dist/lib/middleware/catch-all-error-handler.js.map +1 -1
- package/dist/lib/middleware/conditional-middleware.d.ts.map +1 -1
- package/dist/lib/middleware/conditional-middleware.js +2 -5
- package/dist/lib/middleware/conditional-middleware.js.map +1 -1
- package/dist/lib/middleware/content_type_checker.test.js +3 -6
- package/dist/lib/middleware/content_type_checker.test.js.map +1 -1
- package/dist/lib/middleware/cors-origin-middleware.js +1 -1
- package/dist/lib/middleware/cors-origin-middleware.js.map +1 -1
- package/dist/lib/middleware/demo-authentication.js +3 -3
- package/dist/lib/middleware/demo-authentication.js.map +1 -1
- package/dist/lib/middleware/no-authentication.js +3 -3
- package/dist/lib/middleware/no-authentication.js.map +1 -1
- package/dist/lib/middleware/oss-authentication.test.js +2 -2
- package/dist/lib/middleware/oss-authentication.test.js.map +1 -1
- package/dist/lib/middleware/pat-middleware.js +1 -1
- package/dist/lib/middleware/pat-middleware.js.map +1 -1
- package/dist/lib/middleware/rbac-middleware.js +1 -1
- package/dist/lib/middleware/rbac-middleware.js.map +1 -1
- package/dist/lib/middleware/rbac-middleware.test.js +7 -3
- package/dist/lib/middleware/rbac-middleware.test.js.map +1 -1
- package/dist/lib/middleware/response-time-metrics.js +1 -1
- package/dist/lib/middleware/response-time-metrics.js.map +1 -1
- package/dist/lib/middleware/response-time-metrics.test.js +4 -1
- package/dist/lib/middleware/response-time-metrics.test.js.map +1 -1
- package/dist/lib/middleware/secure-headers.d.ts.map +1 -1
- package/dist/lib/middleware/secure-headers.js +3 -1
- package/dist/lib/middleware/secure-headers.js.map +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js +1 -1
- package/dist/lib/openapi/meta-schema-rules.test.js.map +1 -1
- package/dist/lib/openapi/spec/addon-create-update-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/addon-create-update-schema.js +6 -6
- package/dist/lib/openapi/spec/addon-create-update-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-parameter-schema.js +1 -1
- package/dist/lib/openapi/spec/addon-parameter-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/addon-schema.js +1 -1
- package/dist/lib/openapi/spec/addon-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addon-type-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/addon-type-schema.js +2 -2
- package/dist/lib/openapi/spec/addon-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/addons-schema.d.ts +5 -5
- package/dist/lib/openapi/spec/addons-schema.js +2 -2
- package/dist/lib/openapi/spec/addons-schema.js.map +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/admin-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.js +1 -1
- package/dist/lib/openapi/spec/admin-segment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/advanced-playground-environment-feature-schema.d.ts +14 -14
- package/dist/lib/openapi/spec/advanced-playground-feature-schema.d.ts +28 -28
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts +61 -59
- package/dist/lib/openapi/spec/advanced-playground-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/api-token-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/api-token-schema.js +1 -1
- package/dist/lib/openapi/spec/api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/api-token-schema.test.js +5 -1
- package/dist/lib/openapi/spec/api-token-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/api-tokens-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/api-tokens-schema.js +1 -1
- package/dist/lib/openapi/spec/api-tokens-schema.js.map +1 -1
- package/dist/lib/openapi/spec/application-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/application-schema.js +1 -1
- package/dist/lib/openapi/spec/application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/applications-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/bulk-metrics-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.js +2 -2
- package/dist/lib/openapi/spec/bulk-registration-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-feature-schema.d.ts +20 -18
- package/dist/lib/openapi/spec/client-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-feature-schema.js +3 -3
- package/dist/lib/openapi/spec/client-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-features-delta-schema.d.ts +37 -35
- package/dist/lib/openapi/spec/client-features-delta-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.d.ts +38 -36
- package/dist/lib/openapi/spec/client-features-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/client-features-schema.js +1 -1
- package/dist/lib/openapi/spec/client-features-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.js +1 -1
- package/dist/lib/openapi/spec/client-metrics-schema.js.map +1 -1
- package/dist/lib/openapi/spec/client-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/client-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/clone-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.d.ts +7 -5
- package/dist/lib/openapi/spec/constraint-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.js +2 -2
- package/dist/lib/openapi/spec/constraint-schema.js.map +1 -1
- package/dist/lib/openapi/spec/constraint-schema.test.js +2 -0
- package/dist/lib/openapi/spec/constraint-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/context-field-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/context-field-schema.js +7 -2
- package/dist/lib/openapi/spec/context-field-schema.js.map +1 -1
- package/dist/lib/openapi/spec/context-fields-schema.d.ts +7 -2
- package/dist/lib/openapi/spec/context-fields-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/context-query-parameters.d.ts +12 -0
- package/dist/lib/openapi/spec/context-query-parameters.d.ts.map +1 -0
- package/dist/lib/openapi/spec/context-query-parameters.js +12 -0
- package/dist/lib/openapi/spec/context-query-parameters.js.map +1 -0
- package/dist/lib/openapi/spec/create-api-token-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-api-token-schema.js +1 -1
- package/dist/lib/openapi/spec/create-api-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-application-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-application-schema.js +1 -1
- package/dist/lib/openapi/spec/create-application-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-context-field-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/create-context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-feature-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/create-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/create-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/create-feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/create-feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.js +1 -1
- package/dist/lib/openapi/spec/create-pat-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-strategy-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-strategy-schema.js +2 -2
- package/dist/lib/openapi/spec/create-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-strategy-variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js +3 -3
- package/dist/lib/openapi/spec/create-strategy-variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/create-tag-schema.js +1 -1
- package/dist/lib/openapi/spec/create-tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/create-user-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-user-response-schema.js +9 -2
- package/dist/lib/openapi/spec/create-user-response-schema.js.map +1 -1
- package/dist/lib/openapi/spec/create-user-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/create-user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/create-user-schema.js +8 -1
- package/dist/lib/openapi/spec/create-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/edge-token-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/edge-token-schema.js +3 -3
- package/dist/lib/openapi/spec/edge-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.d.ts +15 -13
- package/dist/lib/openapi/spec/environment-project-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.js +1 -1
- package/dist/lib/openapi/spec/environment-project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environment-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/environment-schema.js +1 -1
- package/dist/lib/openapi/spec/environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/environments-project-schema.d.ts +26 -24
- package/dist/lib/openapi/spec/environments-project-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/environments-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/event-schema.d.ts +7 -7
- package/dist/lib/openapi/spec/event-schema.js +1 -1
- package/dist/lib/openapi/spec/event-schema.js.map +1 -1
- package/dist/lib/openapi/spec/event-search-response-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/events-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/export-query-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/export-query-schema.js +1 -1
- package/dist/lib/openapi/spec/export-query-schema.js.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.d.ts +1991 -529
- package/dist/lib/openapi/spec/export-result-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/export-result-schema.js +6 -0
- package/dist/lib/openapi/spec/export-result-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts +372 -107
- package/dist/lib/openapi/spec/feature-environment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-environment-schema.js +12 -0
- package/dist/lib/openapi/spec/feature-environment-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-events-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/feature-schema.d.ts +950 -215
- package/dist/lib/openapi/spec/feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-schema.js +17 -0
- package/dist/lib/openapi/spec/feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-search-environment-schema.d.ts +729 -213
- package/dist/lib/openapi/spec/feature-search-environment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-search-response-schema.d.ts +745 -229
- package/dist/lib/openapi/spec/feature-search-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/feature-tag-schema.js +2 -2
- package/dist/lib/openapi/spec/feature-tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-type-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/feature-type-schema.js +2 -2
- package/dist/lib/openapi/spec/feature-type-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-types-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/feature-types-schema.js +1 -1
- package/dist/lib/openapi/spec/feature-types-schema.js.map +1 -1
- package/dist/lib/openapi/spec/feature-variants-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/group-schema.d.ts +14 -2
- package/dist/lib/openapi/spec/group-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/group-user-model-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.d.ts +29 -5
- package/dist/lib/openapi/spec/groups-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/groups-schema.js +1 -1
- package/dist/lib/openapi/spec/groups-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-overview-schema.d.ts +1784 -535
- package/dist/lib/openapi/spec/health-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/health-overview-schema.js +3 -3
- package/dist/lib/openapi/spec/health-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/health-report-schema.d.ts +1783 -534
- package/dist/lib/openapi/spec/health-report-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts +66 -27262
- package/dist/lib/openapi/spec/import-toggles-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-schema.js +40 -31
- package/dist/lib/openapi/spec/import-toggles-schema.js.map +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js +1 -1
- package/dist/lib/openapi/spec/import-toggles-validate-schema.js.map +1 -1
- package/dist/lib/openapi/spec/index.d.ts +3 -0
- package/dist/lib/openapi/spec/index.d.ts.map +1 -1
- package/dist/lib/openapi/spec/index.js +3 -0
- package/dist/lib/openapi/spec/index.js.map +1 -1
- package/dist/lib/openapi/spec/instance-admin-stats-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/instance-admin-stats-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/instance-admin-stats-schema.js +6 -0
- package/dist/lib/openapi/spec/instance-admin-stats-schema.js.map +1 -1
- package/dist/lib/openapi/spec/integration-event-schema.d.ts +12 -12
- package/dist/lib/openapi/spec/integration-events-schema.d.ts +24 -24
- package/dist/lib/openapi/spec/me-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/me-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/metric-query-schema.d.ts +44 -0
- package/dist/lib/openapi/spec/metric-query-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/metric-query-schema.js +42 -0
- package/dist/lib/openapi/spec/metric-query-schema.js.map +1 -0
- package/dist/lib/openapi/spec/pat-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/pat-schema.js +1 -1
- package/dist/lib/openapi/spec/pat-schema.js.map +1 -1
- package/dist/lib/openapi/spec/pats-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/pats-schema.js +1 -1
- package/dist/lib/openapi/spec/pats-schema.js.map +1 -1
- package/dist/lib/openapi/spec/permission-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/permission-schema.js +1 -1
- package/dist/lib/openapi/spec/permission-schema.js.map +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-project-details-schema.js.map +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.js +1 -1
- package/dist/lib/openapi/spec/personal-dashboard-schema.js.map +1 -1
- package/dist/lib/openapi/spec/playground-constraint-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/playground-constraint-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts +17 -15
- package/dist/lib/openapi/spec/playground-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.d.ts +33 -31
- package/dist/lib/openapi/spec/playground-response-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.test.js +1 -1
- package/dist/lib/openapi/spec/playground-response-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/playground-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/playground-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts +10 -8
- package/dist/lib/openapi/spec/playground-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/profile-schema.d.ts +947 -214
- package/dist/lib/openapi/spec/profile-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/project-environment-schema.d.ts +9 -9
- package/dist/lib/openapi/spec/project-feature-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-features-schema.d.ts +4 -4
- package/dist/lib/openapi/spec/project-insights-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-insights-schema.js +2 -2
- package/dist/lib/openapi/spec/project-insights-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-overview-schema.d.ts +1781 -532
- package/dist/lib/openapi/spec/project-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/project-overview-schema.js +2 -2
- package/dist/lib/openapi/spec/project-overview-schema.js.map +1 -1
- package/dist/lib/openapi/spec/project-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/project-schema.js +2 -2
- package/dist/lib/openapi/spec/project-schema.js.map +1 -1
- package/dist/lib/openapi/spec/projects-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/public-signup-token-create-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/public-signup-token-create-schema.js +1 -1
- package/dist/lib/openapi/spec/public-signup-token-create-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/public-signup-token-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.js +1 -1
- package/dist/lib/openapi/spec/public-signup-token-schema.js.map +1 -1
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts +15 -3
- package/dist/lib/openapi/spec/public-signup-tokens-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/push-variants-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/release-plan-milestone-schema.d.ts +45 -25
- package/dist/lib/openapi/spec/release-plan-milestone-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-milestone-schema.js +12 -1
- package/dist/lib/openapi/spec/release-plan-milestone-schema.js.map +1 -1
- package/dist/lib/openapi/spec/release-plan-milestone-strategy-schema.d.ts +15 -13
- package/dist/lib/openapi/spec/release-plan-milestone-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-schema.d.ts +283 -48
- package/dist/lib/openapi/spec/release-plan-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/release-plan-schema.js +13 -0
- package/dist/lib/openapi/spec/release-plan-schema.js.map +1 -1
- package/dist/lib/openapi/spec/release-plan-template-schema.d.ts +68 -48
- package/dist/lib/openapi/spec/release-plan-template-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/resource-limits-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/resource-limits-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/resource-limits-schema.js +6 -0
- package/dist/lib/openapi/spec/resource-limits-schema.js.map +1 -1
- package/dist/lib/openapi/spec/safeguard-schema.d.ts +149 -0
- package/dist/lib/openapi/spec/safeguard-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/safeguard-schema.js +59 -0
- package/dist/lib/openapi/spec/safeguard-schema.js.map +1 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.d.ts +24 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.d.ts.map +1 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.js +22 -0
- package/dist/lib/openapi/spec/safeguard-trigger-condition-schema.js.map +1 -0
- package/dist/lib/openapi/spec/search-features-schema.d.ts +1578 -548
- package/dist/lib/openapi/spec/search-features-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segments-schema.d.ts +9 -7
- package/dist/lib/openapi/spec/segments-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/segments-schema.js +1 -1
- package/dist/lib/openapi/spec/segments-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategies-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/strategy-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/strategy-variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/tag-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/tag-schema.js +2 -2
- package/dist/lib/openapi/spec/tag-schema.js.map +1 -1
- package/dist/lib/openapi/spec/tag-with-version-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/tags-bulk-add-schema.d.ts +4 -4
- package/dist/lib/openapi/spec/tags-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/ui-config-schema.d.ts +6 -0
- package/dist/lib/openapi/spec/ui-config-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-context-field-schema.d.ts +6 -1
- package/dist/lib/openapi/spec/update-context-field-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-context-field-schema.js +6 -1
- package/dist/lib/openapi/spec/update-context-field-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/update-feature-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts +6 -4
- package/dist/lib/openapi/spec/update-feature-strategy-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js +1 -1
- package/dist/lib/openapi/spec/update-feature-type-lifetime-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.js +1 -1
- package/dist/lib/openapi/spec/update-strategy-schema.js.map +1 -1
- package/dist/lib/openapi/spec/update-tags-schema.d.ts +2 -2
- package/dist/lib/openapi/spec/update-user-schema.d.ts +1 -1
- package/dist/lib/openapi/spec/update-user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/update-user-schema.js +8 -1
- package/dist/lib/openapi/spec/update-user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/upsert-segment-schema.d.ts +5 -3
- package/dist/lib/openapi/spec/upsert-segment-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/upsert-segment-schema.test.js +6 -2
- package/dist/lib/openapi/spec/upsert-segment-schema.test.js.map +1 -1
- package/dist/lib/openapi/spec/user-access-overview-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/user-access-overview-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/user-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/user-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/user-schema.js +7 -1
- package/dist/lib/openapi/spec/user-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts +28 -4
- package/dist/lib/openapi/spec/users-groups-base-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/users-schema.d.ts +8 -2
- package/dist/lib/openapi/spec/users-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/users-schema.js +1 -1
- package/dist/lib/openapi/spec/users-schema.js.map +1 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts +7 -1
- package/dist/lib/openapi/spec/users-search-schema.d.ts.map +1 -1
- package/dist/lib/openapi/spec/validated-edge-tokens-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/variant-schema.d.ts +3 -3
- package/dist/lib/openapi/spec/variant-schema.js +3 -3
- package/dist/lib/openapi/spec/variant-schema.js.map +1 -1
- package/dist/lib/openapi/spec/variants-schema.d.ts +3 -3
- package/dist/lib/openapi/util/api-operation.d.ts +1 -3
- package/dist/lib/openapi/util/api-operation.d.ts.map +1 -1
- package/dist/lib/openapi/util/openapi-tags.d.ts +40 -40
- package/dist/lib/openapi/util/openapi-tags.js +20 -20
- package/dist/lib/openapi/util/openapi-tags.js.map +1 -1
- package/dist/lib/openapi/validate.d.ts +2 -2
- package/dist/lib/openapi/validate.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/addon.d.ts +1 -2
- package/dist/lib/routes/admin-api/addon.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/addon.js +1 -2
- package/dist/lib/routes/admin-api/addon.js.map +1 -1
- package/dist/lib/routes/admin-api/api-token.js +2 -2
- package/dist/lib/routes/admin-api/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/event.d.ts +1 -1
- package/dist/lib/routes/admin-api/event.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/event.js +1 -1
- package/dist/lib/routes/admin-api/event.js.map +1 -1
- package/dist/lib/routes/admin-api/events.test.js +1 -1
- package/dist/lib/routes/admin-api/events.test.js.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.d.ts +1 -2
- package/dist/lib/routes/admin-api/feature-type.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/feature-type.js +2 -3
- package/dist/lib/routes/admin-api/feature-type.js.map +1 -1
- package/dist/lib/routes/admin-api/instance-admin.d.ts +1 -3
- package/dist/lib/routes/admin-api/instance-admin.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/instance-admin.js +4 -4
- package/dist/lib/routes/admin-api/instance-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/metrics.d.ts +2 -3
- package/dist/lib/routes/admin-api/metrics.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/metrics.js +2 -3
- package/dist/lib/routes/admin-api/metrics.js.map +1 -1
- package/dist/lib/routes/admin-api/project/api-token.d.ts +0 -1
- package/dist/lib/routes/admin-api/project/api-token.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/project/api-token.js +3 -4
- package/dist/lib/routes/admin-api/project/api-token.js.map +1 -1
- package/dist/lib/routes/admin-api/project/health-report.js +1 -1
- package/dist/lib/routes/admin-api/project/health-report.js.map +1 -1
- package/dist/lib/routes/admin-api/public-signup.d.ts +2 -4
- package/dist/lib/routes/admin-api/public-signup.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/public-signup.js +2 -4
- package/dist/lib/routes/admin-api/public-signup.js.map +1 -1
- package/dist/lib/routes/admin-api/search/index.d.ts +1 -1
- package/dist/lib/routes/admin-api/search/index.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/search/index.js +1 -1
- package/dist/lib/routes/admin-api/search/index.js.map +1 -1
- package/dist/lib/routes/admin-api/strategy.d.ts +1 -2
- package/dist/lib/routes/admin-api/strategy.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/strategy.js +7 -8
- package/dist/lib/routes/admin-api/strategy.js.map +1 -1
- package/dist/lib/routes/admin-api/tag.d.ts +2 -4
- package/dist/lib/routes/admin-api/tag.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/tag.js +4 -6
- package/dist/lib/routes/admin-api/tag.js.map +1 -1
- package/dist/lib/routes/admin-api/telemetry.d.ts +1 -1
- package/dist/lib/routes/admin-api/telemetry.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/telemetry.js +1 -1
- package/dist/lib/routes/admin-api/telemetry.js.map +1 -1
- package/dist/lib/routes/admin-api/user/pat.js +3 -3
- package/dist/lib/routes/admin-api/user/pat.js.map +1 -1
- package/dist/lib/routes/admin-api/user/user.test.js +2 -2
- package/dist/lib/routes/admin-api/user/user.test.js.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.d.ts +3 -3
- package/dist/lib/routes/admin-api/user-admin.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-admin.js +4 -4
- package/dist/lib/routes/admin-api/user-admin.js.map +1 -1
- package/dist/lib/routes/admin-api/user-feedback.d.ts +0 -1
- package/dist/lib/routes/admin-api/user-feedback.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-feedback.js +2 -3
- package/dist/lib/routes/admin-api/user-feedback.js.map +1 -1
- package/dist/lib/routes/admin-api/user-splash.d.ts +0 -1
- package/dist/lib/routes/admin-api/user-splash.d.ts.map +1 -1
- package/dist/lib/routes/admin-api/user-splash.js +2 -2
- package/dist/lib/routes/admin-api/user-splash.js.map +1 -1
- package/dist/lib/routes/auth/reset-password-controller.d.ts +0 -1
- package/dist/lib/routes/auth/reset-password-controller.d.ts.map +1 -1
- package/dist/lib/routes/auth/reset-password-controller.js +0 -1
- package/dist/lib/routes/auth/reset-password-controller.js.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.d.ts +0 -1
- package/dist/lib/routes/auth/simple-password-provider.d.ts.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.js +0 -1
- package/dist/lib/routes/auth/simple-password-provider.js.map +1 -1
- package/dist/lib/routes/auth/simple-password-provider.test.js +2 -2
- package/dist/lib/routes/auth/simple-password-provider.test.js.map +1 -1
- package/dist/lib/routes/backstage.js +3 -3
- package/dist/lib/routes/backstage.js.map +1 -1
- package/dist/lib/routes/health-check.d.ts +0 -2
- package/dist/lib/routes/health-check.d.ts.map +1 -1
- package/dist/lib/routes/health-check.js +0 -2
- package/dist/lib/routes/health-check.js.map +1 -1
- package/dist/lib/routes/logout.test.js +5 -5
- package/dist/lib/routes/logout.test.js.map +1 -1
- package/dist/lib/routes/public-invite.d.ts +0 -1
- package/dist/lib/routes/public-invite.d.ts.map +1 -1
- package/dist/lib/routes/public-invite.js +0 -1
- package/dist/lib/routes/public-invite.js.map +1 -1
- package/dist/lib/schema/constraint-value-types.d.ts +1 -1
- package/dist/lib/schema/constraint-value-types.d.ts.map +1 -1
- package/dist/lib/server-impl.d.ts +5 -6
- package/dist/lib/server-impl.d.ts.map +1 -1
- package/dist/lib/server-impl.js +13 -4
- package/dist/lib/server-impl.js.map +1 -1
- package/dist/lib/services/access-service.d.ts +2 -1
- package/dist/lib/services/access-service.d.ts.map +1 -1
- package/dist/lib/services/access-service.js +20 -1
- package/dist/lib/services/access-service.js.map +1 -1
- package/dist/lib/services/access-service.test.js +22 -6
- package/dist/lib/services/access-service.test.js.map +1 -1
- package/dist/lib/services/account-service.d.ts.map +1 -1
- package/dist/lib/services/account-service.js +1 -0
- package/dist/lib/services/account-service.js.map +1 -1
- package/dist/lib/services/addon-service.d.ts +2 -2
- package/dist/lib/services/addon-service.d.ts.map +1 -1
- package/dist/lib/services/addon-service.js +22 -21
- package/dist/lib/services/addon-service.js.map +1 -1
- package/dist/lib/services/addon-service.test.js +1 -1
- package/dist/lib/services/addon-service.test.js.map +1 -1
- package/dist/lib/services/api-token-service.d.ts.map +1 -1
- package/dist/lib/services/api-token-service.js +3 -1
- package/dist/lib/services/api-token-service.js.map +1 -1
- package/dist/lib/services/api-token-service.limit.test.js.map +1 -1
- package/dist/lib/services/api-token-service.test.js +2 -2
- package/dist/lib/services/api-token-service.test.js.map +1 -1
- package/dist/lib/services/client-spec-service.d.ts +1 -2
- package/dist/lib/services/client-spec-service.d.ts.map +1 -1
- package/dist/lib/services/client-spec-service.js +1 -2
- package/dist/lib/services/client-spec-service.js.map +1 -1
- package/dist/lib/services/context-schema.d.ts.map +1 -1
- package/dist/lib/services/context-schema.js +1 -0
- package/dist/lib/services/context-schema.js.map +1 -1
- package/dist/lib/services/favorites-service.d.ts +1 -3
- package/dist/lib/services/favorites-service.d.ts.map +1 -1
- package/dist/lib/services/favorites-service.js +2 -4
- package/dist/lib/services/favorites-service.js.map +1 -1
- package/dist/lib/services/feature-tag-service.d.ts.map +1 -1
- package/dist/lib/services/feature-tag-service.js +1 -0
- package/dist/lib/services/feature-tag-service.js.map +1 -1
- package/dist/lib/services/group-service.d.ts +2 -2
- package/dist/lib/services/group-service.d.ts.map +1 -1
- package/dist/lib/services/group-service.js +3 -2
- package/dist/lib/services/group-service.js.map +1 -1
- package/dist/lib/services/health-service.d.ts +1 -3
- package/dist/lib/services/health-service.d.ts.map +1 -1
- package/dist/lib/services/health-service.js +1 -2
- package/dist/lib/services/health-service.js.map +1 -1
- package/dist/lib/services/index.d.ts +1 -1
- package/dist/lib/services/index.d.ts.map +1 -1
- package/dist/lib/services/index.js +5 -4
- package/dist/lib/services/index.js.map +1 -1
- package/dist/lib/services/openapi-service.js +7 -5
- package/dist/lib/services/openapi-service.js.map +1 -1
- package/dist/lib/services/public-signup-token-service.d.ts +0 -1
- package/dist/lib/services/public-signup-token-service.d.ts.map +1 -1
- package/dist/lib/services/public-signup-token-service.js +0 -1
- package/dist/lib/services/public-signup-token-service.js.map +1 -1
- package/dist/lib/services/reset-token-service.js +3 -3
- package/dist/lib/services/reset-token-service.js.map +1 -1
- package/dist/lib/services/strategy-service.d.ts +1 -2
- package/dist/lib/services/strategy-service.d.ts.map +1 -1
- package/dist/lib/services/strategy-service.js +2 -3
- package/dist/lib/services/strategy-service.js.map +1 -1
- package/dist/lib/services/user-service.d.ts +3 -0
- package/dist/lib/services/user-service.d.ts.map +1 -1
- package/dist/lib/services/user-service.js +11 -7
- package/dist/lib/services/user-service.js.map +1 -1
- package/dist/lib/services/user-service.test.js +28 -1
- package/dist/lib/services/user-service.test.js.map +1 -1
- package/dist/lib/services/version-service.d.ts +7 -1
- package/dist/lib/services/version-service.d.ts.map +1 -1
- package/dist/lib/services/version-service.js +5 -1
- package/dist/lib/services/version-service.js.map +1 -1
- package/dist/lib/services/version-service.test.js +44 -0
- package/dist/lib/services/version-service.test.js.map +1 -1
- package/dist/lib/types/experimental.d.ts +1 -1
- package/dist/lib/types/experimental.d.ts.map +1 -1
- package/dist/lib/types/experimental.js +13 -7
- package/dist/lib/types/experimental.js.map +1 -1
- package/dist/lib/types/model.d.ts +6 -1
- package/dist/lib/types/model.d.ts.map +1 -1
- package/dist/lib/types/model.js +1 -0
- package/dist/lib/types/model.js.map +1 -1
- package/dist/lib/types/permissions.d.ts +1 -0
- package/dist/lib/types/permissions.d.ts.map +1 -1
- package/dist/lib/types/permissions.js +2 -0
- package/dist/lib/types/permissions.js.map +1 -1
- package/dist/lib/types/user.d.ts +6 -1
- package/dist/lib/types/user.d.ts.map +1 -1
- package/dist/lib/types/user.js +3 -1
- package/dist/lib/types/user.js.map +1 -1
- package/dist/lib/ui-config/ui-config-service.d.ts.map +1 -1
- package/dist/lib/ui-config/ui-config-service.js.map +1 -1
- package/dist/lib/ui-config/ui-config.test.js +2 -2
- package/dist/lib/ui-config/ui-config.test.js.map +1 -1
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.d.ts.map +1 -1
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.js +1 -0
- package/dist/lib/users/inactive/fakes/fake-inactive-users-store.js.map +1 -1
- package/dist/lib/users/inactive/inactive-users-store.d.ts +1 -3
- package/dist/lib/users/inactive/inactive-users-store.d.ts.map +1 -1
- package/dist/lib/users/inactive/inactive-users-store.js +1 -3
- package/dist/lib/users/inactive/inactive-users-store.js.map +1 -1
- package/dist/lib/util/anonymise.test.js.map +1 -1
- package/dist/lib/util/batchExecute.d.ts.map +1 -1
- package/dist/lib/util/batchExecute.js +3 -1
- package/dist/lib/util/batchExecute.js.map +1 -1
- package/dist/lib/util/flag-resolver.d.ts.map +1 -1
- package/dist/lib/util/flag-resolver.js +11 -3
- package/dist/lib/util/flag-resolver.js.map +1 -1
- package/dist/lib/util/flag-resolver.test.js +66 -15
- package/dist/lib/util/flag-resolver.test.js.map +1 -1
- package/dist/lib/util/graceful-shutdown.js +1 -1
- package/dist/lib/util/graceful-shutdown.js.map +1 -1
- package/dist/lib/util/parseEnvVar.d.ts +2 -0
- package/dist/lib/util/parseEnvVar.d.ts.map +1 -1
- package/dist/lib/util/parseEnvVar.js +21 -1
- package/dist/lib/util/parseEnvVar.js.map +1 -1
- package/dist/lib/util/parseEnvVar.test.js +24 -1
- package/dist/lib/util/parseEnvVar.test.js.map +1 -1
- package/dist/lib/util/postgres-version-checker.test.js +17 -5
- package/dist/lib/util/postgres-version-checker.test.js.map +1 -1
- package/dist/lib/util/semver.js +1 -1
- package/dist/lib/util/semver.js.map +1 -1
- package/dist/lib/util/validateJsonString.js +1 -1
- package/dist/lib/util/validateJsonString.js.map +1 -1
- package/dist/mailtemplates/getting-started/getting-started.html.mustache +1 -1
- package/dist/migrations/20251118131212-edge-observability-hosting.d.ts +3 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.d.ts.map +1 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.js +14 -0
- package/dist/migrations/20251118131212-edge-observability-hosting.js.map +1 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.d.ts +3 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.d.ts.map +1 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.js +45 -0
- package/dist/migrations/20251209090115-add-default-release-plan-template.js.map +1 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.d.ts +3 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.d.ts.map +1 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.js +8 -0
- package/dist/migrations/20251210144308-add-project-column-to-context-fields.js.map +1 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.d.ts +3 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.d.ts.map +1 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.js +24 -0
- package/dist/migrations/20251218153722-predefined-project-role-reader.js.map +1 -0
- package/dist/migrations/20260106164443-users-seat-type.d.ts +3 -0
- package/dist/migrations/20260106164443-users-seat-type.d.ts.map +1 -0
- package/dist/migrations/20260106164443-users-seat-type.js +8 -0
- package/dist/migrations/20260106164443-users-seat-type.js.map +1 -0
- package/dist/migrations/20260112111353-add-project-context-permission.d.ts +3 -0
- package/dist/migrations/20260112111353-add-project-context-permission.d.ts.map +1 -0
- package/dist/migrations/20260112111353-add-project-context-permission.js +9 -0
- package/dist/migrations/20260112111353-add-project-context-permission.js.map +1 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.d.ts +3 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.d.ts.map +1 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.js +14 -0
- package/dist/migrations/20260115122651-project-owner-crud-project-context.js.map +1 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.d.ts +3 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.d.ts.map +1 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.js +14 -0
- package/dist/migrations/20260115122720-project-owner-crud-project-segment.js.map +1 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.d.ts +3 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.d.ts.map +1 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.js +8 -0
- package/dist/migrations/20260119100647-add-api-key-revision-id-to-edge-observability.js.map +1 -0
- package/dist/server-dev.js +6 -2
- package/dist/server-dev.js.map +1 -1
- package/dist/test/arbitraries.test.d.ts.map +1 -1
- package/dist/test/arbitraries.test.js +1 -0
- package/dist/test/arbitraries.test.js.map +1 -1
- package/dist/test/config/create-config.test.js +2 -2
- package/dist/test/config/create-config.test.js.map +1 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js +4 -1
- package/dist/test/e2e/api/admin/addon.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js +6 -3
- package/dist/test/e2e/api/admin/api-token.auth.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/api-token.e2e.test.js +12 -3
- package/dist/test/e2e/api/admin/api-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/conditional-middleware.e2e.test.js +8 -8
- package/dist/test/e2e/api/admin/conditional-middleware.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.js +81 -0
- package/dist/test/e2e/api/admin/context-api-include-query-params.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/admin/feature-type.test.js +4 -1
- package/dist/test/e2e/api/admin/feature-type.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feature.custom-auth.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/feature.custom-auth.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/feedback.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/feedback.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/instance-admin.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/metrics.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/metrics.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/playground.e2e.test.js +12 -11
- package/dist/test/e2e/api/admin/playground.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/project.api.tokens.e2e.test.js +5 -1
- package/dist/test/e2e/api/admin/project/project.api.tokens.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/project.health.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/project/project.health.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js +2 -2
- package/dist/test/e2e/api/admin/project/variants.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/project-context.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.js +102 -0
- package/dist/test/e2e/api/admin/project-context.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/admin/public-signup-token.e2e.test.js +12 -12
- package/dist/test/e2e/api/admin/public-signup-token.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/splash.e2e.test.js +3 -3
- package/dist/test/e2e/api/admin/splash.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/admin/user/pat.e2e.test.d.ts +1 -1
- package/dist/test/e2e/api/admin/user/pat.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js +1 -1
- package/dist/test/e2e/api/admin/user-admin.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/auth/reset-password-controller.e2e.test.js +3 -0
- package/dist/test/e2e/api/auth/reset-password-controller.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/auth/simple-password-provider.e2e.test.js +3 -0
- package/dist/test/e2e/api/auth/simple-password-provider.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.d.ts +2 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.d.ts.map +1 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.js +173 -0
- package/dist/test/e2e/api/client/bulk-metrics-rejections.e2e.test.js.map +1 -0
- package/dist/test/e2e/api/client/feature.auth-none.e2e.test.js +1 -1
- package/dist/test/e2e/api/client/feature.auth-none.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.e2e.test.js +15 -2
- package/dist/test/e2e/api/client/feature.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.optimal304.e2e.test.js +254 -113
- package/dist/test/e2e/api/client/feature.optimal304.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/feature.token.access.e2e.test.js +1 -1
- package/dist/test/e2e/api/client/feature.token.access.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/metrics.e2e.test.js +2 -1
- package/dist/test/e2e/api/client/metrics.e2e.test.js.map +1 -1
- package/dist/test/e2e/api/client/register.e2e.test.js +4 -4
- package/dist/test/e2e/api/client/register.e2e.test.js.map +1 -1
- package/dist/test/e2e/custom-auth.test.js +2 -2
- package/dist/test/e2e/custom-auth.test.js.map +1 -1
- package/dist/test/e2e/features-created-by-user-id-data-migration.e2e.test.js +4 -4
- package/dist/test/e2e/features-created-by-user-id-data-migration.e2e.test.js.map +1 -1
- package/dist/test/e2e/helpers/database-init.d.ts +1 -1
- package/dist/test/e2e/helpers/database-init.d.ts.map +1 -1
- package/dist/test/e2e/helpers/database-init.js +1 -1
- package/dist/test/e2e/helpers/database-init.js.map +1 -1
- package/dist/test/e2e/seed/segment.seed.js +2 -2
- package/dist/test/e2e/seed/segment.seed.js.map +1 -1
- package/dist/test/e2e/services/access-service.e2e.test.js +34 -2
- package/dist/test/e2e/services/access-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/addon-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/addon-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js +1 -1
- package/dist/test/e2e/services/api-token-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/playground-service.test.js +18 -12
- package/dist/test/e2e/services/playground-service.test.js.map +1 -1
- package/dist/test/e2e/services/reset-token-service.e2e.test.js +3 -0
- package/dist/test/e2e/services/reset-token-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/services/setting-service.test.js +2 -2
- package/dist/test/e2e/services/setting-service.test.js.map +1 -1
- package/dist/test/e2e/services/user-service.e2e.test.js +4 -1
- package/dist/test/e2e/services/user-service.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/client-application-store.e2e.test.js +22 -22
- package/dist/test/e2e/stores/client-application-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/client-instance-store.e2e.test.js +2 -2
- package/dist/test/e2e/stores/client-instance-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/context-field-store.e2e.test.js +2 -2
- package/dist/test/e2e/stores/context-field-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/stores/event-store.e2e.test.js +17 -29
- package/dist/test/e2e/stores/event-store.e2e.test.js.map +1 -1
- package/dist/test/e2e/users/inactive/inactive-users-service.test.js +3 -1
- package/dist/test/e2e/users/inactive/inactive-users-service.test.js.map +1 -1
- package/dist/test/fixtures/access-service-mock.d.ts +13 -13
- package/dist/test/fixtures/access-service-mock.d.ts.map +1 -1
- package/dist/test/fixtures/access-service-mock.js +13 -13
- package/dist/test/fixtures/access-service-mock.js.map +1 -1
- package/dist/test/fixtures/fake-access-store.d.ts +38 -34
- package/dist/test/fixtures/fake-access-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-access-store.js +37 -35
- package/dist/test/fixtures/fake-access-store.js.map +1 -1
- package/dist/test/fixtures/fake-account-store.d.ts +2 -2
- package/dist/test/fixtures/fake-account-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-account-store.js +2 -2
- package/dist/test/fixtures/fake-account-store.js.map +1 -1
- package/dist/test/fixtures/fake-client-applications-store.d.ts +2 -2
- package/dist/test/fixtures/fake-client-applications-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-client-applications-store.js +6 -4
- package/dist/test/fixtures/fake-client-applications-store.js.map +1 -1
- package/dist/test/fixtures/fake-client-instance-store.d.ts +1 -1
- package/dist/test/fixtures/fake-client-instance-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-client-instance-store.js +4 -2
- package/dist/test/fixtures/fake-client-instance-store.js.map +1 -1
- package/dist/test/fixtures/fake-event-store.d.ts +3 -3
- package/dist/test/fixtures/fake-event-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-event-store.js +3 -3
- package/dist/test/fixtures/fake-event-store.js.map +1 -1
- package/dist/test/fixtures/fake-favorite-features-store.d.ts +5 -5
- package/dist/test/fixtures/fake-favorite-features-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-favorite-features-store.js +5 -5
- package/dist/test/fixtures/fake-favorite-features-store.js.map +1 -1
- package/dist/test/fixtures/fake-favorite-projects-store.d.ts +5 -5
- package/dist/test/fixtures/fake-favorite-projects-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-favorite-projects-store.js +5 -5
- package/dist/test/fixtures/fake-favorite-projects-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-environment-store.d.ts +9 -9
- package/dist/test/fixtures/fake-feature-environment-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-feature-environment-store.js +19 -19
- package/dist/test/fixtures/fake-feature-environment-store.js.map +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.d.ts +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-feature-tag-store.js +2 -2
- package/dist/test/fixtures/fake-feature-tag-store.js.map +1 -1
- package/dist/test/fixtures/fake-group-store.d.ts +16 -16
- package/dist/test/fixtures/fake-group-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-group-store.js +16 -16
- package/dist/test/fixtures/fake-group-store.js.map +1 -1
- package/dist/test/fixtures/fake-pat-store.d.ts +9 -9
- package/dist/test/fixtures/fake-pat-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-pat-store.js +9 -9
- package/dist/test/fixtures/fake-pat-store.js.map +1 -1
- package/dist/test/fixtures/fake-project-store.d.ts +11 -11
- package/dist/test/fixtures/fake-project-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-project-store.js +16 -16
- package/dist/test/fixtures/fake-project-store.js.map +1 -1
- package/dist/test/fixtures/fake-public-signup-store.d.ts +2 -2
- package/dist/test/fixtures/fake-public-signup-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-public-signup-store.js +2 -2
- package/dist/test/fixtures/fake-public-signup-store.js.map +1 -1
- package/dist/test/fixtures/fake-role-store.d.ts +9 -9
- package/dist/test/fixtures/fake-role-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-role-store.js +9 -9
- package/dist/test/fixtures/fake-role-store.js.map +1 -1
- package/dist/test/fixtures/fake-strategies-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-strategies-store.js +0 -2
- package/dist/test/fixtures/fake-strategies-store.js.map +1 -1
- package/dist/test/fixtures/fake-tag-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-tag-store.js +4 -2
- package/dist/test/fixtures/fake-tag-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-feedback-store.d.ts +6 -6
- package/dist/test/fixtures/fake-user-feedback-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-feedback-store.js +6 -6
- package/dist/test/fixtures/fake-user-feedback-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-splash-store.d.ts +6 -6
- package/dist/test/fixtures/fake-user-splash-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-splash-store.js +6 -6
- package/dist/test/fixtures/fake-user-splash-store.js.map +1 -1
- package/dist/test/fixtures/fake-user-store.d.ts +2 -2
- package/dist/test/fixtures/fake-user-store.d.ts.map +1 -1
- package/dist/test/fixtures/fake-user-store.js +2 -2
- package/dist/test/fixtures/fake-user-store.js.map +1 -1
- package/dist/test/fixtures/permissions.js +1 -1
- package/dist/test/fixtures/permissions.js.map +1 -1
- package/frontend/build/index.html +3 -3
- package/frontend/build/static/AdvancedPlayground-B70Djk8B.js +3 -0
- package/frontend/build/static/BackendConnections-mlK6EAYQ.js +1 -0
- package/frontend/build/static/{CreateProject-De6TDUjF.js → CreateProject-Dnggz6io.js} +1 -1
- package/frontend/build/static/EnterpriseEdge-Dnk6MbDj.js +3 -0
- package/frontend/build/static/FeatureMetricsChart-CFEixeGp.js +2 -0
- package/frontend/build/static/FeatureStaleDialog-DZoiwwdR.js +7 -0
- package/frontend/build/static/FeatureViewLazyExport-CUnXEEwm.js +10 -0
- package/frontend/build/static/FlagMetricsChart-ujKp_v58.js +2 -0
- package/frontend/build/static/FrontendNetworkTrafficUsage-Dq8wwaXR.js +1 -0
- package/frontend/build/static/GridLayoutWrapper-Cg_xypvQ.js +3 -0
- package/frontend/build/static/ImpactMetricsPage-ZRSvDBg4.js +1 -0
- package/frontend/build/static/LazyAdminExport-B8GV3V8t.js +38 -0
- package/frontend/build/static/LazyProjectExport-B9SJl4_L.js +728 -0
- package/frontend/build/static/{LifecycleChartComponent-iH7Xwal_.js → LifecycleChartComponent-DulnIgCV.js} +2 -2
- package/frontend/build/static/{LineChartComponent-BnogHewS.js → LineChartComponent-BVdLj0q6.js} +1 -1
- package/frontend/build/static/{MarkCompletedDialogue-BOSV3MHM.js → MarkCompletedDialogue-Cu7y0hRZ.js} +1 -1
- package/frontend/build/static/NetworkOverview-CUmX-taY.js +1 -0
- package/frontend/build/static/{NetworkPrometheusAPIWarning-2jclDnfE.js → NetworkPrometheusAPIWarning-BwnVz0CY.js} +1 -1
- package/frontend/build/static/{NetworkTraffic-DDSLmVgI.js → NetworkTraffic-DCMn8UWo.js} +1 -1
- package/frontend/build/static/NetworkTrafficUsage-DSZK447X.js +1 -0
- package/frontend/build/static/{PercentageDonut-aa1oSbho.js → PercentageDonut-B2OwM0Er.js} +1 -1
- package/frontend/build/static/{ReactJSONEditor-BKB6MheT.js → ReactJSONEditor-BPlzE1Zx.js} +1 -1
- package/frontend/build/static/RoleCell-D5skjCJn.js +1 -0
- package/frontend/build/static/aggregateFeatureMetrics-Bcfo39hn.js +1 -0
- package/frontend/build/static/banner-progression-B6JPzTEE.svg +52 -0
- package/frontend/build/static/docker-HG7DQx-Z.svg +5 -0
- package/frontend/build/static/enterpriseEdgeCloud-DzRtm8v6.svg +58 -0
- package/frontend/build/static/enterpriseEdgeSelfHosted-4bnmOQVF.svg +44 -0
- package/frontend/build/static/{formatTickValue-BCAqKqmg.js → formatTickValue-CqTJlzJZ.js} +2 -2
- package/frontend/build/static/impact-metrics-icon-a6_57VN1.svg +9 -0
- package/frontend/build/static/index-g9pKMnOR.js +542 -0
- package/frontend/build/static/lenovo-DIzNtfrT.svg +3 -0
- package/frontend/build/static/lloyds-DxlC9g3t.svg +10 -0
- package/frontend/build/static/networkTrafficUsageHighlightPlugin-Dmm54dMG.js +1 -0
- package/frontend/build/static/new-feature-badge-FwMmHlwT.svg +7 -0
- package/frontend/build/static/samsung-DOytOsnV.svg +10 -0
- package/frontend/build/static/style-BfdqROT6.css +1 -0
- package/frontend/build/static/{useApiTokens-eXyUbKcO.js → useApiTokens-D1XvAIIA.js} +1 -1
- package/frontend/build/static/visa-CkneNM2O.svg +10 -0
- package/frontend/package.json +2 -2
- package/package.json +49 -54
- package/dist/lib/features/release-plans/release-plan-read-model-type.d.ts +0 -5
- package/dist/lib/features/release-plans/release-plan-read-model-type.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model-type.js +0 -2
- package/dist/lib/features/release-plans/release-plan-read-model-type.js.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.d.ts +0 -11
- package/dist/lib/features/release-plans/release-plan-read-model.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.js +0 -133
- package/dist/lib/features/release-plans/release-plan-read-model.js.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.test.d.ts +0 -2
- package/dist/lib/features/release-plans/release-plan-read-model.test.d.ts.map +0 -1
- package/dist/lib/features/release-plans/release-plan-read-model.test.js +0 -165
- package/dist/lib/features/release-plans/release-plan-read-model.test.js.map +0 -1
- package/dist/test/fixtures/fake/fake-release-plan-read-model.d.ts +0 -8
- package/dist/test/fixtures/fake/fake-release-plan-read-model.d.ts.map +0 -1
- package/dist/test/fixtures/fake/fake-release-plan-read-model.js +0 -9
- package/dist/test/fixtures/fake/fake-release-plan-read-model.js.map +0 -1
- package/frontend/build/static/AdvancedPlayground-BMmRjlFK.js +0 -3
- package/frontend/build/static/BackendConnections-C4TwFekS.js +0 -1
- package/frontend/build/static/FeatureMetricsChart-CQOjOGdB.js +0 -2
- package/frontend/build/static/FeatureStaleDialog-DFBMJIHQ.js +0 -7
- package/frontend/build/static/FeatureViewLazyExport-CUraS5Co.js +0 -10
- package/frontend/build/static/FlagMetricsChart-BqT9hgdO.js +0 -2
- package/frontend/build/static/FrontendNetworkTrafficUsage-BzwFAGbK.js +0 -1
- package/frontend/build/static/GridLayoutWrapper-DY9lNz0U.js +0 -3
- package/frontend/build/static/ImpactMetricsPage-Bqewvmqu.js +0 -1
- package/frontend/build/static/LazyAdminExport-DSSpZhpf.js +0 -38
- package/frontend/build/static/LazyProjectExport-Cd5au6uN.js +0 -728
- package/frontend/build/static/NetworkConnectedEdges-d0ZBRss5.js +0 -1
- package/frontend/build/static/NetworkOverview-DivQ4b83.js +0 -1
- package/frontend/build/static/NetworkTrafficUsage-DYNGGkkm.js +0 -1
- package/frontend/build/static/RoleCell-CkV0Kf4-.js +0 -1
- package/frontend/build/static/aggregateFeatureMetrics-CrQXQAeM.js +0 -1
- package/frontend/build/static/howToApplyReleaseTemplates-CkjJPTRh.png +0 -0
- package/frontend/build/static/howToApplyReleaseTemplatesDark-CfwfIMua.png +0 -0
- package/frontend/build/static/index-B33kIVre.js +0 -542
- package/frontend/build/static/metricsFormatters-C7iN2dDH.js +0 -1
- package/frontend/build/static/networkTrafficUsageHighlightPlugin-o9kHeQ2O.js +0 -1
- package/frontend/build/static/style-BW9ZTER3.css +0 -1
|
@@ -185,6 +185,12 @@ export declare const profileSchema: {
|
|
|
185
185
|
readonly enum: readonly ["initial", "pre-live", "live", "completed", "archived"];
|
|
186
186
|
readonly example: "initial";
|
|
187
187
|
};
|
|
188
|
+
readonly status: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly nullable: true;
|
|
191
|
+
readonly example: "kept";
|
|
192
|
+
readonly description: "The name of the detailed status of a given stage. E.g. completed stage can be kept or discarded.";
|
|
193
|
+
};
|
|
188
194
|
readonly enteredStageAt: {
|
|
189
195
|
readonly description: "When the feature entered this stage";
|
|
190
196
|
readonly type: "string";
|
|
@@ -278,6 +284,11 @@ export declare const profileSchema: {
|
|
|
278
284
|
readonly description: "The description of the link";
|
|
279
285
|
readonly nullable: true;
|
|
280
286
|
};
|
|
287
|
+
readonly feature: {
|
|
288
|
+
readonly type: "string";
|
|
289
|
+
readonly example: "disable-comments";
|
|
290
|
+
readonly description: "The name of the feature this link belongs to";
|
|
291
|
+
};
|
|
281
292
|
};
|
|
282
293
|
};
|
|
283
294
|
readonly description: "The list of links. This is an experimental field and may change.";
|
|
@@ -288,7 +299,7 @@ export declare const profileSchema: {
|
|
|
288
299
|
readonly constraintSchema: {
|
|
289
300
|
readonly type: "object";
|
|
290
301
|
readonly required: readonly ["contextName", "operator"];
|
|
291
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
302
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
292
303
|
readonly properties: {
|
|
293
304
|
readonly contextName: {
|
|
294
305
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -296,7 +307,7 @@ export declare const profileSchema: {
|
|
|
296
307
|
readonly type: "string";
|
|
297
308
|
};
|
|
298
309
|
readonly operator: {
|
|
299
|
-
readonly description: "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/
|
|
310
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
300
311
|
readonly type: "string";
|
|
301
312
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
302
313
|
readonly example: "IN";
|
|
@@ -428,13 +439,25 @@ export declare const profileSchema: {
|
|
|
428
439
|
readonly $ref: "#/components/schemas/releasePlanSchema";
|
|
429
440
|
};
|
|
430
441
|
};
|
|
442
|
+
readonly yes: {
|
|
443
|
+
readonly type: "integer";
|
|
444
|
+
readonly description: "How many times the feature evaluated to true (enabled)";
|
|
445
|
+
readonly example: 974;
|
|
446
|
+
readonly minimum: 0;
|
|
447
|
+
};
|
|
448
|
+
readonly no: {
|
|
449
|
+
readonly type: "integer";
|
|
450
|
+
readonly description: "How many times the feature evaluated to false (disabled)";
|
|
451
|
+
readonly example: 50;
|
|
452
|
+
readonly minimum: 0;
|
|
453
|
+
};
|
|
431
454
|
};
|
|
432
455
|
readonly components: {
|
|
433
456
|
readonly schemas: {
|
|
434
457
|
readonly constraintSchema: {
|
|
435
458
|
readonly type: "object";
|
|
436
459
|
readonly required: readonly ["contextName", "operator"];
|
|
437
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
460
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
438
461
|
readonly properties: {
|
|
439
462
|
readonly contextName: {
|
|
440
463
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -442,7 +465,7 @@ export declare const profileSchema: {
|
|
|
442
465
|
readonly type: "string";
|
|
443
466
|
};
|
|
444
467
|
readonly operator: {
|
|
445
|
-
readonly description: "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/
|
|
468
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
446
469
|
readonly type: "string";
|
|
447
470
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
448
471
|
readonly example: "IN";
|
|
@@ -533,7 +556,7 @@ export declare const profileSchema: {
|
|
|
533
556
|
};
|
|
534
557
|
readonly constraints: {
|
|
535
558
|
readonly type: "array";
|
|
536
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
559
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
537
560
|
readonly items: {
|
|
538
561
|
readonly $ref: "#/components/schemas/constraintSchema";
|
|
539
562
|
};
|
|
@@ -554,7 +577,7 @@ export declare const profileSchema: {
|
|
|
554
577
|
readonly constraintSchema: {
|
|
555
578
|
readonly type: "object";
|
|
556
579
|
readonly required: readonly ["contextName", "operator"];
|
|
557
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
580
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
558
581
|
readonly properties: {
|
|
559
582
|
readonly contextName: {
|
|
560
583
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -562,7 +585,7 @@ export declare const profileSchema: {
|
|
|
562
585
|
readonly type: "string";
|
|
563
586
|
};
|
|
564
587
|
readonly operator: {
|
|
565
|
-
readonly description: "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/
|
|
588
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
566
589
|
readonly type: "string";
|
|
567
590
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
568
591
|
readonly example: "IN";
|
|
@@ -618,19 +641,19 @@ export declare const profileSchema: {
|
|
|
618
641
|
};
|
|
619
642
|
readonly weight: {
|
|
620
643
|
readonly type: "integer";
|
|
621
|
-
readonly description: "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/
|
|
644
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
622
645
|
readonly minimum: 0;
|
|
623
646
|
readonly maximum: 1000;
|
|
624
647
|
};
|
|
625
648
|
readonly weightType: {
|
|
626
|
-
readonly description: "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/
|
|
649
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
627
650
|
readonly type: "string";
|
|
628
651
|
readonly example: "fix";
|
|
629
652
|
readonly enum: readonly ["variable", "fix"];
|
|
630
653
|
};
|
|
631
654
|
readonly stickiness: {
|
|
632
655
|
readonly type: "string";
|
|
633
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
656
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
634
657
|
readonly example: "custom.context.field";
|
|
635
658
|
};
|
|
636
659
|
readonly payload: {
|
|
@@ -673,19 +696,19 @@ export declare const profileSchema: {
|
|
|
673
696
|
};
|
|
674
697
|
readonly weight: {
|
|
675
698
|
readonly type: "integer";
|
|
676
|
-
readonly description: "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/
|
|
699
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
677
700
|
readonly minimum: 0;
|
|
678
701
|
readonly maximum: 1000;
|
|
679
702
|
};
|
|
680
703
|
readonly weightType: {
|
|
681
|
-
readonly description: "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/
|
|
704
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
682
705
|
readonly type: "string";
|
|
683
706
|
readonly example: "fix";
|
|
684
707
|
readonly enum: readonly ["variable", "fix"];
|
|
685
708
|
};
|
|
686
709
|
readonly stickiness: {
|
|
687
710
|
readonly type: "string";
|
|
688
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
711
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
689
712
|
readonly example: "custom.context.field";
|
|
690
713
|
};
|
|
691
714
|
readonly payload: {
|
|
@@ -715,7 +738,7 @@ export declare const profileSchema: {
|
|
|
715
738
|
readonly $id: "#/components/schemas/variantSchema";
|
|
716
739
|
readonly type: "object";
|
|
717
740
|
readonly additionalProperties: false;
|
|
718
|
-
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/
|
|
741
|
+
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/concepts/feature-flag-variants#what-are-variants) for a more detailed description";
|
|
719
742
|
readonly required: readonly ["name", "weight"];
|
|
720
743
|
readonly properties: {
|
|
721
744
|
readonly name: {
|
|
@@ -725,7 +748,7 @@ export declare const profileSchema: {
|
|
|
725
748
|
};
|
|
726
749
|
readonly weight: {
|
|
727
750
|
readonly type: "number";
|
|
728
|
-
readonly description: "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/
|
|
751
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
729
752
|
readonly minimum: 0;
|
|
730
753
|
readonly maximum: 1000;
|
|
731
754
|
};
|
|
@@ -737,7 +760,7 @@ export declare const profileSchema: {
|
|
|
737
760
|
};
|
|
738
761
|
readonly stickiness: {
|
|
739
762
|
readonly type: "string";
|
|
740
|
-
readonly description: "[Stickiness](https://docs.getunleash.io/
|
|
763
|
+
readonly description: "[Stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time";
|
|
741
764
|
readonly example: "custom.context.field";
|
|
742
765
|
};
|
|
743
766
|
readonly payload: {
|
|
@@ -870,6 +893,13 @@ export declare const profileSchema: {
|
|
|
870
893
|
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
871
894
|
readonly nullable: false;
|
|
872
895
|
};
|
|
896
|
+
readonly safeguards: {
|
|
897
|
+
readonly type: "array";
|
|
898
|
+
readonly description: "An array of safeguards configured for this release plan.";
|
|
899
|
+
readonly items: {
|
|
900
|
+
readonly $ref: "#/components/schemas/safeguardSchema";
|
|
901
|
+
};
|
|
902
|
+
};
|
|
873
903
|
};
|
|
874
904
|
readonly components: {
|
|
875
905
|
readonly schemas: {
|
|
@@ -909,8 +939,19 @@ export declare const profileSchema: {
|
|
|
909
939
|
readonly nullable: true;
|
|
910
940
|
};
|
|
911
941
|
readonly transitionCondition: {
|
|
942
|
+
readonly type: "object";
|
|
943
|
+
readonly additionalProperties: false;
|
|
944
|
+
readonly required: readonly ["intervalMinutes"];
|
|
945
|
+
readonly properties: {
|
|
946
|
+
readonly intervalMinutes: {
|
|
947
|
+
readonly type: "integer";
|
|
948
|
+
readonly minimum: 1;
|
|
949
|
+
readonly description: "The interval in minutes before transitioning";
|
|
950
|
+
readonly example: 30;
|
|
951
|
+
};
|
|
952
|
+
};
|
|
912
953
|
readonly description: "The condition configuration for the transition";
|
|
913
|
-
readonly
|
|
954
|
+
readonly nullable: true;
|
|
914
955
|
};
|
|
915
956
|
readonly progressionExecutedAt: {
|
|
916
957
|
readonly type: "string";
|
|
@@ -919,6 +960,13 @@ export declare const profileSchema: {
|
|
|
919
960
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
920
961
|
readonly nullable: true;
|
|
921
962
|
};
|
|
963
|
+
readonly pausedAt: {
|
|
964
|
+
readonly type: "string";
|
|
965
|
+
readonly format: "date-time";
|
|
966
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
967
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
968
|
+
readonly nullable: true;
|
|
969
|
+
};
|
|
922
970
|
readonly strategies: {
|
|
923
971
|
readonly type: "array";
|
|
924
972
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -974,7 +1022,7 @@ export declare const profileSchema: {
|
|
|
974
1022
|
};
|
|
975
1023
|
readonly constraints: {
|
|
976
1024
|
readonly type: "array";
|
|
977
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1025
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
978
1026
|
readonly example: readonly [{
|
|
979
1027
|
readonly values: readonly ["1", "2"];
|
|
980
1028
|
readonly inverted: false;
|
|
@@ -1034,7 +1082,7 @@ export declare const profileSchema: {
|
|
|
1034
1082
|
};
|
|
1035
1083
|
readonly constraints: {
|
|
1036
1084
|
readonly type: "array";
|
|
1037
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1085
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1038
1086
|
readonly example: readonly [{
|
|
1039
1087
|
readonly values: readonly ["1", "2"];
|
|
1040
1088
|
readonly inverted: false;
|
|
@@ -1076,7 +1124,7 @@ export declare const profileSchema: {
|
|
|
1076
1124
|
readonly constraintSchema: {
|
|
1077
1125
|
readonly type: "object";
|
|
1078
1126
|
readonly required: readonly ["contextName", "operator"];
|
|
1079
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1127
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1080
1128
|
readonly properties: {
|
|
1081
1129
|
readonly contextName: {
|
|
1082
1130
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1084,7 +1132,7 @@ export declare const profileSchema: {
|
|
|
1084
1132
|
readonly type: "string";
|
|
1085
1133
|
};
|
|
1086
1134
|
readonly operator: {
|
|
1087
|
-
readonly description: "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/
|
|
1135
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1088
1136
|
readonly type: "string";
|
|
1089
1137
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1090
1138
|
readonly example: "IN";
|
|
@@ -1139,19 +1187,19 @@ export declare const profileSchema: {
|
|
|
1139
1187
|
};
|
|
1140
1188
|
readonly weight: {
|
|
1141
1189
|
readonly type: "integer";
|
|
1142
|
-
readonly description: "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/
|
|
1190
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1143
1191
|
readonly minimum: 0;
|
|
1144
1192
|
readonly maximum: 1000;
|
|
1145
1193
|
};
|
|
1146
1194
|
readonly weightType: {
|
|
1147
|
-
readonly description: "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/
|
|
1195
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1148
1196
|
readonly type: "string";
|
|
1149
1197
|
readonly example: "fix";
|
|
1150
1198
|
readonly enum: readonly ["variable", "fix"];
|
|
1151
1199
|
};
|
|
1152
1200
|
readonly stickiness: {
|
|
1153
1201
|
readonly type: "string";
|
|
1154
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1202
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1155
1203
|
readonly example: "custom.context.field";
|
|
1156
1204
|
};
|
|
1157
1205
|
readonly payload: {
|
|
@@ -1192,7 +1240,7 @@ export declare const profileSchema: {
|
|
|
1192
1240
|
readonly constraintSchema: {
|
|
1193
1241
|
readonly type: "object";
|
|
1194
1242
|
readonly required: readonly ["contextName", "operator"];
|
|
1195
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1243
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1196
1244
|
readonly properties: {
|
|
1197
1245
|
readonly contextName: {
|
|
1198
1246
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1200,7 +1248,7 @@ export declare const profileSchema: {
|
|
|
1200
1248
|
readonly type: "string";
|
|
1201
1249
|
};
|
|
1202
1250
|
readonly operator: {
|
|
1203
|
-
readonly description: "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/
|
|
1251
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1204
1252
|
readonly type: "string";
|
|
1205
1253
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1206
1254
|
readonly example: "IN";
|
|
@@ -1246,19 +1294,19 @@ export declare const profileSchema: {
|
|
|
1246
1294
|
};
|
|
1247
1295
|
readonly weight: {
|
|
1248
1296
|
readonly type: "integer";
|
|
1249
|
-
readonly description: "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/
|
|
1297
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1250
1298
|
readonly minimum: 0;
|
|
1251
1299
|
readonly maximum: 1000;
|
|
1252
1300
|
};
|
|
1253
1301
|
readonly weightType: {
|
|
1254
|
-
readonly description: "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/
|
|
1302
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1255
1303
|
readonly type: "string";
|
|
1256
1304
|
readonly example: "fix";
|
|
1257
1305
|
readonly enum: readonly ["variable", "fix"];
|
|
1258
1306
|
};
|
|
1259
1307
|
readonly stickiness: {
|
|
1260
1308
|
readonly type: "string";
|
|
1261
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1309
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1262
1310
|
readonly example: "custom.context.field";
|
|
1263
1311
|
};
|
|
1264
1312
|
readonly payload: {
|
|
@@ -1317,7 +1365,7 @@ export declare const profileSchema: {
|
|
|
1317
1365
|
};
|
|
1318
1366
|
readonly constraints: {
|
|
1319
1367
|
readonly type: "array";
|
|
1320
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1368
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1321
1369
|
readonly example: readonly [{
|
|
1322
1370
|
readonly values: readonly ["1", "2"];
|
|
1323
1371
|
readonly inverted: false;
|
|
@@ -1359,7 +1407,7 @@ export declare const profileSchema: {
|
|
|
1359
1407
|
readonly constraintSchema: {
|
|
1360
1408
|
readonly type: "object";
|
|
1361
1409
|
readonly required: readonly ["contextName", "operator"];
|
|
1362
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1410
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1363
1411
|
readonly properties: {
|
|
1364
1412
|
readonly contextName: {
|
|
1365
1413
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1367,7 +1415,7 @@ export declare const profileSchema: {
|
|
|
1367
1415
|
readonly type: "string";
|
|
1368
1416
|
};
|
|
1369
1417
|
readonly operator: {
|
|
1370
|
-
readonly description: "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/
|
|
1418
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1371
1419
|
readonly type: "string";
|
|
1372
1420
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1373
1421
|
readonly example: "IN";
|
|
@@ -1422,19 +1470,19 @@ export declare const profileSchema: {
|
|
|
1422
1470
|
};
|
|
1423
1471
|
readonly weight: {
|
|
1424
1472
|
readonly type: "integer";
|
|
1425
|
-
readonly description: "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/
|
|
1473
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1426
1474
|
readonly minimum: 0;
|
|
1427
1475
|
readonly maximum: 1000;
|
|
1428
1476
|
};
|
|
1429
1477
|
readonly weightType: {
|
|
1430
|
-
readonly description: "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/
|
|
1478
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1431
1479
|
readonly type: "string";
|
|
1432
1480
|
readonly example: "fix";
|
|
1433
1481
|
readonly enum: readonly ["variable", "fix"];
|
|
1434
1482
|
};
|
|
1435
1483
|
readonly stickiness: {
|
|
1436
1484
|
readonly type: "string";
|
|
1437
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1485
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1438
1486
|
readonly example: "custom.context.field";
|
|
1439
1487
|
};
|
|
1440
1488
|
readonly payload: {
|
|
@@ -1475,7 +1523,7 @@ export declare const profileSchema: {
|
|
|
1475
1523
|
readonly constraintSchema: {
|
|
1476
1524
|
readonly type: "object";
|
|
1477
1525
|
readonly required: readonly ["contextName", "operator"];
|
|
1478
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1526
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1479
1527
|
readonly properties: {
|
|
1480
1528
|
readonly contextName: {
|
|
1481
1529
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1483,7 +1531,7 @@ export declare const profileSchema: {
|
|
|
1483
1531
|
readonly type: "string";
|
|
1484
1532
|
};
|
|
1485
1533
|
readonly operator: {
|
|
1486
|
-
readonly description: "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/
|
|
1534
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1487
1535
|
readonly type: "string";
|
|
1488
1536
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1489
1537
|
readonly example: "IN";
|
|
@@ -1529,19 +1577,19 @@ export declare const profileSchema: {
|
|
|
1529
1577
|
};
|
|
1530
1578
|
readonly weight: {
|
|
1531
1579
|
readonly type: "integer";
|
|
1532
|
-
readonly description: "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/
|
|
1580
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1533
1581
|
readonly minimum: 0;
|
|
1534
1582
|
readonly maximum: 1000;
|
|
1535
1583
|
};
|
|
1536
1584
|
readonly weightType: {
|
|
1537
|
-
readonly description: "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/
|
|
1585
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1538
1586
|
readonly type: "string";
|
|
1539
1587
|
readonly example: "fix";
|
|
1540
1588
|
readonly enum: readonly ["variable", "fix"];
|
|
1541
1589
|
};
|
|
1542
1590
|
readonly stickiness: {
|
|
1543
1591
|
readonly type: "string";
|
|
1544
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1592
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1545
1593
|
readonly example: "custom.context.field";
|
|
1546
1594
|
};
|
|
1547
1595
|
readonly payload: {
|
|
@@ -1631,7 +1679,7 @@ export declare const profileSchema: {
|
|
|
1631
1679
|
};
|
|
1632
1680
|
readonly constraints: {
|
|
1633
1681
|
readonly type: "array";
|
|
1634
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1682
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1635
1683
|
readonly example: readonly [{
|
|
1636
1684
|
readonly values: readonly ["1", "2"];
|
|
1637
1685
|
readonly inverted: false;
|
|
@@ -1691,7 +1739,7 @@ export declare const profileSchema: {
|
|
|
1691
1739
|
};
|
|
1692
1740
|
readonly constraints: {
|
|
1693
1741
|
readonly type: "array";
|
|
1694
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
1742
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1695
1743
|
readonly example: readonly [{
|
|
1696
1744
|
readonly values: readonly ["1", "2"];
|
|
1697
1745
|
readonly inverted: false;
|
|
@@ -1733,7 +1781,7 @@ export declare const profileSchema: {
|
|
|
1733
1781
|
readonly constraintSchema: {
|
|
1734
1782
|
readonly type: "object";
|
|
1735
1783
|
readonly required: readonly ["contextName", "operator"];
|
|
1736
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1784
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1737
1785
|
readonly properties: {
|
|
1738
1786
|
readonly contextName: {
|
|
1739
1787
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1741,7 +1789,7 @@ export declare const profileSchema: {
|
|
|
1741
1789
|
readonly type: "string";
|
|
1742
1790
|
};
|
|
1743
1791
|
readonly operator: {
|
|
1744
|
-
readonly description: "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/
|
|
1792
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1745
1793
|
readonly type: "string";
|
|
1746
1794
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1747
1795
|
readonly example: "IN";
|
|
@@ -1796,19 +1844,19 @@ export declare const profileSchema: {
|
|
|
1796
1844
|
};
|
|
1797
1845
|
readonly weight: {
|
|
1798
1846
|
readonly type: "integer";
|
|
1799
|
-
readonly description: "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/
|
|
1847
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1800
1848
|
readonly minimum: 0;
|
|
1801
1849
|
readonly maximum: 1000;
|
|
1802
1850
|
};
|
|
1803
1851
|
readonly weightType: {
|
|
1804
|
-
readonly description: "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/
|
|
1852
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1805
1853
|
readonly type: "string";
|
|
1806
1854
|
readonly example: "fix";
|
|
1807
1855
|
readonly enum: readonly ["variable", "fix"];
|
|
1808
1856
|
};
|
|
1809
1857
|
readonly stickiness: {
|
|
1810
1858
|
readonly type: "string";
|
|
1811
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1859
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1812
1860
|
readonly example: "custom.context.field";
|
|
1813
1861
|
};
|
|
1814
1862
|
readonly payload: {
|
|
@@ -1849,7 +1897,7 @@ export declare const profileSchema: {
|
|
|
1849
1897
|
readonly constraintSchema: {
|
|
1850
1898
|
readonly type: "object";
|
|
1851
1899
|
readonly required: readonly ["contextName", "operator"];
|
|
1852
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
1900
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
1853
1901
|
readonly properties: {
|
|
1854
1902
|
readonly contextName: {
|
|
1855
1903
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -1857,7 +1905,7 @@ export declare const profileSchema: {
|
|
|
1857
1905
|
readonly type: "string";
|
|
1858
1906
|
};
|
|
1859
1907
|
readonly operator: {
|
|
1860
|
-
readonly description: "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/
|
|
1908
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
1861
1909
|
readonly type: "string";
|
|
1862
1910
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
1863
1911
|
readonly example: "IN";
|
|
@@ -1903,19 +1951,19 @@ export declare const profileSchema: {
|
|
|
1903
1951
|
};
|
|
1904
1952
|
readonly weight: {
|
|
1905
1953
|
readonly type: "integer";
|
|
1906
|
-
readonly description: "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/
|
|
1954
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
1907
1955
|
readonly minimum: 0;
|
|
1908
1956
|
readonly maximum: 1000;
|
|
1909
1957
|
};
|
|
1910
1958
|
readonly weightType: {
|
|
1911
|
-
readonly description: "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/
|
|
1959
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
1912
1960
|
readonly type: "string";
|
|
1913
1961
|
readonly example: "fix";
|
|
1914
1962
|
readonly enum: readonly ["variable", "fix"];
|
|
1915
1963
|
};
|
|
1916
1964
|
readonly stickiness: {
|
|
1917
1965
|
readonly type: "string";
|
|
1918
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
1966
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
1919
1967
|
readonly example: "custom.context.field";
|
|
1920
1968
|
};
|
|
1921
1969
|
readonly payload: {
|
|
@@ -1974,7 +2022,7 @@ export declare const profileSchema: {
|
|
|
1974
2022
|
};
|
|
1975
2023
|
readonly constraints: {
|
|
1976
2024
|
readonly type: "array";
|
|
1977
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2025
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
1978
2026
|
readonly example: readonly [{
|
|
1979
2027
|
readonly values: readonly ["1", "2"];
|
|
1980
2028
|
readonly inverted: false;
|
|
@@ -2016,7 +2064,7 @@ export declare const profileSchema: {
|
|
|
2016
2064
|
readonly constraintSchema: {
|
|
2017
2065
|
readonly type: "object";
|
|
2018
2066
|
readonly required: readonly ["contextName", "operator"];
|
|
2019
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2067
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2020
2068
|
readonly properties: {
|
|
2021
2069
|
readonly contextName: {
|
|
2022
2070
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2024,7 +2072,7 @@ export declare const profileSchema: {
|
|
|
2024
2072
|
readonly type: "string";
|
|
2025
2073
|
};
|
|
2026
2074
|
readonly operator: {
|
|
2027
|
-
readonly description: "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/
|
|
2075
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2028
2076
|
readonly type: "string";
|
|
2029
2077
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2030
2078
|
readonly example: "IN";
|
|
@@ -2079,19 +2127,19 @@ export declare const profileSchema: {
|
|
|
2079
2127
|
};
|
|
2080
2128
|
readonly weight: {
|
|
2081
2129
|
readonly type: "integer";
|
|
2082
|
-
readonly description: "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/
|
|
2130
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2083
2131
|
readonly minimum: 0;
|
|
2084
2132
|
readonly maximum: 1000;
|
|
2085
2133
|
};
|
|
2086
2134
|
readonly weightType: {
|
|
2087
|
-
readonly description: "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/
|
|
2135
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2088
2136
|
readonly type: "string";
|
|
2089
2137
|
readonly example: "fix";
|
|
2090
2138
|
readonly enum: readonly ["variable", "fix"];
|
|
2091
2139
|
};
|
|
2092
2140
|
readonly stickiness: {
|
|
2093
2141
|
readonly type: "string";
|
|
2094
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2142
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2095
2143
|
readonly example: "custom.context.field";
|
|
2096
2144
|
};
|
|
2097
2145
|
readonly payload: {
|
|
@@ -2132,7 +2180,7 @@ export declare const profileSchema: {
|
|
|
2132
2180
|
readonly constraintSchema: {
|
|
2133
2181
|
readonly type: "object";
|
|
2134
2182
|
readonly required: readonly ["contextName", "operator"];
|
|
2135
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2183
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2136
2184
|
readonly properties: {
|
|
2137
2185
|
readonly contextName: {
|
|
2138
2186
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2140,7 +2188,7 @@ export declare const profileSchema: {
|
|
|
2140
2188
|
readonly type: "string";
|
|
2141
2189
|
};
|
|
2142
2190
|
readonly operator: {
|
|
2143
|
-
readonly description: "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/
|
|
2191
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2144
2192
|
readonly type: "string";
|
|
2145
2193
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2146
2194
|
readonly example: "IN";
|
|
@@ -2186,19 +2234,19 @@ export declare const profileSchema: {
|
|
|
2186
2234
|
};
|
|
2187
2235
|
readonly weight: {
|
|
2188
2236
|
readonly type: "integer";
|
|
2189
|
-
readonly description: "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/
|
|
2237
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2190
2238
|
readonly minimum: 0;
|
|
2191
2239
|
readonly maximum: 1000;
|
|
2192
2240
|
};
|
|
2193
2241
|
readonly weightType: {
|
|
2194
|
-
readonly description: "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/
|
|
2242
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2195
2243
|
readonly type: "string";
|
|
2196
2244
|
readonly example: "fix";
|
|
2197
2245
|
readonly enum: readonly ["variable", "fix"];
|
|
2198
2246
|
};
|
|
2199
2247
|
readonly stickiness: {
|
|
2200
2248
|
readonly type: "string";
|
|
2201
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2249
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2202
2250
|
readonly example: "custom.context.field";
|
|
2203
2251
|
};
|
|
2204
2252
|
readonly payload: {
|
|
@@ -2240,6 +2288,214 @@ export declare const profileSchema: {
|
|
|
2240
2288
|
};
|
|
2241
2289
|
readonly components: {};
|
|
2242
2290
|
};
|
|
2291
|
+
readonly safeguardSchema: {
|
|
2292
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
2293
|
+
readonly type: "object";
|
|
2294
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
2295
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
2296
|
+
readonly additionalProperties: false;
|
|
2297
|
+
readonly properties: {
|
|
2298
|
+
readonly id: {
|
|
2299
|
+
readonly type: "string";
|
|
2300
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
2301
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
2302
|
+
};
|
|
2303
|
+
readonly action: {
|
|
2304
|
+
readonly type: "object";
|
|
2305
|
+
readonly required: readonly ["type", "id"];
|
|
2306
|
+
readonly additionalProperties: false;
|
|
2307
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
2308
|
+
readonly properties: {
|
|
2309
|
+
readonly type: {
|
|
2310
|
+
readonly type: "string";
|
|
2311
|
+
readonly description: "The type of action to perform.";
|
|
2312
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
2313
|
+
};
|
|
2314
|
+
readonly id: {
|
|
2315
|
+
readonly type: "string";
|
|
2316
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
2317
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2321
|
+
readonly triggerCondition: {
|
|
2322
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2323
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2324
|
+
};
|
|
2325
|
+
readonly impactMetric: {
|
|
2326
|
+
readonly type: "object";
|
|
2327
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2328
|
+
readonly additionalProperties: false;
|
|
2329
|
+
readonly properties: {
|
|
2330
|
+
readonly metricName: {
|
|
2331
|
+
readonly type: "string";
|
|
2332
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2333
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2334
|
+
};
|
|
2335
|
+
readonly timeRange: {
|
|
2336
|
+
readonly type: "string";
|
|
2337
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2338
|
+
readonly description: "The time range for the metric data.";
|
|
2339
|
+
readonly example: "day";
|
|
2340
|
+
};
|
|
2341
|
+
readonly aggregationMode: {
|
|
2342
|
+
readonly type: "string";
|
|
2343
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2344
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2345
|
+
readonly example: "rps";
|
|
2346
|
+
};
|
|
2347
|
+
readonly labelSelectors: {
|
|
2348
|
+
readonly type: "object";
|
|
2349
|
+
readonly additionalProperties: {
|
|
2350
|
+
readonly type: "array";
|
|
2351
|
+
readonly items: {
|
|
2352
|
+
readonly type: "string";
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2356
|
+
readonly example: {
|
|
2357
|
+
readonly environment: readonly ["development"];
|
|
2358
|
+
readonly project: readonly ["default"];
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
readonly id: {
|
|
2362
|
+
readonly type: "string";
|
|
2363
|
+
readonly description: "The unique identifier for this impact metric";
|
|
2364
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
2368
|
+
};
|
|
2369
|
+
};
|
|
2370
|
+
readonly components: {
|
|
2371
|
+
readonly schemas: {
|
|
2372
|
+
readonly metricQuerySchema: {
|
|
2373
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
2374
|
+
readonly type: "object";
|
|
2375
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2376
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
2377
|
+
readonly additionalProperties: false;
|
|
2378
|
+
readonly properties: {
|
|
2379
|
+
readonly metricName: {
|
|
2380
|
+
readonly type: "string";
|
|
2381
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2382
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2383
|
+
};
|
|
2384
|
+
readonly timeRange: {
|
|
2385
|
+
readonly type: "string";
|
|
2386
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2387
|
+
readonly description: "The time range for the metric data.";
|
|
2388
|
+
readonly example: "day";
|
|
2389
|
+
};
|
|
2390
|
+
readonly aggregationMode: {
|
|
2391
|
+
readonly type: "string";
|
|
2392
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2393
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2394
|
+
readonly example: "rps";
|
|
2395
|
+
};
|
|
2396
|
+
readonly labelSelectors: {
|
|
2397
|
+
readonly type: "object";
|
|
2398
|
+
readonly additionalProperties: {
|
|
2399
|
+
readonly type: "array";
|
|
2400
|
+
readonly items: {
|
|
2401
|
+
readonly type: "string";
|
|
2402
|
+
};
|
|
2403
|
+
};
|
|
2404
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2405
|
+
readonly example: {
|
|
2406
|
+
readonly environment: readonly ["development"];
|
|
2407
|
+
readonly project: readonly ["default"];
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
};
|
|
2411
|
+
readonly components: {};
|
|
2412
|
+
};
|
|
2413
|
+
readonly safeguardTriggerConditionSchema: {
|
|
2414
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2415
|
+
readonly type: "object";
|
|
2416
|
+
readonly required: readonly ["operator", "threshold"];
|
|
2417
|
+
readonly additionalProperties: false;
|
|
2418
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2419
|
+
readonly properties: {
|
|
2420
|
+
readonly operator: {
|
|
2421
|
+
readonly type: "string";
|
|
2422
|
+
readonly enum: readonly [">", "<"];
|
|
2423
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
2424
|
+
readonly example: ">";
|
|
2425
|
+
};
|
|
2426
|
+
readonly threshold: {
|
|
2427
|
+
readonly type: "number";
|
|
2428
|
+
readonly description: "The threshold value to compare against.";
|
|
2429
|
+
readonly example: 100;
|
|
2430
|
+
};
|
|
2431
|
+
};
|
|
2432
|
+
readonly components: {};
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
readonly metricQuerySchema: {
|
|
2438
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
2439
|
+
readonly type: "object";
|
|
2440
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
2441
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
2442
|
+
readonly additionalProperties: false;
|
|
2443
|
+
readonly properties: {
|
|
2444
|
+
readonly metricName: {
|
|
2445
|
+
readonly type: "string";
|
|
2446
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
2447
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
2448
|
+
};
|
|
2449
|
+
readonly timeRange: {
|
|
2450
|
+
readonly type: "string";
|
|
2451
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
2452
|
+
readonly description: "The time range for the metric data.";
|
|
2453
|
+
readonly example: "day";
|
|
2454
|
+
};
|
|
2455
|
+
readonly aggregationMode: {
|
|
2456
|
+
readonly type: "string";
|
|
2457
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
2458
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
2459
|
+
readonly example: "rps";
|
|
2460
|
+
};
|
|
2461
|
+
readonly labelSelectors: {
|
|
2462
|
+
readonly type: "object";
|
|
2463
|
+
readonly additionalProperties: {
|
|
2464
|
+
readonly type: "array";
|
|
2465
|
+
readonly items: {
|
|
2466
|
+
readonly type: "string";
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
2470
|
+
readonly example: {
|
|
2471
|
+
readonly environment: readonly ["development"];
|
|
2472
|
+
readonly project: readonly ["default"];
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
readonly components: {};
|
|
2477
|
+
};
|
|
2478
|
+
readonly safeguardTriggerConditionSchema: {
|
|
2479
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
2480
|
+
readonly type: "object";
|
|
2481
|
+
readonly required: readonly ["operator", "threshold"];
|
|
2482
|
+
readonly additionalProperties: false;
|
|
2483
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
2484
|
+
readonly properties: {
|
|
2485
|
+
readonly operator: {
|
|
2486
|
+
readonly type: "string";
|
|
2487
|
+
readonly enum: readonly [">", "<"];
|
|
2488
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
2489
|
+
readonly example: ">";
|
|
2490
|
+
};
|
|
2491
|
+
readonly threshold: {
|
|
2492
|
+
readonly type: "number";
|
|
2493
|
+
readonly description: "The threshold value to compare against.";
|
|
2494
|
+
readonly example: 100;
|
|
2495
|
+
};
|
|
2496
|
+
};
|
|
2497
|
+
readonly components: {};
|
|
2498
|
+
};
|
|
2243
2499
|
};
|
|
2244
2500
|
};
|
|
2245
2501
|
};
|
|
@@ -2279,8 +2535,19 @@ export declare const profileSchema: {
|
|
|
2279
2535
|
readonly nullable: true;
|
|
2280
2536
|
};
|
|
2281
2537
|
readonly transitionCondition: {
|
|
2538
|
+
readonly type: "object";
|
|
2539
|
+
readonly additionalProperties: false;
|
|
2540
|
+
readonly required: readonly ["intervalMinutes"];
|
|
2541
|
+
readonly properties: {
|
|
2542
|
+
readonly intervalMinutes: {
|
|
2543
|
+
readonly type: "integer";
|
|
2544
|
+
readonly minimum: 1;
|
|
2545
|
+
readonly description: "The interval in minutes before transitioning";
|
|
2546
|
+
readonly example: 30;
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2282
2549
|
readonly description: "The condition configuration for the transition";
|
|
2283
|
-
readonly
|
|
2550
|
+
readonly nullable: true;
|
|
2284
2551
|
};
|
|
2285
2552
|
readonly progressionExecutedAt: {
|
|
2286
2553
|
readonly type: "string";
|
|
@@ -2289,6 +2556,13 @@ export declare const profileSchema: {
|
|
|
2289
2556
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
2290
2557
|
readonly nullable: true;
|
|
2291
2558
|
};
|
|
2559
|
+
readonly pausedAt: {
|
|
2560
|
+
readonly type: "string";
|
|
2561
|
+
readonly format: "date-time";
|
|
2562
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
2563
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
2564
|
+
readonly nullable: true;
|
|
2565
|
+
};
|
|
2292
2566
|
readonly strategies: {
|
|
2293
2567
|
readonly type: "array";
|
|
2294
2568
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -2344,7 +2618,7 @@ export declare const profileSchema: {
|
|
|
2344
2618
|
};
|
|
2345
2619
|
readonly constraints: {
|
|
2346
2620
|
readonly type: "array";
|
|
2347
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2621
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2348
2622
|
readonly example: readonly [{
|
|
2349
2623
|
readonly values: readonly ["1", "2"];
|
|
2350
2624
|
readonly inverted: false;
|
|
@@ -2404,7 +2678,7 @@ export declare const profileSchema: {
|
|
|
2404
2678
|
};
|
|
2405
2679
|
readonly constraints: {
|
|
2406
2680
|
readonly type: "array";
|
|
2407
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2681
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2408
2682
|
readonly example: readonly [{
|
|
2409
2683
|
readonly values: readonly ["1", "2"];
|
|
2410
2684
|
readonly inverted: false;
|
|
@@ -2446,7 +2720,7 @@ export declare const profileSchema: {
|
|
|
2446
2720
|
readonly constraintSchema: {
|
|
2447
2721
|
readonly type: "object";
|
|
2448
2722
|
readonly required: readonly ["contextName", "operator"];
|
|
2449
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2723
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2450
2724
|
readonly properties: {
|
|
2451
2725
|
readonly contextName: {
|
|
2452
2726
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2454,7 +2728,7 @@ export declare const profileSchema: {
|
|
|
2454
2728
|
readonly type: "string";
|
|
2455
2729
|
};
|
|
2456
2730
|
readonly operator: {
|
|
2457
|
-
readonly description: "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/
|
|
2731
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2458
2732
|
readonly type: "string";
|
|
2459
2733
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2460
2734
|
readonly example: "IN";
|
|
@@ -2509,19 +2783,19 @@ export declare const profileSchema: {
|
|
|
2509
2783
|
};
|
|
2510
2784
|
readonly weight: {
|
|
2511
2785
|
readonly type: "integer";
|
|
2512
|
-
readonly description: "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/
|
|
2786
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2513
2787
|
readonly minimum: 0;
|
|
2514
2788
|
readonly maximum: 1000;
|
|
2515
2789
|
};
|
|
2516
2790
|
readonly weightType: {
|
|
2517
|
-
readonly description: "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/
|
|
2791
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2518
2792
|
readonly type: "string";
|
|
2519
2793
|
readonly example: "fix";
|
|
2520
2794
|
readonly enum: readonly ["variable", "fix"];
|
|
2521
2795
|
};
|
|
2522
2796
|
readonly stickiness: {
|
|
2523
2797
|
readonly type: "string";
|
|
2524
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2798
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2525
2799
|
readonly example: "custom.context.field";
|
|
2526
2800
|
};
|
|
2527
2801
|
readonly payload: {
|
|
@@ -2562,7 +2836,7 @@ export declare const profileSchema: {
|
|
|
2562
2836
|
readonly constraintSchema: {
|
|
2563
2837
|
readonly type: "object";
|
|
2564
2838
|
readonly required: readonly ["contextName", "operator"];
|
|
2565
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
2839
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2566
2840
|
readonly properties: {
|
|
2567
2841
|
readonly contextName: {
|
|
2568
2842
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2570,7 +2844,7 @@ export declare const profileSchema: {
|
|
|
2570
2844
|
readonly type: "string";
|
|
2571
2845
|
};
|
|
2572
2846
|
readonly operator: {
|
|
2573
|
-
readonly description: "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/
|
|
2847
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2574
2848
|
readonly type: "string";
|
|
2575
2849
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2576
2850
|
readonly example: "IN";
|
|
@@ -2616,19 +2890,19 @@ export declare const profileSchema: {
|
|
|
2616
2890
|
};
|
|
2617
2891
|
readonly weight: {
|
|
2618
2892
|
readonly type: "integer";
|
|
2619
|
-
readonly description: "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/
|
|
2893
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2620
2894
|
readonly minimum: 0;
|
|
2621
2895
|
readonly maximum: 1000;
|
|
2622
2896
|
};
|
|
2623
2897
|
readonly weightType: {
|
|
2624
|
-
readonly description: "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/
|
|
2898
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2625
2899
|
readonly type: "string";
|
|
2626
2900
|
readonly example: "fix";
|
|
2627
2901
|
readonly enum: readonly ["variable", "fix"];
|
|
2628
2902
|
};
|
|
2629
2903
|
readonly stickiness: {
|
|
2630
2904
|
readonly type: "string";
|
|
2631
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
2905
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2632
2906
|
readonly example: "custom.context.field";
|
|
2633
2907
|
};
|
|
2634
2908
|
readonly payload: {
|
|
@@ -2687,7 +2961,7 @@ export declare const profileSchema: {
|
|
|
2687
2961
|
};
|
|
2688
2962
|
readonly constraints: {
|
|
2689
2963
|
readonly type: "array";
|
|
2690
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
2964
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
2691
2965
|
readonly example: readonly [{
|
|
2692
2966
|
readonly values: readonly ["1", "2"];
|
|
2693
2967
|
readonly inverted: false;
|
|
@@ -2729,7 +3003,7 @@ export declare const profileSchema: {
|
|
|
2729
3003
|
readonly constraintSchema: {
|
|
2730
3004
|
readonly type: "object";
|
|
2731
3005
|
readonly required: readonly ["contextName", "operator"];
|
|
2732
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3006
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2733
3007
|
readonly properties: {
|
|
2734
3008
|
readonly contextName: {
|
|
2735
3009
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2737,7 +3011,7 @@ export declare const profileSchema: {
|
|
|
2737
3011
|
readonly type: "string";
|
|
2738
3012
|
};
|
|
2739
3013
|
readonly operator: {
|
|
2740
|
-
readonly description: "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/
|
|
3014
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2741
3015
|
readonly type: "string";
|
|
2742
3016
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2743
3017
|
readonly example: "IN";
|
|
@@ -2792,19 +3066,19 @@ export declare const profileSchema: {
|
|
|
2792
3066
|
};
|
|
2793
3067
|
readonly weight: {
|
|
2794
3068
|
readonly type: "integer";
|
|
2795
|
-
readonly description: "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/
|
|
3069
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2796
3070
|
readonly minimum: 0;
|
|
2797
3071
|
readonly maximum: 1000;
|
|
2798
3072
|
};
|
|
2799
3073
|
readonly weightType: {
|
|
2800
|
-
readonly description: "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/
|
|
3074
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2801
3075
|
readonly type: "string";
|
|
2802
3076
|
readonly example: "fix";
|
|
2803
3077
|
readonly enum: readonly ["variable", "fix"];
|
|
2804
3078
|
};
|
|
2805
3079
|
readonly stickiness: {
|
|
2806
3080
|
readonly type: "string";
|
|
2807
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3081
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2808
3082
|
readonly example: "custom.context.field";
|
|
2809
3083
|
};
|
|
2810
3084
|
readonly payload: {
|
|
@@ -2845,7 +3119,7 @@ export declare const profileSchema: {
|
|
|
2845
3119
|
readonly constraintSchema: {
|
|
2846
3120
|
readonly type: "object";
|
|
2847
3121
|
readonly required: readonly ["contextName", "operator"];
|
|
2848
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3122
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
2849
3123
|
readonly properties: {
|
|
2850
3124
|
readonly contextName: {
|
|
2851
3125
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -2853,7 +3127,7 @@ export declare const profileSchema: {
|
|
|
2853
3127
|
readonly type: "string";
|
|
2854
3128
|
};
|
|
2855
3129
|
readonly operator: {
|
|
2856
|
-
readonly description: "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/
|
|
3130
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
2857
3131
|
readonly type: "string";
|
|
2858
3132
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
2859
3133
|
readonly example: "IN";
|
|
@@ -2899,19 +3173,19 @@ export declare const profileSchema: {
|
|
|
2899
3173
|
};
|
|
2900
3174
|
readonly weight: {
|
|
2901
3175
|
readonly type: "integer";
|
|
2902
|
-
readonly description: "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/
|
|
3176
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
2903
3177
|
readonly minimum: 0;
|
|
2904
3178
|
readonly maximum: 1000;
|
|
2905
3179
|
};
|
|
2906
3180
|
readonly weightType: {
|
|
2907
|
-
readonly description: "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/
|
|
3181
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
2908
3182
|
readonly type: "string";
|
|
2909
3183
|
readonly example: "fix";
|
|
2910
3184
|
readonly enum: readonly ["variable", "fix"];
|
|
2911
3185
|
};
|
|
2912
3186
|
readonly stickiness: {
|
|
2913
3187
|
readonly type: "string";
|
|
2914
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3188
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
2915
3189
|
readonly example: "custom.context.field";
|
|
2916
3190
|
};
|
|
2917
3191
|
readonly payload: {
|
|
@@ -3001,7 +3275,7 @@ export declare const profileSchema: {
|
|
|
3001
3275
|
};
|
|
3002
3276
|
readonly constraints: {
|
|
3003
3277
|
readonly type: "array";
|
|
3004
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3278
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3005
3279
|
readonly example: readonly [{
|
|
3006
3280
|
readonly values: readonly ["1", "2"];
|
|
3007
3281
|
readonly inverted: false;
|
|
@@ -3061,7 +3335,7 @@ export declare const profileSchema: {
|
|
|
3061
3335
|
};
|
|
3062
3336
|
readonly constraints: {
|
|
3063
3337
|
readonly type: "array";
|
|
3064
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3338
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3065
3339
|
readonly example: readonly [{
|
|
3066
3340
|
readonly values: readonly ["1", "2"];
|
|
3067
3341
|
readonly inverted: false;
|
|
@@ -3103,7 +3377,7 @@ export declare const profileSchema: {
|
|
|
3103
3377
|
readonly constraintSchema: {
|
|
3104
3378
|
readonly type: "object";
|
|
3105
3379
|
readonly required: readonly ["contextName", "operator"];
|
|
3106
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3380
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3107
3381
|
readonly properties: {
|
|
3108
3382
|
readonly contextName: {
|
|
3109
3383
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3111,7 +3385,7 @@ export declare const profileSchema: {
|
|
|
3111
3385
|
readonly type: "string";
|
|
3112
3386
|
};
|
|
3113
3387
|
readonly operator: {
|
|
3114
|
-
readonly description: "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/
|
|
3388
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
3115
3389
|
readonly type: "string";
|
|
3116
3390
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3117
3391
|
readonly example: "IN";
|
|
@@ -3166,19 +3440,19 @@ export declare const profileSchema: {
|
|
|
3166
3440
|
};
|
|
3167
3441
|
readonly weight: {
|
|
3168
3442
|
readonly type: "integer";
|
|
3169
|
-
readonly description: "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/
|
|
3443
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3170
3444
|
readonly minimum: 0;
|
|
3171
3445
|
readonly maximum: 1000;
|
|
3172
3446
|
};
|
|
3173
3447
|
readonly weightType: {
|
|
3174
|
-
readonly description: "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/
|
|
3448
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3175
3449
|
readonly type: "string";
|
|
3176
3450
|
readonly example: "fix";
|
|
3177
3451
|
readonly enum: readonly ["variable", "fix"];
|
|
3178
3452
|
};
|
|
3179
3453
|
readonly stickiness: {
|
|
3180
3454
|
readonly type: "string";
|
|
3181
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3455
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3182
3456
|
readonly example: "custom.context.field";
|
|
3183
3457
|
};
|
|
3184
3458
|
readonly payload: {
|
|
@@ -3219,7 +3493,7 @@ export declare const profileSchema: {
|
|
|
3219
3493
|
readonly constraintSchema: {
|
|
3220
3494
|
readonly type: "object";
|
|
3221
3495
|
readonly required: readonly ["contextName", "operator"];
|
|
3222
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3496
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3223
3497
|
readonly properties: {
|
|
3224
3498
|
readonly contextName: {
|
|
3225
3499
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3227,7 +3501,7 @@ export declare const profileSchema: {
|
|
|
3227
3501
|
readonly type: "string";
|
|
3228
3502
|
};
|
|
3229
3503
|
readonly operator: {
|
|
3230
|
-
readonly description: "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/
|
|
3504
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
3231
3505
|
readonly type: "string";
|
|
3232
3506
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3233
3507
|
readonly example: "IN";
|
|
@@ -3273,19 +3547,19 @@ export declare const profileSchema: {
|
|
|
3273
3547
|
};
|
|
3274
3548
|
readonly weight: {
|
|
3275
3549
|
readonly type: "integer";
|
|
3276
|
-
readonly description: "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/
|
|
3550
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3277
3551
|
readonly minimum: 0;
|
|
3278
3552
|
readonly maximum: 1000;
|
|
3279
3553
|
};
|
|
3280
3554
|
readonly weightType: {
|
|
3281
|
-
readonly description: "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/
|
|
3555
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3282
3556
|
readonly type: "string";
|
|
3283
3557
|
readonly example: "fix";
|
|
3284
3558
|
readonly enum: readonly ["variable", "fix"];
|
|
3285
3559
|
};
|
|
3286
3560
|
readonly stickiness: {
|
|
3287
3561
|
readonly type: "string";
|
|
3288
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3562
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3289
3563
|
readonly example: "custom.context.field";
|
|
3290
3564
|
};
|
|
3291
3565
|
readonly payload: {
|
|
@@ -3344,7 +3618,7 @@ export declare const profileSchema: {
|
|
|
3344
3618
|
};
|
|
3345
3619
|
readonly constraints: {
|
|
3346
3620
|
readonly type: "array";
|
|
3347
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3621
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3348
3622
|
readonly example: readonly [{
|
|
3349
3623
|
readonly values: readonly ["1", "2"];
|
|
3350
3624
|
readonly inverted: false;
|
|
@@ -3386,7 +3660,7 @@ export declare const profileSchema: {
|
|
|
3386
3660
|
readonly constraintSchema: {
|
|
3387
3661
|
readonly type: "object";
|
|
3388
3662
|
readonly required: readonly ["contextName", "operator"];
|
|
3389
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3663
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3390
3664
|
readonly properties: {
|
|
3391
3665
|
readonly contextName: {
|
|
3392
3666
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3394,7 +3668,7 @@ export declare const profileSchema: {
|
|
|
3394
3668
|
readonly type: "string";
|
|
3395
3669
|
};
|
|
3396
3670
|
readonly operator: {
|
|
3397
|
-
readonly description: "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/
|
|
3671
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
3398
3672
|
readonly type: "string";
|
|
3399
3673
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3400
3674
|
readonly example: "IN";
|
|
@@ -3449,19 +3723,19 @@ export declare const profileSchema: {
|
|
|
3449
3723
|
};
|
|
3450
3724
|
readonly weight: {
|
|
3451
3725
|
readonly type: "integer";
|
|
3452
|
-
readonly description: "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/
|
|
3726
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3453
3727
|
readonly minimum: 0;
|
|
3454
3728
|
readonly maximum: 1000;
|
|
3455
3729
|
};
|
|
3456
3730
|
readonly weightType: {
|
|
3457
|
-
readonly description: "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/
|
|
3731
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3458
3732
|
readonly type: "string";
|
|
3459
3733
|
readonly example: "fix";
|
|
3460
3734
|
readonly enum: readonly ["variable", "fix"];
|
|
3461
3735
|
};
|
|
3462
3736
|
readonly stickiness: {
|
|
3463
3737
|
readonly type: "string";
|
|
3464
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3738
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3465
3739
|
readonly example: "custom.context.field";
|
|
3466
3740
|
};
|
|
3467
3741
|
readonly payload: {
|
|
@@ -3503,19 +3777,19 @@ export declare const profileSchema: {
|
|
|
3503
3777
|
};
|
|
3504
3778
|
readonly weight: {
|
|
3505
3779
|
readonly type: "integer";
|
|
3506
|
-
readonly description: "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/
|
|
3780
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3507
3781
|
readonly minimum: 0;
|
|
3508
3782
|
readonly maximum: 1000;
|
|
3509
3783
|
};
|
|
3510
3784
|
readonly weightType: {
|
|
3511
|
-
readonly description: "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/
|
|
3785
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3512
3786
|
readonly type: "string";
|
|
3513
3787
|
readonly example: "fix";
|
|
3514
3788
|
readonly enum: readonly ["variable", "fix"];
|
|
3515
3789
|
};
|
|
3516
3790
|
readonly stickiness: {
|
|
3517
3791
|
readonly type: "string";
|
|
3518
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3792
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3519
3793
|
readonly example: "custom.context.field";
|
|
3520
3794
|
};
|
|
3521
3795
|
readonly payload: {
|
|
@@ -3609,7 +3883,7 @@ export declare const profileSchema: {
|
|
|
3609
3883
|
};
|
|
3610
3884
|
readonly constraints: {
|
|
3611
3885
|
readonly type: "array";
|
|
3612
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
3886
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
3613
3887
|
readonly items: {
|
|
3614
3888
|
readonly $ref: "#/components/schemas/constraintSchema";
|
|
3615
3889
|
};
|
|
@@ -3630,7 +3904,7 @@ export declare const profileSchema: {
|
|
|
3630
3904
|
readonly constraintSchema: {
|
|
3631
3905
|
readonly type: "object";
|
|
3632
3906
|
readonly required: readonly ["contextName", "operator"];
|
|
3633
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
3907
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
3634
3908
|
readonly properties: {
|
|
3635
3909
|
readonly contextName: {
|
|
3636
3910
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -3638,7 +3912,7 @@ export declare const profileSchema: {
|
|
|
3638
3912
|
readonly type: "string";
|
|
3639
3913
|
};
|
|
3640
3914
|
readonly operator: {
|
|
3641
|
-
readonly description: "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/
|
|
3915
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
3642
3916
|
readonly type: "string";
|
|
3643
3917
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
3644
3918
|
readonly example: "IN";
|
|
@@ -3694,19 +3968,19 @@ export declare const profileSchema: {
|
|
|
3694
3968
|
};
|
|
3695
3969
|
readonly weight: {
|
|
3696
3970
|
readonly type: "integer";
|
|
3697
|
-
readonly description: "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/
|
|
3971
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3698
3972
|
readonly minimum: 0;
|
|
3699
3973
|
readonly maximum: 1000;
|
|
3700
3974
|
};
|
|
3701
3975
|
readonly weightType: {
|
|
3702
|
-
readonly description: "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/
|
|
3976
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3703
3977
|
readonly type: "string";
|
|
3704
3978
|
readonly example: "fix";
|
|
3705
3979
|
readonly enum: readonly ["variable", "fix"];
|
|
3706
3980
|
};
|
|
3707
3981
|
readonly stickiness: {
|
|
3708
3982
|
readonly type: "string";
|
|
3709
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
3983
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3710
3984
|
readonly example: "custom.context.field";
|
|
3711
3985
|
};
|
|
3712
3986
|
readonly payload: {
|
|
@@ -3749,19 +4023,19 @@ export declare const profileSchema: {
|
|
|
3749
4023
|
};
|
|
3750
4024
|
readonly weight: {
|
|
3751
4025
|
readonly type: "integer";
|
|
3752
|
-
readonly description: "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/
|
|
4026
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3753
4027
|
readonly minimum: 0;
|
|
3754
4028
|
readonly maximum: 1000;
|
|
3755
4029
|
};
|
|
3756
4030
|
readonly weightType: {
|
|
3757
|
-
readonly description: "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/
|
|
4031
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
3758
4032
|
readonly type: "string";
|
|
3759
4033
|
readonly example: "fix";
|
|
3760
4034
|
readonly enum: readonly ["variable", "fix"];
|
|
3761
4035
|
};
|
|
3762
4036
|
readonly stickiness: {
|
|
3763
4037
|
readonly type: "string";
|
|
3764
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4038
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
3765
4039
|
readonly example: "custom.context.field";
|
|
3766
4040
|
};
|
|
3767
4041
|
readonly payload: {
|
|
@@ -3823,7 +4097,7 @@ export declare const profileSchema: {
|
|
|
3823
4097
|
readonly $id: "#/components/schemas/variantSchema";
|
|
3824
4098
|
readonly type: "object";
|
|
3825
4099
|
readonly additionalProperties: false;
|
|
3826
|
-
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/
|
|
4100
|
+
readonly description: "A variant allows for further separation of users into segments. See [our excellent documentation](https://docs.getunleash.io/concepts/feature-flag-variants#what-are-variants) for a more detailed description";
|
|
3827
4101
|
readonly required: readonly ["name", "weight"];
|
|
3828
4102
|
readonly properties: {
|
|
3829
4103
|
readonly name: {
|
|
@@ -3833,7 +4107,7 @@ export declare const profileSchema: {
|
|
|
3833
4107
|
};
|
|
3834
4108
|
readonly weight: {
|
|
3835
4109
|
readonly type: "number";
|
|
3836
|
-
readonly description: "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/
|
|
4110
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
3837
4111
|
readonly minimum: 0;
|
|
3838
4112
|
readonly maximum: 1000;
|
|
3839
4113
|
};
|
|
@@ -3845,7 +4119,7 @@ export declare const profileSchema: {
|
|
|
3845
4119
|
};
|
|
3846
4120
|
readonly stickiness: {
|
|
3847
4121
|
readonly type: "string";
|
|
3848
|
-
readonly description: "[Stickiness](https://docs.getunleash.io/
|
|
4122
|
+
readonly description: "[Stickiness](https://docs.getunleash.io/concepts/feature-flag-variants#variant-stickiness) is how Unleash guarantees that the same user gets the same variant every time";
|
|
3849
4123
|
readonly example: "custom.context.field";
|
|
3850
4124
|
};
|
|
3851
4125
|
readonly payload: {
|
|
@@ -3908,7 +4182,7 @@ export declare const profileSchema: {
|
|
|
3908
4182
|
readonly tagSchema: {
|
|
3909
4183
|
readonly $id: "#/components/schemas/tagSchema";
|
|
3910
4184
|
readonly type: "object";
|
|
3911
|
-
readonly description: "Representation of a [tag](https://docs.getunleash.io/
|
|
4185
|
+
readonly description: "Representation of a [tag](https://docs.getunleash.io/concepts/feature-flags#tags)";
|
|
3912
4186
|
readonly additionalProperties: false;
|
|
3913
4187
|
readonly required: readonly ["value", "type"];
|
|
3914
4188
|
readonly properties: {
|
|
@@ -3923,7 +4197,7 @@ export declare const profileSchema: {
|
|
|
3923
4197
|
readonly type: "string";
|
|
3924
4198
|
readonly minLength: 2;
|
|
3925
4199
|
readonly maxLength: 50;
|
|
3926
|
-
readonly description: "The [type](https://docs.getunleash.io/
|
|
4200
|
+
readonly description: "The [type](https://docs.getunleash.io/concepts/feature-flags#tags) of the tag";
|
|
3927
4201
|
readonly example: "simple";
|
|
3928
4202
|
};
|
|
3929
4203
|
readonly color: {
|
|
@@ -4009,6 +4283,13 @@ export declare const profileSchema: {
|
|
|
4009
4283
|
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
4010
4284
|
readonly nullable: false;
|
|
4011
4285
|
};
|
|
4286
|
+
readonly safeguards: {
|
|
4287
|
+
readonly type: "array";
|
|
4288
|
+
readonly description: "An array of safeguards configured for this release plan.";
|
|
4289
|
+
readonly items: {
|
|
4290
|
+
readonly $ref: "#/components/schemas/safeguardSchema";
|
|
4291
|
+
};
|
|
4292
|
+
};
|
|
4012
4293
|
};
|
|
4013
4294
|
readonly components: {
|
|
4014
4295
|
readonly schemas: {
|
|
@@ -4048,8 +4329,19 @@ export declare const profileSchema: {
|
|
|
4048
4329
|
readonly nullable: true;
|
|
4049
4330
|
};
|
|
4050
4331
|
readonly transitionCondition: {
|
|
4332
|
+
readonly type: "object";
|
|
4333
|
+
readonly additionalProperties: false;
|
|
4334
|
+
readonly required: readonly ["intervalMinutes"];
|
|
4335
|
+
readonly properties: {
|
|
4336
|
+
readonly intervalMinutes: {
|
|
4337
|
+
readonly type: "integer";
|
|
4338
|
+
readonly minimum: 1;
|
|
4339
|
+
readonly description: "The interval in minutes before transitioning";
|
|
4340
|
+
readonly example: 30;
|
|
4341
|
+
};
|
|
4342
|
+
};
|
|
4051
4343
|
readonly description: "The condition configuration for the transition";
|
|
4052
|
-
readonly
|
|
4344
|
+
readonly nullable: true;
|
|
4053
4345
|
};
|
|
4054
4346
|
readonly progressionExecutedAt: {
|
|
4055
4347
|
readonly type: "string";
|
|
@@ -4058,6 +4350,13 @@ export declare const profileSchema: {
|
|
|
4058
4350
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
4059
4351
|
readonly nullable: true;
|
|
4060
4352
|
};
|
|
4353
|
+
readonly pausedAt: {
|
|
4354
|
+
readonly type: "string";
|
|
4355
|
+
readonly format: "date-time";
|
|
4356
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
4357
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
4358
|
+
readonly nullable: true;
|
|
4359
|
+
};
|
|
4061
4360
|
readonly strategies: {
|
|
4062
4361
|
readonly type: "array";
|
|
4063
4362
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -4113,7 +4412,7 @@ export declare const profileSchema: {
|
|
|
4113
4412
|
};
|
|
4114
4413
|
readonly constraints: {
|
|
4115
4414
|
readonly type: "array";
|
|
4116
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4415
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4117
4416
|
readonly example: readonly [{
|
|
4118
4417
|
readonly values: readonly ["1", "2"];
|
|
4119
4418
|
readonly inverted: false;
|
|
@@ -4173,7 +4472,7 @@ export declare const profileSchema: {
|
|
|
4173
4472
|
};
|
|
4174
4473
|
readonly constraints: {
|
|
4175
4474
|
readonly type: "array";
|
|
4176
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4475
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4177
4476
|
readonly example: readonly [{
|
|
4178
4477
|
readonly values: readonly ["1", "2"];
|
|
4179
4478
|
readonly inverted: false;
|
|
@@ -4215,7 +4514,7 @@ export declare const profileSchema: {
|
|
|
4215
4514
|
readonly constraintSchema: {
|
|
4216
4515
|
readonly type: "object";
|
|
4217
4516
|
readonly required: readonly ["contextName", "operator"];
|
|
4218
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4517
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4219
4518
|
readonly properties: {
|
|
4220
4519
|
readonly contextName: {
|
|
4221
4520
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4223,7 +4522,7 @@ export declare const profileSchema: {
|
|
|
4223
4522
|
readonly type: "string";
|
|
4224
4523
|
};
|
|
4225
4524
|
readonly operator: {
|
|
4226
|
-
readonly description: "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/
|
|
4525
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
4227
4526
|
readonly type: "string";
|
|
4228
4527
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4229
4528
|
readonly example: "IN";
|
|
@@ -4278,19 +4577,19 @@ export declare const profileSchema: {
|
|
|
4278
4577
|
};
|
|
4279
4578
|
readonly weight: {
|
|
4280
4579
|
readonly type: "integer";
|
|
4281
|
-
readonly description: "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/
|
|
4580
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4282
4581
|
readonly minimum: 0;
|
|
4283
4582
|
readonly maximum: 1000;
|
|
4284
4583
|
};
|
|
4285
4584
|
readonly weightType: {
|
|
4286
|
-
readonly description: "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/
|
|
4585
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
4287
4586
|
readonly type: "string";
|
|
4288
4587
|
readonly example: "fix";
|
|
4289
4588
|
readonly enum: readonly ["variable", "fix"];
|
|
4290
4589
|
};
|
|
4291
4590
|
readonly stickiness: {
|
|
4292
4591
|
readonly type: "string";
|
|
4293
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4592
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
4294
4593
|
readonly example: "custom.context.field";
|
|
4295
4594
|
};
|
|
4296
4595
|
readonly payload: {
|
|
@@ -4331,7 +4630,7 @@ export declare const profileSchema: {
|
|
|
4331
4630
|
readonly constraintSchema: {
|
|
4332
4631
|
readonly type: "object";
|
|
4333
4632
|
readonly required: readonly ["contextName", "operator"];
|
|
4334
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4633
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4335
4634
|
readonly properties: {
|
|
4336
4635
|
readonly contextName: {
|
|
4337
4636
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4339,7 +4638,7 @@ export declare const profileSchema: {
|
|
|
4339
4638
|
readonly type: "string";
|
|
4340
4639
|
};
|
|
4341
4640
|
readonly operator: {
|
|
4342
|
-
readonly description: "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/
|
|
4641
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
4343
4642
|
readonly type: "string";
|
|
4344
4643
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4345
4644
|
readonly example: "IN";
|
|
@@ -4385,19 +4684,19 @@ export declare const profileSchema: {
|
|
|
4385
4684
|
};
|
|
4386
4685
|
readonly weight: {
|
|
4387
4686
|
readonly type: "integer";
|
|
4388
|
-
readonly description: "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/
|
|
4687
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4389
4688
|
readonly minimum: 0;
|
|
4390
4689
|
readonly maximum: 1000;
|
|
4391
4690
|
};
|
|
4392
4691
|
readonly weightType: {
|
|
4393
|
-
readonly description: "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/
|
|
4692
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
4394
4693
|
readonly type: "string";
|
|
4395
4694
|
readonly example: "fix";
|
|
4396
4695
|
readonly enum: readonly ["variable", "fix"];
|
|
4397
4696
|
};
|
|
4398
4697
|
readonly stickiness: {
|
|
4399
4698
|
readonly type: "string";
|
|
4400
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4699
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
4401
4700
|
readonly example: "custom.context.field";
|
|
4402
4701
|
};
|
|
4403
4702
|
readonly payload: {
|
|
@@ -4456,7 +4755,7 @@ export declare const profileSchema: {
|
|
|
4456
4755
|
};
|
|
4457
4756
|
readonly constraints: {
|
|
4458
4757
|
readonly type: "array";
|
|
4459
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
4758
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4460
4759
|
readonly example: readonly [{
|
|
4461
4760
|
readonly values: readonly ["1", "2"];
|
|
4462
4761
|
readonly inverted: false;
|
|
@@ -4498,7 +4797,7 @@ export declare const profileSchema: {
|
|
|
4498
4797
|
readonly constraintSchema: {
|
|
4499
4798
|
readonly type: "object";
|
|
4500
4799
|
readonly required: readonly ["contextName", "operator"];
|
|
4501
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4800
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4502
4801
|
readonly properties: {
|
|
4503
4802
|
readonly contextName: {
|
|
4504
4803
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4506,7 +4805,7 @@ export declare const profileSchema: {
|
|
|
4506
4805
|
readonly type: "string";
|
|
4507
4806
|
};
|
|
4508
4807
|
readonly operator: {
|
|
4509
|
-
readonly description: "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/
|
|
4808
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
4510
4809
|
readonly type: "string";
|
|
4511
4810
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4512
4811
|
readonly example: "IN";
|
|
@@ -4561,19 +4860,19 @@ export declare const profileSchema: {
|
|
|
4561
4860
|
};
|
|
4562
4861
|
readonly weight: {
|
|
4563
4862
|
readonly type: "integer";
|
|
4564
|
-
readonly description: "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/
|
|
4863
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4565
4864
|
readonly minimum: 0;
|
|
4566
4865
|
readonly maximum: 1000;
|
|
4567
4866
|
};
|
|
4568
4867
|
readonly weightType: {
|
|
4569
|
-
readonly description: "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/
|
|
4868
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
4570
4869
|
readonly type: "string";
|
|
4571
4870
|
readonly example: "fix";
|
|
4572
4871
|
readonly enum: readonly ["variable", "fix"];
|
|
4573
4872
|
};
|
|
4574
4873
|
readonly stickiness: {
|
|
4575
4874
|
readonly type: "string";
|
|
4576
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4875
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
4577
4876
|
readonly example: "custom.context.field";
|
|
4578
4877
|
};
|
|
4579
4878
|
readonly payload: {
|
|
@@ -4614,7 +4913,7 @@ export declare const profileSchema: {
|
|
|
4614
4913
|
readonly constraintSchema: {
|
|
4615
4914
|
readonly type: "object";
|
|
4616
4915
|
readonly required: readonly ["contextName", "operator"];
|
|
4617
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
4916
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4618
4917
|
readonly properties: {
|
|
4619
4918
|
readonly contextName: {
|
|
4620
4919
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4622,7 +4921,7 @@ export declare const profileSchema: {
|
|
|
4622
4921
|
readonly type: "string";
|
|
4623
4922
|
};
|
|
4624
4923
|
readonly operator: {
|
|
4625
|
-
readonly description: "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/
|
|
4924
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
4626
4925
|
readonly type: "string";
|
|
4627
4926
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4628
4927
|
readonly example: "IN";
|
|
@@ -4668,19 +4967,19 @@ export declare const profileSchema: {
|
|
|
4668
4967
|
};
|
|
4669
4968
|
readonly weight: {
|
|
4670
4969
|
readonly type: "integer";
|
|
4671
|
-
readonly description: "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/
|
|
4970
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4672
4971
|
readonly minimum: 0;
|
|
4673
4972
|
readonly maximum: 1000;
|
|
4674
4973
|
};
|
|
4675
4974
|
readonly weightType: {
|
|
4676
|
-
readonly description: "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/
|
|
4975
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
4677
4976
|
readonly type: "string";
|
|
4678
4977
|
readonly example: "fix";
|
|
4679
4978
|
readonly enum: readonly ["variable", "fix"];
|
|
4680
4979
|
};
|
|
4681
4980
|
readonly stickiness: {
|
|
4682
4981
|
readonly type: "string";
|
|
4683
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
4982
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
4684
4983
|
readonly example: "custom.context.field";
|
|
4685
4984
|
};
|
|
4686
4985
|
readonly payload: {
|
|
@@ -4770,7 +5069,7 @@ export declare const profileSchema: {
|
|
|
4770
5069
|
};
|
|
4771
5070
|
readonly constraints: {
|
|
4772
5071
|
readonly type: "array";
|
|
4773
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5072
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4774
5073
|
readonly example: readonly [{
|
|
4775
5074
|
readonly values: readonly ["1", "2"];
|
|
4776
5075
|
readonly inverted: false;
|
|
@@ -4830,7 +5129,7 @@ export declare const profileSchema: {
|
|
|
4830
5129
|
};
|
|
4831
5130
|
readonly constraints: {
|
|
4832
5131
|
readonly type: "array";
|
|
4833
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5132
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
4834
5133
|
readonly example: readonly [{
|
|
4835
5134
|
readonly values: readonly ["1", "2"];
|
|
4836
5135
|
readonly inverted: false;
|
|
@@ -4872,7 +5171,7 @@ export declare const profileSchema: {
|
|
|
4872
5171
|
readonly constraintSchema: {
|
|
4873
5172
|
readonly type: "object";
|
|
4874
5173
|
readonly required: readonly ["contextName", "operator"];
|
|
4875
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5174
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4876
5175
|
readonly properties: {
|
|
4877
5176
|
readonly contextName: {
|
|
4878
5177
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4880,7 +5179,7 @@ export declare const profileSchema: {
|
|
|
4880
5179
|
readonly type: "string";
|
|
4881
5180
|
};
|
|
4882
5181
|
readonly operator: {
|
|
4883
|
-
readonly description: "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/
|
|
5182
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
4884
5183
|
readonly type: "string";
|
|
4885
5184
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
4886
5185
|
readonly example: "IN";
|
|
@@ -4935,19 +5234,19 @@ export declare const profileSchema: {
|
|
|
4935
5234
|
};
|
|
4936
5235
|
readonly weight: {
|
|
4937
5236
|
readonly type: "integer";
|
|
4938
|
-
readonly description: "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/
|
|
5237
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
4939
5238
|
readonly minimum: 0;
|
|
4940
5239
|
readonly maximum: 1000;
|
|
4941
5240
|
};
|
|
4942
5241
|
readonly weightType: {
|
|
4943
|
-
readonly description: "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/
|
|
5242
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
4944
5243
|
readonly type: "string";
|
|
4945
5244
|
readonly example: "fix";
|
|
4946
5245
|
readonly enum: readonly ["variable", "fix"];
|
|
4947
5246
|
};
|
|
4948
5247
|
readonly stickiness: {
|
|
4949
5248
|
readonly type: "string";
|
|
4950
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5249
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
4951
5250
|
readonly example: "custom.context.field";
|
|
4952
5251
|
};
|
|
4953
5252
|
readonly payload: {
|
|
@@ -4988,7 +5287,7 @@ export declare const profileSchema: {
|
|
|
4988
5287
|
readonly constraintSchema: {
|
|
4989
5288
|
readonly type: "object";
|
|
4990
5289
|
readonly required: readonly ["contextName", "operator"];
|
|
4991
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5290
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
4992
5291
|
readonly properties: {
|
|
4993
5292
|
readonly contextName: {
|
|
4994
5293
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -4996,7 +5295,7 @@ export declare const profileSchema: {
|
|
|
4996
5295
|
readonly type: "string";
|
|
4997
5296
|
};
|
|
4998
5297
|
readonly operator: {
|
|
4999
|
-
readonly description: "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/
|
|
5298
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5000
5299
|
readonly type: "string";
|
|
5001
5300
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5002
5301
|
readonly example: "IN";
|
|
@@ -5042,19 +5341,19 @@ export declare const profileSchema: {
|
|
|
5042
5341
|
};
|
|
5043
5342
|
readonly weight: {
|
|
5044
5343
|
readonly type: "integer";
|
|
5045
|
-
readonly description: "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/
|
|
5344
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5046
5345
|
readonly minimum: 0;
|
|
5047
5346
|
readonly maximum: 1000;
|
|
5048
5347
|
};
|
|
5049
5348
|
readonly weightType: {
|
|
5050
|
-
readonly description: "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/
|
|
5349
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5051
5350
|
readonly type: "string";
|
|
5052
5351
|
readonly example: "fix";
|
|
5053
5352
|
readonly enum: readonly ["variable", "fix"];
|
|
5054
5353
|
};
|
|
5055
5354
|
readonly stickiness: {
|
|
5056
5355
|
readonly type: "string";
|
|
5057
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5356
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5058
5357
|
readonly example: "custom.context.field";
|
|
5059
5358
|
};
|
|
5060
5359
|
readonly payload: {
|
|
@@ -5113,7 +5412,7 @@ export declare const profileSchema: {
|
|
|
5113
5412
|
};
|
|
5114
5413
|
readonly constraints: {
|
|
5115
5414
|
readonly type: "array";
|
|
5116
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
5415
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5117
5416
|
readonly example: readonly [{
|
|
5118
5417
|
readonly values: readonly ["1", "2"];
|
|
5119
5418
|
readonly inverted: false;
|
|
@@ -5155,7 +5454,7 @@ export declare const profileSchema: {
|
|
|
5155
5454
|
readonly constraintSchema: {
|
|
5156
5455
|
readonly type: "object";
|
|
5157
5456
|
readonly required: readonly ["contextName", "operator"];
|
|
5158
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5457
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5159
5458
|
readonly properties: {
|
|
5160
5459
|
readonly contextName: {
|
|
5161
5460
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5163,7 +5462,7 @@ export declare const profileSchema: {
|
|
|
5163
5462
|
readonly type: "string";
|
|
5164
5463
|
};
|
|
5165
5464
|
readonly operator: {
|
|
5166
|
-
readonly description: "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/
|
|
5465
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5167
5466
|
readonly type: "string";
|
|
5168
5467
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5169
5468
|
readonly example: "IN";
|
|
@@ -5218,19 +5517,19 @@ export declare const profileSchema: {
|
|
|
5218
5517
|
};
|
|
5219
5518
|
readonly weight: {
|
|
5220
5519
|
readonly type: "integer";
|
|
5221
|
-
readonly description: "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/
|
|
5520
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5222
5521
|
readonly minimum: 0;
|
|
5223
5522
|
readonly maximum: 1000;
|
|
5224
5523
|
};
|
|
5225
5524
|
readonly weightType: {
|
|
5226
|
-
readonly description: "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/
|
|
5525
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5227
5526
|
readonly type: "string";
|
|
5228
5527
|
readonly example: "fix";
|
|
5229
5528
|
readonly enum: readonly ["variable", "fix"];
|
|
5230
5529
|
};
|
|
5231
5530
|
readonly stickiness: {
|
|
5232
5531
|
readonly type: "string";
|
|
5233
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5532
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5234
5533
|
readonly example: "custom.context.field";
|
|
5235
5534
|
};
|
|
5236
5535
|
readonly payload: {
|
|
@@ -5271,7 +5570,7 @@ export declare const profileSchema: {
|
|
|
5271
5570
|
readonly constraintSchema: {
|
|
5272
5571
|
readonly type: "object";
|
|
5273
5572
|
readonly required: readonly ["contextName", "operator"];
|
|
5274
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
5573
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5275
5574
|
readonly properties: {
|
|
5276
5575
|
readonly contextName: {
|
|
5277
5576
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5279,7 +5578,7 @@ export declare const profileSchema: {
|
|
|
5279
5578
|
readonly type: "string";
|
|
5280
5579
|
};
|
|
5281
5580
|
readonly operator: {
|
|
5282
|
-
readonly description: "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/
|
|
5581
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5283
5582
|
readonly type: "string";
|
|
5284
5583
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5285
5584
|
readonly example: "IN";
|
|
@@ -5325,19 +5624,19 @@ export declare const profileSchema: {
|
|
|
5325
5624
|
};
|
|
5326
5625
|
readonly weight: {
|
|
5327
5626
|
readonly type: "integer";
|
|
5328
|
-
readonly description: "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/
|
|
5627
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5329
5628
|
readonly minimum: 0;
|
|
5330
5629
|
readonly maximum: 1000;
|
|
5331
5630
|
};
|
|
5332
5631
|
readonly weightType: {
|
|
5333
|
-
readonly description: "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/
|
|
5632
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5334
5633
|
readonly type: "string";
|
|
5335
5634
|
readonly example: "fix";
|
|
5336
5635
|
readonly enum: readonly ["variable", "fix"];
|
|
5337
5636
|
};
|
|
5338
5637
|
readonly stickiness: {
|
|
5339
5638
|
readonly type: "string";
|
|
5340
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
5639
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5341
5640
|
readonly example: "custom.context.field";
|
|
5342
5641
|
};
|
|
5343
5642
|
readonly payload: {
|
|
@@ -5379,6 +5678,214 @@ export declare const profileSchema: {
|
|
|
5379
5678
|
};
|
|
5380
5679
|
readonly components: {};
|
|
5381
5680
|
};
|
|
5681
|
+
readonly safeguardSchema: {
|
|
5682
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
5683
|
+
readonly type: "object";
|
|
5684
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
5685
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
5686
|
+
readonly additionalProperties: false;
|
|
5687
|
+
readonly properties: {
|
|
5688
|
+
readonly id: {
|
|
5689
|
+
readonly type: "string";
|
|
5690
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
5691
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
5692
|
+
};
|
|
5693
|
+
readonly action: {
|
|
5694
|
+
readonly type: "object";
|
|
5695
|
+
readonly required: readonly ["type", "id"];
|
|
5696
|
+
readonly additionalProperties: false;
|
|
5697
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
5698
|
+
readonly properties: {
|
|
5699
|
+
readonly type: {
|
|
5700
|
+
readonly type: "string";
|
|
5701
|
+
readonly description: "The type of action to perform.";
|
|
5702
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
5703
|
+
};
|
|
5704
|
+
readonly id: {
|
|
5705
|
+
readonly type: "string";
|
|
5706
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
5707
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
5708
|
+
};
|
|
5709
|
+
};
|
|
5710
|
+
};
|
|
5711
|
+
readonly triggerCondition: {
|
|
5712
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5713
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5714
|
+
};
|
|
5715
|
+
readonly impactMetric: {
|
|
5716
|
+
readonly type: "object";
|
|
5717
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5718
|
+
readonly additionalProperties: false;
|
|
5719
|
+
readonly properties: {
|
|
5720
|
+
readonly metricName: {
|
|
5721
|
+
readonly type: "string";
|
|
5722
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5723
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5724
|
+
};
|
|
5725
|
+
readonly timeRange: {
|
|
5726
|
+
readonly type: "string";
|
|
5727
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5728
|
+
readonly description: "The time range for the metric data.";
|
|
5729
|
+
readonly example: "day";
|
|
5730
|
+
};
|
|
5731
|
+
readonly aggregationMode: {
|
|
5732
|
+
readonly type: "string";
|
|
5733
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5734
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5735
|
+
readonly example: "rps";
|
|
5736
|
+
};
|
|
5737
|
+
readonly labelSelectors: {
|
|
5738
|
+
readonly type: "object";
|
|
5739
|
+
readonly additionalProperties: {
|
|
5740
|
+
readonly type: "array";
|
|
5741
|
+
readonly items: {
|
|
5742
|
+
readonly type: "string";
|
|
5743
|
+
};
|
|
5744
|
+
};
|
|
5745
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5746
|
+
readonly example: {
|
|
5747
|
+
readonly environment: readonly ["development"];
|
|
5748
|
+
readonly project: readonly ["default"];
|
|
5749
|
+
};
|
|
5750
|
+
};
|
|
5751
|
+
readonly id: {
|
|
5752
|
+
readonly type: "string";
|
|
5753
|
+
readonly description: "The unique identifier for this impact metric";
|
|
5754
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
5758
|
+
};
|
|
5759
|
+
};
|
|
5760
|
+
readonly components: {
|
|
5761
|
+
readonly schemas: {
|
|
5762
|
+
readonly metricQuerySchema: {
|
|
5763
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
5764
|
+
readonly type: "object";
|
|
5765
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5766
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
5767
|
+
readonly additionalProperties: false;
|
|
5768
|
+
readonly properties: {
|
|
5769
|
+
readonly metricName: {
|
|
5770
|
+
readonly type: "string";
|
|
5771
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5772
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5773
|
+
};
|
|
5774
|
+
readonly timeRange: {
|
|
5775
|
+
readonly type: "string";
|
|
5776
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5777
|
+
readonly description: "The time range for the metric data.";
|
|
5778
|
+
readonly example: "day";
|
|
5779
|
+
};
|
|
5780
|
+
readonly aggregationMode: {
|
|
5781
|
+
readonly type: "string";
|
|
5782
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5783
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5784
|
+
readonly example: "rps";
|
|
5785
|
+
};
|
|
5786
|
+
readonly labelSelectors: {
|
|
5787
|
+
readonly type: "object";
|
|
5788
|
+
readonly additionalProperties: {
|
|
5789
|
+
readonly type: "array";
|
|
5790
|
+
readonly items: {
|
|
5791
|
+
readonly type: "string";
|
|
5792
|
+
};
|
|
5793
|
+
};
|
|
5794
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5795
|
+
readonly example: {
|
|
5796
|
+
readonly environment: readonly ["development"];
|
|
5797
|
+
readonly project: readonly ["default"];
|
|
5798
|
+
};
|
|
5799
|
+
};
|
|
5800
|
+
};
|
|
5801
|
+
readonly components: {};
|
|
5802
|
+
};
|
|
5803
|
+
readonly safeguardTriggerConditionSchema: {
|
|
5804
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5805
|
+
readonly type: "object";
|
|
5806
|
+
readonly required: readonly ["operator", "threshold"];
|
|
5807
|
+
readonly additionalProperties: false;
|
|
5808
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5809
|
+
readonly properties: {
|
|
5810
|
+
readonly operator: {
|
|
5811
|
+
readonly type: "string";
|
|
5812
|
+
readonly enum: readonly [">", "<"];
|
|
5813
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
5814
|
+
readonly example: ">";
|
|
5815
|
+
};
|
|
5816
|
+
readonly threshold: {
|
|
5817
|
+
readonly type: "number";
|
|
5818
|
+
readonly description: "The threshold value to compare against.";
|
|
5819
|
+
readonly example: 100;
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
readonly components: {};
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
};
|
|
5826
|
+
};
|
|
5827
|
+
readonly metricQuerySchema: {
|
|
5828
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
5829
|
+
readonly type: "object";
|
|
5830
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
5831
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
5832
|
+
readonly additionalProperties: false;
|
|
5833
|
+
readonly properties: {
|
|
5834
|
+
readonly metricName: {
|
|
5835
|
+
readonly type: "string";
|
|
5836
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
5837
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
5838
|
+
};
|
|
5839
|
+
readonly timeRange: {
|
|
5840
|
+
readonly type: "string";
|
|
5841
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
5842
|
+
readonly description: "The time range for the metric data.";
|
|
5843
|
+
readonly example: "day";
|
|
5844
|
+
};
|
|
5845
|
+
readonly aggregationMode: {
|
|
5846
|
+
readonly type: "string";
|
|
5847
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
5848
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
5849
|
+
readonly example: "rps";
|
|
5850
|
+
};
|
|
5851
|
+
readonly labelSelectors: {
|
|
5852
|
+
readonly type: "object";
|
|
5853
|
+
readonly additionalProperties: {
|
|
5854
|
+
readonly type: "array";
|
|
5855
|
+
readonly items: {
|
|
5856
|
+
readonly type: "string";
|
|
5857
|
+
};
|
|
5858
|
+
};
|
|
5859
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
5860
|
+
readonly example: {
|
|
5861
|
+
readonly environment: readonly ["development"];
|
|
5862
|
+
readonly project: readonly ["default"];
|
|
5863
|
+
};
|
|
5864
|
+
};
|
|
5865
|
+
};
|
|
5866
|
+
readonly components: {};
|
|
5867
|
+
};
|
|
5868
|
+
readonly safeguardTriggerConditionSchema: {
|
|
5869
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
5870
|
+
readonly type: "object";
|
|
5871
|
+
readonly required: readonly ["operator", "threshold"];
|
|
5872
|
+
readonly additionalProperties: false;
|
|
5873
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
5874
|
+
readonly properties: {
|
|
5875
|
+
readonly operator: {
|
|
5876
|
+
readonly type: "string";
|
|
5877
|
+
readonly enum: readonly [">", "<"];
|
|
5878
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
5879
|
+
readonly example: ">";
|
|
5880
|
+
};
|
|
5881
|
+
readonly threshold: {
|
|
5882
|
+
readonly type: "number";
|
|
5883
|
+
readonly description: "The threshold value to compare against.";
|
|
5884
|
+
readonly example: 100;
|
|
5885
|
+
};
|
|
5886
|
+
};
|
|
5887
|
+
readonly components: {};
|
|
5888
|
+
};
|
|
5382
5889
|
};
|
|
5383
5890
|
};
|
|
5384
5891
|
};
|
|
@@ -5418,8 +5925,19 @@ export declare const profileSchema: {
|
|
|
5418
5925
|
readonly nullable: true;
|
|
5419
5926
|
};
|
|
5420
5927
|
readonly transitionCondition: {
|
|
5928
|
+
readonly type: "object";
|
|
5929
|
+
readonly additionalProperties: false;
|
|
5930
|
+
readonly required: readonly ["intervalMinutes"];
|
|
5931
|
+
readonly properties: {
|
|
5932
|
+
readonly intervalMinutes: {
|
|
5933
|
+
readonly type: "integer";
|
|
5934
|
+
readonly minimum: 1;
|
|
5935
|
+
readonly description: "The interval in minutes before transitioning";
|
|
5936
|
+
readonly example: 30;
|
|
5937
|
+
};
|
|
5938
|
+
};
|
|
5421
5939
|
readonly description: "The condition configuration for the transition";
|
|
5422
|
-
readonly
|
|
5940
|
+
readonly nullable: true;
|
|
5423
5941
|
};
|
|
5424
5942
|
readonly progressionExecutedAt: {
|
|
5425
5943
|
readonly type: "string";
|
|
@@ -5428,6 +5946,13 @@ export declare const profileSchema: {
|
|
|
5428
5946
|
readonly example: "2024-01-01T00:00:00.000Z";
|
|
5429
5947
|
readonly nullable: true;
|
|
5430
5948
|
};
|
|
5949
|
+
readonly pausedAt: {
|
|
5950
|
+
readonly type: "string";
|
|
5951
|
+
readonly format: "date-time";
|
|
5952
|
+
readonly description: "The date and time when the milestone was paused.";
|
|
5953
|
+
readonly example: "2024-01-01T00:00:00.000Z";
|
|
5954
|
+
readonly nullable: true;
|
|
5955
|
+
};
|
|
5431
5956
|
readonly strategies: {
|
|
5432
5957
|
readonly type: "array";
|
|
5433
5958
|
readonly description: "A list of strategies that are attached to this milestone.";
|
|
@@ -5483,7 +6008,7 @@ export declare const profileSchema: {
|
|
|
5483
6008
|
};
|
|
5484
6009
|
readonly constraints: {
|
|
5485
6010
|
readonly type: "array";
|
|
5486
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6011
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5487
6012
|
readonly example: readonly [{
|
|
5488
6013
|
readonly values: readonly ["1", "2"];
|
|
5489
6014
|
readonly inverted: false;
|
|
@@ -5543,7 +6068,7 @@ export declare const profileSchema: {
|
|
|
5543
6068
|
};
|
|
5544
6069
|
readonly constraints: {
|
|
5545
6070
|
readonly type: "array";
|
|
5546
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6071
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5547
6072
|
readonly example: readonly [{
|
|
5548
6073
|
readonly values: readonly ["1", "2"];
|
|
5549
6074
|
readonly inverted: false;
|
|
@@ -5585,7 +6110,7 @@ export declare const profileSchema: {
|
|
|
5585
6110
|
readonly constraintSchema: {
|
|
5586
6111
|
readonly type: "object";
|
|
5587
6112
|
readonly required: readonly ["contextName", "operator"];
|
|
5588
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6113
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5589
6114
|
readonly properties: {
|
|
5590
6115
|
readonly contextName: {
|
|
5591
6116
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5593,7 +6118,7 @@ export declare const profileSchema: {
|
|
|
5593
6118
|
readonly type: "string";
|
|
5594
6119
|
};
|
|
5595
6120
|
readonly operator: {
|
|
5596
|
-
readonly description: "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/
|
|
6121
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5597
6122
|
readonly type: "string";
|
|
5598
6123
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5599
6124
|
readonly example: "IN";
|
|
@@ -5648,19 +6173,19 @@ export declare const profileSchema: {
|
|
|
5648
6173
|
};
|
|
5649
6174
|
readonly weight: {
|
|
5650
6175
|
readonly type: "integer";
|
|
5651
|
-
readonly description: "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/
|
|
6176
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5652
6177
|
readonly minimum: 0;
|
|
5653
6178
|
readonly maximum: 1000;
|
|
5654
6179
|
};
|
|
5655
6180
|
readonly weightType: {
|
|
5656
|
-
readonly description: "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/
|
|
6181
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5657
6182
|
readonly type: "string";
|
|
5658
6183
|
readonly example: "fix";
|
|
5659
6184
|
readonly enum: readonly ["variable", "fix"];
|
|
5660
6185
|
};
|
|
5661
6186
|
readonly stickiness: {
|
|
5662
6187
|
readonly type: "string";
|
|
5663
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6188
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5664
6189
|
readonly example: "custom.context.field";
|
|
5665
6190
|
};
|
|
5666
6191
|
readonly payload: {
|
|
@@ -5701,7 +6226,7 @@ export declare const profileSchema: {
|
|
|
5701
6226
|
readonly constraintSchema: {
|
|
5702
6227
|
readonly type: "object";
|
|
5703
6228
|
readonly required: readonly ["contextName", "operator"];
|
|
5704
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6229
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5705
6230
|
readonly properties: {
|
|
5706
6231
|
readonly contextName: {
|
|
5707
6232
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5709,7 +6234,7 @@ export declare const profileSchema: {
|
|
|
5709
6234
|
readonly type: "string";
|
|
5710
6235
|
};
|
|
5711
6236
|
readonly operator: {
|
|
5712
|
-
readonly description: "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/
|
|
6237
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5713
6238
|
readonly type: "string";
|
|
5714
6239
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5715
6240
|
readonly example: "IN";
|
|
@@ -5755,19 +6280,19 @@ export declare const profileSchema: {
|
|
|
5755
6280
|
};
|
|
5756
6281
|
readonly weight: {
|
|
5757
6282
|
readonly type: "integer";
|
|
5758
|
-
readonly description: "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/
|
|
6283
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5759
6284
|
readonly minimum: 0;
|
|
5760
6285
|
readonly maximum: 1000;
|
|
5761
6286
|
};
|
|
5762
6287
|
readonly weightType: {
|
|
5763
|
-
readonly description: "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/
|
|
6288
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5764
6289
|
readonly type: "string";
|
|
5765
6290
|
readonly example: "fix";
|
|
5766
6291
|
readonly enum: readonly ["variable", "fix"];
|
|
5767
6292
|
};
|
|
5768
6293
|
readonly stickiness: {
|
|
5769
6294
|
readonly type: "string";
|
|
5770
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6295
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5771
6296
|
readonly example: "custom.context.field";
|
|
5772
6297
|
};
|
|
5773
6298
|
readonly payload: {
|
|
@@ -5826,7 +6351,7 @@ export declare const profileSchema: {
|
|
|
5826
6351
|
};
|
|
5827
6352
|
readonly constraints: {
|
|
5828
6353
|
readonly type: "array";
|
|
5829
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6354
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
5830
6355
|
readonly example: readonly [{
|
|
5831
6356
|
readonly values: readonly ["1", "2"];
|
|
5832
6357
|
readonly inverted: false;
|
|
@@ -5868,7 +6393,7 @@ export declare const profileSchema: {
|
|
|
5868
6393
|
readonly constraintSchema: {
|
|
5869
6394
|
readonly type: "object";
|
|
5870
6395
|
readonly required: readonly ["contextName", "operator"];
|
|
5871
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6396
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5872
6397
|
readonly properties: {
|
|
5873
6398
|
readonly contextName: {
|
|
5874
6399
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5876,7 +6401,7 @@ export declare const profileSchema: {
|
|
|
5876
6401
|
readonly type: "string";
|
|
5877
6402
|
};
|
|
5878
6403
|
readonly operator: {
|
|
5879
|
-
readonly description: "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/
|
|
6404
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5880
6405
|
readonly type: "string";
|
|
5881
6406
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5882
6407
|
readonly example: "IN";
|
|
@@ -5931,19 +6456,19 @@ export declare const profileSchema: {
|
|
|
5931
6456
|
};
|
|
5932
6457
|
readonly weight: {
|
|
5933
6458
|
readonly type: "integer";
|
|
5934
|
-
readonly description: "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/
|
|
6459
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
5935
6460
|
readonly minimum: 0;
|
|
5936
6461
|
readonly maximum: 1000;
|
|
5937
6462
|
};
|
|
5938
6463
|
readonly weightType: {
|
|
5939
|
-
readonly description: "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/
|
|
6464
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
5940
6465
|
readonly type: "string";
|
|
5941
6466
|
readonly example: "fix";
|
|
5942
6467
|
readonly enum: readonly ["variable", "fix"];
|
|
5943
6468
|
};
|
|
5944
6469
|
readonly stickiness: {
|
|
5945
6470
|
readonly type: "string";
|
|
5946
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6471
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
5947
6472
|
readonly example: "custom.context.field";
|
|
5948
6473
|
};
|
|
5949
6474
|
readonly payload: {
|
|
@@ -5984,7 +6509,7 @@ export declare const profileSchema: {
|
|
|
5984
6509
|
readonly constraintSchema: {
|
|
5985
6510
|
readonly type: "object";
|
|
5986
6511
|
readonly required: readonly ["contextName", "operator"];
|
|
5987
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6512
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
5988
6513
|
readonly properties: {
|
|
5989
6514
|
readonly contextName: {
|
|
5990
6515
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -5992,7 +6517,7 @@ export declare const profileSchema: {
|
|
|
5992
6517
|
readonly type: "string";
|
|
5993
6518
|
};
|
|
5994
6519
|
readonly operator: {
|
|
5995
|
-
readonly description: "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/
|
|
6520
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
5996
6521
|
readonly type: "string";
|
|
5997
6522
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
5998
6523
|
readonly example: "IN";
|
|
@@ -6038,19 +6563,19 @@ export declare const profileSchema: {
|
|
|
6038
6563
|
};
|
|
6039
6564
|
readonly weight: {
|
|
6040
6565
|
readonly type: "integer";
|
|
6041
|
-
readonly description: "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/
|
|
6566
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6042
6567
|
readonly minimum: 0;
|
|
6043
6568
|
readonly maximum: 1000;
|
|
6044
6569
|
};
|
|
6045
6570
|
readonly weightType: {
|
|
6046
|
-
readonly description: "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/
|
|
6571
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
6047
6572
|
readonly type: "string";
|
|
6048
6573
|
readonly example: "fix";
|
|
6049
6574
|
readonly enum: readonly ["variable", "fix"];
|
|
6050
6575
|
};
|
|
6051
6576
|
readonly stickiness: {
|
|
6052
6577
|
readonly type: "string";
|
|
6053
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6578
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
6054
6579
|
readonly example: "custom.context.field";
|
|
6055
6580
|
};
|
|
6056
6581
|
readonly payload: {
|
|
@@ -6140,7 +6665,7 @@ export declare const profileSchema: {
|
|
|
6140
6665
|
};
|
|
6141
6666
|
readonly constraints: {
|
|
6142
6667
|
readonly type: "array";
|
|
6143
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6668
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6144
6669
|
readonly example: readonly [{
|
|
6145
6670
|
readonly values: readonly ["1", "2"];
|
|
6146
6671
|
readonly inverted: false;
|
|
@@ -6200,7 +6725,7 @@ export declare const profileSchema: {
|
|
|
6200
6725
|
};
|
|
6201
6726
|
readonly constraints: {
|
|
6202
6727
|
readonly type: "array";
|
|
6203
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
6728
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6204
6729
|
readonly example: readonly [{
|
|
6205
6730
|
readonly values: readonly ["1", "2"];
|
|
6206
6731
|
readonly inverted: false;
|
|
@@ -6242,7 +6767,7 @@ export declare const profileSchema: {
|
|
|
6242
6767
|
readonly constraintSchema: {
|
|
6243
6768
|
readonly type: "object";
|
|
6244
6769
|
readonly required: readonly ["contextName", "operator"];
|
|
6245
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6770
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6246
6771
|
readonly properties: {
|
|
6247
6772
|
readonly contextName: {
|
|
6248
6773
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6250,7 +6775,7 @@ export declare const profileSchema: {
|
|
|
6250
6775
|
readonly type: "string";
|
|
6251
6776
|
};
|
|
6252
6777
|
readonly operator: {
|
|
6253
|
-
readonly description: "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/
|
|
6778
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
6254
6779
|
readonly type: "string";
|
|
6255
6780
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6256
6781
|
readonly example: "IN";
|
|
@@ -6305,19 +6830,19 @@ export declare const profileSchema: {
|
|
|
6305
6830
|
};
|
|
6306
6831
|
readonly weight: {
|
|
6307
6832
|
readonly type: "integer";
|
|
6308
|
-
readonly description: "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/
|
|
6833
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6309
6834
|
readonly minimum: 0;
|
|
6310
6835
|
readonly maximum: 1000;
|
|
6311
6836
|
};
|
|
6312
6837
|
readonly weightType: {
|
|
6313
|
-
readonly description: "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/
|
|
6838
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
6314
6839
|
readonly type: "string";
|
|
6315
6840
|
readonly example: "fix";
|
|
6316
6841
|
readonly enum: readonly ["variable", "fix"];
|
|
6317
6842
|
};
|
|
6318
6843
|
readonly stickiness: {
|
|
6319
6844
|
readonly type: "string";
|
|
6320
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6845
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
6321
6846
|
readonly example: "custom.context.field";
|
|
6322
6847
|
};
|
|
6323
6848
|
readonly payload: {
|
|
@@ -6358,7 +6883,7 @@ export declare const profileSchema: {
|
|
|
6358
6883
|
readonly constraintSchema: {
|
|
6359
6884
|
readonly type: "object";
|
|
6360
6885
|
readonly required: readonly ["contextName", "operator"];
|
|
6361
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
6886
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6362
6887
|
readonly properties: {
|
|
6363
6888
|
readonly contextName: {
|
|
6364
6889
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6366,7 +6891,7 @@ export declare const profileSchema: {
|
|
|
6366
6891
|
readonly type: "string";
|
|
6367
6892
|
};
|
|
6368
6893
|
readonly operator: {
|
|
6369
|
-
readonly description: "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/
|
|
6894
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
6370
6895
|
readonly type: "string";
|
|
6371
6896
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6372
6897
|
readonly example: "IN";
|
|
@@ -6412,19 +6937,19 @@ export declare const profileSchema: {
|
|
|
6412
6937
|
};
|
|
6413
6938
|
readonly weight: {
|
|
6414
6939
|
readonly type: "integer";
|
|
6415
|
-
readonly description: "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/
|
|
6940
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6416
6941
|
readonly minimum: 0;
|
|
6417
6942
|
readonly maximum: 1000;
|
|
6418
6943
|
};
|
|
6419
6944
|
readonly weightType: {
|
|
6420
|
-
readonly description: "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/
|
|
6945
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
6421
6946
|
readonly type: "string";
|
|
6422
6947
|
readonly example: "fix";
|
|
6423
6948
|
readonly enum: readonly ["variable", "fix"];
|
|
6424
6949
|
};
|
|
6425
6950
|
readonly stickiness: {
|
|
6426
6951
|
readonly type: "string";
|
|
6427
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
6952
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
6428
6953
|
readonly example: "custom.context.field";
|
|
6429
6954
|
};
|
|
6430
6955
|
readonly payload: {
|
|
@@ -6483,7 +7008,7 @@ export declare const profileSchema: {
|
|
|
6483
7008
|
};
|
|
6484
7009
|
readonly constraints: {
|
|
6485
7010
|
readonly type: "array";
|
|
6486
|
-
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/
|
|
7011
|
+
readonly description: "A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints";
|
|
6487
7012
|
readonly example: readonly [{
|
|
6488
7013
|
readonly values: readonly ["1", "2"];
|
|
6489
7014
|
readonly inverted: false;
|
|
@@ -6525,7 +7050,7 @@ export declare const profileSchema: {
|
|
|
6525
7050
|
readonly constraintSchema: {
|
|
6526
7051
|
readonly type: "object";
|
|
6527
7052
|
readonly required: readonly ["contextName", "operator"];
|
|
6528
|
-
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/
|
|
7053
|
+
readonly description: "A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategies#constraints)";
|
|
6529
7054
|
readonly properties: {
|
|
6530
7055
|
readonly contextName: {
|
|
6531
7056
|
readonly description: "The name of the context field that this constraint should apply to.";
|
|
@@ -6533,7 +7058,7 @@ export declare const profileSchema: {
|
|
|
6533
7058
|
readonly type: "string";
|
|
6534
7059
|
};
|
|
6535
7060
|
readonly operator: {
|
|
6536
|
-
readonly description: "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/
|
|
7061
|
+
readonly description: "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/concepts/activation-strategies#constraint-operators).";
|
|
6537
7062
|
readonly type: "string";
|
|
6538
7063
|
readonly enum: readonly ["NOT_IN", "IN", "STR_ENDS_WITH", "STR_STARTS_WITH", "STR_CONTAINS", "NUM_EQ", "NUM_GT", "NUM_GTE", "NUM_LT", "NUM_LTE", "DATE_AFTER", "DATE_BEFORE", "SEMVER_EQ", "SEMVER_GT", "SEMVER_LT"];
|
|
6539
7064
|
readonly example: "IN";
|
|
@@ -6588,19 +7113,19 @@ export declare const profileSchema: {
|
|
|
6588
7113
|
};
|
|
6589
7114
|
readonly weight: {
|
|
6590
7115
|
readonly type: "integer";
|
|
6591
|
-
readonly description: "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/
|
|
7116
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6592
7117
|
readonly minimum: 0;
|
|
6593
7118
|
readonly maximum: 1000;
|
|
6594
7119
|
};
|
|
6595
7120
|
readonly weightType: {
|
|
6596
|
-
readonly description: "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/
|
|
7121
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
6597
7122
|
readonly type: "string";
|
|
6598
7123
|
readonly example: "fix";
|
|
6599
7124
|
readonly enum: readonly ["variable", "fix"];
|
|
6600
7125
|
};
|
|
6601
7126
|
readonly stickiness: {
|
|
6602
7127
|
readonly type: "string";
|
|
6603
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
7128
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
6604
7129
|
readonly example: "custom.context.field";
|
|
6605
7130
|
};
|
|
6606
7131
|
readonly payload: {
|
|
@@ -6642,19 +7167,19 @@ export declare const profileSchema: {
|
|
|
6642
7167
|
};
|
|
6643
7168
|
readonly weight: {
|
|
6644
7169
|
readonly type: "integer";
|
|
6645
|
-
readonly description: "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/
|
|
7170
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight) for more information";
|
|
6646
7171
|
readonly minimum: 0;
|
|
6647
7172
|
readonly maximum: 1000;
|
|
6648
7173
|
};
|
|
6649
7174
|
readonly weightType: {
|
|
6650
|
-
readonly description: "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/
|
|
7175
|
+
readonly description: "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/concepts/feature-flag-variants#variant-weight).";
|
|
6651
7176
|
readonly type: "string";
|
|
6652
7177
|
readonly example: "fix";
|
|
6653
7178
|
readonly enum: readonly ["variable", "fix"];
|
|
6654
7179
|
};
|
|
6655
7180
|
readonly stickiness: {
|
|
6656
7181
|
readonly type: "string";
|
|
6657
|
-
readonly description: "The [stickiness](https://docs.getunleash.io/
|
|
7182
|
+
readonly description: "The [stickiness](https://docs.getunleash.io/concepts/feature-flag-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";
|
|
6658
7183
|
readonly example: "custom.context.field";
|
|
6659
7184
|
};
|
|
6660
7185
|
readonly payload: {
|
|
@@ -6696,6 +7221,214 @@ export declare const profileSchema: {
|
|
|
6696
7221
|
};
|
|
6697
7222
|
readonly components: {};
|
|
6698
7223
|
};
|
|
7224
|
+
readonly safeguardSchema: {
|
|
7225
|
+
readonly $id: "#/components/schemas/safeguardSchema";
|
|
7226
|
+
readonly type: "object";
|
|
7227
|
+
readonly required: readonly ["id", "action", "triggerCondition", "impactMetric"];
|
|
7228
|
+
readonly description: "A safeguard configuration for a release plan.";
|
|
7229
|
+
readonly additionalProperties: false;
|
|
7230
|
+
readonly properties: {
|
|
7231
|
+
readonly id: {
|
|
7232
|
+
readonly type: "string";
|
|
7233
|
+
readonly description: "The unique ULID identifier for this safeguard";
|
|
7234
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
7235
|
+
};
|
|
7236
|
+
readonly action: {
|
|
7237
|
+
readonly type: "object";
|
|
7238
|
+
readonly required: readonly ["type", "id"];
|
|
7239
|
+
readonly additionalProperties: false;
|
|
7240
|
+
readonly description: "The action to take when the safeguard is triggered.";
|
|
7241
|
+
readonly properties: {
|
|
7242
|
+
readonly type: {
|
|
7243
|
+
readonly type: "string";
|
|
7244
|
+
readonly description: "The type of action to perform.";
|
|
7245
|
+
readonly example: "pauseReleasePlanProgressions";
|
|
7246
|
+
};
|
|
7247
|
+
readonly id: {
|
|
7248
|
+
readonly type: "string";
|
|
7249
|
+
readonly description: "The ID of the release plan this safeguard applies to.";
|
|
7250
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW2";
|
|
7251
|
+
};
|
|
7252
|
+
};
|
|
7253
|
+
};
|
|
7254
|
+
readonly triggerCondition: {
|
|
7255
|
+
readonly $ref: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7256
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7257
|
+
};
|
|
7258
|
+
readonly impactMetric: {
|
|
7259
|
+
readonly type: "object";
|
|
7260
|
+
readonly required: readonly ["id", "metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7261
|
+
readonly additionalProperties: false;
|
|
7262
|
+
readonly properties: {
|
|
7263
|
+
readonly metricName: {
|
|
7264
|
+
readonly type: "string";
|
|
7265
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7266
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7267
|
+
};
|
|
7268
|
+
readonly timeRange: {
|
|
7269
|
+
readonly type: "string";
|
|
7270
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7271
|
+
readonly description: "The time range for the metric data.";
|
|
7272
|
+
readonly example: "day";
|
|
7273
|
+
};
|
|
7274
|
+
readonly aggregationMode: {
|
|
7275
|
+
readonly type: "string";
|
|
7276
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7277
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7278
|
+
readonly example: "rps";
|
|
7279
|
+
};
|
|
7280
|
+
readonly labelSelectors: {
|
|
7281
|
+
readonly type: "object";
|
|
7282
|
+
readonly additionalProperties: {
|
|
7283
|
+
readonly type: "array";
|
|
7284
|
+
readonly items: {
|
|
7285
|
+
readonly type: "string";
|
|
7286
|
+
};
|
|
7287
|
+
};
|
|
7288
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7289
|
+
readonly example: {
|
|
7290
|
+
readonly environment: readonly ["development"];
|
|
7291
|
+
readonly project: readonly ["default"];
|
|
7292
|
+
};
|
|
7293
|
+
};
|
|
7294
|
+
readonly id: {
|
|
7295
|
+
readonly type: "string";
|
|
7296
|
+
readonly description: "The unique identifier for this impact metric";
|
|
7297
|
+
readonly example: "01JB9GGTGQYEQ9D40R17T3YVW1";
|
|
7298
|
+
};
|
|
7299
|
+
};
|
|
7300
|
+
readonly description: "The metric configuration used to evaluate the safeguard condition.";
|
|
7301
|
+
};
|
|
7302
|
+
};
|
|
7303
|
+
readonly components: {
|
|
7304
|
+
readonly schemas: {
|
|
7305
|
+
readonly metricQuerySchema: {
|
|
7306
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
7307
|
+
readonly type: "object";
|
|
7308
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7309
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
7310
|
+
readonly additionalProperties: false;
|
|
7311
|
+
readonly properties: {
|
|
7312
|
+
readonly metricName: {
|
|
7313
|
+
readonly type: "string";
|
|
7314
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7315
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7316
|
+
};
|
|
7317
|
+
readonly timeRange: {
|
|
7318
|
+
readonly type: "string";
|
|
7319
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7320
|
+
readonly description: "The time range for the metric data.";
|
|
7321
|
+
readonly example: "day";
|
|
7322
|
+
};
|
|
7323
|
+
readonly aggregationMode: {
|
|
7324
|
+
readonly type: "string";
|
|
7325
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7326
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7327
|
+
readonly example: "rps";
|
|
7328
|
+
};
|
|
7329
|
+
readonly labelSelectors: {
|
|
7330
|
+
readonly type: "object";
|
|
7331
|
+
readonly additionalProperties: {
|
|
7332
|
+
readonly type: "array";
|
|
7333
|
+
readonly items: {
|
|
7334
|
+
readonly type: "string";
|
|
7335
|
+
};
|
|
7336
|
+
};
|
|
7337
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7338
|
+
readonly example: {
|
|
7339
|
+
readonly environment: readonly ["development"];
|
|
7340
|
+
readonly project: readonly ["default"];
|
|
7341
|
+
};
|
|
7342
|
+
};
|
|
7343
|
+
};
|
|
7344
|
+
readonly components: {};
|
|
7345
|
+
};
|
|
7346
|
+
readonly safeguardTriggerConditionSchema: {
|
|
7347
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7348
|
+
readonly type: "object";
|
|
7349
|
+
readonly required: readonly ["operator", "threshold"];
|
|
7350
|
+
readonly additionalProperties: false;
|
|
7351
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7352
|
+
readonly properties: {
|
|
7353
|
+
readonly operator: {
|
|
7354
|
+
readonly type: "string";
|
|
7355
|
+
readonly enum: readonly [">", "<"];
|
|
7356
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
7357
|
+
readonly example: ">";
|
|
7358
|
+
};
|
|
7359
|
+
readonly threshold: {
|
|
7360
|
+
readonly type: "number";
|
|
7361
|
+
readonly description: "The threshold value to compare against.";
|
|
7362
|
+
readonly example: 100;
|
|
7363
|
+
};
|
|
7364
|
+
};
|
|
7365
|
+
readonly components: {};
|
|
7366
|
+
};
|
|
7367
|
+
};
|
|
7368
|
+
};
|
|
7369
|
+
};
|
|
7370
|
+
readonly metricQuerySchema: {
|
|
7371
|
+
readonly $id: "#/components/schemas/metricQuerySchema";
|
|
7372
|
+
readonly type: "object";
|
|
7373
|
+
readonly required: readonly ["metricName", "timeRange", "aggregationMode", "labelSelectors"];
|
|
7374
|
+
readonly description: "Common metric query configuration for selecting and filtering metric data.";
|
|
7375
|
+
readonly additionalProperties: false;
|
|
7376
|
+
readonly properties: {
|
|
7377
|
+
readonly metricName: {
|
|
7378
|
+
readonly type: "string";
|
|
7379
|
+
readonly description: "The Prometheus metric series to query. It includes both unleash prefix and metric type and display name";
|
|
7380
|
+
readonly example: "unleash_counter_feature_toggle_usage_total";
|
|
7381
|
+
};
|
|
7382
|
+
readonly timeRange: {
|
|
7383
|
+
readonly type: "string";
|
|
7384
|
+
readonly enum: readonly ["hour", "day", "week", "month"];
|
|
7385
|
+
readonly description: "The time range for the metric data.";
|
|
7386
|
+
readonly example: "day";
|
|
7387
|
+
};
|
|
7388
|
+
readonly aggregationMode: {
|
|
7389
|
+
readonly type: "string";
|
|
7390
|
+
readonly description: "The aggregation mode for the metric data.";
|
|
7391
|
+
readonly enum: readonly ["rps", "count", "avg", "sum", "p95", "p99", "p50"];
|
|
7392
|
+
readonly example: "rps";
|
|
7393
|
+
};
|
|
7394
|
+
readonly labelSelectors: {
|
|
7395
|
+
readonly type: "object";
|
|
7396
|
+
readonly additionalProperties: {
|
|
7397
|
+
readonly type: "array";
|
|
7398
|
+
readonly items: {
|
|
7399
|
+
readonly type: "string";
|
|
7400
|
+
};
|
|
7401
|
+
};
|
|
7402
|
+
readonly description: "The selected labels and their values for filtering the metric data.";
|
|
7403
|
+
readonly example: {
|
|
7404
|
+
readonly environment: readonly ["development"];
|
|
7405
|
+
readonly project: readonly ["default"];
|
|
7406
|
+
};
|
|
7407
|
+
};
|
|
7408
|
+
};
|
|
7409
|
+
readonly components: {};
|
|
7410
|
+
};
|
|
7411
|
+
readonly safeguardTriggerConditionSchema: {
|
|
7412
|
+
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
|
|
7413
|
+
readonly type: "object";
|
|
7414
|
+
readonly required: readonly ["operator", "threshold"];
|
|
7415
|
+
readonly additionalProperties: false;
|
|
7416
|
+
readonly description: "The condition that triggers the safeguard.";
|
|
7417
|
+
readonly properties: {
|
|
7418
|
+
readonly operator: {
|
|
7419
|
+
readonly type: "string";
|
|
7420
|
+
readonly enum: readonly [">", "<"];
|
|
7421
|
+
readonly description: "The comparison operator for the threshold check.";
|
|
7422
|
+
readonly example: ">";
|
|
7423
|
+
};
|
|
7424
|
+
readonly threshold: {
|
|
7425
|
+
readonly type: "number";
|
|
7426
|
+
readonly description: "The threshold value to compare against.";
|
|
7427
|
+
readonly example: 100;
|
|
7428
|
+
};
|
|
7429
|
+
};
|
|
7430
|
+
readonly components: {};
|
|
7431
|
+
};
|
|
6699
7432
|
};
|
|
6700
7433
|
};
|
|
6701
7434
|
};
|