cloudflare 3.0.0-beta.12 → 3.0.0-beta.14

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 (297) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/index.d.mts +3 -0
  3. package/index.d.ts +3 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js.map +1 -1
  6. package/index.mjs.map +1 -1
  7. package/package.json +1 -1
  8. package/resources/d1/database.d.ts +2 -2
  9. package/resources/d1/database.d.ts.map +1 -1
  10. package/resources/dns/records.d.ts +4 -4
  11. package/resources/dns/records.d.ts.map +1 -1
  12. package/resources/firewall/access-rules.d.ts +2 -2
  13. package/resources/firewall/access-rules.js +2 -2
  14. package/resources/firewall/access-rules.mjs +2 -2
  15. package/resources/firewall/waf/overrides.d.ts +3 -3
  16. package/resources/firewall/waf/overrides.d.ts.map +1 -1
  17. package/resources/hostnames/settings/tls.d.ts +2 -2
  18. package/resources/hostnames/settings/tls.d.ts.map +1 -1
  19. package/resources/images/v1/keys.d.ts +2 -2
  20. package/resources/images/v1/keys.d.ts.map +1 -1
  21. package/resources/images/v1/keys.js.map +1 -1
  22. package/resources/images/v1/keys.mjs.map +1 -1
  23. package/resources/images/v1/variants.d.ts +6 -6
  24. package/resources/images/v1/variants.d.ts.map +1 -1
  25. package/resources/images/v1/variants.js.map +1 -1
  26. package/resources/images/v1/variants.mjs.map +1 -1
  27. package/resources/index.d.ts +1 -1
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/intel/domain-history.d.ts +2 -2
  32. package/resources/intel/domain-history.d.ts.map +1 -1
  33. package/resources/intel/domains/bulks.d.ts +2 -2
  34. package/resources/intel/domains/bulks.d.ts.map +1 -1
  35. package/resources/intel/domains/domains.d.ts +2 -2
  36. package/resources/intel/domains/domains.d.ts.map +1 -1
  37. package/resources/intel/ips.d.ts +2 -2
  38. package/resources/intel/ips.d.ts.map +1 -1
  39. package/resources/intel/miscategorizations.d.ts +4 -4
  40. package/resources/intel/miscategorizations.d.ts.map +1 -1
  41. package/resources/load-balancers/previews.d.ts +1 -1
  42. package/resources/load-balancers/previews.d.ts.map +1 -1
  43. package/resources/load-balancers/previews.js.map +1 -1
  44. package/resources/load-balancers/previews.mjs.map +1 -1
  45. package/resources/magic-network-monitoring/configs/configs.d.ts +5 -5
  46. package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
  47. package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
  48. package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
  49. package/resources/magic-network-monitoring/rules/advertisements.d.ts +2 -2
  50. package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
  51. package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
  52. package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
  53. package/resources/magic-network-monitoring/rules/rules.d.ts +10 -10
  54. package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
  55. package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
  56. package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
  57. package/resources/page-shield/connections.d.ts +10 -10
  58. package/resources/page-shield/connections.d.ts.map +1 -1
  59. package/resources/page-shield/scripts.d.ts +30 -30
  60. package/resources/page-shield/scripts.d.ts.map +1 -1
  61. package/resources/queues/consumers.d.ts +36 -29
  62. package/resources/queues/consumers.d.ts.map +1 -1
  63. package/resources/queues/consumers.js +8 -8
  64. package/resources/queues/consumers.js.map +1 -1
  65. package/resources/queues/consumers.mjs +8 -8
  66. package/resources/queues/consumers.mjs.map +1 -1
  67. package/resources/queues/index.d.ts +3 -2
  68. package/resources/queues/index.d.ts.map +1 -1
  69. package/resources/queues/index.js +3 -1
  70. package/resources/queues/index.js.map +1 -1
  71. package/resources/queues/index.mjs +1 -0
  72. package/resources/queues/index.mjs.map +1 -1
  73. package/resources/queues/messages.d.ts +137 -0
  74. package/resources/queues/messages.d.ts.map +1 -0
  75. package/resources/queues/messages.js +31 -0
  76. package/resources/queues/messages.js.map +1 -0
  77. package/resources/queues/messages.mjs +27 -0
  78. package/resources/queues/messages.mjs.map +1 -0
  79. package/resources/queues/queues.d.ts +54 -8
  80. package/resources/queues/queues.d.ts.map +1 -1
  81. package/resources/queues/queues.js +11 -11
  82. package/resources/queues/queues.js.map +1 -1
  83. package/resources/queues/queues.mjs +11 -11
  84. package/resources/queues/queues.mjs.map +1 -1
  85. package/resources/registrar/domains.d.ts +6 -6
  86. package/resources/registrar/domains.d.ts.map +1 -1
  87. package/resources/rulesets/rules.d.ts +1 -1
  88. package/resources/rulesets/rules.js +1 -1
  89. package/resources/rulesets/rules.mjs +1 -1
  90. package/resources/secondary-dns/acls.d.ts +10 -10
  91. package/resources/secondary-dns/acls.d.ts.map +1 -1
  92. package/resources/secondary-dns/acls.js.map +1 -1
  93. package/resources/secondary-dns/acls.mjs.map +1 -1
  94. package/resources/secondary-dns/force-axfr.d.ts +1 -1
  95. package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
  96. package/resources/secondary-dns/incoming.d.ts +8 -8
  97. package/resources/secondary-dns/incoming.d.ts.map +1 -1
  98. package/resources/secondary-dns/outgoing/outgoing.d.ts +11 -11
  99. package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
  100. package/resources/secondary-dns/outgoing/status.d.ts +1 -1
  101. package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
  102. package/resources/secondary-dns/peers.d.ts +10 -10
  103. package/resources/secondary-dns/peers.d.ts.map +1 -1
  104. package/resources/secondary-dns/peers.js.map +1 -1
  105. package/resources/secondary-dns/peers.mjs.map +1 -1
  106. package/resources/secondary-dns/tsigs.d.ts +10 -10
  107. package/resources/secondary-dns/tsigs.d.ts.map +1 -1
  108. package/resources/secondary-dns/tsigs.js.map +1 -1
  109. package/resources/secondary-dns/tsigs.mjs.map +1 -1
  110. package/resources/stream/embed.d.ts +2 -2
  111. package/resources/stream/embed.d.ts.map +1 -1
  112. package/resources/stream/embed.js +4 -1
  113. package/resources/stream/embed.js.map +1 -1
  114. package/resources/stream/embed.mjs +4 -1
  115. package/resources/stream/embed.mjs.map +1 -1
  116. package/resources/subscriptions.d.ts +3 -3
  117. package/resources/subscriptions.d.ts.map +1 -1
  118. package/resources/user/load-balancers/preview.d.ts +1 -1
  119. package/resources/user/load-balancers/preview.d.ts.map +1 -1
  120. package/resources/user/load-balancers/preview.js.map +1 -1
  121. package/resources/user/load-balancers/preview.mjs.map +1 -1
  122. package/resources/user/subscriptions.d.ts +4 -4
  123. package/resources/user/subscriptions.d.ts.map +1 -1
  124. package/resources/vectorize/indexes.d.ts +2 -2
  125. package/resources/vectorize/indexes.d.ts.map +1 -1
  126. package/resources/waiting-rooms/events/details.d.ts +2 -2
  127. package/resources/waiting-rooms/events/details.d.ts.map +1 -1
  128. package/resources/waiting-rooms/events/details.js.map +1 -1
  129. package/resources/waiting-rooms/events/details.mjs.map +1 -1
  130. package/resources/waiting-rooms/events/events.d.ts +8 -8
  131. package/resources/waiting-rooms/events/events.d.ts.map +1 -1
  132. package/resources/waiting-rooms/events/events.js.map +1 -1
  133. package/resources/waiting-rooms/events/events.mjs.map +1 -1
  134. package/resources/waiting-rooms/rules.d.ts +5 -5
  135. package/resources/waiting-rooms/rules.d.ts.map +1 -1
  136. package/resources/waiting-rooms/rules.js.map +1 -1
  137. package/resources/waiting-rooms/rules.mjs.map +1 -1
  138. package/resources/waiting-rooms/statuses.d.ts +1 -1
  139. package/resources/waiting-rooms/statuses.d.ts.map +1 -1
  140. package/resources/waiting-rooms/statuses.js.map +1 -1
  141. package/resources/waiting-rooms/statuses.mjs.map +1 -1
  142. package/resources/waiting-rooms/waiting-rooms.d.ts +6 -6
  143. package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
  144. package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
  145. package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
  146. package/resources/workers/account-settings.d.ts +1 -1
  147. package/resources/workers/account-settings.d.ts.map +1 -1
  148. package/resources/workers/domains.d.ts +10 -10
  149. package/resources/workers/domains.d.ts.map +1 -1
  150. package/resources/workers/domains.js.map +1 -1
  151. package/resources/workers/domains.mjs.map +1 -1
  152. package/resources/workers/scripts/schedules.d.ts +1 -1
  153. package/resources/workers/scripts/schedules.d.ts.map +1 -1
  154. package/resources/workers/scripts/usage-model.d.ts +1 -1
  155. package/resources/workers/scripts/usage-model.d.ts.map +1 -1
  156. package/resources/workers/subdomains.d.ts +1 -1
  157. package/resources/workers/subdomains.d.ts.map +1 -1
  158. package/resources/zero-trust/access/applications/applications.d.ts +3 -3
  159. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  160. package/resources/zero-trust/access/bookmarks.d.ts +5 -5
  161. package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
  162. package/resources/zero-trust/access/bookmarks.js.map +1 -1
  163. package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
  164. package/resources/zero-trust/access/logs/access-requests.d.ts +1 -1
  165. package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
  166. package/resources/zero-trust/devices/devices.d.ts +2 -2
  167. package/resources/zero-trust/devices/devices.d.ts.map +1 -1
  168. package/resources/zero-trust/devices/dex-tests.d.ts +5 -5
  169. package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
  170. package/resources/zero-trust/devices/networks.d.ts +5 -5
  171. package/resources/zero-trust/devices/networks.d.ts.map +1 -1
  172. package/resources/zero-trust/devices/override-codes.d.ts +6 -6
  173. package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
  174. package/resources/zero-trust/devices/policies/default-policy.d.ts +1 -1
  175. package/resources/zero-trust/devices/policies/default-policy.d.ts.map +1 -1
  176. package/resources/zero-trust/devices/policies/excludes.d.ts +3 -3
  177. package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
  178. package/resources/zero-trust/devices/policies/fallback-domains.d.ts +3 -3
  179. package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
  180. package/resources/zero-trust/devices/policies/includes.d.ts +3 -3
  181. package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
  182. package/resources/zero-trust/devices/policies/policies.d.ts +5 -5
  183. package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
  184. package/resources/zero-trust/devices/posture/integrations.d.ts +5 -5
  185. package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
  186. package/resources/zero-trust/devices/posture/posture.d.ts +5 -5
  187. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  188. package/resources/zero-trust/devices/revoke.d.ts +1 -1
  189. package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
  190. package/resources/zero-trust/devices/settings.d.ts +2 -2
  191. package/resources/zero-trust/devices/settings.d.ts.map +1 -1
  192. package/resources/zero-trust/devices/unrevoke.d.ts +1 -1
  193. package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
  194. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +2 -2
  195. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
  196. package/resources/zero-trust/gateway/configurations.d.ts +3 -3
  197. package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
  198. package/resources/zero-trust/gateway/gateway.d.ts +2 -2
  199. package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
  200. package/resources/zero-trust/gateway/lists/items.d.ts +1 -1
  201. package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
  202. package/resources/zero-trust/gateway/lists/lists.d.ts +6 -6
  203. package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
  204. package/resources/zero-trust/gateway/locations.d.ts +9 -9
  205. package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
  206. package/resources/zero-trust/gateway/locations.js.map +1 -1
  207. package/resources/zero-trust/gateway/locations.mjs.map +1 -1
  208. package/resources/zero-trust/gateway/logging.d.ts +2 -2
  209. package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
  210. package/resources/zero-trust/gateway/proxy-endpoints.d.ts +9 -9
  211. package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
  212. package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
  213. package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
  214. package/resources/zero-trust/gateway/rules.d.ts +5 -5
  215. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  216. package/resources/zones/subscriptions.d.ts +2 -2
  217. package/resources/zones/subscriptions.d.ts.map +1 -1
  218. package/src/index.ts +3 -0
  219. package/src/resources/d1/database.ts +2 -2
  220. package/src/resources/dns/records.ts +4 -4
  221. package/src/resources/firewall/access-rules.ts +2 -2
  222. package/src/resources/firewall/waf/overrides.ts +3 -3
  223. package/src/resources/hostnames/settings/tls.ts +2 -2
  224. package/src/resources/images/v1/keys.ts +2 -2
  225. package/src/resources/images/v1/variants.ts +6 -6
  226. package/src/resources/index.ts +3 -0
  227. package/src/resources/intel/domain-history.ts +2 -2
  228. package/src/resources/intel/domains/bulks.ts +2 -2
  229. package/src/resources/intel/domains/domains.ts +2 -2
  230. package/src/resources/intel/ips.ts +2 -2
  231. package/src/resources/intel/miscategorizations.ts +4 -4
  232. package/src/resources/load-balancers/previews.ts +1 -1
  233. package/src/resources/magic-network-monitoring/configs/configs.ts +5 -5
  234. package/src/resources/magic-network-monitoring/configs/full.ts +1 -1
  235. package/src/resources/magic-network-monitoring/rules/advertisements.ts +2 -2
  236. package/src/resources/magic-network-monitoring/rules/rules.ts +10 -10
  237. package/src/resources/page-shield/connections.ts +10 -10
  238. package/src/resources/page-shield/scripts.ts +30 -30
  239. package/src/resources/queues/consumers.ts +50 -44
  240. package/src/resources/queues/index.ts +15 -3
  241. package/src/resources/queues/messages.ts +210 -0
  242. package/src/resources/queues/queues.ts +89 -20
  243. package/src/resources/registrar/domains.ts +6 -6
  244. package/src/resources/rulesets/rules.ts +1 -1
  245. package/src/resources/secondary-dns/acls.ts +10 -10
  246. package/src/resources/secondary-dns/force-axfr.ts +1 -1
  247. package/src/resources/secondary-dns/incoming.ts +8 -8
  248. package/src/resources/secondary-dns/outgoing/outgoing.ts +11 -11
  249. package/src/resources/secondary-dns/outgoing/status.ts +1 -1
  250. package/src/resources/secondary-dns/peers.ts +10 -10
  251. package/src/resources/secondary-dns/tsigs.ts +10 -10
  252. package/src/resources/stream/embed.ts +6 -3
  253. package/src/resources/subscriptions.ts +3 -3
  254. package/src/resources/user/load-balancers/preview.ts +1 -1
  255. package/src/resources/user/subscriptions.ts +4 -4
  256. package/src/resources/vectorize/indexes.ts +2 -2
  257. package/src/resources/waiting-rooms/events/details.ts +3 -3
  258. package/src/resources/waiting-rooms/events/events.ts +12 -12
  259. package/src/resources/waiting-rooms/rules.ts +5 -5
  260. package/src/resources/waiting-rooms/statuses.ts +1 -1
  261. package/src/resources/waiting-rooms/waiting-rooms.ts +6 -6
  262. package/src/resources/workers/account-settings.ts +1 -1
  263. package/src/resources/workers/domains.ts +10 -14
  264. package/src/resources/workers/scripts/schedules.ts +1 -1
  265. package/src/resources/workers/scripts/usage-model.ts +1 -1
  266. package/src/resources/workers/subdomains.ts +1 -1
  267. package/src/resources/zero-trust/access/applications/applications.ts +3 -3
  268. package/src/resources/zero-trust/access/bookmarks.ts +5 -5
  269. package/src/resources/zero-trust/access/logs/access-requests.ts +1 -1
  270. package/src/resources/zero-trust/devices/devices.ts +2 -2
  271. package/src/resources/zero-trust/devices/dex-tests.ts +5 -5
  272. package/src/resources/zero-trust/devices/networks.ts +5 -5
  273. package/src/resources/zero-trust/devices/override-codes.ts +6 -6
  274. package/src/resources/zero-trust/devices/policies/default-policy.ts +1 -1
  275. package/src/resources/zero-trust/devices/policies/excludes.ts +3 -3
  276. package/src/resources/zero-trust/devices/policies/fallback-domains.ts +3 -3
  277. package/src/resources/zero-trust/devices/policies/includes.ts +3 -3
  278. package/src/resources/zero-trust/devices/policies/policies.ts +5 -5
  279. package/src/resources/zero-trust/devices/posture/integrations.ts +5 -5
  280. package/src/resources/zero-trust/devices/posture/posture.ts +5 -5
  281. package/src/resources/zero-trust/devices/revoke.ts +1 -1
  282. package/src/resources/zero-trust/devices/settings.ts +2 -2
  283. package/src/resources/zero-trust/devices/unrevoke.ts +1 -1
  284. package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +2 -2
  285. package/src/resources/zero-trust/gateway/configurations.ts +3 -3
  286. package/src/resources/zero-trust/gateway/gateway.ts +2 -2
  287. package/src/resources/zero-trust/gateway/lists/items.ts +1 -1
  288. package/src/resources/zero-trust/gateway/lists/lists.ts +6 -6
  289. package/src/resources/zero-trust/gateway/locations.ts +9 -9
  290. package/src/resources/zero-trust/gateway/logging.ts +2 -2
  291. package/src/resources/zero-trust/gateway/proxy-endpoints.ts +9 -9
  292. package/src/resources/zero-trust/gateway/rules.ts +5 -5
  293. package/src/resources/zones/subscriptions.ts +2 -2
  294. package/src/version.ts +1 -1
  295. package/version.d.ts +1 -1
  296. package/version.js +1 -1
  297. package/version.mjs +1 -1
