@sst-provider/cloudflare5 5.0.0-alpha1 → 5.0.0-alpha1-1

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 (925) hide show
  1. package/bin/accessRule.d.ts +29 -29
  2. package/bin/accessRule.js +2 -2
  3. package/bin/accessRule.js.map +1 -1
  4. package/bin/account.d.ts +41 -22
  5. package/bin/account.js +9 -4
  6. package/bin/account.js.map +1 -1
  7. package/bin/accountMember.d.ts +31 -24
  8. package/bin/accountMember.js +10 -11
  9. package/bin/accountMember.js.map +1 -1
  10. package/bin/accountSubscription.d.ts +94 -0
  11. package/bin/accountSubscription.js +60 -0
  12. package/bin/accountSubscription.js.map +1 -0
  13. package/bin/addressMap.d.ts +46 -31
  14. package/bin/addressMap.js +12 -5
  15. package/bin/addressMap.js.map +1 -1
  16. package/bin/apiShield.d.ts +14 -14
  17. package/bin/apiShield.js +9 -2
  18. package/bin/apiShield.js.map +1 -1
  19. package/bin/apiShieldOperation.d.ts +18 -39
  20. package/bin/apiShieldOperation.js +6 -16
  21. package/bin/apiShieldOperation.js.map +1 -1
  22. package/bin/apiShieldOperationSchemaValidationSettings.d.ts +19 -13
  23. package/bin/apiShieldOperationSchemaValidationSettings.js +0 -2
  24. package/bin/apiShieldOperationSchemaValidationSettings.js.map +1 -1
  25. package/bin/apiShieldSchema.d.ts +50 -22
  26. package/bin/apiShieldSchema.js +22 -5
  27. package/bin/apiShieldSchema.js.map +1 -1
  28. package/bin/apiShieldSchemaValidationSettings.d.ts +25 -13
  29. package/bin/apiShieldSchemaValidationSettings.js +0 -2
  30. package/bin/apiShieldSchemaValidationSettings.js.map +1 -1
  31. package/bin/apiToken.d.ts +35 -29
  32. package/bin/apiToken.js +3 -5
  33. package/bin/apiToken.js.map +1 -1
  34. package/bin/argoSmartRouting.d.ts +60 -0
  35. package/bin/argoSmartRouting.js +57 -0
  36. package/bin/argoSmartRouting.js.map +1 -0
  37. package/bin/argoTieredCaching.d.ts +76 -0
  38. package/bin/argoTieredCaching.js +61 -0
  39. package/bin/argoTieredCaching.js.map +1 -0
  40. package/bin/authenticatedOriginPulls.d.ts +106 -27
  41. package/bin/authenticatedOriginPulls.js +29 -7
  42. package/bin/authenticatedOriginPulls.js.map +1 -1
  43. package/bin/authenticatedOriginPullsCertificate.d.ts +19 -50
  44. package/bin/authenticatedOriginPullsCertificate.js +1 -14
  45. package/bin/authenticatedOriginPullsCertificate.js.map +1 -1
  46. package/bin/botManagement.d.ts +8 -19
  47. package/bin/botManagement.js +0 -4
  48. package/bin/botManagement.js.map +1 -1
  49. package/bin/byoIpPrefix.d.ts +90 -24
  50. package/bin/byoIpPrefix.js +36 -8
  51. package/bin/byoIpPrefix.js.map +1 -1
  52. package/bin/certificatePack.d.ts +38 -83
  53. package/bin/certificatePack.js +10 -26
  54. package/bin/certificatePack.js.map +1 -1
  55. package/bin/config/vars.d.ts +5 -35
  56. package/bin/config/vars.js +4 -40
  57. package/bin/config/vars.js.map +1 -1
  58. package/bin/customHostname.d.ts +57 -55
  59. package/bin/customHostname.js +9 -6
  60. package/bin/customHostname.js.map +1 -1
  61. package/bin/customHostnameFallbackOrigin.d.ts +30 -9
  62. package/bin/customHostnameFallbackOrigin.js +6 -2
  63. package/bin/customHostnameFallbackOrigin.js.map +1 -1
  64. package/bin/customSsl.d.ts +150 -15
  65. package/bin/customSsl.js +20 -6
  66. package/bin/customSsl.js.map +1 -1
  67. package/bin/d1database.d.ts +29 -9
  68. package/bin/d1database.js +10 -0
  69. package/bin/d1database.js.map +1 -1
  70. package/bin/dnsRecord.d.ts +217 -0
  71. package/bin/dnsRecord.js +90 -0
  72. package/bin/dnsRecord.js.map +1 -0
  73. package/bin/dnsZoneDnssec.d.ts +179 -0
  74. package/bin/dnsZoneDnssec.js +78 -0
  75. package/bin/dnsZoneDnssec.js.map +1 -0
  76. package/bin/emailRoutingAddress.d.ts +7 -7
  77. package/bin/emailRoutingCatchAll.d.ts +12 -15
  78. package/bin/emailRoutingCatchAll.js +0 -2
  79. package/bin/emailRoutingCatchAll.js.map +1 -1
  80. package/bin/emailRoutingRule.d.ts +19 -19
  81. package/bin/emailRoutingRule.js +6 -0
  82. package/bin/emailRoutingRule.js.map +1 -1
  83. package/bin/emailRoutingSettings.d.ts +7 -18
  84. package/bin/emailRoutingSettings.js +2 -7
  85. package/bin/emailRoutingSettings.js.map +1 -1
  86. package/bin/filter.d.ts +29 -29
  87. package/bin/filter.js +7 -7
  88. package/bin/filter.js.map +1 -1
  89. package/bin/firewallRule.d.ts +47 -54
  90. package/bin/firewallRule.js +16 -12
  91. package/bin/firewallRule.js.map +1 -1
  92. package/bin/getAccessRule.d.ts +36 -0
  93. package/bin/getAccessRule.js +30 -0
  94. package/bin/getAccessRule.js.map +1 -0
  95. package/bin/getAccessRules.d.ts +52 -0
  96. package/bin/getAccessRules.js +40 -0
  97. package/bin/getAccessRules.js.map +1 -0
  98. package/bin/getAccount.d.ts +30 -0
  99. package/bin/getAccount.js +26 -0
  100. package/bin/getAccount.js.map +1 -0
  101. package/bin/getAccountMember.d.ts +34 -0
  102. package/bin/getAccountMember.js +28 -0
  103. package/bin/getAccountMember.js.map +1 -0
  104. package/bin/getAccountMembers.d.ts +39 -0
  105. package/bin/getAccountMembers.js +30 -0
  106. package/bin/getAccountMembers.js.map +1 -0
  107. package/bin/getAccountSubscription.d.ts +25 -0
  108. package/bin/getAccountSubscription.js +22 -0
  109. package/bin/getAccountSubscription.js.map +1 -0
  110. package/bin/getAccounts.d.ts +10 -3
  111. package/bin/getAccounts.js +4 -2
  112. package/bin/getAccounts.js.map +1 -1
  113. package/bin/getAddressMap.d.ts +43 -0
  114. package/bin/getAddressMap.js +32 -0
  115. package/bin/getAddressMap.js.map +1 -0
  116. package/bin/getAddressMaps.d.ts +30 -0
  117. package/bin/getAddressMaps.js +24 -0
  118. package/bin/getAddressMaps.js.map +1 -0
  119. package/bin/getApiShield.d.ts +33 -0
  120. package/bin/getApiShield.js +26 -0
  121. package/bin/getApiShield.js.map +1 -0
  122. package/bin/getApiShieldOperation.d.ts +47 -0
  123. package/bin/getApiShieldOperation.js +40 -0
  124. package/bin/getApiShieldOperation.js.map +1 -0
  125. package/bin/getApiShieldOperationSchemaValidationSettings.d.ts +31 -0
  126. package/bin/getApiShieldOperationSchemaValidationSettings.js +26 -0
  127. package/bin/getApiShieldOperationSchemaValidationSettings.js.map +1 -0
  128. package/bin/getApiShieldOperations.d.ts +54 -0
  129. package/bin/getApiShieldOperations.js +40 -0
  130. package/bin/getApiShieldOperations.js.map +1 -0
  131. package/bin/getApiShieldSchema.d.ts +41 -0
  132. package/bin/getApiShieldSchema.js +30 -0
  133. package/bin/getApiShieldSchema.js.map +1 -0
  134. package/bin/getApiShieldSchemaValidationSettings.d.ts +31 -0
  135. package/bin/getApiShieldSchemaValidationSettings.js +26 -0
  136. package/bin/getApiShieldSchemaValidationSettings.js.map +1 -0
  137. package/bin/getApiShieldSchemas.d.ts +36 -0
  138. package/bin/getApiShieldSchemas.js +28 -0
  139. package/bin/getApiShieldSchemas.js.map +1 -0
  140. package/bin/getApiToken.d.ts +36 -0
  141. package/bin/getApiToken.js +26 -0
  142. package/bin/getApiToken.js.map +1 -0
  143. package/bin/getApiTokens.d.ts +30 -0
  144. package/bin/getApiTokens.js +26 -0
  145. package/bin/getApiTokens.js.map +1 -0
  146. package/bin/getArgoSmartRouting.d.ts +25 -0
  147. package/bin/getArgoSmartRouting.js +22 -0
  148. package/bin/getArgoSmartRouting.js.map +1 -0
  149. package/bin/getArgoTieredCaching.d.ts +33 -0
  150. package/bin/getArgoTieredCaching.js +30 -0
  151. package/bin/getArgoTieredCaching.js.map +1 -0
  152. package/bin/getAuthenticatedOriginPulls.d.ts +65 -0
  153. package/bin/getAuthenticatedOriginPulls.js +48 -0
  154. package/bin/getAuthenticatedOriginPulls.js.map +1 -0
  155. package/bin/getAuthenticatedOriginPullsCertificate.d.ts +36 -0
  156. package/bin/getAuthenticatedOriginPullsCertificate.js +28 -0
  157. package/bin/getAuthenticatedOriginPullsCertificate.js.map +1 -0
  158. package/bin/getAuthenticatedOriginPullsCertificates.d.ts +30 -0
  159. package/bin/getAuthenticatedOriginPullsCertificates.js +24 -0
  160. package/bin/getAuthenticatedOriginPullsCertificates.js.map +1 -0
  161. package/bin/getBotManagement.d.ts +25 -0
  162. package/bin/getBotManagement.js +22 -0
  163. package/bin/getBotManagement.js.map +1 -0
  164. package/bin/getByoIpPrefix.d.ts +41 -0
  165. package/bin/getByoIpPrefix.js +28 -0
  166. package/bin/getByoIpPrefix.js.map +1 -0
  167. package/bin/getByoIpPrefixes.d.ts +30 -0
  168. package/bin/getByoIpPrefixes.js +24 -0
  169. package/bin/getByoIpPrefixes.js.map +1 -0
  170. package/bin/getCertificatePack.d.ts +33 -0
  171. package/bin/getCertificatePack.js +28 -0
  172. package/bin/getCertificatePack.js.map +1 -0
  173. package/bin/getCertificatePacks.d.ts +33 -0
  174. package/bin/getCertificatePacks.js +26 -0
  175. package/bin/getCertificatePacks.js.map +1 -0
  176. package/bin/getCustomHostname.d.ts +42 -0
  177. package/bin/getCustomHostname.js +28 -0
  178. package/bin/getCustomHostname.js.map +1 -0
  179. package/bin/getCustomHostnameFallbackOrigin.d.ts +40 -0
  180. package/bin/getCustomHostnameFallbackOrigin.js +32 -0
  181. package/bin/getCustomHostnameFallbackOrigin.js.map +1 -0
  182. package/bin/getCustomHostnames.d.ts +41 -0
  183. package/bin/getCustomHostnames.js +34 -0
  184. package/bin/getCustomHostnames.js.map +1 -0
  185. package/bin/getCustomSsl.d.ts +42 -0
  186. package/bin/getCustomSsl.js +28 -0
  187. package/bin/getCustomSsl.js.map +1 -0
  188. package/bin/getCustomSsls.d.ts +36 -0
  189. package/bin/getCustomSsls.js +28 -0
  190. package/bin/getCustomSsls.js.map +1 -0
  191. package/bin/getD1Database.d.ts +43 -0
  192. package/bin/getD1Database.js +32 -0
  193. package/bin/getD1Database.js.map +1 -0
  194. package/bin/getD1Databases.d.ts +33 -0
  195. package/bin/getD1Databases.js +26 -0
  196. package/bin/getD1Databases.js.map +1 -0
  197. package/bin/getDcvDelegation.d.ts +6 -1
  198. package/bin/getDcvDelegation.js +2 -0
  199. package/bin/getDcvDelegation.js.map +1 -1
  200. package/bin/getDnsRecord.d.ts +42 -0
  201. package/bin/getDnsRecord.js +28 -0
  202. package/bin/getDnsRecord.js.map +1 -0
  203. package/bin/getDnsRecords.d.ts +64 -0
  204. package/bin/getDnsRecords.js +46 -0
  205. package/bin/getDnsRecords.js.map +1 -0
  206. package/bin/getDnsZoneDnssec.d.ts +64 -0
  207. package/bin/getDnsZoneDnssec.js +48 -0
  208. package/bin/getDnsZoneDnssec.js.map +1 -0
  209. package/bin/getEmailRoutingAddress.d.ts +35 -0
  210. package/bin/getEmailRoutingAddress.js +28 -0
  211. package/bin/getEmailRoutingAddress.js.map +1 -0
  212. package/bin/getEmailRoutingAddresses.d.ts +36 -0
  213. package/bin/getEmailRoutingAddresses.js +28 -0
  214. package/bin/getEmailRoutingAddresses.js.map +1 -0
  215. package/bin/getEmailRoutingCatchAll.d.ts +41 -0
  216. package/bin/getEmailRoutingCatchAll.js +34 -0
  217. package/bin/getEmailRoutingCatchAll.js.map +1 -0
  218. package/bin/getEmailRoutingRule.d.ts +36 -0
  219. package/bin/getEmailRoutingRule.js +28 -0
  220. package/bin/getEmailRoutingRule.js.map +1 -0
  221. package/bin/getEmailRoutingRules.d.ts +33 -0
  222. package/bin/getEmailRoutingRules.js +26 -0
  223. package/bin/getEmailRoutingRules.js.map +1 -0
  224. package/bin/getEmailRoutingSettings.d.ts +45 -0
  225. package/bin/getEmailRoutingSettings.js +38 -0
  226. package/bin/getEmailRoutingSettings.js.map +1 -0
  227. package/bin/getFilter.d.ts +33 -0
  228. package/bin/getFilter.js +28 -0
  229. package/bin/getFilter.js.map +1 -0
  230. package/bin/getFilters.d.ts +41 -0
  231. package/bin/getFilters.js +34 -0
  232. package/bin/getFilters.js.map +1 -0
  233. package/bin/getFirewallRule.d.ts +34 -0
  234. package/bin/getFirewallRule.js +28 -0
  235. package/bin/getFirewallRule.js.map +1 -0
  236. package/bin/getFirewallRules.d.ts +38 -0
  237. package/bin/getFirewallRules.js +32 -0
  238. package/bin/getFirewallRules.js.map +1 -0
  239. package/bin/getHealthcheck.d.ts +47 -0
  240. package/bin/getHealthcheck.js +28 -0
  241. package/bin/getHealthcheck.js.map +1 -0
  242. package/bin/getHealthchecks.d.ts +30 -0
  243. package/bin/getHealthchecks.js +24 -0
  244. package/bin/getHealthchecks.js.map +1 -0
  245. package/bin/getHostnameTlsSetting.d.ts +28 -0
  246. package/bin/getHostnameTlsSetting.js +24 -0
  247. package/bin/getHostnameTlsSetting.js.map +1 -0
  248. package/bin/getHyperdriveConfig.d.ts +36 -0
  249. package/bin/getHyperdriveConfig.js +28 -0
  250. package/bin/getHyperdriveConfig.js.map +1 -0
  251. package/bin/getHyperdriveConfigs.d.ts +30 -0
  252. package/bin/getHyperdriveConfigs.js +24 -0
  253. package/bin/getHyperdriveConfigs.js.map +1 -0
  254. package/bin/getKeylessCertificate.d.ts +39 -0
  255. package/bin/getKeylessCertificate.js +28 -0
  256. package/bin/getKeylessCertificate.js.map +1 -0
  257. package/bin/getKeylessCertificates.d.ts +30 -0
  258. package/bin/getKeylessCertificates.js +24 -0
  259. package/bin/getKeylessCertificates.js.map +1 -0
  260. package/bin/getList.d.ts +35 -12
  261. package/bin/getList.js +18 -0
  262. package/bin/getList.js.map +1 -1
  263. package/bin/getListItem.d.ts +36 -0
  264. package/bin/getListItem.js +30 -0
  265. package/bin/getListItem.js.map +1 -0
  266. package/bin/getListItems.d.ts +36 -0
  267. package/bin/getListItems.js +28 -0
  268. package/bin/getListItems.js.map +1 -0
  269. package/bin/getLists.d.ts +7 -3
  270. package/bin/getLists.js +2 -2
  271. package/bin/getLists.js.map +1 -1
  272. package/bin/getLoadBalancer.d.ts +57 -0
  273. package/bin/getLoadBalancer.js +28 -0
  274. package/bin/getLoadBalancer.js.map +1 -0
  275. package/bin/getLoadBalancerMonitor.d.ts +50 -0
  276. package/bin/getLoadBalancerMonitor.js +28 -0
  277. package/bin/getLoadBalancerMonitor.js.map +1 -0
  278. package/bin/getLoadBalancerMonitors.d.ts +30 -0
  279. package/bin/getLoadBalancerMonitors.js +24 -0
  280. package/bin/getLoadBalancerMonitors.js.map +1 -0
  281. package/bin/getLoadBalancerPool.d.ts +47 -0
  282. package/bin/getLoadBalancerPool.js +28 -0
  283. package/bin/getLoadBalancerPool.js.map +1 -0
  284. package/bin/getLoadBalancerPools.d.ts +10 -9
  285. package/bin/getLoadBalancerPools.js +4 -6
  286. package/bin/getLoadBalancerPools.js.map +1 -1
  287. package/bin/getLoadBalancers.d.ts +30 -0
  288. package/bin/getLoadBalancers.js +24 -0
  289. package/bin/getLoadBalancers.js.map +1 -0
  290. package/bin/getLogpullRetention.d.ts +28 -0
  291. package/bin/getLogpullRetention.js +24 -0
  292. package/bin/getLogpullRetention.js.map +1 -0
  293. package/bin/getLogpushJob.d.ts +47 -0
  294. package/bin/getLogpushJob.js +30 -0
  295. package/bin/getLogpushJob.js.map +1 -0
  296. package/bin/getLogpushJobs.d.ts +33 -0
  297. package/bin/getLogpushJobs.js +28 -0
  298. package/bin/getLogpushJobs.js.map +1 -0
  299. package/bin/getMagicWanGreTunnel.d.ts +33 -0
  300. package/bin/getMagicWanGreTunnel.js +26 -0
  301. package/bin/getMagicWanGreTunnel.js.map +1 -0
  302. package/bin/getMagicWanIpsecTunnel.d.ts +33 -0
  303. package/bin/getMagicWanIpsecTunnel.js +26 -0
  304. package/bin/getMagicWanIpsecTunnel.js.map +1 -0
  305. package/bin/getMagicWanStaticRoute.d.ts +33 -0
  306. package/bin/getMagicWanStaticRoute.js +26 -0
  307. package/bin/getMagicWanStaticRoute.js.map +1 -0
  308. package/bin/getManagedHeaders.d.ts +33 -0
  309. package/bin/getManagedHeaders.js +26 -0
  310. package/bin/getManagedHeaders.js.map +1 -0
  311. package/bin/getMtlsCertificate.d.ts +38 -0
  312. package/bin/getMtlsCertificate.js +28 -0
  313. package/bin/getMtlsCertificate.js.map +1 -0
  314. package/bin/getMtlsCertificates.d.ts +30 -0
  315. package/bin/getMtlsCertificates.js +24 -0
  316. package/bin/getMtlsCertificates.js.map +1 -0
  317. package/bin/getNotificationPolicies.d.ts +30 -0
  318. package/bin/getNotificationPolicies.js +24 -0
  319. package/bin/getNotificationPolicies.js.map +1 -0
  320. package/bin/getNotificationPolicy.d.ts +41 -0
  321. package/bin/getNotificationPolicy.js +28 -0
  322. package/bin/getNotificationPolicy.js.map +1 -0
  323. package/bin/getNotificationPolicyWebhooks.d.ts +37 -0
  324. package/bin/getNotificationPolicyWebhooks.js +28 -0
  325. package/bin/getNotificationPolicyWebhooks.js.map +1 -0
  326. package/bin/getNotificationPolicyWebhooksList.d.ts +30 -0
  327. package/bin/getNotificationPolicyWebhooksList.js +24 -0
  328. package/bin/getNotificationPolicyWebhooksList.js.map +1 -0
  329. package/bin/getObservatoryScheduledTest.d.ts +30 -0
  330. package/bin/getObservatoryScheduledTest.js +24 -0
  331. package/bin/getObservatoryScheduledTest.js.map +1 -0
  332. package/bin/getOriginCaCertificate.d.ts +12 -5
  333. package/bin/getOriginCaCertificate.js +6 -2
  334. package/bin/getOriginCaCertificate.js.map +1 -1
  335. package/bin/getOriginCaCertificates.d.ts +30 -0
  336. package/bin/getOriginCaCertificates.js +26 -0
  337. package/bin/getOriginCaCertificates.js.map +1 -0
  338. package/bin/getPageRule.d.ts +28 -0
  339. package/bin/getPageRule.js +24 -0
  340. package/bin/getPageRule.js.map +1 -0
  341. package/bin/getPagesDomain.d.ts +41 -0
  342. package/bin/getPagesDomain.js +30 -0
  343. package/bin/getPagesDomain.js.map +1 -0
  344. package/bin/getPagesDomains.d.ts +33 -0
  345. package/bin/getPagesDomains.js +26 -0
  346. package/bin/getPagesDomains.js.map +1 -0
  347. package/bin/getPagesProject.d.ts +93 -0
  348. package/bin/getPagesProject.js +64 -0
  349. package/bin/getPagesProject.js.map +1 -0
  350. package/bin/getPagesProjects.d.ts +30 -0
  351. package/bin/getPagesProjects.js +24 -0
  352. package/bin/getPagesProjects.js.map +1 -0
  353. package/bin/getQueue.d.ts +40 -0
  354. package/bin/getQueue.js +28 -0
  355. package/bin/getQueue.js.map +1 -0
  356. package/bin/getQueues.d.ts +30 -0
  357. package/bin/getQueues.js +24 -0
  358. package/bin/getQueues.js.map +1 -0
  359. package/bin/getR2Bucket.d.ts +40 -0
  360. package/bin/getR2Bucket.js +32 -0
  361. package/bin/getR2Bucket.js.map +1 -0
  362. package/bin/getRateLimit.d.ts +50 -0
  363. package/bin/getRateLimit.js +42 -0
  364. package/bin/getRateLimit.js.map +1 -0
  365. package/bin/getRateLimits.d.ts +30 -0
  366. package/bin/getRateLimits.js +24 -0
  367. package/bin/getRateLimits.js.map +1 -0
  368. package/bin/getRegionalHostname.d.ts +35 -0
  369. package/bin/getRegionalHostname.js +28 -0
  370. package/bin/getRegionalHostname.js.map +1 -0
  371. package/bin/getRegionalHostnames.d.ts +30 -0
  372. package/bin/getRegionalHostnames.js +24 -0
  373. package/bin/getRegionalHostnames.js.map +1 -0
  374. package/bin/getRegionalTieredCache.d.ts +32 -0
  375. package/bin/getRegionalTieredCache.js +28 -0
  376. package/bin/getRegionalTieredCache.js.map +1 -0
  377. package/bin/getRuleset.d.ts +42 -0
  378. package/bin/getRuleset.js +32 -0
  379. package/bin/getRuleset.js.map +1 -0
  380. package/bin/getRulesets.d.ts +7 -10
  381. package/bin/getRulesets.js +2 -6
  382. package/bin/getRulesets.js.map +1 -1
  383. package/bin/getSpectrumApplication.d.ts +28 -0
  384. package/bin/getSpectrumApplication.js +24 -0
  385. package/bin/getSpectrumApplication.js.map +1 -0
  386. package/bin/getTieredCache.d.ts +33 -0
  387. package/bin/getTieredCache.js +30 -0
  388. package/bin/getTieredCache.js.map +1 -0
  389. package/bin/getTotalTls.d.ts +34 -0
  390. package/bin/getTotalTls.js +28 -0
  391. package/bin/getTotalTls.js.map +1 -0
  392. package/bin/getTurnstileWidget.d.ts +45 -0
  393. package/bin/getTurnstileWidget.js +30 -0
  394. package/bin/getTurnstileWidget.js.map +1 -0
  395. package/bin/getTurnstileWidgets.d.ts +36 -0
  396. package/bin/getTurnstileWidgets.js +28 -0
  397. package/bin/getTurnstileWidgets.js.map +1 -0
  398. package/bin/getUrlNormalizationSettings.d.ts +31 -0
  399. package/bin/getUrlNormalizationSettings.js +26 -0
  400. package/bin/getUrlNormalizationSettings.js.map +1 -0
  401. package/bin/getUserAgentBlockingRule.d.ts +41 -0
  402. package/bin/getUserAgentBlockingRule.js +36 -0
  403. package/bin/getUserAgentBlockingRule.js.map +1 -0
  404. package/bin/getUserAgentBlockingRules.d.ts +39 -0
  405. package/bin/getUserAgentBlockingRules.js +30 -0
  406. package/bin/getUserAgentBlockingRules.js.map +1 -0
  407. package/bin/getWaitingRoom.d.ts +53 -0
  408. package/bin/getWaitingRoom.js +28 -0
  409. package/bin/getWaitingRoom.js.map +1 -0
  410. package/bin/getWaitingRoomEvent.d.ts +48 -0
  411. package/bin/getWaitingRoomEvent.js +30 -0
  412. package/bin/getWaitingRoomEvent.js.map +1 -0
  413. package/bin/getWaitingRoomEvents.d.ts +33 -0
  414. package/bin/getWaitingRoomEvents.js +26 -0
  415. package/bin/getWaitingRoomEvents.js.map +1 -0
  416. package/bin/getWaitingRoomRules.d.ts +28 -0
  417. package/bin/getWaitingRoomRules.js +24 -0
  418. package/bin/getWaitingRoomRules.js.map +1 -0
  419. package/bin/getWaitingRoomSetting.d.ts +28 -0
  420. package/bin/getWaitingRoomSetting.js +24 -0
  421. package/bin/getWaitingRoomSetting.js.map +1 -0
  422. package/bin/getWaitingRooms.d.ts +30 -0
  423. package/bin/getWaitingRooms.js +24 -0
  424. package/bin/getWaitingRooms.js.map +1 -0
  425. package/bin/getWeb3Hostname.d.ts +37 -0
  426. package/bin/getWeb3Hostname.js +28 -0
  427. package/bin/getWeb3Hostname.js.map +1 -0
  428. package/bin/getWeb3Hostnames.d.ts +30 -0
  429. package/bin/getWeb3Hostnames.js +24 -0
  430. package/bin/getWeb3Hostnames.js.map +1 -0
  431. package/bin/getWebAnalyticsSite.d.ts +40 -0
  432. package/bin/getWebAnalyticsSite.js +28 -0
  433. package/bin/getWebAnalyticsSite.js.map +1 -0
  434. package/bin/getWebAnalyticsSites.d.ts +33 -0
  435. package/bin/getWebAnalyticsSites.js +26 -0
  436. package/bin/getWebAnalyticsSites.js.map +1 -0
  437. package/bin/getWorkersCronTrigger.d.ts +33 -0
  438. package/bin/getWorkersCronTrigger.js +26 -0
  439. package/bin/getWorkersCronTrigger.js.map +1 -0
  440. package/bin/getWorkersCustomDomain.d.ts +35 -0
  441. package/bin/getWorkersCustomDomain.js +28 -0
  442. package/bin/getWorkersCustomDomain.js.map +1 -0
  443. package/bin/getWorkersCustomDomains.d.ts +45 -0
  444. package/bin/getWorkersCustomDomains.js +34 -0
  445. package/bin/getWorkersCustomDomains.js.map +1 -0
  446. package/bin/getWorkersForPlatformsDispatchNamespace.d.ts +40 -0
  447. package/bin/getWorkersForPlatformsDispatchNamespace.js +28 -0
  448. package/bin/getWorkersForPlatformsDispatchNamespace.js.map +1 -0
  449. package/bin/getWorkersForPlatformsDispatchNamespaces.d.ts +30 -0
  450. package/bin/getWorkersForPlatformsDispatchNamespaces.js +24 -0
  451. package/bin/getWorkersForPlatformsDispatchNamespaces.js.map +1 -0
  452. package/bin/getWorkersKv.d.ts +31 -0
  453. package/bin/getWorkersKv.js +26 -0
  454. package/bin/getWorkersKv.js.map +1 -0
  455. package/bin/getWorkersKvNamespace.d.ts +32 -0
  456. package/bin/getWorkersKvNamespace.js +28 -0
  457. package/bin/getWorkersKvNamespace.js.map +1 -0
  458. package/bin/getWorkersKvNamespaces.d.ts +36 -0
  459. package/bin/getWorkersKvNamespaces.js +28 -0
  460. package/bin/getWorkersKvNamespaces.js.map +1 -0
  461. package/bin/getWorkersScript.d.ts +53 -0
  462. package/bin/getWorkersScript.js +44 -0
  463. package/bin/getWorkersScript.js.map +1 -0
  464. package/bin/getWorkersScripts.d.ts +30 -0
  465. package/bin/getWorkersScripts.js +24 -0
  466. package/bin/getWorkersScripts.js.map +1 -0
  467. package/bin/getWorkersSecret.d.ts +41 -0
  468. package/bin/getWorkersSecret.js +32 -0
  469. package/bin/getWorkersSecret.js.map +1 -0
  470. package/bin/getWorkersSecrets.d.ts +36 -0
  471. package/bin/getWorkersSecrets.js +28 -0
  472. package/bin/getWorkersSecrets.js.map +1 -0
  473. package/bin/getZeroTrustAccessApplication.d.ts +11 -9
  474. package/bin/getZeroTrustAccessApplication.js +4 -6
  475. package/bin/getZeroTrustAccessApplication.js.map +1 -1
  476. package/bin/getZeroTrustAccessApplications.d.ts +33 -0
  477. package/bin/getZeroTrustAccessApplications.js +28 -0
  478. package/bin/getZeroTrustAccessApplications.js.map +1 -0
  479. package/bin/getZeroTrustAccessCustomPage.d.ts +42 -0
  480. package/bin/getZeroTrustAccessCustomPage.js +30 -0
  481. package/bin/getZeroTrustAccessCustomPage.js.map +1 -0
  482. package/bin/getZeroTrustAccessCustomPages.d.ts +30 -0
  483. package/bin/getZeroTrustAccessCustomPages.js +24 -0
  484. package/bin/getZeroTrustAccessCustomPages.js.map +1 -0
  485. package/bin/getZeroTrustAccessGroup.d.ts +40 -0
  486. package/bin/getZeroTrustAccessGroup.js +30 -0
  487. package/bin/getZeroTrustAccessGroup.js.map +1 -0
  488. package/bin/getZeroTrustAccessGroups.d.ts +33 -0
  489. package/bin/getZeroTrustAccessGroups.js +28 -0
  490. package/bin/getZeroTrustAccessGroups.js.map +1 -0
  491. package/bin/getZeroTrustAccessIdentityProvider.d.ts +13 -8
  492. package/bin/getZeroTrustAccessIdentityProvider.js +6 -4
  493. package/bin/getZeroTrustAccessIdentityProvider.js.map +1 -1
  494. package/bin/getZeroTrustAccessIdentityProviders.d.ts +33 -0
  495. package/bin/getZeroTrustAccessIdentityProviders.js +28 -0
  496. package/bin/getZeroTrustAccessIdentityProviders.js.map +1 -0
  497. package/bin/getZeroTrustAccessKeyConfiguration.d.ts +34 -0
  498. package/bin/getZeroTrustAccessKeyConfiguration.js +28 -0
  499. package/bin/getZeroTrustAccessKeyConfiguration.js.map +1 -0
  500. package/bin/getZeroTrustAccessMtlsCertificate.d.ts +39 -0
  501. package/bin/getZeroTrustAccessMtlsCertificate.js +30 -0
  502. package/bin/getZeroTrustAccessMtlsCertificate.js.map +1 -0
  503. package/bin/getZeroTrustAccessMtlsCertificates.d.ts +33 -0
  504. package/bin/getZeroTrustAccessMtlsCertificates.js +28 -0
  505. package/bin/getZeroTrustAccessMtlsCertificates.js.map +1 -0
  506. package/bin/getZeroTrustAccessMtlsHostnameSettings.d.ts +28 -0
  507. package/bin/getZeroTrustAccessMtlsHostnameSettings.js +26 -0
  508. package/bin/getZeroTrustAccessMtlsHostnameSettings.js.map +1 -0
  509. package/bin/getZeroTrustAccessPolicies.d.ts +36 -0
  510. package/bin/getZeroTrustAccessPolicies.js +28 -0
  511. package/bin/getZeroTrustAccessPolicies.js.map +1 -0
  512. package/bin/getZeroTrustAccessPolicy.d.ts +49 -0
  513. package/bin/getZeroTrustAccessPolicy.js +32 -0
  514. package/bin/getZeroTrustAccessPolicy.js.map +1 -0
  515. package/bin/getZeroTrustAccessServiceToken.d.ts +39 -0
  516. package/bin/getZeroTrustAccessServiceToken.js +30 -0
  517. package/bin/getZeroTrustAccessServiceToken.js.map +1 -0
  518. package/bin/getZeroTrustAccessServiceTokens.d.ts +33 -0
  519. package/bin/getZeroTrustAccessServiceTokens.js +28 -0
  520. package/bin/getZeroTrustAccessServiceTokens.js.map +1 -0
  521. package/bin/getZeroTrustAccessShortLivedCertificate.d.ts +41 -0
  522. package/bin/getZeroTrustAccessShortLivedCertificate.js +36 -0
  523. package/bin/getZeroTrustAccessShortLivedCertificate.js.map +1 -0
  524. package/bin/getZeroTrustAccessShortLivedCertificates.d.ts +33 -0
  525. package/bin/getZeroTrustAccessShortLivedCertificates.js +28 -0
  526. package/bin/getZeroTrustAccessShortLivedCertificates.js.map +1 -0
  527. package/bin/getZeroTrustAccessTag.d.ts +37 -0
  528. package/bin/getZeroTrustAccessTag.js +28 -0
  529. package/bin/getZeroTrustAccessTag.js.map +1 -0
  530. package/bin/getZeroTrustAccessTags.d.ts +30 -0
  531. package/bin/getZeroTrustAccessTags.js +24 -0
  532. package/bin/getZeroTrustAccessTags.js.map +1 -0
  533. package/bin/getZeroTrustDeviceCertificates.d.ts +25 -0
  534. package/bin/getZeroTrustDeviceCertificates.js +22 -0
  535. package/bin/getZeroTrustDeviceCertificates.js.map +1 -0
  536. package/bin/getZeroTrustDeviceManagedNetworks.d.ts +36 -0
  537. package/bin/getZeroTrustDeviceManagedNetworks.js +28 -0
  538. package/bin/getZeroTrustDeviceManagedNetworks.js.map +1 -0
  539. package/bin/getZeroTrustDeviceManagedNetworksList.d.ts +30 -0
  540. package/bin/getZeroTrustDeviceManagedNetworksList.js +24 -0
  541. package/bin/getZeroTrustDeviceManagedNetworksList.js.map +1 -0
  542. package/bin/getZeroTrustDevicePostureIntegration.d.ts +34 -0
  543. package/bin/getZeroTrustDevicePostureIntegration.js +28 -0
  544. package/bin/getZeroTrustDevicePostureIntegration.js.map +1 -0
  545. package/bin/getZeroTrustDevicePostureIntegrations.d.ts +30 -0
  546. package/bin/getZeroTrustDevicePostureIntegrations.js +24 -0
  547. package/bin/getZeroTrustDevicePostureIntegrations.js.map +1 -0
  548. package/bin/getZeroTrustDevicePostureRule.d.ts +37 -0
  549. package/bin/getZeroTrustDevicePostureRule.js +28 -0
  550. package/bin/getZeroTrustDevicePostureRule.js.map +1 -0
  551. package/bin/getZeroTrustDevicePostureRules.d.ts +30 -0
  552. package/bin/getZeroTrustDevicePostureRules.js +24 -0
  553. package/bin/getZeroTrustDevicePostureRules.js.map +1 -0
  554. package/bin/getZeroTrustDeviceProfiles.d.ts +57 -0
  555. package/bin/getZeroTrustDeviceProfiles.js +28 -0
  556. package/bin/getZeroTrustDeviceProfiles.js.map +1 -0
  557. package/bin/getZeroTrustDeviceProfilesList.d.ts +30 -0
  558. package/bin/getZeroTrustDeviceProfilesList.js +24 -0
  559. package/bin/getZeroTrustDeviceProfilesList.js.map +1 -0
  560. package/bin/getZeroTrustDexTest.d.ts +40 -0
  561. package/bin/getZeroTrustDexTest.js +28 -0
  562. package/bin/getZeroTrustDexTest.js.map +1 -0
  563. package/bin/getZeroTrustDexTests.d.ts +30 -0
  564. package/bin/getZeroTrustDexTests.js +24 -0
  565. package/bin/getZeroTrustDexTests.js.map +1 -0
  566. package/bin/getZeroTrustDlpCustomProfile.d.ts +28 -0
  567. package/bin/getZeroTrustDlpCustomProfile.js +24 -0
  568. package/bin/getZeroTrustDlpCustomProfile.js.map +1 -0
  569. package/bin/getZeroTrustDlpPredefinedProfile.d.ts +28 -0
  570. package/bin/getZeroTrustDlpPredefinedProfile.js +24 -0
  571. package/bin/getZeroTrustDlpPredefinedProfile.js.map +1 -0
  572. package/bin/getZeroTrustDnsLocation.d.ts +42 -0
  573. package/bin/getZeroTrustDnsLocation.js +28 -0
  574. package/bin/getZeroTrustDnsLocation.js.map +1 -0
  575. package/bin/getZeroTrustDnsLocations.d.ts +30 -0
  576. package/bin/getZeroTrustDnsLocations.js +24 -0
  577. package/bin/getZeroTrustDnsLocations.js.map +1 -0
  578. package/bin/getZeroTrustGatewayPolicies.d.ts +30 -0
  579. package/bin/getZeroTrustGatewayPolicies.js +24 -0
  580. package/bin/getZeroTrustGatewayPolicies.js.map +1 -0
  581. package/bin/getZeroTrustGatewayPolicy.d.ts +44 -0
  582. package/bin/getZeroTrustGatewayPolicy.js +28 -0
  583. package/bin/getZeroTrustGatewayPolicy.js.map +1 -0
  584. package/bin/getZeroTrustGatewayProxyEndpoint.d.ts +28 -0
  585. package/bin/getZeroTrustGatewayProxyEndpoint.js +24 -0
  586. package/bin/getZeroTrustGatewayProxyEndpoint.js.map +1 -0
  587. package/bin/getZeroTrustGatewaySettings.d.ts +36 -0
  588. package/bin/getZeroTrustGatewaySettings.js +28 -0
  589. package/bin/getZeroTrustGatewaySettings.js.map +1 -0
  590. package/bin/getZeroTrustList.d.ts +36 -0
  591. package/bin/getZeroTrustList.js +28 -0
  592. package/bin/getZeroTrustList.js.map +1 -0
  593. package/bin/getZeroTrustLists.d.ts +33 -0
  594. package/bin/getZeroTrustLists.js +26 -0
  595. package/bin/getZeroTrustLists.js.map +1 -0
  596. package/bin/getZeroTrustLocalDomainFallback.d.ts +42 -0
  597. package/bin/getZeroTrustLocalDomainFallback.js +34 -0
  598. package/bin/getZeroTrustLocalDomainFallback.js.map +1 -0
  599. package/bin/getZeroTrustLocalDomainFallbacks.d.ts +30 -0
  600. package/bin/getZeroTrustLocalDomainFallbacks.js +24 -0
  601. package/bin/getZeroTrustLocalDomainFallbacks.js.map +1 -0
  602. package/bin/getZeroTrustOrganization.d.ts +69 -0
  603. package/bin/getZeroTrustOrganization.js +52 -0
  604. package/bin/getZeroTrustOrganization.js.map +1 -0
  605. package/bin/getZeroTrustTunnelCloudflared.d.ts +16 -14
  606. package/bin/getZeroTrustTunnelCloudflared.js +6 -4
  607. package/bin/getZeroTrustTunnelCloudflared.js.map +1 -1
  608. package/bin/getZeroTrustTunnelCloudflaredConfig.d.ts +38 -0
  609. package/bin/getZeroTrustTunnelCloudflaredConfig.js +30 -0
  610. package/bin/getZeroTrustTunnelCloudflaredConfig.js.map +1 -0
  611. package/bin/getZeroTrustTunnelCloudflaredRoute.d.ts +45 -0
  612. package/bin/getZeroTrustTunnelCloudflaredRoute.js +34 -0
  613. package/bin/getZeroTrustTunnelCloudflaredRoute.js.map +1 -0
  614. package/bin/getZeroTrustTunnelCloudflaredRoutes.d.ts +57 -0
  615. package/bin/getZeroTrustTunnelCloudflaredRoutes.js +42 -0
  616. package/bin/getZeroTrustTunnelCloudflaredRoutes.js.map +1 -0
  617. package/bin/getZeroTrustTunnelCloudflaredVirtualNetwork.d.ts +35 -0
  618. package/bin/getZeroTrustTunnelCloudflaredVirtualNetwork.js +28 -0
  619. package/bin/getZeroTrustTunnelCloudflaredVirtualNetwork.js.map +1 -0
  620. package/bin/getZeroTrustTunnelCloudflaredVirtualNetworks.d.ts +38 -0
  621. package/bin/getZeroTrustTunnelCloudflaredVirtualNetworks.js +32 -0
  622. package/bin/getZeroTrustTunnelCloudflaredVirtualNetworks.js.map +1 -0
  623. package/bin/getZeroTrustTunnelCloudflareds.d.ts +57 -0
  624. package/bin/getZeroTrustTunnelCloudflareds.js +42 -0
  625. package/bin/getZeroTrustTunnelCloudflareds.js.map +1 -0
  626. package/bin/getZone.d.ts +17 -9
  627. package/bin/getZone.js +2 -6
  628. package/bin/getZone.js.map +1 -1
  629. package/bin/getZoneCacheReserve.d.ts +12 -3
  630. package/bin/getZoneCacheReserve.js +6 -2
  631. package/bin/getZoneCacheReserve.js.map +1 -1
  632. package/bin/getZoneCacheVariants.d.ts +32 -0
  633. package/bin/getZoneCacheVariants.js +28 -0
  634. package/bin/getZoneCacheVariants.js.map +1 -0
  635. package/bin/getZoneHold.d.ts +34 -0
  636. package/bin/getZoneHold.js +28 -0
  637. package/bin/getZoneHold.js.map +1 -0
  638. package/bin/getZoneLockdown.d.ts +35 -0
  639. package/bin/getZoneLockdown.js +28 -0
  640. package/bin/getZoneLockdown.js.map +1 -0
  641. package/bin/getZoneLockdowns.d.ts +57 -0
  642. package/bin/getZoneLockdowns.js +42 -0
  643. package/bin/getZoneLockdowns.js.map +1 -0
  644. package/bin/getZoneSetting.d.ts +28 -0
  645. package/bin/getZoneSetting.js +24 -0
  646. package/bin/getZoneSetting.js.map +1 -0
  647. package/bin/getZoneSubscription.d.ts +25 -0
  648. package/bin/getZoneSubscription.js +22 -0
  649. package/bin/getZoneSubscription.js.map +1 -0
  650. package/bin/getZones.d.ts +27 -8
  651. package/bin/getZones.js +16 -4
  652. package/bin/getZones.js.map +1 -1
  653. package/bin/healthcheck.d.ts +64 -150
  654. package/bin/healthcheck.js +8 -23
  655. package/bin/healthcheck.js.map +1 -1
  656. package/bin/hostnameTlsSetting.d.ts +39 -22
  657. package/bin/hostnameTlsSetting.js +6 -9
  658. package/bin/hostnameTlsSetting.js.map +1 -1
  659. package/bin/hyperdriveConfig.d.ts +3 -42
  660. package/bin/hyperdriveConfig.js +0 -2
  661. package/bin/hyperdriveConfig.js.map +1 -1
  662. package/bin/index.d.ts +570 -240
  663. package/bin/index.js +612 -369
  664. package/bin/index.js.map +1 -1
  665. package/bin/keylessCertificate.d.ts +64 -35
  666. package/bin/keylessCertificate.js +8 -2
  667. package/bin/keylessCertificate.js.map +1 -1
  668. package/bin/list.d.ts +22 -21
  669. package/bin/list.js +0 -2
  670. package/bin/list.js.map +1 -1
  671. package/bin/listItem.d.ts +67 -32
  672. package/bin/listItem.js +10 -7
  673. package/bin/listItem.js.map +1 -1
  674. package/bin/loadBalancer.d.ts +228 -198
  675. package/bin/loadBalancer.js +16 -16
  676. package/bin/loadBalancer.js.map +1 -1
  677. package/bin/loadBalancerMonitor.d.ts +91 -90
  678. package/bin/loadBalancerMonitor.js +2 -4
  679. package/bin/loadBalancerMonitor.js.map +1 -1
  680. package/bin/loadBalancerPool.d.ts +94 -78
  681. package/bin/loadBalancerPool.js +10 -6
  682. package/bin/loadBalancerPool.js.map +1 -1
  683. package/bin/logpullRetention.d.ts +9 -12
  684. package/bin/logpullRetention.js +2 -7
  685. package/bin/logpullRetention.js.map +1 -1
  686. package/bin/logpushJob.d.ts +120 -98
  687. package/bin/logpushJob.js +6 -7
  688. package/bin/logpushJob.js.map +1 -1
  689. package/bin/logpushOwnershipChallenge.d.ts +15 -26
  690. package/bin/logpushOwnershipChallenge.js +6 -4
  691. package/bin/logpushOwnershipChallenge.js.map +1 -1
  692. package/bin/magicWanGreTunnel.d.ts +52 -56
  693. package/bin/magicWanGreTunnel.js +18 -16
  694. package/bin/magicWanGreTunnel.js.map +1 -1
  695. package/bin/magicWanIpsecTunnel.d.ts +62 -156
  696. package/bin/magicWanIpsecTunnel.js +20 -28
  697. package/bin/magicWanIpsecTunnel.js.map +1 -1
  698. package/bin/magicWanStaticRoute.d.ts +58 -47
  699. package/bin/magicWanStaticRoute.js +18 -14
  700. package/bin/magicWanStaticRoute.js.map +1 -1
  701. package/bin/managedHeaders.d.ts +7 -28
  702. package/bin/managedHeaders.js +6 -2
  703. package/bin/managedHeaders.js.map +1 -1
  704. package/bin/mtlsCertificate.d.ts +33 -31
  705. package/bin/mtlsCertificate.js +2 -2
  706. package/bin/mtlsCertificate.js.map +1 -1
  707. package/bin/notificationPolicy.d.ts +60 -124
  708. package/bin/notificationPolicy.js +14 -10
  709. package/bin/notificationPolicy.js.map +1 -1
  710. package/bin/notificationPolicyWebhooks.d.ts +46 -30
  711. package/bin/notificationPolicyWebhooks.js +11 -2
  712. package/bin/notificationPolicyWebhooks.js.map +1 -1
  713. package/bin/observatoryScheduledTest.d.ts +28 -36
  714. package/bin/observatoryScheduledTest.js +8 -12
  715. package/bin/observatoryScheduledTest.js.map +1 -1
  716. package/bin/originCaCertificate.d.ts +31 -38
  717. package/bin/originCaCertificate.js +2 -13
  718. package/bin/originCaCertificate.js.map +1 -1
  719. package/bin/package.json +1 -1
  720. package/bin/pageRule.d.ts +56 -20
  721. package/bin/pageRule.js +6 -6
  722. package/bin/pageRule.js.map +1 -1
  723. package/bin/pagesDomain.d.ts +23 -27
  724. package/bin/pagesDomain.js +14 -7
  725. package/bin/pagesDomain.js.map +1 -1
  726. package/bin/pagesProject.d.ts +32 -35
  727. package/bin/pagesProject.js +5 -6
  728. package/bin/pagesProject.js.map +1 -1
  729. package/bin/provider.d.ts +10 -45
  730. package/bin/provider.js +1 -7
  731. package/bin/provider.js.map +1 -1
  732. package/bin/queue.d.ts +20 -16
  733. package/bin/queue.js +18 -3
  734. package/bin/queue.js.map +1 -1
  735. package/bin/r2bucket.d.ts +29 -9
  736. package/bin/r2bucket.js +4 -0
  737. package/bin/r2bucket.js.map +1 -1
  738. package/bin/rateLimit.d.ts +33 -60
  739. package/bin/rateLimit.js +7 -12
  740. package/bin/rateLimit.js.map +1 -1
  741. package/bin/regionalHostname.d.ts +26 -20
  742. package/bin/regionalHostname.js +6 -4
  743. package/bin/regionalHostname.js.map +1 -1
  744. package/bin/regionalTieredCache.d.ts +12 -7
  745. package/bin/regionalTieredCache.js +2 -5
  746. package/bin/regionalTieredCache.js.map +1 -1
  747. package/bin/ruleset.d.ts +39 -38
  748. package/bin/ruleset.js +7 -0
  749. package/bin/ruleset.js.map +1 -1
  750. package/bin/spectrumApplication.d.ts +65 -56
  751. package/bin/spectrumApplication.js +0 -4
  752. package/bin/spectrumApplication.js.map +1 -1
  753. package/bin/tieredCache.d.ts +25 -12
  754. package/bin/tieredCache.js +8 -6
  755. package/bin/tieredCache.js.map +1 -1
  756. package/bin/totalTls.d.ts +21 -16
  757. package/bin/totalTls.js +2 -2
  758. package/bin/totalTls.js.map +1 -1
  759. package/bin/turnstileWidget.d.ts +50 -29
  760. package/bin/turnstileWidget.js +8 -4
  761. package/bin/turnstileWidget.js.map +1 -1
  762. package/bin/types/input.d.ts +9711 -4260
  763. package/bin/types/output.d.ts +14991 -4510
  764. package/bin/urlNormalizationSettings.d.ts +5 -8
  765. package/bin/urlNormalizationSettings.js +0 -8
  766. package/bin/urlNormalizationSettings.js.map +1 -1
  767. package/bin/userAgentBlockingRule.d.ts +15 -30
  768. package/bin/userAgentBlockingRule.js +4 -14
  769. package/bin/userAgentBlockingRule.js.map +1 -1
  770. package/bin/utilities.js +2 -2
  771. package/bin/utilities.js.map +1 -1
  772. package/bin/waitingRoom.d.ts +405 -85
  773. package/bin/waitingRoom.js +10 -4
  774. package/bin/waitingRoom.js.map +1 -1
  775. package/bin/waitingRoomEvent.d.ts +91 -88
  776. package/bin/waitingRoomEvent.js +0 -2
  777. package/bin/waitingRoomEvent.js.map +1 -1
  778. package/bin/waitingRoomRules.d.ts +51 -17
  779. package/bin/waitingRoomRules.js +16 -4
  780. package/bin/waitingRoomRules.js.map +1 -1
  781. package/bin/waitingRoomSetting.d.ts +63 -0
  782. package/bin/waitingRoomSetting.js +54 -0
  783. package/bin/waitingRoomSetting.js.map +1 -0
  784. package/bin/web3Hostname.d.ts +5 -24
  785. package/bin/web3Hostname.js +1 -3
  786. package/bin/web3Hostname.js.map +1 -1
  787. package/bin/webAnalyticsRule.d.ts +17 -39
  788. package/bin/webAnalyticsRule.js +4 -16
  789. package/bin/webAnalyticsRule.js.map +1 -1
  790. package/bin/webAnalyticsSite.d.ts +27 -38
  791. package/bin/webAnalyticsSite.js +6 -11
  792. package/bin/webAnalyticsSite.js.map +1 -1
  793. package/bin/workersCronTrigger.d.ts +13 -21
  794. package/bin/workersCronTrigger.js +3 -6
  795. package/bin/workersCronTrigger.js.map +1 -1
  796. package/bin/workersCustomDomain.d.ts +104 -0
  797. package/bin/workersCustomDomain.js +74 -0
  798. package/bin/workersCustomDomain.js.map +1 -0
  799. package/bin/workersForPlatformsDispatchNamespace.d.ts +62 -6
  800. package/bin/workersForPlatformsDispatchNamespace.js +14 -0
  801. package/bin/workersForPlatformsDispatchNamespace.js.map +1 -1
  802. package/bin/workersKv.d.ts +30 -21
  803. package/bin/workersKv.js +9 -6
  804. package/bin/workersKv.js.map +1 -1
  805. package/bin/workersKvNamespace.d.ts +16 -9
  806. package/bin/workersKvNamespace.js +2 -2
  807. package/bin/workersKvNamespace.js.map +1 -1
  808. package/bin/workersScript.d.ts +79 -90
  809. package/bin/workersScript.js +25 -41
  810. package/bin/workersScript.js.map +1 -1
  811. package/bin/workersSecret.d.ts +39 -21
  812. package/bin/workersSecret.js +9 -9
  813. package/bin/workersSecret.js.map +1 -1
  814. package/bin/zeroTrustAccessApplication.d.ts +120 -152
  815. package/bin/zeroTrustAccessApplication.js +2 -6
  816. package/bin/zeroTrustAccessApplication.js.map +1 -1
  817. package/bin/zeroTrustAccessCustomPage.d.ts +28 -37
  818. package/bin/zeroTrustAccessCustomPage.js +12 -4
  819. package/bin/zeroTrustAccessCustomPage.js.map +1 -1
  820. package/bin/zeroTrustAccessGroup.d.ts +61 -15
  821. package/bin/zeroTrustAccessGroup.js +6 -2
  822. package/bin/zeroTrustAccessGroup.js.map +1 -1
  823. package/bin/zeroTrustAccessIdentityProvider.d.ts +30 -39
  824. package/bin/zeroTrustAccessIdentityProvider.js +7 -6
  825. package/bin/zeroTrustAccessIdentityProvider.js.map +1 -1
  826. package/bin/zeroTrustAccessKeyConfiguration.d.ts +76 -0
  827. package/bin/zeroTrustAccessKeyConfiguration.js +61 -0
  828. package/bin/zeroTrustAccessKeyConfiguration.js.map +1 -0
  829. package/bin/zeroTrustAccessMtlsCertificate.d.ts +30 -21
  830. package/bin/zeroTrustAccessMtlsCertificate.js +9 -2
  831. package/bin/zeroTrustAccessMtlsCertificate.js.map +1 -1
  832. package/bin/zeroTrustAccessMtlsHostnameSettings.d.ts +9 -9
  833. package/bin/zeroTrustAccessMtlsHostnameSettings.js +3 -0
  834. package/bin/zeroTrustAccessMtlsHostnameSettings.js.map +1 -1
  835. package/bin/zeroTrustAccessPolicy.d.ts +92 -61
  836. package/bin/zeroTrustAccessPolicy.js +9 -6
  837. package/bin/zeroTrustAccessPolicy.js.map +1 -1
  838. package/bin/zeroTrustAccessServiceToken.d.ts +25 -28
  839. package/bin/zeroTrustAccessServiceToken.js +4 -6
  840. package/bin/zeroTrustAccessServiceToken.js.map +1 -1
  841. package/bin/zeroTrustAccessShortLivedCertificate.d.ts +14 -33
  842. package/bin/zeroTrustAccessShortLivedCertificate.js +4 -10
  843. package/bin/zeroTrustAccessShortLivedCertificate.js.map +1 -1
  844. package/bin/zeroTrustAccessTag.d.ts +15 -36
  845. package/bin/zeroTrustAccessTag.js +8 -5
  846. package/bin/zeroTrustAccessTag.js.map +1 -1
  847. package/bin/zeroTrustDeviceCertificates.d.ts +6 -18
  848. package/bin/zeroTrustDeviceCertificates.js +4 -6
  849. package/bin/zeroTrustDeviceCertificates.js.map +1 -1
  850. package/bin/zeroTrustDeviceManagedNetworks.d.ts +17 -21
  851. package/bin/zeroTrustDeviceManagedNetworks.js +2 -2
  852. package/bin/zeroTrustDeviceManagedNetworks.js.map +1 -1
  853. package/bin/zeroTrustDevicePostureIntegration.d.ts +20 -35
  854. package/bin/zeroTrustDevicePostureIntegration.js +8 -6
  855. package/bin/zeroTrustDevicePostureIntegration.js.map +1 -1
  856. package/bin/zeroTrustDevicePostureRule.d.ts +31 -43
  857. package/bin/zeroTrustDevicePostureRule.js +2 -4
  858. package/bin/zeroTrustDevicePostureRule.js.map +1 -1
  859. package/bin/zeroTrustDeviceProfiles.d.ts +120 -97
  860. package/bin/zeroTrustDeviceProfiles.js +24 -9
  861. package/bin/zeroTrustDeviceProfiles.js.map +1 -1
  862. package/bin/zeroTrustDexTest.d.ts +15 -28
  863. package/bin/zeroTrustDexTest.js +4 -9
  864. package/bin/zeroTrustDexTest.js.map +1 -1
  865. package/bin/zeroTrustDlpCustomProfile.d.ts +104 -0
  866. package/bin/zeroTrustDlpCustomProfile.js +73 -0
  867. package/bin/zeroTrustDlpCustomProfile.js.map +1 -0
  868. package/bin/zeroTrustDlpPredefinedProfile.d.ts +65 -0
  869. package/bin/zeroTrustDlpPredefinedProfile.js +68 -0
  870. package/bin/zeroTrustDlpPredefinedProfile.js.map +1 -0
  871. package/bin/zeroTrustDnsLocation.d.ts +68 -40
  872. package/bin/zeroTrustDnsLocation.js +10 -6
  873. package/bin/zeroTrustDnsLocation.js.map +1 -1
  874. package/bin/zeroTrustGatewayPolicy.d.ts +68 -55
  875. package/bin/zeroTrustGatewayPolicy.js +8 -10
  876. package/bin/zeroTrustGatewayPolicy.js.map +1 -1
  877. package/bin/zeroTrustGatewayProxyEndpoint.d.ts +12 -20
  878. package/bin/zeroTrustGatewayProxyEndpoint.js +4 -2
  879. package/bin/zeroTrustGatewayProxyEndpoint.js.map +1 -1
  880. package/bin/zeroTrustGatewaySettings.d.ts +10 -195
  881. package/bin/zeroTrustGatewaySettings.js +6 -34
  882. package/bin/zeroTrustGatewaySettings.js.map +1 -1
  883. package/bin/zeroTrustList.d.ts +24 -36
  884. package/bin/zeroTrustList.js +6 -4
  885. package/bin/zeroTrustList.js.map +1 -1
  886. package/bin/zeroTrustLocalDomainFallback.d.ts +87 -0
  887. package/bin/zeroTrustLocalDomainFallback.js +66 -0
  888. package/bin/zeroTrustLocalDomainFallback.js.map +1 -0
  889. package/bin/zeroTrustOrganization.d.ts +189 -0
  890. package/bin/zeroTrustOrganization.js +80 -0
  891. package/bin/zeroTrustOrganization.js.map +1 -0
  892. package/bin/zeroTrustTunnelCloudflared.d.ts +16 -47
  893. package/bin/zeroTrustTunnelCloudflared.js +2 -13
  894. package/bin/zeroTrustTunnelCloudflared.js.map +1 -1
  895. package/bin/zeroTrustTunnelCloudflaredConfig.d.ts +30 -13
  896. package/bin/zeroTrustTunnelCloudflaredConfig.js +6 -5
  897. package/bin/zeroTrustTunnelCloudflaredConfig.js.map +1 -1
  898. package/bin/zeroTrustTunnelCloudflaredRoute.d.ts +112 -0
  899. package/bin/zeroTrustTunnelCloudflaredRoute.js +70 -0
  900. package/bin/zeroTrustTunnelCloudflaredRoute.js.map +1 -0
  901. package/bin/zeroTrustTunnelCloudflaredVirtualNetwork.d.ts +112 -0
  902. package/bin/zeroTrustTunnelCloudflaredVirtualNetwork.js +64 -0
  903. package/bin/zeroTrustTunnelCloudflaredVirtualNetwork.js.map +1 -0
  904. package/bin/zone.d.ts +92 -71
  905. package/bin/zone.js +23 -18
  906. package/bin/zone.js.map +1 -1
  907. package/bin/zoneCacheReserve.d.ts +25 -12
  908. package/bin/zoneCacheReserve.js +6 -7
  909. package/bin/zoneCacheReserve.js.map +1 -1
  910. package/bin/zoneCacheVariants.d.ts +15 -128
  911. package/bin/zoneCacheVariants.js +7 -24
  912. package/bin/zoneCacheVariants.js.map +1 -1
  913. package/bin/zoneHold.d.ts +5 -38
  914. package/bin/zoneHold.js +3 -8
  915. package/bin/zoneHold.js.map +1 -1
  916. package/bin/zoneLockdown.d.ts +43 -35
  917. package/bin/zoneLockdown.js +10 -10
  918. package/bin/zoneLockdown.js.map +1 -1
  919. package/bin/zoneSetting.d.ts +96 -0
  920. package/bin/zoneSetting.js +66 -0
  921. package/bin/zoneSetting.js.map +1 -0
  922. package/bin/zoneSubscription.d.ts +74 -0
  923. package/bin/zoneSubscription.js +56 -0
  924. package/bin/zoneSubscription.js.map +1 -0
  925. package/package.json +1 -1
