@distilled.cloud/cloudflare 0.16.2 → 0.16.4

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.
Files changed (263) hide show
  1. package/lib/client/api.d.ts.map +1 -1
  2. package/lib/client/api.js +26 -8
  3. package/lib/client/api.js.map +1 -1
  4. package/lib/retry.d.ts +23 -4
  5. package/lib/retry.d.ts.map +1 -1
  6. package/lib/retry.js +26 -7
  7. package/lib/retry.js.map +1 -1
  8. package/lib/services/abuse-reports.d.ts +4 -0
  9. package/lib/services/abuse-reports.d.ts.map +1 -1
  10. package/lib/services/abuse-reports.js +4 -0
  11. package/lib/services/abuse-reports.js.map +1 -1
  12. package/lib/services/accounts.d.ts +7 -0
  13. package/lib/services/accounts.d.ts.map +1 -1
  14. package/lib/services/accounts.js +7 -0
  15. package/lib/services/accounts.js.map +1 -1
  16. package/lib/services/ai-gateway.d.ts +24 -14
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +32 -44
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai.d.ts +2 -0
  21. package/lib/services/ai.d.ts.map +1 -1
  22. package/lib/services/ai.js +27 -25
  23. package/lib/services/ai.js.map +1 -1
  24. package/lib/services/aisearch.d.ts +8 -0
  25. package/lib/services/aisearch.d.ts.map +1 -1
  26. package/lib/services/aisearch.js +8 -0
  27. package/lib/services/aisearch.js.map +1 -1
  28. package/lib/services/alerting.d.ts +2 -0
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +2 -0
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts +10 -0
  33. package/lib/services/api-gateway.d.ts.map +1 -1
  34. package/lib/services/api-gateway.js +94 -84
  35. package/lib/services/api-gateway.js.map +1 -1
  36. package/lib/services/audit-logs.d.ts +2 -0
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +2 -0
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/client-certificates.d.ts +2 -0
  41. package/lib/services/client-certificates.d.ts.map +1 -1
  42. package/lib/services/client-certificates.js +2 -0
  43. package/lib/services/client-certificates.js.map +1 -1
  44. package/lib/services/connectivity.d.ts +2 -0
  45. package/lib/services/connectivity.d.ts.map +1 -1
  46. package/lib/services/connectivity.js +14 -12
  47. package/lib/services/connectivity.js.map +1 -1
  48. package/lib/services/custom-certificates.d.ts +2 -0
  49. package/lib/services/custom-certificates.d.ts.map +1 -1
  50. package/lib/services/custom-certificates.js +2 -0
  51. package/lib/services/custom-certificates.js.map +1 -1
  52. package/lib/services/custom-hostnames.d.ts +2 -0
  53. package/lib/services/custom-hostnames.d.ts.map +1 -1
  54. package/lib/services/custom-hostnames.js +2 -0
  55. package/lib/services/custom-hostnames.js.map +1 -1
  56. package/lib/services/d1.d.ts +2 -0
  57. package/lib/services/d1.d.ts.map +1 -1
  58. package/lib/services/d1.js +2 -0
  59. package/lib/services/d1.js.map +1 -1
  60. package/lib/services/dns-firewall.d.ts +2 -0
  61. package/lib/services/dns-firewall.d.ts.map +1 -1
  62. package/lib/services/dns-firewall.js +2 -0
  63. package/lib/services/dns-firewall.js.map +1 -1
  64. package/lib/services/dns.d.ts +6405 -714
  65. package/lib/services/dns.d.ts.map +1 -1
  66. package/lib/services/dns.js +12738 -1055
  67. package/lib/services/dns.js.map +1 -1
  68. package/lib/services/durable-objects.d.ts +3 -0
  69. package/lib/services/durable-objects.d.ts.map +1 -1
  70. package/lib/services/durable-objects.js +3 -0
  71. package/lib/services/durable-objects.js.map +1 -1
  72. package/lib/services/email-routing.d.ts +4 -0
  73. package/lib/services/email-routing.d.ts.map +1 -1
  74. package/lib/services/email-routing.js +4 -0
  75. package/lib/services/email-routing.js.map +1 -1
  76. package/lib/services/email-security.d.ts +14 -0
  77. package/lib/services/email-security.d.ts.map +1 -1
  78. package/lib/services/email-security.js +14 -0
  79. package/lib/services/email-security.js.map +1 -1
  80. package/lib/services/filters.d.ts +2 -0
  81. package/lib/services/filters.d.ts.map +1 -1
  82. package/lib/services/filters.js +2 -0
  83. package/lib/services/filters.js.map +1 -1
  84. package/lib/services/firewall.d.ts +14 -0
  85. package/lib/services/firewall.d.ts.map +1 -1
  86. package/lib/services/firewall.js +90 -76
  87. package/lib/services/firewall.js.map +1 -1
  88. package/lib/services/healthchecks.d.ts +2 -0
  89. package/lib/services/healthchecks.d.ts.map +1 -1
  90. package/lib/services/healthchecks.js +2 -0
  91. package/lib/services/healthchecks.js.map +1 -1
  92. package/lib/services/hyperdrive.js +26 -26
  93. package/lib/services/hyperdrive.js.map +1 -1
  94. package/lib/services/iam.d.ts +6 -0
  95. package/lib/services/iam.d.ts.map +1 -1
  96. package/lib/services/iam.js +6 -0
  97. package/lib/services/iam.js.map +1 -1
  98. package/lib/services/images.d.ts +2 -0
  99. package/lib/services/images.d.ts.map +1 -1
  100. package/lib/services/images.js +2 -0
  101. package/lib/services/images.js.map +1 -1
  102. package/lib/services/intel.d.ts +4 -0
  103. package/lib/services/intel.d.ts.map +1 -1
  104. package/lib/services/intel.js +4 -0
  105. package/lib/services/intel.js.map +1 -1
  106. package/lib/services/kv.d.ts +3 -0
  107. package/lib/services/kv.d.ts.map +1 -1
  108. package/lib/services/kv.js +3 -0
  109. package/lib/services/kv.js.map +1 -1
  110. package/lib/services/load-balancers.d.ts +2 -0
  111. package/lib/services/load-balancers.d.ts.map +1 -1
  112. package/lib/services/load-balancers.js +2 -0
  113. package/lib/services/load-balancers.js.map +1 -1
  114. package/lib/services/magic-cloud-networking.d.ts +2 -0
  115. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  116. package/lib/services/magic-cloud-networking.js +9 -7
  117. package/lib/services/magic-cloud-networking.js.map +1 -1
  118. package/lib/services/magic-transit.js +8 -8
  119. package/lib/services/magic-transit.js.map +1 -1
  120. package/lib/services/origin-ca-certificates.d.ts +2 -0
  121. package/lib/services/origin-ca-certificates.d.ts.map +1 -1
  122. package/lib/services/origin-ca-certificates.js +6 -4
  123. package/lib/services/origin-ca-certificates.js.map +1 -1
  124. package/lib/services/origin-tls-client-auth.d.ts +57 -2
  125. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  126. package/lib/services/origin-tls-client-auth.js +172 -4
  127. package/lib/services/origin-tls-client-auth.js.map +1 -1
  128. package/lib/services/pages.d.ts +4 -0
  129. package/lib/services/pages.d.ts.map +1 -1
  130. package/lib/services/pages.js +4 -0
  131. package/lib/services/pages.js.map +1 -1
  132. package/lib/services/pipelines.d.ts +6 -0
  133. package/lib/services/pipelines.d.ts.map +1 -1
  134. package/lib/services/pipelines.js +107 -101
  135. package/lib/services/pipelines.js.map +1 -1
  136. package/lib/services/queues.d.ts +2 -0
  137. package/lib/services/queues.d.ts.map +1 -1
  138. package/lib/services/queues.js +2 -0
  139. package/lib/services/queues.js.map +1 -1
  140. package/lib/services/radar.js +32 -32
  141. package/lib/services/radar.js.map +1 -1
  142. package/lib/services/rate-limits.d.ts +2 -0
  143. package/lib/services/rate-limits.d.ts.map +1 -1
  144. package/lib/services/rate-limits.js +2 -0
  145. package/lib/services/rate-limits.js.map +1 -1
  146. package/lib/services/realtime-kit.js +5 -5
  147. package/lib/services/realtime-kit.js.map +1 -1
  148. package/lib/services/resource-sharing.d.ts +6 -0
  149. package/lib/services/resource-sharing.d.ts.map +1 -1
  150. package/lib/services/resource-sharing.js +6 -0
  151. package/lib/services/resource-sharing.js.map +1 -1
  152. package/lib/services/rules.d.ts +1 -0
  153. package/lib/services/rules.d.ts.map +1 -1
  154. package/lib/services/rules.js +5 -4
  155. package/lib/services/rules.js.map +1 -1
  156. package/lib/services/rum.d.ts +2 -0
  157. package/lib/services/rum.d.ts.map +1 -1
  158. package/lib/services/rum.js +2 -0
  159. package/lib/services/rum.js.map +1 -1
  160. package/lib/services/schema-validation.d.ts +4 -0
  161. package/lib/services/schema-validation.d.ts.map +1 -1
  162. package/lib/services/schema-validation.js +4 -0
  163. package/lib/services/schema-validation.js.map +1 -1
  164. package/lib/services/secrets-store.d.ts +4 -0
  165. package/lib/services/secrets-store.d.ts.map +1 -1
  166. package/lib/services/secrets-store.js +4 -0
  167. package/lib/services/secrets-store.js.map +1 -1
  168. package/lib/services/snippets.d.ts +2 -0
  169. package/lib/services/snippets.d.ts.map +1 -1
  170. package/lib/services/snippets.js +2 -0
  171. package/lib/services/snippets.js.map +1 -1
  172. package/lib/services/spectrum.d.ts +2 -0
  173. package/lib/services/spectrum.d.ts.map +1 -1
  174. package/lib/services/spectrum.js +2 -0
  175. package/lib/services/spectrum.js.map +1 -1
  176. package/lib/services/speed.d.ts +2 -0
  177. package/lib/services/speed.d.ts.map +1 -1
  178. package/lib/services/speed.js +2 -0
  179. package/lib/services/speed.js.map +1 -1
  180. package/lib/services/token-validation.d.ts +4 -0
  181. package/lib/services/token-validation.d.ts.map +1 -1
  182. package/lib/services/token-validation.js +88 -84
  183. package/lib/services/token-validation.js.map +1 -1
  184. package/lib/services/turnstile.d.ts +2 -0
  185. package/lib/services/turnstile.d.ts.map +1 -1
  186. package/lib/services/turnstile.js +2 -0
  187. package/lib/services/turnstile.js.map +1 -1
  188. package/lib/services/waiting-rooms.d.ts +2 -0
  189. package/lib/services/waiting-rooms.d.ts.map +1 -1
  190. package/lib/services/waiting-rooms.js +2 -0
  191. package/lib/services/waiting-rooms.js.map +1 -1
  192. package/lib/services/workers-for-platforms.js +438 -438
  193. package/lib/services/workers-for-platforms.js.map +1 -1
  194. package/lib/services/workers.d.ts +6 -0
  195. package/lib/services/workers.d.ts.map +1 -1
  196. package/lib/services/workers.js +1225 -1219
  197. package/lib/services/workers.js.map +1 -1
  198. package/lib/services/workflows.d.ts +6 -0
  199. package/lib/services/workflows.d.ts.map +1 -1
  200. package/lib/services/workflows.js +15 -9
  201. package/lib/services/workflows.js.map +1 -1
  202. package/lib/services/zero-trust.d.ts +46 -0
  203. package/lib/services/zero-trust.d.ts.map +1 -1
  204. package/lib/services/zero-trust.js +4013 -3967
  205. package/lib/services/zero-trust.js.map +1 -1
  206. package/lib/services/zones.js +50 -50
  207. package/lib/services/zones.js.map +1 -1
  208. package/package.json +2 -2
  209. package/src/client/api.ts +38 -8
  210. package/src/retry.ts +32 -10
  211. package/src/services/abuse-reports.ts +8 -0
  212. package/src/services/accounts.ts +14 -0
  213. package/src/services/ai-gateway.ts +83 -66
  214. package/src/services/ai.ts +39 -35
  215. package/src/services/aisearch.ts +16 -0
  216. package/src/services/alerting.ts +4 -0
  217. package/src/services/api-gateway.ts +150 -130
  218. package/src/services/audit-logs.ts +4 -0
  219. package/src/services/client-certificates.ts +4 -0
  220. package/src/services/connectivity.ts +16 -12
  221. package/src/services/custom-certificates.ts +4 -0
  222. package/src/services/custom-hostnames.ts +4 -0
  223. package/src/services/d1.ts +4 -0
  224. package/src/services/dns-firewall.ts +4 -0
  225. package/src/services/dns.ts +25325 -2321
  226. package/src/services/durable-objects.ts +6 -0
  227. package/src/services/email-routing.ts +8 -0
  228. package/src/services/email-security.ts +28 -0
  229. package/src/services/filters.ts +4 -0
  230. package/src/services/firewall.ts +108 -80
  231. package/src/services/healthchecks.ts +4 -0
  232. package/src/services/hyperdrive.ts +28 -28
  233. package/src/services/iam.ts +12 -0
  234. package/src/services/images.ts +4 -0
  235. package/src/services/intel.ts +8 -0
  236. package/src/services/kv.ts +6 -0
  237. package/src/services/load-balancers.ts +4 -0
  238. package/src/services/magic-cloud-networking.ts +12 -8
  239. package/src/services/magic-transit.ts +8 -8
  240. package/src/services/origin-ca-certificates.ts +7 -4
  241. package/src/services/origin-tls-client-auth.ts +319 -6
  242. package/src/services/pages.ts +8 -0
  243. package/src/services/pipelines.ts +161 -149
  244. package/src/services/queues.ts +4 -0
  245. package/src/services/radar.ts +32 -32
  246. package/src/services/rate-limits.ts +4 -0
  247. package/src/services/realtime-kit.ts +5 -5
  248. package/src/services/resource-sharing.ts +12 -0
  249. package/src/services/rules.ts +6 -4
  250. package/src/services/rum.ts +4 -0
  251. package/src/services/schema-validation.ts +8 -0
  252. package/src/services/secrets-store.ts +8 -0
  253. package/src/services/snippets.ts +4 -0
  254. package/src/services/spectrum.ts +4 -0
  255. package/src/services/speed.ts +4 -0
  256. package/src/services/token-validation.ts +92 -84
  257. package/src/services/turnstile.ts +4 -0
  258. package/src/services/waiting-rooms.ts +4 -0
  259. package/src/services/workers-for-platforms.ts +555 -555
  260. package/src/services/workers.ts +1534 -1522
  261. package/src/services/workflows.ts +21 -9
  262. package/src/services/zero-trust.ts +5862 -5770
  263. package/src/services/zones.ts +74 -74
