cloudflare 3.0.0-beta.11 → 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 (264) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/core.d.ts.map +1 -1
  3. package/core.js +1 -1
  4. package/core.js.map +1 -1
  5. package/core.mjs +1 -1
  6. package/core.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/waf/overrides.d.ts +3 -3
  13. package/resources/firewall/waf/overrides.d.ts.map +1 -1
  14. package/resources/hostnames/settings/tls.d.ts +2 -2
  15. package/resources/hostnames/settings/tls.d.ts.map +1 -1
  16. package/resources/images/v1/keys.d.ts +2 -2
  17. package/resources/images/v1/keys.d.ts.map +1 -1
  18. package/resources/images/v1/keys.js.map +1 -1
  19. package/resources/images/v1/keys.mjs.map +1 -1
  20. package/resources/images/v1/variants.d.ts +6 -6
  21. package/resources/images/v1/variants.d.ts.map +1 -1
  22. package/resources/images/v1/variants.js.map +1 -1
  23. package/resources/images/v1/variants.mjs.map +1 -1
  24. package/resources/intel/domain-history.d.ts +2 -2
  25. package/resources/intel/domain-history.d.ts.map +1 -1
  26. package/resources/intel/domains/bulks.d.ts +2 -2
  27. package/resources/intel/domains/bulks.d.ts.map +1 -1
  28. package/resources/intel/domains/domains.d.ts +2 -2
  29. package/resources/intel/domains/domains.d.ts.map +1 -1
  30. package/resources/intel/ips.d.ts +2 -2
  31. package/resources/intel/ips.d.ts.map +1 -1
  32. package/resources/intel/miscategorizations.d.ts +4 -4
  33. package/resources/intel/miscategorizations.d.ts.map +1 -1
  34. package/resources/load-balancers/previews.d.ts +1 -1
  35. package/resources/load-balancers/previews.d.ts.map +1 -1
  36. package/resources/load-balancers/previews.js.map +1 -1
  37. package/resources/load-balancers/previews.mjs.map +1 -1
  38. package/resources/magic-network-monitoring/configs/configs.d.ts +5 -5
  39. package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
  40. package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
  41. package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
  42. package/resources/magic-network-monitoring/rules/advertisements.d.ts +2 -2
  43. package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
  44. package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
  45. package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
  46. package/resources/magic-network-monitoring/rules/rules.d.ts +10 -10
  47. package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
  48. package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
  49. package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
  50. package/resources/page-shield/connections.d.ts +10 -10
  51. package/resources/page-shield/connections.d.ts.map +1 -1
  52. package/resources/page-shield/scripts.d.ts +30 -30
  53. package/resources/page-shield/scripts.d.ts.map +1 -1
  54. package/resources/queues/consumers.d.ts +1 -1
  55. package/resources/queues/consumers.d.ts.map +1 -1
  56. package/resources/registrar/domains.d.ts +6 -6
  57. package/resources/registrar/domains.d.ts.map +1 -1
  58. package/resources/secondary-dns/acls.d.ts +10 -10
  59. package/resources/secondary-dns/acls.d.ts.map +1 -1
  60. package/resources/secondary-dns/acls.js.map +1 -1
  61. package/resources/secondary-dns/acls.mjs.map +1 -1
  62. package/resources/secondary-dns/force-axfr.d.ts +1 -1
  63. package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
  64. package/resources/secondary-dns/incoming.d.ts +8 -8
  65. package/resources/secondary-dns/incoming.d.ts.map +1 -1
  66. package/resources/secondary-dns/outgoing/outgoing.d.ts +11 -11
  67. package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
  68. package/resources/secondary-dns/outgoing/status.d.ts +1 -1
  69. package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
  70. package/resources/secondary-dns/peers.d.ts +10 -10
  71. package/resources/secondary-dns/peers.d.ts.map +1 -1
  72. package/resources/secondary-dns/peers.js.map +1 -1
  73. package/resources/secondary-dns/peers.mjs.map +1 -1
  74. package/resources/secondary-dns/tsigs.d.ts +10 -10
  75. package/resources/secondary-dns/tsigs.d.ts.map +1 -1
  76. package/resources/secondary-dns/tsigs.js.map +1 -1
  77. package/resources/secondary-dns/tsigs.mjs.map +1 -1
  78. package/resources/stream/embed.d.ts +2 -2
  79. package/resources/stream/embed.d.ts.map +1 -1
  80. package/resources/stream/embed.js +4 -1
  81. package/resources/stream/embed.js.map +1 -1
  82. package/resources/stream/embed.mjs +4 -1
  83. package/resources/stream/embed.mjs.map +1 -1
  84. package/resources/subscriptions.d.ts +3 -3
  85. package/resources/subscriptions.d.ts.map +1 -1
  86. package/resources/user/load-balancers/preview.d.ts +1 -1
  87. package/resources/user/load-balancers/preview.d.ts.map +1 -1
  88. package/resources/user/load-balancers/preview.js.map +1 -1
  89. package/resources/user/load-balancers/preview.mjs.map +1 -1
  90. package/resources/user/subscriptions.d.ts +4 -4
  91. package/resources/user/subscriptions.d.ts.map +1 -1
  92. package/resources/vectorize/indexes.d.ts +2 -2
  93. package/resources/vectorize/indexes.d.ts.map +1 -1
  94. package/resources/waiting-rooms/events/details.d.ts +2 -2
  95. package/resources/waiting-rooms/events/details.d.ts.map +1 -1
  96. package/resources/waiting-rooms/events/details.js.map +1 -1
  97. package/resources/waiting-rooms/events/details.mjs.map +1 -1
  98. package/resources/waiting-rooms/events/events.d.ts +8 -8
  99. package/resources/waiting-rooms/events/events.d.ts.map +1 -1
  100. package/resources/waiting-rooms/events/events.js.map +1 -1
  101. package/resources/waiting-rooms/events/events.mjs.map +1 -1
  102. package/resources/waiting-rooms/rules.d.ts +5 -5
  103. package/resources/waiting-rooms/rules.d.ts.map +1 -1
  104. package/resources/waiting-rooms/rules.js.map +1 -1
  105. package/resources/waiting-rooms/rules.mjs.map +1 -1
  106. package/resources/waiting-rooms/statuses.d.ts +1 -1
  107. package/resources/waiting-rooms/statuses.d.ts.map +1 -1
  108. package/resources/waiting-rooms/statuses.js.map +1 -1
  109. package/resources/waiting-rooms/statuses.mjs.map +1 -1
  110. package/resources/waiting-rooms/waiting-rooms.d.ts +6 -6
  111. package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
  112. package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
  113. package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
  114. package/resources/workers/account-settings.d.ts +1 -1
  115. package/resources/workers/account-settings.d.ts.map +1 -1
  116. package/resources/workers/ai.d.ts +1 -0
  117. package/resources/workers/ai.d.ts.map +1 -1
  118. package/resources/workers/ai.js.map +1 -1
  119. package/resources/workers/ai.mjs.map +1 -1
  120. package/resources/workers/domains.d.ts +10 -10
  121. package/resources/workers/domains.d.ts.map +1 -1
  122. package/resources/workers/domains.js.map +1 -1
  123. package/resources/workers/domains.mjs.map +1 -1
  124. package/resources/workers/scripts/schedules.d.ts +1 -1
  125. package/resources/workers/scripts/schedules.d.ts.map +1 -1
  126. package/resources/workers/scripts/usage-model.d.ts +1 -1
  127. package/resources/workers/scripts/usage-model.d.ts.map +1 -1
  128. package/resources/workers/subdomains.d.ts +1 -1
  129. package/resources/workers/subdomains.d.ts.map +1 -1
  130. package/resources/zero-trust/access/applications/applications.d.ts +3 -3
  131. package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
  132. package/resources/zero-trust/access/bookmarks.d.ts +5 -5
  133. package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
  134. package/resources/zero-trust/access/bookmarks.js.map +1 -1
  135. package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
  136. package/resources/zero-trust/access/logs/access-requests.d.ts +1 -1
  137. package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
  138. package/resources/zero-trust/devices/devices.d.ts +2 -2
  139. package/resources/zero-trust/devices/devices.d.ts.map +1 -1
  140. package/resources/zero-trust/devices/dex-tests.d.ts +5 -5
  141. package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
  142. package/resources/zero-trust/devices/networks.d.ts +5 -5
  143. package/resources/zero-trust/devices/networks.d.ts.map +1 -1
  144. package/resources/zero-trust/devices/override-codes.d.ts +6 -6
  145. package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
  146. package/resources/zero-trust/devices/policies/default-policy.d.ts +1 -1
  147. package/resources/zero-trust/devices/policies/default-policy.d.ts.map +1 -1
  148. package/resources/zero-trust/devices/policies/excludes.d.ts +3 -3
  149. package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
  150. package/resources/zero-trust/devices/policies/fallback-domains.d.ts +3 -3
  151. package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
  152. package/resources/zero-trust/devices/policies/includes.d.ts +3 -3
  153. package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
  154. package/resources/zero-trust/devices/policies/policies.d.ts +5 -5
  155. package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
  156. package/resources/zero-trust/devices/posture/integrations.d.ts +5 -5
  157. package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
  158. package/resources/zero-trust/devices/posture/posture.d.ts +5 -5
  159. package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
  160. package/resources/zero-trust/devices/revoke.d.ts +1 -1
  161. package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
  162. package/resources/zero-trust/devices/settings.d.ts +2 -2
  163. package/resources/zero-trust/devices/settings.d.ts.map +1 -1
  164. package/resources/zero-trust/devices/unrevoke.d.ts +1 -1
  165. package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
  166. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +2 -2
  167. package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
  168. package/resources/zero-trust/gateway/configurations.d.ts +3 -3
  169. package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
  170. package/resources/zero-trust/gateway/gateway.d.ts +2 -2
  171. package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
  172. package/resources/zero-trust/gateway/lists/items.d.ts +1 -1
  173. package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
  174. package/resources/zero-trust/gateway/lists/lists.d.ts +6 -6
  175. package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
  176. package/resources/zero-trust/gateway/locations.d.ts +9 -9
  177. package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
  178. package/resources/zero-trust/gateway/locations.js.map +1 -1
  179. package/resources/zero-trust/gateway/locations.mjs.map +1 -1
  180. package/resources/zero-trust/gateway/logging.d.ts +2 -2
  181. package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
  182. package/resources/zero-trust/gateway/proxy-endpoints.d.ts +9 -9
  183. package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
  184. package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
  185. package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
  186. package/resources/zero-trust/gateway/rules.d.ts +5 -5
  187. package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
  188. package/resources/zones/subscriptions.d.ts +2 -2
  189. package/resources/zones/subscriptions.d.ts.map +1 -1
  190. package/src/core.ts +2 -1
  191. package/src/resources/d1/database.ts +2 -2
  192. package/src/resources/dns/records.ts +4 -4
  193. package/src/resources/firewall/waf/overrides.ts +3 -3
  194. package/src/resources/hostnames/settings/tls.ts +2 -2
  195. package/src/resources/images/v1/keys.ts +2 -2
  196. package/src/resources/images/v1/variants.ts +6 -6
  197. package/src/resources/intel/domain-history.ts +2 -2
  198. package/src/resources/intel/domains/bulks.ts +2 -2
  199. package/src/resources/intel/domains/domains.ts +2 -2
  200. package/src/resources/intel/ips.ts +2 -2
  201. package/src/resources/intel/miscategorizations.ts +4 -4
  202. package/src/resources/load-balancers/previews.ts +1 -1
  203. package/src/resources/magic-network-monitoring/configs/configs.ts +5 -5
  204. package/src/resources/magic-network-monitoring/configs/full.ts +1 -1
  205. package/src/resources/magic-network-monitoring/rules/advertisements.ts +2 -2
  206. package/src/resources/magic-network-monitoring/rules/rules.ts +10 -10
  207. package/src/resources/page-shield/connections.ts +10 -10
  208. package/src/resources/page-shield/scripts.ts +30 -30
  209. package/src/resources/queues/consumers.ts +1 -1
  210. package/src/resources/registrar/domains.ts +6 -6
  211. package/src/resources/secondary-dns/acls.ts +10 -10
  212. package/src/resources/secondary-dns/force-axfr.ts +1 -1
  213. package/src/resources/secondary-dns/incoming.ts +8 -8
  214. package/src/resources/secondary-dns/outgoing/outgoing.ts +11 -11
  215. package/src/resources/secondary-dns/outgoing/status.ts +1 -1
  216. package/src/resources/secondary-dns/peers.ts +10 -10
  217. package/src/resources/secondary-dns/tsigs.ts +10 -10
  218. package/src/resources/stream/embed.ts +6 -3
  219. package/src/resources/subscriptions.ts +3 -3
  220. package/src/resources/user/load-balancers/preview.ts +1 -1
  221. package/src/resources/user/subscriptions.ts +4 -4
  222. package/src/resources/vectorize/indexes.ts +2 -2
  223. package/src/resources/waiting-rooms/events/details.ts +3 -3
  224. package/src/resources/waiting-rooms/events/events.ts +12 -12
  225. package/src/resources/waiting-rooms/rules.ts +5 -5
  226. package/src/resources/waiting-rooms/statuses.ts +1 -1
  227. package/src/resources/waiting-rooms/waiting-rooms.ts +6 -6
  228. package/src/resources/workers/account-settings.ts +1 -1
  229. package/src/resources/workers/ai.ts +2 -0
  230. package/src/resources/workers/domains.ts +10 -14
  231. package/src/resources/workers/scripts/schedules.ts +1 -1
  232. package/src/resources/workers/scripts/usage-model.ts +1 -1
  233. package/src/resources/workers/subdomains.ts +1 -1
  234. package/src/resources/zero-trust/access/applications/applications.ts +3 -3
  235. package/src/resources/zero-trust/access/bookmarks.ts +5 -5
  236. package/src/resources/zero-trust/access/logs/access-requests.ts +1 -1
  237. package/src/resources/zero-trust/devices/devices.ts +2 -2
  238. package/src/resources/zero-trust/devices/dex-tests.ts +5 -5
  239. package/src/resources/zero-trust/devices/networks.ts +5 -5
  240. package/src/resources/zero-trust/devices/override-codes.ts +6 -6
  241. package/src/resources/zero-trust/devices/policies/default-policy.ts +1 -1
  242. package/src/resources/zero-trust/devices/policies/excludes.ts +3 -3
  243. package/src/resources/zero-trust/devices/policies/fallback-domains.ts +3 -3
  244. package/src/resources/zero-trust/devices/policies/includes.ts +3 -3
  245. package/src/resources/zero-trust/devices/policies/policies.ts +5 -5
  246. package/src/resources/zero-trust/devices/posture/integrations.ts +5 -5
  247. package/src/resources/zero-trust/devices/posture/posture.ts +5 -5
  248. package/src/resources/zero-trust/devices/revoke.ts +1 -1
  249. package/src/resources/zero-trust/devices/settings.ts +2 -2
  250. package/src/resources/zero-trust/devices/unrevoke.ts +1 -1
  251. package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +2 -2
  252. package/src/resources/zero-trust/gateway/configurations.ts +3 -3
  253. package/src/resources/zero-trust/gateway/gateway.ts +2 -2
  254. package/src/resources/zero-trust/gateway/lists/items.ts +1 -1
  255. package/src/resources/zero-trust/gateway/lists/lists.ts +6 -6
  256. package/src/resources/zero-trust/gateway/locations.ts +9 -9
  257. package/src/resources/zero-trust/gateway/logging.ts +2 -2
  258. package/src/resources/zero-trust/gateway/proxy-endpoints.ts +9 -9
  259. package/src/resources/zero-trust/gateway/rules.ts +5 -5
  260. package/src/resources/zones/subscriptions.ts +2 -2
  261. package/src/version.ts +1 -1
  262. package/version.d.ts +1 -1
  263. package/version.js +1 -1
  264. package/version.mjs +1 -1
@@ -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 (
@@ -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 {
@@ -58,6 +58,8 @@ export namespace AIRunResponse {
58
58
  export interface SpeechRecognition {
59
59
  text: string;
60
60
 
61
+ vtt?: string;
62
+
61
63
  word_count?: number;
62
64
 
63
65
  words?: Array<SpeechRecognition.Word>;
@@ -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 {