@hookdeck/outpost-sdk 0.2.0 → 0.4.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 (634) hide show
  1. package/FUNCTIONS.md +5 -22
  2. package/README.md +86 -109
  3. package/bin/mcp-server.js +952 -202
  4. package/bin/mcp-server.js.map +73 -60
  5. package/dist/commonjs/funcs/destinationsCreate.d.ts +3 -2
  6. package/dist/commonjs/funcs/destinationsCreate.d.ts.map +1 -1
  7. package/dist/commonjs/funcs/destinationsCreate.js +3 -1
  8. package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
  9. package/dist/commonjs/funcs/destinationsDelete.d.ts +3 -2
  10. package/dist/commonjs/funcs/destinationsDelete.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/destinationsDelete.js +3 -1
  12. package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
  13. package/dist/commonjs/funcs/destinationsDisable.d.ts +3 -2
  14. package/dist/commonjs/funcs/destinationsDisable.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/destinationsDisable.js +3 -1
  16. package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
  17. package/dist/commonjs/funcs/destinationsEnable.d.ts +3 -2
  18. package/dist/commonjs/funcs/destinationsEnable.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/destinationsEnable.js +3 -1
  20. package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
  21. package/dist/commonjs/funcs/destinationsGet.d.ts +3 -2
  22. package/dist/commonjs/funcs/destinationsGet.d.ts.map +1 -1
  23. package/dist/commonjs/funcs/destinationsGet.js +3 -1
  24. package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
  25. package/dist/commonjs/funcs/destinationsList.d.ts +3 -2
  26. package/dist/commonjs/funcs/destinationsList.d.ts.map +1 -1
  27. package/dist/commonjs/funcs/destinationsList.js +3 -1
  28. package/dist/commonjs/funcs/destinationsList.js.map +1 -1
  29. package/dist/commonjs/funcs/destinationsUpdate.d.ts +3 -2
  30. package/dist/commonjs/funcs/destinationsUpdate.d.ts.map +1 -1
  31. package/dist/commonjs/funcs/destinationsUpdate.js +3 -1
  32. package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
  33. package/dist/commonjs/funcs/eventsGet.d.ts +3 -2
  34. package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
  35. package/dist/commonjs/funcs/eventsGet.js +3 -1
  36. package/dist/commonjs/funcs/eventsGet.js.map +1 -1
  37. package/dist/commonjs/funcs/eventsGetByDestination.d.ts +3 -2
  38. package/dist/commonjs/funcs/eventsGetByDestination.d.ts.map +1 -1
  39. package/dist/commonjs/funcs/eventsGetByDestination.js +3 -1
  40. package/dist/commonjs/funcs/eventsGetByDestination.js.map +1 -1
  41. package/dist/commonjs/funcs/eventsList.d.ts +6 -3
  42. package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
  43. package/dist/commonjs/funcs/eventsList.js +48 -8
  44. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  45. package/dist/commonjs/funcs/eventsListByDestination.d.ts +6 -3
  46. package/dist/commonjs/funcs/eventsListByDestination.d.ts.map +1 -1
  47. package/dist/commonjs/funcs/eventsListByDestination.js +46 -8
  48. package/dist/commonjs/funcs/eventsListByDestination.js.map +1 -1
  49. package/dist/commonjs/funcs/eventsListDeliveries.d.ts +3 -2
  50. package/dist/commonjs/funcs/eventsListDeliveries.d.ts.map +1 -1
  51. package/dist/commonjs/funcs/eventsListDeliveries.js +3 -1
  52. package/dist/commonjs/funcs/eventsListDeliveries.js.map +1 -1
  53. package/dist/commonjs/funcs/eventsRetry.d.ts +3 -2
  54. package/dist/commonjs/funcs/eventsRetry.d.ts.map +1 -1
  55. package/dist/commonjs/funcs/eventsRetry.js +3 -1
  56. package/dist/commonjs/funcs/eventsRetry.js.map +1 -1
  57. package/dist/commonjs/funcs/healthCheck.d.ts +3 -2
  58. package/dist/commonjs/funcs/healthCheck.d.ts.map +1 -1
  59. package/dist/commonjs/funcs/healthCheck.js +3 -1
  60. package/dist/commonjs/funcs/healthCheck.js.map +1 -1
  61. package/dist/commonjs/funcs/publishEvent.d.ts +3 -2
  62. package/dist/commonjs/funcs/publishEvent.d.ts.map +1 -1
  63. package/dist/commonjs/funcs/publishEvent.js +3 -2
  64. package/dist/commonjs/funcs/publishEvent.js.map +1 -1
  65. package/dist/commonjs/funcs/schemasGet.d.ts +3 -2
  66. package/dist/commonjs/funcs/schemasGet.d.ts.map +1 -1
  67. package/dist/commonjs/funcs/schemasGet.js +3 -1
  68. package/dist/commonjs/funcs/schemasGet.js.map +1 -1
  69. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts +3 -2
  70. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts.map +1 -1
  71. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js +3 -1
  72. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
  73. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts +3 -2
  74. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts.map +1 -1
  75. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js +3 -1
  76. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +1 -1
  77. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts +3 -2
  78. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts.map +1 -1
  79. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +3 -1
  80. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +1 -1
  81. package/dist/commonjs/funcs/tenantsDelete.d.ts +3 -2
  82. package/dist/commonjs/funcs/tenantsDelete.d.ts.map +1 -1
  83. package/dist/commonjs/funcs/tenantsDelete.js +3 -1
  84. package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
  85. package/dist/commonjs/funcs/tenantsGet.d.ts +3 -2
  86. package/dist/commonjs/funcs/tenantsGet.d.ts.map +1 -1
  87. package/dist/commonjs/funcs/tenantsGet.js +3 -1
  88. package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
  89. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts +3 -2
  90. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  91. package/dist/commonjs/funcs/tenantsGetPortalUrl.js +3 -1
  92. package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
  93. package/dist/commonjs/funcs/tenantsGetToken.d.ts +3 -2
  94. package/dist/commonjs/funcs/tenantsGetToken.d.ts.map +1 -1
  95. package/dist/commonjs/funcs/tenantsGetToken.js +3 -1
  96. package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
  97. package/dist/commonjs/funcs/tenantsUpsert.d.ts +3 -2
  98. package/dist/commonjs/funcs/tenantsUpsert.d.ts.map +1 -1
  99. package/dist/commonjs/funcs/tenantsUpsert.js +3 -1
  100. package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
  101. package/dist/commonjs/funcs/topicsList.d.ts +3 -2
  102. package/dist/commonjs/funcs/topicsList.d.ts.map +1 -1
  103. package/dist/commonjs/funcs/topicsList.js +3 -1
  104. package/dist/commonjs/funcs/topicsList.js.map +1 -1
  105. package/dist/commonjs/funcs/topicsListJwt.d.ts +3 -2
  106. package/dist/commonjs/funcs/topicsListJwt.d.ts.map +1 -1
  107. package/dist/commonjs/funcs/topicsListJwt.js +3 -1
  108. package/dist/commonjs/funcs/topicsListJwt.js.map +1 -1
  109. package/dist/commonjs/hooks/types.d.ts +2 -0
  110. package/dist/commonjs/hooks/types.d.ts.map +1 -1
  111. package/dist/commonjs/index.d.ts +2 -0
  112. package/dist/commonjs/index.d.ts.map +1 -1
  113. package/dist/commonjs/index.js +3 -1
  114. package/dist/commonjs/index.js.map +1 -1
  115. package/dist/commonjs/lib/config.d.ts +7 -3
  116. package/dist/commonjs/lib/config.d.ts.map +1 -1
  117. package/dist/commonjs/lib/config.js +3 -3
  118. package/dist/commonjs/lib/config.js.map +1 -1
  119. package/dist/commonjs/lib/files.d.ts +5 -0
  120. package/dist/commonjs/lib/files.d.ts.map +1 -1
  121. package/dist/commonjs/lib/files.js +41 -0
  122. package/dist/commonjs/lib/files.js.map +1 -1
  123. package/dist/commonjs/lib/matchers.d.ts +3 -10
  124. package/dist/commonjs/lib/matchers.d.ts.map +1 -1
  125. package/dist/commonjs/lib/matchers.js +33 -31
  126. package/dist/commonjs/lib/matchers.js.map +1 -1
  127. package/dist/commonjs/lib/sdks.d.ts +1 -0
  128. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  129. package/dist/commonjs/lib/sdks.js +3 -3
  130. package/dist/commonjs/lib/sdks.js.map +1 -1
  131. package/dist/commonjs/lib/security.d.ts +2 -2
  132. package/dist/commonjs/lib/security.d.ts.map +1 -1
  133. package/dist/commonjs/lib/security.js.map +1 -1
  134. package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
  135. package/dist/commonjs/mcp-server/cli/start/command.js +0 -12
  136. package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
  137. package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -2
  138. package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
  139. package/dist/commonjs/mcp-server/cli/start/impl.js +0 -2
  140. package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
  141. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  142. package/dist/commonjs/mcp-server/server.js +1 -1
  143. package/dist/commonjs/mcp-server/tools/eventsList.js +1 -1
  144. package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
  145. package/dist/commonjs/mcp-server/tools/eventsListByDestination.js +1 -1
  146. package/dist/commonjs/mcp-server/tools/eventsListByDestination.js.map +1 -1
  147. package/dist/commonjs/mcp-server/tools/publishEvent.d.ts.map +1 -1
  148. package/dist/commonjs/mcp-server/tools/publishEvent.js +2 -1
  149. package/dist/commonjs/mcp-server/tools/publishEvent.js.map +1 -1
  150. package/dist/commonjs/models/components/awss3config.d.ts +47 -0
  151. package/dist/commonjs/models/components/awss3config.d.ts.map +1 -0
  152. package/dist/commonjs/models/components/awss3config.js +86 -0
  153. package/dist/commonjs/models/components/awss3config.js.map +1 -0
  154. package/dist/commonjs/models/components/awss3credentials.d.ts +42 -0
  155. package/dist/commonjs/models/components/awss3credentials.d.ts.map +1 -0
  156. package/dist/commonjs/models/components/awss3credentials.js +73 -0
  157. package/dist/commonjs/models/components/awss3credentials.js.map +1 -0
  158. package/dist/commonjs/models/components/azureservicebusconfig.d.ts +32 -0
  159. package/dist/commonjs/models/components/azureservicebusconfig.d.ts.map +1 -0
  160. package/dist/commonjs/models/components/azureservicebusconfig.js +69 -0
  161. package/dist/commonjs/models/components/azureservicebusconfig.js.map +1 -0
  162. package/dist/commonjs/models/components/azureservicebuscredentials.d.ts +32 -0
  163. package/dist/commonjs/models/components/azureservicebuscredentials.d.ts.map +1 -0
  164. package/dist/commonjs/models/components/azureservicebuscredentials.js +78 -0
  165. package/dist/commonjs/models/components/azureservicebuscredentials.js.map +1 -0
  166. package/dist/commonjs/models/components/destination.d.ts +14 -4
  167. package/dist/commonjs/models/components/destination.d.ts.map +1 -1
  168. package/dist/commonjs/models/components/destination.js +18 -4
  169. package/dist/commonjs/models/components/destination.js.map +1 -1
  170. package/dist/commonjs/models/components/destinationawss3.d.ts +98 -0
  171. package/dist/commonjs/models/components/destinationawss3.d.ts.map +1 -0
  172. package/dist/commonjs/models/components/destinationawss3.js +122 -0
  173. package/dist/commonjs/models/components/destinationawss3.js.map +1 -0
  174. package/dist/commonjs/models/components/destinationazureservicebus.d.ts +98 -0
  175. package/dist/commonjs/models/components/destinationazureservicebus.d.ts.map +1 -0
  176. package/dist/commonjs/models/components/destinationazureservicebus.js +122 -0
  177. package/dist/commonjs/models/components/destinationazureservicebus.js.map +1 -0
  178. package/dist/commonjs/models/components/destinationcreate.d.ts +20 -10
  179. package/dist/commonjs/models/components/destinationcreate.d.ts.map +1 -1
  180. package/dist/commonjs/models/components/destinationcreate.js +24 -10
  181. package/dist/commonjs/models/components/destinationcreate.js.map +1 -1
  182. package/dist/commonjs/models/components/destinationcreateawss3.d.ts +78 -0
  183. package/dist/commonjs/models/components/destinationcreateawss3.d.ts.map +1 -0
  184. package/dist/commonjs/models/components/destinationcreateawss3.js +101 -0
  185. package/dist/commonjs/models/components/destinationcreateawss3.js.map +1 -0
  186. package/dist/commonjs/models/components/destinationcreateazureservicebus.d.ts +78 -0
  187. package/dist/commonjs/models/components/destinationcreateazureservicebus.d.ts.map +1 -0
  188. package/dist/commonjs/models/components/destinationcreateazureservicebus.js +101 -0
  189. package/dist/commonjs/models/components/destinationcreateazureservicebus.js.map +1 -0
  190. package/dist/commonjs/models/components/destinationupdate.d.ts +3 -2
  191. package/dist/commonjs/models/components/destinationupdate.d.ts.map +1 -1
  192. package/dist/commonjs/models/components/destinationupdate.js +3 -0
  193. package/dist/commonjs/models/components/destinationupdate.js.map +1 -1
  194. package/dist/commonjs/models/components/destinationupdateawss3.d.ts +39 -0
  195. package/dist/commonjs/models/components/destinationupdateawss3.d.ts.map +1 -0
  196. package/dist/commonjs/models/components/destinationupdateawss3.js +76 -0
  197. package/dist/commonjs/models/components/destinationupdateawss3.js.map +1 -0
  198. package/dist/commonjs/models/components/index.d.ts +10 -0
  199. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  200. package/dist/commonjs/models/components/index.js +10 -0
  201. package/dist/commonjs/models/components/index.js.map +1 -1
  202. package/dist/commonjs/models/components/publishresponse.d.ts +32 -0
  203. package/dist/commonjs/models/components/publishresponse.d.ts.map +1 -0
  204. package/dist/commonjs/models/components/publishresponse.js +69 -0
  205. package/dist/commonjs/models/components/publishresponse.js.map +1 -0
  206. package/dist/commonjs/models/errors/apierror.d.ts +8 -6
  207. package/dist/commonjs/models/errors/apierror.d.ts.map +1 -1
  208. package/dist/commonjs/models/errors/apierror.js +23 -10
  209. package/dist/commonjs/models/errors/apierror.js.map +1 -1
  210. package/dist/commonjs/models/errors/badrequesterror.d.ts +7 -2
  211. package/dist/commonjs/models/errors/badrequesterror.d.ts.map +1 -1
  212. package/dist/commonjs/models/errors/badrequesterror.js +13 -7
  213. package/dist/commonjs/models/errors/badrequesterror.js.map +1 -1
  214. package/dist/commonjs/models/errors/index.d.ts +1 -0
  215. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  216. package/dist/commonjs/models/errors/index.js +1 -0
  217. package/dist/commonjs/models/errors/index.js.map +1 -1
  218. package/dist/commonjs/models/errors/internalservererror.d.ts +7 -2
  219. package/dist/commonjs/models/errors/internalservererror.d.ts.map +1 -1
  220. package/dist/commonjs/models/errors/internalservererror.js +13 -7
  221. package/dist/commonjs/models/errors/internalservererror.js.map +1 -1
  222. package/dist/commonjs/models/errors/notfounderror.d.ts +7 -2
  223. package/dist/commonjs/models/errors/notfounderror.d.ts.map +1 -1
  224. package/dist/commonjs/models/errors/notfounderror.js +13 -7
  225. package/dist/commonjs/models/errors/notfounderror.js.map +1 -1
  226. package/dist/commonjs/models/errors/outposterror.d.ts +19 -0
  227. package/dist/commonjs/models/errors/outposterror.d.ts.map +1 -0
  228. package/dist/commonjs/models/errors/outposterror.js +20 -0
  229. package/dist/commonjs/models/errors/outposterror.js.map +1 -0
  230. package/dist/commonjs/models/errors/ratelimitederror.d.ts +7 -2
  231. package/dist/commonjs/models/errors/ratelimitederror.d.ts.map +1 -1
  232. package/dist/commonjs/models/errors/ratelimitederror.js +13 -7
  233. package/dist/commonjs/models/errors/ratelimitederror.js.map +1 -1
  234. package/dist/commonjs/models/errors/responsevalidationerror.d.ts +26 -0
  235. package/dist/commonjs/models/errors/responsevalidationerror.d.ts.map +1 -0
  236. package/dist/commonjs/models/errors/responsevalidationerror.js +66 -0
  237. package/dist/commonjs/models/errors/responsevalidationerror.js.map +1 -0
  238. package/dist/commonjs/models/errors/sdkvalidationerror.d.ts +1 -0
  239. package/dist/commonjs/models/errors/sdkvalidationerror.d.ts.map +1 -1
  240. package/dist/commonjs/models/errors/sdkvalidationerror.js +14 -0
  241. package/dist/commonjs/models/errors/sdkvalidationerror.js.map +1 -1
  242. package/dist/commonjs/models/errors/timeouterror.d.ts +7 -2
  243. package/dist/commonjs/models/errors/timeouterror.d.ts.map +1 -1
  244. package/dist/commonjs/models/errors/timeouterror.js +13 -7
  245. package/dist/commonjs/models/errors/timeouterror.js.map +1 -1
  246. package/dist/commonjs/models/errors/unauthorizederror.d.ts +7 -2
  247. package/dist/commonjs/models/errors/unauthorizederror.d.ts.map +1 -1
  248. package/dist/commonjs/models/errors/unauthorizederror.js +13 -7
  249. package/dist/commonjs/models/errors/unauthorizederror.js.map +1 -1
  250. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +3 -0
  251. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  252. package/dist/commonjs/models/operations/getdestinationtypeschema.js +1 -0
  253. package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
  254. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts +3 -0
  255. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
  256. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js +1 -0
  257. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js.map +1 -1
  258. package/dist/commonjs/models/operations/listtenantdestinations.d.ts +6 -0
  259. package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
  260. package/dist/commonjs/models/operations/listtenantdestinations.js +2 -0
  261. package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
  262. package/dist/commonjs/models/operations/listtenantevents.d.ts +94 -0
  263. package/dist/commonjs/models/operations/listtenantevents.d.ts.map +1 -1
  264. package/dist/commonjs/models/operations/listtenantevents.js +92 -1
  265. package/dist/commonjs/models/operations/listtenantevents.js.map +1 -1
  266. package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts +94 -0
  267. package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
  268. package/dist/commonjs/models/operations/listtenanteventsbydestination.js +92 -1
  269. package/dist/commonjs/models/operations/listtenanteventsbydestination.js.map +1 -1
  270. package/dist/commonjs/sdk/events.d.ts +7 -2
  271. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  272. package/dist/commonjs/sdk/events.js +3 -2
  273. package/dist/commonjs/sdk/events.js.map +1 -1
  274. package/dist/commonjs/sdk/publish.d.ts +1 -1
  275. package/dist/commonjs/sdk/publish.d.ts.map +1 -1
  276. package/dist/commonjs/types/constdatetime.js +1 -1
  277. package/dist/esm/funcs/destinationsCreate.d.ts +3 -2
  278. package/dist/esm/funcs/destinationsCreate.d.ts.map +1 -1
  279. package/dist/esm/funcs/destinationsCreate.js +3 -1
  280. package/dist/esm/funcs/destinationsCreate.js.map +1 -1
  281. package/dist/esm/funcs/destinationsDelete.d.ts +3 -2
  282. package/dist/esm/funcs/destinationsDelete.d.ts.map +1 -1
  283. package/dist/esm/funcs/destinationsDelete.js +3 -1
  284. package/dist/esm/funcs/destinationsDelete.js.map +1 -1
  285. package/dist/esm/funcs/destinationsDisable.d.ts +3 -2
  286. package/dist/esm/funcs/destinationsDisable.d.ts.map +1 -1
  287. package/dist/esm/funcs/destinationsDisable.js +3 -1
  288. package/dist/esm/funcs/destinationsDisable.js.map +1 -1
  289. package/dist/esm/funcs/destinationsEnable.d.ts +3 -2
  290. package/dist/esm/funcs/destinationsEnable.d.ts.map +1 -1
  291. package/dist/esm/funcs/destinationsEnable.js +3 -1
  292. package/dist/esm/funcs/destinationsEnable.js.map +1 -1
  293. package/dist/esm/funcs/destinationsGet.d.ts +3 -2
  294. package/dist/esm/funcs/destinationsGet.d.ts.map +1 -1
  295. package/dist/esm/funcs/destinationsGet.js +3 -1
  296. package/dist/esm/funcs/destinationsGet.js.map +1 -1
  297. package/dist/esm/funcs/destinationsList.d.ts +3 -2
  298. package/dist/esm/funcs/destinationsList.d.ts.map +1 -1
  299. package/dist/esm/funcs/destinationsList.js +3 -1
  300. package/dist/esm/funcs/destinationsList.js.map +1 -1
  301. package/dist/esm/funcs/destinationsUpdate.d.ts +3 -2
  302. package/dist/esm/funcs/destinationsUpdate.d.ts.map +1 -1
  303. package/dist/esm/funcs/destinationsUpdate.js +3 -1
  304. package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
  305. package/dist/esm/funcs/eventsGet.d.ts +3 -2
  306. package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
  307. package/dist/esm/funcs/eventsGet.js +3 -1
  308. package/dist/esm/funcs/eventsGet.js.map +1 -1
  309. package/dist/esm/funcs/eventsGetByDestination.d.ts +3 -2
  310. package/dist/esm/funcs/eventsGetByDestination.d.ts.map +1 -1
  311. package/dist/esm/funcs/eventsGetByDestination.js +3 -1
  312. package/dist/esm/funcs/eventsGetByDestination.js.map +1 -1
  313. package/dist/esm/funcs/eventsList.d.ts +6 -3
  314. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  315. package/dist/esm/funcs/eventsList.js +48 -8
  316. package/dist/esm/funcs/eventsList.js.map +1 -1
  317. package/dist/esm/funcs/eventsListByDestination.d.ts +6 -3
  318. package/dist/esm/funcs/eventsListByDestination.d.ts.map +1 -1
  319. package/dist/esm/funcs/eventsListByDestination.js +46 -8
  320. package/dist/esm/funcs/eventsListByDestination.js.map +1 -1
  321. package/dist/esm/funcs/eventsListDeliveries.d.ts +3 -2
  322. package/dist/esm/funcs/eventsListDeliveries.d.ts.map +1 -1
  323. package/dist/esm/funcs/eventsListDeliveries.js +3 -1
  324. package/dist/esm/funcs/eventsListDeliveries.js.map +1 -1
  325. package/dist/esm/funcs/eventsRetry.d.ts +3 -2
  326. package/dist/esm/funcs/eventsRetry.d.ts.map +1 -1
  327. package/dist/esm/funcs/eventsRetry.js +3 -1
  328. package/dist/esm/funcs/eventsRetry.js.map +1 -1
  329. package/dist/esm/funcs/healthCheck.d.ts +3 -2
  330. package/dist/esm/funcs/healthCheck.d.ts.map +1 -1
  331. package/dist/esm/funcs/healthCheck.js +3 -1
  332. package/dist/esm/funcs/healthCheck.js.map +1 -1
  333. package/dist/esm/funcs/publishEvent.d.ts +3 -2
  334. package/dist/esm/funcs/publishEvent.d.ts.map +1 -1
  335. package/dist/esm/funcs/publishEvent.js +3 -2
  336. package/dist/esm/funcs/publishEvent.js.map +1 -1
  337. package/dist/esm/funcs/schemasGet.d.ts +3 -2
  338. package/dist/esm/funcs/schemasGet.d.ts.map +1 -1
  339. package/dist/esm/funcs/schemasGet.js +3 -1
  340. package/dist/esm/funcs/schemasGet.js.map +1 -1
  341. package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts +3 -2
  342. package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts.map +1 -1
  343. package/dist/esm/funcs/schemasGetDestinationTypeJwt.js +3 -1
  344. package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
  345. package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts +3 -2
  346. package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts.map +1 -1
  347. package/dist/esm/funcs/schemasListDestinationTypesJwt.js +3 -1
  348. package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +1 -1
  349. package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts +3 -2
  350. package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts.map +1 -1
  351. package/dist/esm/funcs/schemasListTenantDestinationTypes.js +3 -1
  352. package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +1 -1
  353. package/dist/esm/funcs/tenantsDelete.d.ts +3 -2
  354. package/dist/esm/funcs/tenantsDelete.d.ts.map +1 -1
  355. package/dist/esm/funcs/tenantsDelete.js +3 -1
  356. package/dist/esm/funcs/tenantsDelete.js.map +1 -1
  357. package/dist/esm/funcs/tenantsGet.d.ts +3 -2
  358. package/dist/esm/funcs/tenantsGet.d.ts.map +1 -1
  359. package/dist/esm/funcs/tenantsGet.js +3 -1
  360. package/dist/esm/funcs/tenantsGet.js.map +1 -1
  361. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts +3 -2
  362. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  363. package/dist/esm/funcs/tenantsGetPortalUrl.js +3 -1
  364. package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
  365. package/dist/esm/funcs/tenantsGetToken.d.ts +3 -2
  366. package/dist/esm/funcs/tenantsGetToken.d.ts.map +1 -1
  367. package/dist/esm/funcs/tenantsGetToken.js +3 -1
  368. package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
  369. package/dist/esm/funcs/tenantsUpsert.d.ts +3 -2
  370. package/dist/esm/funcs/tenantsUpsert.d.ts.map +1 -1
  371. package/dist/esm/funcs/tenantsUpsert.js +3 -1
  372. package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
  373. package/dist/esm/funcs/topicsList.d.ts +3 -2
  374. package/dist/esm/funcs/topicsList.d.ts.map +1 -1
  375. package/dist/esm/funcs/topicsList.js +3 -1
  376. package/dist/esm/funcs/topicsList.js.map +1 -1
  377. package/dist/esm/funcs/topicsListJwt.d.ts +3 -2
  378. package/dist/esm/funcs/topicsListJwt.d.ts.map +1 -1
  379. package/dist/esm/funcs/topicsListJwt.js +3 -1
  380. package/dist/esm/funcs/topicsListJwt.js.map +1 -1
  381. package/dist/esm/hooks/types.d.ts +2 -0
  382. package/dist/esm/hooks/types.d.ts.map +1 -1
  383. package/dist/esm/index.d.ts +2 -0
  384. package/dist/esm/index.d.ts.map +1 -1
  385. package/dist/esm/index.js +1 -0
  386. package/dist/esm/index.js.map +1 -1
  387. package/dist/esm/lib/config.d.ts +7 -3
  388. package/dist/esm/lib/config.d.ts.map +1 -1
  389. package/dist/esm/lib/config.js +3 -3
  390. package/dist/esm/lib/config.js.map +1 -1
  391. package/dist/esm/lib/files.d.ts +5 -0
  392. package/dist/esm/lib/files.d.ts.map +1 -1
  393. package/dist/esm/lib/files.js +40 -0
  394. package/dist/esm/lib/files.js.map +1 -1
  395. package/dist/esm/lib/matchers.d.ts +3 -10
  396. package/dist/esm/lib/matchers.d.ts.map +1 -1
  397. package/dist/esm/lib/matchers.js +33 -30
  398. package/dist/esm/lib/matchers.js.map +1 -1
  399. package/dist/esm/lib/sdks.d.ts +1 -0
  400. package/dist/esm/lib/sdks.d.ts.map +1 -1
  401. package/dist/esm/lib/sdks.js +3 -3
  402. package/dist/esm/lib/sdks.js.map +1 -1
  403. package/dist/esm/lib/security.d.ts +2 -2
  404. package/dist/esm/lib/security.d.ts.map +1 -1
  405. package/dist/esm/lib/security.js.map +1 -1
  406. package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  407. package/dist/esm/mcp-server/cli/start/command.js +0 -12
  408. package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
  409. package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -2
  410. package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  411. package/dist/esm/mcp-server/cli/start/impl.js +0 -2
  412. package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
  413. package/dist/esm/mcp-server/mcp-server.js +1 -1
  414. package/dist/esm/mcp-server/server.js +1 -1
  415. package/dist/esm/mcp-server/tools/eventsList.js +1 -1
  416. package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
  417. package/dist/esm/mcp-server/tools/eventsListByDestination.js +1 -1
  418. package/dist/esm/mcp-server/tools/eventsListByDestination.js.map +1 -1
  419. package/dist/esm/mcp-server/tools/publishEvent.d.ts.map +1 -1
  420. package/dist/esm/mcp-server/tools/publishEvent.js +2 -1
  421. package/dist/esm/mcp-server/tools/publishEvent.js.map +1 -1
  422. package/dist/esm/models/components/awss3config.d.ts +47 -0
  423. package/dist/esm/models/components/awss3config.d.ts.map +1 -0
  424. package/dist/esm/models/components/awss3config.js +48 -0
  425. package/dist/esm/models/components/awss3config.js.map +1 -0
  426. package/dist/esm/models/components/awss3credentials.d.ts +42 -0
  427. package/dist/esm/models/components/awss3credentials.d.ts.map +1 -0
  428. package/dist/esm/models/components/awss3credentials.js +35 -0
  429. package/dist/esm/models/components/awss3credentials.js.map +1 -0
  430. package/dist/esm/models/components/azureservicebusconfig.d.ts +32 -0
  431. package/dist/esm/models/components/azureservicebusconfig.d.ts.map +1 -0
  432. package/dist/esm/models/components/azureservicebusconfig.js +31 -0
  433. package/dist/esm/models/components/azureservicebusconfig.js.map +1 -0
  434. package/dist/esm/models/components/azureservicebuscredentials.d.ts +32 -0
  435. package/dist/esm/models/components/azureservicebuscredentials.d.ts.map +1 -0
  436. package/dist/esm/models/components/azureservicebuscredentials.js +40 -0
  437. package/dist/esm/models/components/azureservicebuscredentials.js.map +1 -0
  438. package/dist/esm/models/components/destination.d.ts +14 -4
  439. package/dist/esm/models/components/destination.d.ts.map +1 -1
  440. package/dist/esm/models/components/destination.js +18 -4
  441. package/dist/esm/models/components/destination.js.map +1 -1
  442. package/dist/esm/models/components/destinationawss3.d.ts +98 -0
  443. package/dist/esm/models/components/destinationawss3.d.ts.map +1 -0
  444. package/dist/esm/models/components/destinationawss3.js +84 -0
  445. package/dist/esm/models/components/destinationawss3.js.map +1 -0
  446. package/dist/esm/models/components/destinationazureservicebus.d.ts +98 -0
  447. package/dist/esm/models/components/destinationazureservicebus.d.ts.map +1 -0
  448. package/dist/esm/models/components/destinationazureservicebus.js +84 -0
  449. package/dist/esm/models/components/destinationazureservicebus.js.map +1 -0
  450. package/dist/esm/models/components/destinationcreate.d.ts +20 -10
  451. package/dist/esm/models/components/destinationcreate.d.ts.map +1 -1
  452. package/dist/esm/models/components/destinationcreate.js +24 -10
  453. package/dist/esm/models/components/destinationcreate.js.map +1 -1
  454. package/dist/esm/models/components/destinationcreateawss3.d.ts +78 -0
  455. package/dist/esm/models/components/destinationcreateawss3.d.ts.map +1 -0
  456. package/dist/esm/models/components/destinationcreateawss3.js +63 -0
  457. package/dist/esm/models/components/destinationcreateawss3.js.map +1 -0
  458. package/dist/esm/models/components/destinationcreateazureservicebus.d.ts +78 -0
  459. package/dist/esm/models/components/destinationcreateazureservicebus.d.ts.map +1 -0
  460. package/dist/esm/models/components/destinationcreateazureservicebus.js +63 -0
  461. package/dist/esm/models/components/destinationcreateazureservicebus.js.map +1 -0
  462. package/dist/esm/models/components/destinationupdate.d.ts +3 -2
  463. package/dist/esm/models/components/destinationupdate.d.ts.map +1 -1
  464. package/dist/esm/models/components/destinationupdate.js +3 -0
  465. package/dist/esm/models/components/destinationupdate.js.map +1 -1
  466. package/dist/esm/models/components/destinationupdateawss3.d.ts +39 -0
  467. package/dist/esm/models/components/destinationupdateawss3.d.ts.map +1 -0
  468. package/dist/esm/models/components/destinationupdateawss3.js +38 -0
  469. package/dist/esm/models/components/destinationupdateawss3.js.map +1 -0
  470. package/dist/esm/models/components/index.d.ts +10 -0
  471. package/dist/esm/models/components/index.d.ts.map +1 -1
  472. package/dist/esm/models/components/index.js +10 -0
  473. package/dist/esm/models/components/index.js.map +1 -1
  474. package/dist/esm/models/components/publishresponse.d.ts +32 -0
  475. package/dist/esm/models/components/publishresponse.d.ts.map +1 -0
  476. package/dist/esm/models/components/publishresponse.js +31 -0
  477. package/dist/esm/models/components/publishresponse.js.map +1 -0
  478. package/dist/esm/models/errors/apierror.d.ts +8 -6
  479. package/dist/esm/models/errors/apierror.d.ts.map +1 -1
  480. package/dist/esm/models/errors/apierror.js +23 -10
  481. package/dist/esm/models/errors/apierror.js.map +1 -1
  482. package/dist/esm/models/errors/badrequesterror.d.ts +7 -2
  483. package/dist/esm/models/errors/badrequesterror.d.ts.map +1 -1
  484. package/dist/esm/models/errors/badrequesterror.js +13 -7
  485. package/dist/esm/models/errors/badrequesterror.js.map +1 -1
  486. package/dist/esm/models/errors/index.d.ts +1 -0
  487. package/dist/esm/models/errors/index.d.ts.map +1 -1
  488. package/dist/esm/models/errors/index.js +1 -0
  489. package/dist/esm/models/errors/index.js.map +1 -1
  490. package/dist/esm/models/errors/internalservererror.d.ts +7 -2
  491. package/dist/esm/models/errors/internalservererror.d.ts.map +1 -1
  492. package/dist/esm/models/errors/internalservererror.js +13 -7
  493. package/dist/esm/models/errors/internalservererror.js.map +1 -1
  494. package/dist/esm/models/errors/notfounderror.d.ts +7 -2
  495. package/dist/esm/models/errors/notfounderror.d.ts.map +1 -1
  496. package/dist/esm/models/errors/notfounderror.js +13 -7
  497. package/dist/esm/models/errors/notfounderror.js.map +1 -1
  498. package/dist/esm/models/errors/outposterror.d.ts +19 -0
  499. package/dist/esm/models/errors/outposterror.d.ts.map +1 -0
  500. package/dist/esm/models/errors/outposterror.js +16 -0
  501. package/dist/esm/models/errors/outposterror.js.map +1 -0
  502. package/dist/esm/models/errors/ratelimitederror.d.ts +7 -2
  503. package/dist/esm/models/errors/ratelimitederror.d.ts.map +1 -1
  504. package/dist/esm/models/errors/ratelimitederror.js +13 -7
  505. package/dist/esm/models/errors/ratelimitederror.js.map +1 -1
  506. package/dist/esm/models/errors/responsevalidationerror.d.ts +26 -0
  507. package/dist/esm/models/errors/responsevalidationerror.d.ts.map +1 -0
  508. package/dist/esm/models/errors/responsevalidationerror.js +29 -0
  509. package/dist/esm/models/errors/responsevalidationerror.js.map +1 -0
  510. package/dist/esm/models/errors/sdkvalidationerror.d.ts +1 -0
  511. package/dist/esm/models/errors/sdkvalidationerror.d.ts.map +1 -1
  512. package/dist/esm/models/errors/sdkvalidationerror.js +14 -0
  513. package/dist/esm/models/errors/sdkvalidationerror.js.map +1 -1
  514. package/dist/esm/models/errors/timeouterror.d.ts +7 -2
  515. package/dist/esm/models/errors/timeouterror.d.ts.map +1 -1
  516. package/dist/esm/models/errors/timeouterror.js +13 -7
  517. package/dist/esm/models/errors/timeouterror.js.map +1 -1
  518. package/dist/esm/models/errors/unauthorizederror.d.ts +7 -2
  519. package/dist/esm/models/errors/unauthorizederror.d.ts.map +1 -1
  520. package/dist/esm/models/errors/unauthorizederror.js +13 -7
  521. package/dist/esm/models/errors/unauthorizederror.js.map +1 -1
  522. package/dist/esm/models/operations/getdestinationtypeschema.d.ts +3 -0
  523. package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  524. package/dist/esm/models/operations/getdestinationtypeschema.js +1 -0
  525. package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
  526. package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts +3 -0
  527. package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
  528. package/dist/esm/models/operations/gettenantdestinationtypeschema.js +1 -0
  529. package/dist/esm/models/operations/gettenantdestinationtypeschema.js.map +1 -1
  530. package/dist/esm/models/operations/listtenantdestinations.d.ts +6 -0
  531. package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
  532. package/dist/esm/models/operations/listtenantdestinations.js +2 -0
  533. package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
  534. package/dist/esm/models/operations/listtenantevents.d.ts +94 -0
  535. package/dist/esm/models/operations/listtenantevents.d.ts.map +1 -1
  536. package/dist/esm/models/operations/listtenantevents.js +87 -0
  537. package/dist/esm/models/operations/listtenantevents.js.map +1 -1
  538. package/dist/esm/models/operations/listtenanteventsbydestination.d.ts +94 -0
  539. package/dist/esm/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
  540. package/dist/esm/models/operations/listtenanteventsbydestination.js +87 -0
  541. package/dist/esm/models/operations/listtenanteventsbydestination.js.map +1 -1
  542. package/dist/esm/sdk/events.d.ts +7 -2
  543. package/dist/esm/sdk/events.d.ts.map +1 -1
  544. package/dist/esm/sdk/events.js +3 -2
  545. package/dist/esm/sdk/events.js.map +1 -1
  546. package/dist/esm/sdk/publish.d.ts +1 -1
  547. package/dist/esm/sdk/publish.d.ts.map +1 -1
  548. package/dist/esm/types/constdatetime.js +1 -1
  549. package/docs/sdks/destinations/README.md +58 -81
  550. package/docs/sdks/events/README.md +62 -72
  551. package/docs/sdks/health/README.md +6 -9
  552. package/docs/sdks/publish/README.md +9 -10
  553. package/docs/sdks/schemas/README.md +30 -44
  554. package/docs/sdks/tenants/README.md +50 -75
  555. package/docs/sdks/topics/README.md +16 -24
  556. package/examples/README.md +31 -0
  557. package/examples/healthCheck.example.ts +24 -0
  558. package/examples/package-lock.json +628 -0
  559. package/examples/package.json +18 -0
  560. package/jsr.json +1 -1
  561. package/package.json +9 -9
  562. package/src/funcs/destinationsCreate.ts +23 -26
  563. package/src/funcs/destinationsDelete.ts +23 -26
  564. package/src/funcs/destinationsDisable.ts +23 -26
  565. package/src/funcs/destinationsEnable.ts +23 -26
  566. package/src/funcs/destinationsGet.ts +23 -26
  567. package/src/funcs/destinationsList.ts +23 -26
  568. package/src/funcs/destinationsUpdate.ts +23 -26
  569. package/src/funcs/eventsGet.ts +23 -26
  570. package/src/funcs/eventsGetByDestination.ts +23 -26
  571. package/src/funcs/eventsList.ts +133 -56
  572. package/src/funcs/eventsListByDestination.ts +135 -56
  573. package/src/funcs/eventsListDeliveries.ts +23 -26
  574. package/src/funcs/eventsRetry.ts +23 -26
  575. package/src/funcs/healthCheck.ts +23 -29
  576. package/src/funcs/publishEvent.ts +27 -34
  577. package/src/funcs/schemasGet.ts +23 -26
  578. package/src/funcs/schemasGetDestinationTypeJwt.ts +23 -26
  579. package/src/funcs/schemasListDestinationTypesJwt.ts +23 -29
  580. package/src/funcs/schemasListTenantDestinationTypes.ts +23 -26
  581. package/src/funcs/tenantsDelete.ts +23 -26
  582. package/src/funcs/tenantsGet.ts +23 -26
  583. package/src/funcs/tenantsGetPortalUrl.ts +23 -26
  584. package/src/funcs/tenantsGetToken.ts +23 -26
  585. package/src/funcs/tenantsUpsert.ts +23 -29
  586. package/src/funcs/topicsList.ts +23 -26
  587. package/src/funcs/topicsListJwt.ts +23 -29
  588. package/src/hooks/types.ts +2 -0
  589. package/src/index.ts +2 -0
  590. package/src/lib/config.ts +7 -3
  591. package/src/lib/files.ts +42 -0
  592. package/src/lib/matchers.ts +44 -41
  593. package/src/lib/sdks.ts +10 -4
  594. package/src/lib/security.ts +6 -3
  595. package/src/mcp-server/cli/start/command.ts +0 -13
  596. package/src/mcp-server/cli/start/impl.ts +0 -4
  597. package/src/mcp-server/mcp-server.ts +1 -1
  598. package/src/mcp-server/server.ts +1 -1
  599. package/src/mcp-server/tools/eventsList.ts +1 -1
  600. package/src/mcp-server/tools/eventsListByDestination.ts +1 -1
  601. package/src/mcp-server/tools/publishEvent.ts +3 -1
  602. package/src/models/components/awss3config.ts +97 -0
  603. package/src/models/components/awss3credentials.ts +83 -0
  604. package/src/models/components/azureservicebusconfig.ts +69 -0
  605. package/src/models/components/azureservicebuscredentials.ts +78 -0
  606. package/src/models/components/destination.ts +48 -12
  607. package/src/models/components/destinationawss3.ts +185 -0
  608. package/src/models/components/destinationazureservicebus.ts +187 -0
  609. package/src/models/components/destinationcreate.ts +60 -24
  610. package/src/models/components/destinationcreateawss3.ts +144 -0
  611. package/src/models/components/destinationcreateazureservicebus.ts +149 -0
  612. package/src/models/components/destinationupdate.ts +12 -2
  613. package/src/models/components/destinationupdateawss3.ts +95 -0
  614. package/src/models/components/index.ts +10 -0
  615. package/src/models/components/publishresponse.ts +67 -0
  616. package/src/models/errors/apierror.ts +29 -16
  617. package/src/models/errors/badrequesterror.ts +16 -8
  618. package/src/models/errors/index.ts +1 -0
  619. package/src/models/errors/internalservererror.ts +16 -8
  620. package/src/models/errors/notfounderror.ts +16 -8
  621. package/src/models/errors/outposterror.ts +35 -0
  622. package/src/models/errors/ratelimitederror.ts +16 -8
  623. package/src/models/errors/responsevalidationerror.ts +50 -0
  624. package/src/models/errors/sdkvalidationerror.ts +12 -0
  625. package/src/models/errors/timeouterror.ts +16 -8
  626. package/src/models/errors/unauthorizederror.ts +16 -8
  627. package/src/models/operations/getdestinationtypeschema.ts +1 -0
  628. package/src/models/operations/gettenantdestinationtypeschema.ts +1 -0
  629. package/src/models/operations/listtenantdestinations.ts +2 -0
  630. package/src/models/operations/listtenantevents.ts +198 -0
  631. package/src/models/operations/listtenanteventsbydestination.ts +215 -0
  632. package/src/sdk/events.ts +12 -4
  633. package/src/sdk/publish.ts +1 -1
  634. package/src/types/constdatetime.ts +1 -1