@@ -1008,6 +1008,46 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1008
1008
  config: Schema.optional(
1009
1009
  Schema.Union([
1010
1010
  Schema.Union([
1011
+ Schema.Struct({
1012
+ token: Schema.String,
1013
+ accountId: Schema.String,
1014
+ bucket: Schema.String,
1015
+ tableName: Schema.String,
1016
+ namespace: Schema.optional(
1017
+ Schema.Union([Schema.String, Schema.Null]),
1018
+ ),
1019
+ rollingPolicy: Schema.optional(
1020
+ Schema.Union([
1021
+ Schema.Struct({
1022
+ fileSizeBytes: Schema.optional(
1023
+ Schema.Union([Schema.Number, Schema.Null]),
1024
+ ),
1025
+ inactivitySeconds: Schema.optional(
1026
+ Schema.Union([Schema.Number, Schema.Null]),
1027
+ ),
1028
+ intervalSeconds: Schema.optional(
1029
+ Schema.Union([Schema.Number, Schema.Null]),
1030
+ ),
1031
+ }).pipe(
1032
+ Schema.encodeKeys({
1033
+ fileSizeBytes: "file_size_bytes",
1034
+ inactivitySeconds: "inactivity_seconds",
1035
+ intervalSeconds: "interval_seconds",
1036
+ }),
1037
+ ),
1038
+ Schema.Null,
1039
+ ]),
1040
+ ),
1041
+ }).pipe(
1042
+ Schema.encodeKeys({
1043
+ token: "token",
1044
+ accountId: "account_id",
1045
+ bucket: "bucket",
1046
+ tableName: "table_name",
1047
+ namespace: "namespace",
1048
+ rollingPolicy: "rolling_policy",
1049
+ }),
1050
+ ),
1011
1051
  Schema.Struct({
1012
1052
  accountId: Schema.String,
1013
1053
  bucket: Schema.String,
@@ -1087,46 +1127,6 @@ export const GetSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1087
1127
  rollingPolicy: "rolling_policy",
1088
1128
  }),
1089
1129
  ),
1090
- Schema.Struct({
1091
- token: Schema.String,
1092
- accountId: Schema.String,
1093
- bucket: Schema.String,
1094
- tableName: Schema.String,
1095
- namespace: Schema.optional(
1096
- Schema.Union([Schema.String, Schema.Null]),
1097
- ),
1098
- rollingPolicy: Schema.optional(
1099
- Schema.Union([
1100
- Schema.Struct({
1101
- fileSizeBytes: Schema.optional(
1102
- Schema.Union([Schema.Number, Schema.Null]),
1103
- ),
1104
- inactivitySeconds: Schema.optional(
1105
- Schema.Union([Schema.Number, Schema.Null]),
1106
- ),
1107
- intervalSeconds: Schema.optional(
1108
- Schema.Union([Schema.Number, Schema.Null]),
1109
- ),
1110
- }).pipe(
1111
- Schema.encodeKeys({
1112
- fileSizeBytes: "file_size_bytes",
1113
- inactivitySeconds: "inactivity_seconds",
1114
- intervalSeconds: "interval_seconds",
1115
- }),
1116
- ),
1117
- Schema.Null,
1118
- ]),
1119
- ),
1120
- }).pipe(
1121
- Schema.encodeKeys({
1122
- token: "token",
1123
- accountId: "account_id",
1124
- bucket: "bucket",
1125
- tableName: "table_name",
1126
- namespace: "namespace",
1127
- rollingPolicy: "rolling_policy",
1128
- }),
1129
- ),
1130
1130
  ]),
1131
1131
  Schema.Null,
1132
1132
  ]),
