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
@@ -36,7 +36,7 @@ export class WaitingRooms extends APIResource {
36
36
  */
37
37
  update(
38
38
  zoneIdentifier: string,
39
- waitingRoomId: unknown,
39
+ waitingRoomId: string,
40
40
  body: WaitingRoomUpdateParams,
41
41
  options?: Core.RequestOptions,
42
42
  ): Core.APIPromise<WaitingroomWaitingroom> {
@@ -67,7 +67,7 @@ export class WaitingRooms extends APIResource {
67
67
  */
68
68
  delete(
69
69
  zoneIdentifier: string,
70
- waitingRoomId: unknown,
70
+ waitingRoomId: string,
71
71
  options?: Core.RequestOptions,
72
72
  ): Core.APIPromise<WaitingRoomDeleteResponse> {
73
73
  return (
@@ -83,7 +83,7 @@ export class WaitingRooms extends APIResource {
83
83
  */
84
84
  edit(
85
85
  zoneIdentifier: string,
86
- waitingRoomId: unknown,
86
+ waitingRoomId: string,
87
87
  body: WaitingRoomEditParams,
88
88
  options?: Core.RequestOptions,
89
89
  ): Core.APIPromise<WaitingroomWaitingroom> {
@@ -100,7 +100,7 @@ export class WaitingRooms extends APIResource {
100
100
  */
101
101
  get(
102
102
  zoneIdentifier: string,
103
- waitingRoomId: unknown,
103
+ waitingRoomId: string,
104
104
  options?: Core.RequestOptions,
105
105
  ): Core.APIPromise<WaitingroomWaitingroom> {
106
106
  return (
@@ -113,7 +113,7 @@ export class WaitingRooms extends APIResource {
113
113
  }
114
114
 
115
115
  export interface WaitingroomWaitingroom {
116
- id?: unknown;
116
+ id?: string;
117
117
 
118
118
  /**
119
119
  * Only available for the Waiting Room Advanced subscription. Additional hostname
@@ -501,7 +501,7 @@ export namespace WaitingroomWaitingroom {
501
501
  export type WaitingRoomListResponse = Array<WaitingroomWaitingroom>;
502
502
 
503
503
  export interface WaitingRoomDeleteResponse {
504
- id?: unknown;
504
+ id?: string;
505
505
  }
506
506
 
507
507
  export interface WaitingRoomCreateParams {
@@ -58,7 +58,7 @@ export interface AccountSettingUpdateParams {
58
58
  /**
59
59
  * Body param:
60
60
  */
61
- body: unknown;
61
+ body: string;
62
62
  }
63
63
 
64
64
  export interface AccountSettingGetParams {
@@ -32,11 +32,7 @@ export class Domains extends APIResource {
32
32
  /**
33
33
  * Detaches a Worker from a zone and hostname.
34
34
  */
35
- delete(
36
- domainId: unknown,
37
- params: DomainDeleteParams,
38
- options?: Core.RequestOptions,
39
- ): Core.APIPromise<void> {
35
+ delete(domainId: string, params: DomainDeleteParams, options?: Core.RequestOptions): Core.APIPromise<void> {
40
36
  const { account_id } = params;
41
37
  return this._client.delete(`/accounts/${account_id}/workers/domains/${domainId}`, {
42
38
  ...options,
@@ -48,7 +44,7 @@ export class Domains extends APIResource {
48
44
  * Gets a Worker domain.
49
45
  */
50
46
  get(
51
- domainId: unknown,
47
+ domainId: string,
52
48
  params: DomainGetParams,
53
49
  options?: Core.RequestOptions,
54
50
  ): Core.APIPromise<WorkersDomain> {
@@ -65,7 +61,7 @@ export interface WorkersDomain {
65
61
  /**
66
62
  * Identifer of the Worker Domain.
67
63
  */
68
- id?: unknown;
64
+ id?: string;
69
65
 
70
66
  /**
71
67
  * Worker environment associated with the zone and hostname.
@@ -85,7 +81,7 @@ export interface WorkersDomain {
85
81
  /**
86
82
  * Identifier of the zone.
87
83
  */
88
- zone_id?: unknown;
84
+ zone_id?: string;
89
85
 
90
86
  /**
91
87
  * Name of the zone.
@@ -99,7 +95,7 @@ export interface DomainUpdateParams {
99
95
  /**
100
96
  * Path param:
101
97
  */
102
- account_id: unknown;
98
+ account_id: string;
103
99
 
104
100
  /**
105
101
  * Body param: Worker environment associated with the zone and hostname.
@@ -119,14 +115,14 @@ export interface DomainUpdateParams {
119
115
  /**
120
116
  * Body param: Identifier of the zone.
121
117
  */
122
- zone_id: unknown;
118
+ zone_id: string;
123
119
  }
124
120
 
125
121
  export interface DomainListParams {
126
122
  /**
127
123
  * Path param:
128
124
  */
129
- account_id: unknown;
125
+ account_id: string;
130
126
 
131
127
  /**
132
128
  * Query param: Worker environment associated with the zone and hostname.
@@ -146,7 +142,7 @@ export interface DomainListParams {
146
142
  /**
147
143
  * Query param: Identifier of the zone.
148
144
  */
149
- zone_id?: unknown;
145
+ zone_id?: string;
150
146
 
151
147
  /**
152
148
  * Query param: Name of the zone.
@@ -155,11 +151,11 @@ export interface DomainListParams {
155
151
  }
156
152
 
157
153
  export interface DomainDeleteParams {
158
- account_id: unknown;
154
+ account_id: string;
159
155
  }
160
156
 
161
157
  export interface DomainGetParams {
162
- account_id: unknown;
158
+ account_id: string;
163
159
  }
164
160
 
165
161
  export namespace Domains {
@@ -77,7 +77,7 @@ export interface ScheduleUpdateParams {
77
77
  /**
78
78
  * Body param:
79
79
  */
80
- body: unknown;
80
+ body: string;
81
81
  }
82
82
 
83
83
  export interface ScheduleGetParams {
@@ -58,7 +58,7 @@ export interface UsageModelUpdateParams {
58
58
  /**
59
59
  * Body param:
60
60
  */
61
- body: unknown;
61
+ body: string;
62
62
  }
63
63
 
64
64
  export interface UsageModelGetParams {
@@ -51,7 +51,7 @@ export interface SubdomainUpdateParams {
51
51
  /**
52
52
  * Body param:
53
53
  */
54
- body: unknown;
54
+ body: string;
55
55
  }
56
56
 
57
57
  export interface SubdomainGetParams {
@@ -1199,7 +1199,7 @@ export namespace AccessApps {
1199
1199
  /**
1200
1200
  * The URL or domain of the bookmark.
1201
1201
  */
1202
- domain?: unknown;
1202
+ domain?: string;
1203
1203
 
1204
1204
  /**
1205
1205
  * The image URL for the logo shown in the App Launcher dashboard.
@@ -2161,7 +2161,7 @@ export namespace ApplicationCreateParams {
2161
2161
  /**
2162
2162
  * Body param: The URL or domain of the bookmark.
2163
2163
  */
2164
- domain?: unknown;
2164
+ domain?: string;
2165
2165
 
2166
2166
  /**
2167
2167
  * Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -3110,7 +3110,7 @@ export namespace ApplicationUpdateParams {
3110
3110
  /**
3111
3111
  * Body param: The URL or domain of the bookmark.
3112
3112
  */
3113
- domain?: unknown;
3113
+ domain?: string;
3114
3114
 
3115
3115
  /**
3116
3116
  * Body param: The image URL for the logo shown in the App Launcher dashboard.
@@ -8,7 +8,7 @@ export class Bookmarks extends APIResource {
8
8
  /**
9
9
  * Create a new Bookmark application.
10
10
  */
11
- create(identifier: unknown, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
11
+ create(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
12
12
  return (
13
13
  this._client.post(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
14
14
  result: AccessBookmarks;
@@ -19,7 +19,7 @@ export class Bookmarks extends APIResource {
19
19
  /**
20
20
  * Updates a configured Bookmark application.
21
21
  */
22
- update(identifier: unknown, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
22
+ update(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
23
23
  return (
24
24
  this._client.put(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
25
25
  result: AccessBookmarks;
@@ -30,7 +30,7 @@ export class Bookmarks extends APIResource {
30
30
  /**
31
31
  * Lists Bookmark applications.
32
32
  */
33
- list(identifier: unknown, options?: Core.RequestOptions): Core.APIPromise<BookmarkListResponse | null> {
33
+ list(identifier: string, options?: Core.RequestOptions): Core.APIPromise<BookmarkListResponse | null> {
34
34
  return (
35
35
  this._client.get(`/accounts/${identifier}/access/bookmarks`, options) as Core.APIPromise<{
36
36
  result: BookmarkListResponse | null;
@@ -42,7 +42,7 @@ export class Bookmarks extends APIResource {
42
42
  * Deletes a Bookmark application.
43
43
  */
44
44
  delete(
45
- identifier: unknown,
45
+ identifier: string,
46
46
  uuid: string,
47
47
  options?: Core.RequestOptions,
48
48
  ): Core.APIPromise<BookmarkDeleteResponse> {
@@ -56,7 +56,7 @@ export class Bookmarks extends APIResource {
56
56
  /**
57
57
  * Fetches a single Bookmark application.
58
58
  */
59
- get(identifier: unknown, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
59
+ get(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
60
60
  return (
61
61
  this._client.get(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
62
62
  result: AccessBookmarks;
@@ -36,7 +36,7 @@ export interface AccessAccessRequests {
36
36
  /**
37
37
  * The unique identifier for the Access application.
38
38
  */
39
- app_uid?: unknown;
39
+ app_uid?: string;
40
40
 
41
41
  /**
42
42
  * The IdP used to authenticate.
@@ -171,11 +171,11 @@ export type DeviceListResponse = Array<TeamsDevicesDevices>;
171
171
  export type DeviceGetResponse = unknown | string;
172
172
 
173
173
  export interface DeviceListParams {
174
- account_id: unknown;
174
+ account_id: string;
175
175
  }
176
176
 
177
177
  export interface DeviceGetParams {
178
- account_id: unknown;
178
+ account_id: string;
179
179
  }
180
180
 
181
181
  export namespace Devices {
@@ -147,7 +147,7 @@ export interface DEXTestCreateParams {
147
147
  /**
148
148
  * Path param:
149
149
  */
150
- account_id: unknown;
150
+ account_id: string;
151
151
 
152
152
  /**
153
153
  * Body param: The configuration object which contains the details for the WARP
@@ -203,7 +203,7 @@ export interface DEXTestUpdateParams {
203
203
  /**
204
204
  * Path param:
205
205
  */
206
- account_id: unknown;
206
+ account_id: string;
207
207
 
208
208
  /**
209
209
  * Body param: The configuration object which contains the details for the WARP
@@ -256,15 +256,15 @@ export namespace DEXTestUpdateParams {
256
256
  }
257
257
 
258
258
  export interface DEXTestListParams {
259
- account_id: unknown;
259
+ account_id: string;
260
260
  }
261
261
 
262
262
  export interface DEXTestDeleteParams {
263
- account_id: unknown;
263
+ account_id: string;
264
264
  }
265
265
 
266
266
  export interface DEXTestGetParams {
267
- account_id: unknown;
267
+ account_id: string;
268
268
  }
269
269
 
270
270
  export namespace DEXTests {
@@ -139,7 +139,7 @@ export interface NetworkCreateParams {
139
139
  /**
140
140
  * Path param:
141
141
  */
142
- account_id: unknown;
142
+ account_id: string;
143
143
 
144
144
  /**
145
145
  * Body param: The configuration object containing information for the WARP client
@@ -183,7 +183,7 @@ export interface NetworkUpdateParams {
183
183
  /**
184
184
  * Path param:
185
185
  */
186
- account_id: unknown;
186
+ account_id: string;
187
187
 
188
188
  /**
189
189
  * Body param: The configuration object containing information for the WARP client
@@ -224,15 +224,15 @@ export namespace NetworkUpdateParams {
224
224
  }
225
225
 
226
226
  export interface NetworkListParams {
227
- account_id: unknown;
227
+ account_id: string;
228
228
  }
229
229
 
230
230
  export interface NetworkDeleteParams {
231
- account_id: unknown;
231
+ account_id: string;
232
232
  }
233
233
 
234
234
  export interface NetworkGetParams {
235
- account_id: unknown;
235
+ account_id: string;
236
236
  }
237
237
 
238
238
  export namespace Networks {
@@ -33,32 +33,32 @@ export namespace OverrideCodeListResponse {
33
33
  /**
34
34
  * Override code that is valid for 1 hour.
35
35
  */
36
- '1'?: unknown;
36
+ '1'?: string;
37
37
 
38
38
  /**
39
39
  * Override code that is valid for 12 hour2.
40
40
  */
41
- '12'?: unknown;
41
+ '12'?: string;
42
42
 
43
43
  /**
44
44
  * Override code that is valid for 24 hour.2.
45
45
  */
46
- '24'?: unknown;
46
+ '24'?: string;
47
47
 
48
48
  /**
49
49
  * Override code that is valid for 3 hours.
50
50
  */
51
- '3'?: unknown;
51
+ '3'?: string;
52
52
 
53
53
  /**
54
54
  * Override code that is valid for 6 hours.
55
55
  */
56
- '6'?: unknown;
56
+ '6'?: string;
57
57
  }
58
58
  }
59
59
 
60
60
  export interface OverrideCodeListParams {
61
- account_id: unknown;
61
+ account_id: string;
62
62
  }
63
63
 
64
64
  export namespace OverrideCodes {
@@ -24,7 +24,7 @@ export class DefaultPolicy extends APIResource {
24
24
  export type DefaultPolicyGetResponse = Array<unknown>;
25
25
 
26
26
  export interface DefaultPolicyGetParams {
27
- account_id: unknown;
27
+ account_id: string;
28
28
  }
29
29
 
30
30
  export namespace DefaultPolicy {
@@ -84,7 +84,7 @@ export interface ExcludeUpdateParams {
84
84
  /**
85
85
  * Path param:
86
86
  */
87
- account_id: unknown;
87
+ account_id: string;
88
88
 
89
89
  /**
90
90
  * Body param:
@@ -93,11 +93,11 @@ export interface ExcludeUpdateParams {
93
93
  }
94
94
 
95
95
  export interface ExcludeListParams {
96
- account_id: unknown;
96
+ account_id: string;
97
97
  }
98
98
 
99
99
  export interface ExcludeGetParams {
100
- account_id: unknown;
100
+ account_id: string;
101
101
  }
102
102
 
103
103
  export namespace Excludes {
@@ -88,7 +88,7 @@ export interface FallbackDomainUpdateParams {
88
88
  /**
89
89
  * Path param:
90
90
  */
91
- account_id: unknown;
91
+ account_id: string;
92
92
 
93
93
  /**
94
94
  * Body param:
@@ -97,11 +97,11 @@ export interface FallbackDomainUpdateParams {
97
97
  }
98
98
 
99
99
  export interface FallbackDomainListParams {
100
- account_id: unknown;
100
+ account_id: string;
101
101
  }
102
102
 
103
103
  export interface FallbackDomainGetParams {
104
- account_id: unknown;
104
+ account_id: string;
105
105
  }
106
106
 
107
107
  export namespace FallbackDomains {
@@ -84,7 +84,7 @@ export interface IncludeUpdateParams {
84
84
  /**
85
85
  * Path param:
86
86
  */
87
- account_id: unknown;
87
+ account_id: string;
88
88
 
89
89
  /**
90
90
  * Body param:
@@ -93,11 +93,11 @@ export interface IncludeUpdateParams {
93
93
  }
94
94
 
95
95
  export interface IncludeListParams {
96
- account_id: unknown;
96
+ account_id: string;
97
97
  }
98
98
 
99
99
  export interface IncludeGetParams {
100
- account_id: unknown;
100
+ account_id: string;
101
101
  }
102
102
 
103
103
  export namespace Includes {
@@ -225,7 +225,7 @@ export interface PolicyCreateParams {
225
225
  /**
226
226
  * Path param:
227
227
  */
228
- account_id: unknown;
228
+ account_id: string;
229
229
 
230
230
  /**
231
231
  * Body param: The wirefilter expression to match devices.
@@ -338,18 +338,18 @@ export namespace PolicyCreateParams {
338
338
  }
339
339
 
340
340
  export interface PolicyListParams {
341
- account_id: unknown;
341
+ account_id: string;
342
342
  }
343
343
 
344
344
  export interface PolicyDeleteParams {
345
- account_id: unknown;
345
+ account_id: string;
346
346
  }
347
347
 
348
348
  export interface PolicyEditParams {
349
349
  /**
350
350
  * Path param:
351
351
  */
352
- account_id: unknown;
352
+ account_id: string;
353
353
 
354
354
  /**
355
355
  * Body param: Whether to allow the user to switch WARP between modes.
@@ -448,7 +448,7 @@ export namespace PolicyEditParams {
448
448
  }
449
449
 
450
450
  export interface PolicyGetParams {
451
- account_id: unknown;
451
+ account_id: string;
452
452
  }
453
453
 
454
454
  export namespace Policies {
@@ -146,7 +146,7 @@ export interface IntegrationCreateParams {
146
146
  /**
147
147
  * Path param:
148
148
  */
149
- account_id: unknown;
149
+ account_id: string;
150
150
 
151
151
  /**
152
152
  * Body param: The configuration object containing third-party integration
@@ -312,18 +312,18 @@ export namespace IntegrationCreateParams {
312
312
  }
313
313
 
314
314
  export interface IntegrationListParams {
315
- account_id: unknown;
315
+ account_id: string;
316
316
  }
317
317
 
318
318
  export interface IntegrationDeleteParams {
319
- account_id: unknown;
319
+ account_id: string;
320
320
  }
321
321
 
322
322
  export interface IntegrationEditParams {
323
323
  /**
324
324
  * Path param:
325
325
  */
326
- account_id: unknown;
326
+ account_id: string;
327
327
 
328
328
  /**
329
329
  * Body param: The configuration object containing third-party integration
@@ -489,7 +489,7 @@ export namespace IntegrationEditParams {
489
489
  }
490
490
 
491
491
  export interface IntegrationGetParams {
492
- account_id: unknown;
492
+ account_id: string;
493
493
  }
494
494
 
495
495
  export namespace Integrations {
@@ -524,7 +524,7 @@ export interface PostureCreateParams {
524
524
  /**
525
525
  * Path param:
526
526
  */
527
- account_id: unknown;
527
+ account_id: string;
528
528
 
529
529
  /**
530
530
  * Body param: The name of the device posture rule.
@@ -947,7 +947,7 @@ export interface PostureUpdateParams {
947
947
  /**
948
948
  * Path param:
949
949
  */
950
- account_id: unknown;
950
+ account_id: string;
951
951
 
952
952
  /**
953
953
  * Body param: The name of the device posture rule.
@@ -1367,15 +1367,15 @@ export namespace PostureUpdateParams {
1367
1367
  }
1368
1368
 
1369
1369
  export interface PostureListParams {
1370
- account_id: unknown;
1370
+ account_id: string;
1371
1371
  }
1372
1372
 
1373
1373
  export interface PostureDeleteParams {
1374
- account_id: unknown;
1374
+ account_id: string;
1375
1375
  }
1376
1376
 
1377
1377
  export interface PostureGetParams {
1378
- account_id: unknown;
1378
+ account_id: string;
1379
1379
  }
1380
1380
 
1381
1381
  export namespace Posture {
@@ -28,7 +28,7 @@ export interface RevokeCreateParams {
28
28
  /**
29
29
  * Path param:
30
30
  */
31
- account_id: unknown;
31
+ account_id: string;
32
32
 
33
33
  /**
34
34
  * Body param: A list of device ids to revoke.
@@ -62,7 +62,7 @@ export interface SettingUpdateParams {
62
62
  /**
63
63
  * Path param:
64
64
  */
65
- account_id: unknown;
65
+ account_id: string;
66
66
 
67
67
  /**
68
68
  * Body param: Enable gateway proxy filtering on TCP.
@@ -86,7 +86,7 @@ export interface SettingUpdateParams {
86
86
  }
87
87
 
88
88
  export interface SettingListParams {
89
- account_id: unknown;
89
+ account_id: string;
90
90
  }
91
91
 
92
92
  export namespace Settings {
@@ -28,7 +28,7 @@ export interface UnrevokeCreateParams {
28
28
  /**
29
29
  * Path param:
30
30
  */
31
- account_id: unknown;
31
+ account_id: string;
32
32
 
33
33
  /**
34
34
  * Body param: A list of device ids to unrevoke.
@@ -57,7 +57,7 @@ export interface AuditSSHSettingUpdateParams {
57
57
  /**
58
58
  * Path param:
59
59
  */
60
- account_id: unknown;
60
+ account_id: string;
61
61
 
62
62
  /**
63
63
  * Body param: SSH encryption public key
@@ -71,7 +71,7 @@ export interface AuditSSHSettingUpdateParams {
71
71
  }
72
72
 
73
73
  export interface AuditSSHSettingGetParams {
74
- account_id: unknown;
74
+ account_id: string;
75
75
  }
76
76
 
77
77
  export namespace AuditSSHSettings {
@@ -874,7 +874,7 @@ export interface ConfigurationUpdateParams {
874
874
  /**
875
875
  * Path param:
876
876
  */
877
- account_id: unknown;
877
+ account_id: string;
878
878
 
879
879
  /**
880
880
  * Body param: account settings.
@@ -1136,7 +1136,7 @@ export interface ConfigurationEditParams {
1136
1136
  /**
1137
1137
  * Path param:
1138
1138
  */
1139
- account_id: unknown;
1139
+ account_id: string;
1140
1140
 
1141
1141
  /**
1142
1142
  * Body param: account settings.
@@ -1395,7 +1395,7 @@ export namespace ConfigurationEditParams {
1395
1395
  }
1396
1396
 
1397
1397
  export interface ConfigurationGetParams {
1398
- account_id: unknown;
1398
+ account_id: string;
1399
1399
  }
1400
1400
 
1401
1401
  export namespace Configurations {