cloudflare 3.0.0-beta.12 → 3.0.0-beta.13

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 (253) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/resources/d1/database.d.ts +2 -2
  4. package/resources/d1/database.d.ts.map +1 -1
  5. package/resources/dns/records.d.ts +4 -4
  6. package/resources/dns/records.d.ts.map +1 -1
  7. package/resources/firewall/waf/overrides.d.ts +3 -3
  8. package/resources/firewall/waf/overrides.d.ts.map +1 -1
  9. package/resources/hostnames/settings/tls.d.ts +2 -2
  10. package/resources/hostnames/settings/tls.d.ts.map +1 -1
  11. package/resources/images/v1/keys.d.ts +2 -2
  12. package/resources/images/v1/keys.d.ts.map +1 -1
  13. package/resources/images/v1/keys.js.map +1 -1
  14. package/resources/images/v1/keys.mjs.map +1 -1
  15. package/resources/images/v1/variants.d.ts +6 -6
  16. package/resources/images/v1/variants.d.ts.map +1 -1
  17. package/resources/images/v1/variants.js.map +1 -1
  18. package/resources/images/v1/variants.mjs.map +1 -1
  19. package/resources/intel/domain-history.d.ts +2 -2
  20. package/resources/intel/domain-history.d.ts.map +1 -1
  21. package/resources/intel/domains/bulks.d.ts +2 -2
  22. package/resources/intel/domains/bulks.d.ts.map +1 -1
  23. package/resources/intel/domains/domains.d.ts +2 -2
  24. package/resources/intel/domains/domains.d.ts.map +1 -1
  25. package/resources/intel/ips.d.ts +2 -2
  26. package/resources/intel/ips.d.ts.map +1 -1
  27. package/resources/intel/miscategorizations.d.ts +4 -4
  28. package/resources/intel/miscategorizations.d.ts.map +1 -1
  29. package/resources/load-balancers/previews.d.ts +1 -1
  30. package/resources/load-balancers/previews.d.ts.map +1 -1
  31. package/resources/load-balancers/previews.js.map +1 -1
  32. package/resources/load-balancers/previews.mjs.map +1 -1
  33. package/resources/magic-network-monitoring/configs/configs.d.ts +5 -5
  34. package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
  35. package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
  36. package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
  37. package/resources/magic-network-monitoring/rules/advertisements.d.ts +2 -2
  38. package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
  39. package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
  40. package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
  41. package/resources/magic-network-monitoring/rules/rules.d.ts +10 -10
  42. package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
  43. package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
  44. package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
  45. package/resources/page-shield/connections.d.ts +10 -10
  46. package/resources/page-shield/connections.d.ts.map +1 -1
  47. package/resources/page-shield/scripts.d.ts +30 -30
  48. package/resources/page-shield/scripts.d.ts.map +1 -1
  49. package/resources/queues/consumers.d.ts +1 -1
  50. package/resources/queues/consumers.d.ts.map +1 -1
  51. package/resources/registrar/domains.d.ts +6 -6
  52. package/resources/registrar/domains.d.ts.map +1 -1
  53. package/resources/secondary-dns/acls.d.ts +10 -10
  54. package/resources/secondary-dns/acls.d.ts.map +1 -1
  55. package/resources/secondary-dns/acls.js.map +1 -1
  56. package/resources/secondary-dns/acls.mjs.map +1 -1
  57. package/resources/secondary-dns/force-axfr.d.ts +1 -1
  58. package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
  59. package/resources/secondary-dns/incoming.d.ts +8 -8
  60. package/resources/secondary-dns/incoming.d.ts.map +1 -1
  61. package/resources/secondary-dns/outgoing/outgoing.d.ts +11 -11
  62. package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
  63. package/resources/secondary-dns/outgoing/status.d.ts +1 -1
  64. package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
  65. package/resources/secondary-dns/peers.d.ts +10 -10
  66. package/resources/secondary-dns/peers.d.ts.map +1 -1
  67. package/resources/secondary-dns/peers.js.map +1 -1
  68. package/resources/secondary-dns/peers.mjs.map +1 -1
  69. package/resources/secondary-dns/tsigs.d.ts +10 -10
  70. package/resources/secondary-dns/tsigs.d.ts.map +1 -1
  71. package/resources/secondary-dns/tsigs.js.map +1 -1
  72. package/resources/secondary-dns/tsigs.mjs.map +1 -1
  73. package/resources/stream/embed.d.ts +2 -2
  74. package/resources/stream/embed.d.ts.map +1 -1
  75. package/resources/stream/embed.js +4 -1
  76. package/resources/stream/embed.js.map +1 -1
  77. package/resources/stream/embed.mjs +4 -1
  78. package/resources/stream/embed.mjs.map +1 -1
  79. package/resources/subscriptions.d.ts +3 -3
  80. package/resources/subscriptions.d.ts.map +1 -1
  81. package/resources/user/load-balancers/preview.d.ts +1 -1
  82. package/resources/user/load-balancers/preview.d.ts.map +1 -1
  83. package/resources/user/load-balancers/preview.js.map +1 -1
  84. package/resources/user/load-balancers/preview.mjs.map +1 -1
  85. package/resources/user/subscriptions.d.ts +4 -4
  86. package/resources/user/subscriptions.d.ts.map +1 -1
  87. package/resources/vectorize/indexes.d.ts +2 -2
  88. package/resources/vectorize/indexes.d.ts.map +1 -1
  89. package/resources/waiting-rooms/events/details.d.ts +2 -2
  90. package/resources/waiting-rooms/events/details.d.ts.map +1 -1
  91. package/resources/waiting-rooms/events/details.js.map +1 -1
  92. package/resources/waiting-rooms/events/details.mjs.map +1 -1
  93. package/resources/waiting-rooms/events/events.d.ts +8 -8
  94. package/resources/waiting-rooms/events/events.d.ts.map +1 -1
  95. package/resources/waiting-rooms/events/events.js.map +1 -1
  96. package/resources/waiting-rooms/events/events.mjs.map +1 -1
  97. package/resources/waiting-rooms/rules.d.ts +5 -5
  98. package/resources/waiting-rooms/rules.d.ts.map +1 -1
  99. package/resources/waiting-rooms/rules.js.map +1 -1
  100. package/resources/waiting-rooms/rules.mjs.map +1 -1
  101. package/resources/waiting-rooms/statuses.d.ts +1 -1
  102. package/resources/waiting-rooms/statuses.d.ts.map +1 -1
  103. package/resources/waiting-rooms/statuses.js.map +1 -1
  104. package/resources/waiting-rooms/statuses.mjs.map +1 -1
  105. package/resources/waiting-rooms/waiting-rooms.d.ts +6 -6
  106. package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
  107. package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
  108. package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
  109. package/resources/workers/account-settings.d.ts +1 -1
  110. package/resources/workers/account-settings.d.ts.map +1 -1
  111. package/resources/workers/domains.d.ts +10 -10
  112. package/resources/workers/domains.d.ts.map +1 -1
  113. package/resources/workers/domains.js.map +1 -1
  114. package/resources/workers/domains.mjs.map +1 -1
  115. package/resources/workers/scripts/schedules.d.ts +1 -1
  116. package/resources/workers/scripts/schedules.d.ts.map +1 -1
  117. package/resources/workers/scripts/usage-model.d.ts +1 -1
  118. package/resources/workers/scripts/usage-model.d.ts.map +1 -1
  119. package/resources/workers/subdomains.d.ts +1 -1
  120. package/resources/workers/subdomains.d.ts.map +1 -1
  121. package/resources/zero-trust/access/applications/applications.d.ts +3 -3
  122. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  123. package/resources/zero-trust/access/bookmarks.d.ts +5 -5
  124. package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
  125. package/resources/zero-trust/access/bookmarks.js.map +1 -1
  126. package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
  127. package/resources/zero-trust/access/logs/access-requests.d.ts +1 -1
  128. package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
  129. package/resources/zero-trust/devices/devices.d.ts +2 -2
  130. package/resources/zero-trust/devices/devices.d.ts.map +1 -1
  131. package/resources/zero-trust/devices/dex-tests.d.ts +5 -5
  132. package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
  133. package/resources/zero-trust/devices/networks.d.ts +5 -5
  134. package/resources/zero-trust/devices/networks.d.ts.map +1 -1
  135. package/resources/zero-trust/devices/override-codes.d.ts +6 -6
  136. package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
  137. package/resources/zero-trust/devices/policies/default-policy.d.ts +1 -1
  138. package/resources/zero-trust/devices/policies/default-policy.d.ts.map +1 -1
  139. package/resources/zero-trust/devices/policies/excludes.d.ts +3 -3
  140. package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
  141. package/resources/zero-trust/devices/policies/fallback-domains.d.ts +3 -3
  142. package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
  143. package/resources/zero-trust/devices/policies/includes.d.ts +3 -3
  144. package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
  145. package/resources/zero-trust/devices/policies/policies.d.ts +5 -5
  146. package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
  147. package/resources/zero-trust/devices/posture/integrations.d.ts +5 -5
  148. package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
  149. package/resources/zero-trust/devices/posture/posture.d.ts +5 -5
  150. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  151. package/resources/zero-trust/devices/revoke.d.ts +1 -1
  152. package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
  153. package/resources/zero-trust/devices/settings.d.ts +2 -2
  154. package/resources/zero-trust/devices/settings.d.ts.map +1 -1
  155. package/resources/zero-trust/devices/unrevoke.d.ts +1 -1
  156. package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
  157. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +2 -2
  158. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
  159. package/resources/zero-trust/gateway/configurations.d.ts +3 -3
  160. package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
  161. package/resources/zero-trust/gateway/gateway.d.ts +2 -2
  162. package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
  163. package/resources/zero-trust/gateway/lists/items.d.ts +1 -1
  164. package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
  165. package/resources/zero-trust/gateway/lists/lists.d.ts +6 -6
  166. package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
  167. package/resources/zero-trust/gateway/locations.d.ts +9 -9
  168. package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
  169. package/resources/zero-trust/gateway/locations.js.map +1 -1
  170. package/resources/zero-trust/gateway/locations.mjs.map +1 -1
  171. package/resources/zero-trust/gateway/logging.d.ts +2 -2
  172. package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
  173. package/resources/zero-trust/gateway/proxy-endpoints.d.ts +9 -9
  174. package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
  175. package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
  176. package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
  177. package/resources/zero-trust/gateway/rules.d.ts +5 -5
  178. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  179. package/resources/zones/subscriptions.d.ts +2 -2
  180. package/resources/zones/subscriptions.d.ts.map +1 -1
  181. package/src/resources/d1/database.ts +2 -2
  182. package/src/resources/dns/records.ts +4 -4
  183. package/src/resources/firewall/waf/overrides.ts +3 -3
  184. package/src/resources/hostnames/settings/tls.ts +2 -2
  185. package/src/resources/images/v1/keys.ts +2 -2
  186. package/src/resources/images/v1/variants.ts +6 -6
  187. package/src/resources/intel/domain-history.ts +2 -2
  188. package/src/resources/intel/domains/bulks.ts +2 -2
  189. package/src/resources/intel/domains/domains.ts +2 -2
  190. package/src/resources/intel/ips.ts +2 -2
  191. package/src/resources/intel/miscategorizations.ts +4 -4
  192. package/src/resources/load-balancers/previews.ts +1 -1
  193. package/src/resources/magic-network-monitoring/configs/configs.ts +5 -5
  194. package/src/resources/magic-network-monitoring/configs/full.ts +1 -1
  195. package/src/resources/magic-network-monitoring/rules/advertisements.ts +2 -2
  196. package/src/resources/magic-network-monitoring/rules/rules.ts +10 -10
  197. package/src/resources/page-shield/connections.ts +10 -10
  198. package/src/resources/page-shield/scripts.ts +30 -30
  199. package/src/resources/queues/consumers.ts +1 -1
  200. package/src/resources/registrar/domains.ts +6 -6
  201. package/src/resources/secondary-dns/acls.ts +10 -10
  202. package/src/resources/secondary-dns/force-axfr.ts +1 -1
  203. package/src/resources/secondary-dns/incoming.ts +8 -8
  204. package/src/resources/secondary-dns/outgoing/outgoing.ts +11 -11
  205. package/src/resources/secondary-dns/outgoing/status.ts +1 -1
  206. package/src/resources/secondary-dns/peers.ts +10 -10
  207. package/src/resources/secondary-dns/tsigs.ts +10 -10
  208. package/src/resources/stream/embed.ts +6 -3
  209. package/src/resources/subscriptions.ts +3 -3
  210. package/src/resources/user/load-balancers/preview.ts +1 -1
  211. package/src/resources/user/subscriptions.ts +4 -4
  212. package/src/resources/vectorize/indexes.ts +2 -2
  213. package/src/resources/waiting-rooms/events/details.ts +3 -3
  214. package/src/resources/waiting-rooms/events/events.ts +12 -12
  215. package/src/resources/waiting-rooms/rules.ts +5 -5
  216. package/src/resources/waiting-rooms/statuses.ts +1 -1
  217. package/src/resources/waiting-rooms/waiting-rooms.ts +6 -6
  218. package/src/resources/workers/account-settings.ts +1 -1
  219. package/src/resources/workers/domains.ts +10 -14
  220. package/src/resources/workers/scripts/schedules.ts +1 -1
  221. package/src/resources/workers/scripts/usage-model.ts +1 -1
  222. package/src/resources/workers/subdomains.ts +1 -1
  223. package/src/resources/zero-trust/access/applications/applications.ts +3 -3
  224. package/src/resources/zero-trust/access/bookmarks.ts +5 -5
  225. package/src/resources/zero-trust/access/logs/access-requests.ts +1 -1
  226. package/src/resources/zero-trust/devices/devices.ts +2 -2
  227. package/src/resources/zero-trust/devices/dex-tests.ts +5 -5
  228. package/src/resources/zero-trust/devices/networks.ts +5 -5
  229. package/src/resources/zero-trust/devices/override-codes.ts +6 -6
  230. package/src/resources/zero-trust/devices/policies/default-policy.ts +1 -1
  231. package/src/resources/zero-trust/devices/policies/excludes.ts +3 -3
  232. package/src/resources/zero-trust/devices/policies/fallback-domains.ts +3 -3
  233. package/src/resources/zero-trust/devices/policies/includes.ts +3 -3
  234. package/src/resources/zero-trust/devices/policies/policies.ts +5 -5
  235. package/src/resources/zero-trust/devices/posture/integrations.ts +5 -5
  236. package/src/resources/zero-trust/devices/posture/posture.ts +5 -5
  237. package/src/resources/zero-trust/devices/revoke.ts +1 -1
  238. package/src/resources/zero-trust/devices/settings.ts +2 -2
  239. package/src/resources/zero-trust/devices/unrevoke.ts +1 -1
  240. package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +2 -2
  241. package/src/resources/zero-trust/gateway/configurations.ts +3 -3
  242. package/src/resources/zero-trust/gateway/gateway.ts +2 -2
  243. package/src/resources/zero-trust/gateway/lists/items.ts +1 -1
  244. package/src/resources/zero-trust/gateway/lists/lists.ts +6 -6
  245. package/src/resources/zero-trust/gateway/locations.ts +9 -9
  246. package/src/resources/zero-trust/gateway/logging.ts +2 -2
  247. package/src/resources/zero-trust/gateway/proxy-endpoints.ts +9 -9
  248. package/src/resources/zero-trust/gateway/rules.ts +5 -5
  249. package/src/resources/zones/subscriptions.ts +2 -2
  250. package/src/version.ts +1 -1
  251. package/version.d.ts +1 -1
  252. package/version.js +1 -1
  253. package/version.mjs +1 -1
