@featureflip/mcp 0.1.13 → 0.3.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.
@@ -113,6 +113,18 @@ export interface paths {
113
113
  "application/json": components["schemas"]["PublicEnvironmentResponse"];
114
114
  };
115
115
  };
116
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
117
+ 400: {
118
+ headers: {
119
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
120
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
121
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
122
+ [name: string]: unknown;
123
+ };
124
+ content: {
125
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
126
+ };
127
+ };
116
128
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
117
129
  401: {
118
130
  headers: {
@@ -182,7 +194,10 @@ export interface paths {
182
194
  get: {
183
195
  parameters: {
184
196
  query?: never;
185
- header?: never;
197
+ header?: {
198
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
199
+ "If-Match"?: string;
200
+ };
186
201
  path: {
187
202
  org: string;
188
203
  project: string;
@@ -195,7 +210,7 @@ export interface paths {
195
210
  /** @description OK */
196
211
  200: {
197
212
  headers: {
198
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
213
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
199
214
  ETag?: string;
200
215
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
201
216
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -230,6 +245,18 @@ export interface paths {
230
245
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
231
246
  };
232
247
  };
248
+ /** @description The resource's current ETag is not the If-Match one. */
249
+ 412: {
250
+ headers: {
251
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
252
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
253
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
254
+ [name: string]: unknown;
255
+ };
256
+ content: {
257
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
258
+ };
259
+ };
233
260
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
234
261
  429: {
235
262
  headers: {
@@ -254,7 +281,7 @@ export interface paths {
254
281
  parameters: {
255
282
  query?: never;
256
283
  header?: {
257
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
284
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
258
285
  "If-Match"?: string;
259
286
  };
260
287
  path: {
@@ -275,7 +302,7 @@ export interface paths {
275
302
  /** @description No Content */
276
303
  204: {
277
304
  headers: {
278
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
305
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
279
306
  ETag?: string;
280
307
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
281
308
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -378,7 +405,7 @@ export interface paths {
378
405
  };
379
406
  content?: never;
380
407
  };
381
- /** @description Bad Request */
408
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
382
409
  400: {
383
410
  headers: {
384
411
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -578,7 +605,7 @@ export interface paths {
578
605
  "application/json": components["schemas"]["PublicFlagResponse"];
579
606
  };
580
607
  };
581
- /** @description Bad Request */
608
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
582
609
  400: {
583
610
  headers: {
584
611
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -758,7 +785,10 @@ export interface paths {
758
785
  get: {
759
786
  parameters: {
760
787
  query?: never;
761
- header?: never;
788
+ header?: {
789
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
790
+ "If-Match"?: string;
791
+ };
762
792
  path: {
763
793
  org: string;
764
794
  project: string;
@@ -771,7 +801,7 @@ export interface paths {
771
801
  /** @description OK */
772
802
  200: {
773
803
  headers: {
774
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
804
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
775
805
  ETag?: string;
776
806
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
777
807
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -806,6 +836,18 @@ export interface paths {
806
836
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
807
837
  };
808
838
  };
839
+ /** @description The resource's current ETag is not the If-Match one. */
840
+ 412: {
841
+ headers: {
842
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
843
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
844
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
845
+ [name: string]: unknown;
846
+ };
847
+ content: {
848
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
849
+ };
850
+ };
809
851
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
810
852
  429: {
811
853
  headers: {
@@ -832,7 +874,7 @@ export interface paths {
832
874
  parameters: {
833
875
  query?: never;
834
876
  header?: {
835
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
877
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
836
878
  "If-Match"?: string;
837
879
  };
838
880
  path: {
@@ -853,7 +895,7 @@ export interface paths {
853
895
  /** @description No Content */
854
896
  204: {
855
897
  headers: {
856
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
898
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
857
899
  ETag?: string;
858
900
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
859
901
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -957,7 +999,7 @@ export interface paths {
957
999
  };
958
1000
  content?: never;
959
1001
  };
960
- /** @description Bad Request */
1002
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
961
1003
  400: {
962
1004
  headers: {
963
1005
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1073,7 +1115,7 @@ export interface paths {
1073
1115
  };
1074
1116
  content?: never;
1075
1117
  };
1076
- /** @description Bad Request */
1118
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1077
1119
  400: {
1078
1120
  headers: {
1079
1121
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1166,6 +1208,18 @@ export interface paths {
1166
1208
  };
1167
1209
  content?: never;
1168
1210
  };
1211
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1212
+ 400: {
1213
+ headers: {
1214
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
1215
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
1216
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
1217
+ [name: string]: unknown;
1218
+ };
1219
+ content: {
1220
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
1221
+ };
1222
+ };
1169
1223
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
1170
1224
  401: {
1171
1225
  headers: {
@@ -1266,7 +1320,7 @@ export interface paths {
1266
1320
  };
1267
1321
  content?: never;
1268
1322
  };
1269
- /** @description Bad Request */
1323
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1270
1324
  400: {
1271
1325
  headers: {
1272
1326
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1359,6 +1413,18 @@ export interface paths {
1359
1413
  };
1360
1414
  content?: never;
1361
1415
  };
1416
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1417
+ 400: {
1418
+ headers: {
1419
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
1420
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
1421
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
1422
+ [name: string]: unknown;
1423
+ };
1424
+ content: {
1425
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
1426
+ };
1427
+ };
1362
1428
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
1363
1429
  401: {
1364
1430
  headers: {
@@ -1453,7 +1519,7 @@ export interface paths {
1453
1519
  };
1454
1520
  content?: never;
1455
1521
  };
1456
- /** @description Bad Request */
1522
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1457
1523
  400: {
1458
1524
  headers: {
1459
1525
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1546,6 +1612,18 @@ export interface paths {
1546
1612
  };
1547
1613
  content?: never;
1548
1614
  };
1615
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1616
+ 400: {
1617
+ headers: {
1618
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
1619
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
1620
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
1621
+ [name: string]: unknown;
1622
+ };
1623
+ content: {
1624
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
1625
+ };
1626
+ };
1549
1627
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
1550
1628
  401: {
1551
1629
  headers: {
@@ -1645,7 +1723,7 @@ export interface paths {
1645
1723
  };
1646
1724
  content?: never;
1647
1725
  };
1648
- /** @description Bad Request */
1726
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1649
1727
  400: {
1650
1728
  headers: {
1651
1729
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1737,6 +1815,18 @@ export interface paths {
1737
1815
  };
1738
1816
  content?: never;
1739
1817
  };
1818
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1819
+ 400: {
1820
+ headers: {
1821
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
1822
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
1823
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
1824
+ [name: string]: unknown;
1825
+ };
1826
+ content: {
1827
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
1828
+ };
1829
+ };
1740
1830
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
1741
1831
  401: {
1742
1832
  headers: {
@@ -1837,7 +1927,7 @@ export interface paths {
1837
1927
  };
1838
1928
  content?: never;
1839
1929
  };
1840
- /** @description Bad Request */
1930
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
1841
1931
  400: {
1842
1932
  headers: {
1843
1933
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -1943,6 +2033,18 @@ export interface paths {
1943
2033
  };
1944
2034
  content?: never;
1945
2035
  };
2036
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
2037
+ 400: {
2038
+ headers: {
2039
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2040
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
2041
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
2042
+ [name: string]: unknown;
2043
+ };
2044
+ content: {
2045
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2046
+ };
2047
+ };
1946
2048
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
1947
2049
  401: {
1948
2050
  headers: {
@@ -2099,7 +2201,10 @@ export interface paths {
2099
2201
  get: {
2100
2202
  parameters: {
2101
2203
  query?: never;
2102
- header?: never;
2204
+ header?: {
2205
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
2206
+ "If-Match"?: string;
2207
+ };
2103
2208
  path: {
2104
2209
  org: string;
2105
2210
  project: string;
@@ -2113,7 +2218,7 @@ export interface paths {
2113
2218
  /** @description OK */
2114
2219
  200: {
2115
2220
  headers: {
2116
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2221
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2117
2222
  ETag?: string;
2118
2223
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2119
2224
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2148,6 +2253,18 @@ export interface paths {
2148
2253
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2149
2254
  };
2150
2255
  };
2256
+ /** @description The resource's current ETag is not the If-Match one. */
2257
+ 412: {
2258
+ headers: {
2259
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2260
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
2261
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
2262
+ [name: string]: unknown;
2263
+ };
2264
+ content: {
2265
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2266
+ };
2267
+ };
2151
2268
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
2152
2269
  429: {
2153
2270
  headers: {
@@ -2174,7 +2291,7 @@ export interface paths {
2174
2291
  parameters: {
2175
2292
  query?: never;
2176
2293
  header?: {
2177
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2294
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2178
2295
  "If-Match"?: string;
2179
2296
  };
2180
2297
  path: {
@@ -2196,7 +2313,7 @@ export interface paths {
2196
2313
  /** @description No Content */
2197
2314
  204: {
2198
2315
  headers: {
2199
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2316
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2200
2317
  ETag?: string;
2201
2318
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2202
2319
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2331,7 +2448,7 @@ export interface paths {
2331
2448
  };
2332
2449
  content?: never;
2333
2450
  };
2334
- /** @description Bad Request */
2451
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
2335
2452
  400: {
2336
2453
  headers: {
2337
2454
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -2418,7 +2535,10 @@ export interface paths {
2418
2535
  get: {
2419
2536
  parameters: {
2420
2537
  query?: never;
2421
- header?: never;
2538
+ header?: {
2539
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
2540
+ "If-Match"?: string;
2541
+ };
2422
2542
  path: {
2423
2543
  org: string;
2424
2544
  project: string;
@@ -2432,7 +2552,7 @@ export interface paths {
2432
2552
  /** @description OK */
2433
2553
  200: {
2434
2554
  headers: {
2435
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2555
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2436
2556
  ETag?: string;
2437
2557
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2438
2558
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2467,6 +2587,18 @@ export interface paths {
2467
2587
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2468
2588
  };
2469
2589
  };
2590
+ /** @description The resource's current ETag is not the If-Match one. */
2591
+ 412: {
2592
+ headers: {
2593
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2594
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
2595
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
2596
+ [name: string]: unknown;
2597
+ };
2598
+ content: {
2599
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2600
+ };
2601
+ };
2470
2602
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
2471
2603
  429: {
2472
2604
  headers: {
@@ -2493,7 +2625,7 @@ export interface paths {
2493
2625
  parameters: {
2494
2626
  query?: never;
2495
2627
  header?: {
2496
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2628
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2497
2629
  "If-Match"?: string;
2498
2630
  };
2499
2631
  path: {
@@ -2515,7 +2647,7 @@ export interface paths {
2515
2647
  /** @description No Content */
2516
2648
  204: {
2517
2649
  headers: {
2518
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2650
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2519
2651
  ETag?: string;
2520
2652
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2521
2653
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2655,7 +2787,7 @@ export interface paths {
2655
2787
  "application/json": components["schemas"]["PublicTargetingRuleResponse"];
2656
2788
  };
2657
2789
  };
2658
- /** @description Bad Request */
2790
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
2659
2791
  400: {
2660
2792
  headers: {
2661
2793
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -2736,7 +2868,10 @@ export interface paths {
2736
2868
  get: {
2737
2869
  parameters: {
2738
2870
  query?: never;
2739
- header?: never;
2871
+ header?: {
2872
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
2873
+ "If-Match"?: string;
2874
+ };
2740
2875
  path: {
2741
2876
  org: string;
2742
2877
  project: string;
@@ -2751,7 +2886,7 @@ export interface paths {
2751
2886
  /** @description OK */
2752
2887
  200: {
2753
2888
  headers: {
2754
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2889
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2755
2890
  ETag?: string;
2756
2891
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2757
2892
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2786,6 +2921,18 @@ export interface paths {
2786
2921
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2787
2922
  };
2788
2923
  };
2924
+ /** @description The resource's current ETag is not the If-Match one. */
2925
+ 412: {
2926
+ headers: {
2927
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2928
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
2929
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
2930
+ [name: string]: unknown;
2931
+ };
2932
+ content: {
2933
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
2934
+ };
2935
+ };
2789
2936
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
2790
2937
  429: {
2791
2938
  headers: {
@@ -2810,7 +2957,7 @@ export interface paths {
2810
2957
  parameters: {
2811
2958
  query?: never;
2812
2959
  header?: {
2813
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2960
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
2814
2961
  "If-Match"?: string;
2815
2962
  };
2816
2963
  path: {
@@ -2833,7 +2980,7 @@ export interface paths {
2833
2980
  /** @description No Content */
2834
2981
  204: {
2835
2982
  headers: {
2836
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
2983
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
2837
2984
  ETag?: string;
2838
2985
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
2839
2986
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -2948,6 +3095,18 @@ export interface paths {
2948
3095
  };
2949
3096
  content?: never;
2950
3097
  };
3098
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3099
+ 400: {
3100
+ headers: {
3101
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
3102
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
3103
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
3104
+ [name: string]: unknown;
3105
+ };
3106
+ content: {
3107
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
3108
+ };
3109
+ };
2951
3110
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
2952
3111
  401: {
2953
3112
  headers: {
@@ -3048,6 +3207,18 @@ export interface paths {
3048
3207
  };
3049
3208
  content?: never;
3050
3209
  };
3210
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3211
+ 400: {
3212
+ headers: {
3213
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
3214
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
3215
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
3216
+ [name: string]: unknown;
3217
+ };
3218
+ content: {
3219
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
3220
+ };
3221
+ };
3051
3222
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
3052
3223
  401: {
3053
3224
  headers: {
@@ -3153,7 +3324,7 @@ export interface paths {
3153
3324
  "application/json": components["schemas"]["PublicVariationResponse"];
3154
3325
  };
3155
3326
  };
3156
- /** @description Bad Request */
3327
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3157
3328
  400: {
3158
3329
  headers: {
3159
3330
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -3265,6 +3436,18 @@ export interface paths {
3265
3436
  };
3266
3437
  content?: never;
3267
3438
  };
3439
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3440
+ 400: {
3441
+ headers: {
3442
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
3443
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
3444
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
3445
+ [name: string]: unknown;
3446
+ };
3447
+ content: {
3448
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
3449
+ };
3450
+ };
3268
3451
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
3269
3452
  401: {
3270
3453
  headers: {
@@ -3351,7 +3534,7 @@ export interface paths {
3351
3534
  };
3352
3535
  content?: never;
3353
3536
  };
3354
- /** @description Bad Request */
3537
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3355
3538
  400: {
3356
3539
  headers: {
3357
3540
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -3728,6 +3911,18 @@ export interface paths {
3728
3911
  "application/json": components["schemas"]["ProjectResponse"];
3729
3912
  };
3730
3913
  };
3914
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
3915
+ 400: {
3916
+ headers: {
3917
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
3918
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
3919
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
3920
+ [name: string]: unknown;
3921
+ };
3922
+ content: {
3923
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
3924
+ };
3925
+ };
3731
3926
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
3732
3927
  401: {
3733
3928
  headers: {
@@ -3878,6 +4073,18 @@ export interface paths {
3878
4073
  };
3879
4074
  content?: never;
3880
4075
  };
4076
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4077
+ 400: {
4078
+ headers: {
4079
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4080
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4081
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4082
+ [name: string]: unknown;
4083
+ };
4084
+ content: {
4085
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
4086
+ };
4087
+ };
3881
4088
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
3882
4089
  401: {
3883
4090
  headers: {
@@ -3957,6 +4164,18 @@ export interface paths {
3957
4164
  };
3958
4165
  content?: never;
3959
4166
  };
4167
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4168
+ 400: {
4169
+ headers: {
4170
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4171
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4172
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4173
+ [name: string]: unknown;
4174
+ };
4175
+ content: {
4176
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
4177
+ };
4178
+ };
3960
4179
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
3961
4180
  401: {
3962
4181
  headers: {
@@ -4028,7 +4247,7 @@ export interface paths {
4028
4247
  * flags with no expiry date of their own then expire that many days after they were created, reported
4029
4248
  * as `expirySource: "project-default"`. Takes effect at the next hourly staleness run. Requires at
4030
4249
  * least Member, and the default-flag-lifetime feature to set one (400 `FEATURE_NOT_ENABLED`);
4031
- * removing one is always allowed.
4250
+ * removing one is always allowed. `days` is required; send `{"days": null}` to remove.
4032
4251
  */
4033
4252
  put: {
4034
4253
  parameters: {
@@ -4058,7 +4277,7 @@ export interface paths {
4058
4277
  };
4059
4278
  content?: never;
4060
4279
  };
4061
- /** @description Bad Request */
4280
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4062
4281
  400: {
4063
4282
  headers: {
4064
4283
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -4346,7 +4565,7 @@ export interface paths {
4346
4565
  "application/json": components["schemas"]["PublicCreateSdkKeyResponse"];
4347
4566
  };
4348
4567
  };
4349
- /** @description Bad Request */
4568
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4350
4569
  400: {
4351
4570
  headers: {
4352
4571
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -4524,6 +4743,18 @@ export interface paths {
4524
4743
  };
4525
4744
  content?: never;
4526
4745
  };
4746
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4747
+ 400: {
4748
+ headers: {
4749
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4750
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4751
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4752
+ [name: string]: unknown;
4753
+ };
4754
+ content: {
4755
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
4756
+ };
4757
+ };
4527
4758
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
4528
4759
  401: {
4529
4760
  headers: {
@@ -4620,6 +4851,18 @@ export interface paths {
4620
4851
  };
4621
4852
  content?: never;
4622
4853
  };
4854
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4855
+ 400: {
4856
+ headers: {
4857
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4858
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4859
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4860
+ [name: string]: unknown;
4861
+ };
4862
+ content: {
4863
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
4864
+ };
4865
+ };
4623
4866
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
4624
4867
  401: {
4625
4868
  headers: {
@@ -4798,7 +5041,7 @@ export interface paths {
4798
5041
  "application/json": components["schemas"]["PublicSegmentResponse"];
4799
5042
  };
4800
5043
  };
4801
- /** @description Bad Request */
5044
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
4802
5045
  400: {
4803
5046
  headers: {
4804
5047
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -4885,7 +5128,10 @@ export interface paths {
4885
5128
  get: {
4886
5129
  parameters: {
4887
5130
  query?: never;
4888
- header?: never;
5131
+ header?: {
5132
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
5133
+ "If-Match"?: string;
5134
+ };
4889
5135
  path: {
4890
5136
  org: string;
4891
5137
  project: string;
@@ -4898,7 +5144,7 @@ export interface paths {
4898
5144
  /** @description OK */
4899
5145
  200: {
4900
5146
  headers: {
4901
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
5147
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
4902
5148
  ETag?: string;
4903
5149
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4904
5150
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -4933,6 +5179,18 @@ export interface paths {
4933
5179
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
4934
5180
  };
4935
5181
  };
5182
+ /** @description The resource's current ETag is not the If-Match one. */
5183
+ 412: {
5184
+ headers: {
5185
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5186
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5187
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5188
+ [name: string]: unknown;
5189
+ };
5190
+ content: {
5191
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
5192
+ };
5193
+ };
4936
5194
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
4937
5195
  429: {
4938
5196
  headers: {
@@ -4957,7 +5215,7 @@ export interface paths {
4957
5215
  parameters: {
4958
5216
  query?: never;
4959
5217
  header?: {
4960
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
5218
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
4961
5219
  "If-Match"?: string;
4962
5220
  };
4963
5221
  path: {
@@ -4978,7 +5236,7 @@ export interface paths {
4978
5236
  /** @description No Content */
4979
5237
  204: {
4980
5238
  headers: {
4981
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
5239
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
4982
5240
  ETag?: string;
4983
5241
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4984
5242
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -5091,6 +5349,18 @@ export interface paths {
5091
5349
  };
5092
5350
  content?: never;
5093
5351
  };
5352
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
5353
+ 400: {
5354
+ headers: {
5355
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5356
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5357
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5358
+ [name: string]: unknown;
5359
+ };
5360
+ content: {
5361
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
5362
+ };
5363
+ };
5094
5364
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
5095
5365
  401: {
5096
5366
  headers: {
@@ -5272,7 +5542,7 @@ export interface paths {
5272
5542
  "application/json": components["schemas"]["PublicCreateWebhookSubscriptionResponse"];
5273
5543
  };
5274
5544
  };
5275
- /** @description Bad Request */
5545
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
5276
5546
  400: {
5277
5547
  headers: {
5278
5548
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -5450,7 +5720,10 @@ export interface paths {
5450
5720
  get: {
5451
5721
  parameters: {
5452
5722
  query?: never;
5453
- header?: never;
5723
+ header?: {
5724
+ /** @description Optional. An ETag of this resource. The response is 200 only if it is still the current one; otherwise 412 `precondition_failed`. `*` or no header always reads. */
5725
+ "If-Match"?: string;
5726
+ };
5454
5727
  path: {
5455
5728
  org: string;
5456
5729
  id: string;
@@ -5462,7 +5735,7 @@ export interface paths {
5462
5735
  /** @description OK */
5463
5736
  200: {
5464
5737
  headers: {
5465
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
5738
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
5466
5739
  ETag?: string;
5467
5740
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5468
5741
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -5509,6 +5782,18 @@ export interface paths {
5509
5782
  "application/json": components["schemas"]["PublicApiErrorEnvelope"];
5510
5783
  };
5511
5784
  };
5785
+ /** @description The resource's current ETag is not the If-Match one. */
5786
+ 412: {
5787
+ headers: {
5788
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5789
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5790
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5791
+ [name: string]: unknown;
5792
+ };
5793
+ content: {
5794
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
5795
+ };
5796
+ };
5512
5797
  /** @description Rate limit exceeded. Retry after the interval indicated by the Retry-After header. */
5513
5798
  429: {
5514
5799
  headers: {
@@ -5534,7 +5819,7 @@ export interface paths {
5534
5819
  parameters: {
5535
5820
  query?: never;
5536
5821
  header?: {
5537
- /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
5822
+ /** @description Optional. The ETag from a GET of this resource. The write applies only if the resource still has that ETag, meaning nothing in its body has changed since; otherwise 412 `precondition_failed`. `*` or no header applies the write unconditionally. */
5538
5823
  "If-Match"?: string;
5539
5824
  };
5540
5825
  path: {
@@ -5554,7 +5839,7 @@ export interface paths {
5554
5839
  /** @description No Content */
5555
5840
  204: {
5556
5841
  headers: {
5557
- /** @description Strong ETag of the resource. Send it back as If-Match on a PUT. */
5842
+ /** @description Strong ETag of the resource's whole body as sent to this caller: it changes whenever anything in the body does. Send it back as If-Match on a PUT. */
5558
5843
  ETag?: string;
5559
5844
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5560
5845
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
@@ -5666,6 +5951,18 @@ export interface paths {
5666
5951
  };
5667
5952
  content?: never;
5668
5953
  };
5954
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
5955
+ 400: {
5956
+ headers: {
5957
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5958
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5959
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5960
+ [name: string]: unknown;
5961
+ };
5962
+ content: {
5963
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
5964
+ };
5965
+ };
5669
5966
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
5670
5967
  401: {
5671
5968
  headers: {
@@ -5763,6 +6060,18 @@ export interface paths {
5763
6060
  "application/json": components["schemas"]["PublicRotateWebhookSecretResponse"];
5764
6061
  };
5765
6062
  };
6063
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
6064
+ 400: {
6065
+ headers: {
6066
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6067
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6068
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6069
+ [name: string]: unknown;
6070
+ };
6071
+ content: {
6072
+ "application/json": components["schemas"]["PublicApiErrorEnvelope"];
6073
+ };
6074
+ };
5766
6075
  /** @description Authentication is required, or the supplied API token is invalid or expired. */
5767
6076
  401: {
5768
6077
  headers: {
@@ -5859,7 +6168,7 @@ export interface paths {
5859
6168
  };
5860
6169
  content?: never;
5861
6170
  };
5862
- /** @description Bad Request */
6171
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
5863
6172
  400: {
5864
6173
  headers: {
5865
6174
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -5967,7 +6276,7 @@ export interface paths {
5967
6276
  "application/json": components["schemas"]["PublicTestWebhookSubscriptionResponse"];
5968
6277
  };
5969
6278
  };
5970
- /** @description Bad Request */
6279
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
5971
6280
  400: {
5972
6281
  headers: {
5973
6282
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -6173,7 +6482,7 @@ export interface paths {
6173
6482
  };
6174
6483
  content?: never;
6175
6484
  };
6176
- /** @description Bad Request */
6485
+ /** @description The request is malformed, or it carries an If-Match header, which this endpoint can't evaluate. Send no If-Match, or `*`. */
6177
6486
  400: {
6178
6487
  headers: {
6179
6488
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
@@ -6263,10 +6572,10 @@ export interface components {
6263
6572
  * service token (access to every project), never an empty list.
6264
6573
  */
6265
6574
  MeResponse: {
6266
- type?: string | null;
6575
+ type: string | null;
6267
6576
  /** Format: uuid */
6268
- id?: string;
6269
- name?: string | null;
6577
+ id: string;
6578
+ name: string | null;
6270
6579
  email?: string | null;
6271
6580
  emailVerified?: boolean | null;
6272
6581
  /** Format: uuid */
@@ -6275,8 +6584,8 @@ export interface components {
6275
6584
  projectScope?: string[] | null;
6276
6585
  };
6277
6586
  NextAction: {
6278
- method?: string | null;
6279
- path?: string | null;
6587
+ method: string | null;
6588
+ path: string | null;
6280
6589
  };
6281
6590
  /**
6282
6591
  * @description Public representation of an organization, returned by both `GET /api/v1/orgs` (list) and
@@ -6286,17 +6595,17 @@ export interface components {
6286
6595
  */
6287
6596
  OrganizationResponse: {
6288
6597
  /** Format: uuid */
6289
- id?: string;
6290
- name?: string | null;
6291
- slug?: string | null;
6598
+ id: string;
6599
+ name: string | null;
6600
+ slug: string | null;
6292
6601
  /**
6293
6602
  * @description Allowed values: Solo, Team, Pro, Business, Enterprise.
6294
6603
  * @enum {string|null}
6295
6604
  */
6296
- plan?: "Solo" | "Team" | "Pro" | "Business" | "Enterprise" | null;
6297
- isActive?: boolean;
6605
+ plan: "Solo" | "Team" | "Pro" | "Business" | "Enterprise" | null;
6606
+ isActive: boolean;
6298
6607
  /** Format: date-time */
6299
- createdAt?: string;
6608
+ createdAt: string;
6300
6609
  };
6301
6610
  /**
6302
6611
  * @description A page of results plus an opaque cursor for the next page, or null when this is the last
@@ -6304,7 +6613,7 @@ export interface components {
6304
6613
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
6305
6614
  */
6306
6615
  OrganizationResponsePagedResult: {
6307
- items?: components["schemas"]["OrganizationResponse"][] | null;
6616
+ items: components["schemas"]["OrganizationResponse"][] | null;
6308
6617
  next_cursor?: string | null;
6309
6618
  /** @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. */
6310
6619
  _actions?: {
@@ -6330,12 +6639,12 @@ export interface components {
6330
6639
  */
6331
6640
  ProjectResponse: {
6332
6641
  /** Format: uuid */
6333
- id?: string;
6334
- key?: string | null;
6335
- name?: string | null;
6642
+ id: string;
6643
+ key: string | null;
6644
+ name: string | null;
6336
6645
  description?: string | null;
6337
6646
  /** Format: date-time */
6338
- createdAt?: string;
6647
+ createdAt: string;
6339
6648
  /** Format: date-time */
6340
6649
  updatedAt?: string | null;
6341
6650
  /** Format: int32 */
@@ -6351,7 +6660,7 @@ export interface components {
6351
6660
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
6352
6661
  */
6353
6662
  ProjectResponsePagedResult: {
6354
- items?: components["schemas"]["ProjectResponse"][] | null;
6663
+ items: components["schemas"]["ProjectResponse"][] | null;
6355
6664
  next_cursor?: string | null;
6356
6665
  /** @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. */
6357
6666
  _actions?: {
@@ -6372,9 +6681,9 @@ export interface components {
6372
6681
  * }
6373
6682
  */
6374
6683
  PublicAddVariationRequest: {
6375
- key?: string | null;
6376
- name?: string | null;
6377
- value?: string | null;
6684
+ key: string | null;
6685
+ name: string | null;
6686
+ value: string | null;
6378
6687
  description?: string | null;
6379
6688
  };
6380
6689
  /**
@@ -6407,9 +6716,9 @@ export interface components {
6407
6716
  * }
6408
6717
  */
6409
6718
  PublicApiErrorEnvelope: {
6410
- error?: string | null;
6411
- message?: string | null;
6412
- docs_url?: string | null;
6719
+ error: string | null;
6720
+ message: string | null;
6721
+ docs_url: string | null;
6413
6722
  fields?: {
6414
6723
  [key: string]: string[];
6415
6724
  } | null;
@@ -6426,8 +6735,8 @@ export interface components {
6426
6735
  * @description Allowed values: And, Or.
6427
6736
  * @enum {string|null}
6428
6737
  */
6429
- operator?: "And" | "Or" | null;
6430
- conditions?: components["schemas"]["PublicConditionRequest"][] | null;
6738
+ operator: "And" | "Or" | null;
6739
+ conditions: components["schemas"]["PublicConditionRequest"][] | null;
6431
6740
  };
6432
6741
  /**
6433
6742
  * @description A condition group within a PublicTargetingRuleResponse. Maps 1:1 onto
@@ -6441,18 +6750,18 @@ export interface components {
6441
6750
  * @description Allowed values: And, Or.
6442
6751
  * @enum {string|null}
6443
6752
  */
6444
- operator?: "And" | "Or" | null;
6445
- conditions?: components["schemas"]["PublicConditionResponse"][] | null;
6753
+ operator: "And" | "Or" | null;
6754
+ conditions: components["schemas"]["PublicConditionResponse"][] | null;
6446
6755
  };
6447
6756
  /** @description Request-side condition, symmetric with PublicConditionResponse. */
6448
6757
  PublicConditionRequest: {
6449
- attribute?: string | null;
6758
+ attribute: string | null;
6450
6759
  /**
6451
6760
  * @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
6452
6761
  * @enum {string|null}
6453
6762
  */
6454
- operator?: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
6455
- values?: string[] | null;
6763
+ operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
6764
+ values: string[] | null;
6456
6765
  negate?: boolean;
6457
6766
  };
6458
6767
  /**
@@ -6461,14 +6770,14 @@ export interface components {
6461
6770
  * `OperatorType` members (e.g. `"Equals"`, `"In"`).
6462
6771
  */
6463
6772
  PublicConditionResponse: {
6464
- attribute?: string | null;
6773
+ attribute: string | null;
6465
6774
  /**
6466
6775
  * @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
6467
6776
  * @enum {string|null}
6468
6777
  */
6469
- operator?: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
6470
- values?: string[] | null;
6471
- negate?: boolean;
6778
+ operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
6779
+ values: string[] | null;
6780
+ negate: boolean;
6472
6781
  };
6473
6782
  /**
6474
6783
  * @description Request body for `POST /api/v1/orgs/{org}/projects/{project}/environments`. Named
@@ -6484,8 +6793,8 @@ export interface components {
6484
6793
  * }
6485
6794
  */
6486
6795
  PublicCreateEnvironmentRequest: {
6487
- key?: string | null;
6488
- name?: string | null;
6796
+ key: string | null;
6797
+ name: string | null;
6489
6798
  color?: string | null;
6490
6799
  /** Format: int32 */
6491
6800
  sortOrder?: number;
@@ -6534,13 +6843,13 @@ export interface components {
6534
6843
  * }
6535
6844
  */
6536
6845
  PublicCreateFeatureFlagRequest: {
6537
- key?: string | null;
6538
- name?: string | null;
6846
+ key: string | null;
6847
+ name: string | null;
6539
6848
  /**
6540
6849
  * @description Allowed values: Boolean, String, Number, Json.
6541
6850
  * @enum {string|null}
6542
6851
  */
6543
- type?: "Boolean" | "String" | "Number" | "Json" | null;
6852
+ type: "Boolean" | "String" | "Number" | "Json" | null;
6544
6853
  description?: string | null;
6545
6854
  tags?: string[] | null;
6546
6855
  initialVariations?: components["schemas"]["PublicCreateVariationDto"][] | null;
@@ -6563,8 +6872,8 @@ export interface components {
6563
6872
  * }
6564
6873
  */
6565
6874
  PublicCreateProjectRequest: {
6566
- key?: string | null;
6567
- name?: string | null;
6875
+ key: string | null;
6876
+ name: string | null;
6568
6877
  description?: string | null;
6569
6878
  };
6570
6879
  /**
@@ -6582,13 +6891,13 @@ export interface components {
6582
6891
  * }
6583
6892
  */
6584
6893
  PublicCreateSdkKeyRequest: {
6585
- name?: string | null;
6894
+ name: string | null;
6586
6895
  description?: string | null;
6587
6896
  /**
6588
6897
  * @description Allowed values: ClientSide, ServerSide.
6589
6898
  * @enum {string|null}
6590
6899
  */
6591
- type?: "ClientSide" | "ServerSide" | null;
6900
+ type: "ClientSide" | "ServerSide" | null;
6592
6901
  };
6593
6902
  /**
6594
6903
  * @description Response body for a successful `POST .../sdk-keys`. The ONLY place the plaintext
@@ -6609,18 +6918,18 @@ export interface components {
6609
6918
  */
6610
6919
  PublicCreateSdkKeyResponse: {
6611
6920
  /** Format: uuid */
6612
- id?: string;
6613
- key?: string | null;
6614
- lastFourCharacters?: string | null;
6921
+ id: string;
6922
+ key: string | null;
6923
+ lastFourCharacters: string | null;
6615
6924
  /**
6616
6925
  * @description Allowed values: ClientSide, ServerSide.
6617
6926
  * @enum {string|null}
6618
6927
  */
6619
- type?: "ClientSide" | "ServerSide" | null;
6620
- name?: string | null;
6928
+ type: "ClientSide" | "ServerSide" | null;
6929
+ name: string | null;
6621
6930
  /** Format: date-time */
6622
- createdAt?: string;
6623
- warning?: string | null;
6931
+ createdAt: string;
6932
+ warning: string | null;
6624
6933
  };
6625
6934
  /**
6626
6935
  * @description Request body for `POST /api/v1/orgs/{org}/projects/{project}/segments`. Named distinctly
@@ -6644,10 +6953,10 @@ export interface components {
6644
6953
  * }
6645
6954
  */
6646
6955
  PublicCreateSegmentRequest: {
6647
- key?: string | null;
6648
- name?: string | null;
6956
+ key: string | null;
6957
+ name: string | null;
6649
6958
  description?: string | null;
6650
- conditions?: components["schemas"]["PublicSegmentConditionDto"][] | null;
6959
+ conditions: components["schemas"]["PublicSegmentConditionDto"][] | null;
6651
6960
  };
6652
6961
  /**
6653
6962
  * @description Request body for `POST .../rules`. The Application-side
@@ -6687,16 +6996,16 @@ export interface components {
6687
6996
  rolloutPercentage?: number | null;
6688
6997
  /** Format: uuid */
6689
6998
  userSegmentId?: string | null;
6690
- conditionGroups?: components["schemas"]["PublicConditionGroupRequest"][] | null;
6999
+ conditionGroups: components["schemas"]["PublicConditionGroupRequest"][] | null;
6691
7000
  };
6692
7001
  /**
6693
7002
  * @description A variation supplied at flag-creation time. Maps 1:1 onto
6694
7003
  * CreateVariationDto.
6695
7004
  */
6696
7005
  PublicCreateVariationDto: {
6697
- key?: string | null;
6698
- name?: string | null;
6699
- value?: string | null;
7006
+ key: string | null;
7007
+ name: string | null;
7008
+ value: string | null;
6700
7009
  description?: string | null;
6701
7010
  };
6702
7011
  /**
@@ -6721,13 +7030,13 @@ export interface components {
6721
7030
  * }
6722
7031
  */
6723
7032
  PublicCreateWebhookSubscriptionRequest: {
6724
- name?: string | null;
6725
- url?: string | null;
7033
+ name: string | null;
7034
+ url: string | null;
6726
7035
  /**
6727
7036
  * @description Allowed values: GenericHttp.
6728
7037
  * @enum {string|null}
6729
7038
  */
6730
- provider?: "GenericHttp" | null;
7039
+ provider: "GenericHttp" | null;
6731
7040
  eventTypes?: string[] | null;
6732
7041
  projectIds?: string[] | null;
6733
7042
  environmentIds?: string[] | null;
@@ -6742,9 +7051,9 @@ export interface components {
6742
7051
  */
6743
7052
  PublicCreateWebhookSubscriptionResponse: {
6744
7053
  /** Format: uuid */
6745
- id?: string;
6746
- secret?: string | null;
6747
- warning?: string | null;
7054
+ id: string;
7055
+ secret: string | null;
7056
+ warning: string | null;
6748
7057
  };
6749
7058
  /**
6750
7059
  * @description Response of `GET .../default-flag-lifetime/impact`: how many temporary flags with no expiry
@@ -6752,9 +7061,9 @@ export interface components {
6752
7061
  */
6753
7062
  PublicDefaultFlagLifetimeImpact: {
6754
7063
  /** Format: int32 */
6755
- newlyPastExpiry?: number;
7064
+ newlyPastExpiry: number;
6756
7065
  /** Format: int32 */
6757
- noLongerPastExpiry?: number;
7066
+ noLongerPastExpiry: number;
6758
7067
  };
6759
7068
  /**
6760
7069
  * @description Public representation of an environment, returned by
@@ -6776,12 +7085,12 @@ export interface components {
6776
7085
  */
6777
7086
  PublicEnvironmentResponse: {
6778
7087
  /** Format: uuid */
6779
- id?: string;
6780
- key?: string | null;
6781
- name?: string | null;
7088
+ id: string;
7089
+ key: string | null;
7090
+ name: string | null;
6782
7091
  color?: string | null;
6783
7092
  /** Format: int32 */
6784
- sortOrder?: number;
7093
+ sortOrder: number;
6785
7094
  /** @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. */
6786
7095
  _actions?: {
6787
7096
  [key: string]: components["schemas"]["ActionCapability"];
@@ -6793,7 +7102,7 @@ export interface components {
6793
7102
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
6794
7103
  */
6795
7104
  PublicEnvironmentResponsePagedResult: {
6796
- items?: components["schemas"]["PublicEnvironmentResponse"][] | null;
7105
+ items: components["schemas"]["PublicEnvironmentResponse"][] | null;
6797
7106
  next_cursor?: string | null;
6798
7107
  /** @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. */
6799
7108
  _actions?: {
@@ -6825,17 +7134,17 @@ export interface components {
6825
7134
  */
6826
7135
  PublicFlagEnvConfigResponse: {
6827
7136
  /** Format: uuid */
6828
- environmentId?: string;
6829
- environmentKey?: string | null;
6830
- isEnabled?: boolean;
7137
+ environmentId: string;
7138
+ environmentKey: string | null;
7139
+ isEnabled: boolean;
6831
7140
  /** Format: uuid */
6832
- defaultVariationId?: string;
7141
+ defaultVariationId: string;
6833
7142
  /**
6834
7143
  * @description Allowed values: SingleVariation, PercentageRollout, TargetedRollout.
6835
7144
  * @enum {string|null}
6836
7145
  */
6837
- strategy?: "SingleVariation" | "PercentageRollout" | "TargetedRollout" | null;
6838
- prerequisites?: components["schemas"]["PublicPrerequisiteDto"][] | null;
7146
+ strategy: "SingleVariation" | "PercentageRollout" | "TargetedRollout" | null;
7147
+ prerequisites: components["schemas"]["PublicPrerequisiteDto"][] | null;
6839
7148
  /** @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. */
6840
7149
  _actions?: {
6841
7150
  [key: string]: components["schemas"]["ActionCapability"];
@@ -6853,26 +7162,26 @@ export interface components {
6853
7162
  */
6854
7163
  PublicFlagListItem: {
6855
7164
  /** Format: uuid */
6856
- id?: string;
6857
- key?: string | null;
6858
- name?: string | null;
7165
+ id: string;
7166
+ key: string | null;
7167
+ name: string | null;
6859
7168
  /**
6860
7169
  * @description Allowed values: Boolean, String, Number, Json.
6861
7170
  * @enum {string|null}
6862
7171
  */
6863
- type?: "Boolean" | "String" | "Number" | "Json" | null;
6864
- isArchived?: boolean;
6865
- clientSideVisible?: boolean;
6866
- tags?: string[] | null;
7172
+ type: "Boolean" | "String" | "Number" | "Json" | null;
7173
+ isArchived: boolean;
7174
+ clientSideVisible: boolean;
7175
+ tags: string[] | null;
6867
7176
  /** Format: date-time */
6868
- createdAt?: string;
7177
+ createdAt: string;
6869
7178
  /** Format: date-time */
6870
- updatedAt?: string;
7179
+ updatedAt: string;
6871
7180
  /** Format: date-time */
6872
7181
  expiresAtUtc?: string | null;
6873
7182
  owner?: components["schemas"]["PublicFlagOwner"];
6874
7183
  removalPrUrl?: string | null;
6875
- isPermanent?: boolean;
7184
+ isPermanent: boolean;
6876
7185
  /** Format: date-time */
6877
7186
  effectiveExpiresAtUtc?: string | null;
6878
7187
  expirySource?: string | null;
@@ -6895,14 +7204,15 @@ export interface components {
6895
7204
  * "q3-launch"
6896
7205
  * ],
6897
7206
  * "createdAt": "2026-06-01T12:00:00Z",
6898
- * "updatedAt": "2026-06-15T08:30:00Z"
7207
+ * "updatedAt": "2026-06-15T08:30:00Z",
7208
+ * "isPermanent": false
6899
7209
  * }
6900
7210
  * ],
6901
7211
  * "next_cursor": "MjA"
6902
7212
  * }
6903
7213
  */
6904
7214
  PublicFlagListItemPagedResult: {
6905
- items?: components["schemas"]["PublicFlagListItem"][] | null;
7215
+ items: components["schemas"]["PublicFlagListItem"][] | null;
6906
7216
  next_cursor?: string | null;
6907
7217
  /** @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. */
6908
7218
  _actions?: {
@@ -6912,9 +7222,9 @@ export interface components {
6912
7222
  /** @description A flag's owner as returned on flag reads. Null means the flag is unowned. */
6913
7223
  PublicFlagOwner: {
6914
7224
  /** Format: uuid */
6915
- id?: string;
6916
- email?: string | null;
6917
- name?: string | null;
7225
+ id: string;
7226
+ email: string | null;
7227
+ name: string | null;
6918
7228
  };
6919
7229
  /**
6920
7230
  * @description One dead flag the Featureflip Flag Cleanup Action should remove, returned by
@@ -6928,11 +7238,11 @@ export interface components {
6928
7238
  * (`FLAG_HAS_DEPENDENTS`), so a caller should remove those dependents first.
6929
7239
  */
6930
7240
  PublicFlagRemovalCandidate: {
6931
- key?: string | null;
6932
- reason?: string | null;
6933
- treatment?: boolean;
6934
- status?: string | null;
6935
- blockedBy?: string[] | null;
7241
+ key: string | null;
7242
+ reason: string | null;
7243
+ treatment: boolean;
7244
+ status: string | null;
7245
+ blockedBy: string[] | null;
6936
7246
  };
6937
7247
  /**
6938
7248
  * @description A page of results plus an opaque cursor for the next page, or null when this is the last
@@ -6940,7 +7250,7 @@ export interface components {
6940
7250
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
6941
7251
  */
6942
7252
  PublicFlagRemovalCandidatePagedResult: {
6943
- items?: components["schemas"]["PublicFlagRemovalCandidate"][] | null;
7253
+ items: components["schemas"]["PublicFlagRemovalCandidate"][] | null;
6944
7254
  next_cursor?: string | null;
6945
7255
  };
6946
7256
  /**
@@ -6980,33 +7290,34 @@ export interface components {
6980
7290
  * }
6981
7291
  * ],
6982
7292
  * "createdAt": "2026-06-01T12:00:00Z",
6983
- * "updatedAt": "2026-06-15T08:30:00Z"
7293
+ * "updatedAt": "2026-06-15T08:30:00Z",
7294
+ * "isPermanent": false
6984
7295
  * }
6985
7296
  */
6986
7297
  PublicFlagResponse: {
6987
7298
  /** Format: uuid */
6988
- id?: string;
6989
- key?: string | null;
6990
- name?: string | null;
7299
+ id: string;
7300
+ key: string | null;
7301
+ name: string | null;
6991
7302
  description?: string | null;
6992
7303
  /**
6993
7304
  * @description Allowed values: Boolean, String, Number, Json.
6994
7305
  * @enum {string|null}
6995
7306
  */
6996
- type?: "Boolean" | "String" | "Number" | "Json" | null;
6997
- isArchived?: boolean;
6998
- clientSideVisible?: boolean;
6999
- tags?: string[] | null;
7000
- variations?: components["schemas"]["PublicVariationResponse"][] | null;
7307
+ type: "Boolean" | "String" | "Number" | "Json" | null;
7308
+ isArchived: boolean;
7309
+ clientSideVisible: boolean;
7310
+ tags: string[] | null;
7311
+ variations: components["schemas"]["PublicVariationResponse"][] | null;
7001
7312
  /** Format: date-time */
7002
- createdAt?: string;
7313
+ createdAt: string;
7003
7314
  /** Format: date-time */
7004
- updatedAt?: string;
7315
+ updatedAt: string;
7005
7316
  /** Format: date-time */
7006
7317
  expiresAtUtc?: string | null;
7007
7318
  owner?: components["schemas"]["PublicFlagOwner"];
7008
7319
  removalPrUrl?: string | null;
7009
- isPermanent?: boolean;
7320
+ isPermanent: boolean;
7010
7321
  /** Format: date-time */
7011
7322
  effectiveExpiresAtUtc?: string | null;
7012
7323
  expirySource?: string | null;
@@ -7020,8 +7331,8 @@ export interface components {
7020
7331
  * PrerequisiteDto (read side) and PrerequisiteInput (write side).
7021
7332
  */
7022
7333
  PublicPrerequisiteDto: {
7023
- prerequisiteFlagKey?: string | null;
7024
- expectedVariationKey?: string | null;
7334
+ prerequisiteFlagKey: string | null;
7335
+ expectedVariationKey: string | null;
7025
7336
  };
7026
7337
  /**
7027
7338
  * @description Request body for `PUT .../targeting` — a declarative full replace of the environment's
@@ -7045,14 +7356,14 @@ export interface components {
7045
7356
  * carrying the handler's message.
7046
7357
  */
7047
7358
  PublicReorderRulesRequest: {
7048
- ruleIds?: string[] | null;
7359
+ ruleIds: string[] | null;
7049
7360
  };
7050
7361
  /** @description A newly added signing secret. The secret is shown only here. */
7051
7362
  PublicRotateWebhookSecretResponse: {
7052
7363
  /** Format: uuid */
7053
- secretId?: string;
7054
- secret?: string | null;
7055
- warning?: string | null;
7364
+ secretId: string;
7365
+ secret: string | null;
7366
+ warning: string | null;
7056
7367
  };
7057
7368
  /**
7058
7369
  * @description Public representation of an SDK key, returned by
@@ -7075,18 +7386,18 @@ export interface components {
7075
7386
  */
7076
7387
  PublicSdkKeyResponse: {
7077
7388
  /** Format: uuid */
7078
- id?: string;
7079
- name?: string | null;
7389
+ id: string;
7390
+ name: string | null;
7080
7391
  description?: string | null;
7081
7392
  /**
7082
7393
  * @description Allowed values: ClientSide, ServerSide.
7083
7394
  * @enum {string|null}
7084
7395
  */
7085
- type?: "ClientSide" | "ServerSide" | null;
7086
- lastFourCharacters?: string | null;
7087
- isActive?: boolean;
7396
+ type: "ClientSide" | "ServerSide" | null;
7397
+ lastFourCharacters: string | null;
7398
+ isActive: boolean;
7088
7399
  /** Format: date-time */
7089
- createdAt?: string;
7400
+ createdAt: string;
7090
7401
  /** Format: date-time */
7091
7402
  lastUsedAt?: string | null;
7092
7403
  /** Format: date-time */
@@ -7102,7 +7413,7 @@ export interface components {
7102
7413
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
7103
7414
  */
7104
7415
  PublicSdkKeyResponsePagedResult: {
7105
- items?: components["schemas"]["PublicSdkKeyResponse"][] | null;
7416
+ items: components["schemas"]["PublicSdkKeyResponse"][] | null;
7106
7417
  next_cursor?: string | null;
7107
7418
  /** @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
7419
  _actions?: {
@@ -7118,13 +7429,13 @@ export interface components {
7118
7429
  * straight through from Operator, which is already a string.
7119
7430
  */
7120
7431
  PublicSegmentConditionDto: {
7121
- attribute?: string | null;
7432
+ attribute: string | null;
7122
7433
  /**
7123
7434
  * @description Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.
7124
7435
  * @enum {string|null}
7125
7436
  */
7126
- operator?: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
7127
- values?: string[] | null;
7437
+ operator: "Equals" | "NotEquals" | "Contains" | "NotContains" | "GreaterThan" | "LessThan" | "GreaterThanOrEqual" | "LessThanOrEqual" | "In" | "NotIn" | "MatchesRegex" | "StartsWith" | "EndsWith" | "Before" | "After" | "SemverEquals" | "SemverGreaterThan" | "SemverGreaterThanOrEqual" | "SemverLessThan" | "SemverLessThanOrEqual" | null;
7438
+ values: string[] | null;
7128
7439
  negate?: boolean;
7129
7440
  };
7130
7441
  /**
@@ -7151,15 +7462,15 @@ export interface components {
7151
7462
  */
7152
7463
  PublicSegmentResponse: {
7153
7464
  /** Format: uuid */
7154
- id?: string;
7155
- key?: string | null;
7156
- name?: string | null;
7465
+ id: string;
7466
+ key: string | null;
7467
+ name: string | null;
7157
7468
  description?: string | null;
7158
- conditions?: components["schemas"]["PublicSegmentConditionDto"][] | null;
7469
+ conditions: components["schemas"]["PublicSegmentConditionDto"][] | null;
7159
7470
  /** Format: date-time */
7160
- createdAt?: string;
7471
+ createdAt: string;
7161
7472
  /** Format: date-time */
7162
- updatedAt?: string;
7473
+ updatedAt: string;
7163
7474
  /** @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. */
7164
7475
  _actions?: {
7165
7476
  [key: string]: components["schemas"]["ActionCapability"];
@@ -7171,7 +7482,7 @@ export interface components {
7171
7482
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
7172
7483
  */
7173
7484
  PublicSegmentResponsePagedResult: {
7174
- items?: components["schemas"]["PublicSegmentResponse"][] | null;
7485
+ items: components["schemas"]["PublicSegmentResponse"][] | null;
7175
7486
  next_cursor?: string | null;
7176
7487
  /** @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. */
7177
7488
  _actions?: {
@@ -7180,11 +7491,13 @@ export interface components {
7180
7491
  };
7181
7492
  /**
7182
7493
  * @description Request body for `PUT /api/v1/orgs/{org}/projects/{project}/default-flag-lifetime`. `days`
7183
- * is 1–3650; null (or an empty body) removes the default.
7494
+ * is 1–3650, or an explicit null to remove the default. `days` is required: a body without it
7495
+ * (`{}`, or a misspelled field) is a `validation_failed` 400, never a removal, so a typo
7496
+ * can't silently wipe the setting (#3788). A request with no body is rejected too.
7184
7497
  */
7185
7498
  PublicSetDefaultFlagLifetimeRequest: {
7186
7499
  /** Format: int32 */
7187
- days?: number | null;
7500
+ days: number | null;
7188
7501
  };
7189
7502
  /**
7190
7503
  * @description Request body for `PUT /api/v1/orgs/{org}/projects/{project}/flags/{flag}/expiry`. Expiry is a
@@ -7223,8 +7536,8 @@ export interface components {
7223
7536
  * all), not anything specific to targeting itself.
7224
7537
  */
7225
7538
  PublicTargetingConfigResponse: {
7226
- isEnabled?: boolean;
7227
- rules?: components["schemas"]["PublicTargetingRuleResponse"][] | null;
7539
+ isEnabled: boolean;
7540
+ rules: components["schemas"]["PublicTargetingRuleResponse"][] | null;
7228
7541
  /** @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. */
7229
7542
  _actions?: {
7230
7543
  [key: string]: components["schemas"]["ActionCapability"];
@@ -7262,17 +7575,17 @@ export interface components {
7262
7575
  */
7263
7576
  PublicTargetingRuleResponse: {
7264
7577
  /** Format: uuid */
7265
- id?: string;
7578
+ id: string;
7266
7579
  /** Format: int32 */
7267
- priority?: number;
7580
+ priority: number;
7268
7581
  description?: string | null;
7269
7582
  /** Format: uuid */
7270
- variationId?: string;
7583
+ variationId: string;
7271
7584
  /** Format: int32 */
7272
7585
  rolloutPercentage?: number | null;
7273
7586
  /** Format: uuid */
7274
7587
  userSegmentId?: string | null;
7275
- conditionGroups?: components["schemas"]["PublicConditionGroupResponse"][] | null;
7588
+ conditionGroups: components["schemas"]["PublicConditionGroupResponse"][] | null;
7276
7589
  /** @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. */
7277
7590
  _actions?: {
7278
7591
  [key: string]: components["schemas"]["ActionCapability"];
@@ -7281,9 +7594,9 @@ export interface components {
7281
7594
  /** @description The queued test event and its delivery. Poll the delivery log for the outcome. */
7282
7595
  PublicTestWebhookSubscriptionResponse: {
7283
7596
  /** Format: uuid */
7284
- webhookEventId?: string;
7597
+ webhookEventId: string;
7285
7598
  /** Format: uuid */
7286
- webhookDeliveryId?: string;
7599
+ webhookDeliveryId: string;
7287
7600
  };
7288
7601
  /**
7289
7602
  * @description Request body for `POST .../flags/{flag}/environments/{env}/toggle`. Named distinctly from
@@ -7304,7 +7617,7 @@ export interface components {
7304
7617
  * dashboard's `UpdateEnvironmentRequest`.
7305
7618
  */
7306
7619
  PublicUpdateEnvironmentRequest: {
7307
- name?: string | null;
7620
+ name: string | null;
7308
7621
  color?: string | null;
7309
7622
  /** Format: int32 */
7310
7623
  sortOrder?: number;
@@ -7316,7 +7629,7 @@ export interface components {
7316
7629
  * endpoint (mirrors `UpdateFeatureFlagCommand`, which has no `Key`/`Type`).
7317
7630
  */
7318
7631
  PublicUpdateFeatureFlagRequest: {
7319
- name?: string | null;
7632
+ name: string | null;
7320
7633
  description?: string | null;
7321
7634
  tags?: string[] | null;
7322
7635
  clientSideVisible?: boolean | null;
@@ -7359,7 +7672,7 @@ export interface components {
7359
7672
  * dashboard's `UpdateProjectRequest`.
7360
7673
  */
7361
7674
  PublicUpdateProjectRequest: {
7362
- name?: string | null;
7675
+ name: string | null;
7363
7676
  description?: string | null;
7364
7677
  };
7365
7678
  /**
@@ -7369,7 +7682,7 @@ export interface components {
7369
7682
  * carries no `Type`).
7370
7683
  */
7371
7684
  PublicUpdateSdkKeyRequest: {
7372
- name?: string | null;
7685
+ name: string | null;
7373
7686
  description?: string | null;
7374
7687
  };
7375
7688
  /**
@@ -7378,9 +7691,9 @@ export interface components {
7378
7691
  * carries no `Key`).
7379
7692
  */
7380
7693
  PublicUpdateSegmentRequest: {
7381
- name?: string | null;
7694
+ name: string | null;
7382
7695
  description?: string | null;
7383
- conditions?: components["schemas"]["PublicSegmentConditionDto"][] | null;
7696
+ conditions: components["schemas"]["PublicSegmentConditionDto"][] | null;
7384
7697
  };
7385
7698
  /**
7386
7699
  * @description Request body for `PUT .../rules/{ruleId}`. Same shape as
@@ -7395,7 +7708,7 @@ export interface components {
7395
7708
  rolloutPercentage?: number | null;
7396
7709
  /** Format: uuid */
7397
7710
  userSegmentId?: string | null;
7398
- conditionGroups?: components["schemas"]["PublicConditionGroupRequest"][] | null;
7711
+ conditionGroups: components["schemas"]["PublicConditionGroupRequest"][] | null;
7399
7712
  };
7400
7713
  /**
7401
7714
  * @description Request body for
@@ -7405,8 +7718,8 @@ export interface components {
7405
7718
  * carries no `Key`).
7406
7719
  */
7407
7720
  PublicUpdateVariationRequest: {
7408
- name?: string | null;
7409
- value?: string | null;
7721
+ name: string | null;
7722
+ value: string | null;
7410
7723
  description?: string | null;
7411
7724
  };
7412
7725
  /**
@@ -7414,8 +7727,8 @@ export interface components {
7414
7727
  * "all"). `isEnabled` is required. The provider cannot be changed.
7415
7728
  */
7416
7729
  PublicUpdateWebhookSubscriptionRequest: {
7417
- name?: string | null;
7418
- url?: string | null;
7730
+ name: string | null;
7731
+ url: string | null;
7419
7732
  eventTypes?: string[] | null;
7420
7733
  projectIds?: string[] | null;
7421
7734
  environmentIds?: string[] | null;
@@ -7433,10 +7746,10 @@ export interface components {
7433
7746
  */
7434
7747
  PublicVariationResponse: {
7435
7748
  /** Format: uuid */
7436
- id?: string;
7437
- key?: string | null;
7438
- name?: string | null;
7439
- value?: string | null;
7749
+ id: string;
7750
+ key: string | null;
7751
+ name: string | null;
7752
+ value: string | null;
7440
7753
  description?: string | null;
7441
7754
  /** @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. */
7442
7755
  _actions?: {
@@ -7449,25 +7762,25 @@ export interface components {
7449
7762
  */
7450
7763
  PublicWebhookDeliveryResponse: {
7451
7764
  /** Format: uuid */
7452
- id?: string;
7765
+ id: string;
7453
7766
  /** Format: uuid */
7454
- webhookEventId?: string;
7767
+ webhookEventId: string;
7455
7768
  /**
7456
7769
  * @description Allowed values: Pending, Succeeded, DeadLettered.
7457
7770
  * @enum {string|null}
7458
7771
  */
7459
- status?: "Pending" | "Succeeded" | "DeadLettered" | null;
7772
+ status: "Pending" | "Succeeded" | "DeadLettered" | null;
7460
7773
  /** Format: int32 */
7461
- attemptCount?: number;
7774
+ attemptCount: number;
7462
7775
  /** Format: date-time */
7463
- nextAttemptAt?: string;
7776
+ nextAttemptAt: string;
7464
7777
  /** Format: int32 */
7465
7778
  lastResponseStatusCode?: number | null;
7466
7779
  lastError?: string | null;
7467
7780
  /** Format: date-time */
7468
7781
  completedAt?: string | null;
7469
7782
  /** Format: date-time */
7470
- createdAt?: string;
7783
+ createdAt: string;
7471
7784
  };
7472
7785
  /**
7473
7786
  * @description A page of results plus an opaque cursor for the next page, or null when this is the last
@@ -7475,15 +7788,15 @@ export interface components {
7475
7788
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
7476
7789
  */
7477
7790
  PublicWebhookDeliveryResponsePagedResult: {
7478
- items?: components["schemas"]["PublicWebhookDeliveryResponse"][] | null;
7791
+ items: components["schemas"]["PublicWebhookDeliveryResponse"][] | null;
7479
7792
  next_cursor?: string | null;
7480
7793
  };
7481
7794
  /** @description A signing secret's id and lifecycle. A secret with no `retiredAt` is active and signs every delivery. */
7482
7795
  PublicWebhookSecretResponse: {
7483
7796
  /** Format: uuid */
7484
- id?: string;
7797
+ id: string;
7485
7798
  /** Format: date-time */
7486
- createdAt?: string;
7799
+ createdAt: string;
7487
7800
  /** Format: date-time */
7488
7801
  retiredAt?: string | null;
7489
7802
  };
@@ -7511,6 +7824,7 @@ export interface components {
7511
7824
  * "0197b69f-2b3c-7d4e-9f5a-6b7c8d9e0f1a"
7512
7825
  * ],
7513
7826
  * "consecutiveFailureCount": 0,
7827
+ * "overPlanLimit": false,
7514
7828
  * "createdAt": "2026-06-01T12:00:00Z",
7515
7829
  * "updatedAt": "2026-06-15T08:30:00Z",
7516
7830
  * "secrets": [
@@ -7523,28 +7837,28 @@ export interface components {
7523
7837
  */
7524
7838
  PublicWebhookSubscriptionResponse: {
7525
7839
  /** Format: uuid */
7526
- id?: string;
7527
- name?: string | null;
7528
- url?: string | null;
7840
+ id: string;
7841
+ name: string | null;
7842
+ url: string | null;
7529
7843
  /**
7530
7844
  * @description Allowed values: GenericHttp.
7531
7845
  * @enum {string|null}
7532
7846
  */
7533
- provider?: "GenericHttp" | null;
7534
- isEnabled?: boolean;
7535
- eventTypes?: string[] | null;
7536
- projectIds?: string[] | null;
7537
- environmentIds?: string[] | null;
7847
+ provider: "GenericHttp" | null;
7848
+ isEnabled: boolean;
7849
+ eventTypes: string[] | null;
7850
+ projectIds: string[] | null;
7851
+ environmentIds: string[] | null;
7538
7852
  /** Format: int32 */
7539
- consecutiveFailureCount?: number;
7853
+ consecutiveFailureCount: number;
7540
7854
  /** Format: date-time */
7541
7855
  autoDisabledAt?: string | null;
7542
7856
  /** Format: date-time */
7543
- createdAt?: string;
7857
+ createdAt: string;
7544
7858
  /** Format: date-time */
7545
- updatedAt?: string;
7546
- secrets?: components["schemas"]["PublicWebhookSecretResponse"][] | null;
7547
- overPlanLimit?: boolean;
7859
+ updatedAt: string;
7860
+ secrets: components["schemas"]["PublicWebhookSecretResponse"][] | null;
7861
+ overPlanLimit: boolean;
7548
7862
  /** @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. */
7549
7863
  _actions?: {
7550
7864
  [key: string]: components["schemas"]["ActionCapability"];
@@ -7556,7 +7870,7 @@ export interface components {
7556
7870
  * `next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`).
7557
7871
  */
7558
7872
  PublicWebhookSubscriptionResponsePagedResult: {
7559
- items?: components["schemas"]["PublicWebhookSubscriptionResponse"][] | null;
7873
+ items: components["schemas"]["PublicWebhookSubscriptionResponse"][] | null;
7560
7874
  next_cursor?: string | null;
7561
7875
  /** @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. */
7562
7876
  _actions?: {