@@ -1509,12 +1509,16 @@ export const getSink: API.OperationMethod<
1509
1509
  export interface ListSinksRequest {
1510
1510
  /** Path param: Specifies the public ID of the account. */
1511
1511
  accountId: string;
1512
+ page?: number;
1513
+ perPage?: number;
1512
1514
  /** Query param: */
1513
1515
  pipelineId?: string;
1514
1516
  }
1515
1517
 
1516
1518
  export const ListSinksRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1517
1519
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1520
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1521
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1518
1522
  pipelineId: Schema.optional(Schema.String).pipe(T.HttpQuery("pipeline_id")),
1519
1523
  }).pipe(
1520
1524
  T.Http({ method: "GET", path: "/accounts/{account_id}/pipelines/v1/sinks" }),
@@ -1695,6 +1699,46 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1695
1699
  config: Schema.optional(
1696
1700
  Schema.Union([
1697
1701
  Schema.Union([
1702
+ Schema.Struct({
1703
+ token: Schema.String,
1704
+ accountId: Schema.String,
1705
+ bucket: Schema.String,
1706
+ tableName: Schema.String,
1707
+ namespace: Schema.optional(
1708
+ Schema.Union([Schema.String, Schema.Null]),
1709
+ ),
1710
+ rollingPolicy: Schema.optional(
1711
+ Schema.Union([
1712
+ Schema.Struct({
1713
+ fileSizeBytes: Schema.optional(
1714
+ Schema.Union([Schema.Number, Schema.Null]),
1715
+ ),
1716
+ inactivitySeconds: Schema.optional(
1717
+ Schema.Union([Schema.Number, Schema.Null]),
1718
+ ),
1719
+ intervalSeconds: Schema.optional(
1720
+ Schema.Union([Schema.Number, Schema.Null]),
1721
+ ),
1722
+ }).pipe(
1723
+ Schema.encodeKeys({
1724
+ fileSizeBytes: "file_size_bytes",
1725
+ inactivitySeconds: "inactivity_seconds",
1726
+ intervalSeconds: "interval_seconds",
1727
+ }),
1728
+ ),
1729
+ Schema.Null,
1730
+ ]),
1731
+ ),
1732
+ }).pipe(
1733
+ Schema.encodeKeys({
1734
+ token: "token",
1735
+ accountId: "account_id",
1736
+ bucket: "bucket",
1737
+ tableName: "table_name",
1738
+ namespace: "namespace",
1739
+ rollingPolicy: "rolling_policy",
1740
+ }),
1741
+ ),
1698
1742
  Schema.Struct({
1699
1743
  accountId: Schema.String,
1700
1744
  bucket: Schema.String,
@@ -1774,46 +1818,6 @@ export const ListSinksResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1774
1818
  rollingPolicy: "rolling_policy",
1775
1819
  }),
1776
1820
  ),
1777
- Schema.Struct({
1778
- token: Schema.String,
1779
- accountId: Schema.String,
1780
- bucket: Schema.String,
1781
- tableName: Schema.String,
1782
- namespace: Schema.optional(
1783
- Schema.Union([Schema.String, Schema.Null]),
1784
- ),
1785
- rollingPolicy: Schema.optional(
1786
- Schema.Union([
1787
- Schema.Struct({
1788
- fileSizeBytes: Schema.optional(
1789
- Schema.Union([Schema.Number, Schema.Null]),
1790
- ),
1791
- inactivitySeconds: Schema.optional(
1792
- Schema.Union([Schema.Number, Schema.Null]),
1793
- ),
1794
- intervalSeconds: Schema.optional(
1795
- Schema.Union([Schema.Number, Schema.Null]),
1796
- ),
1797
- }).pipe(
1798
- Schema.encodeKeys({
1799
- fileSizeBytes: "file_size_bytes",
1800
- inactivitySeconds: "inactivity_seconds",
1801
- intervalSeconds: "interval_seconds",
1802
- }),
1803
- ),
1804
- Schema.Null,
1805
- ]),
1806
- ),
1807
- }).pipe(
1808
- Schema.encodeKeys({
1809
- token: "token",
1810
- accountId: "account_id",
1811
- bucket: "bucket",
1812
- tableName: "table_name",
1813
- namespace: "namespace",
1814
- rollingPolicy: "rolling_policy",
1815
- }),
1816
- ),
1817
1821
  ]),
1818
1822
  Schema.Null,
1819
1823
  ]),
@@ -2366,6 +2370,35 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2366
2370
  type: Schema.Literals(["r2", "r2_data_catalog"]),
2367
2371
  config: Schema.optional(
2368
2372
  Schema.Union([
2373
+ Schema.Struct({
2374
+ token: Schema.String,
2375
+ accountId: Schema.String,
2376
+ bucket: Schema.String,
2377
+ tableName: Schema.String,
2378
+ namespace: Schema.optional(Schema.String),
2379
+ rollingPolicy: Schema.optional(
2380
+ Schema.Struct({
2381
+ fileSizeBytes: Schema.optional(Schema.Number),
2382
+ inactivitySeconds: Schema.optional(Schema.Number),
2383
+ intervalSeconds: Schema.optional(Schema.Number),
2384
+ }).pipe(
2385
+ Schema.encodeKeys({
2386
+ fileSizeBytes: "file_size_bytes",
2387
+ inactivitySeconds: "inactivity_seconds",
2388
+ intervalSeconds: "interval_seconds",
2389
+ }),
2390
+ ),
2391
+ ),
2392
+ }).pipe(
2393
+ Schema.encodeKeys({
2394
+ token: "token",
2395
+ accountId: "account_id",
2396
+ bucket: "bucket",
2397
+ tableName: "table_name",
2398
+ namespace: "namespace",
2399
+ rollingPolicy: "rolling_policy",
2400
+ }),
2401
+ ),
2369
2402
  Schema.Struct({
2370
2403
  accountId: Schema.String,
2371
2404
  bucket: Schema.String,
@@ -2419,35 +2452,6 @@ export const CreateSinkRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2419
2452
  rollingPolicy: "rolling_policy",
2420
2453
  }),
2421
2454
  ),
2422
- Schema.Struct({
2423
- token: Schema.String,
2424
- accountId: Schema.String,
2425
- bucket: Schema.String,
2426
- tableName: Schema.String,
2427
- namespace: Schema.optional(Schema.String),
2428
- rollingPolicy: Schema.optional(
2429
- Schema.Struct({
2430
- fileSizeBytes: Schema.optional(Schema.Number),
2431
- inactivitySeconds: Schema.optional(Schema.Number),
2432
- intervalSeconds: Schema.optional(Schema.Number),
2433
- }).pipe(
2434
- Schema.encodeKeys({
2435
- fileSizeBytes: "file_size_bytes",
2436
- inactivitySeconds: "inactivity_seconds",
2437
- intervalSeconds: "interval_seconds",
2438
- }),
2439
- ),
2440
- ),
2441
- }).pipe(
2442
- Schema.encodeKeys({
2443
- token: "token",
2444
- accountId: "account_id",
2445
- bucket: "bucket",
2446
- tableName: "table_name",
2447
- namespace: "namespace",
2448
- rollingPolicy: "rolling_policy",
2449
- }),
2450
- ),
2451
2455
  ]),
2452
2456
  ),