@@ -35,7 +35,7 @@ export interface IntelDomain {
35
35
  /**
36
36
  * Current content categories.
37
37
  */
38
- content_categories?: unknown;
38
+ content_categories?: Array<unknown>;
39
39
 
40
40
  domain?: string;
41
41
 
@@ -67,7 +67,7 @@ export interface IntelDomain {
67
67
  */
68
68
  risk_score?: number;
69
69
 
70
- risk_types?: unknown;
70
+ risk_types?: Array<unknown>;
71
71
  }
72
72
 
73
73
  export namespace IntelDomain {
@@ -27,7 +27,7 @@ export interface IntelSchemasIP {
27
27
 
28
28
  ip?: string | string;
29
29
 
30
- risk_types?: unknown;
30
+ risk_types?: Array<unknown>;
31
31
  }
32
32
 
33
33
  export namespace IntelSchemasIP {
@@ -36,7 +36,7 @@ export namespace IntelSchemasIP {
36
36
  * to.
37
37
  */
38
38
  export interface BelongsToRef {
39
- id?: unknown;
39
+ id?: string;
40
40
 
41
41
  country?: string;
42
42
 
@@ -33,12 +33,12 @@ export interface MiscategorizationCreateParams {
33
33
  /**
34
34
  * Body param: Content category IDs to add.
35
35
  */
36
- content_adds?: unknown;
36
+ content_adds?: Array<number>;
37
37
 
38
38
  /**
39
39
  * Body param: Content category IDs to remove.
40
40
  */
41
- content_removes?: unknown;
41
+ content_removes?: Array<number>;
42
42
 
43
43
  /**
44
44
  * Body param:
@@ -53,12 +53,12 @@ export interface MiscategorizationCreateParams {
53
53
  /**
54
54
  * Body param: Security category IDs to add.
55
55
  */
56
- security_adds?: unknown;
56
+ security_adds?: Array<number>;
57
57
 
58
58
  /**
59
59
  * Body param: Security category IDs to remove.
60
60
  */
61
- security_removes?: unknown;
61
+ security_removes?: Array<number>;
62
62
 
63
63
  /**
64
64
  * Body param: Provide only if indicator_type is `domain` or `url`. Example if
@@ -10,7 +10,7 @@ export class Previews extends APIResource {
10
10
  * Get the result of a previous preview operation using the provided preview_id.
11
11
  */
12
12
  get(
13
- previewId: unknown,
13
+ previewId: string,
14
14
  params: PreviewGetParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<PreviewAPI.LoadBalancingPreviewResult> {
@@ -95,23 +95,23 @@ export interface MagicVisibilityMNMConfig {
95
95
  }
96
96
 
97
97
  export interface ConfigCreateParams {
98
- account_id: unknown;
98
+ account_id: string;
99
99
  }
100
100
 
101
101
  export interface ConfigUpdateParams {
102
- account_id: unknown;
102
+ account_id: string;
103
103
  }
104
104
 
105
105
  export interface ConfigDeleteParams {
106
- account_id: unknown;
106
+ account_id: string;
107
107
  }
108
108
 
109
109
  export interface ConfigEditParams {
110
- account_id: unknown;
110
+ account_id: string;
111
111
  }
112
112
 
113
113
  export interface ConfigGetParams {
114
- account_id: unknown;
114
+ account_id: string;
115
115
  }
116
116
 
117
117
  export namespace Configs {
@@ -23,7 +23,7 @@ export class Full extends APIResource {
23
23
  }
24
24
 
25
25
  export interface FullGetParams {
26
- account_id: unknown;
26
+ account_id: string;
27
27
  }
28
28
 
29
29
  export namespace Full {
@@ -9,7 +9,7 @@ export class Advertisements extends APIResource {
9
9
  * Update advertisement for rule.
10
10
  */
11
11
  edit(
12
- ruleId: unknown,
12
+ ruleId: string,
13
13
  params: AdvertisementEditParams,
14
14
  options?: Core.RequestOptions,
15
15
  ): Core.APIPromise<MagicVisibilityMNMRuleAdvertisable | null> {
@@ -33,7 +33,7 @@ export interface MagicVisibilityMNMRuleAdvertisable {
33
33
  }
34
34
 
35
35
  export interface AdvertisementEditParams {
36
- account_id: unknown;
36
+ account_id: string;
37
37
  }
38
38
 
39
39
  export namespace Advertisements {
@@ -55,7 +55,7 @@ export class Rules extends APIResource {
55
55
  * Delete a network monitoring rule for account.
56
56
  */
57
57
  delete(
58
- ruleId: unknown,
58
+ ruleId: string,
59
59
  params: RuleDeleteParams,
60
60
  options?: Core.RequestOptions,
61
61
  ): Core.APIPromise<MagicVisibilityMNMRule | null> {
@@ -71,7 +71,7 @@ export class Rules extends APIResource {
71
71
  * Update a network monitoring rule for account.
72
72
  */
73
73
  edit(
74
- ruleId: unknown,
74
+ ruleId: string,
75
75
  params: RuleEditParams,
76
76
  options?: Core.RequestOptions,
77
77
  ): Core.APIPromise<MagicVisibilityMNMRule | null> {
@@ -87,7 +87,7 @@ export class Rules extends APIResource {
87
87
  * List a single network monitoring rule for account.
88
88
  */
89
89
  get(
90
- ruleId: unknown,
90
+ ruleId: string,
91
91
  params: RuleGetParams,
92
92
  options?: Core.RequestOptions,
93
93
  ): Core.APIPromise<MagicVisibilityMNMRule | null> {
@@ -126,7 +126,7 @@ export interface MagicVisibilityMNMRule {
126
126
 
127
127
  prefixes: Array<string>;
128
128
 
129
- id?: unknown;
129
+ id?: string;
130
130
 
131
131
  /**
132
132
  * The number of bits per second for the rule. When this value is exceeded for the
@@ -144,27 +144,27 @@ export interface MagicVisibilityMNMRule {
144
144
  export type RuleListResponse = Array<MagicVisibilityMNMRule | null>;
145
145
 
146
146
  export interface RuleCreateParams {
147
- account_id: unknown;
147
+ account_id: string;
148
148
  }
149
149
 
150
150
  export interface RuleUpdateParams {
151
- account_id: unknown;
151
+ account_id: string;
152
152
  }
153
153
 
154
154
  export interface RuleListParams {
155
- account_id: unknown;
155
+ account_id: string;
156
156
  }
157
157
 
158
158
  export interface RuleDeleteParams {
159
- account_id: unknown;
159
+ account_id: string;
160
160
  }
161
161
 
162
162
  export interface RuleEditParams {
163
- account_id: unknown;
163
+ account_id: string;
164
164
  }
165
165
 
166
166
  export interface RuleGetParams {
167
- account_id: unknown;
167
+ account_id: string;
168
168
  }
169
169
 
170
170
  export namespace Rules {
@@ -35,25 +35,25 @@ export class Connections extends APIResource {
35
35
  }
36
36
 
37
37
  export interface PageShieldConnection {
38
- id?: unknown;
38
+ id?: string;
39
39
 
40
- added_at?: unknown;
40
+ added_at?: string;
41
41
 
42
- domain_reported_malicious?: unknown;
42
+ domain_reported_malicious?: boolean;
43
43
 
44
- first_page_url?: unknown;
44
+ first_page_url?: string;
45
45
 
46
- first_seen_at?: unknown;
46
+ first_seen_at?: string;
47
47
 
48
- host?: unknown;
48
+ host?: string;
49
49
 
50
- last_seen_at?: unknown;
50
+ last_seen_at?: string;
51
51
 
52
- page_urls?: unknown;
52
+ page_urls?: Array<string>;
53
53
 
54
- url?: unknown;
54
+ url?: string;
55
55
 
56
- url_contains_cdn_cgi_path?: unknown;
56
+ url_contains_cdn_cgi_path?: boolean;
57
57
  }
58
58
 
59
59
  export type ConnectionListResponse = Array<PageShieldConnection>;
@@ -31,69 +31,69 @@ export class Scripts extends APIResource {
31
31
  }
32
32
 
33
33
  export interface PageShieldScript {
34
- id?: unknown;
34
+ id?: string;
35
35
 
36
- added_at?: unknown;
36
+ added_at?: string;
37
37
 
38
- dataflow_score?: unknown;
38
+ dataflow_score?: number;
39
39
 
40
- domain_reported_malicious?: unknown;
40
+ domain_reported_malicious?: boolean;
41
41
 
42
- fetched_at?: unknown;
42
+ fetched_at?: string;
43
43
 
44
- first_page_url?: unknown;
44
+ first_page_url?: string;
45
45
 
46
- first_seen_at?: unknown;
46
+ first_seen_at?: string;
47
47
 
48
- hash?: unknown;
48
+ hash?: string;
49
49
 
50
- host?: unknown;
50
+ host?: string;
51
51
 
52
- js_integrity_score?: unknown;
52
+ js_integrity_score?: number;
53
53
 
54
- last_seen_at?: unknown;
54
+ last_seen_at?: string;
55
55
 
56
- obfuscation_score?: unknown;
56
+ obfuscation_score?: number;
57
57
 
58
- page_urls?: unknown;
58
+ page_urls?: Array<string>;
59
59
 
60
- url?: unknown;
60
+ url?: string;
61
61
 
62
- url_contains_cdn_cgi_path?: unknown;
62
+ url_contains_cdn_cgi_path?: boolean;
63
63
  }
64
64
 
65
65
  export type ScriptListResponse = Array<PageShieldScript>;
66
66
 
67
67
  export interface ScriptGetResponse {
68
- id?: unknown;
68
+ id?: string;
69
69
 
70
- added_at?: unknown;
70
+ added_at?: string;
71
71
 
72
- dataflow_score?: unknown;
72
+ dataflow_score?: number;
73
73
 
74
- domain_reported_malicious?: unknown;
74
+ domain_reported_malicious?: boolean;
75
75
 
76
- fetched_at?: unknown;
76
+ fetched_at?: string;
77
77
 
78
- first_page_url?: unknown;
78
+ first_page_url?: string;
79
79
 
80
- first_seen_at?: unknown;
80
+ first_seen_at?: string;
81
81
 
82
- hash?: unknown;
82
+ hash?: string;
83
83
 
84
- host?: unknown;
84
+ host?: string;
85
85
 
86
- js_integrity_score?: unknown;
86
+ js_integrity_score?: number;
87
87
 
88
- last_seen_at?: unknown;
88
+ last_seen_at?: string;
89
89
 
90
- obfuscation_score?: unknown;
90
+ obfuscation_score?: number;
91
91
 
92
- page_urls?: unknown;
92
+ page_urls?: Array<string>;
93
93
 
94
- url?: unknown;
94
+ url?: string;
95
95
 
96
- url_contains_cdn_cgi_path?: unknown;
96
+ url_contains_cdn_cgi_path?: boolean;
97
97
 
98
98
  versions?: Array<ScriptGetResponse.Version> | null;
99
99
  }
@@ -125,7 +125,7 @@ export namespace WorkersConsumerCreated {
125
125
  export interface WorkersConsumerUpdated {
126
126
  created_on?: unknown;
127
127
 
128
- dead_letter_queue?: unknown;
128
+ dead_letter_queue?: string;
129
129
 
130
130
  environment?: unknown;
131
131
 
@@ -196,12 +196,12 @@ export namespace RegistrarAPIDomains {
196
196
  /**
197
197
  * Form of authorization has been accepted by the registrant.
198
198
  */
199
- accept_foa?: unknown;
199
+ accept_foa?: string;
200
200
 
201
201
  /**
202
202
  * Shows transfer status with the registry.
203
203
  */
204
- approve_transfer?: unknown;
204
+ approve_transfer?: string;
205
205
 
206
206
  /**
207
207
  * Indicates if cancellation is still possible.
@@ -216,7 +216,7 @@ export namespace RegistrarAPIDomains {
216
216
  /**
217
217
  * Auth code has been entered and verified.
218
218
  */
219
- enter_auth_code?: unknown;
219
+ enter_auth_code?: string;
220
220
 
221
221
  /**
222
222
  * Domain is unlocked at the foreign registrar.
@@ -374,12 +374,12 @@ export namespace DomainListResponse {
374
374
  /**
375
375
  * Form of authorization has been accepted by the registrant.
376
376
  */
377
- accept_foa?: unknown;
377
+ accept_foa?: string;
378
378
 
379
379
  /**
380
380
  * Shows transfer status with the registry.
381
381
  */
382
- approve_transfer?: unknown;
382
+ approve_transfer?: string;
383
383
 
384
384
  /**
385
385
  * Indicates if cancellation is still possible.
@@ -394,7 +394,7 @@ export namespace DomainListResponse {
394
394
  /**
395
395
  * Auth code has been entered and verified.
396
396
  */
397
- enter_auth_code?: unknown;
397
+ enter_auth_code?: string;
398
398
 
399
399
  /**
400
400
  * Domain is unlocked at the foreign registrar.
@@ -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 {