@@ -6,7 +6,6 @@ import { buildCommand } from "@stricli/core";
6
6
  import { numberParser } from "@stricli/core";
7
7
  import * as z from "zod";
8
8
  import { consoleLoggerLevels } from "../../console-logger.js";
9
- import { mcpScopes } from "../../scopes.js";
10
9
 
11
10
  export const startCommand = buildCommand({
12
11
  loader: async () => {
@@ -37,18 +36,6 @@ export const startCommand = buildCommand({
37
36
  return z.string().parse(value);
38
37
  },
39
38
  },
40
- ...(mcpScopes.length
41
- ? {
42
- scope: {
43
- kind: "enum",
44
- brief:
45
- "Mount tools/resources that match given scope (repeatable flag)",
46
- values: mcpScopes,
47
- variadic: true,
48
- optional: true,
49
- },
50
- }
51
- : {}),
52
39
  "admin-api-key": {
53
40
  kind: "parsed",
54
41
  brief: "Sets the adminApiKey auth field for the API",
@@ -11,14 +11,12 @@ import {
11
11
  ConsoleLoggerLevel,
12
12
  createConsoleLogger,
13
13
  } from "../../console-logger.js";
14
- import { MCPScope } from "../../scopes.js";
15
14
  import { createMCPServer } from "../../server.js";
16
15
 
17
16
  interface StartCommandFlags {
18
17
  readonly transport: "stdio" | "sse";
19
18
  readonly port: number;
20
19
  readonly tool?: string[];
21
- readonly scope?: MCPScope[];
22
20
  readonly "admin-api-key"?: string | undefined;
23
21
  readonly "tenant-jwt"?: string | undefined;
24
22
  readonly "tenant-id"?: SDKOptions["tenantId"] | undefined;
@@ -51,7 +49,6 @@ async function startStdio(flags: StartCommandFlags) {
51
49
  const server = createMCPServer({
52
50
  logger,
53
51
  allowedTools: flags.tool,
54
- scopes: flags.scope,
55
52
  security: {
56
53
  adminApiKey: flags["admin-api-key"] ?? "",
57
54
  tenantJwt: flags["tenant-jwt"] ?? "",
@@ -76,7 +73,6 @@ async function startSSE(flags: StartCommandFlags) {
76
73
  const mcpServer = createMCPServer({
77
74
  logger,
78
75
  allowedTools: flags.tool,
79
- scopes: flags.scope,
80
76
  security: {
81
77
  adminApiKey: flags["admin-api-key"] ?? "",
82
78
  tenantJwt: flags["tenant-jwt"] ?? "",
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.2.0",
22
+ currentVersion: "0.4.0",
23
23
  },
24
24
  });
25
25
 
@@ -51,7 +51,7 @@ export function createMCPServer(deps: {
51
51
  }) {
52
52
  const server = new McpServer({
53
53
  name: "Outpost",
54
- version: "0.2.0",
54
+ version: "0.4.0",
55
55
  });
56
56
 
57
57
  const client = new OutpostCore({
@@ -30,7 +30,7 @@ Retrieves a list of events for the tenant, supporting cursor navigation (details
30
30
  };
31
31
  }
32
32
 
33
- const value = result.value;
33
+ const value = result.value.result;
34
34
 
35
35
  return formatResult(value, apiCall);
36
36
  },
@@ -30,7 +30,7 @@ Retrieves events associated with a specific destination for the tenant.`,
30
30
  };
31
31
  }
32
32
 
33
- const value = result.value;
33
+ const value = result.value.result;
34
34
 
35
35
  return formatResult(value, apiCall);
36
36
  },
@@ -30,6 +30,8 @@ Publishes an event to the specified topic, potentially routed to a specific dest
30
30
  };
31
31
  }
32
32
 
33
- return formatResult(void 0, apiCall);
33
+ const value = result.value;
34
+
35
+ return formatResult(value, apiCall);
34
36
  },
35
37
  };
@@ -0,0 +1,97 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type Awss3Config = {
12
+ /**
13
+ * The name of your AWS S3 bucket.
14
+ */
15
+ bucket: string;
16
+ /**
17
+ * The AWS region where your bucket is located.
18
+ */
19
+ region: string;
20
+ /**
21
+ * JMESPath expression for generating S3 object keys. Default is join('', [time.rfc3339_nano, '_', metadata."event-id", '.json']).
22
+ */
23
+ keyTemplate?: string | undefined;
24
+ /**
25
+ * The storage class for the S3 objects (e.g., STANDARD, INTELLIGENT_TIERING, GLACIER, etc.). Defaults to "STANDARD".
26
+ */
27
+ storageClass?: string | undefined;
28
+ };
29
+
30
+ /** @internal */
31
+ export const Awss3Config$inboundSchema: z.ZodType<
32
+ Awss3Config,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ bucket: z.string(),
37
+ region: z.string(),
38
+ key_template: z.string().optional(),
39
+ storage_class: z.string().optional(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ "key_template": "keyTemplate",
43
+ "storage_class": "storageClass",
44
+ });
45
+ });
46
+
47
+ /** @internal */
48
+ export type Awss3Config$Outbound = {
49
+ bucket: string;
50
+ region: string;
51
+ key_template?: string | undefined;
52
+ storage_class?: string | undefined;
53
+ };
54
+
55
+ /** @internal */
56
+ export const Awss3Config$outboundSchema: z.ZodType<
57
+ Awss3Config$Outbound,
58
+ z.ZodTypeDef,
59
+ Awss3Config
60
+ > = z.object({
61
+ bucket: z.string(),
62
+ region: z.string(),
63
+ keyTemplate: z.string().optional(),
64
+ storageClass: z.string().optional(),
65
+ }).transform((v) => {
66
+ return remap$(v, {
67
+ keyTemplate: "key_template",
68
+ storageClass: "storage_class",
69
+ });
70
+ });
71
+
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ export namespace Awss3Config$ {
77
+ /** @deprecated use `Awss3Config$inboundSchema` instead. */
78
+ export const inboundSchema = Awss3Config$inboundSchema;
79
+ /** @deprecated use `Awss3Config$outboundSchema` instead. */
80
+ export const outboundSchema = Awss3Config$outboundSchema;
81
+ /** @deprecated use `Awss3Config$Outbound` instead. */
82
+ export type Outbound = Awss3Config$Outbound;
83
+ }
84
+
85
+ export function awss3ConfigToJSON(awss3Config: Awss3Config): string {
86
+ return JSON.stringify(Awss3Config$outboundSchema.parse(awss3Config));
87
+ }
88
+
89
+ export function awss3ConfigFromJSON(
90
+ jsonString: string,
91
+ ): SafeParseResult<Awss3Config, SDKValidationError> {
92
+ return safeParse(
93
+ jsonString,
94
+ (x) => Awss3Config$inboundSchema.parse(JSON.parse(x)),
95
+ `Failed to parse 'Awss3Config' from JSON`,
96
+ );
97
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type Awss3Credentials = {
11
+ /**
12
+ * AWS Access Key ID.
13
+ */
14
+ key: string;
15
+ /**
16
+ * AWS Secret Access Key.
17
+ */
18
+ secret: string;
19
+ /**
20
+ * Optional AWS Session Token (for temporary credentials).
21
+ */
22
+ session?: string | undefined;
23
+ };
24
+
25
+ /** @internal */
26
+ export const Awss3Credentials$inboundSchema: z.ZodType<
27
+ Awss3Credentials,
28
+ z.ZodTypeDef,
29
+ unknown
30
+ > = z.object({
31
+ key: z.string(),
32
+ secret: z.string(),
33
+ session: z.string().optional(),
34
+ });
35
+
36
+ /** @internal */
37
+ export type Awss3Credentials$Outbound = {
38
+ key: string;
39
+ secret: string;
40
+ session?: string | undefined;
41
+ };
42
+
43
+ /** @internal */
44
+ export const Awss3Credentials$outboundSchema: z.ZodType<
45
+ Awss3Credentials$Outbound,
46
+ z.ZodTypeDef,
47
+ Awss3Credentials
48
+ > = z.object({
49
+ key: z.string(),
50
+ secret: z.string(),
51
+ session: z.string().optional(),
52
+ });
53
+
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export namespace Awss3Credentials$ {
59
+ /** @deprecated use `Awss3Credentials$inboundSchema` instead. */
60
+ export const inboundSchema = Awss3Credentials$inboundSchema;
61
+ /** @deprecated use `Awss3Credentials$outboundSchema` instead. */
62
+ export const outboundSchema = Awss3Credentials$outboundSchema;
63
+ /** @deprecated use `Awss3Credentials$Outbound` instead. */
64
+ export type Outbound = Awss3Credentials$Outbound;
65
+ }
66
+
67
+ export function awss3CredentialsToJSON(
68
+ awss3Credentials: Awss3Credentials,
69
+ ): string {
70
+ return JSON.stringify(
71
+ Awss3Credentials$outboundSchema.parse(awss3Credentials),
72
+ );
73
+ }
74
+
75
+ export function awss3CredentialsFromJSON(
76
+ jsonString: string,
77
+ ): SafeParseResult<Awss3Credentials, SDKValidationError> {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) => Awss3Credentials$inboundSchema.parse(JSON.parse(x)),
81
+ `Failed to parse 'Awss3Credentials' from JSON`,
82
+ );
83
+ }
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type AzureServiceBusConfig = {
11
+ /**
12
+ * The name of the Azure Service Bus queue or topic to publish messages to.
13
+ */
14
+ name: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const AzureServiceBusConfig$inboundSchema: z.ZodType<
19
+ AzureServiceBusConfig,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ name: z.string(),
24
+ });
25
+
26
+ /** @internal */
27
+ export type AzureServiceBusConfig$Outbound = {
28
+ name: string;
29
+ };
30
+
31
+ /** @internal */
32
+ export const AzureServiceBusConfig$outboundSchema: z.ZodType<
33
+ AzureServiceBusConfig$Outbound,
34
+ z.ZodTypeDef,
35
+ AzureServiceBusConfig
36
+ > = z.object({
37
+ name: z.string(),
38
+ });
39
+
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export namespace AzureServiceBusConfig$ {
45
+ /** @deprecated use `AzureServiceBusConfig$inboundSchema` instead. */
46
+ export const inboundSchema = AzureServiceBusConfig$inboundSchema;
47
+ /** @deprecated use `AzureServiceBusConfig$outboundSchema` instead. */
48
+ export const outboundSchema = AzureServiceBusConfig$outboundSchema;
49
+ /** @deprecated use `AzureServiceBusConfig$Outbound` instead. */
50
+ export type Outbound = AzureServiceBusConfig$Outbound;
51
+ }
52
+
53
+ export function azureServiceBusConfigToJSON(
54
+ azureServiceBusConfig: AzureServiceBusConfig,
55
+ ): string {
56
+ return JSON.stringify(
57
+ AzureServiceBusConfig$outboundSchema.parse(azureServiceBusConfig),
58
+ );
59
+ }
60
+
61
+ export function azureServiceBusConfigFromJSON(
62
+ jsonString: string,
63
+ ): SafeParseResult<AzureServiceBusConfig, SDKValidationError> {
64
+ return safeParse(
65
+ jsonString,
66
+ (x) => AzureServiceBusConfig$inboundSchema.parse(JSON.parse(x)),
67
+ `Failed to parse 'AzureServiceBusConfig' from JSON`,
68
+ );
69
+ }
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type AzureServiceBusCredentials = {
12
+ /**
13
+ * The connection string for the Azure Service Bus namespace.
14
+ */
15
+ connectionString: string;
16
+ };
17
+
18
+ /** @internal */
19
+ export const AzureServiceBusCredentials$inboundSchema: z.ZodType<
20
+ AzureServiceBusCredentials,
21
+ z.ZodTypeDef,
22
+ unknown
23
+ > = z.object({
24
+ connection_string: z.string(),
25
+ }).transform((v) => {
26
+ return remap$(v, {
27
+ "connection_string": "connectionString",
28
+ });
29
+ });
30
+
31
+ /** @internal */
32
+ export type AzureServiceBusCredentials$Outbound = {
33
+ connection_string: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const AzureServiceBusCredentials$outboundSchema: z.ZodType<
38
+ AzureServiceBusCredentials$Outbound,
39
+ z.ZodTypeDef,
40
+ AzureServiceBusCredentials
41
+ > = z.object({
42
+ connectionString: z.string(),
43
+ }).transform((v) => {
44
+ return remap$(v, {
45
+ connectionString: "connection_string",
46
+ });
47
+ });
48
+
49
+ /**
50
+ * @internal
51
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
+ */
53
+ export namespace AzureServiceBusCredentials$ {
54
+ /** @deprecated use `AzureServiceBusCredentials$inboundSchema` instead. */
55
+ export const inboundSchema = AzureServiceBusCredentials$inboundSchema;
56
+ /** @deprecated use `AzureServiceBusCredentials$outboundSchema` instead. */
57
+ export const outboundSchema = AzureServiceBusCredentials$outboundSchema;
58
+ /** @deprecated use `AzureServiceBusCredentials$Outbound` instead. */
59
+ export type Outbound = AzureServiceBusCredentials$Outbound;
60
+ }
61
+
62
+ export function azureServiceBusCredentialsToJSON(
63
+ azureServiceBusCredentials: AzureServiceBusCredentials,
64
+ ): string {
65
+ return JSON.stringify(
66
+ AzureServiceBusCredentials$outboundSchema.parse(azureServiceBusCredentials),
67
+ );
68
+ }
69
+
70
+ export function azureServiceBusCredentialsFromJSON(
71
+ jsonString: string,
72
+ ): SafeParseResult<AzureServiceBusCredentials, SDKValidationError> {
73
+ return safeParse(
74
+ jsonString,
75
+ (x) => AzureServiceBusCredentials$inboundSchema.parse(JSON.parse(x)),
76
+ `Failed to parse 'AzureServiceBusCredentials' from JSON`,
77
+ );
78
+ }
@@ -12,12 +12,24 @@ import {
12
12
  DestinationAWSKinesis$Outbound,
13
13
  DestinationAWSKinesis$outboundSchema,
14
14
  } from "./destinationawskinesis.js";
15
+ import {
16
+ DestinationAwss3,
17
+ DestinationAwss3$inboundSchema,
18
+ DestinationAwss3$Outbound,
19
+ DestinationAwss3$outboundSchema,
20
+ } from "./destinationawss3.js";
15
21
  import {
16
22
  DestinationAWSSQS,
17
23
  DestinationAWSSQS$inboundSchema,
18
24
  DestinationAWSSQS$Outbound,
19
25
  DestinationAWSSQS$outboundSchema,
20
26
  } from "./destinationawssqs.js";
27
+ import {
28
+ DestinationAzureServiceBus,
29
+ DestinationAzureServiceBus$inboundSchema,
30
+ DestinationAzureServiceBus$Outbound,
31
+ DestinationAzureServiceBus$outboundSchema,
32
+ } from "./destinationazureservicebus.js";
21
33
  import {
22
34
  DestinationHookdeck,
23
35
  DestinationHookdeck$inboundSchema,
@@ -41,8 +53,10 @@ export type Destination =
41
53
  | (DestinationWebhook & { type: "webhook" })
42
54
  | (DestinationAWSSQS & { type: "aws_sqs" })
43
55
  | (DestinationRabbitMQ & { type: "rabbitmq" })
44
- | (DestinationHookdeck & { type: "hookdeck" })
45
- | (DestinationAWSKinesis & { type: "aws_kinesis" });
56
+ | (DestinationAWSKinesis & { type: "aws_kinesis" })
57
+ | (DestinationAzureServiceBus & { type: "azure_servicebus" })
58
+ | (DestinationAwss3 & { type: "aws_s3" })
59
+ | (DestinationHookdeck & { type: "hookdeck" });
46
60
 
47
61
  /** @internal */
48
62
  export const Destination$inboundSchema: z.ZodType<
@@ -65,13 +79,23 @@ export const Destination$inboundSchema: z.ZodType<
65
79
  type: v.type,
66
80
  })),
67
81
  ),
68
- DestinationHookdeck$inboundSchema.and(
69
- z.object({ type: z.literal("hookdeck") }).transform((v) => ({
82
+ DestinationAWSKinesis$inboundSchema.and(
83
+ z.object({ type: z.literal("aws_kinesis") }).transform((v) => ({
70
84
  type: v.type,
71
85
  })),
72
86
  ),
73
- DestinationAWSKinesis$inboundSchema.and(
74
- z.object({ type: z.literal("aws_kinesis") }).transform((v) => ({
87
+ DestinationAzureServiceBus$inboundSchema.and(
88
+ z.object({ type: z.literal("azure_servicebus") }).transform((v) => ({
89
+ type: v.type,
90
+ })),
91
+ ),
92
+ DestinationAwss3$inboundSchema.and(
93
+ z.object({ type: z.literal("aws_s3") }).transform((v) => ({
94
+ type: v.type,
95
+ })),
96
+ ),
97
+ DestinationHookdeck$inboundSchema.and(
98
+ z.object({ type: z.literal("hookdeck") }).transform((v) => ({
75
99
  type: v.type,
76
100
  })),
77
101
  ),
@@ -82,8 +106,10 @@ export type Destination$Outbound =
82
106
  | (DestinationWebhook$Outbound & { type: "webhook" })
83
107
  | (DestinationAWSSQS$Outbound & { type: "aws_sqs" })
84
108
  | (DestinationRabbitMQ$Outbound & { type: "rabbitmq" })
85
- | (DestinationHookdeck$Outbound & { type: "hookdeck" })
86
- | (DestinationAWSKinesis$Outbound & { type: "aws_kinesis" });
109
+ | (DestinationAWSKinesis$Outbound & { type: "aws_kinesis" })
110
+ | (DestinationAzureServiceBus$Outbound & { type: "azure_servicebus" })
111
+ | (DestinationAwss3$Outbound & { type: "aws_s3" })
112
+ | (DestinationHookdeck$Outbound & { type: "hookdeck" });
87
113
 
88
114
  /** @internal */
89
115
  export const Destination$outboundSchema: z.ZodType<
@@ -106,13 +132,23 @@ export const Destination$outboundSchema: z.ZodType<
106
132
  type: v.type,
107
133
  })),
108
134
  ),
109
- DestinationHookdeck$outboundSchema.and(
110
- z.object({ type: z.literal("hookdeck") }).transform((v) => ({
135
+ DestinationAWSKinesis$outboundSchema.and(
136
+ z.object({ type: z.literal("aws_kinesis") }).transform((v) => ({
111
137
  type: v.type,
112
138
  })),
113
139
  ),
114
- DestinationAWSKinesis$outboundSchema.and(
115
- z.object({ type: z.literal("aws_kinesis") }).transform((v) => ({
140
+ DestinationAzureServiceBus$outboundSchema.and(
141
+ z.object({ type: z.literal("azure_servicebus") }).transform((v) => ({
142
+ type: v.type,
143
+ })),
144
+ ),
145
+ DestinationAwss3$outboundSchema.and(
146
+ z.object({ type: z.literal("aws_s3") }).transform((v) => ({
147
+ type: v.type,
148
+ })),
149
+ ),
150
+ DestinationHookdeck$outboundSchema.and(
151
+ z.object({ type: z.literal("hookdeck") }).transform((v) => ({
116
152
  type: v.type,
117
153
  })),
118
154
  ),