@featureflip/mcp 0.1.13 → 0.2.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"];
@@ -7180,7 +7489,9 @@ export interface components {
7180
7489
  };
7181
7490
  /**
7182
7491
  * @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.
7492
+ * is 1–3650, or an explicit null to remove the default. `days` is required: a body without it
7493
+ * (`{}`, or a misspelled field) is a `validation_failed` 400, never a removal, so a typo
7494
+ * can't silently wipe the setting (#3788). A request with no body is rejected too.
7184
7495
  */
7185
7496
  PublicSetDefaultFlagLifetimeRequest: {
7186
7497
  /** Format: int32 */