@@ -22,7 +22,7 @@ export class ACLs extends APIResource {
22
22
  * Modify ACL.
23
23
  */
24
24
  update(
25
- aclId: unknown,
25
+ aclId: string,
26
26
  params: ACLUpdateParams,
27
27
  options?: Core.RequestOptions,
28
28
  ): Core.APIPromise<SecondaryDNSACL> {
@@ -51,7 +51,7 @@ export class ACLs extends APIResource {
51
51
  * Delete ACL.
52
52
  */
53
53
  delete(
54
- aclId: unknown,
54
+ aclId: string,
55
55
  params: ACLDeleteParams,
56
56
  options?: Core.RequestOptions,
57
57
  ): Core.APIPromise<ACLDeleteResponse> {
@@ -66,7 +66,7 @@ export class ACLs extends APIResource {
66
66
  /**
67
67
  * Get ACL.
68
68
  */
69
- get(aclId: unknown, params: ACLGetParams, options?: Core.RequestOptions): Core.APIPromise<SecondaryDNSACL> {
69
+ get(aclId: string, params: ACLGetParams, options?: Core.RequestOptions): Core.APIPromise<SecondaryDNSACL> {
70
70
  const { account_id } = params;
71
71
  return (
72
72
  this._client.get(`/accounts/${account_id}/secondary_dns/acls/${aclId}`, options) as Core.APIPromise<{
@@ -77,7 +77,7 @@ export class ACLs extends APIResource {
77
77
  }
78
78
 
79
79
  export interface SecondaryDNSACL {
80
- id: unknown;
80
+ id: string;
81
81
 
82
82
  /**
83
83
  * Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will
@@ -97,14 +97,14 @@ export interface SecondaryDNSACL {
97
97
  export type ACLListResponse = Array<SecondaryDNSACL>;
98
98
 
99
99
  export interface ACLDeleteResponse {
100
- id?: unknown;
100
+ id?: string;
101
101
  }
102
102
 
103
103
  export interface ACLCreateParams {
104
104
  /**
105
105
  * Path param:
106
106
  */
107
- account_id: unknown;
107
+ account_id: string;
108
108
 
109
109
  /**
110
110
  * Body param:
@@ -116,7 +116,7 @@ export interface ACLUpdateParams {
116
116
  /**
117
117
  * Path param:
118
118
  */
119
- account_id: unknown;
119
+ account_id: string;
120
120
 
121
121
  /**
122
122
  * Body param: Allowed IPv4/IPv6 address range of primary or secondary nameservers.
@@ -134,15 +134,15 @@ export interface ACLUpdateParams {
134
134
  }
135
135
 
136
136
  export interface ACLListParams {
137
- account_id: unknown;
137
+ account_id: string;
138
138
  }
139
139
 
140
140
  export interface ACLDeleteParams {
141
- account_id: unknown;
141
+ account_id: string;
142
142
  }
143
143
 
144
144
  export interface ACLGetParams {
145
- account_id: unknown;
145
+ account_id: string;
146
146
  }
147
147
 
148
148
  export namespace ACLs {
@@ -27,7 +27,7 @@ export class ForceAXFR extends APIResource {
27
27
  export type SecondaryDNSForceResult = string;
28
28
 
29
29
  export interface ForceAXFRCreateParams {
30
- zone_id: unknown;
30
+ zone_id: string;
31
31
  }
32
32
 
33
33
  export namespace ForceAXFR {
@@ -64,7 +64,7 @@ export class Incoming extends APIResource {
64
64
  }
65
65
 
66
66
  export interface IncomingCreateResponse {
67
- id?: unknown;
67
+ id?: string;
68
68
 
69
69
  /**
70
70
  * How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
@@ -104,7 +104,7 @@ export interface IncomingCreateResponse {
104
104
  }
105
105
 
106
106
  export interface IncomingUpdateResponse {
107
- id?: unknown;
107
+ id?: string;
108
108
 
109
109
  /**
110
110
  * How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
@@ -144,11 +144,11 @@ export interface IncomingUpdateResponse {
144
144
  }
145
145
 
146
146
  export interface IncomingDeleteResponse {
147
- id?: unknown;
147
+ id?: string;
148
148
  }
149
149
 
150
150
  export interface IncomingGetResponse {
151
- id?: unknown;
151
+ id?: string;
152
152
 
153
153
  /**
154
154
  * How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
@@ -191,7 +191,7 @@ export interface IncomingCreateParams {
191
191
  /**
192
192
  * Path param:
193
193
  */
194
- zone_id: unknown;
194
+ zone_id: string;
195
195
 
196
196
  /**
197
197
  * Body param: How often should a secondary zone auto refresh regardless of DNS
@@ -214,7 +214,7 @@ export interface IncomingUpdateParams {
214
214
  /**
215
215
  * Path param:
216
216
  */
217
- zone_id: unknown;
217
+ zone_id: string;
218
218
 
219
219
  /**
220
220
  * Body param: How often should a secondary zone auto refresh regardless of DNS
@@ -234,11 +234,11 @@ export interface IncomingUpdateParams {
234
234
  }
235
235
 
236
236
  export interface IncomingDeleteParams {
237
- zone_id: unknown;
237
+ zone_id: string;
238
238
  }
239
239
 
240
240
  export interface IncomingGetParams {
241
- zone_id: unknown;
241
+ zone_id: string;
242
242
  }
243
243
 
244
244
  export namespace Incoming {
@@ -129,7 +129,7 @@ export type SecondaryDNSEnableTransferResult = string;
129
129
  export type SecondaryDNSSchemasForceResult = string;
130
130
 
131
131
  export interface OutgoingCreateResponse {
132
- id?: unknown;
132
+ id?: string;
133
133
 
134
134
  /**
135
135
  * The time for a specific event.
@@ -163,7 +163,7 @@ export interface OutgoingCreateResponse {
163
163
  }
164
164
 
165
165
  export interface OutgoingUpdateResponse {
166
- id?: unknown;
166
+ id?: string;
167
167
 
168
168
  /**
169
169
  * The time for a specific event.
@@ -197,11 +197,11 @@ export interface OutgoingUpdateResponse {
197
197
  }
198
198
 
199
199
  export interface OutgoingDeleteResponse {
200
- id?: unknown;
200
+ id?: string;
201
201
  }
202
202
 
203
203
  export interface OutgoingGetResponse {
204
- id?: unknown;
204
+ id?: string;
205
205
 
206
206
  /**
207
207
  * The time for a specific event.
@@ -238,7 +238,7 @@ export interface OutgoingCreateParams {
238
238
  /**
239
239
  * Path param:
240
240
  */
241
- zone_id: unknown;
241
+ zone_id: string;
242
242
 
243
243
  /**
244
244
  * Body param: Zone name.
@@ -255,7 +255,7 @@ export interface OutgoingUpdateParams {
255
255
  /**
256
256
  * Path param:
257
257
  */
258
- zone_id: unknown;
258
+ zone_id: string;
259
259
 
260
260
  /**
261
261
  * Body param: Zone name.
@@ -269,23 +269,23 @@ export interface OutgoingUpdateParams {
269
269
  }
270
270
 
271
271
  export interface OutgoingDeleteParams {
272
- zone_id: unknown;
272
+ zone_id: string;
273
273
  }
274
274
 
275
275
  export interface OutgoingDisableParams {
276
- zone_id: unknown;
276
+ zone_id: string;
277
277
  }
278
278
 
279
279
  export interface OutgoingEnableParams {
280
- zone_id: unknown;
280
+ zone_id: string;
281
281
  }
282
282
 
283
283
  export interface OutgoingForceNotifyParams {
284
- zone_id: unknown;
284
+ zone_id: string;
285
285
  }
286
286
 
287
287
  export interface OutgoingGetParams {
288
- zone_id: unknown;
288
+ zone_id: string;
289
289
  }
290
290
 
291
291
  export namespace Outgoing {
@@ -23,7 +23,7 @@ export class Status extends APIResource {
23
23
  }
24
24
 
25
25
  export interface StatusGetParams {
26
- zone_id: unknown;
26
+ zone_id: string;
27
27
  }
28
28
 
29
29
  export namespace Status {
@@ -22,7 +22,7 @@ export class Peers extends APIResource {
22
22
  * Modify Peer.
23
23
  */
24
24
  update(
25
- peerId: unknown,
25
+ peerId: string,
26
26
  params: PeerUpdateParams,
27
27
  options?: Core.RequestOptions,
28
28
  ): Core.APIPromise<SecondaryDNSPeer> {
@@ -51,7 +51,7 @@ export class Peers extends APIResource {
51
51
  * Delete Peer.
52
52
  */
53
53
  delete(
54
- peerId: unknown,
54
+ peerId: string,
55
55
  params: PeerDeleteParams,
56
56
  options?: Core.RequestOptions,
57
57
  ): Core.APIPromise<PeerDeleteResponse> {
@@ -68,7 +68,7 @@ export class Peers extends APIResource {
68
68
  * Get Peer.
69
69
  */
70
70
  get(
71
- peerId: unknown,
71
+ peerId: string,
72
72
  params: PeerGetParams,
73
73
  options?: Core.RequestOptions,
74
74
  ): Core.APIPromise<SecondaryDNSPeer> {
@@ -82,7 +82,7 @@ export class Peers extends APIResource {
82
82
  }
83
83
 
84
84
  export interface SecondaryDNSPeer {
85
- id: unknown;
85
+ id: string;
86
86
 
87
87
  /**
88
88
  * The name of the peer.
@@ -119,14 +119,14 @@ export interface SecondaryDNSPeer {
119
119
  export type PeerListResponse = Array<SecondaryDNSPeer>;
120
120
 
121
121
  export interface PeerDeleteResponse {
122
- id?: unknown;
122
+ id?: string;
123
123
  }
124
124
 
125
125
  export interface PeerCreateParams {
126
126
  /**
127
127
  * Path param:
128
128
  */
129
- account_id: unknown;
129
+ account_id: string;
130
130
 
131
131
  /**
132
132
  * Body param:
@@ -138,7 +138,7 @@ export interface PeerUpdateParams {
138
138
  /**
139
139
  * Path param:
140
140
  */
141
- account_id: unknown;
141
+ account_id: string;
142
142
 
143
143
  /**
144
144
  * Body param: The name of the peer.
@@ -173,15 +173,15 @@ export interface PeerUpdateParams {
173
173
  }
174
174
 
175
175
  export interface PeerListParams {
176
- account_id: unknown;
176
+ account_id: string;
177
177
  }
178
178
 
179
179
  export interface PeerDeleteParams {
180
- account_id: unknown;
180
+ account_id: string;
181
181
  }
182
182
 
183
183
  export interface PeerGetParams {
184
- account_id: unknown;
184
+ account_id: string;
185
185
  }
186
186
 
187
187
  export namespace Peers {
@@ -22,7 +22,7 @@ export class TSIGs extends APIResource {
22
22
  * Modify TSIG.
23
23
  */
24
24
  update(
25
- tsigId: unknown,
25
+ tsigId: string,
26
26
  params: TSIGUpdateParams,
27
27
  options?: Core.RequestOptions,
28
28
  ): Core.APIPromise<SecondaryDNSTSIG> {
@@ -51,7 +51,7 @@ export class TSIGs extends APIResource {
51
51
  * Delete TSIG.
52
52
  */
53
53
  delete(
54
- tsigId: unknown,
54
+ tsigId: string,
55
55
  params: TSIGDeleteParams,
56
56
  options?: Core.RequestOptions,
57
57
  ): Core.APIPromise<TSIGDeleteResponse> {
@@ -68,7 +68,7 @@ export class TSIGs extends APIResource {
68
68
  * Get TSIG.
69
69
  */
70
70
  get(
71
- tsigId: unknown,
71
+ tsigId: string,
72
72
  params: TSIGGetParams,
73
73
  options?: Core.RequestOptions,
74
74
  ): Core.APIPromise<SecondaryDNSTSIG> {
@@ -82,7 +82,7 @@ export class TSIGs extends APIResource {
82
82
  }
83
83
 
84
84
  export interface SecondaryDNSTSIG {
85
- id: unknown;
85
+ id: string;
86
86
 
87
87
  /**
88
88
  * TSIG algorithm.
@@ -103,14 +103,14 @@ export interface SecondaryDNSTSIG {
103
103
  export type TSIGListResponse = Array<SecondaryDNSTSIG>;
104
104
 
105
105
  export interface TSIGDeleteResponse {
106
- id?: unknown;
106
+ id?: string;
107
107
  }
108
108
 
109
109
  export interface TSIGCreateParams {
110
110
  /**
111
111
  * Path param:
112
112
  */
113
- account_id: unknown;
113
+ account_id: string;
114
114
 
115
115
  /**
116
116
  * Body param: TSIG algorithm.
@@ -132,7 +132,7 @@ export interface TSIGUpdateParams {
132
132
  /**
133
133
  * Path param:
134
134
  */
135
- account_id: unknown;
135
+ account_id: string;
136
136
 
137
137
  /**
138
138
  * Body param: TSIG algorithm.
@@ -151,15 +151,15 @@ export interface TSIGUpdateParams {
151
151
  }
152
152
 
153
153
  export interface TSIGListParams {
154
- account_id: unknown;
154
+ account_id: string;
155
155
  }
156
156
 
157
157
  export interface TSIGDeleteParams {
158
- account_id: unknown;
158
+ account_id: string;
159
159
  }
160
160
 
161
161
  export interface TSIGGetParams {
162
- account_id: unknown;
162
+ account_id: string;
163
163
  }
164
164
 
165
165
  export namespace TSIGs {
@@ -10,13 +10,16 @@ export class Embed extends APIResource {
10
10
  * Cloudflare. On success, returns an HTML fragment for use on web pages to display
11
11
  * a video. On failure, returns a JSON response body.
12
12
  */
13
- get(identifier: string, params: EmbedGetParams, options?: Core.RequestOptions): Core.APIPromise<unknown> {
13
+ get(identifier: string, params: EmbedGetParams, options?: Core.RequestOptions): Core.APIPromise<string> {
14
14
  const { account_id } = params;
15
- return this._client.get(`/accounts/${account_id}/stream/${identifier}/embed`, options);
15
+ return this._client.get(`/accounts/${account_id}/stream/${identifier}/embed`, {
16
+ ...options,
17
+ headers: { Accept: 'application/json', ...options?.headers },
18
+ });
16
19
  }
17
20
  }
18
21
 
19
- export type EmbedGetResponse = unknown;
22
+ export type EmbedGetResponse = string;
20
23
 
21
24
  export interface EmbedGetParams {
22
25
  /**
@@ -181,7 +181,7 @@ export namespace SubscriptionListResponse {
181
181
  /**
182
182
  * The ID of the rate plan.
183
183
  */
184
- id?: unknown;
184
+ id?: string;
185
185
 
186
186
  /**
187
187
  * The currency applied to the rate plan subscription.
@@ -304,7 +304,7 @@ export namespace SubscriptionCreateParams {
304
304
  /**
305
305
  * The ID of the rate plan.
306
306
  */
307
- id?: unknown;
307
+ id?: string;
308
308
 
309
309
  /**
310
310
  * The currency applied to the rate plan subscription.
@@ -407,7 +407,7 @@ export namespace SubscriptionUpdateParams {
407
407
  /**
408
408
  * The ID of the rate plan.
409
409
  */
410
- id?: unknown;
410
+ id?: string;
411
411
 
412
412
  /**
413
413
  * The currency applied to the rate plan subscription.
@@ -8,7 +8,7 @@ export class Preview extends APIResource {
8
8
  /**
9
9
  * Get the result of a previous preview operation using the provided preview_id.
10
10
  */
11
- get(previewId: unknown, options?: Core.RequestOptions): Core.APIPromise<LoadBalancingPreviewResult> {
11
+ get(previewId: string, options?: Core.RequestOptions): Core.APIPromise<LoadBalancingPreviewResult> {
12
12
  return (
13
13
  this._client.get(`/user/load_balancers/preview/${previewId}`, options) as Core.APIPromise<{
14
14
  result: LoadBalancingPreviewResult;
@@ -149,7 +149,7 @@ export namespace BillSubsAPISubscription {
149
149
  /**
150
150
  * The ID of the rate plan.
151
151
  */
152
- id?: unknown;
152
+ id?: string;
153
153
 
154
154
  /**
155
155
  * The currency applied to the rate plan subscription.
@@ -307,7 +307,7 @@ export namespace SubscriptionGetResponse {
307
307
  /**
308
308
  * The ID of the rate plan.
309
309
  */
310
- id?: unknown;
310
+ id?: string;
311
311
 
312
312
  /**
313
313
  * The currency applied to the rate plan subscription.
@@ -421,7 +421,7 @@ export namespace SubscriptionUpdateParams {
421
421
  /**
422
422
  * The ID of the rate plan.
423
423
  */
424
- id?: unknown;
424
+ id?: string;
425
425
 
426
426
  /**
427
427
  * The currency applied to the rate plan subscription.
@@ -524,7 +524,7 @@ export namespace SubscriptionEditParams {
524
524
  /**
525
525
  * The ID of the rate plan.
526
526
  */
527
- id?: unknown;
527
+ id?: string;
528
528
 
529
529
  /**
530
530
  * The currency applied to the rate plan subscription.
@@ -175,7 +175,7 @@ export interface VectorizeCreateIndex {
175
175
  /**
176
176
  * Specifies the timestamp the resource was created as an ISO8601 string.
177
177
  */
178
- created_on?: unknown;
178
+ created_on?: string;
179
179
 
180
180
  /**
181
181
  * Specifies the description of the index.
@@ -185,7 +185,7 @@ export interface VectorizeCreateIndex {
185
185
  /**
186
186
  * Specifies the timestamp the resource was modified as an ISO8601 string.
187
187
  */
188
- modified_on?: unknown;
188
+ modified_on?: string;
189
189
 
190
190
  name?: string;
191
191
  }
@@ -11,8 +11,8 @@ export class Details extends APIResource {
11
11
  */
12
12
  get(
13
13
  zoneIdentifier: string,
14
- waitingRoomId: unknown,
15
- eventId: unknown,
14
+ waitingRoomId: string,
15
+ eventId: string,
16
16
  options?: Core.RequestOptions,
17
17
  ): Core.APIPromise<WaitingroomEventDetailsResult> {
18
18
  return (
@@ -25,7 +25,7 @@ export class Details extends APIResource {
25
25
  }
26
26
 
27
27
  export interface WaitingroomEventDetailsResult {
28
- id?: unknown;
28
+ id?: string;
29
29
 
30
30
  created_on?: string;
31
31
 
@@ -18,7 +18,7 @@ export class Events extends APIResource {
18
18
  */
19
19
  create(
20
20
  zoneIdentifier: string,
21
- waitingRoomId: unknown,
21
+ waitingRoomId: string,
22
22
  body: EventCreateParams,
23
23
  options?: Core.RequestOptions,
24
24
  ): Core.APIPromise<WaitingroomEventResult> {
@@ -35,8 +35,8 @@ export class Events extends APIResource {
35
35
  */
36
36
  update(
37
37
  zoneIdentifier: string,
38
- waitingRoomId: unknown,
39
- eventId: unknown,
38
+ waitingRoomId: string,
39
+ eventId: string,
40
40
  body: EventUpdateParams,
41
41
  options?: Core.RequestOptions,
42
42
  ): Core.APIPromise<WaitingroomEventResult> {
@@ -53,7 +53,7 @@ export class Events extends APIResource {
53
53
  */
54
54
  list(
55
55
  zoneIdentifier: string,
56
- waitingRoomId: unknown,
56
+ waitingRoomId: string,
57
57
  options?: Core.RequestOptions,
58
58
  ): Core.APIPromise<EventListResponse | null> {
59
59
  return (
@@ -69,8 +69,8 @@ export class Events extends APIResource {
69
69
  */
70
70
  delete(
71
71
  zoneIdentifier: string,
72
- waitingRoomId: unknown,
73
- eventId: unknown,
72
+ waitingRoomId: string,
73
+ eventId: string,
74
74
  options?: Core.RequestOptions,
75
75
  ): Core.APIPromise<EventDeleteResponse> {
76
76
  return (
@@ -86,8 +86,8 @@ export class Events extends APIResource {
86
86
  */
87
87
  edit(
88
88
  zoneIdentifier: string,
89
- waitingRoomId: unknown,
90
- eventId: unknown,
89
+ waitingRoomId: string,
90
+ eventId: string,
91
91
  body: EventEditParams,
92
92
  options?: Core.RequestOptions,
93
93
  ): Core.APIPromise<WaitingroomEventResult> {
@@ -104,8 +104,8 @@ export class Events extends APIResource {
104
104
  */
105
105
  get(
106
106
  zoneIdentifier: string,
107
- waitingRoomId: unknown,
108
- eventId: unknown,
107
+ waitingRoomId: string,
108
+ eventId: string,
109
109
  options?: Core.RequestOptions,
110
110
  ): Core.APIPromise<WaitingroomEventResult> {
111
111
  return (
@@ -118,7 +118,7 @@ export class Events extends APIResource {
118
118
  }
119
119
 
120
120
  export interface WaitingroomEventResult {
121
- id?: unknown;
121
+ id?: string;
122
122
 
123
123
  created_on?: string;
124
124
 
@@ -212,7 +212,7 @@ export interface WaitingroomEventResult {
212
212
  export type EventListResponse = Array<WaitingroomEventResult>;
213
213
 
214
214
  export interface EventDeleteResponse {
215
- id?: unknown;
215
+ id?: string;
216
216
  }
217
217
 
218
218
  export interface EventCreateParams {
@@ -11,7 +11,7 @@ export class Rules extends APIResource {
11
11
  */
12
12
  create(
13
13
  zoneIdentifier: string,
14
- waitingRoomId: unknown,
14
+ waitingRoomId: string,
15
15
  body: RuleCreateParams,
16
16
  options?: Core.RequestOptions,
17
17
  ): Core.APIPromise<RuleCreateResponse | null> {
@@ -29,7 +29,7 @@ export class Rules extends APIResource {
29
29
  */
30
30
  update(
31
31
  zoneIdentifier: string,
32
- waitingRoomId: unknown,
32
+ waitingRoomId: string,
33
33
  body: RuleUpdateParams,
34
34
  options?: Core.RequestOptions,
35
35
  ): Core.APIPromise<RuleUpdateResponse | null> {
@@ -46,7 +46,7 @@ export class Rules extends APIResource {
46
46
  */
47
47
  list(
48
48
  zoneIdentifier: string,
49
- waitingRoomId: unknown,
49
+ waitingRoomId: string,
50
50
  options?: Core.RequestOptions,
51
51
  ): Core.APIPromise<RuleListResponse | null> {
52
52
  return (
@@ -62,7 +62,7 @@ export class Rules extends APIResource {
62
62
  */
63
63
  delete(
64
64
  zoneIdentifier: string,
65
- waitingRoomId: unknown,
65
+ waitingRoomId: string,
66
66
  ruleId: string,
67
67
  options?: Core.RequestOptions,
68
68
  ): Core.APIPromise<RuleDeleteResponse | null> {
@@ -79,7 +79,7 @@ export class Rules extends APIResource {
79
79
  */
80
80
  edit(
81
81
  zoneIdentifier: string,
82
- waitingRoomId: unknown,
82
+ waitingRoomId: string,
83
83
  ruleId: string,
84
84
  body: RuleEditParams,
85
85
  options?: Core.RequestOptions,
@@ -27,7 +27,7 @@ export class Statuses extends APIResource {
27
27
  */
28
28
  get(
29
29
  zoneIdentifier: string,
30
- waitingRoomId: unknown,
30
+ waitingRoomId: string,
31
31
  options?: Core.RequestOptions,
32
32
  ): Core.APIPromise<StatusGetResponse> {
33
33
  return (