2453
2457
  format: Schema.optional(
@@ -2875,6 +2879,46 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2875
2879
  config: Schema.optional(
2876
2880
  Schema.Union([
2877
2881
  Schema.Union([
2882
+ Schema.Struct({
2883
+ token: Schema.String,
2884
+ accountId: Schema.String,
2885
+ bucket: Schema.String,
2886
+ tableName: Schema.String,
2887
+ namespace: Schema.optional(
2888
+ Schema.Union([Schema.String, Schema.Null]),
2889
+ ),
2890
+ rollingPolicy: Schema.optional(
2891
+ Schema.Union([
2892
+ Schema.Struct({
2893
+ fileSizeBytes: Schema.optional(
2894
+ Schema.Union([Schema.Number, Schema.Null]),
2895
+ ),
2896
+ inactivitySeconds: Schema.optional(
2897
+ Schema.Union([Schema.Number, Schema.Null]),
2898
+ ),
2899
+ intervalSeconds: Schema.optional(
2900
+ Schema.Union([Schema.Number, Schema.Null]),
2901
+ ),
2902
+ }).pipe(
2903
+ Schema.encodeKeys({
2904
+ fileSizeBytes: "file_size_bytes",
2905
+ inactivitySeconds: "inactivity_seconds",
2906
+ intervalSeconds: "interval_seconds",
2907
+ }),
2908
+ ),
2909
+ Schema.Null,
2910
+ ]),
2911
+ ),
2912
+ }).pipe(
2913
+ Schema.encodeKeys({
2914
+ token: "token",
2915
+ accountId: "account_id",
2916
+ bucket: "bucket",
2917
+ tableName: "table_name",
2918
+ namespace: "namespace",
2919
+ rollingPolicy: "rolling_policy",
2920
+ }),
2921
+ ),
2878
2922
  Schema.Struct({
2879
2923
  accountId: Schema.String,
2880
2924
  bucket: Schema.String,
@@ -2954,46 +2998,6 @@ export const CreateSinkResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2954
2998
  rollingPolicy: "rolling_policy",
2955
2999
  }),
2956
3000
  ),
2957
- Schema.Struct({
2958
- token: Schema.String,
2959
- accountId: Schema.String,
2960
- bucket: Schema.String,
2961
- tableName: Schema.String,
2962
- namespace: Schema.optional(
2963
- Schema.Union([Schema.String, Schema.Null]),
2964
- ),
2965
- rollingPolicy: Schema.optional(
2966
- Schema.Union([
2967
- Schema.Struct({
2968
- fileSizeBytes: Schema.optional(
2969
- Schema.Union([Schema.Number, Schema.Null]),
2970
- ),
2971
- inactivitySeconds: Schema.optional(
2972
- Schema.Union([Schema.Number, Schema.Null]),
2973
- ),
2974
- intervalSeconds: Schema.optional(
2975
- Schema.Union([Schema.Number, Schema.Null]),
2976
- ),
2977
- }).pipe(
2978
- Schema.encodeKeys({
2979
- fileSizeBytes: "file_size_bytes",
2980
- inactivitySeconds: "inactivity_seconds",
2981
- intervalSeconds: "interval_seconds",
2982
- }),
2983
- ),
2984
- Schema.Null,
2985
- ]),
2986
- ),
2987
- }).pipe(
2988
- Schema.encodeKeys({
2989
- token: "token",
2990
- accountId: "account_id",
2991
- bucket: "bucket",
2992
- tableName: "table_name",
2993
- namespace: "namespace",
2994
- rollingPolicy: "rolling_policy",
2995
- }),
2996
- ),
2997
3001
  ]),
2998
3002
  Schema.Null,
2999
3003
  ]),
@@ -4081,12 +4085,16 @@ export const getStream: API.OperationMethod<
4081
4085
  export interface ListStreamsRequest {
4082
4086
  /** Path param: Specifies the public ID of the account. */
4083
4087
  accountId: string;
4088
+ page?: number;
4089
+ perPage?: number;
4084
4090
  /** Query param: Specifies the public ID of the pipeline. */
4085
4091
  pipelineId?: string;
4086
4092
  }
4087
4093
 
4088
4094
  export const ListStreamsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4089
4095
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4096
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4097
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4090
4098
  pipelineId: Schema.optional(Schema.String).pipe(T.HttpQuery("pipeline_id")),
4091
4099
  }).pipe(
4092
4100
  T.Http({
@@ -5920,10 +5928,14 @@ export const getV1Pipeline: API.OperationMethod<
5920
5928
  export interface ListV1PipelineRequest {
5921
5929
  /** Path param: Specifies the public ID of the account. */
5922
5930
  accountId: string;
5931
+ page?: number;
5932
+ perPage?: number;
5923
5933
  }
5924
5934
 
5925
5935
  export const ListV1PipelineRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
5926
5936
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
5937
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
5938
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
5927
5939
  }).pipe(
5928
5940
  T.Http({
5929
5941
  method: "GET",
@@ -3243,6 +3243,8 @@ export const getSubscription: API.OperationMethod<
3243
3243
  export interface ListSubscriptionsRequest {
3244
3244
  /** Path param: A Resource identifier. */
3245
3245
  accountId: string;
3246
+ page?: number;
3247
+ perPage?: number;
3246
3248
  /** Query param: Sort direction */
3247
3249
  direction?: "asc" | "desc";
3248
3250
  /** Query param: Field to sort by */
@@ -3252,6 +3254,8 @@ export interface ListSubscriptionsRequest {
3252
3254
  export const ListSubscriptionsRequest =
3253
3255
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3254
3256
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
3257
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
3258
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
3255
3259
  direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
3256
3260
  T.HttpQuery("direction"),
3257
3261
  ),
@@ -13581,11 +13581,6 @@ export const SummaryCtResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13581
13581
  ),
13582
13582
  }),
13583
13583
  summary_0: Schema.Union([
13584
- Schema.Record(Schema.String, Schema.Unknown),
13585
- Schema.Struct({
13586
- rfc6962: Schema.String,
13587
- static: Schema.String,
13588
- }),
13589
13584
  Schema.Struct({
13590
13585
  gt_121d: Schema.String,
13591
13586
  gt_16dLte_31d: Schema.String,
@@ -13603,6 +13598,21 @@ export const SummaryCtResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13603
13598
  lte_3d: "lte_3d",
13604
13599
  }),
13605
13600
  ),
13601
+ Schema.Struct({
13602
+ domain: Schema.String,
13603
+ extended: Schema.String,
13604
+ organization: Schema.String,
13605
+ unknown: Schema.String,
13606
+ }),
13607
+ Schema.Struct({
13608
+ dsa: Schema.String,
13609
+ ecdsa: Schema.String,
13610
+ rsa: Schema.String,
13611
+ }).pipe(Schema.encodeKeys({ dsa: "DSA", ecdsa: "ECDSA", rsa: "RSA" })),
13612
+ Schema.Struct({
13613
+ rfc6962: Schema.String,
13614
+ static: Schema.String,
13615
+ }),
13606
13616
  Schema.Struct({
13607
13617
  certificate: Schema.String,
13608
13618
  precertificate: Schema.String,
@@ -13620,17 +13630,7 @@ export const SummaryCtResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13620
13630
  negative: Schema.String,
13621
13631
  positive: Schema.String,
13622
13632
  }).pipe(Schema.encodeKeys({ negative: "NEGATIVE", positive: "POSITIVE" })),
13623
- Schema.Struct({
13624
- dsa: Schema.String,
13625
- ecdsa: Schema.String,
13626
- rsa: Schema.String,
13627
- }).pipe(Schema.encodeKeys({ dsa: "DSA", ecdsa: "ECDSA", rsa: "RSA" })),
13628
- Schema.Struct({
13629
- domain: Schema.String,
13630
- extended: Schema.String,
13631
- organization: Schema.String,
13632
- unknown: Schema.String,
13633
- }),
13633
+ Schema.Record(Schema.String, Schema.Unknown),
13634
13634
  ]),
13635
13635
  }).pipe(
13636
13636
  T.ResponsePath("result"),
@@ -22838,13 +22838,6 @@ export const TimeseriesGroupsCtResponse =
22838
22838
  ),
