@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
@@ -53,12 +53,16 @@ T.applyErrorMatchers(ValidationError, [{ code: 7001 }]);
53
53
  export interface ListInstancesRequest {
54
54
  /** Path param: */
55
55
  accountId: string;
56
+ page?: number;
57
+ perPage?: number;
56
58
  /** Query param: Search by id */
57
59
  search?: string;
58
60
  }
59
61
 
60
62
  export const ListInstancesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
61
63
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
64
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
65
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
62
66
  search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
63
67
  }).pipe(
64
68
  T.Http({ method: "GET", path: "/accounts/{account_id}/ai-search/instances" }),
@@ -4097,6 +4101,8 @@ export interface ListInstanceItemsRequest {
4097
4101
  id: string;
4098
4102
  /** Path param: */
4099
4103
  accountId: string;
4104
+ page?: number;
4105
+ perPage?: number;
4100
4106
  /** Query param: */
4101
4107
  search?: string;
4102
4108
  /** Query param: */
@@ -4107,6 +4113,8 @@ export const ListInstanceItemsRequest =
4107
4113
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4108
4114
  id: Schema.String.pipe(T.HttpPath("id")),
4109
4115
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4116
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4117
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4110
4118
  search: Schema.optional(Schema.String).pipe(T.HttpQuery("search")),
4111
4119
  status: Schema.optional(
4112
4120
  Schema.Literals(["queued", "running", "completed", "error", "skipped"]),
@@ -4281,12 +4289,16 @@ export interface ListInstanceJobsRequest {
4281
4289
  id: string;
4282
4290
  /** Path param: */
4283
4291
  accountId: string;
4292
+ page?: number;
4293
+ perPage?: number;
4284
4294
  }
4285
4295
 
4286
4296
  export const ListInstanceJobsRequest =
4287
4297
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4288
4298
  id: Schema.String.pipe(T.HttpPath("id")),
4289
4299
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4300
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4301
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4290
4302
  }).pipe(
4291
4303
  T.Http({
4292
4304
  method: "GET",
@@ -4524,10 +4536,14 @@ export const logsInstanceJob: API.OperationMethod<
4524
4536
  export interface ListTokensRequest {
4525
4537
  /** Path param: */
4526
4538
  accountId: string;
4539
+ page?: number;
4540
+ perPage?: number;
4527
4541
  }
4528
4542
 
4529
4543
  export const ListTokensRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4530
4544
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
4545
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
4546
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
4531
4547
  }).pipe(
4532
4548
  T.Http({ method: "GET", path: "/accounts/{account_id}/ai-search/tokens" }),
4533
4549
  ) as unknown as Schema.Schema<ListTokensRequest>;
@@ -708,6 +708,8 @@ export const deleteDestinationWebhook: API.OperationMethod<
708
708
  export interface ListHistoriesRequest {
709
709
  /** Path param: The account id */
710
710
  accountId: string;
711
+ page?: number;
712
+ perPage?: number;
711
713
  /** Query param: Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339. */
712
714
  before?: string;
713
715
  /** Query param: Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339. */
@@ -716,6 +718,8 @@ export interface ListHistoriesRequest {
716
718
 
717
719
  export const ListHistoriesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
718
720
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
721
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
722
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
719
723
  before: Schema.optional(Schema.String).pipe(T.HttpQuery("before")),
720
724
  since: Schema.optional(Schema.String).pipe(T.HttpQuery("since")),
721
725
  }).pipe(
@@ -239,6 +239,8 @@ export const getDiscovery: API.OperationMethod<
239
239
  export interface ListDiscoveryOperationsRequest {
240
240
  /** Path param: Identifier. */
241
241
  zoneId: string;
242
+ page?: number;
243
+ perPage?: number;
242
244
  /** Query param: When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management */
243
245
  diff?: boolean;
244
246
  /** Query param: Direction to order results. */
@@ -265,6 +267,8 @@ export interface ListDiscoveryOperationsRequest {
265
267
  export const ListDiscoveryOperationsRequest =
266
268
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
267
269
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
270
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
271
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
268
272
  diff: Schema.optional(Schema.Boolean).pipe(T.HttpQuery("diff")),
269
273
  direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
270
274
  T.HttpQuery("direction"),
@@ -696,6 +700,29 @@ export const GetOperationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
696
700
  features: Schema.optional(
697
701
  Schema.Union([
698
702
  Schema.Union([
703
+ Schema.Struct({
704
+ parameterSchemas: Schema.Struct({
705
+ lastUpdated: Schema.optional(
706
+ Schema.Union([Schema.String, Schema.Null]),
707
+ ),
708
+ parameterSchemas: Schema.optional(
709
+ Schema.Union([
710
+ Schema.Struct({
711
+ parameters: Schema.optional(
712
+ Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
713
+ ),
714
+ responses: Schema.optional(Schema.Null),
715
+ }),
716
+ Schema.Null,
717
+ ]),
718
+ ),
719
+ }).pipe(
720
+ Schema.encodeKeys({
721
+ lastUpdated: "last_updated",
722
+ parameterSchemas: "parameter_schemas",
723
+ }),
724
+ ),
725
+ }).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })),
699
726
  Schema.Struct({
700
727
  thresholds: Schema.optional(
701
728
  Schema.Union([
@@ -744,29 +771,6 @@ export const GetOperationResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
744
771
  ]),
745
772
  ),
746
773
  }),
747
- Schema.Struct({
748
- parameterSchemas: Schema.Struct({
749
- lastUpdated: Schema.optional(
750
- Schema.Union([Schema.String, Schema.Null]),
751
- ),
752
- parameterSchemas: Schema.optional(
753
- Schema.Union([
754
- Schema.Struct({
755
- parameters: Schema.optional(
756
- Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
757
- ),
758
- responses: Schema.optional(Schema.Null),
759
- }),
760
- Schema.Null,
761
- ]),
762
- ),
763
- }).pipe(
764
- Schema.encodeKeys({
765
- lastUpdated: "last_updated",
766
- parameterSchemas: "parameter_schemas",
767
- }),
768
- ),
769
- }).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })),
770
774
  Schema.Struct({
771
775
  apiRouting: Schema.optional(
772
776
  Schema.Union([
@@ -957,6 +961,8 @@ export const getOperation: API.OperationMethod<
957
961
  export interface ListOperationsRequest {
958
962
  /** Path param: Identifier. */
959
963
  zoneId: string;
964
+ page?: number;
965
+ perPage?: number;
960
966
  /** Query param: Direction to order results. */
961
967
  direction?: "asc" | "desc";
962
968
  /** Query param: Filter results to only include endpoints containing this pattern. */
@@ -973,6 +979,8 @@ export interface ListOperationsRequest {
973
979
 
974
980
  export const ListOperationsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
975
981
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
982
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
983
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
976
984
  direction: Schema.optional(Schema.Literals(["asc", "desc"])).pipe(
977
985
  T.HttpQuery("direction"),
978
986
  ),
@@ -1095,6 +1103,34 @@ export const ListOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1095
1103
  features: Schema.optional(
1096
1104
  Schema.Union([
1097
1105
  Schema.Union([
1106
+ Schema.Struct({
1107
+ parameterSchemas: Schema.Struct({
1108
+ lastUpdated: Schema.optional(
1109
+ Schema.Union([Schema.String, Schema.Null]),
1110
+ ),
1111
+ parameterSchemas: Schema.optional(
1112
+ Schema.Union([
1113
+ Schema.Struct({
1114
+ parameters: Schema.optional(
1115
+ Schema.Union([
1116
+ Schema.Array(Schema.Unknown),
1117
+ Schema.Null,
1118
+ ]),
1119
+ ),
1120
+ responses: Schema.optional(Schema.Null),
1121
+ }),
1122
+ Schema.Null,
1123
+ ]),
1124
+ ),
1125
+ }).pipe(
1126
+ Schema.encodeKeys({
1127
+ lastUpdated: "last_updated",
1128
+ parameterSchemas: "parameter_schemas",
1129
+ }),
1130
+ ),
1131
+ }).pipe(
1132
+ Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
1133
+ ),
1098
1134
  Schema.Struct({
1099
1135
  thresholds: Schema.optional(
1100
1136
  Schema.Union([
@@ -1143,34 +1179,6 @@ export const ListOperationsResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
1143
1179
  ]),
1144
1180
  ),
1145
1181
  }),
1146
- Schema.Struct({
1147
- parameterSchemas: Schema.Struct({
1148
- lastUpdated: Schema.optional(
1149
- Schema.Union([Schema.String, Schema.Null]),
1150
- ),
1151
- parameterSchemas: Schema.optional(
1152
- Schema.Union([
1153
- Schema.Struct({
1154
- parameters: Schema.optional(
1155
- Schema.Union([
1156
- Schema.Array(Schema.Unknown),
1157
- Schema.Null,
1158
- ]),
1159
- ),
1160
- responses: Schema.optional(Schema.Null),
1161
- }),
1162
- Schema.Null,
1163
- ]),
1164
- ),
1165
- }).pipe(
1166
- Schema.encodeKeys({
1167
- lastUpdated: "last_updated",
1168
- parameterSchemas: "parameter_schemas",
1169
- }),
1170
- ),
1171
- }).pipe(
1172
- Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
1173
- ),
1174
1182
  Schema.Struct({
1175
1183
  apiRouting: Schema.optional(
1176
1184
  Schema.Union([
@@ -1536,6 +1544,29 @@ export const CreateOperationResponse =
1536
1544
  features: Schema.optional(
1537
1545
  Schema.Union([
1538
1546
  Schema.Union([
1547
+ Schema.Struct({
1548
+ parameterSchemas: Schema.Struct({
1549
+ lastUpdated: Schema.optional(
1550
+ Schema.Union([Schema.String, Schema.Null]),
1551
+ ),
1552
+ parameterSchemas: Schema.optional(
1553
+ Schema.Union([
1554
+ Schema.Struct({
1555
+ parameters: Schema.optional(
1556
+ Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
1557
+ ),
1558
+ responses: Schema.optional(Schema.Null),
1559
+ }),
1560
+ Schema.Null,
1561
+ ]),
1562
+ ),
1563
+ }).pipe(
1564
+ Schema.encodeKeys({
1565
+ lastUpdated: "last_updated",
1566
+ parameterSchemas: "parameter_schemas",
1567
+ }),
1568
+ ),
1569
+ }).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })),
1539
1570
  Schema.Struct({
1540
1571
  thresholds: Schema.optional(
1541
1572
  Schema.Union([
@@ -1584,29 +1615,6 @@ export const CreateOperationResponse =
1584
1615
  ]),
1585
1616
  ),
1586
1617
  }),
1587
- Schema.Struct({
1588
- parameterSchemas: Schema.Struct({
1589
- lastUpdated: Schema.optional(
1590
- Schema.Union([Schema.String, Schema.Null]),
1591
- ),
1592
- parameterSchemas: Schema.optional(
1593
- Schema.Union([
1594
- Schema.Struct({
1595
- parameters: Schema.optional(
1596
- Schema.Union([Schema.Array(Schema.Unknown), Schema.Null]),
1597
- ),
1598
- responses: Schema.optional(Schema.Null),
1599
- }),
1600
- Schema.Null,
1601
- ]),
1602
- ),
1603
- }).pipe(
1604
- Schema.encodeKeys({
1605
- lastUpdated: "last_updated",
1606
- parameterSchemas: "parameter_schemas",
1607
- }),
1608
- ),
1609
- }).pipe(Schema.encodeKeys({ parameterSchemas: "parameter_schemas" })),
1610
1618
  Schema.Struct({
1611
1619
  apiRouting: Schema.optional(
1612
1620
  Schema.Union([
@@ -2057,6 +2065,34 @@ export const BulkCreateOperationsResponse =
2057
2065
  features: Schema.optional(
2058
2066
  Schema.Union([
2059
2067
  Schema.Union([
2068
+ Schema.Struct({
2069
+ parameterSchemas: Schema.Struct({
2070
+ lastUpdated: Schema.optional(
2071
+ Schema.Union([Schema.String, Schema.Null]),
2072
+ ),
2073
+ parameterSchemas: Schema.optional(
2074
+ Schema.Union([
2075
+ Schema.Struct({
2076
+ parameters: Schema.optional(
2077
+ Schema.Union([
2078
+ Schema.Array(Schema.Unknown),
2079
+ Schema.Null,
2080
+ ]),
2081
+ ),
2082
+ responses: Schema.optional(Schema.Null),
2083
+ }),
2084
+ Schema.Null,
2085
+ ]),
2086
+ ),
2087
+ }).pipe(
2088
+ Schema.encodeKeys({
2089
+ lastUpdated: "last_updated",
2090
+ parameterSchemas: "parameter_schemas",
2091
+ }),
2092
+ ),
2093
+ }).pipe(
2094
+ Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
2095
+ ),
2060
2096
  Schema.Struct({
2061
2097
  thresholds: Schema.optional(
2062
2098
  Schema.Union([
@@ -2105,34 +2141,6 @@ export const BulkCreateOperationsResponse =
2105
2141
  ]),
2106
2142
  ),
2107
2143
  }),
2108
- Schema.Struct({
2109
- parameterSchemas: Schema.Struct({
2110
- lastUpdated: Schema.optional(
2111
- Schema.Union([Schema.String, Schema.Null]),
2112
- ),
2113
- parameterSchemas: Schema.optional(
2114
- Schema.Union([
2115
- Schema.Struct({
2116
- parameters: Schema.optional(
2117
- Schema.Union([
2118
- Schema.Array(Schema.Unknown),
2119
- Schema.Null,
2120
- ]),
2121
- ),
2122
- responses: Schema.optional(Schema.Null),
2123
- }),
2124
- Schema.Null,
2125
- ]),
2126
- ),
2127
- }).pipe(
2128
- Schema.encodeKeys({
2129
- lastUpdated: "last_updated",
2130
- parameterSchemas: "parameter_schemas",
2131
- }),
2132
- ),
2133
- }).pipe(
2134
- Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
2135
- ),
2136
2144
  Schema.Struct({
2137
2145
  apiRouting: Schema.optional(
2138
2146
  Schema.Union([
@@ -2953,6 +2961,8 @@ export const getUserSchema: API.OperationMethod<
2953
2961
  export interface ListUserSchemasRequest {
2954
2962
  /** Path param: Identifier. */
2955
2963
  zoneId: string;
2964
+ page?: number;
2965
+ perPage?: number;
2956
2966
  /** Query param: Omit the source-files of schemas and only retrieve their meta-data. */
2957
2967
  omitSource?: boolean;
2958
2968
  /** Query param: Flag whether schema is enabled for validation. */
@@ -2962,6 +2972,8 @@ export interface ListUserSchemasRequest {
2962
2972
  export const ListUserSchemasRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
2963
2973
  {
2964
2974
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2975
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
2976
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
2965
2977
  omitSource: Schema.optional(Schema.Boolean).pipe(
2966
2978
  T.HttpQuery("omit_source"),
2967
2979
  ),
@@ -3356,11 +3368,15 @@ export const deleteUserSchema: API.OperationMethod<
3356
3368
  export interface ListUserSchemaHostsRequest {
3357
3369
  /** Path param: Identifier. */
3358
3370
  zoneId: string;
3371
+ page?: number;
3372
+ perPage?: number;
3359
3373
  }
3360
3374
 
3361
3375
  export const ListUserSchemaHostsRequest =
3362
3376
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3363
3377
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3378
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
3379
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
3364
3380
  }).pipe(
3365
3381
  T.Http({
3366
3382
  method: "GET",
@@ -3445,6 +3461,8 @@ export interface ListUserSchemaOperationsRequest {
3445
3461
  schemaId: string;
3446
3462
  /** Path param: Identifier. */
3447
3463
  zoneId: string;
3464
+ page?: number;
3465
+ perPage?: number;
3448
3466
  /** Query param: Filter results to only include endpoints containing this pattern. */
3449
3467
  endpoint?: string;
3450
3468
  /** Query param: Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the spe */
@@ -3461,6 +3479,8 @@ export const ListUserSchemaOperationsRequest =
3461
3479
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3462
3480
  schemaId: Schema.String.pipe(T.HttpPath("schemaId")),
3463
3481
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3482
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
3483
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
3464
3484
  endpoint: Schema.optional(Schema.String).pipe(T.HttpQuery("endpoint")),
3465
3485
  feature: Schema.optional(
3466
3486
  Schema.Array(
@@ -3611,6 +3631,34 @@ export const ListUserSchemaOperationsResponse =
3611
3631
  features: Schema.optional(
3612
3632
  Schema.Union([
3613
3633
  Schema.Union([
3634
+ Schema.Struct({
3635
+ parameterSchemas: Schema.Struct({
3636
+ lastUpdated: Schema.optional(
3637
+ Schema.Union([Schema.String, Schema.Null]),
3638
+ ),
3639
+ parameterSchemas: Schema.optional(
3640
+ Schema.Union([
3641
+ Schema.Struct({
3642
+ parameters: Schema.optional(
3643
+ Schema.Union([
3644
+ Schema.Array(Schema.Unknown),
3645
+ Schema.Null,
3646
+ ]),
3647
+ ),
3648
+ responses: Schema.optional(Schema.Null),
3649
+ }),
3650
+ Schema.Null,
3651
+ ]),
3652
+ ),
3653
+ }).pipe(
3654
+ Schema.encodeKeys({
3655
+ lastUpdated: "last_updated",
3656
+ parameterSchemas: "parameter_schemas",
3657
+ }),
3658
+ ),
3659
+ }).pipe(
3660
+ Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
3661
+ ),
3614
3662
  Schema.Struct({
3615
3663
  thresholds: Schema.optional(
3616
3664
  Schema.Union([
@@ -3659,34 +3707,6 @@ export const ListUserSchemaOperationsResponse =
3659
3707
  ]),
3660
3708
  ),
3661
3709
  }),
3662
- Schema.Struct({
3663
- parameterSchemas: Schema.Struct({
3664
- lastUpdated: Schema.optional(
3665
- Schema.Union([Schema.String, Schema.Null]),
3666
- ),
3667
- parameterSchemas: Schema.optional(
3668
- Schema.Union([
3669
- Schema.Struct({
3670
- parameters: Schema.optional(
3671
- Schema.Union([
3672
- Schema.Array(Schema.Unknown),
3673
- Schema.Null,
3674
- ]),
3675
- ),
3676
- responses: Schema.optional(Schema.Null),
3677
- }),
3678
- Schema.Null,
3679
- ]),
3680
- ),
3681
- }).pipe(
3682
- Schema.encodeKeys({
3683
- lastUpdated: "last_updated",
3684
- parameterSchemas: "parameter_schemas",
3685
- }),
3686
- ),
3687
- }).pipe(
3688
- Schema.encodeKeys({ parameterSchemas: "parameter_schemas" }),
3689
- ),
3690
3710
  Schema.Struct({
3691
3711
  apiRouting: Schema.optional(
3692
3712
  Schema.Union([
@@ -19,6 +19,8 @@ import { type DefaultErrors } from "../errors.ts";
19
19
  export interface ListAuditLogsRequest {
20
20
  /** Path param: Identifier */
21
21
  accountId: string;
22
+ page?: number;
23
+ perPage?: number;
22
24
  /** Query param: Finds a specific log by its ID. */
23
25
  id?: string;
24
26
  /** Query param: */
@@ -41,6 +43,8 @@ export interface ListAuditLogsRequest {
41
43
 
42
44
  export const ListAuditLogsRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
43
45
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
46
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
47
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
44
48
  id: Schema.optional(Schema.String).pipe(T.HttpQuery("id")),
45
49
  action: Schema.optional(
46
50
  Schema.Struct({
@@ -162,6 +162,8 @@ export const getClientCertificate: API.OperationMethod<
162
162
  export interface ListClientCertificatesRequest {
163
163
  /** Path param: Identifier. */
164
164
  zoneId: string;
165
+ page?: number;
166
+ perPage?: number;
165
167
  /** Query param: Limit to the number of records returned. */
166
168
  limit?: number;
167
169
  /** Query param: Offset the results */
@@ -178,6 +180,8 @@ export interface ListClientCertificatesRequest {
178
180
  export const ListClientCertificatesRequest =
179
181
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
180
182
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
183
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
184
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
181
185
  limit: Schema.optional(Schema.Number).pipe(T.HttpQuery("limit")),
182
186
  offset: Schema.optional(Schema.Number).pipe(T.HttpQuery("offset")),
183
187
  status: Schema.optional(
@@ -81,18 +81,18 @@ export const GetDirectoryServiceResponse =
81
81
  host: Schema.Union([
82
82
  Schema.Struct({
83
83
  ipv4: Schema.String,
84
+ ipv6: Schema.String,
84
85
  network: Schema.Struct({
85
86
  tunnelId: Schema.String,
86
87
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
87
88
  }),
88
89
  Schema.Struct({
89
- ipv6: Schema.String,
90
+ ipv4: Schema.String,
90
91
  network: Schema.Struct({
91
92
  tunnelId: Schema.String,
92
93
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
93
94
  }),
94
95
  Schema.Struct({
95
- ipv4: Schema.String,
96
96
  ipv6: Schema.String,
97
97
  network: Schema.Struct({
98
98
  tunnelId: Schema.String,
@@ -158,6 +158,8 @@ export const getDirectoryService: API.OperationMethod<
158
158
  export interface ListDirectoryServicesRequest {
159
159
  /** Path param: Account identifier */
160
160
  accountId: string;
161
+ page?: number;
162
+ perPage?: number;
161
163
  /** Query param: */
162
164
  type?: "http" | null;
163
165
  }
@@ -165,6 +167,8 @@ export interface ListDirectoryServicesRequest {
165
167
  export const ListDirectoryServicesRequest =
166
168
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
167
169
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
170
+ page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
171
+ perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
168
172
  type: Schema.optional(
169
173
  Schema.Union([Schema.Literal("http"), Schema.Null]),
170
174
  ).pipe(T.HttpQuery("type")),
@@ -208,18 +212,18 @@ export const ListDirectoryServicesResponse =
208
212
  host: Schema.Union([
209
213
  Schema.Struct({
210
214
  ipv4: Schema.String,
215
+ ipv6: Schema.String,
211
216
  network: Schema.Struct({
212
217
  tunnelId: Schema.String,
213
218
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
214
219
  }),
215
220
  Schema.Struct({
216
- ipv6: Schema.String,
221
+ ipv4: Schema.String,
217
222
  network: Schema.Struct({
218
223
  tunnelId: Schema.String,
219
224
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
220
225
  }),
221
226
  Schema.Struct({
222
- ipv4: Schema.String,
223
227
  ipv6: Schema.String,
224
228
  network: Schema.Struct({
225
229
  tunnelId: Schema.String,
@@ -337,18 +341,18 @@ export const CreateDirectoryServiceRequest =
337
341
  host: Schema.Union([
338
342
  Schema.Struct({
339
343
  ipv4: Schema.String,
344
+ ipv6: Schema.String,
340
345
  network: Schema.Struct({
341
346
  tunnelId: Schema.String,
342
347
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
343
348
  }),
344
349
  Schema.Struct({
345
- ipv6: Schema.String,
350
+ ipv4: Schema.String,
346
351
  network: Schema.Struct({
347
352
  tunnelId: Schema.String,
348
353
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
349
354
  }),
350
355
  Schema.Struct({
351
- ipv4: Schema.String,
352
356
  ipv6: Schema.String,
353
357
  network: Schema.Struct({
354
358
  tunnelId: Schema.String,
@@ -415,18 +419,18 @@ export const CreateDirectoryServiceResponse =
415
419
  host: Schema.Union([
416
420
  Schema.Struct({
417
421
  ipv4: Schema.String,
422
+ ipv6: Schema.String,
418
423
  network: Schema.Struct({
419
424
  tunnelId: Schema.String,
420
425
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
421
426
  }),
422
427
  Schema.Struct({
423
- ipv6: Schema.String,
428
+ ipv4: Schema.String,
424
429
  network: Schema.Struct({
425
430
  tunnelId: Schema.String,
426
431
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
427
432
  }),
428
433
  Schema.Struct({
429
- ipv4: Schema.String,
430
434
  ipv6: Schema.String,
431
435
  network: Schema.Struct({
432
436
  tunnelId: Schema.String,
@@ -522,18 +526,18 @@ export const UpdateDirectoryServiceRequest =
522
526
  host: Schema.Union([
523
527
  Schema.Struct({
524
528
  ipv4: Schema.String,
529
+ ipv6: Schema.String,
525
530
  network: Schema.Struct({
526
531
  tunnelId: Schema.String,
527
532
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
528
533
  }),
529
534
  Schema.Struct({
530
- ipv6: Schema.String,
535
+ ipv4: Schema.String,
531
536
  network: Schema.Struct({
532
537
  tunnelId: Schema.String,
533
538
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
534
539
  }),
535
540
  Schema.Struct({
536
- ipv4: Schema.String,
537
541
  ipv6: Schema.String,
538
542
  network: Schema.Struct({
539
543
  tunnelId: Schema.String,
@@ -600,18 +604,18 @@ export const UpdateDirectoryServiceResponse =
600
604
  host: Schema.Union([
601
605
  Schema.Struct({
602
606
  ipv4: Schema.String,
607
+ ipv6: Schema.String,
603
608
  network: Schema.Struct({
604
609
  tunnelId: Schema.String,
605
610
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
606
611
  }),
607
612
  Schema.Struct({
608
- ipv6: Schema.String,
613
+ ipv4: Schema.String,
609
614
  network: Schema.Struct({
610
615
  tunnelId: Schema.String,
611
616
  }).pipe(Schema.encodeKeys({ tunnelId: "tunnel_id" })),
612
617
  }),
613
618
  Schema.Struct({
614
- ipv4: Schema.String,
615
619
  ipv6: Schema.String,
616
620
  network: Schema.Struct({
617
621
  tunnelId: Schema.String,