@featureflip/mcp 0.3.0 → 0.5.0
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 +6 -3
- package/dist/cli.mjs +4 -7
- package/dist/generated/api-types.d.ts +508 -143
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/output-schemas.json.d.ts +398 -1
- package/dist/index.mjs +1 -1
- package/dist/{org-DFNWkYpr.js → org-DBlVdsb4.js} +50 -53
- package/dist/tools/flag-environments.d.ts.map +1 -1
- package/dist/tools/targeting.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -81,7 +81,8 @@ export interface paths {
|
|
|
81
81
|
put?: never;
|
|
82
82
|
/**
|
|
83
83
|
* Creates an environment in the resolved project.
|
|
84
|
-
* @description Requires at least Member.
|
|
84
|
+
* @description Requires at least Member. An environment past
|
|
85
|
+
* the plan's per-project environment cap is a 403 `plan_limit_reached`.
|
|
85
86
|
*/
|
|
86
87
|
post: {
|
|
87
88
|
parameters: {
|
|
@@ -573,7 +574,8 @@ export interface paths {
|
|
|
573
574
|
* Type is passed through verbatim to
|
|
574
575
|
* Type (a bare string) — an invalid value surfaces as
|
|
575
576
|
* the handler's own validation failure. Re-fetches via GetFeatureFlagQuery so
|
|
576
|
-
* the response reflects exactly what was persisted (e.g. server-assigned variation ids).
|
|
577
|
+
* the response reflects exactly what was persisted (e.g. server-assigned variation ids). A flag
|
|
578
|
+
* past the plan's per-project cap on active flags is a 403 `plan_limit_reached`.
|
|
577
579
|
*/
|
|
578
580
|
post: {
|
|
579
581
|
parameters: {
|
|
@@ -2008,7 +2010,9 @@ export interface paths {
|
|
|
2008
2010
|
put?: never;
|
|
2009
2011
|
/**
|
|
2010
2012
|
* Restores a previously archived flag.
|
|
2011
|
-
* @description Requires at least Member.
|
|
2013
|
+
* @description Requires at least Member. An archived flag doesn't count
|
|
2014
|
+
* toward the plan's per-project flag cap, so restoring one into a full project is a 403
|
|
2015
|
+
* `plan_limit_reached`.
|
|
2012
2016
|
*/
|
|
2013
2017
|
post: {
|
|
2014
2018
|
parameters: {
|
|
@@ -2518,6 +2522,112 @@ export interface paths {
|
|
|
2518
2522
|
patch?: never;
|
|
2519
2523
|
trace?: never;
|
|
2520
2524
|
};
|
|
2525
|
+
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/evaluations": {
|
|
2526
|
+
parameters: {
|
|
2527
|
+
query?: never;
|
|
2528
|
+
header?: never;
|
|
2529
|
+
path?: never;
|
|
2530
|
+
cookie?: never;
|
|
2531
|
+
};
|
|
2532
|
+
/**
|
|
2533
|
+
* Gets evaluation counts for the flag in one environment.
|
|
2534
|
+
* @description Counts every evaluation over the last `days` UTC days (7, 30 or 90; default 7),
|
|
2535
|
+
* starting no earlier than the flag's creation day. These are evaluation counts, not unique
|
|
2536
|
+
* users. They come from SDK-reported events, so an environment whose SDKs report none reads
|
|
2537
|
+
* zero: no evaluations reported, not necessarily no traffic. Sources are ordered live rules in
|
|
2538
|
+
* evaluation order, then deleted rules, then fallthrough, off, prerequisite, error, notFound
|
|
2539
|
+
* and unknown. On a percentage-rollout rule, `rollout.flagged` is true when the served
|
|
2540
|
+
* split is statistically off the configured weights (p < 0.001 and at least 2 percentage
|
|
2541
|
+
* points off for some variation).
|
|
2542
|
+
*/
|
|
2543
|
+
get: {
|
|
2544
|
+
parameters: {
|
|
2545
|
+
query?: {
|
|
2546
|
+
days?: 7 | 30 | 90;
|
|
2547
|
+
};
|
|
2548
|
+
header?: never;
|
|
2549
|
+
path: {
|
|
2550
|
+
org: string;
|
|
2551
|
+
project: string;
|
|
2552
|
+
flag: string;
|
|
2553
|
+
env: string;
|
|
2554
|
+
};
|
|
2555
|
+
cookie?: never;
|
|
2556
|
+
};
|
|
2557
|
+
requestBody?: never;
|
|
2558
|
+
responses: {
|
|
2559
|
+
/** @description OK */
|
|
2560
|
+
200: {
|
|
2561
|
+
headers: {
|
|
2562
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2563
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2564
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2565
|
+
[name: string]: unknown;
|
|
2566
|
+
};
|
|
2567
|
+
content: {
|
|
2568
|
+
"application/json": components["schemas"]["PublicFlagEvaluationsResponse"];
|
|
2569
|
+
};
|
|
2570
|
+
};
|
|
2571
|
+
/** @description Bad Request */
|
|
2572
|
+
400: {
|
|
2573
|
+
headers: {
|
|
2574
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2575
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2576
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2577
|
+
[name: string]: unknown;
|
|
2578
|
+
};
|
|
2579
|
+
content: {
|
|
2580
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
/** @description Authentication is required, or the supplied API token is invalid or expired. */
|
|
2584
|
+
401: {
|
|
2585
|
+
headers: {
|
|
2586
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2587
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2588
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2589
|
+
[name: string]: unknown;
|
|
2590
|
+
};
|
|
2591
|
+
content: {
|
|
2592
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
/** @description Not Found */
|
|
2596
|
+
404: {
|
|
2597
|
+
headers: {
|
|
2598
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2599
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2600
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2601
|
+
[name: string]: unknown;
|
|
2602
|
+
};
|
|
2603
|
+
content: {
|
|
2604
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2607
|
+
/** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
|
|
2608
|
+
429: {
|
|
2609
|
+
headers: {
|
|
2610
|
+
/** @description Number of seconds to wait before retrying the request. */
|
|
2611
|
+
"Retry-After"?: number;
|
|
2612
|
+
"X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
|
|
2613
|
+
"X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
|
|
2614
|
+
"X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
|
|
2615
|
+
[name: string]: unknown;
|
|
2616
|
+
};
|
|
2617
|
+
content: {
|
|
2618
|
+
"application/json": components["schemas"]["PublicApiErrorEnvelope"];
|
|
2619
|
+
};
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
};
|
|
2623
|
+
put?: never;
|
|
2624
|
+
post?: never;
|
|
2625
|
+
delete?: never;
|
|
2626
|
+
options?: never;
|
|
2627
|
+
head?: never;
|
|
2628
|
+
patch?: never;
|
|
2629
|
+
trace?: never;
|
|
2630
|
+
};
|
|
2521
2631
|
"/api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/targeting": {
|
|
2522
2632
|
parameters: {
|
|
2523
2633
|
query?: never;
|
|
@@ -2619,7 +2729,9 @@ export interface paths {
|
|
|
2619
2729
|
* Declaratively replaces the resolved flag's entire targeting rule set in the resolved environment.
|
|
2620
2730
|
* @description The ordered Rules list is applied in
|
|
2621
2731
|
* array order (= evaluation order); an empty or omitted list clears all rules. Segment-scoped
|
|
2622
|
-
* rules are supported. The replace is atomic.
|
|
2732
|
+
* rules are supported. The replace is atomic. A rule identical to an existing one keeps that
|
|
2733
|
+
* rule's id (moving it to its new position); only new or changed rules get new ids.
|
|
2734
|
+
* Requires at least Member.
|
|
2623
2735
|
*/
|
|
2624
2736
|
put: {
|
|
2625
2737
|
parameters: {
|
|
@@ -3880,7 +3992,8 @@ export interface paths {
|
|
|
3880
3992
|
put?: never;
|
|
3881
3993
|
/**
|
|
3882
3994
|
* Creates a project in the resolved organization.
|
|
3883
|
-
* @description Requires at least Member.
|
|
3995
|
+
* @description Requires at least Member. A project past the
|
|
3996
|
+
* plan's project cap is a 403 `plan_limit_reached`.
|
|
3884
3997
|
*/
|
|
3885
3998
|
post: {
|
|
3886
3999
|
parameters: {
|
|
@@ -5511,7 +5624,8 @@ export interface paths {
|
|
|
5511
5624
|
/**
|
|
5512
5625
|
* Creates a webhook subscription.
|
|
5513
5626
|
* @description Requires Admin. The response carries the signing secret,
|
|
5514
|
-
* which is never shown again. Supports the `Idempotency-Key` header.
|
|
5627
|
+
* which is never shown again. Supports the `Idempotency-Key` header. A subscription past
|
|
5628
|
+
* the plan's webhook cap is a 403 `plan_limit_reached`.
|
|
5515
5629
|
*/
|
|
5516
5630
|
post: {
|
|
5517
5631
|
parameters: {
|
|
@@ -5813,7 +5927,8 @@ export interface paths {
|
|
|
5813
5927
|
/**
|
|
5814
5928
|
* Replaces a webhook subscription's configuration.
|
|
5815
5929
|
* @description Requires Admin. Omitted lists become empty,
|
|
5816
|
-
* which means "all".
|
|
5930
|
+
* which means "all". Re-enabling a subscription that is over the plan's webhook allowance (after
|
|
5931
|
+
* a downgrade) is a 403 `plan_limit_reached`.
|
|
5817
5932
|
*/
|
|
5818
5933
|
put: {
|
|
5819
5934
|
parameters: {
|
|
@@ -6250,7 +6365,8 @@ export interface paths {
|
|
|
6250
6365
|
* Queues one synthetic `flag.toggled` event for this subscription alone.
|
|
6251
6366
|
* @description Requires Admin.
|
|
6252
6367
|
* Delivery is asynchronous — read the delivery log for the outcome. Refused with a 400 when
|
|
6253
|
-
* the subscription is disabled
|
|
6368
|
+
* the subscription is disabled, and with a 403 `plan_limit_reached` when it is over the
|
|
6369
|
+
* plan's webhook allowance.
|
|
6254
6370
|
*/
|
|
6255
6371
|
post: {
|
|
6256
6372
|
parameters: {
|
|
@@ -6457,7 +6573,8 @@ export interface paths {
|
|
|
6457
6573
|
* Queues a finished delivery (succeeded or dead-lettered) to be sent again, restarting its retry schedule.
|
|
6458
6574
|
* @description Requires Admin. Refused with a 400 when the delivery is still pending, when
|
|
6459
6575
|
* the subscription is disabled, or when the subscription's current project, environment or
|
|
6460
|
-
* event-type filters no longer cover the delivery's event.
|
|
6576
|
+
* event-type filters no longer cover the delivery's event. Refused with a 403
|
|
6577
|
+
* `plan_limit_reached` when the subscription is over the plan's webhook allowance.
|
|
6461
6578
|
*/
|
|
6462
6579
|
post: {
|
|
6463
6580
|
parameters: {
|
|
@@ -6572,10 +6689,10 @@ export interface components {
|
|
|
6572
6689
|
* service token (access to every project), never an empty list.
|
|
6573
6690
|
*/
|
|
6574
6691
|
MeResponse: {
|
|
6575
|
-
type: string
|
|
6692
|
+
type: string;
|
|
6576
6693
|
/** Format: uuid */
|
|
6577
6694
|
id: string;
|
|
6578
|
-
name: string
|
|
6695
|
+
name: string;
|
|
6579
6696
|
email?: string | null;
|
|
6580
6697
|
emailVerified?: boolean | null;
|
|
6581
6698
|
/** Format: uuid */
|
|
@@ -6584,8 +6701,8 @@ export interface components {
|
|
|
6584
6701
|
projectScope?: string[] | null;
|
|
6585
6702
|
};
|
|
6586
6703
|
NextAction: {
|
|
6587
|
-
method: string
|
|
6588
|
-
path: string
|
|
6704
|
+
method: string;
|
|
6705
|
+
path: string;
|
|
6589
6706
|
};
|
|
6590
6707
|
/**
|
|
6591
6708
|
* @description Public representation of an organization, returned by both `GET /api/v1/orgs` (list) and
|
|
@@ -6596,13 +6713,13 @@ export interface components {
|
|
|
6596
6713
|
OrganizationResponse: {
|
|
6597
6714
|
/** Format: uuid */
|
|
6598
6715
|
id: string;
|
|
6599
|
-
name: string
|
|
6600
|
-
slug: string
|
|
6716
|
+
name: string;
|
|
6717
|
+
slug: string;
|
|
6601
6718
|
/**
|
|
6602
6719
|
* @description Allowed values: Solo, Team, Pro, Business, Enterprise.
|
|
6603
|
-
* @enum {string
|
|
6720
|
+
* @enum {string}
|
|
6604
6721
|
*/
|
|
6605
|
-
plan: "Solo" | "Team" | "Pro" | "Business" | "Enterprise"
|
|
6722
|
+
plan: "Solo" | "Team" | "Pro" | "Business" | "Enterprise";
|
|
6606
6723
|
isActive: boolean;
|
|
6607
6724
|
/** Format: date-time */
|
|
6608
6725
|
createdAt: string;
|
|
@@ -6613,7 +6730,7 @@ export interface components {
|
|
|
6613
6730
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
6614
6731
|
*/
|
|
6615
6732
|
OrganizationResponsePagedResult: {
|
|
6616
|
-
items: components["schemas"]["OrganizationResponse"][]
|
|
6733
|
+
items: components["schemas"]["OrganizationResponse"][];
|
|
6617
6734
|
next_cursor?: string | null;
|
|
6618
6735
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
6619
6736
|
_actions?: {
|
|
@@ -6640,8 +6757,8 @@ export interface components {
|
|
|
6640
6757
|
ProjectResponse: {
|
|
6641
6758
|
/** Format: uuid */
|
|
6642
6759
|
id: string;
|
|
6643
|
-
key: string
|
|
6644
|
-
name: string
|
|
6760
|
+
key: string;
|
|
6761
|
+
name: string;
|
|
6645
6762
|
description?: string | null;
|
|
6646
6763
|
/** Format: date-time */
|
|
6647
6764
|
createdAt: string;
|
|
@@ -6660,7 +6777,7 @@ export interface components {
|
|
|
6660
6777
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
6661
6778
|
*/
|
|
6662
6779
|
ProjectResponsePagedResult: {
|
|
6663
|
-
items: components["schemas"]["ProjectResponse"][]
|
|
6780
|
+
items: components["schemas"]["ProjectResponse"][];
|
|
6664
6781
|
next_cursor?: string | null;
|
|
6665
6782
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
6666
6783
|
_actions?: {
|
|
@@ -6681,9 +6798,9 @@ export interface components {
|
|
|
6681
6798
|
* }
|
|
6682
6799
|
*/
|
|
6683
6800
|
PublicAddVariationRequest: {
|
|
6684
|
-
key: string
|
|
6685
|
-
name: string
|
|
6686
|
-
value: string
|
|
6801
|
+
key: string;
|
|
6802
|
+
name: string;
|
|
6803
|
+
value: string;
|
|
6687
6804
|
description?: string | null;
|
|
6688
6805
|
};
|
|
6689
6806
|
/**
|
|
@@ -6700,6 +6817,8 @@ export interface components {
|
|
|
6700
6817
|
* `connection_id` is present only on the `sso_required` error: the organization
|
|
6701
6818
|
* requires single sign-on, and this credential didn't come through its identity provider.
|
|
6702
6819
|
* `connection_id` identifies which SSO connection to sign in with.
|
|
6820
|
+
* `plan_limit` is present only on the `plan_limit_reached` error: which plan cap the
|
|
6821
|
+
* request would have exceeded, so a client can branch on it without parsing `message`.
|
|
6703
6822
|
* @example {
|
|
6704
6823
|
* "error": "not_found",
|
|
6705
6824
|
* "message": "Flag 'new-checkout-flw' was not found in project 'checkout'.",
|
|
@@ -6716,9 +6835,9 @@ export interface components {
|
|
|
6716
6835
|
* }
|
|
6717
6836
|
*/
|
|
6718
6837
|
PublicApiErrorEnvelope: {
|
|
6719
|
-
error: string
|
|
6720
|
-
message: string
|
|
6721
|
-
docs_url: string
|
|
6838
|
+
error: string;
|
|
6839
|
+
message: string;
|
|
6840
|
+
docs_url: string;
|
|
6722
6841
|
fields?: {
|
|
6723
6842
|
[key: string]: string[];
|
|
6724
6843
|
} | null;
|
|
@@ -6728,15 +6847,16 @@ export interface components {
|
|
|
6728
6847
|
next_actions?: components["schemas"]["NextAction"][] | null;
|
|
6729
6848
|
/** Format: uuid */
|
|
6730
6849
|
connection_id?: string | null;
|
|
6850
|
+
plan_limit?: components["schemas"]["PublicPlanLimit"];
|
|
6731
6851
|
};
|
|
6732
6852
|
/** @description Request-side condition group, symmetric with PublicConditionGroupResponse. */
|
|
6733
6853
|
PublicConditionGroupRequest: {
|
|
6734
6854
|
/**
|
|
6735
6855
|
* @description Allowed values: And, Or.
|
|
6736
|
-
* @enum {string
|
|
6856
|
+
* @enum {string}
|
|
6737
6857
|
*/
|
|
6738
|
-
operator: "And" | "Or"
|
|
6739
|
-
conditions: components["schemas"]["PublicConditionRequest"][]
|
|
6858
|
+
operator: "And" | "Or";
|
|
6859
|
+
conditions: components["schemas"]["PublicConditionRequest"][];
|
|
6740
6860
|
};
|
|
6741
6861
|
/**
|
|
6742
6862
|
* @description A condition group within a PublicTargetingRuleResponse. Maps 1:1 onto
|
|
@@ -6748,20 +6868,20 @@ export interface components {
|
|
|
6748
6868
|
PublicConditionGroupResponse: {
|
|
6749
6869
|
/**
|
|
6750
6870
|
* @description Allowed values: And, Or.
|
|
6751
|
-
* @enum {string
|
|
6871
|
+
* @enum {string}
|
|
6752
6872
|
*/
|
|
6753
|
-
operator: "And" | "Or"
|
|
6754
|
-
conditions: components["schemas"]["PublicConditionResponse"][]
|
|
6873
|
+
operator: "And" | "Or";
|
|
6874
|
+
conditions: components["schemas"]["PublicConditionResponse"][];
|
|
6755
6875
|
};
|
|
6756
6876
|
/** @description Request-side condition, symmetric with PublicConditionResponse. */
|
|
6757
6877
|
PublicConditionRequest: {
|
|
6758
|
-
attribute: string
|
|
6878
|
+
attribute: string;
|
|
6759
6879
|
/**
|
|
6760
6880
|
* @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
|
|
6761
|
-
* @enum {string
|
|
6881
|
+
* @enum {string}
|
|
6762
6882
|
*/
|
|
6763
|
-
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual"
|
|
6764
|
-
values: string[]
|
|
6883
|
+
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual";
|
|
6884
|
+
values: string[];
|
|
6765
6885
|
negate?: boolean;
|
|
6766
6886
|
};
|
|
6767
6887
|
/**
|
|
@@ -6770,15 +6890,27 @@ export interface components {
|
|
|
6770
6890
|
* `OperatorType` members (e.g. `"Equals"`, `"In"`).
|
|
6771
6891
|
*/
|
|
6772
6892
|
PublicConditionResponse: {
|
|
6773
|
-
attribute: string
|
|
6893
|
+
attribute: string;
|
|
6774
6894
|
/**
|
|
6775
6895
|
* @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
|
|
6776
|
-
* @enum {string
|
|
6896
|
+
* @enum {string}
|
|
6777
6897
|
*/
|
|
6778
|
-
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual"
|
|
6779
|
-
values: string[]
|
|
6898
|
+
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual";
|
|
6899
|
+
values: string[];
|
|
6780
6900
|
negate: boolean;
|
|
6781
6901
|
};
|
|
6902
|
+
/** @description A variation's configured share of a rollout rule. */
|
|
6903
|
+
PublicConfiguredWeight: {
|
|
6904
|
+
/** @description The variation's key. */
|
|
6905
|
+
variationKey: string;
|
|
6906
|
+
/** @description The variation's name, or null when the key no longer matches one of the flag's variations. */
|
|
6907
|
+
name?: string | null;
|
|
6908
|
+
/**
|
|
6909
|
+
* Format: int32
|
|
6910
|
+
* @description Percent of the rule's traffic.
|
|
6911
|
+
*/
|
|
6912
|
+
weight: number;
|
|
6913
|
+
};
|
|
6782
6914
|
/**
|
|
6783
6915
|
* @description Request body for `POST /api/v1/orgs/{org}/projects/{project}/environments`. Named
|
|
6784
6916
|
* distinctly from the dashboard's own `CreateEnvironmentRequest`
|
|
@@ -6793,8 +6925,8 @@ export interface components {
|
|
|
6793
6925
|
* }
|
|
6794
6926
|
*/
|
|
6795
6927
|
PublicCreateEnvironmentRequest: {
|
|
6796
|
-
key: string
|
|
6797
|
-
name: string
|
|
6928
|
+
key: string;
|
|
6929
|
+
name: string;
|
|
6798
6930
|
color?: string | null;
|
|
6799
6931
|
/** Format: int32 */
|
|
6800
6932
|
sortOrder?: number;
|
|
@@ -6843,13 +6975,13 @@ export interface components {
|
|
|
6843
6975
|
* }
|
|
6844
6976
|
*/
|
|
6845
6977
|
PublicCreateFeatureFlagRequest: {
|
|
6846
|
-
key: string
|
|
6847
|
-
name: string
|
|
6978
|
+
key: string;
|
|
6979
|
+
name: string;
|
|
6848
6980
|
/**
|
|
6849
6981
|
* @description Allowed values: Boolean, String, Number, Json.
|
|
6850
|
-
* @enum {string
|
|
6982
|
+
* @enum {string}
|
|
6851
6983
|
*/
|
|
6852
|
-
type: "Boolean" | "String" | "Number" | "Json"
|
|
6984
|
+
type: "Boolean" | "String" | "Number" | "Json";
|
|
6853
6985
|
description?: string | null;
|
|
6854
6986
|
tags?: string[] | null;
|
|
6855
6987
|
initialVariations?: components["schemas"]["PublicCreateVariationDto"][] | null;
|
|
@@ -6872,8 +7004,8 @@ export interface components {
|
|
|
6872
7004
|
* }
|
|
6873
7005
|
*/
|
|
6874
7006
|
PublicCreateProjectRequest: {
|
|
6875
|
-
key: string
|
|
6876
|
-
name: string
|
|
7007
|
+
key: string;
|
|
7008
|
+
name: string;
|
|
6877
7009
|
description?: string | null;
|
|
6878
7010
|
};
|
|
6879
7011
|
/**
|
|
@@ -6891,13 +7023,13 @@ export interface components {
|
|
|
6891
7023
|
* }
|
|
6892
7024
|
*/
|
|
6893
7025
|
PublicCreateSdkKeyRequest: {
|
|
6894
|
-
name: string
|
|
7026
|
+
name: string;
|
|
6895
7027
|
description?: string | null;
|
|
6896
7028
|
/**
|
|
6897
7029
|
* @description Allowed values: ClientSide, ServerSide.
|
|
6898
|
-
* @enum {string
|
|
7030
|
+
* @enum {string}
|
|
6899
7031
|
*/
|
|
6900
|
-
type: "ClientSide" | "ServerSide"
|
|
7032
|
+
type: "ClientSide" | "ServerSide";
|
|
6901
7033
|
};
|
|
6902
7034
|
/**
|
|
6903
7035
|
* @description Response body for a successful `POST .../sdk-keys`. The ONLY place the plaintext
|
|
@@ -6919,17 +7051,17 @@ export interface components {
|
|
|
6919
7051
|
PublicCreateSdkKeyResponse: {
|
|
6920
7052
|
/** Format: uuid */
|
|
6921
7053
|
id: string;
|
|
6922
|
-
key: string
|
|
6923
|
-
lastFourCharacters: string
|
|
7054
|
+
key: string;
|
|
7055
|
+
lastFourCharacters: string;
|
|
6924
7056
|
/**
|
|
6925
7057
|
* @description Allowed values: ClientSide, ServerSide.
|
|
6926
|
-
* @enum {string
|
|
7058
|
+
* @enum {string}
|
|
6927
7059
|
*/
|
|
6928
|
-
type: "ClientSide" | "ServerSide"
|
|
6929
|
-
name: string
|
|
7060
|
+
type: "ClientSide" | "ServerSide";
|
|
7061
|
+
name: string;
|
|
6930
7062
|
/** Format: date-time */
|
|
6931
7063
|
createdAt: string;
|
|
6932
|
-
warning: string
|
|
7064
|
+
warning: string;
|
|
6933
7065
|
};
|
|
6934
7066
|
/**
|
|
6935
7067
|
* @description Request body for `POST /api/v1/orgs/{org}/projects/{project}/segments`. Named distinctly
|
|
@@ -6953,10 +7085,10 @@ export interface components {
|
|
|
6953
7085
|
* }
|
|
6954
7086
|
*/
|
|
6955
7087
|
PublicCreateSegmentRequest: {
|
|
6956
|
-
key: string
|
|
6957
|
-
name: string
|
|
7088
|
+
key: string;
|
|
7089
|
+
name: string;
|
|
6958
7090
|
description?: string | null;
|
|
6959
|
-
conditions: components["schemas"]["PublicSegmentConditionDto"][]
|
|
7091
|
+
conditions: components["schemas"]["PublicSegmentConditionDto"][];
|
|
6960
7092
|
};
|
|
6961
7093
|
/**
|
|
6962
7094
|
* @description Request body for `POST .../rules`. The Application-side
|
|
@@ -6970,6 +7102,7 @@ export interface components {
|
|
|
6970
7102
|
* "description": "North American users get the new flow at 25%.",
|
|
6971
7103
|
* "variationId": "0197b6a0-6a1b-7d4f-8c2e-2f3a4b5c6d7e",
|
|
6972
7104
|
* "rolloutPercentage": 25,
|
|
7105
|
+
* "bucketBy": "user_id",
|
|
6973
7106
|
* "conditionGroups": [
|
|
6974
7107
|
* {
|
|
6975
7108
|
* "operator": "And",
|
|
@@ -6996,16 +7129,18 @@ export interface components {
|
|
|
6996
7129
|
rolloutPercentage?: number | null;
|
|
6997
7130
|
/** Format: uuid */
|
|
6998
7131
|
userSegmentId?: string | null;
|
|
6999
|
-
conditionGroups: components["schemas"]["PublicConditionGroupRequest"][]
|
|
7132
|
+
conditionGroups: components["schemas"]["PublicConditionGroupRequest"][];
|
|
7133
|
+
/** @description Context attribute the rollout hashes on (default `user_id`; `userId` is accepted as an alias). A context without it skips this rule, even at 100%. Changing it reshuffles who is in the rollout. A fixed rule (no `rolloutPercentage`) never hashes and always stores `user_id`. When omitted on `PUT .../targeting`, a rollout keeps the value of the existing rollout it edits: the existing rule with the same targeting, told apart from others with that targeting by its variation, then its description, then its position. Any other rule gets `user_id`. The request is refused with 400 until it sends `bucketBy` for a rollout whose edited rule it can't tell when the answer changes its attribute: the rollout shares only its targeting with several rules that bucket differently, or it matches no existing rule while the request removes a rollout bucketed by another attribute. On create, omitting it gives `user_id`. */
|
|
7134
|
+
bucketBy?: string | null;
|
|
7000
7135
|
};
|
|
7001
7136
|
/**
|
|
7002
7137
|
* @description A variation supplied at flag-creation time. Maps 1:1 onto
|
|
7003
7138
|
* CreateVariationDto.
|
|
7004
7139
|
*/
|
|
7005
7140
|
PublicCreateVariationDto: {
|
|
7006
|
-
key: string
|
|
7007
|
-
name: string
|
|
7008
|
-
value: string
|
|
7141
|
+
key: string;
|
|
7142
|
+
name: string;
|
|
7143
|
+
value: string;
|
|
7009
7144
|
description?: string | null;
|
|
7010
7145
|
};
|
|
7011
7146
|
/**
|
|
@@ -7030,13 +7165,13 @@ export interface components {
|
|
|
7030
7165
|
* }
|
|
7031
7166
|
*/
|
|
7032
7167
|
PublicCreateWebhookSubscriptionRequest: {
|
|
7033
|
-
name: string
|
|
7034
|
-
url: string
|
|
7168
|
+
name: string;
|
|
7169
|
+
url: string;
|
|
7035
7170
|
/**
|
|
7036
7171
|
* @description Allowed values: GenericHttp.
|
|
7037
|
-
* @enum {string
|
|
7172
|
+
* @enum {string}
|
|
7038
7173
|
*/
|
|
7039
|
-
provider: "GenericHttp"
|
|
7174
|
+
provider: "GenericHttp";
|
|
7040
7175
|
eventTypes?: string[] | null;
|
|
7041
7176
|
projectIds?: string[] | null;
|
|
7042
7177
|
environmentIds?: string[] | null;
|
|
@@ -7052,8 +7187,8 @@ export interface components {
|
|
|
7052
7187
|
PublicCreateWebhookSubscriptionResponse: {
|
|
7053
7188
|
/** Format: uuid */
|
|
7054
7189
|
id: string;
|
|
7055
|
-
secret: string
|
|
7056
|
-
warning: string
|
|
7190
|
+
secret: string;
|
|
7191
|
+
warning: string;
|
|
7057
7192
|
};
|
|
7058
7193
|
/**
|
|
7059
7194
|
* @description Response of `GET .../default-flag-lifetime/impact`: how many temporary flags with no expiry
|
|
@@ -7086,8 +7221,8 @@ export interface components {
|
|
|
7086
7221
|
PublicEnvironmentResponse: {
|
|
7087
7222
|
/** Format: uuid */
|
|
7088
7223
|
id: string;
|
|
7089
|
-
key: string
|
|
7090
|
-
name: string
|
|
7224
|
+
key: string;
|
|
7225
|
+
name: string;
|
|
7091
7226
|
color?: string | null;
|
|
7092
7227
|
/** Format: int32 */
|
|
7093
7228
|
sortOrder: number;
|
|
@@ -7102,13 +7237,62 @@ export interface components {
|
|
|
7102
7237
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7103
7238
|
*/
|
|
7104
7239
|
PublicEnvironmentResponsePagedResult: {
|
|
7105
|
-
items: components["schemas"]["PublicEnvironmentResponse"][]
|
|
7240
|
+
items: components["schemas"]["PublicEnvironmentResponse"][];
|
|
7106
7241
|
next_cursor?: string | null;
|
|
7107
7242
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7108
7243
|
_actions?: {
|
|
7109
7244
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
7110
7245
|
};
|
|
7111
7246
|
};
|
|
7247
|
+
/** @description The evaluations one part of the targeting served. */
|
|
7248
|
+
PublicEvaluationSource: {
|
|
7249
|
+
/**
|
|
7250
|
+
* @description One of rule, fallthrough, off, prerequisite, error, notFound or unknown (an SDK that reports no reason, or evaluations recorded before sources were). Allowed values: rule, fallthrough, off, prerequisite, error, notFound, unknown.
|
|
7251
|
+
* @enum {string}
|
|
7252
|
+
*/
|
|
7253
|
+
source: "rule" | "fallthrough" | "off" | "prerequisite" | "error" | "notFound" | "unknown";
|
|
7254
|
+
/**
|
|
7255
|
+
* Format: uuid
|
|
7256
|
+
* @description For a rule, its id (rules have no key). Null otherwise, or when the SDK didn't say which rule.
|
|
7257
|
+
*/
|
|
7258
|
+
ruleId?: string | null;
|
|
7259
|
+
/** @description For a live rule, its description or a generated label. Null otherwise. */
|
|
7260
|
+
ruleLabel?: string | null;
|
|
7261
|
+
/** @description False when the rule is no longer in the environment's targeting. */
|
|
7262
|
+
ruleExists: boolean;
|
|
7263
|
+
/**
|
|
7264
|
+
* Format: int64
|
|
7265
|
+
* @description Evaluations this source served.
|
|
7266
|
+
*/
|
|
7267
|
+
count: number;
|
|
7268
|
+
/**
|
|
7269
|
+
* Format: double
|
|
7270
|
+
* @description Count as a fraction (0 to 1) of all sources' counts combined.
|
|
7271
|
+
*/
|
|
7272
|
+
share: number;
|
|
7273
|
+
/** @description What this source served, with shares of this source's count. */
|
|
7274
|
+
variations: components["schemas"]["PublicEvaluationVariation"][];
|
|
7275
|
+
rollout?: components["schemas"]["PublicRolloutCheck"];
|
|
7276
|
+
};
|
|
7277
|
+
/** @description One variation's evaluations. */
|
|
7278
|
+
PublicEvaluationVariation: {
|
|
7279
|
+
/** @description The variation served, or null for evaluations recorded without one. */
|
|
7280
|
+
variationKey?: string | null;
|
|
7281
|
+
/** @description The variation's name, or null when the key no longer matches one of the flag's variations. */
|
|
7282
|
+
name?: string | null;
|
|
7283
|
+
/** @description False when the key no longer matches one of the flag's variations. */
|
|
7284
|
+
exists: boolean;
|
|
7285
|
+
/**
|
|
7286
|
+
* Format: int64
|
|
7287
|
+
* @description Evaluations that served this variation.
|
|
7288
|
+
*/
|
|
7289
|
+
count: number;
|
|
7290
|
+
/**
|
|
7291
|
+
* Format: double
|
|
7292
|
+
* @description Count as a fraction (0 to 1) of the parent total: the window's total, or for a source's variations that source's count. 0 when the parent total is 0.
|
|
7293
|
+
*/
|
|
7294
|
+
share: number;
|
|
7295
|
+
};
|
|
7112
7296
|
/**
|
|
7113
7297
|
* @description Public representation of a flag's config within a single environment, returned by
|
|
7114
7298
|
* `GET .../flags/{flag}/environments` and `GET .../flags/{flag}/environments/{env}`.
|
|
@@ -7135,21 +7319,145 @@ export interface components {
|
|
|
7135
7319
|
PublicFlagEnvConfigResponse: {
|
|
7136
7320
|
/** Format: uuid */
|
|
7137
7321
|
environmentId: string;
|
|
7138
|
-
environmentKey: string
|
|
7322
|
+
environmentKey: string;
|
|
7139
7323
|
isEnabled: boolean;
|
|
7140
7324
|
/** Format: uuid */
|
|
7141
7325
|
defaultVariationId: string;
|
|
7142
7326
|
/**
|
|
7143
7327
|
* @description Allowed values: SingleVariation, PercentageRollout, TargetedRollout.
|
|
7144
|
-
* @enum {string
|
|
7328
|
+
* @enum {string}
|
|
7145
7329
|
*/
|
|
7146
|
-
strategy: "SingleVariation" | "PercentageRollout" | "TargetedRollout"
|
|
7147
|
-
prerequisites: components["schemas"]["PublicPrerequisiteDto"][]
|
|
7330
|
+
strategy: "SingleVariation" | "PercentageRollout" | "TargetedRollout";
|
|
7331
|
+
prerequisites: components["schemas"]["PublicPrerequisiteDto"][];
|
|
7148
7332
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7149
7333
|
_actions?: {
|
|
7150
7334
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
7151
7335
|
};
|
|
7152
7336
|
};
|
|
7337
|
+
/**
|
|
7338
|
+
* @description What a flag served in one environment over the window, returned by
|
|
7339
|
+
* `GET .../flags/{flag}/environments/{env}/evaluations` (#4225). These are evaluation
|
|
7340
|
+
* counts, not unique users. They come from SDK-reported events, so an environment whose SDKs
|
|
7341
|
+
* report none reads zero: no evaluations reported, not necessarily no traffic. The public
|
|
7342
|
+
* counterpart of FlagEvaluationAnalyticsDto, keyed by environment key instead of
|
|
7343
|
+
* id and without the dashboard's daily series.
|
|
7344
|
+
* @example {
|
|
7345
|
+
* "environmentKey": "production",
|
|
7346
|
+
* "days": 7,
|
|
7347
|
+
* "fromUtc": "2026-06-14T00:00:00Z",
|
|
7348
|
+
* "toUtc": "2026-06-20T09:15:00Z",
|
|
7349
|
+
* "totalCount": 10000,
|
|
7350
|
+
* "lastEvaluatedAtUtc": "2026-06-20T09:15:00Z",
|
|
7351
|
+
* "variations": [
|
|
7352
|
+
* {
|
|
7353
|
+
* "variationKey": "true",
|
|
7354
|
+
* "name": "On",
|
|
7355
|
+
* "exists": true,
|
|
7356
|
+
* "count": 4080,
|
|
7357
|
+
* "share": 0.408
|
|
7358
|
+
* },
|
|
7359
|
+
* {
|
|
7360
|
+
* "variationKey": "false",
|
|
7361
|
+
* "name": "Off",
|
|
7362
|
+
* "exists": true,
|
|
7363
|
+
* "count": 5920,
|
|
7364
|
+
* "share": 0.592
|
|
7365
|
+
* }
|
|
7366
|
+
* ],
|
|
7367
|
+
* "sources": [
|
|
7368
|
+
* {
|
|
7369
|
+
* "source": "rule",
|
|
7370
|
+
* "ruleId": "0197b6a3-5e6f-7a7b-8c8d-9e0f1a2b3c4d",
|
|
7371
|
+
* "ruleLabel": "Beta users 50/50",
|
|
7372
|
+
* "ruleExists": true,
|
|
7373
|
+
* "count": 8000,
|
|
7374
|
+
* "share": 0.8,
|
|
7375
|
+
* "variations": [
|
|
7376
|
+
* {
|
|
7377
|
+
* "variationKey": "true",
|
|
7378
|
+
* "name": "On",
|
|
7379
|
+
* "exists": true,
|
|
7380
|
+
* "count": 4080,
|
|
7381
|
+
* "share": 0.51
|
|
7382
|
+
* },
|
|
7383
|
+
* {
|
|
7384
|
+
* "variationKey": "false",
|
|
7385
|
+
* "name": "Off",
|
|
7386
|
+
* "exists": true,
|
|
7387
|
+
* "count": 3920,
|
|
7388
|
+
* "share": 0.49
|
|
7389
|
+
* }
|
|
7390
|
+
* ],
|
|
7391
|
+
* "rollout": {
|
|
7392
|
+
* "configured": [
|
|
7393
|
+
* {
|
|
7394
|
+
* "variationKey": "true",
|
|
7395
|
+
* "name": "On",
|
|
7396
|
+
* "weight": 50
|
|
7397
|
+
* },
|
|
7398
|
+
* {
|
|
7399
|
+
* "variationKey": "false",
|
|
7400
|
+
* "name": "Off",
|
|
7401
|
+
* "weight": 50
|
|
7402
|
+
* }
|
|
7403
|
+
* ],
|
|
7404
|
+
* "evaluable": true,
|
|
7405
|
+
* "pValue": 0.074,
|
|
7406
|
+
* "flagged": false,
|
|
7407
|
+
* "bucketBy": "user_id"
|
|
7408
|
+
* }
|
|
7409
|
+
* },
|
|
7410
|
+
* {
|
|
7411
|
+
* "source": "fallthrough",
|
|
7412
|
+
* "ruleExists": false,
|
|
7413
|
+
* "count": 2000,
|
|
7414
|
+
* "share": 0.2,
|
|
7415
|
+
* "variations": [
|
|
7416
|
+
* {
|
|
7417
|
+
* "variationKey": "false",
|
|
7418
|
+
* "name": "Off",
|
|
7419
|
+
* "exists": true,
|
|
7420
|
+
* "count": 2000,
|
|
7421
|
+
* "share": 1
|
|
7422
|
+
* }
|
|
7423
|
+
* ]
|
|
7424
|
+
* }
|
|
7425
|
+
* ]
|
|
7426
|
+
* }
|
|
7427
|
+
*/
|
|
7428
|
+
PublicFlagEvaluationsResponse: {
|
|
7429
|
+
/** @description The environment's key. */
|
|
7430
|
+
environmentKey: string;
|
|
7431
|
+
/**
|
|
7432
|
+
* Format: int32
|
|
7433
|
+
* @description The window requested: 7, 30 or 90.
|
|
7434
|
+
*/
|
|
7435
|
+
days: number;
|
|
7436
|
+
/**
|
|
7437
|
+
* Format: date-time
|
|
7438
|
+
* @description Start of the window: UTC midnight `days - 1` days ago, or the flag's creation day if later.
|
|
7439
|
+
*/
|
|
7440
|
+
fromUtc: string;
|
|
7441
|
+
/**
|
|
7442
|
+
* Format: date-time
|
|
7443
|
+
* @description When the counts were read.
|
|
7444
|
+
*/
|
|
7445
|
+
toUtc: string;
|
|
7446
|
+
/**
|
|
7447
|
+
* Format: int64
|
|
7448
|
+
* @description Evaluations in the window. Evaluation counts, not unique users.
|
|
7449
|
+
*/
|
|
7450
|
+
totalCount: number;
|
|
7451
|
+
/**
|
|
7452
|
+
* Format: date-time
|
|
7453
|
+
* @description The last reported evaluation, or null if none was reported.
|
|
7454
|
+
*/
|
|
7455
|
+
lastEvaluatedAtUtc?: string | null;
|
|
7456
|
+
/** @description Evaluations per variation over the window. */
|
|
7457
|
+
variations: components["schemas"]["PublicEvaluationVariation"][];
|
|
7458
|
+
/** @description Evaluations per part of the targeting that served them: live rules in evaluation order, then deleted rules, then fallthrough, off, prerequisite, error, notFound and unknown. A live percentage-rollout rule is always listed, with a count of 0 and no variations when it served nothing in the window, so its rollout check (and rollout.unreached) has a row. */
|
|
7459
|
+
sources: components["schemas"]["PublicEvaluationSource"][];
|
|
7460
|
+
};
|
|
7153
7461
|
/**
|
|
7154
7462
|
* @description Public list-item representation of a feature flag, returned by
|
|
7155
7463
|
* `GET .../flags`. Narrower than PublicFlagResponse — drops
|
|
@@ -7163,16 +7471,16 @@ export interface components {
|
|
|
7163
7471
|
PublicFlagListItem: {
|
|
7164
7472
|
/** Format: uuid */
|
|
7165
7473
|
id: string;
|
|
7166
|
-
key: string
|
|
7167
|
-
name: string
|
|
7474
|
+
key: string;
|
|
7475
|
+
name: string;
|
|
7168
7476
|
/**
|
|
7169
7477
|
* @description Allowed values: Boolean, String, Number, Json.
|
|
7170
|
-
* @enum {string
|
|
7478
|
+
* @enum {string}
|
|
7171
7479
|
*/
|
|
7172
|
-
type: "Boolean" | "String" | "Number" | "Json"
|
|
7480
|
+
type: "Boolean" | "String" | "Number" | "Json";
|
|
7173
7481
|
isArchived: boolean;
|
|
7174
7482
|
clientSideVisible: boolean;
|
|
7175
|
-
tags: string[]
|
|
7483
|
+
tags: string[];
|
|
7176
7484
|
/** Format: date-time */
|
|
7177
7485
|
createdAt: string;
|
|
7178
7486
|
/** Format: date-time */
|
|
@@ -7212,7 +7520,7 @@ export interface components {
|
|
|
7212
7520
|
* }
|
|
7213
7521
|
*/
|
|
7214
7522
|
PublicFlagListItemPagedResult: {
|
|
7215
|
-
items: components["schemas"]["PublicFlagListItem"][]
|
|
7523
|
+
items: components["schemas"]["PublicFlagListItem"][];
|
|
7216
7524
|
next_cursor?: string | null;
|
|
7217
7525
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7218
7526
|
_actions?: {
|
|
@@ -7223,8 +7531,8 @@ export interface components {
|
|
|
7223
7531
|
PublicFlagOwner: {
|
|
7224
7532
|
/** Format: uuid */
|
|
7225
7533
|
id: string;
|
|
7226
|
-
email: string
|
|
7227
|
-
name: string
|
|
7534
|
+
email: string;
|
|
7535
|
+
name: string;
|
|
7228
7536
|
};
|
|
7229
7537
|
/**
|
|
7230
7538
|
* @description One dead flag the Featureflip Flag Cleanup Action should remove, returned by
|
|
@@ -7238,11 +7546,11 @@ export interface components {
|
|
|
7238
7546
|
* (`FLAG_HAS_DEPENDENTS`), so a caller should remove those dependents first.
|
|
7239
7547
|
*/
|
|
7240
7548
|
PublicFlagRemovalCandidate: {
|
|
7241
|
-
key: string
|
|
7242
|
-
reason: string
|
|
7549
|
+
key: string;
|
|
7550
|
+
reason: string;
|
|
7243
7551
|
treatment: boolean;
|
|
7244
|
-
status: string
|
|
7245
|
-
blockedBy: string[]
|
|
7552
|
+
status: string;
|
|
7553
|
+
blockedBy: string[];
|
|
7246
7554
|
};
|
|
7247
7555
|
/**
|
|
7248
7556
|
* @description A page of results plus an opaque cursor for the next page, or null when this is the last
|
|
@@ -7250,7 +7558,7 @@ export interface components {
|
|
|
7250
7558
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7251
7559
|
*/
|
|
7252
7560
|
PublicFlagRemovalCandidatePagedResult: {
|
|
7253
|
-
items: components["schemas"]["PublicFlagRemovalCandidate"][]
|
|
7561
|
+
items: components["schemas"]["PublicFlagRemovalCandidate"][];
|
|
7254
7562
|
next_cursor?: string | null;
|
|
7255
7563
|
};
|
|
7256
7564
|
/**
|
|
@@ -7297,18 +7605,18 @@ export interface components {
|
|
|
7297
7605
|
PublicFlagResponse: {
|
|
7298
7606
|
/** Format: uuid */
|
|
7299
7607
|
id: string;
|
|
7300
|
-
key: string
|
|
7301
|
-
name: string
|
|
7608
|
+
key: string;
|
|
7609
|
+
name: string;
|
|
7302
7610
|
description?: string | null;
|
|
7303
7611
|
/**
|
|
7304
7612
|
* @description Allowed values: Boolean, String, Number, Json.
|
|
7305
|
-
* @enum {string
|
|
7613
|
+
* @enum {string}
|
|
7306
7614
|
*/
|
|
7307
|
-
type: "Boolean" | "String" | "Number" | "Json"
|
|
7615
|
+
type: "Boolean" | "String" | "Number" | "Json";
|
|
7308
7616
|
isArchived: boolean;
|
|
7309
7617
|
clientSideVisible: boolean;
|
|
7310
|
-
tags: string[]
|
|
7311
|
-
variations: components["schemas"]["PublicVariationResponse"][]
|
|
7618
|
+
tags: string[];
|
|
7619
|
+
variations: components["schemas"]["PublicVariationResponse"][];
|
|
7312
7620
|
/** Format: date-time */
|
|
7313
7621
|
createdAt: string;
|
|
7314
7622
|
/** Format: date-time */
|
|
@@ -7326,13 +7634,25 @@ export interface components {
|
|
|
7326
7634
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
7327
7635
|
};
|
|
7328
7636
|
};
|
|
7637
|
+
/**
|
|
7638
|
+
* @description The cap behind a `plan_limit_reached` error. `resource` is the capped collection
|
|
7639
|
+
* (`projects`, `environments`, `flags`, `webhooks`, `members`);
|
|
7640
|
+
* `plan` is the plan's wire name, as `GET /api/v1/orgs/{org}` returns it; `max` is
|
|
7641
|
+
* the cap. The environment and flag caps are per project.
|
|
7642
|
+
*/
|
|
7643
|
+
PublicPlanLimit: {
|
|
7644
|
+
resource: string;
|
|
7645
|
+
plan: string;
|
|
7646
|
+
/** Format: int32 */
|
|
7647
|
+
max: number;
|
|
7648
|
+
};
|
|
7329
7649
|
/**
|
|
7330
7650
|
* @description A single prerequisite entry on a flag's per-environment config. Maps 1:1 onto
|
|
7331
7651
|
* PrerequisiteDto (read side) and PrerequisiteInput (write side).
|
|
7332
7652
|
*/
|
|
7333
7653
|
PublicPrerequisiteDto: {
|
|
7334
|
-
prerequisiteFlagKey: string
|
|
7335
|
-
expectedVariationKey: string
|
|
7654
|
+
prerequisiteFlagKey: string;
|
|
7655
|
+
expectedVariationKey: string;
|
|
7336
7656
|
};
|
|
7337
7657
|
/**
|
|
7338
7658
|
* @description Request body for `PUT .../targeting` — a declarative full replace of the environment's
|
|
@@ -7356,14 +7676,54 @@ export interface components {
|
|
|
7356
7676
|
* carrying the handler's message.
|
|
7357
7677
|
*/
|
|
7358
7678
|
PublicReorderRulesRequest: {
|
|
7359
|
-
ruleIds: string[]
|
|
7679
|
+
ruleIds: string[];
|
|
7680
|
+
};
|
|
7681
|
+
/** @description A percentage-rollout rule's configured split beside a sample-ratio check of what it served. */
|
|
7682
|
+
PublicRolloutCheck: {
|
|
7683
|
+
/** @description The configured weights, in percent; they sum to 100. */
|
|
7684
|
+
configured: components["schemas"]["PublicConfiguredWeight"][];
|
|
7685
|
+
/**
|
|
7686
|
+
* Format: date-time
|
|
7687
|
+
* @description The last time the split may have changed (the rule was edited, or a variation was added), or null if it hasn't since the rule was created. A change inside the window mixes two splits.
|
|
7688
|
+
*/
|
|
7689
|
+
splitChangedAtUtc?: string | null;
|
|
7690
|
+
/** @description Whether the check could run. See NotEvaluableReason when false. */
|
|
7691
|
+
evaluable: boolean;
|
|
7692
|
+
/**
|
|
7693
|
+
* Format: double
|
|
7694
|
+
* @description The sample-ratio test's p-value, or null when not evaluable.
|
|
7695
|
+
*/
|
|
7696
|
+
pValue?: number | null;
|
|
7697
|
+
/** @description True only when the served split is both unlikely under the configured weights (p < 0.001) and at least 2 percentage points off for some variation. */
|
|
7698
|
+
flagged: boolean;
|
|
7699
|
+
/**
|
|
7700
|
+
* @description too-little-traffic or unexpected-variation when the check couldn't run; null otherwise. Allowed values: too-little-traffic, unexpected-variation.
|
|
7701
|
+
* @enum {string|null}
|
|
7702
|
+
*/
|
|
7703
|
+
notEvaluableReason?: "too-little-traffic" | "unexpected-variation" | null;
|
|
7704
|
+
/** @description The context attribute the rollout hashes on. A context without it skips the rule, even at 100%. */
|
|
7705
|
+
bucketBy: string;
|
|
7706
|
+
unreached?: components["schemas"]["PublicRolloutUnreached"];
|
|
7707
|
+
};
|
|
7708
|
+
/** @description A live rollout rule that no evaluations reached. */
|
|
7709
|
+
PublicRolloutUnreached: {
|
|
7710
|
+
/**
|
|
7711
|
+
* Format: int64
|
|
7712
|
+
* @description Evaluations that reached the flag's rules or fallthrough since SinceUtc, while this rule served none.
|
|
7713
|
+
*/
|
|
7714
|
+
eligibleEvaluations: number;
|
|
7715
|
+
/**
|
|
7716
|
+
* Format: date-time
|
|
7717
|
+
* @description The window start, or the first UTC midnight after the rule last changed when that is later.
|
|
7718
|
+
*/
|
|
7719
|
+
sinceUtc: string;
|
|
7360
7720
|
};
|
|
7361
7721
|
/** @description A newly added signing secret. The secret is shown only here. */
|
|
7362
7722
|
PublicRotateWebhookSecretResponse: {
|
|
7363
7723
|
/** Format: uuid */
|
|
7364
7724
|
secretId: string;
|
|
7365
|
-
secret: string
|
|
7366
|
-
warning: string
|
|
7725
|
+
secret: string;
|
|
7726
|
+
warning: string;
|
|
7367
7727
|
};
|
|
7368
7728
|
/**
|
|
7369
7729
|
* @description Public representation of an SDK key, returned by
|
|
@@ -7387,14 +7747,14 @@ export interface components {
|
|
|
7387
7747
|
PublicSdkKeyResponse: {
|
|
7388
7748
|
/** Format: uuid */
|
|
7389
7749
|
id: string;
|
|
7390
|
-
name: string
|
|
7750
|
+
name: string;
|
|
7391
7751
|
description?: string | null;
|
|
7392
7752
|
/**
|
|
7393
7753
|
* @description Allowed values: ClientSide, ServerSide.
|
|
7394
|
-
* @enum {string
|
|
7754
|
+
* @enum {string}
|
|
7395
7755
|
*/
|
|
7396
|
-
type: "ClientSide" | "ServerSide"
|
|
7397
|
-
lastFourCharacters: string
|
|
7756
|
+
type: "ClientSide" | "ServerSide";
|
|
7757
|
+
lastFourCharacters: string;
|
|
7398
7758
|
isActive: boolean;
|
|
7399
7759
|
/** Format: date-time */
|
|
7400
7760
|
createdAt: string;
|
|
@@ -7413,7 +7773,7 @@ export interface components {
|
|
|
7413
7773
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7414
7774
|
*/
|
|
7415
7775
|
PublicSdkKeyResponsePagedResult: {
|
|
7416
|
-
items: components["schemas"]["PublicSdkKeyResponse"][]
|
|
7776
|
+
items: components["schemas"]["PublicSdkKeyResponse"][];
|
|
7417
7777
|
next_cursor?: string | null;
|
|
7418
7778
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7419
7779
|
_actions?: {
|
|
@@ -7429,13 +7789,13 @@ export interface components {
|
|
|
7429
7789
|
* straight through from Operator, which is already a string.
|
|
7430
7790
|
*/
|
|
7431
7791
|
PublicSegmentConditionDto: {
|
|
7432
|
-
attribute: string
|
|
7792
|
+
attribute: string;
|
|
7433
7793
|
/**
|
|
7434
7794
|
* @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
|
|
7435
|
-
* @enum {string
|
|
7795
|
+
* @enum {string}
|
|
7436
7796
|
*/
|
|
7437
|
-
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual"
|
|
7438
|
-
values: string[]
|
|
7797
|
+
operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual";
|
|
7798
|
+
values: string[];
|
|
7439
7799
|
negate?: boolean;
|
|
7440
7800
|
};
|
|
7441
7801
|
/**
|
|
@@ -7463,10 +7823,10 @@ export interface components {
|
|
|
7463
7823
|
PublicSegmentResponse: {
|
|
7464
7824
|
/** Format: uuid */
|
|
7465
7825
|
id: string;
|
|
7466
|
-
key: string
|
|
7467
|
-
name: string
|
|
7826
|
+
key: string;
|
|
7827
|
+
name: string;
|
|
7468
7828
|
description?: string | null;
|
|
7469
|
-
conditions: components["schemas"]["PublicSegmentConditionDto"][]
|
|
7829
|
+
conditions: components["schemas"]["PublicSegmentConditionDto"][];
|
|
7470
7830
|
/** Format: date-time */
|
|
7471
7831
|
createdAt: string;
|
|
7472
7832
|
/** Format: date-time */
|
|
@@ -7482,7 +7842,7 @@ export interface components {
|
|
|
7482
7842
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7483
7843
|
*/
|
|
7484
7844
|
PublicSegmentResponsePagedResult: {
|
|
7485
|
-
items: components["schemas"]["PublicSegmentResponse"][]
|
|
7845
|
+
items: components["schemas"]["PublicSegmentResponse"][];
|
|
7486
7846
|
next_cursor?: string | null;
|
|
7487
7847
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7488
7848
|
_actions?: {
|
|
@@ -7537,7 +7897,7 @@ export interface components {
|
|
|
7537
7897
|
*/
|
|
7538
7898
|
PublicTargetingConfigResponse: {
|
|
7539
7899
|
isEnabled: boolean;
|
|
7540
|
-
rules: components["schemas"]["PublicTargetingRuleResponse"][]
|
|
7900
|
+
rules: components["schemas"]["PublicTargetingRuleResponse"][];
|
|
7541
7901
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7542
7902
|
_actions?: {
|
|
7543
7903
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
@@ -7554,6 +7914,7 @@ export interface components {
|
|
|
7554
7914
|
* "description": "North American users get the new flow at 25%.",
|
|
7555
7915
|
* "variationId": "0197b6a0-6a1b-7d4f-8c2e-2f3a4b5c6d7e",
|
|
7556
7916
|
* "rolloutPercentage": 25,
|
|
7917
|
+
* "bucketBy": "user_id",
|
|
7557
7918
|
* "userSegmentId": "0197b6a1-3c4d-7e5f-8a6b-7c8d9e0f1a2b",
|
|
7558
7919
|
* "conditionGroups": [
|
|
7559
7920
|
* {
|
|
@@ -7583,9 +7944,11 @@ export interface components {
|
|
|
7583
7944
|
variationId: string;
|
|
7584
7945
|
/** Format: int32 */
|
|
7585
7946
|
rolloutPercentage?: number | null;
|
|
7947
|
+
/** @description Context attribute the rollout hashes on (default `user_id`; `userId` is accepted as an alias). A context without it skips this rule, even at 100%. Lookup is exact and case-sensitive, except `user_id`/`userId`, which both read the user id. */
|
|
7948
|
+
bucketBy: string;
|
|
7586
7949
|
/** Format: uuid */
|
|
7587
7950
|
userSegmentId?: string | null;
|
|
7588
|
-
conditionGroups: components["schemas"]["PublicConditionGroupResponse"][]
|
|
7951
|
+
conditionGroups: components["schemas"]["PublicConditionGroupResponse"][];
|
|
7589
7952
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7590
7953
|
_actions?: {
|
|
7591
7954
|
[key: string]: components["schemas"]["ActionCapability"];
|
|
@@ -7617,7 +7980,7 @@ export interface components {
|
|
|
7617
7980
|
* dashboard's `UpdateEnvironmentRequest`.
|
|
7618
7981
|
*/
|
|
7619
7982
|
PublicUpdateEnvironmentRequest: {
|
|
7620
|
-
name: string
|
|
7983
|
+
name: string;
|
|
7621
7984
|
color?: string | null;
|
|
7622
7985
|
/** Format: int32 */
|
|
7623
7986
|
sortOrder?: number;
|
|
@@ -7629,7 +7992,7 @@ export interface components {
|
|
|
7629
7992
|
* endpoint (mirrors `UpdateFeatureFlagCommand`, which has no `Key`/`Type`).
|
|
7630
7993
|
*/
|
|
7631
7994
|
PublicUpdateFeatureFlagRequest: {
|
|
7632
|
-
name: string
|
|
7995
|
+
name: string;
|
|
7633
7996
|
description?: string | null;
|
|
7634
7997
|
tags?: string[] | null;
|
|
7635
7998
|
clientSideVisible?: boolean | null;
|
|
@@ -7672,7 +8035,7 @@ export interface components {
|
|
|
7672
8035
|
* dashboard's `UpdateProjectRequest`.
|
|
7673
8036
|
*/
|
|
7674
8037
|
PublicUpdateProjectRequest: {
|
|
7675
|
-
name: string
|
|
8038
|
+
name: string;
|
|
7676
8039
|
description?: string | null;
|
|
7677
8040
|
};
|
|
7678
8041
|
/**
|
|
@@ -7682,7 +8045,7 @@ export interface components {
|
|
|
7682
8045
|
* carries no `Type`).
|
|
7683
8046
|
*/
|
|
7684
8047
|
PublicUpdateSdkKeyRequest: {
|
|
7685
|
-
name: string
|
|
8048
|
+
name: string;
|
|
7686
8049
|
description?: string | null;
|
|
7687
8050
|
};
|
|
7688
8051
|
/**
|
|
@@ -7691,9 +8054,9 @@ export interface components {
|
|
|
7691
8054
|
* carries no `Key`).
|
|
7692
8055
|
*/
|
|
7693
8056
|
PublicUpdateSegmentRequest: {
|
|
7694
|
-
name: string
|
|
8057
|
+
name: string;
|
|
7695
8058
|
description?: string | null;
|
|
7696
|
-
conditions: components["schemas"]["PublicSegmentConditionDto"][]
|
|
8059
|
+
conditions: components["schemas"]["PublicSegmentConditionDto"][];
|
|
7697
8060
|
};
|
|
7698
8061
|
/**
|
|
7699
8062
|
* @description Request body for `PUT .../rules/{ruleId}`. Same shape as
|
|
@@ -7708,7 +8071,9 @@ export interface components {
|
|
|
7708
8071
|
rolloutPercentage?: number | null;
|
|
7709
8072
|
/** Format: uuid */
|
|
7710
8073
|
userSegmentId?: string | null;
|
|
7711
|
-
conditionGroups: components["schemas"]["PublicConditionGroupRequest"][]
|
|
8074
|
+
conditionGroups: components["schemas"]["PublicConditionGroupRequest"][];
|
|
8075
|
+
/** @description Context attribute the rollout hashes on (default `user_id`; `userId` is accepted as an alias). Omit to keep the current value. A fixed rule (no `rolloutPercentage`) never hashes and always stores `user_id`, so one made a rollout without `bucketBy` gets `user_id`. A context without it skips this rule, even at 100%. Changing it reshuffles who is in the rollout. */
|
|
8076
|
+
bucketBy?: string | null;
|
|
7712
8077
|
};
|
|
7713
8078
|
/**
|
|
7714
8079
|
* @description Request body for
|
|
@@ -7718,8 +8083,8 @@ export interface components {
|
|
|
7718
8083
|
* carries no `Key`).
|
|
7719
8084
|
*/
|
|
7720
8085
|
PublicUpdateVariationRequest: {
|
|
7721
|
-
name: string
|
|
7722
|
-
value: string
|
|
8086
|
+
name: string;
|
|
8087
|
+
value: string;
|
|
7723
8088
|
description?: string | null;
|
|
7724
8089
|
};
|
|
7725
8090
|
/**
|
|
@@ -7727,8 +8092,8 @@ export interface components {
|
|
|
7727
8092
|
* "all"). `isEnabled` is required. The provider cannot be changed.
|
|
7728
8093
|
*/
|
|
7729
8094
|
PublicUpdateWebhookSubscriptionRequest: {
|
|
7730
|
-
name: string
|
|
7731
|
-
url: string
|
|
8095
|
+
name: string;
|
|
8096
|
+
url: string;
|
|
7732
8097
|
eventTypes?: string[] | null;
|
|
7733
8098
|
projectIds?: string[] | null;
|
|
7734
8099
|
environmentIds?: string[] | null;
|
|
@@ -7747,9 +8112,9 @@ export interface components {
|
|
|
7747
8112
|
PublicVariationResponse: {
|
|
7748
8113
|
/** Format: uuid */
|
|
7749
8114
|
id: string;
|
|
7750
|
-
key: string
|
|
7751
|
-
name: string
|
|
7752
|
-
value: string
|
|
8115
|
+
key: string;
|
|
8116
|
+
name: string;
|
|
8117
|
+
value: string;
|
|
7753
8118
|
description?: string | null;
|
|
7754
8119
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7755
8120
|
_actions?: {
|
|
@@ -7767,9 +8132,9 @@ export interface components {
|
|
|
7767
8132
|
webhookEventId: string;
|
|
7768
8133
|
/**
|
|
7769
8134
|
* @description Allowed values: Pending, Succeeded, DeadLettered.
|
|
7770
|
-
* @enum {string
|
|
8135
|
+
* @enum {string}
|
|
7771
8136
|
*/
|
|
7772
|
-
status: "Pending" | "Succeeded" | "DeadLettered"
|
|
8137
|
+
status: "Pending" | "Succeeded" | "DeadLettered";
|
|
7773
8138
|
/** Format: int32 */
|
|
7774
8139
|
attemptCount: number;
|
|
7775
8140
|
/** Format: date-time */
|
|
@@ -7788,7 +8153,7 @@ export interface components {
|
|
|
7788
8153
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7789
8154
|
*/
|
|
7790
8155
|
PublicWebhookDeliveryResponsePagedResult: {
|
|
7791
|
-
items: components["schemas"]["PublicWebhookDeliveryResponse"][]
|
|
8156
|
+
items: components["schemas"]["PublicWebhookDeliveryResponse"][];
|
|
7792
8157
|
next_cursor?: string | null;
|
|
7793
8158
|
};
|
|
7794
8159
|
/** @description A signing secret's id and lifecycle. A secret with no `retiredAt` is active and signs every delivery. */
|
|
@@ -7838,17 +8203,17 @@ export interface components {
|
|
|
7838
8203
|
PublicWebhookSubscriptionResponse: {
|
|
7839
8204
|
/** Format: uuid */
|
|
7840
8205
|
id: string;
|
|
7841
|
-
name: string
|
|
7842
|
-
url: string
|
|
8206
|
+
name: string;
|
|
8207
|
+
url: string;
|
|
7843
8208
|
/**
|
|
7844
8209
|
* @description Allowed values: GenericHttp.
|
|
7845
|
-
* @enum {string
|
|
8210
|
+
* @enum {string}
|
|
7846
8211
|
*/
|
|
7847
|
-
provider: "GenericHttp"
|
|
8212
|
+
provider: "GenericHttp";
|
|
7848
8213
|
isEnabled: boolean;
|
|
7849
|
-
eventTypes: string[]
|
|
7850
|
-
projectIds: string[]
|
|
7851
|
-
environmentIds: string[]
|
|
8214
|
+
eventTypes: string[];
|
|
8215
|
+
projectIds: string[];
|
|
8216
|
+
environmentIds: string[];
|
|
7852
8217
|
/** Format: int32 */
|
|
7853
8218
|
consecutiveFailureCount: number;
|
|
7854
8219
|
/** Format: date-time */
|
|
@@ -7857,7 +8222,7 @@ export interface components {
|
|
|
7857
8222
|
createdAt: string;
|
|
7858
8223
|
/** Format: date-time */
|
|
7859
8224
|
updatedAt: string;
|
|
7860
|
-
secrets: components["schemas"]["PublicWebhookSecretResponse"][]
|
|
8225
|
+
secrets: components["schemas"]["PublicWebhookSecretResponse"][];
|
|
7861
8226
|
overPlanLimit: boolean;
|
|
7862
8227
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7863
8228
|
_actions?: {
|
|
@@ -7870,7 +8235,7 @@ export interface components {
|
|
|
7870
8235
|
* `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
|
|
7871
8236
|
*/
|
|
7872
8237
|
PublicWebhookSubscriptionResponsePagedResult: {
|
|
7873
|
-
items: components["schemas"]["PublicWebhookSubscriptionResponse"][]
|
|
8238
|
+
items: components["schemas"]["PublicWebhookSubscriptionResponse"][];
|
|
7874
8239
|
next_cursor?: string | null;
|
|
7875
8240
|
/** @description Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it. */
|
|
7876
8241
|
_actions?: {
|