22839
22839
  }),
22840
22840
  serie_0: Schema.Union([
22841
- Schema.Struct({
22842
- timestamps: Schema.Array(Schema.String),
22843
- }),
22844
- Schema.Struct({
22845
- rfc6962: Schema.Array(Schema.String),
22846
- static: Schema.Array(Schema.String),
22847
- }),
22848
22841
  Schema.Struct({
22849
22842
  gt_121d: Schema.Array(Schema.String),
22850
22843
  gt_16dLte_31d: Schema.Array(Schema.String),
@@ -22862,6 +22855,21 @@ export const TimeseriesGroupsCtResponse =
22862
22855
  lte_3d: "lte_3d",
22863
22856
  }),
22864
22857
  ),
22858
+ Schema.Struct({
22859
+ domain: Schema.Array(Schema.String),
22860
+ extended: Schema.Array(Schema.String),
22861
+ organization: Schema.Array(Schema.String),
22862
+ unknown: Schema.Array(Schema.String),
22863
+ }),
22864
+ Schema.Struct({
22865
+ dsa: Schema.Array(Schema.String),
22866
+ ecdsa: Schema.Array(Schema.String),
22867
+ rsa: Schema.Array(Schema.String),
22868
+ }).pipe(Schema.encodeKeys({ dsa: "DSA", ecdsa: "ECDSA", rsa: "RSA" })),
22869
+ Schema.Struct({
22870
+ rfc6962: Schema.Array(Schema.String),
22871
+ static: Schema.Array(Schema.String),
22872
+ }),
22865
22873
  Schema.Struct({
22866
22874
  certificate: Schema.Array(Schema.String),
22867
22875
  precertificate: Schema.Array(Schema.String),
@@ -22882,15 +22890,7 @@ export const TimeseriesGroupsCtResponse =
22882
22890
  Schema.encodeKeys({ negative: "NEGATIVE", positive: "POSITIVE" }),
22883
22891
  ),
22884
22892
  Schema.Struct({
22885
- dsa: Schema.Array(Schema.String),
22886
- ecdsa: Schema.Array(Schema.String),
22887
- rsa: Schema.Array(Schema.String),
22888
- }).pipe(Schema.encodeKeys({ dsa: "DSA", ecdsa: "ECDSA", rsa: "RSA" })),
22889
- Schema.Struct({
22890
- domain: Schema.Array(Schema.String),
22891
- extended: Schema.Array(Schema.String),
22892
- organization: Schema.Array(Schema.String),
22893
- unknown: Schema.Array(Schema.String),
22893
+ timestamps: Schema.Array(Schema.String),
22894
22894
  }),
22895
22895
  ]),
