@@ -580,6 +580,24 @@ export interface Query {
580
580
* traffic will not go to the waiting room.
581
581
*/
582
582
suspended ?: boolean ;
583
+
584
+ /**
585
+ * Which action to take when a bot is detected using Turnstile. `log` will have no
586
+ * impact on queueing behavior, simply keeping track of how many bots are detected
587
+ * in Waiting Room Analytics. `infinite_queue` will send bots to a false queueing
588
+ * state, where they will never reach your origin. `infinite_queue` requires
589
+ * Advanced Waiting Room.
590
+ */
591
+ turnstile_action ?: 'log' | 'infinite_queue' ;
592
+
593
+ /**
594
+ * Which Turnstile widget type to use for detecting bot traffic. See
595
+ * [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)
596
+ * for the definitions of these widget types. Set to `off` to disable the Turnstile
597
+ * integration entirely. Setting this to anything other than `off` or `invisible`
598
+ * requires Advanced Waiting Room.
599
+ */
600
+ turnstile_mode ?: 'off' | 'invisible' | 'visible_non_interactive' | 'visible_managed' ;
583
601
}
584
602
585
603
export interface WaitingRoom {
@@ -951,6 +969,24 @@ export interface WaitingRoom {
951
969
* around the world.
952
970
*/
953
971
total_active_users ?: number ;
972
+
973
+ /**
974
+ * Which action to take when a bot is detected using Turnstile. `log` will have no
975
+ * impact on queueing behavior, simply keeping track of how many bots are detected
976
+ * in Waiting Room Analytics. `infinite_queue` will send bots to a false queueing
977
+ * state, where they will never reach your origin. `infinite_queue` requires
978
+ * Advanced Waiting Room.
979
+ */
980
+ turnstile_action ?: 'log' | 'infinite_queue' ;
981
+
982
+ /**
983
+ * Which Turnstile widget type to use for detecting bot traffic. See
984
+ * [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)
985
+ * for the definitions of these widget types. Set to `off` to disable the Turnstile
986
+ * integration entirely. Setting this to anything other than `off` or `invisible`
987
+ * requires Advanced Waiting Room.
988
+ */
989
+ turnstile_mode ?: 'off' | 'invisible' | 'visible_non_interactive' | 'visible_managed' ;
954
990
}
955
991
956
992
export interface WaitingRoomDeleteResponse {
@@ -1318,6 +1354,24 @@ export interface WaitingRoomCreateParams {
1318
1354
* `true`, the traffic will not go to the waiting room.
1319
1355
*/
1320
1356
suspended ?: boolean ;
1357
+
1358
+ /**
1359
+ * Body param: Which action to take when a bot is detected using Turnstile. `log`
1360
+ * will have no impact on queueing behavior, simply keeping track of how many bots
1361
+ * are detected in Waiting Room Analytics. `infinite_queue` will send bots to a
1362
+ * false queueing state, where they will never reach your origin. `infinite_queue`
1363
+ * requires Advanced Waiting Room.
1364
+ */
1365
+ turnstile_action ?: 'log' | 'infinite_queue' ;
1366
+
1367
+ /**
1368
+ * Body param: Which Turnstile widget type to use for detecting bot traffic. See
1369
+ * [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)
1370
+ * for the definitions of these widget types. Set to `off` to disable the Turnstile
1371
+ * integration entirely. Setting this to anything other than `off` or `invisible`
1372
+ * requires Advanced Waiting Room.
1373
+ */
1374
+ turnstile_mode ?: 'off' | 'invisible' | 'visible_non_interactive' | 'visible_managed' ;
1321
1375
}
1322
1376
1323
1377
export interface WaitingRoomUpdateParams {
@@ -1681,6 +1735,24 @@ export interface WaitingRoomUpdateParams {
1681
1735
* `true`, the traffic will not go to the waiting room.
1682
1736
*/
1683
1737
suspended ?: boolean ;
1738
+
1739
+ /**
1740
+ * Body param: Which action to take when a bot is detected using Turnstile. `log`
1741
+ * will have no impact on queueing behavior, simply keeping track of how many bots
1742
+ * are detected in Waiting Room Analytics. `infinite_queue` will send bots to a
1743
+ * false queueing state, where they will never reach your origin. `infinite_queue`
1744
+ * requires Advanced Waiting Room.
1745
+ */
1746
+ turnstile_action ?: 'log' | 'infinite_queue' ;
1747
+
1748
+ /**
1749
+ * Body param: Which Turnstile widget type to use for detecting bot traffic. See
1750
+ * [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)
1751
+ * for the definitions of these widget types. Set to `off` to disable the Turnstile
1752
+ * integration entirely. Setting this to anything other than `off` or `invisible`
1753
+ * requires Advanced Waiting Room.
1754
+ */
1755
+ turnstile_mode ?: 'off' | 'invisible' | 'visible_non_interactive' | 'visible_managed' ;
1684
1756
}
1685
1757
1686
1758
export interface WaitingRoomListParams extends V4PagePaginationArrayParams {
@@ -2058,6 +2130,24 @@ export interface WaitingRoomEditParams {
2058
2130
* `true`, the traffic will not go to the waiting room.
2059
2131
*/
2060
2132
suspended ?: boolean ;
2133
+
2134
+ /**
2135
+ * Body param: Which action to take when a bot is detected using Turnstile. `log`
2136
+ * will have no impact on queueing behavior, simply keeping track of how many bots
2137
+ * are detected in Waiting Room Analytics. `infinite_queue` will send bots to a
2138
+ * false queueing state, where they will never reach your origin. `infinite_queue`
2139
+ * requires Advanced Waiting Room.
2140
+ */
2141
+ turnstile_action ?: 'log' | 'infinite_queue' ;
2142
+
2143
+ /**
2144
+ * Body param: Which Turnstile widget type to use for detecting bot traffic. See
2145
+ * [the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)
2146
+ * for the definitions of these widget types. Set to `off` to disable the Turnstile
2147
+ * integration entirely. Setting this to anything other than `off` or `invisible`
2148
+ * requires Advanced Waiting Room.
2149
+ */
2150
+ turnstile_mode ?: 'off' | 'invisible' | 'visible_non_interactive' | 'visible_managed' ;
2061
2151
}
2062
2152
2063
2153
export interface WaitingRoomGetParams {
0 commit comments