newscatcher-catchall-sdk 2.0.0 → 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 (347) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +6 -0
  4. package/dist/cjs/Client.js +10 -0
  5. package/dist/cjs/api/resources/datasets/client/Client.d.ts +2 -1
  6. package/dist/cjs/api/resources/datasets/client/Client.js +4 -2
  7. package/dist/cjs/api/resources/datasets/client/requests/ListDatasetsRequest.d.ts +4 -1
  8. package/dist/cjs/api/resources/index.d.ts +5 -0
  9. package/dist/cjs/api/resources/index.js +6 -1
  10. package/dist/cjs/api/resources/jobs/client/Client.d.ts +21 -1
  11. package/dist/cjs/api/resources/jobs/client/Client.js +63 -2
  12. package/dist/cjs/api/resources/jobs/client/requests/GetUserJobsRequest.d.ts +5 -1
  13. package/dist/cjs/api/resources/jobs/client/requests/SubmitRequestDto.d.ts +4 -0
  14. package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.ts +10 -0
  15. package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.js +3 -0
  16. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/monitors/client/Client.d.ts +5 -15
  18. package/dist/cjs/api/resources/monitors/client/Client.js +7 -16
  19. package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.ts +10 -10
  20. package/dist/cjs/api/resources/monitors/client/requests/ListMonitorsRequest.d.ts +5 -1
  21. package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.ts +7 -10
  22. package/dist/cjs/api/resources/monitors/types/DisableMonitorResponse.d.ts +1 -1
  23. package/dist/cjs/api/resources/monitors/types/EnableMonitorResponse.d.ts +1 -1
  24. package/dist/cjs/api/resources/projects/client/Client.d.ts +178 -0
  25. package/dist/cjs/api/resources/projects/client/Client.js +626 -0
  26. package/dist/cjs/api/resources/projects/client/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/projects/client/index.js +17 -0
  28. package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.d.ts +17 -0
  29. package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.js +3 -0
  30. package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.d.ts +13 -0
  31. package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.js +3 -0
  32. package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.d.ts +12 -0
  33. package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.js +3 -0
  34. package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.d.ts +10 -0
  35. package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.js +3 -0
  36. package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.d.ts +10 -0
  37. package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.js +3 -0
  38. package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.d.ts +16 -0
  39. package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.js +3 -0
  40. package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.d.ts +16 -0
  41. package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.js +3 -0
  42. package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.ts +16 -0
  43. package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.js +3 -0
  44. package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.d.ts +15 -0
  45. package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.js +3 -0
  46. package/dist/cjs/api/resources/projects/client/requests/index.d.ts +9 -0
  47. package/dist/cjs/api/resources/projects/client/requests/index.js +2 -0
  48. package/dist/cjs/api/resources/projects/exports.d.ts +2 -0
  49. package/dist/cjs/api/resources/projects/exports.js +21 -0
  50. package/dist/cjs/api/resources/projects/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/projects/index.js +17 -0
  52. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +231 -0
  53. package/dist/cjs/api/resources/webhooks/client/Client.js +779 -0
  54. package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
  55. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  56. package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.ts +17 -0
  57. package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.js +3 -0
  58. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.ts +42 -0
  59. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.js +3 -0
  60. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.ts +10 -0
  61. package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.js +3 -0
  62. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.ts +18 -0
  63. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.js +3 -0
  64. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.d.ts +10 -0
  65. package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.js +3 -0
  66. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.ts +16 -0
  67. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.js +3 -0
  68. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.ts +19 -0
  69. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.js +3 -0
  70. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +12 -0
  71. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.js +3 -0
  72. package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.ts +16 -0
  73. package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.js +3 -0
  74. package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.ts +19 -0
  75. package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.js +3 -0
  76. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.ts +30 -0
  77. package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.js +3 -0
  78. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +11 -0
  79. package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
  80. package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
  81. package/dist/cjs/api/resources/webhooks/exports.js +21 -0
  82. package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/webhooks/index.js +18 -0
  84. package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.ts +19 -0
  85. package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.js +3 -0
  86. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.ts +16 -0
  87. package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.js +3 -0
  88. package/dist/cjs/api/resources/webhooks/types/index.d.ts +2 -0
  89. package/dist/cjs/api/resources/webhooks/types/index.js +18 -0
  90. package/dist/cjs/api/types/AddResourceResponseDto.d.ts +9 -0
  91. package/dist/cjs/api/types/AddResourceResponseDto.js +3 -0
  92. package/dist/cjs/api/types/ApiKeyAuthDto.d.ts +6 -0
  93. package/dist/cjs/api/types/ApiKeyAuthDto.js +3 -0
  94. package/dist/cjs/api/types/AssignWebhookResourceResponseDto.d.ts +11 -0
  95. package/dist/cjs/api/types/AssignWebhookResourceResponseDto.js +3 -0
  96. package/dist/cjs/api/types/BasicAuthDto.d.ts +6 -0
  97. package/dist/cjs/api/types/BasicAuthDto.js +3 -0
  98. package/dist/cjs/api/types/BearerAuthDto.d.ts +4 -0
  99. package/dist/cjs/api/types/BearerAuthDto.js +3 -0
  100. package/dist/cjs/api/types/ConnectedEntity.d.ts +1 -1
  101. package/dist/cjs/api/types/CreateProjectResponseDto.d.ts +10 -0
  102. package/dist/cjs/api/types/CreateProjectResponseDto.js +3 -0
  103. package/dist/cjs/api/types/CreateWebhookResponseDto.d.ts +9 -0
  104. package/dist/cjs/api/types/CreateWebhookResponseDto.js +3 -0
  105. package/dist/cjs/api/types/DeleteJobResponseDto.d.ts +1 -1
  106. package/dist/cjs/api/types/DeleteMonitorResponseDto.d.ts +1 -1
  107. package/dist/cjs/api/types/DeliveryHistoryItemDto.d.ts +25 -0
  108. package/dist/cjs/api/types/DeliveryHistoryItemDto.js +3 -0
  109. package/dist/cjs/api/types/DeliveryHistoryResponseDto.d.ts +17 -0
  110. package/dist/cjs/api/types/DeliveryHistoryResponseDto.js +3 -0
  111. package/dist/cjs/api/types/DeliveryMode.d.ts +11 -0
  112. package/dist/cjs/api/types/DeliveryMode.js +14 -0
  113. package/dist/cjs/api/types/DeliveryStatus.d.ts +6 -0
  114. package/dist/cjs/api/types/DeliveryStatus.js +9 -0
  115. package/dist/cjs/api/types/GetWebhookResponseDto.d.ts +9 -0
  116. package/dist/cjs/api/types/GetWebhookResponseDto.js +3 -0
  117. package/dist/cjs/api/types/HttpMethod.d.ts +9 -0
  118. package/dist/cjs/api/types/HttpMethod.js +12 -0
  119. package/dist/cjs/api/types/IssueType.d.ts +25 -0
  120. package/dist/cjs/api/types/IssueType.js +28 -0
  121. package/dist/cjs/api/types/JobStep.d.ts +1 -1
  122. package/dist/cjs/api/types/ListWebhookResourcesResponseDto.d.ts +13 -0
  123. package/dist/cjs/api/types/ListWebhookResourcesResponseDto.js +3 -0
  124. package/dist/cjs/api/types/ListWebhooksResponseDto.d.ts +13 -0
  125. package/dist/cjs/api/types/ListWebhooksResponseDto.js +3 -0
  126. package/dist/cjs/api/types/MappableResourceType.d.ts +7 -0
  127. package/dist/cjs/api/types/MappableResourceType.js +10 -0
  128. package/dist/cjs/api/types/MonitorListItemDto.d.ts +1 -1
  129. package/dist/cjs/api/types/MonitorStatusHistoryResponseDto.d.ts +1 -1
  130. package/dist/cjs/api/types/ProjectListResponseDto.d.ts +13 -0
  131. package/dist/cjs/api/types/ProjectListResponseDto.js +3 -0
  132. package/dist/cjs/api/types/ProjectOverviewCountsDto.d.ts +4 -0
  133. package/dist/cjs/api/types/ProjectOverviewCountsDto.js +3 -0
  134. package/dist/cjs/api/types/ProjectOverviewResponseDto.d.ts +18 -0
  135. package/dist/cjs/api/types/ProjectOverviewResponseDto.js +3 -0
  136. package/dist/cjs/api/types/ProjectResourceDto.d.ts +18 -0
  137. package/dist/cjs/api/types/ProjectResourceDto.js +3 -0
  138. package/dist/cjs/api/types/ProjectResourceListResponseDto.d.ts +13 -0
  139. package/dist/cjs/api/types/ProjectResourceListResponseDto.js +3 -0
  140. package/dist/cjs/api/types/ProjectResourceType.d.ts +8 -0
  141. package/dist/cjs/api/types/ProjectResourceType.js +11 -0
  142. package/dist/cjs/api/types/ProjectResponseDto.d.ts +18 -0
  143. package/dist/cjs/api/types/ProjectResponseDto.js +3 -0
  144. package/dist/cjs/api/types/ProjectSummaryDto.d.ts +17 -0
  145. package/dist/cjs/api/types/ProjectSummaryDto.js +3 -0
  146. package/dist/cjs/api/types/QueryStatus.d.ts +13 -0
  147. package/dist/cjs/api/types/QueryStatus.js +16 -0
  148. package/dist/cjs/api/types/RemoveResourceResponseDto.d.ts +6 -0
  149. package/dist/cjs/api/types/RemoveResourceResponseDto.js +3 -0
  150. package/dist/cjs/api/types/ResourceItemDto.d.ts +6 -0
  151. package/dist/cjs/api/types/ResourceItemDto.js +3 -0
  152. package/dist/cjs/api/types/ResourceResultDto.d.ts +12 -0
  153. package/dist/cjs/api/types/ResourceResultDto.js +3 -0
  154. package/dist/cjs/api/types/Suggestion.d.ts +12 -0
  155. package/dist/cjs/api/types/Suggestion.js +3 -0
  156. package/dist/cjs/api/types/TestWebhookResponseDto.d.ts +10 -0
  157. package/dist/cjs/api/types/TestWebhookResponseDto.js +3 -0
  158. package/dist/cjs/api/types/UpdateProjectResponseDto.d.ts +8 -0
  159. package/dist/cjs/api/types/UpdateProjectResponseDto.js +3 -0
  160. package/dist/cjs/api/types/UpdateWebhookResponseDto.d.ts +9 -0
  161. package/dist/cjs/api/types/UpdateWebhookResponseDto.js +3 -0
  162. package/dist/cjs/api/types/ValidateQueryResponseDto.d.ts +18 -0
  163. package/dist/cjs/api/types/ValidateQueryResponseDto.js +3 -0
  164. package/dist/cjs/api/types/WebhookResourceMappingResponseDto.d.ts +12 -0
  165. package/dist/cjs/api/types/WebhookResourceMappingResponseDto.js +3 -0
  166. package/dist/cjs/api/types/WebhookResponseDto.d.ts +28 -0
  167. package/dist/cjs/api/types/WebhookResponseDto.js +3 -0
  168. package/dist/cjs/api/types/WebhookType.d.ts +17 -0
  169. package/dist/cjs/api/types/WebhookType.js +20 -0
  170. package/dist/cjs/api/types/index.d.ts +37 -0
  171. package/dist/cjs/api/types/index.js +37 -0
  172. package/dist/cjs/version.d.ts +1 -1
  173. package/dist/cjs/version.js +1 -1
  174. package/dist/esm/BaseClient.mjs +2 -2
  175. package/dist/esm/Client.d.mts +6 -0
  176. package/dist/esm/Client.mjs +10 -0
  177. package/dist/esm/api/resources/datasets/client/Client.d.mts +2 -1
  178. package/dist/esm/api/resources/datasets/client/Client.mjs +4 -2
  179. package/dist/esm/api/resources/datasets/client/requests/ListDatasetsRequest.d.mts +4 -1
  180. package/dist/esm/api/resources/index.d.mts +5 -0
  181. package/dist/esm/api/resources/index.mjs +5 -0
  182. package/dist/esm/api/resources/jobs/client/Client.d.mts +21 -1
  183. package/dist/esm/api/resources/jobs/client/Client.mjs +63 -2
  184. package/dist/esm/api/resources/jobs/client/requests/GetUserJobsRequest.d.mts +5 -1
  185. package/dist/esm/api/resources/jobs/client/requests/SubmitRequestDto.d.mts +4 -0
  186. package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.mts +10 -0
  187. package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.mjs +2 -0
  188. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +1 -0
  189. package/dist/esm/api/resources/monitors/client/Client.d.mts +5 -15
  190. package/dist/esm/api/resources/monitors/client/Client.mjs +7 -16
  191. package/dist/esm/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.mts +10 -10
  192. package/dist/esm/api/resources/monitors/client/requests/ListMonitorsRequest.d.mts +5 -1
  193. package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.mts +7 -10
  194. package/dist/esm/api/resources/monitors/types/DisableMonitorResponse.d.mts +1 -1
  195. package/dist/esm/api/resources/monitors/types/EnableMonitorResponse.d.mts +1 -1
  196. package/dist/esm/api/resources/projects/client/Client.d.mts +178 -0
  197. package/dist/esm/api/resources/projects/client/Client.mjs +589 -0
  198. package/dist/esm/api/resources/projects/client/index.d.mts +1 -0
  199. package/dist/esm/api/resources/projects/client/index.mjs +1 -0
  200. package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.d.mts +17 -0
  201. package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.mjs +2 -0
  202. package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.d.mts +13 -0
  203. package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.mjs +2 -0
  204. package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.d.mts +12 -0
  205. package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.mjs +2 -0
  206. package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.d.mts +10 -0
  207. package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.mjs +2 -0
  208. package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.d.mts +10 -0
  209. package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.mjs +2 -0
  210. package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.d.mts +16 -0
  211. package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.mjs +2 -0
  212. package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.d.mts +16 -0
  213. package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.mjs +2 -0
  214. package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.mts +16 -0
  215. package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.mjs +2 -0
  216. package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.d.mts +15 -0
  217. package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.mjs +2 -0
  218. package/dist/esm/api/resources/projects/client/requests/index.d.mts +9 -0
  219. package/dist/esm/api/resources/projects/client/requests/index.mjs +1 -0
  220. package/dist/esm/api/resources/projects/exports.d.mts +2 -0
  221. package/dist/esm/api/resources/projects/exports.mjs +3 -0
  222. package/dist/esm/api/resources/projects/index.d.mts +1 -0
  223. package/dist/esm/api/resources/projects/index.mjs +1 -0
  224. package/dist/esm/api/resources/webhooks/client/Client.d.mts +231 -0
  225. package/dist/esm/api/resources/webhooks/client/Client.mjs +742 -0
  226. package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
  227. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  228. package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.mts +17 -0
  229. package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.mjs +2 -0
  230. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.mts +42 -0
  231. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.mjs +2 -0
  232. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.mts +10 -0
  233. package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.mjs +2 -0
  234. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.mts +18 -0
  235. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.mjs +2 -0
  236. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.d.mts +10 -0
  237. package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.mjs +2 -0
  238. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.mts +16 -0
  239. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.mjs +2 -0
  240. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.mts +19 -0
  241. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.mjs +2 -0
  242. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +12 -0
  243. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.mjs +2 -0
  244. package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.mts +16 -0
  245. package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.mjs +2 -0
  246. package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.mts +19 -0
  247. package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.mjs +2 -0
  248. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.mts +30 -0
  249. package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.mjs +2 -0
  250. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +11 -0
  251. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  252. package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
  253. package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
  254. package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
  255. package/dist/esm/api/resources/webhooks/index.mjs +2 -0
  256. package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.mts +19 -0
  257. package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.mjs +2 -0
  258. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.mts +16 -0
  259. package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.mjs +2 -0
  260. package/dist/esm/api/resources/webhooks/types/index.d.mts +2 -0
  261. package/dist/esm/api/resources/webhooks/types/index.mjs +2 -0
  262. package/dist/esm/api/types/AddResourceResponseDto.d.mts +9 -0
  263. package/dist/esm/api/types/AddResourceResponseDto.mjs +2 -0
  264. package/dist/esm/api/types/ApiKeyAuthDto.d.mts +6 -0
  265. package/dist/esm/api/types/ApiKeyAuthDto.mjs +2 -0
  266. package/dist/esm/api/types/AssignWebhookResourceResponseDto.d.mts +11 -0
  267. package/dist/esm/api/types/AssignWebhookResourceResponseDto.mjs +2 -0
  268. package/dist/esm/api/types/BasicAuthDto.d.mts +6 -0
  269. package/dist/esm/api/types/BasicAuthDto.mjs +2 -0
  270. package/dist/esm/api/types/BearerAuthDto.d.mts +4 -0
  271. package/dist/esm/api/types/BearerAuthDto.mjs +2 -0
  272. package/dist/esm/api/types/ConnectedEntity.d.mts +1 -1
  273. package/dist/esm/api/types/CreateProjectResponseDto.d.mts +10 -0
  274. package/dist/esm/api/types/CreateProjectResponseDto.mjs +2 -0
  275. package/dist/esm/api/types/CreateWebhookResponseDto.d.mts +9 -0
  276. package/dist/esm/api/types/CreateWebhookResponseDto.mjs +2 -0
  277. package/dist/esm/api/types/DeleteJobResponseDto.d.mts +1 -1
  278. package/dist/esm/api/types/DeleteMonitorResponseDto.d.mts +1 -1
  279. package/dist/esm/api/types/DeliveryHistoryItemDto.d.mts +25 -0
  280. package/dist/esm/api/types/DeliveryHistoryItemDto.mjs +2 -0
  281. package/dist/esm/api/types/DeliveryHistoryResponseDto.d.mts +17 -0
  282. package/dist/esm/api/types/DeliveryHistoryResponseDto.mjs +2 -0
  283. package/dist/esm/api/types/DeliveryMode.d.mts +11 -0
  284. package/dist/esm/api/types/DeliveryMode.mjs +11 -0
  285. package/dist/esm/api/types/DeliveryStatus.d.mts +6 -0
  286. package/dist/esm/api/types/DeliveryStatus.mjs +6 -0
  287. package/dist/esm/api/types/GetWebhookResponseDto.d.mts +9 -0
  288. package/dist/esm/api/types/GetWebhookResponseDto.mjs +2 -0
  289. package/dist/esm/api/types/HttpMethod.d.mts +9 -0
  290. package/dist/esm/api/types/HttpMethod.mjs +9 -0
  291. package/dist/esm/api/types/IssueType.d.mts +25 -0
  292. package/dist/esm/api/types/IssueType.mjs +25 -0
  293. package/dist/esm/api/types/JobStep.d.mts +1 -1
  294. package/dist/esm/api/types/ListWebhookResourcesResponseDto.d.mts +13 -0
  295. package/dist/esm/api/types/ListWebhookResourcesResponseDto.mjs +2 -0
  296. package/dist/esm/api/types/ListWebhooksResponseDto.d.mts +13 -0
  297. package/dist/esm/api/types/ListWebhooksResponseDto.mjs +2 -0
  298. package/dist/esm/api/types/MappableResourceType.d.mts +7 -0
  299. package/dist/esm/api/types/MappableResourceType.mjs +7 -0
  300. package/dist/esm/api/types/MonitorListItemDto.d.mts +1 -1
  301. package/dist/esm/api/types/MonitorStatusHistoryResponseDto.d.mts +1 -1
  302. package/dist/esm/api/types/ProjectListResponseDto.d.mts +13 -0
  303. package/dist/esm/api/types/ProjectListResponseDto.mjs +2 -0
  304. package/dist/esm/api/types/ProjectOverviewCountsDto.d.mts +4 -0
  305. package/dist/esm/api/types/ProjectOverviewCountsDto.mjs +2 -0
  306. package/dist/esm/api/types/ProjectOverviewResponseDto.d.mts +18 -0
  307. package/dist/esm/api/types/ProjectOverviewResponseDto.mjs +2 -0
  308. package/dist/esm/api/types/ProjectResourceDto.d.mts +18 -0
  309. package/dist/esm/api/types/ProjectResourceDto.mjs +2 -0
  310. package/dist/esm/api/types/ProjectResourceListResponseDto.d.mts +13 -0
  311. package/dist/esm/api/types/ProjectResourceListResponseDto.mjs +2 -0
  312. package/dist/esm/api/types/ProjectResourceType.d.mts +8 -0
  313. package/dist/esm/api/types/ProjectResourceType.mjs +8 -0
  314. package/dist/esm/api/types/ProjectResponseDto.d.mts +18 -0
  315. package/dist/esm/api/types/ProjectResponseDto.mjs +2 -0
  316. package/dist/esm/api/types/ProjectSummaryDto.d.mts +17 -0
  317. package/dist/esm/api/types/ProjectSummaryDto.mjs +2 -0
  318. package/dist/esm/api/types/QueryStatus.d.mts +13 -0
  319. package/dist/esm/api/types/QueryStatus.mjs +13 -0
  320. package/dist/esm/api/types/RemoveResourceResponseDto.d.mts +6 -0
  321. package/dist/esm/api/types/RemoveResourceResponseDto.mjs +2 -0
  322. package/dist/esm/api/types/ResourceItemDto.d.mts +6 -0
  323. package/dist/esm/api/types/ResourceItemDto.mjs +2 -0
  324. package/dist/esm/api/types/ResourceResultDto.d.mts +12 -0
  325. package/dist/esm/api/types/ResourceResultDto.mjs +2 -0
  326. package/dist/esm/api/types/Suggestion.d.mts +12 -0
  327. package/dist/esm/api/types/Suggestion.mjs +2 -0
  328. package/dist/esm/api/types/TestWebhookResponseDto.d.mts +10 -0
  329. package/dist/esm/api/types/TestWebhookResponseDto.mjs +2 -0
  330. package/dist/esm/api/types/UpdateProjectResponseDto.d.mts +8 -0
  331. package/dist/esm/api/types/UpdateProjectResponseDto.mjs +2 -0
  332. package/dist/esm/api/types/UpdateWebhookResponseDto.d.mts +9 -0
  333. package/dist/esm/api/types/UpdateWebhookResponseDto.mjs +2 -0
  334. package/dist/esm/api/types/ValidateQueryResponseDto.d.mts +18 -0
  335. package/dist/esm/api/types/ValidateQueryResponseDto.mjs +2 -0
  336. package/dist/esm/api/types/WebhookResourceMappingResponseDto.d.mts +12 -0
  337. package/dist/esm/api/types/WebhookResourceMappingResponseDto.mjs +2 -0
  338. package/dist/esm/api/types/WebhookResponseDto.d.mts +28 -0
  339. package/dist/esm/api/types/WebhookResponseDto.mjs +2 -0
  340. package/dist/esm/api/types/WebhookType.d.mts +17 -0
  341. package/dist/esm/api/types/WebhookType.mjs +17 -0
  342. package/dist/esm/api/types/index.d.mts +37 -0
  343. package/dist/esm/api/types/index.mjs +37 -0
  344. package/dist/esm/version.d.mts +1 -1
  345. package/dist/esm/version.mjs +1 -1
  346. package/package.json +23 -1
  347. package/reference.md +1599 -201
