newscatcher-catchall-sdk 1.5.1 → 3.0.0

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 (371) hide show
  1. package/README.md +12 -2
  2. package/dist/cjs/BaseClient.d.ts +3 -0
  3. package/dist/cjs/BaseClient.js +17 -2
  4. package/dist/cjs/Client.d.ts +6 -0
  5. package/dist/cjs/Client.js +10 -0
  6. package/dist/cjs/api/resources/datasets/client/Client.d.ts +32 -32
  7. package/dist/cjs/api/resources/datasets/client/Client.js +59 -66
  8. package/dist/cjs/api/resources/datasets/client/requests/ListDatasetEntitiesRequest.d.ts +28 -0
  9. package/dist/cjs/api/resources/datasets/client/requests/ListDatasetsRequest.d.ts +4 -2
  10. package/dist/cjs/api/resources/datasets/client/requests/index.d.ts +1 -1
  11. package/dist/cjs/api/resources/entities/client/Client.d.ts +3 -7
  12. package/dist/cjs/api/resources/entities/client/Client.js +3 -7
  13. package/dist/cjs/api/resources/index.d.ts +5 -0
  14. package/dist/cjs/api/resources/index.js +6 -1
  15. package/dist/cjs/api/resources/jobs/client/Client.d.ts +23 -5
  16. package/dist/cjs/api/resources/jobs/client/Client.js +65 -6
  17. package/dist/cjs/api/resources/jobs/client/requests/GetUserJobsRequest.d.ts +5 -2
  18. package/dist/cjs/api/resources/jobs/client/requests/SubmitRequestDto.d.ts +11 -1
  19. package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.ts +10 -0
  20. package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.js +3 -0
  21. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/monitors/client/Client.d.ts +7 -16
  23. package/dist/cjs/api/resources/monitors/client/Client.js +9 -17
  24. package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.ts +17 -14
  25. package/dist/cjs/api/resources/monitors/client/requests/ListMonitorsRequest.d.ts +5 -2
  26. package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.ts +7 -10
  27. package/dist/cjs/api/resources/monitors/types/DisableMonitorResponse.d.ts +1 -1
  28. package/dist/cjs/api/resources/monitors/types/EnableMonitorResponse.d.ts +1 -1
  29. package/dist/cjs/api/resources/projects/client/Client.d.ts +178 -0
  30. package/dist/cjs/api/resources/projects/client/Client.js +626 -0
  31. package/dist/cjs/api/resources/projects/client/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/projects/client/index.js +17 -0
  33. package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.d.ts +17 -0
  34. package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.js +3 -0
  35. package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.d.ts +13 -0
  36. package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.js +3 -0
  37. package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.d.ts +12 -0
  38. package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.js +3 -0
  39. package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.d.ts +10 -0
  40. package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.js +3 -0
  41. package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.d.ts +10 -0
  42. package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.js +3 -0
  43. package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.d.ts +16 -0
  44. package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.js +3 -0
  45. package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.d.ts +16 -0
  46. package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.js +3 -0
  47. package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.ts +16 -0
  48. package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.js +3 -0
  49. package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.d.ts +15 -0
  50. package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.js +3 -0
  51. package/dist/cjs/api/resources/projects/client/requests/index.d.ts +9 -0
  52. package/dist/cjs/api/resources/projects/client/requests/index.js +2 -0
  53. package/dist/cjs/api/resources/projects/exports.d.ts +2 -0
  54. package/dist/cjs/api/resources/projects/exports.js +21 -0
  55. package/dist/cjs/api/resources/projects/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/projects/index.js +17 -0
  57. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +231 -0
  58. package/dist/cjs/api/resources/webhooks/client/Client.js +779 -0
  59. package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  61. package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.ts +17 -0
  62. package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.js +3 -0
  63. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.ts +42 -0
  64. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.js +3 -0
  65. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.ts +10 -0
  66. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.js +3 -0
  67. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.ts +18 -0
  68. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.js +3 -0
  69. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.d.ts +10 -0
  70. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.js +3 -0
  71. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.ts +16 -0
  72. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.js +3 -0
  73. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.ts +19 -0
  74. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.js +3 -0
  75. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +12 -0
  76. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.js +3 -0
  77. package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.ts +16 -0
  78. package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.js +3 -0
  79. package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.ts +19 -0
  80. package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.js +3 -0
  81. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.ts +30 -0
  82. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.js +3 -0
  83. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +11 -0
  84. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  85. package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
  86. package/dist/cjs/api/resources/webhooks/exports.js +21 -0
  87. package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
  88. package/dist/cjs/api/resources/webhooks/index.js +18 -0
  89. package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.ts +19 -0
  90. package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.js +3 -0
  91. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.ts +16 -0
  92. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.js +3 -0
  93. package/dist/cjs/api/resources/webhooks/types/index.d.ts +2 -0
  94. package/dist/cjs/api/resources/webhooks/types/index.js +18 -0
  95. package/dist/cjs/api/types/AddResourceResponseDto.d.ts +9 -0
  96. package/dist/cjs/api/types/AddResourceResponseDto.js +3 -0
  97. package/dist/cjs/api/types/ApiKeyAuthDto.d.ts +6 -0
  98. package/dist/cjs/api/types/ApiKeyAuthDto.js +3 -0
  99. package/dist/cjs/api/types/AssignWebhookResourceResponseDto.d.ts +11 -0
  100. package/dist/cjs/api/types/AssignWebhookResourceResponseDto.js +3 -0
  101. package/dist/cjs/api/types/BasicAuthDto.d.ts +6 -0
  102. package/dist/cjs/api/types/BasicAuthDto.js +3 -0
  103. package/dist/cjs/api/types/BearerAuthDto.d.ts +4 -0
  104. package/dist/cjs/api/types/BearerAuthDto.js +3 -0
  105. package/dist/cjs/api/types/ConnectedEntity.d.ts +12 -9
  106. package/dist/cjs/api/types/CreateProjectResponseDto.d.ts +10 -0
  107. package/dist/cjs/api/types/CreateProjectResponseDto.js +3 -0
  108. package/dist/cjs/api/types/CreateWebhookResponseDto.d.ts +9 -0
  109. package/dist/cjs/api/types/CreateWebhookResponseDto.js +3 -0
  110. package/dist/cjs/api/types/DeleteJobResponseDto.d.ts +1 -1
  111. package/dist/cjs/api/types/DeleteMonitorResponseDto.d.ts +1 -1
  112. package/dist/cjs/api/types/DeliveryHistoryItemDto.d.ts +25 -0
  113. package/dist/cjs/api/types/DeliveryHistoryItemDto.js +3 -0
  114. package/dist/cjs/api/types/DeliveryHistoryResponseDto.d.ts +17 -0
  115. package/dist/cjs/api/types/DeliveryHistoryResponseDto.js +3 -0
  116. package/dist/cjs/api/types/DeliveryMode.d.ts +11 -0
  117. package/dist/cjs/api/types/DeliveryMode.js +14 -0
  118. package/dist/cjs/api/types/DeliveryStatus.d.ts +6 -0
  119. package/dist/cjs/api/types/DeliveryStatus.js +9 -0
  120. package/dist/cjs/api/types/GetWebhookResponseDto.d.ts +9 -0
  121. package/dist/cjs/api/types/GetWebhookResponseDto.js +3 -0
  122. package/dist/cjs/api/types/HttpMethod.d.ts +9 -0
  123. package/dist/cjs/api/types/HttpMethod.js +12 -0
  124. package/dist/cjs/api/types/IssueType.d.ts +25 -0
  125. package/dist/cjs/api/types/IssueType.js +28 -0
  126. package/dist/cjs/api/types/JobStep.d.ts +1 -1
  127. package/dist/cjs/api/types/ListWebhookResourcesResponseDto.d.ts +13 -0
  128. package/dist/cjs/api/types/ListWebhookResourcesResponseDto.js +3 -0
  129. package/dist/cjs/api/types/ListWebhooksResponseDto.d.ts +13 -0
  130. package/dist/cjs/api/types/ListWebhooksResponseDto.js +3 -0
  131. package/dist/cjs/api/types/MappableResourceType.d.ts +7 -0
  132. package/dist/cjs/api/types/MappableResourceType.js +10 -0
  133. package/dist/cjs/api/types/MonitorListItemDto.d.ts +1 -1
  134. package/dist/cjs/api/types/MonitorStatusHistoryResponseDto.d.ts +1 -1
  135. package/dist/cjs/api/types/ProjectListResponseDto.d.ts +13 -0
  136. package/dist/cjs/api/types/ProjectListResponseDto.js +3 -0
  137. package/dist/cjs/api/types/ProjectOverviewCountsDto.d.ts +4 -0
  138. package/dist/cjs/api/types/ProjectOverviewCountsDto.js +3 -0
  139. package/dist/cjs/api/types/ProjectOverviewResponseDto.d.ts +18 -0
  140. package/dist/cjs/api/types/ProjectOverviewResponseDto.js +3 -0
  141. package/dist/cjs/api/types/ProjectResourceDto.d.ts +18 -0
  142. package/dist/cjs/api/types/ProjectResourceDto.js +3 -0
  143. package/dist/cjs/api/types/ProjectResourceListResponseDto.d.ts +13 -0
  144. package/dist/cjs/api/types/ProjectResourceListResponseDto.js +3 -0
  145. package/dist/cjs/api/types/ProjectResourceType.d.ts +8 -0
  146. package/dist/cjs/api/types/ProjectResourceType.js +11 -0
  147. package/dist/cjs/api/types/ProjectResponseDto.d.ts +18 -0
  148. package/dist/cjs/api/types/ProjectResponseDto.js +3 -0
  149. package/dist/cjs/api/types/ProjectSummaryDto.d.ts +17 -0
  150. package/dist/cjs/api/types/ProjectSummaryDto.js +3 -0
  151. package/dist/cjs/api/types/QueryStatus.d.ts +13 -0
  152. package/dist/cjs/api/types/QueryStatus.js +16 -0
  153. package/dist/cjs/api/types/RemoveResourceResponseDto.d.ts +6 -0
  154. package/dist/cjs/api/types/RemoveResourceResponseDto.js +3 -0
  155. package/dist/cjs/api/types/ResourceItemDto.d.ts +6 -0
  156. package/dist/cjs/api/types/ResourceItemDto.js +3 -0
  157. package/dist/cjs/api/types/ResourceResultDto.d.ts +12 -0
  158. package/dist/cjs/api/types/ResourceResultDto.js +3 -0
  159. package/dist/cjs/api/types/Suggestion.d.ts +12 -0
  160. package/dist/cjs/api/types/Suggestion.js +3 -0
  161. package/dist/cjs/api/types/TestWebhookResponseDto.d.ts +10 -0
  162. package/dist/cjs/api/types/TestWebhookResponseDto.js +3 -0
  163. package/dist/cjs/api/types/UpdateProjectResponseDto.d.ts +8 -0
  164. package/dist/cjs/api/types/UpdateProjectResponseDto.js +3 -0
  165. package/dist/cjs/api/types/UpdateWebhookResponseDto.d.ts +9 -0
  166. package/dist/cjs/api/types/UpdateWebhookResponseDto.js +3 -0
  167. package/dist/cjs/api/types/ValidateQueryResponseDto.d.ts +18 -0
  168. package/dist/cjs/api/types/ValidateQueryResponseDto.js +3 -0
  169. package/dist/cjs/api/types/WebhookResourceMappingResponseDto.d.ts +12 -0
  170. package/dist/cjs/api/types/WebhookResourceMappingResponseDto.js +3 -0
  171. package/dist/cjs/api/types/WebhookResponseDto.d.ts +28 -0
  172. package/dist/cjs/api/types/WebhookResponseDto.js +3 -0
  173. package/dist/cjs/api/types/WebhookType.d.ts +17 -0
  174. package/dist/cjs/api/types/WebhookType.js +20 -0
  175. package/dist/cjs/api/types/index.d.ts +37 -0
  176. package/dist/cjs/api/types/index.js +37 -0
  177. package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
  178. package/dist/cjs/core/auth/AuthProvider.js +7 -0
  179. package/dist/cjs/core/auth/index.d.ts +1 -1
  180. package/dist/cjs/core/auth/index.js +3 -1
  181. package/dist/cjs/core/fetcher/requestWithRetries.js +4 -1
  182. package/dist/cjs/version.d.ts +1 -1
  183. package/dist/cjs/version.js +1 -1
  184. package/dist/esm/BaseClient.d.mts +3 -0
  185. package/dist/esm/BaseClient.mjs +17 -2
  186. package/dist/esm/Client.d.mts +6 -0
  187. package/dist/esm/Client.mjs +10 -0
  188. package/dist/esm/api/resources/datasets/client/Client.d.mts +32 -32
  189. package/dist/esm/api/resources/datasets/client/Client.mjs +59 -66
  190. package/dist/esm/api/resources/datasets/client/requests/ListDatasetEntitiesRequest.d.mts +28 -0
  191. package/dist/esm/api/resources/datasets/client/requests/ListDatasetsRequest.d.mts +4 -2
  192. package/dist/esm/api/resources/datasets/client/requests/index.d.mts +1 -1
  193. package/dist/esm/api/resources/entities/client/Client.d.mts +3 -7
  194. package/dist/esm/api/resources/entities/client/Client.mjs +3 -7
  195. package/dist/esm/api/resources/index.d.mts +5 -0
  196. package/dist/esm/api/resources/index.mjs +5 -0
  197. package/dist/esm/api/resources/jobs/client/Client.d.mts +23 -5
  198. package/dist/esm/api/resources/jobs/client/Client.mjs +65 -6
  199. package/dist/esm/api/resources/jobs/client/requests/GetUserJobsRequest.d.mts +5 -2
  200. package/dist/esm/api/resources/jobs/client/requests/SubmitRequestDto.d.mts +11 -1
  201. package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.mts +10 -0
  202. package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.mjs +2 -0
  203. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +1 -0
  204. package/dist/esm/api/resources/monitors/client/Client.d.mts +7 -16
  205. package/dist/esm/api/resources/monitors/client/Client.mjs +9 -17
  206. package/dist/esm/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.mts +17 -14
  207. package/dist/esm/api/resources/monitors/client/requests/ListMonitorsRequest.d.mts +5 -2
  208. package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.mts +7 -10
  209. package/dist/esm/api/resources/monitors/types/DisableMonitorResponse.d.mts +1 -1
  210. package/dist/esm/api/resources/monitors/types/EnableMonitorResponse.d.mts +1 -1
  211. package/dist/esm/api/resources/projects/client/Client.d.mts +178 -0
  212. package/dist/esm/api/resources/projects/client/Client.mjs +589 -0
  213. package/dist/esm/api/resources/projects/client/index.d.mts +1 -0
  214. package/dist/esm/api/resources/projects/client/index.mjs +1 -0
  215. package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.d.mts +17 -0
  216. package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.mjs +2 -0
  217. package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.d.mts +13 -0
  218. package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.mjs +2 -0
  219. package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.d.mts +12 -0
  220. package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.mjs +2 -0
  221. package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.d.mts +10 -0
  222. package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.mjs +2 -0
  223. package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.d.mts +10 -0
  224. package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.mjs +2 -0
  225. package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.d.mts +16 -0
  226. package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.mjs +2 -0
  227. package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.d.mts +16 -0
  228. package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.mjs +2 -0
  229. package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.mts +16 -0
  230. package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.mjs +2 -0
  231. package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.d.mts +15 -0
  232. package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.mjs +2 -0
  233. package/dist/esm/api/resources/projects/client/requests/index.d.mts +9 -0
  234. package/dist/esm/api/resources/projects/client/requests/index.mjs +1 -0
  235. package/dist/esm/api/resources/projects/exports.d.mts +2 -0
  236. package/dist/esm/api/resources/projects/exports.mjs +3 -0
  237. package/dist/esm/api/resources/projects/index.d.mts +1 -0
  238. package/dist/esm/api/resources/projects/index.mjs +1 -0
  239. package/dist/esm/api/resources/webhooks/client/Client.d.mts +231 -0
  240. package/dist/esm/api/resources/webhooks/client/Client.mjs +742 -0
  241. package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
  242. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  243. package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.mts +17 -0
  244. package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.mjs +2 -0
  245. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.mts +42 -0
  246. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.mjs +2 -0
  247. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.mts +10 -0
  248. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.mjs +2 -0
  249. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.mts +18 -0
  250. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.mjs +2 -0
  251. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.d.mts +10 -0
  252. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.mjs +2 -0
  253. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.mts +16 -0
  254. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.mjs +2 -0
  255. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.mts +19 -0
  256. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.mjs +2 -0
  257. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +12 -0
  258. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.mjs +2 -0
  259. package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.mts +16 -0
  260. package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.mjs +2 -0
  261. package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.mts +19 -0
  262. package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.mjs +2 -0
  263. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.mts +30 -0
  264. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.mjs +2 -0
  265. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +11 -0
  266. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  267. package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
  268. package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
  269. package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
  270. package/dist/esm/api/resources/webhooks/index.mjs +2 -0
  271. package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.mts +19 -0
  272. package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.mjs +2 -0
  273. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.mts +16 -0
  274. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.mjs +2 -0
  275. package/dist/esm/api/resources/webhooks/types/index.d.mts +2 -0
  276. package/dist/esm/api/resources/webhooks/types/index.mjs +2 -0
  277. package/dist/esm/api/types/AddResourceResponseDto.d.mts +9 -0
  278. package/dist/esm/api/types/AddResourceResponseDto.mjs +2 -0
  279. package/dist/esm/api/types/ApiKeyAuthDto.d.mts +6 -0
  280. package/dist/esm/api/types/ApiKeyAuthDto.mjs +2 -0
  281. package/dist/esm/api/types/AssignWebhookResourceResponseDto.d.mts +11 -0
  282. package/dist/esm/api/types/AssignWebhookResourceResponseDto.mjs +2 -0
  283. package/dist/esm/api/types/BasicAuthDto.d.mts +6 -0
  284. package/dist/esm/api/types/BasicAuthDto.mjs +2 -0
  285. package/dist/esm/api/types/BearerAuthDto.d.mts +4 -0
  286. package/dist/esm/api/types/BearerAuthDto.mjs +2 -0
  287. package/dist/esm/api/types/ConnectedEntity.d.mts +12 -9
  288. package/dist/esm/api/types/CreateProjectResponseDto.d.mts +10 -0
  289. package/dist/esm/api/types/CreateProjectResponseDto.mjs +2 -0
  290. package/dist/esm/api/types/CreateWebhookResponseDto.d.mts +9 -0
  291. package/dist/esm/api/types/CreateWebhookResponseDto.mjs +2 -0
  292. package/dist/esm/api/types/DeleteJobResponseDto.d.mts +1 -1
  293. package/dist/esm/api/types/DeleteMonitorResponseDto.d.mts +1 -1
  294. package/dist/esm/api/types/DeliveryHistoryItemDto.d.mts +25 -0
  295. package/dist/esm/api/types/DeliveryHistoryItemDto.mjs +2 -0
  296. package/dist/esm/api/types/DeliveryHistoryResponseDto.d.mts +17 -0
  297. package/dist/esm/api/types/DeliveryHistoryResponseDto.mjs +2 -0
  298. package/dist/esm/api/types/DeliveryMode.d.mts +11 -0
  299. package/dist/esm/api/types/DeliveryMode.mjs +11 -0
  300. package/dist/esm/api/types/DeliveryStatus.d.mts +6 -0
  301. package/dist/esm/api/types/DeliveryStatus.mjs +6 -0
  302. package/dist/esm/api/types/GetWebhookResponseDto.d.mts +9 -0
  303. package/dist/esm/api/types/GetWebhookResponseDto.mjs +2 -0
  304. package/dist/esm/api/types/HttpMethod.d.mts +9 -0
  305. package/dist/esm/api/types/HttpMethod.mjs +9 -0
  306. package/dist/esm/api/types/IssueType.d.mts +25 -0
  307. package/dist/esm/api/types/IssueType.mjs +25 -0
  308. package/dist/esm/api/types/JobStep.d.mts +1 -1
  309. package/dist/esm/api/types/ListWebhookResourcesResponseDto.d.mts +13 -0
  310. package/dist/esm/api/types/ListWebhookResourcesResponseDto.mjs +2 -0
  311. package/dist/esm/api/types/ListWebhooksResponseDto.d.mts +13 -0
  312. package/dist/esm/api/types/ListWebhooksResponseDto.mjs +2 -0
  313. package/dist/esm/api/types/MappableResourceType.d.mts +7 -0
  314. package/dist/esm/api/types/MappableResourceType.mjs +7 -0
  315. package/dist/esm/api/types/MonitorListItemDto.d.mts +1 -1
  316. package/dist/esm/api/types/MonitorStatusHistoryResponseDto.d.mts +1 -1
  317. package/dist/esm/api/types/ProjectListResponseDto.d.mts +13 -0
  318. package/dist/esm/api/types/ProjectListResponseDto.mjs +2 -0
  319. package/dist/esm/api/types/ProjectOverviewCountsDto.d.mts +4 -0
  320. package/dist/esm/api/types/ProjectOverviewCountsDto.mjs +2 -0
  321. package/dist/esm/api/types/ProjectOverviewResponseDto.d.mts +18 -0
  322. package/dist/esm/api/types/ProjectOverviewResponseDto.mjs +2 -0
  323. package/dist/esm/api/types/ProjectResourceDto.d.mts +18 -0
  324. package/dist/esm/api/types/ProjectResourceDto.mjs +2 -0
  325. package/dist/esm/api/types/ProjectResourceListResponseDto.d.mts +13 -0
  326. package/dist/esm/api/types/ProjectResourceListResponseDto.mjs +2 -0
  327. package/dist/esm/api/types/ProjectResourceType.d.mts +8 -0
  328. package/dist/esm/api/types/ProjectResourceType.mjs +8 -0
  329. package/dist/esm/api/types/ProjectResponseDto.d.mts +18 -0
  330. package/dist/esm/api/types/ProjectResponseDto.mjs +2 -0
  331. package/dist/esm/api/types/ProjectSummaryDto.d.mts +17 -0
  332. package/dist/esm/api/types/ProjectSummaryDto.mjs +2 -0
  333. package/dist/esm/api/types/QueryStatus.d.mts +13 -0
  334. package/dist/esm/api/types/QueryStatus.mjs +13 -0
  335. package/dist/esm/api/types/RemoveResourceResponseDto.d.mts +6 -0
  336. package/dist/esm/api/types/RemoveResourceResponseDto.mjs +2 -0
  337. package/dist/esm/api/types/ResourceItemDto.d.mts +6 -0
  338. package/dist/esm/api/types/ResourceItemDto.mjs +2 -0
  339. package/dist/esm/api/types/ResourceResultDto.d.mts +12 -0
  340. package/dist/esm/api/types/ResourceResultDto.mjs +2 -0
  341. package/dist/esm/api/types/Suggestion.d.mts +12 -0
  342. package/dist/esm/api/types/Suggestion.mjs +2 -0
  343. package/dist/esm/api/types/TestWebhookResponseDto.d.mts +10 -0
  344. package/dist/esm/api/types/TestWebhookResponseDto.mjs +2 -0
  345. package/dist/esm/api/types/UpdateProjectResponseDto.d.mts +8 -0
  346. package/dist/esm/api/types/UpdateProjectResponseDto.mjs +2 -0
  347. package/dist/esm/api/types/UpdateWebhookResponseDto.d.mts +9 -0
  348. package/dist/esm/api/types/UpdateWebhookResponseDto.mjs +2 -0
  349. package/dist/esm/api/types/ValidateQueryResponseDto.d.mts +18 -0
  350. package/dist/esm/api/types/ValidateQueryResponseDto.mjs +2 -0
  351. package/dist/esm/api/types/WebhookResourceMappingResponseDto.d.mts +12 -0
  352. package/dist/esm/api/types/WebhookResourceMappingResponseDto.mjs +2 -0
  353. package/dist/esm/api/types/WebhookResponseDto.d.mts +28 -0
  354. package/dist/esm/api/types/WebhookResponseDto.mjs +2 -0
  355. package/dist/esm/api/types/WebhookType.d.mts +17 -0
  356. package/dist/esm/api/types/WebhookType.mjs +17 -0
  357. package/dist/esm/api/types/index.d.mts +37 -0
  358. package/dist/esm/api/types/index.mjs +37 -0
  359. package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
  360. package/dist/esm/core/auth/AuthProvider.mjs +6 -1
  361. package/dist/esm/core/auth/index.d.mts +1 -1
  362. package/dist/esm/core/auth/index.mjs +1 -0
  363. package/dist/esm/core/fetcher/requestWithRetries.mjs +4 -1
  364. package/dist/esm/version.d.mts +1 -1
  365. package/dist/esm/version.mjs +1 -1
  366. package/package.json +24 -2
  367. package/reference.md +1614 -223
  368. package/dist/cjs/api/resources/datasets/client/requests/ListEntitiesInDatasetRequest.d.ts +0 -21
  369. package/dist/esm/api/resources/datasets/client/requests/ListEntitiesInDatasetRequest.d.mts +0 -21
  370. /package/dist/cjs/api/resources/datasets/client/requests/{ListEntitiesInDatasetRequest.js → ListDatasetEntitiesRequest.js} +0 -0
  371. /package/dist/esm/api/resources/datasets/client/requests/{ListEntitiesInDatasetRequest.mjs → ListDatasetEntitiesRequest.mjs} +0 -0