@@ -38,11 +38,11 @@ class MtlsCertificate extends pulumi.CustomResource {
38
38
  resourceInputs["certificates"] = state ? state.certificates : undefined;
39
39
  resourceInputs["expiresOn"] = state ? state.expiresOn : undefined;
40
40
  resourceInputs["issuer"] = state ? state.issuer : undefined;
41
- resourceInputs["mtlsCertificateId"] = state ? state.mtlsCertificateId : undefined;
42
41
  resourceInputs["name"] = state ? state.name : undefined;
43
42
  resourceInputs["privateKey"] = state ? state.privateKey : undefined;
44
43
  resourceInputs["serialNumber"] = state ? state.serialNumber : undefined;
45
44
  resourceInputs["signature"] = state ? state.signature : undefined;
45
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
46
46
  resourceInputs["uploadedOn"] = state ? state.uploadedOn : undefined;
47
47
  }
48
48
  else {
@@ -59,13 +59,13 @@ class MtlsCertificate extends pulumi.CustomResource {
59
59
  resourceInputs["accountId"] = args ? args.accountId : undefined;
60
60
  resourceInputs["ca"] = args ? args.ca : undefined;
61
61
  resourceInputs["certificates"] = args ? args.certificates : undefined;
62
- resourceInputs["mtlsCertificateId"] = args ? args.mtlsCertificateId : undefined;
63
62
  resourceInputs["name"] = args ? args.name : undefined;
64
63
  resourceInputs["privateKey"] = args ? args.privateKey : undefined;
65
64
  resourceInputs["expiresOn"] = undefined /*out*/;
66
65
  resourceInputs["issuer"] = undefined /*out*/;
67
66
  resourceInputs["serialNumber"] = undefined /*out*/;
68
67
  resourceInputs["signature"] = undefined /*out*/;
68
+ resourceInputs["updatedAt"] = undefined /*out*/;
69
69
  resourceInputs["uploadedOn"] = undefined /*out*/;
70
70
  }
71
71
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"mtl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AE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAClH,CAAC;;AA1HL,0CA2HC;AA7GG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
@@ -18,71 +18,50 @@ export declare class NotificationPolicy extends pulumi.CustomResource {
18
18
  */
19
19
  static isInstance(obj: any): obj is NotificationPolicy;
20
20
  /**
21
- * The account identifier to target for the resource.
21
+ * The account id
22
22
  */
23
23
  readonly accountId: pulumi.Output<string>;
24
24
  /**
25
- * The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
26
- * [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
27
- * values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
28
- * `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
29
- * `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
30
- * `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
31
- * `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
32
- * `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
33
- * `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
34
- * `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
35
- * `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
36
- * `magic_tunnel_health_check_event`, `maintenance_event_notification`,
37
- * `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
38
- * `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
39
- * `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
40
- * `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
41
- * `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
42
- * `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
43
- * `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
44
- * `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
45
- * `zone_aop_custom_certificate_expiration_type`.
25
+ * Optional specification of how often to re-alert from the same incident, not support on all alert types.
46
26
  */
47
- readonly alertType: pulumi.Output<string>;
27
+ readonly alertInterval: pulumi.Output<string>;
48
28
  /**
49
- * When the notification policy was created.
29
+ * Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which
30
+ * then will give you a list of possible values.
50
31
  */
32
+ readonly alertType: pulumi.Output<string>;
51
33
  readonly created: pulumi.Output<string>;
52
34
  /**
53
- * Description of the notification policy.
54
- */
55
- readonly description: pulumi.Output<string | undefined>;
56
- /**
57
- * The email ID to which the notification should be dispatched.
35
+ * Optional description for the Notification policy.
58
36
  */
59
- readonly emailIntegrations: pulumi.Output<outputs.NotificationPolicyEmailIntegration[] | undefined>;
37
+ readonly description: pulumi.Output<string>;
60
38
  /**
61
- * The status of the notification policy.
39
+ * Whether or not the Notification policy is enabled.
62
40
  */
63
41
  readonly enabled: pulumi.Output<boolean>;
42
+ readonly errors: pulumi.Output<outputs.NotificationPolicyError[]>;
64
43
  /**
65
- * An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
66
- * of filter and the values to match against (refer to the alert type block for available fields).
44
+ * Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria.
45
+ * This is only available for select alert types. See alert type documentation for more details.
67
46
  */
68
- readonly filters: pulumi.Output<outputs.NotificationPolicyFilters | undefined>;
47
+ readonly filters: pulumi.Output<outputs.NotificationPolicyFilters>;
69
48
  /**
70
- * When the notification policy was last modified.
49
+ * List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.
71
50
  */
51
+ readonly mechanisms: pulumi.Output<{
52
+ [key: string]: outputs.NotificationPolicyMechanisms[];
53
+ }>;
54
+ readonly messages: pulumi.Output<outputs.NotificationPolicyMessage[]>;
72
55
  readonly modified: pulumi.Output<string>;
73
56
  /**
74
- * The name of the notification policy.
57
+ * Name of the policy.
75
58
  */
76
59
  readonly name: pulumi.Output<string>;
77
- readonly notificationPolicyId: pulumi.Output<string>;
78
- /**
79
- * The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
80
- */
81
- readonly pagerdutyIntegrations: pulumi.Output<outputs.NotificationPolicyPagerdutyIntegration[] | undefined>;
60
+ readonly resultInfo: pulumi.Output<outputs.NotificationPolicyResultInfo>;
82
61
  /**
83
- * The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
62
+ * Whether the API call was successful
84
63
  */
85
- readonly webhooksIntegrations: pulumi.Output<outputs.NotificationPolicyWebhooksIntegration[] | undefined>;
64
+ readonly success: pulumi.Output<boolean>;
86
65
  /**
87
66
  * Create a NotificationPolicy resource with the given unique name, arguments, and options.
88
67
  *
@@ -97,132 +76,89 @@ export declare class NotificationPolicy extends pulumi.CustomResource {
97
76
  */
98
77
  export interface NotificationPolicyState {
99
78
  /**
100
- * The account identifier to target for the resource.
79
+ * The account id
101
80
  */
102
81
  accountId?: pulumi.Input<string>;
103
82
  /**
104
- * The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
105
- * [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
106
- * values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
107
- * `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
108
- * `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
109
- * `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
110
- * `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
111
- * `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
112
- * `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
113
- * `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
114
- * `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
115
- * `magic_tunnel_health_check_event`, `maintenance_event_notification`,
116
- * `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
117
- * `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
118
- * `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
119
- * `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
120
- * `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
121
- * `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
122
- * `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
123
- * `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
124
- * `zone_aop_custom_certificate_expiration_type`.
83
+ * Optional specification of how often to re-alert from the same incident, not support on all alert types.
125
84
  */
126
- alertType?: pulumi.Input<string>;
85
+ alertInterval?: pulumi.Input<string>;
127
86
  /**
128
- * When the notification policy was created.
87
+ * Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which
88
+ * then will give you a list of possible values.
129
89
  */
90
+ alertType?: pulumi.Input<string>;
130
91
  created?: pulumi.Input<string>;
131
92
  /**
132
- * Description of the notification policy.
93
+ * Optional description for the Notification policy.
133
94
  */
134
95
  description?: pulumi.Input<string>;
135
96
  /**
136
- * The email ID to which the notification should be dispatched.
137
- */
138
- emailIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyEmailIntegration>[]>;
139
- /**
140
- * The status of the notification policy.
97
+ * Whether or not the Notification policy is enabled.
141
98
  */
142
99
  enabled?: pulumi.Input<boolean>;
100
+ errors?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyError>[]>;
143
101
  /**
144
- * An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
145
- * of filter and the values to match against (refer to the alert type block for available fields).
102
+ * Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria.
103
+ * This is only available for select alert types. See alert type documentation for more details.
146
104
  */
147
105
  filters?: pulumi.Input<inputs.NotificationPolicyFilters>;
148
106
  /**
149
- * When the notification policy was last modified.
107
+ * List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.
150
108
  */
109
+ mechanisms?: pulumi.Input<{
110
+ [key: string]: pulumi.Input<pulumi.Input<inputs.NotificationPolicyMechanisms>[]>;
111
+ }>;
112
+ messages?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyMessage>[]>;
151
113
  modified?: pulumi.Input<string>;
152
114
  /**
153
- * The name of the notification policy.
115
+ * Name of the policy.
154
116
  */
155
117
  name?: pulumi.Input<string>;
156
- notificationPolicyId?: pulumi.Input<string>;
118
+ resultInfo?: pulumi.Input<inputs.NotificationPolicyResultInfo>;
157
119
  /**
158
- * The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
120
+ * Whether the API call was successful
159
121
  */
160
- pagerdutyIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyPagerdutyIntegration>[]>;
161
- /**
162
- * The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
163
- */
164
- webhooksIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksIntegration>[]>;
122
+ success?: pulumi.Input<boolean>;
165
123
  }
166
124
  /**
167
125
  * The set of arguments for constructing a NotificationPolicy resource.
168
126
  */
169
127
  export interface NotificationPolicyArgs {
170
128
  /**
171
- * The account identifier to target for the resource.
129
+ * The account id
172
130
  */
173
131
  accountId: pulumi.Input<string>;
174
132
  /**
175
- * The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
176
- * [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
177
- * values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
178
- * `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
179
- * `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
180
- * `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
181
- * `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
182
- * `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
183
- * `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
184
- * `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
185
- * `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
186
- * `magic_tunnel_health_check_event`, `maintenance_event_notification`,
187
- * `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
188
- * `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
189
- * `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
190
- * `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
191
- * `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
192
- * `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
193
- * `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
194
- * `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
195
- * `zone_aop_custom_certificate_expiration_type`.
133
+ * Optional specification of how often to re-alert from the same incident, not support on all alert types.
196
134
  */
197
- alertType: pulumi.Input<string>;
135
+ alertInterval?: pulumi.Input<string>;
198
136
  /**
199
- * Description of the notification policy.
137
+ * Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which
138
+ * then will give you a list of possible values.
200
139
  */
201
- description?: pulumi.Input<string>;
140
+ alertType: pulumi.Input<string>;
202
141
  /**
203
- * The email ID to which the notification should be dispatched.
142
+ * Optional description for the Notification policy.
204
143
  */
205
- emailIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyEmailIntegration>[]>;
144
+ description?: pulumi.Input<string>;
206
145
  /**
207
- * The status of the notification policy.
146
+ * Whether or not the Notification policy is enabled.
208
147
  */
209
- enabled: pulumi.Input<boolean>;
148
+ enabled?: pulumi.Input<boolean>;
210
149
  /**
211
- * An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
212
- * of filter and the values to match against (refer to the alert type block for available fields).
150
+ * Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria.
151
+ * This is only available for select alert types. See alert type documentation for more details.
213
152
  */
214
153
  filters?: pulumi.Input<inputs.NotificationPolicyFilters>;
215
154
  /**
216
- * The name of the notification policy.
155
+ * List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.
217
156
  */
218
- name?: pulumi.Input<string>;
219
- notificationPolicyId?: pulumi.Input<string>;
157
+ mechanisms: pulumi.Input<{
158
+ [key: string]: pulumi.Input<pulumi.Input<inputs.NotificationPolicyMechanisms>[]>;
159
+ }>;
220
160
  /**
221
- * The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
161
+ * Name of the policy.
222
162
  */
223
- pagerdutyIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyPagerdutyIntegration>[]>;
224
- /**
225
- * The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
226
- */
227
- webhooksIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksIntegration>[]>;
163
+ name?: pulumi.Input<string>;
228
164
  }
@@ -34,17 +34,19 @@ class NotificationPolicy extends pulumi.CustomResource {
34
34
  if (opts.id) {
35
35
  const state = argsOrState;
36
36
  resourceInputs["accountId"] = state ? state.accountId : undefined;
37
+ resourceInputs["alertInterval"] = state ? state.alertInterval : undefined;
37
38
  resourceInputs["alertType"] = state ? state.alertType : undefined;
38
39
  resourceInputs["created"] = state ? state.created : undefined;
39
40
  resourceInputs["description"] = state ? state.description : undefined;
40
- resourceInputs["emailIntegrations"] = state ? state.emailIntegrations : undefined;
41
41
  resourceInputs["enabled"] = state ? state.enabled : undefined;
42
+ resourceInputs["errors"] = state ? state.errors : undefined;
42
43
  resourceInputs["filters"] = state ? state.filters : undefined;
44
+ resourceInputs["mechanisms"] = state ? state.mechanisms : undefined;
45
+ resourceInputs["messages"] = state ? state.messages : undefined;
43
46
  resourceInputs["modified"] = state ? state.modified : undefined;
44
47
  resourceInputs["name"] = state ? state.name : undefined;
45
- resourceInputs["notificationPolicyId"] = state ? state.notificationPolicyId : undefined;
46
- resourceInputs["pagerdutyIntegrations"] = state ? state.pagerdutyIntegrations : undefined;
47
- resourceInputs["webhooksIntegrations"] = state ? state.webhooksIntegrations : undefined;
48
+ resourceInputs["resultInfo"] = state ? state.resultInfo : undefined;
49
+ resourceInputs["success"] = state ? state.success : undefined;
48
50
  }
49
51
  else {
50
52
  const args = argsOrState;
@@ -54,21 +56,23 @@ class NotificationPolicy extends pulumi.CustomResource {
54
56
  if ((!args || args.alertType === undefined) && !opts.urn) {
55
57
  throw new Error("Missing required property 'alertType'");
56
58
  }
57
- if ((!args || args.enabled === undefined) && !opts.urn) {
58
- throw new Error("Missing required property 'enabled'");
59
+ if ((!args || args.mechanisms === undefined) && !opts.urn) {
60
+ throw new Error("Missing required property 'mechanisms'");
59
61
  }
60
62
  resourceInputs["accountId"] = args ? args.accountId : undefined;
63
+ resourceInputs["alertInterval"] = args ? args.alertInterval : undefined;
61
64
  resourceInputs["alertType"] = args ? args.alertType : undefined;
62
65
  resourceInputs["description"] = args ? args.description : undefined;
63
- resourceInputs["emailIntegrations"] = args ? args.emailIntegrations : undefined;
64
66
  resourceInputs["enabled"] = args ? args.enabled : undefined;
65
67
  resourceInputs["filters"] = args ? args.filters : undefined;
68
+ resourceInputs["mechanisms"] = args ? args.mechanisms : undefined;
66
69
  resourceInputs["name"] = args ? args.name : undefined;
67
- resourceInputs["notificationPolicyId"] = args ? args.notificationPolicyId : undefined;
68
- resourceInputs["pagerdutyIntegrations"] = args ? args.pagerdutyIntegrations : undefined;
69
- resourceInputs["webhooksIntegrations"] = args ? args.webhooksIntegrations : undefined;
70
70
  resourceInputs["created"] = undefined /*out*/;
71
+ resourceInputs["errors"] = undefined /*out*/;
72
+ resourceInputs["messages"] = undefined /*out*/;
71
73
  resourceInputs["modified"] = undefined /*out*/;
74
+ resourceInputs["resultInfo"] = undefined /*out*/;
75
+ resourceInputs["success"] = undefined /*out*/;
72
76
  }
73
77
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
78
  super(NotificationPolicy.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
@@ -1 +1 @@
1
- {"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAA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S,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACrH,CAAC;;AA/HL,gDAgIC;AAlHG,gBAAgB;AACO,+BAAY,GAAG,wDAAwD,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
2
4
  export declare class NotificationPolicyWebhooks extends pulumi.CustomResource {
3
5
  /**
4
6
  * Get an existing NotificationPolicyWebhooks resource's state with the given name, ID, and optional extra
@@ -16,37 +18,45 @@ export declare class NotificationPolicyWebhooks extends pulumi.CustomResource {
16
18
  */
17
19
  static isInstance(obj: any): obj is NotificationPolicyWebhooks;
18
20
  /**
19
- * The account identifier to target for the resource.
21
+ * The account id
20
22
  */
21
23
  readonly accountId: pulumi.Output<string>;
22
24
  /**
23
- * Timestamp of when the notification webhook was created.
25
+ * Timestamp of when the webhook destination was created.
24
26
  */
25
27
  readonly createdAt: pulumi.Output<string>;
28
+ readonly errors: pulumi.Output<outputs.NotificationPolicyWebhooksError[]>;
26
29
  /**
27
- * Timestamp of when the notification webhook last failed.
30
+ * Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
28
31
  */
29
32
  readonly lastFailure: pulumi.Output<string>;
30
33
  /**
31
- * Timestamp of when the notification webhook was last successful.
34
+ * Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
32
35
  */
33
36
  readonly lastSuccess: pulumi.Output<string>;
37
+ readonly messages: pulumi.Output<outputs.NotificationPolicyWebhooksMessage[]>;
34
38
  /**
35
- * The name of the webhook destination.
39
+ * The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
36
40
  */
37
41
  readonly name: pulumi.Output<string>;
38
- readonly notificationPolicyWebhooksId: pulumi.Output<string>;
42
+ readonly resultInfo: pulumi.Output<outputs.NotificationPolicyWebhooksResultInfo>;
39
43
  /**
40
- * An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook
41
- * notification. Secrets are not returned in any API response body. Refer to the
42
- * [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
44
+ * Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or
45
+ * formatted for supported destinations. Secrets are not returned in any API response body.
46
+ */
47
+ readonly secret: pulumi.Output<string>;
48
+ /**
49
+ * Whether the API call was successful
50
+ */
51
+ readonly success: pulumi.Output<boolean>;
52
+ /**
53
+ * Type of webhook endpoint.
43
54
  */
44
- readonly secret: pulumi.Output<string | undefined>;
45
55
  readonly type: pulumi.Output<string>;
46
56
  /**
47
- * The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
57
+ * The POST endpoint to call when dispatching a notification.
48
58
  */
49
- readonly url: pulumi.Output<string | undefined>;
59
+ readonly url: pulumi.Output<string>;
50
60
  /**
51
61
  * Create a NotificationPolicyWebhooks resource with the given unique name, arguments, and options.
52
62
  *
@@ -61,35 +71,43 @@ export declare class NotificationPolicyWebhooks extends pulumi.CustomResource {
61
71
  */
62
72
  export interface NotificationPolicyWebhooksState {
63
73
  /**
64
- * The account identifier to target for the resource.
74
+ * The account id
65
75
  */
66
76
  accountId?: pulumi.Input<string>;
67
77
  /**
68
- * Timestamp of when the notification webhook was created.
78
+ * Timestamp of when the webhook destination was created.
69
79
  */
70
80
  createdAt?: pulumi.Input<string>;
81
+ errors?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksError>[]>;
71
82
  /**
72
- * Timestamp of when the notification webhook last failed.
83
+ * Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
73
84
  */
74
85
  lastFailure?: pulumi.Input<string>;
75
86
  /**
76
- * Timestamp of when the notification webhook was last successful.
87
+ * Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
77
88
  */
78
89
  lastSuccess?: pulumi.Input<string>;
90
+ messages?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksMessage>[]>;
79
91
  /**
80
- * The name of the webhook destination.
92
+ * The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
81
93
  */
82
94
  name?: pulumi.Input<string>;
83
- notificationPolicyWebhooksId?: pulumi.Input<string>;
95
+ resultInfo?: pulumi.Input<inputs.NotificationPolicyWebhooksResultInfo>;
84
96
  /**
85
- * An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook
86
- * notification. Secrets are not returned in any API response body. Refer to the
87
- * [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
97
+ * Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or
98
+ * formatted for supported destinations. Secrets are not returned in any API response body.
88
99
  */
89
100
  secret?: pulumi.Input<string>;
101
+ /**
102
+ * Whether the API call was successful
103
+ */
104
+ success?: pulumi.Input<boolean>;
105
+ /**
106
+ * Type of webhook endpoint.
107
+ */
90
108
  type?: pulumi.Input<string>;
91
109
  /**
92
- * The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
110
+ * The POST endpoint to call when dispatching a notification.
93
111
  */
94
112
  url?: pulumi.Input<string>;
95
113
  }
@@ -98,22 +116,20 @@ export interface NotificationPolicyWebhooksState {
98
116
  */
99
117
  export interface NotificationPolicyWebhooksArgs {
100
118
  /**
101
- * The account identifier to target for the resource.
119
+ * The account id
102
120
  */
103
121
  accountId: pulumi.Input<string>;
104
122
  /**
105
- * The name of the webhook destination.
123
+ * The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
106
124
  */
107
125
  name?: pulumi.Input<string>;
108
- notificationPolicyWebhooksId?: pulumi.Input<string>;
109
126
  /**
110
- * An optional secret can be provided that will be passed in the `cf-webhook-auth` header when dispatching a webhook
111
- * notification. Secrets are not returned in any API response body. Refer to the
112
- * [documentation](https://api.cloudflare.com/#notification-webhooks-create-webhook) for more details.
127
+ * Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or
128
+ * formatted for supported destinations. Secrets are not returned in any API response body.
113
129
  */
114
130
  secret?: pulumi.Input<string>;
115
131
  /**
116
- * The URL of the webhook destinations. **Modifying this attribute will force creation of a new resource.**
132
+ * The POST endpoint to call when dispatching a notification.
117
133
  */
118
- url?: pulumi.Input<string>;
134
+ url: pulumi.Input<string>;
119
135
  }
@@ -35,11 +35,14 @@ class NotificationPolicyWebhooks extends pulumi.CustomResource {
35
35
  const state = argsOrState;
36
36
  resourceInputs["accountId"] = state ? state.accountId : undefined;
37
37
  resourceInputs["createdAt"] = state ? state.createdAt : undefined;
38
+ resourceInputs["errors"] = state ? state.errors : undefined;
38
39
  resourceInputs["lastFailure"] = state ? state.lastFailure : undefined;
39
40
  resourceInputs["lastSuccess"] = state ? state.lastSuccess : undefined;
41
+ resourceInputs["messages"] = state ? state.messages : undefined;
40
42
  resourceInputs["name"] = state ? state.name : undefined;
41
- resourceInputs["notificationPolicyWebhooksId"] = state ? state.notificationPolicyWebhooksId : undefined;
43
+ resourceInputs["resultInfo"] = state ? state.resultInfo : undefined;
42
44
  resourceInputs["secret"] = state ? state.secret : undefined;
45
+ resourceInputs["success"] = state ? state.success : undefined;
43
46
  resourceInputs["type"] = state ? state.type : undefined;
44
47
  resourceInputs["url"] = state ? state.url : undefined;
45
48
  }
@@ -48,14 +51,20 @@ class NotificationPolicyWebhooks extends pulumi.CustomResource {
48
51
  if ((!args || args.accountId === undefined) && !opts.urn) {
49
52
  throw new Error("Missing required property 'accountId'");
50
53
  }
54
+ if ((!args || args.url === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'url'");
56
+ }
51
57
  resourceInputs["accountId"] = args ? args.accountId : undefined;
52
58
  resourceInputs["name"] = args ? args.name : undefined;
53
- resourceInputs["notificationPolicyWebhooksId"] = args ? args.notificationPolicyWebhooksId : undefined;
54
59
  resourceInputs["secret"] = args ? args.secret : undefined;
55
60
  resourceInputs["url"] = args ? args.url : undefined;
56
61
  resourceInputs["createdAt"] = undefined /*out*/;
62
+ resourceInputs["errors"] = undefined /*out*/;
57
63
  resourceInputs["lastFailure"] = undefined /*out*/;
58
64
  resourceInputs["lastSuccess"] = undefined /*out*/;
65
+ resourceInputs["messages"] = undefined /*out*/;
66
+ resourceInputs["resultInfo"] = undefined /*out*/;
67
+ resourceInputs["success"] = undefined /*out*/;
59
68
  resourceInputs["type"] = undefined /*out*/;
60
69
  }
61
70
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"notificationPolicyWebhooks.js","sourceRoot":"","sources":["../notificationPolicyWebhooks.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IA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