22896
22896
  }).pipe(
@@ -208,10 +208,14 @@ export const getRateLimit: API.OperationMethod<
208
208
  export interface ListRateLimitsRequest {
209
209
  /** Path param: Defines an identifier. */
210
210
  zoneId: string;
211
+ page?: number;
212
+ perPage?: number;
211
213
  }
212
214
 
213
215
  export const ListRateLimitsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
214
216
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
217
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
218
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
215
219
  }).pipe(
216
220
  T.Http({ method: "GET", path: "/zones/{zone_id}/rate_limits" }),
217
221
  ) as unknown as Schema.Schema<ListRateLimitsRequest>;
@@ -7362,7 +7362,6 @@ export const CreatePresetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7362
7362
  canEditConfig: Schema.Boolean,
7363
7363
  canStart: Schema.Boolean,
7364
7364
  config: Schema.Union([
7365
- Schema.String,
7366
7365
  Schema.Struct({
7367
7366
  accessControl: Schema.Literals(["FULL_ACCESS", "VIEW_ONLY"]),
7368
7367
  handlesViewOnly: Schema.Boolean,
@@ -7372,6 +7371,7 @@ export const CreatePresetRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7372
7371
  handlesViewOnly: "handles_view_only",
7373
7372
  }),
7374
7373
  ),
7374
+ Schema.String,
7375
7375
  ]),