@@ -0,0 +1,17 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
6
+ * resources: [{
7
+ * resource_type: "job",
8
+ * resource_id: "48421e16-1f50-4048-b62c-d3bc0789d30d"
9
+ * }]
10
+ * }
11
+ */
12
+ export interface AddResourceRequestDto {
13
+ /** Unique project identifier. */
14
+ project_id: string;
15
+ /** Resources to assign to the project. */
16
+ resources: CatchAllApi.ResourceItemDto[];
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * name: "AI M&A Tracking",
5
+ * description: "Tracks AI-related M&A activity for our investment team."
6
+ * }
7
+ */
8
+ export interface CreateProjectRequestDto {
9
+ /** Name for the project. */
10
+ name: string;
11
+ /** Optional description. */
12
+ description?: string;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
5
+ * }
6
+ */
7
+ export interface DeleteProjectRequest {
8
+ /** Unique project identifier. */
9
+ project_id: string;
10
+ /** If true, permanently deletes all resources (jobs, monitors, datasets) assigned to the project. If false, the project is deleted and its resources are unassigned but not deleted. */
11
+ delete_resources?: boolean;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
5
+ * }
6
+ */
7
+ export interface GetProjectOverviewRequest {
8
+ /** Unique project identifier. */
9
+ project_id: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
5
+ * }
6
+ */
7
+ export interface GetProjectRequest {
8
+ /** Unique project identifier. */
9
+ project_id: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
6
+ * }
7
+ */
8
+ export interface ListProjectResourcesRequest {
9
+ /** Unique project identifier. */
10
+ project_id: string;
11
+ resource_type?: CatchAllApi.ProjectResourceType;
12
+ /** Page number to retrieve. */
13
+ page?: number;
14
+ /** Number of records per page. */
15
+ page_size?: number;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * search: "M&A"
6
+ * }
7
+ */
8
+ export interface ListProjectsRequest {
9
+ /** Page number to retrieve. */
10
+ page?: number;
11
+ /** Number of records per page. */
12
+ page_size?: number;
13
+ /** Filter by project name (case-insensitive substring match). */
14
+ search?: string;
15
+ ownership?: CatchAllApi.OwnershipFilter;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
6
+ * resource_type: "job",
7
+ * resource_id: "48421e16-1f50-4048-b62c-d3bc0789d30d"
8
+ * }
9
+ */
10
+ export interface RemoveResourceFromProjectRequest {
11
+ /** Unique project identifier. */
12
+ project_id: string;
13
+ resource_type: CatchAllApi.ProjectResourceType;
14
+ /** ID of the resource to remove. */
15
+ resource_id: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
5
+ * name: "AI M&A Tracking (Q2 2026)"
6
+ * }
7
+ */
8
+ export interface UpdateProjectRequestDto {
9
+ /** Unique project identifier. */
10
+ project_id: string;
11
+ /** New name for the project. */
12
+ name?: string;
13
+ /** New description for the project. */
14
+ description?: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ export type { AddResourceRequestDto } from "./AddResourceRequestDto.js";
2
+ export type { CreateProjectRequestDto } from "./CreateProjectRequestDto.js";
3
+ export type { DeleteProjectRequest } from "./DeleteProjectRequest.js";
4
+ export type { GetProjectOverviewRequest } from "./GetProjectOverviewRequest.js";
5
+ export type { GetProjectRequest } from "./GetProjectRequest.js";
6
+ export type { ListProjectResourcesRequest } from "./ListProjectResourcesRequest.js";
7
+ export type { ListProjectsRequest } from "./ListProjectsRequest.js";
8
+ export type { RemoveResourceFromProjectRequest } from "./RemoveResourceFromProjectRequest.js";
9
+ export type { UpdateProjectRequestDto } from "./UpdateProjectRequestDto.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { ProjectsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ProjectsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "ProjectsClient", { enumerable: true, get: function () { return Client_js_1.ProjectsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,231 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as CatchAllApi from "../../../index.js";
5
+ export declare namespace WebhooksClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ /**
11
+ * Operations to create and manage reusable webhook endpoints.
12
+ *
13
+ * A webhook is a named HTTP endpoint that receives a POST notification
14
+ * when a job or monitor completes. Create webhooks once at the organization
15
+ * level and attach them to any number of jobs or monitors via `webhook_ids`.
16
+ * Supports Slack, Microsoft Teams, and generic HTTP targets with configurable
17
+ * delivery modes, authentication, and headers.
18
+ */
19
+ export declare class WebhooksClient {
20
+ protected readonly _options: NormalizedClientOptionsWithAuth<WebhooksClient.Options>;
21
+ constructor(options?: WebhooksClient.Options);
22
+ /**
23
+ * Returns a paginated list of webhooks belonging to the organization.
24
+ *
25
+ * @param {CatchAllApi.ListWebhooksRequest} request
26
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link CatchAllApi.ForbiddenError}
29
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
30
+ *
31
+ * @example
32
+ * await client.webhooks.listWebhooks()
33
+ */
34
+ listWebhooks(request?: CatchAllApi.ListWebhooksRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ListWebhooksResponseDto>;
35
+ private __listWebhooks;
36
+ /**
37
+ * Creates a new webhook endpoint for the organization.
38
+ *
39
+ * @param {CatchAllApi.CreateWebhookRequestDto} request
40
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link CatchAllApi.ForbiddenError}
43
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
44
+ *
45
+ * @example
46
+ * await client.webhooks.createWebhook({
47
+ * name: "Layoffs Alert",
48
+ * url: "https://hooks.slack.com/services/T000/B000/xxx",
49
+ * type: "slack",
50
+ * delivery_mode: "full"
51
+ * })
52
+ */
53
+ createWebhook(request: CatchAllApi.CreateWebhookRequestDto, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.CreateWebhookResponseDto>;
54
+ private __createWebhook;
55
+ /**
56
+ * Returns the full configuration of a single webhook by ID.
57
+ *
58
+ * @param {CatchAllApi.GetWebhookRequest} request
59
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
60
+ *
61
+ * @throws {@link CatchAllApi.ForbiddenError}
62
+ * @throws {@link CatchAllApi.NotFoundError}
63
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
64
+ *
65
+ * @example
66
+ * await client.webhooks.getWebhook({
67
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
68
+ * })
69
+ */
70
+ getWebhook(request: CatchAllApi.GetWebhookRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.GetWebhookResponseDto>;
71
+ private __getWebhook;
72
+ /**
73
+ * Permanently deletes a webhook and removes all resource assignments.
74
+ *
75
+ * Assigned jobs and monitors no longer trigger delivery to this webhook. This operation cannot be undone.
76
+ *
77
+ * @param {CatchAllApi.DeleteWebhookRequest} request
78
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
79
+ *
80
+ * @throws {@link CatchAllApi.ForbiddenError}
81
+ * @throws {@link CatchAllApi.NotFoundError}
82
+ *
83
+ * @example
84
+ * await client.webhooks.deleteWebhook({
85
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
86
+ * })
87
+ */
88
+ deleteWebhook(request: CatchAllApi.DeleteWebhookRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<void>;
89
+ private __deleteWebhook;
90
+ /**
91
+ * Updates one or more fields of an existing webhook.
92
+ *
93
+ * @param {CatchAllApi.UpdateWebhookRequestDto} request
94
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
95
+ *
96
+ * @throws {@link CatchAllApi.ForbiddenError}
97
+ * @throws {@link CatchAllApi.NotFoundError}
98
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
99
+ *
100
+ * @example
101
+ * await client.webhooks.updateWebhook({
102
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
103
+ * name: "Layoffs Alert (EU)",
104
+ * is_active: false
105
+ * })
106
+ */
107
+ updateWebhook(request: CatchAllApi.UpdateWebhookRequestDto, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.UpdateWebhookResponseDto>;
108
+ private __updateWebhook;
109
+ /**
110
+ * Sends a test HTTP request to the webhook URL using the webhook's configured method, headers, and auth. Returns the response from the target endpoint.
111
+ *
112
+ * Use this to verify URL reachability and authentication before attaching the webhook to a live job or monitor.
113
+ *
114
+ * @param {CatchAllApi.TestWebhookRequestDto} request
115
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
116
+ *
117
+ * @throws {@link CatchAllApi.ForbiddenError}
118
+ * @throws {@link CatchAllApi.NotFoundError}
119
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
120
+ *
121
+ * @example
122
+ * await client.webhooks.testWebhook({
123
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
124
+ * payload: {
125
+ * "test": true,
126
+ * "message": "CatchAll webhook test"
127
+ * }
128
+ * })
129
+ */
130
+ testWebhook(request: CatchAllApi.TestWebhookRequestDto, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.TestWebhookResponseDto>;
131
+ private __testWebhook;
132
+ /**
133
+ * Returns a paginated list of resources currently assigned to this webhook.
134
+ *
135
+ * @param {CatchAllApi.ListWebhookResourcesRequest} request
136
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
137
+ *
138
+ * @throws {@link CatchAllApi.ForbiddenError}
139
+ * @throws {@link CatchAllApi.NotFoundError}
140
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
141
+ *
142
+ * @example
143
+ * await client.webhooks.listWebhookResources({
144
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
145
+ * })
146
+ */
147
+ listWebhookResources(request: CatchAllApi.ListWebhookResourcesRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ListWebhookResourcesResponseDto>;
148
+ private __listWebhookResources;
149
+ /**
150
+ * Attaches a job, monitor, or monitor group to the webhook. When the
151
+ * resource completes, the webhook receives a delivery.
152
+ *
153
+ * A single webhook can be assigned to multiple resources. Each resource
154
+ * can have up to 5 webhooks assigned.
155
+ *
156
+ * @param {CatchAllApi.AssignWebhookResourceRequestDto} request
157
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
158
+ *
159
+ * @throws {@link CatchAllApi.BadRequestError}
160
+ * @throws {@link CatchAllApi.ForbiddenError}
161
+ * @throws {@link CatchAllApi.NotFoundError}
162
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
163
+ *
164
+ * @example
165
+ * await client.webhooks.assignWebhookResource({
166
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
167
+ * resource_type: "monitor",
168
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
169
+ * })
170
+ */
171
+ assignWebhookResource(request: CatchAllApi.AssignWebhookResourceRequestDto, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.AssignWebhookResourceResponseDto>;
172
+ private __assignWebhookResource;
173
+ /**
174
+ * Detaches a resource from this webhook. Completions of the resource no longer trigger delivery to this webhook.
175
+ *
176
+ * The webhook and the resource itself are not deleted.
177
+ *
178
+ * @param {CatchAllApi.RemoveWebhookResourceRequest} request
179
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
180
+ *
181
+ * @throws {@link CatchAllApi.ForbiddenError}
182
+ * @throws {@link CatchAllApi.NotFoundError}
183
+ *
184
+ * @example
185
+ * await client.webhooks.removeWebhookResource({
186
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
187
+ * resource_type: "job",
188
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
189
+ * })
190
+ */
191
+ removeWebhookResource(request: CatchAllApi.RemoveWebhookResourceRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<void>;
192
+ private __removeWebhookResource;
193
+ /**
194
+ * Returns all webhooks currently assigned to the given resource.
195
+ *
196
+ * @param {CatchAllApi.ListWebhooksForResourceRequest} request
197
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
198
+ *
199
+ * @throws {@link CatchAllApi.ForbiddenError}
200
+ * @throws {@link CatchAllApi.NotFoundError}
201
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
202
+ *
203
+ * @example
204
+ * await client.webhooks.listWebhooksForResource({
205
+ * resource_type: "job",
206
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
207
+ * })
208
+ */
209
+ listWebhooksForResource(request: CatchAllApi.ListWebhooksForResourceRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ListWebhooksResponseDto>;
210
+ private __listWebhooksForResource;
211
+ /**
212
+ * Returns a paginated delivery log for a given resource, ordered by timestamp descending.
213
+ *
214
+ * Each record shows the webhook dispatched, the HTTP status code returned, delivery outcome, and any error or warning messages. Use this to debug failed deliveries or audit dispatch activity.
215
+ *
216
+ * @param {CatchAllApi.GetWebhookDeliveryHistoryRequest} request
217
+ * @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
218
+ *
219
+ * @throws {@link CatchAllApi.ForbiddenError}
220
+ * @throws {@link CatchAllApi.NotFoundError}
221
+ * @throws {@link CatchAllApi.UnprocessableEntityError}
222
+ *
223
+ * @example
224
+ * await client.webhooks.getWebhookDeliveryHistory({
225
+ * resource_type: "job",
226
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
227
+ * })
228
+ */
229
+ getWebhookDeliveryHistory(request: CatchAllApi.GetWebhookDeliveryHistoryRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.DeliveryHistoryResponseDto>;
230
+ private __getWebhookDeliveryHistory;
231
+ }