@@ -0,0 +1 @@
1
+ export * from "./requests/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("./requests/index.js"), exports);
@@ -0,0 +1,17 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
6
+ * resource_type: "monitor",
7
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
8
+ * }
9
+ */
10
+ export interface AssignWebhookResourceRequestDto {
11
+ /** Unique webhook identifier. */
12
+ webhook_id: string;
13
+ /** Type of resource to assign. */
14
+ resource_type: CatchAllApi.MappableResourceType;
15
+ /** ID of the resource to assign. */
16
+ resource_id: string;
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,42 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * name: "Layoffs Alert",
6
+ * url: "https://hooks.slack.com/services/T000/B000/xxx",
7
+ * type: "slack",
8
+ * delivery_mode: "full"
9
+ * }
10
+ */
11
+ export interface CreateWebhookRequestDto {
12
+ /** Human-readable label for this webhook. */
13
+ name: string;
14
+ /**
15
+ * Destination URL that receives the payload. Must use HTTPS. IP addresses are not accepted.
16
+ *
17
+ * Type-specific URL requirements:
18
+ * - `slack`: Must start with `https://hooks.slack.com/`.
19
+ * - `teams`: Hostname must match `*.webhook.office.com` or `*.webhook.office365.com`.
20
+ * - `generic`: Any valid HTTPS domain.
21
+ * - `custom`: Any valid HTTPS domain.
22
+ *
23
+ * When `type` is omitted, it is auto-detected from the URL.
24
+ */
25
+ url: string;
26
+ type?: CatchAllApi.WebhookType;
27
+ delivery_mode?: CatchAllApi.DeliveryMode;
28
+ method?: CatchAllApi.HttpMethod;
29
+ /** Custom HTTP headers forwarded with each delivery. */
30
+ headers?: Record<string, string>;
31
+ /** Query parameters appended to the webhook URL. */
32
+ params?: Record<string, string>;
33
+ /**
34
+ * Authentication forwarded with each delivery. Supported types:
35
+ * - `bearer`: Adds an `Authorization: Bearer <token>` header.
36
+ * - `api_key`: Adds a custom header with the specified name and value.
37
+ * - `basic`: Adds an `Authorization: Basic <credentials>` header.
38
+ */
39
+ auth?: CatchAllApi.CreateWebhookRequestDtoAuth;
40
+ /** Custom payload transformation configuration. Required only when `type` is `custom`. */
41
+ formatter_config?: Record<string, unknown> | null;
42
+ }
@@ -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
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
5
+ * }
6
+ */
7
+ export interface DeleteWebhookRequest {
8
+ /** Unique webhook identifier. */
9
+ webhook_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,18 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * resource_type: "job",
6
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
7
+ * }
8
+ */
9
+ export interface GetWebhookDeliveryHistoryRequest {
10
+ /** Type of the resource to retrieve delivery history for. */
11
+ resource_type: CatchAllApi.MappableResourceType;
12
+ /** Identifier of the resource to retrieve delivery history for. */
13
+ resource_id: string;
14
+ /** Page number to retrieve. */
15
+ page?: number;
16
+ /** Number of records per page. */
17
+ page_size?: number;
18
+ }
@@ -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
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
5
+ * }
6
+ */
7
+ export interface GetWebhookRequest {
8
+ /** Unique webhook identifier. */
9
+ webhook_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
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
6
+ * }
7
+ */
8
+ export interface ListWebhookResourcesRequest {
9
+ /** Unique webhook identifier. */
10
+ webhook_id: string;
11
+ resource_type?: CatchAllApi.MappableResourceType;
12
+ /** Page number to retrieve. */
13
+ page?: number;
14
+ /** Number of assignments 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,19 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * resource_type: "job",
6
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
7
+ * }
8
+ */
9
+ export interface ListWebhooksForResourceRequest {
10
+ resource_type: CatchAllApi.MappableResourceType;
11
+ /** Unique resource identifier. */
12
+ resource_id: string;
13
+ /** Filter by active status. Omit to return webhooks regardless of status. */
14
+ is_active?: boolean;
15
+ /** Page number to retrieve. */
16
+ page?: number;
17
+ /** Number of webhooks per page. */
18
+ page_size?: number;
19
+ }
@@ -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
+ */
5
+ export interface ListWebhooksRequest {
6
+ /** Page number to retrieve. */
7
+ page?: number;
8
+ /** Number of webhooks per page. */
9
+ page_size?: number;
10
+ /** Filter results by text (case-insensitive substring match). */
11
+ search?: string;
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,16 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
6
+ * resource_type: "job",
7
+ * resource_id: "3fec5b07-8786-46d7-9486-d43ff67eccd4"
8
+ * }
9
+ */
10
+ export interface RemoveWebhookResourceRequest {
11
+ /** Unique webhook identifier. */
12
+ webhook_id: string;
13
+ resource_type: CatchAllApi.MappableResourceType;
14
+ /** Unique resource identifier. */
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,19 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
5
+ * payload: {
6
+ * "test": true,
7
+ * "message": "CatchAll webhook test"
8
+ * }
9
+ * }
10
+ */
11
+ export interface TestWebhookRequestDto {
12
+ /** Unique webhook identifier. */
13
+ webhook_id: string;
14
+ /**
15
+ * Custom payload to send in the test request. If omitted, a synthetic
16
+ * test payload is sent.
17
+ */
18
+ payload?: Record<string, unknown>;
19
+ }
@@ -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,30 @@
1
+ import type * as CatchAllApi from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * webhook_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
6
+ * name: "Layoffs Alert (EU)",
7
+ * is_active: false
8
+ * }
9
+ */
10
+ export interface UpdateWebhookRequestDto {
11
+ /** Unique webhook identifier. */
12
+ webhook_id: string;
13
+ /** Updated webhook name. */
14
+ name?: string;
15
+ /** Updated destination URL. Must use HTTPS. Type-specific URL rules apply. */
16
+ url?: string;
17
+ type?: CatchAllApi.WebhookType;
18
+ delivery_mode?: CatchAllApi.DeliveryMode;
19
+ method?: CatchAllApi.HttpMethod;
20
+ /** Updated HTTP headers. Replaces existing headers entirely. */
21
+ headers?: Record<string, string>;
22
+ /** Updated query parameters. Replaces existing params entirely. */
23
+ params?: Record<string, string>;
24
+ /** Updated authentication configuration. Replaces existing auth entirely. */
25
+ auth?: CatchAllApi.UpdateWebhookRequestDtoAuth;
26
+ /** Updated formatter configuration. */
27
+ formatter_config?: Record<string, unknown> | null;
28
+ /** Set to `false` to disable delivery without deleting the webhook. */
29
+ is_active?: boolean;
30
+ }
@@ -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,11 @@
1
+ export type { AssignWebhookResourceRequestDto } from "./AssignWebhookResourceRequestDto.js";
2
+ export type { CreateWebhookRequestDto } from "./CreateWebhookRequestDto.js";
3
+ export type { DeleteWebhookRequest } from "./DeleteWebhookRequest.js";
4
+ export type { GetWebhookDeliveryHistoryRequest } from "./GetWebhookDeliveryHistoryRequest.js";
5
+ export type { GetWebhookRequest } from "./GetWebhookRequest.js";
6
+ export type { ListWebhookResourcesRequest } from "./ListWebhookResourcesRequest.js";
7
+ export type { ListWebhooksForResourceRequest } from "./ListWebhooksForResourceRequest.js";
8
+ export type { ListWebhooksRequest } from "./ListWebhooksRequest.js";
9
+ export type { RemoveWebhookResourceRequest } from "./RemoveWebhookResourceRequest.js";
10
+ export type { TestWebhookRequestDto } from "./TestWebhookRequestDto.js";
11
+ export type { UpdateWebhookRequestDto } from "./UpdateWebhookRequestDto.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { WebhooksClient } 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.WebhooksClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "WebhooksClient", { enumerable: true, get: function () { return Client_js_1.WebhooksClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
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);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,19 @@
1
+ import type * as CatchAllApi from "../../../index.js";
2
+ /**
3
+ * Authentication forwarded with each delivery. Supported types:
4
+ * - `bearer`: Adds an `Authorization: Bearer <token>` header.
5
+ * - `api_key`: Adds a custom header with the specified name and value.
6
+ * - `basic`: Adds an `Authorization: Basic <credentials>` header.
7
+ */
8
+ export type CreateWebhookRequestDtoAuth = CatchAllApi.CreateWebhookRequestDtoAuth.Bearer | CatchAllApi.CreateWebhookRequestDtoAuth.ApiKey | CatchAllApi.CreateWebhookRequestDtoAuth.Basic;
9
+ export declare namespace CreateWebhookRequestDtoAuth {
10
+ interface Bearer extends CatchAllApi.BearerAuthDto {
11
+ type: "bearer";
12
+ }
13
+ interface ApiKey extends CatchAllApi.ApiKeyAuthDto {
14
+ type: "api_key";
15
+ }
16
+ interface Basic extends CatchAllApi.BasicAuthDto {
17
+ type: "basic";
18
+ }
19
+ }
@@ -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
+ * Updated authentication configuration. Replaces existing auth entirely.
4
+ */
5
+ export type UpdateWebhookRequestDtoAuth = CatchAllApi.UpdateWebhookRequestDtoAuth.Bearer | CatchAllApi.UpdateWebhookRequestDtoAuth.ApiKey | CatchAllApi.UpdateWebhookRequestDtoAuth.Basic;
6
+ export declare namespace UpdateWebhookRequestDtoAuth {
7
+ interface Bearer extends CatchAllApi.BearerAuthDto {
8
+ type: "bearer";
9
+ }
10
+ interface ApiKey extends CatchAllApi.ApiKeyAuthDto {
11
+ type: "api_key";
12
+ }
13
+ interface Basic extends CatchAllApi.BasicAuthDto {
14
+ type: "basic";
15
+ }
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,2 @@
1
+ export * from "./CreateWebhookRequestDtoAuth.js";
2
+ export * from "./UpdateWebhookRequestDtoAuth.js";
@@ -0,0 +1,18 @@
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("./CreateWebhookRequestDtoAuth.js"), exports);
18
+ __exportStar(require("./UpdateWebhookRequestDtoAuth.js"), exports);
@@ -0,0 +1,9 @@
1
+ import type * as CatchAllApi from "../index.js";
2
+ export interface AddResourceResponseDto {
3
+ /** True if the overall operation succeeded. */
4
+ success: boolean;
5
+ /** Top-level result message. */
6
+ message: string;
7
+ /** Per-resource outcome, one entry per submitted resource. */
8
+ results: CatchAllApi.ResourceResultDto[];
9
+ }
@@ -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,6 @@
1
+ export interface ApiKeyAuthDto {
2
+ /** HTTP header name for the API key. */
3
+ header: string;
4
+ /** API key value. */
5
+ value: string;
6
+ }
@@ -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,11 @@
1
+ import type * as CatchAllApi from "../index.js";
2
+ export interface AssignWebhookResourceResponseDto {
3
+ /** True if the operation succeeded; false otherwise. */
4
+ success: boolean;
5
+ /** Human-readable result message. */
6
+ message?: string | undefined;
7
+ /** True if the assignment already existed before this request. */
8
+ already_existed?: boolean | undefined;
9
+ /** The created or existing resource mapping. */
10
+ mapping?: CatchAllApi.WebhookResourceMappingResponseDto | undefined;
11
+ }
@@ -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,6 @@
1
+ export interface BasicAuthDto {
2
+ /** Basic auth username. */
3
+ username: string;
4
+ /** Basic auth password. */
5
+ password: string;
6
+ }
@@ -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,4 @@
1
+ export interface BearerAuthDto {
2
+ /** Bearer token sent in the `Authorization` header. */
3
+ token: string;
4
+ }
@@ -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 });
@@ -27,7 +27,7 @@ export interface ConnectedEntity {
27
27
  /**
28
28
  * The stored attributes for this entity. Present only when attributes exist in the database.
29
29
  *
30
- * The field name matches the value of `type` — for example, `"company"` type entities have a `company` field.
30
+ * The field name matches the value of `type` — for example, `"company"` type entities have a `company` field.
31
31
  */
32
32
  company?: CatchAllApi.CompanyAttributes | undefined;
33
33
  }