7376
7376
  }).pipe(
7377
7377
  Schema.encodeKeys({
@@ -7728,7 +7728,6 @@ export const CreatePresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7728
7728
  canEditConfig: Schema.Boolean,
7729
7729
  canStart: Schema.Boolean,
7730
7730
  config: Schema.Union([
7731
- Schema.String,
7732
7731
  Schema.Struct({
7733
7732
  accessControl: Schema.Literals(["FULL_ACCESS", "VIEW_ONLY"]),
7734
7733
  handlesViewOnly: Schema.Boolean,
@@ -7738,6 +7737,7 @@ export const CreatePresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7738
7737
  handlesViewOnly: "handles_view_only",
7739
7738
  }),
7740
7739
  ),
7740
+ Schema.String,
7741
7741
  ]),
7742
7742
  }).pipe(
7743
7743
  Schema.encodeKeys({
@@ -8502,7 +8502,6 @@ export const PatchPresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8502
8502
  canEditConfig: Schema.Boolean,
8503
8503
  canStart: Schema.Boolean,
8504
8504
  config: Schema.Union([
8505
- Schema.String,
8506
8505
  Schema.Struct({
8507
8506
  accessControl: Schema.Literals(["FULL_ACCESS", "VIEW_ONLY"]),
8508
8507
  handlesViewOnly: Schema.Boolean,
@@ -8512,6 +8511,7 @@ export const PatchPresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8512
8511
  handlesViewOnly: "handles_view_only",
8513
8512
  }),
8514
8513
  ),
8514
+ Schema.String,
8515
8515
  ]),
8516
8516
  }).pipe(
8517
8517
  Schema.encodeKeys({
@@ -8902,7 +8902,6 @@ export const DeletePresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8902
8902
  canEditConfig: Schema.Boolean,
8903
8903
  canStart: Schema.Boolean,
8904
8904
  config: Schema.Union([
8905
- Schema.String,
8906
8905
  Schema.Struct({
8907
8906
  accessControl: Schema.Literals(["FULL_ACCESS", "VIEW_ONLY"]),
8908
8907
  handlesViewOnly: Schema.Boolean,
@@ -8912,6 +8911,7 @@ export const DeletePresetResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8912
8911
  handlesViewOnly: "handles_view_only",
8913
8912
  }),
8914
8913
  ),
8914
+ Schema.String,
8915
8915
  ]),
8916
8916
  }).pipe(
8917
8917
  Schema.encodeKeys({
@@ -9310,7 +9310,6 @@ export const GetPresetByIdPresetResponse =
9310
9310
  canEditConfig: Schema.Boolean,
9311
9311
  canStart: Schema.Boolean,
9312
9312
  config: Schema.Union([
9313
- Schema.String,
9314
9313
  Schema.Struct({
9315
9314
  accessControl: Schema.Literals(["FULL_ACCESS", "VIEW_ONLY"]),
9316
9315
  handlesViewOnly: Schema.Boolean,
@@ -9320,6 +9319,7 @@ export const GetPresetByIdPresetResponse =
9320
9319
  handlesViewOnly: "handles_view_only",
9321
9320
  }),
9322
9321
  ),
9322
+ Schema.String,
9323
9323
  ]),
9324
9324
  }).pipe(
9325
9325
  Schema.encodeKeys({
@@ -127,6 +127,8 @@ export interface ListRecipientsRequest {
127
127
  shareId: string;
128
128
  /** Path param: Account identifier. */
129
129
  accountId: string;
130
+ page?: number;
131
+ perPage?: number;
130
132
  /** Query param: Include resources in the response. */
131
133
  includeResources?: boolean;
132
134
  }
@@ -134,6 +136,8 @@ export interface ListRecipientsRequest {
134
136
  export const ListRecipientsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
135
137
  shareId: Schema.String.pipe(T.HttpPath("shareId")),
136
138
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
139
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
140
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
137
141
  includeResources: Schema.optional(Schema.Boolean).pipe(
138
142
  T.HttpQuery("include_resources"),
139
143
  ),
@@ -574,6 +578,8 @@ export interface ListResourcesRequest {
574
578
  shareId: string;
575
579
  /** Path param: Account identifier. */
576
580
  accountId: string;
581
+ page?: number;
582
+ perPage?: number;
577
583
  /** Query param: Filter share resources by resource_type. */
578
584
  resourceType?:
579
585
  | "custom-ruleset"
@@ -589,6 +595,8 @@ export interface ListResourcesRequest {
589
595
  export const ListResourcesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
590
596
  shareId: Schema.String.pipe(T.HttpPath("shareId")),
591
597
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
598
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
599
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
592
600
  resourceType: Schema.optional(
593
601
  Schema.Literals([
594
602
  "custom-ruleset",
@@ -1201,6 +1209,8 @@ export const getResourceSharing: API.OperationMethod<
1201
1209
  export interface ListResourceSharingsRequest {
1202
1210
  /** Path param: Account identifier. */
1203
1211
  accountId: string;
1212
+ page?: number;
1213
+ perPage?: number;
1204
1214
  /** Query param: Direction to sort objects. */
1205
1215
  direction?: "asc" | "desc";
1206
1216
  /** Query param: Include recipient counts in the response. */
@@ -1229,6 +1239,8 @@ export interface ListResourceSharingsRequest {
1229
1239
  export const ListResourceSharingsRequest =
1230
1240
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1231
1241
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1242
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
1243
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
1232
1244
  direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
1233
1245
  T.HttpQuery("direction"),
1234
1246
  ),