@@ -0,0 +1,10 @@
1
+ export interface CreateProjectResponseDto {
2
+ /** True if the operation succeeded; false otherwise. */
3
+ success: boolean;
4
+ /** Human-readable result message. */
5
+ message: string;
6
+ /** Project identifier. */
7
+ project_id: string;
8
+ /** Name of the created project. */
9
+ name: 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,9 @@
1
+ import type * as CatchAllApi from "../index.js";
2
+ export interface CreateWebhookResponseDto {
3
+ /** True if the webhook was created; false otherwise. */
4
+ success: boolean;
5
+ /** Human-readable result message. */
6
+ message: string;
7
+ /** The created webhook object. */
8
+ webhook?: CatchAllApi.WebhookResponseDto | undefined;
9
+ }
@@ -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 });
@@ -1,5 +1,5 @@
1
1
  export interface DeleteJobResponseDto {
2
- /** Whether the delete operation succeeded. */
2
+ /** True if the delete operation succeeded; false otherwise. */
3
3
  success: boolean;
4
4
  /** Human-readable result message. */
5
5
  message: string | null;
@@ -1,5 +1,5 @@
1
1
  export interface DeleteMonitorResponseDto {
2
- /** Whether the delete operation succeeded. */
2
+ /** True if the delete operation succeeded; false otherwise. */
3
3
  success: boolean;
4
4
  /** Human-readable result message. */
5
5
  message: string | null;
@@ -0,0 +1,25 @@
1
+ import type * as CatchAllApi from "../index.js";
2
+ export interface DeliveryHistoryItemDto {
3
+ /** Delivery record identifier. */
4
+ id: number;
5
+ /** Identifier of the webhook that was dispatched. */
6
+ webhook_id: string;
7
+ /** Type of the resource that triggered the delivery. */
8
+ resource_type: CatchAllApi.MappableResourceType;
9
+ /** Identifier of the resource that triggered the delivery. */
10
+ resource_id: string;
11
+ /** Extra context about the triggering event, such as job query or monitor schedule. */
12
+ additional_info?: Record<string, unknown> | undefined;
13
+ /** HTTP response code returned by the webhook endpoint. */
14
+ status_code: number;
15
+ /** Delivery attempt number. 1 indicates the first attempt. */
16
+ attempt_number: number;
17
+ /** Time of the delivery attempt in ISO 8601 format with UTC timezone. */
18
+ timestamp: string;
19
+ /** Outcome of this delivery attempt. */
20
+ delivery_status: CatchAllApi.DeliveryStatus;
21
+ /** Error detail when `delivery_status` is `FAILED`. Null on success. */
22
+ error_message?: (string | null) | undefined;
23
+ /** Non-fatal warning, such as payload truncation notices. Null when no warnings occurred. */
24
+ warning_message?: (string | null) | undefined;
25
+ }
@@ -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,17 @@
1
+ import type * as CatchAllApi from "../index.js";
2
+ export interface DeliveryHistoryResponseDto {
3
+ /** Type of the queried resource. */
4
+ resource_type: CatchAllApi.MappableResourceType;
5
+ /** Identifier of the queried resource. */
6
+ resource_id: string;
7
+ /** Total number of delivery records for this resource. */
8
+ total: number;
9
+ /** Current page number. */
10
+ page: number;
11
+ /** Number of records per page. */
12
+ page_size: number;
13
+ /** Total number of pages available. */
14
+ total_pages: number;
15
+ /** Delivery records on this page, ordered by timestamp descending. */
16
+ items: CatchAllApi.DeliveryHistoryItemDto[];
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 });