@hookdeck/outpost-sdk 0.6.0 → 0.8.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 (1179) hide show
  1. package/README.md +77 -93
  2. package/bin/mcp-server.js +2604 -2254
  3. package/bin/mcp-server.js.map +138 -136
  4. package/dist/commonjs/funcs/attemptsGet.d.ts +22 -0
  5. package/dist/commonjs/funcs/attemptsGet.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/{eventsGetByDestination.js → attemptsGet.js} +31 -20
  7. package/dist/commonjs/funcs/attemptsGet.js.map +1 -0
  8. package/dist/commonjs/funcs/attemptsList.d.ts +22 -0
  9. package/dist/commonjs/funcs/attemptsList.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/{eventsListDeliveries.js → attemptsList.js} +36 -20
  11. package/dist/commonjs/funcs/attemptsList.js.map +1 -0
  12. package/dist/commonjs/funcs/attemptsRetry.d.ts +21 -0
  13. package/dist/commonjs/funcs/attemptsRetry.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/{schemasGet.js → attemptsRetry.js} +23 -22
  15. package/dist/commonjs/funcs/attemptsRetry.js.map +1 -0
  16. package/dist/commonjs/funcs/destinationsCreate.d.ts +2 -2
  17. package/dist/commonjs/funcs/destinationsCreate.d.ts.map +1 -1
  18. package/dist/commonjs/funcs/destinationsCreate.js +21 -9
  19. package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
  20. package/dist/commonjs/funcs/destinationsDelete.d.ts +2 -2
  21. package/dist/commonjs/funcs/destinationsDelete.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/destinationsDelete.js +21 -9
  23. package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
  24. package/dist/commonjs/funcs/destinationsDisable.d.ts +2 -2
  25. package/dist/commonjs/funcs/destinationsDisable.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/destinationsDisable.js +21 -9
  27. package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
  28. package/dist/commonjs/funcs/destinationsEnable.d.ts +2 -2
  29. package/dist/commonjs/funcs/destinationsEnable.d.ts.map +1 -1
  30. package/dist/commonjs/funcs/destinationsEnable.js +21 -9
  31. package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
  32. package/dist/commonjs/funcs/destinationsGet.d.ts +2 -2
  33. package/dist/commonjs/funcs/destinationsGet.d.ts.map +1 -1
  34. package/dist/commonjs/funcs/destinationsGet.js +21 -9
  35. package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
  36. package/dist/commonjs/funcs/destinationsGetAttempt.d.ts +19 -0
  37. package/dist/commonjs/funcs/destinationsGetAttempt.d.ts.map +1 -0
  38. package/dist/commonjs/funcs/{eventsRetry.js → destinationsGetAttempt.js} +37 -19
  39. package/dist/commonjs/funcs/destinationsGetAttempt.js.map +1 -0
  40. package/dist/commonjs/funcs/destinationsList.d.ts +2 -1
  41. package/dist/commonjs/funcs/destinationsList.d.ts.map +1 -1
  42. package/dist/commonjs/funcs/destinationsList.js +22 -9
  43. package/dist/commonjs/funcs/destinationsList.js.map +1 -1
  44. package/dist/commonjs/funcs/{schemasGet.d.ts → destinationsListAttempts.d.ts} +5 -4
  45. package/dist/commonjs/funcs/destinationsListAttempts.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/{eventsListByDestination.js → destinationsListAttempts.js} +29 -15
  47. package/dist/commonjs/funcs/destinationsListAttempts.js.map +1 -0
  48. package/dist/commonjs/funcs/destinationsUpdate.d.ts +3 -1
  49. package/dist/commonjs/funcs/destinationsUpdate.d.ts.map +1 -1
  50. package/dist/commonjs/funcs/destinationsUpdate.js +22 -9
  51. package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
  52. package/dist/commonjs/funcs/eventsGet.d.ts +5 -2
  53. package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
  54. package/dist/commonjs/funcs/eventsGet.js +21 -11
  55. package/dist/commonjs/funcs/eventsGet.js.map +1 -1
  56. package/dist/commonjs/funcs/eventsList.d.ts +7 -2
  57. package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
  58. package/dist/commonjs/funcs/eventsList.js +23 -15
  59. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  60. package/dist/commonjs/funcs/publishEvent.js +4 -4
  61. package/dist/commonjs/funcs/publishEvent.js.map +1 -1
  62. package/dist/{esm/funcs/schemasGetDestinationTypeJwt.d.ts → commonjs/funcs/schemasGetDestinationType.d.ts} +2 -2
  63. package/dist/commonjs/funcs/schemasGetDestinationType.d.ts.map +1 -0
  64. package/dist/commonjs/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +13 -9
  65. package/dist/commonjs/funcs/schemasGetDestinationType.js.map +1 -0
  66. package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +4 -4
  67. package/dist/commonjs/funcs/schemasListDestinationTypes.d.ts.map +1 -0
  68. package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +10 -9
  69. package/dist/commonjs/funcs/schemasListDestinationTypes.js.map +1 -0
  70. package/dist/commonjs/funcs/tenantsDelete.d.ts +2 -2
  71. package/dist/commonjs/funcs/tenantsDelete.d.ts.map +1 -1
  72. package/dist/commonjs/funcs/tenantsDelete.js +20 -9
  73. package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
  74. package/dist/commonjs/funcs/tenantsGet.d.ts +2 -2
  75. package/dist/commonjs/funcs/tenantsGet.d.ts.map +1 -1
  76. package/dist/commonjs/funcs/tenantsGet.js +20 -9
  77. package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
  78. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts +3 -2
  79. package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  80. package/dist/commonjs/funcs/tenantsGetPortalUrl.js +22 -10
  81. package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
  82. package/dist/commonjs/funcs/tenantsGetToken.d.ts +3 -3
  83. package/dist/commonjs/funcs/tenantsGetToken.d.ts.map +1 -1
  84. package/dist/commonjs/funcs/tenantsGetToken.js +21 -10
  85. package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
  86. package/dist/commonjs/funcs/tenantsListTenants.d.ts +2 -3
  87. package/dist/commonjs/funcs/tenantsListTenants.d.ts.map +1 -1
  88. package/dist/commonjs/funcs/tenantsListTenants.js +17 -11
  89. package/dist/commonjs/funcs/tenantsListTenants.js.map +1 -1
  90. package/dist/commonjs/funcs/tenantsUpsert.d.ts +2 -2
  91. package/dist/commonjs/funcs/tenantsUpsert.d.ts.map +1 -1
  92. package/dist/commonjs/funcs/tenantsUpsert.js +21 -9
  93. package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
  94. package/dist/commonjs/funcs/topicsList.d.ts +4 -4
  95. package/dist/commonjs/funcs/topicsList.d.ts.map +1 -1
  96. package/dist/commonjs/funcs/topicsList.js +42 -24
  97. package/dist/commonjs/funcs/topicsList.js.map +1 -1
  98. package/dist/commonjs/lib/config.d.ts +5 -13
  99. package/dist/commonjs/lib/config.d.ts.map +1 -1
  100. package/dist/commonjs/lib/config.js +7 -3
  101. package/dist/commonjs/lib/config.js.map +1 -1
  102. package/dist/commonjs/lib/matchers.d.ts.map +1 -1
  103. package/dist/commonjs/lib/matchers.js +0 -1
  104. package/dist/commonjs/lib/matchers.js.map +1 -1
  105. package/dist/commonjs/lib/security.d.ts.map +1 -1
  106. package/dist/commonjs/lib/security.js +2 -9
  107. package/dist/commonjs/lib/security.js.map +1 -1
  108. package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
  109. package/dist/commonjs/mcp-server/cli/start/command.js +2 -18
  110. package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
  111. package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -3
  112. package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
  113. package/dist/commonjs/mcp-server/cli/start/impl.js +2 -10
  114. package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
  115. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  116. package/dist/commonjs/mcp-server/server.d.ts +1 -2
  117. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  118. package/dist/commonjs/mcp-server/server.js +18 -23
  119. package/dist/commonjs/mcp-server/server.js.map +1 -1
  120. package/dist/commonjs/mcp-server/shared.js +1 -1
  121. package/dist/commonjs/mcp-server/shared.js.map +1 -1
  122. package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts +10 -0
  123. package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts.map +1 -0
  124. package/dist/commonjs/mcp-server/tools/{eventsGetByDestination.js → attemptsGet.js} +15 -9
  125. package/dist/commonjs/mcp-server/tools/attemptsGet.js.map +1 -0
  126. package/dist/commonjs/mcp-server/tools/attemptsList.d.ts +8 -0
  127. package/dist/commonjs/mcp-server/tools/attemptsList.d.ts.map +1 -0
  128. package/dist/commonjs/mcp-server/tools/{schemasGet.js → attemptsList.js} +13 -9
  129. package/dist/commonjs/mcp-server/tools/attemptsList.js.map +1 -0
  130. package/dist/commonjs/mcp-server/tools/attemptsRetry.d.ts +8 -0
  131. package/dist/commonjs/mcp-server/tools/attemptsRetry.d.ts.map +1 -0
  132. package/dist/commonjs/mcp-server/tools/attemptsRetry.js +68 -0
  133. package/dist/commonjs/mcp-server/tools/attemptsRetry.js.map +1 -0
  134. package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts +4 -2
  135. package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
  136. package/dist/commonjs/mcp-server/tools/destinationsCreate.js +5 -3
  137. package/dist/commonjs/mcp-server/tools/destinationsCreate.js.map +1 -1
  138. package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts +3 -2
  139. package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
  140. package/dist/commonjs/mcp-server/tools/destinationsDelete.js +4 -3
  141. package/dist/commonjs/mcp-server/tools/destinationsDelete.js.map +1 -1
  142. package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts +3 -2
  143. package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
  144. package/dist/commonjs/mcp-server/tools/destinationsDisable.js +4 -3
  145. package/dist/commonjs/mcp-server/tools/destinationsDisable.js.map +1 -1
  146. package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts +3 -2
  147. package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
  148. package/dist/commonjs/mcp-server/tools/destinationsEnable.js +4 -3
  149. package/dist/commonjs/mcp-server/tools/destinationsEnable.js.map +1 -1
  150. package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts +3 -2
  151. package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts.map +1 -1
  152. package/dist/commonjs/mcp-server/tools/destinationsGet.js +4 -3
  153. package/dist/commonjs/mcp-server/tools/destinationsGet.js.map +1 -1
  154. package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts +12 -0
  155. package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
  156. package/dist/commonjs/mcp-server/tools/{eventsListDeliveries.js → destinationsGetAttempt.js} +14 -9
  157. package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.js.map +1 -0
  158. package/dist/commonjs/mcp-server/tools/destinationsList.d.ts +4 -1
  159. package/dist/commonjs/mcp-server/tools/destinationsList.d.ts.map +1 -1
  160. package/dist/commonjs/mcp-server/tools/destinationsList.js +5 -2
  161. package/dist/commonjs/mcp-server/tools/destinationsList.js.map +1 -1
  162. package/dist/commonjs/mcp-server/tools/destinationsListAttempts.d.ts +8 -0
  163. package/dist/commonjs/mcp-server/tools/destinationsListAttempts.d.ts.map +1 -0
  164. package/dist/commonjs/mcp-server/tools/{eventsListByDestination.js → destinationsListAttempts.js} +9 -9
  165. package/dist/commonjs/mcp-server/tools/destinationsListAttempts.js.map +1 -0
  166. package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts +5 -2
  167. package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
  168. package/dist/commonjs/mcp-server/tools/destinationsUpdate.js +6 -3
  169. package/dist/commonjs/mcp-server/tools/destinationsUpdate.js.map +1 -1
  170. package/dist/commonjs/mcp-server/tools/eventsGet.d.ts +2 -2
  171. package/dist/commonjs/mcp-server/tools/eventsGet.d.ts.map +1 -1
  172. package/dist/commonjs/mcp-server/tools/eventsGet.js +8 -4
  173. package/dist/commonjs/mcp-server/tools/eventsGet.js.map +1 -1
  174. package/dist/commonjs/mcp-server/tools/eventsList.d.ts +1 -1
  175. package/dist/commonjs/mcp-server/tools/eventsList.d.ts.map +1 -1
  176. package/dist/commonjs/mcp-server/tools/eventsList.js +6 -2
  177. package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
  178. package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
  179. package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
  180. package/dist/commonjs/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +7 -7
  181. package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
  182. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
  183. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
  184. package/dist/commonjs/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +8 -8
  185. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
  186. package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts +2 -2
  187. package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
  188. package/dist/commonjs/mcp-server/tools/tenantsDelete.js +3 -3
  189. package/dist/commonjs/mcp-server/tools/tenantsDelete.js.map +1 -1
  190. package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts +2 -2
  191. package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts.map +1 -1
  192. package/dist/commonjs/mcp-server/tools/tenantsGet.js +3 -3
  193. package/dist/commonjs/mcp-server/tools/tenantsGet.js.map +1 -1
  194. package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
  195. package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
  196. package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
  197. package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
  198. package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts +2 -2
  199. package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
  200. package/dist/commonjs/mcp-server/tools/tenantsGetToken.js +4 -4
  201. package/dist/commonjs/mcp-server/tools/tenantsGetToken.js.map +1 -1
  202. package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts +8 -2
  203. package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
  204. package/dist/commonjs/mcp-server/tools/tenantsListTenants.js +7 -4
  205. package/dist/commonjs/mcp-server/tools/tenantsListTenants.js.map +1 -1
  206. package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts +4 -2
  207. package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
  208. package/dist/commonjs/mcp-server/tools/tenantsUpsert.js +5 -3
  209. package/dist/commonjs/mcp-server/tools/tenantsUpsert.js.map +1 -1
  210. package/dist/commonjs/mcp-server/tools/topicsList.d.ts +1 -6
  211. package/dist/commonjs/mcp-server/tools/topicsList.d.ts.map +1 -1
  212. package/dist/commonjs/mcp-server/tools/topicsList.js +4 -42
  213. package/dist/commonjs/mcp-server/tools/topicsList.js.map +1 -1
  214. package/dist/commonjs/models/components/attempt.d.ts +107 -0
  215. package/dist/commonjs/models/components/attempt.d.ts.map +1 -0
  216. package/dist/commonjs/models/components/attempt.js +124 -0
  217. package/dist/commonjs/models/components/attempt.js.map +1 -0
  218. package/dist/commonjs/models/components/attemptpaginatedresult.d.ts +30 -0
  219. package/dist/commonjs/models/components/attemptpaginatedresult.d.ts.map +1 -0
  220. package/dist/commonjs/models/components/attemptpaginatedresult.js +62 -0
  221. package/dist/commonjs/models/components/attemptpaginatedresult.js.map +1 -0
  222. package/dist/commonjs/models/components/destinationawskinesis.d.ts +1 -1
  223. package/dist/commonjs/models/components/destinationawss3.d.ts +1 -1
  224. package/dist/commonjs/models/components/destinationawssqs.d.ts +1 -1
  225. package/dist/commonjs/models/components/destinationazureservicebus.d.ts +1 -1
  226. package/dist/commonjs/models/components/destinationcreateawskinesis.d.ts +1 -1
  227. package/dist/commonjs/models/components/destinationcreateawss3.d.ts +1 -1
  228. package/dist/commonjs/models/components/destinationcreateawssqs.d.ts +1 -1
  229. package/dist/commonjs/models/components/destinationcreateazureservicebus.d.ts +1 -1
  230. package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts +1 -1
  231. package/dist/commonjs/models/components/destinationcreatehookdeck.d.ts +1 -1
  232. package/dist/commonjs/models/components/destinationcreaterabbitmq.d.ts +1 -1
  233. package/dist/commonjs/models/components/destinationcreatewebhook.d.ts +1 -1
  234. package/dist/commonjs/models/components/destinationgcppubsub.d.ts +1 -1
  235. package/dist/commonjs/models/components/destinationhookdeck.d.ts +1 -1
  236. package/dist/commonjs/models/components/destinationrabbitmq.d.ts +1 -1
  237. package/dist/commonjs/models/components/destinationupdateawskinesis.d.ts +1 -1
  238. package/dist/commonjs/models/components/destinationupdateawss3.d.ts +1 -1
  239. package/dist/commonjs/models/components/destinationupdateawssqs.d.ts +1 -1
  240. package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts +1 -1
  241. package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts +1 -1
  242. package/dist/commonjs/models/components/destinationupdatehookdeck.d.ts +1 -1
  243. package/dist/commonjs/models/components/destinationupdaterabbitmq.d.ts +1 -1
  244. package/dist/commonjs/models/components/destinationupdatewebhook.d.ts +1 -1
  245. package/dist/commonjs/models/components/destinationwebhook.d.ts +1 -1
  246. package/dist/commonjs/models/components/event.d.ts +5 -17
  247. package/dist/commonjs/models/components/event.d.ts.map +1 -1
  248. package/dist/commonjs/models/components/event.js +5 -16
  249. package/dist/commonjs/models/components/event.js.map +1 -1
  250. package/dist/commonjs/models/components/eventfull.d.ts +57 -0
  251. package/dist/commonjs/models/components/eventfull.d.ts.map +1 -0
  252. package/dist/commonjs/models/components/{tenantlistitem.js → eventfull.js} +29 -26
  253. package/dist/commonjs/models/components/eventfull.js.map +1 -0
  254. package/dist/commonjs/models/components/eventpaginatedresult.d.ts +30 -0
  255. package/dist/commonjs/models/components/eventpaginatedresult.d.ts.map +1 -0
  256. package/dist/commonjs/models/components/eventpaginatedresult.js +62 -0
  257. package/dist/commonjs/models/components/eventpaginatedresult.js.map +1 -0
  258. package/dist/commonjs/models/components/eventsummary.d.ts +48 -0
  259. package/dist/commonjs/models/components/eventsummary.d.ts.map +1 -0
  260. package/dist/commonjs/models/{operations/listtenanttopics.js → components/eventsummary.js} +27 -34
  261. package/dist/commonjs/models/components/eventsummary.js.map +1 -0
  262. package/dist/commonjs/models/components/index.d.ts +8 -3
  263. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  264. package/dist/commonjs/models/components/index.js +8 -3
  265. package/dist/commonjs/models/components/index.js.map +1 -1
  266. package/dist/commonjs/models/components/publishrequest.d.ts +5 -0
  267. package/dist/commonjs/models/components/publishrequest.d.ts.map +1 -1
  268. package/dist/commonjs/models/components/publishrequest.js +3 -0
  269. package/dist/commonjs/models/components/publishrequest.js.map +1 -1
  270. package/dist/commonjs/models/components/publishresponse.d.ts +5 -0
  271. package/dist/commonjs/models/components/publishresponse.d.ts.map +1 -1
  272. package/dist/commonjs/models/components/publishresponse.js +11 -0
  273. package/dist/commonjs/models/components/publishresponse.js.map +1 -1
  274. package/dist/commonjs/models/components/retryrequest.d.ts +28 -0
  275. package/dist/commonjs/models/components/retryrequest.d.ts.map +1 -0
  276. package/dist/commonjs/models/components/retryrequest.js +71 -0
  277. package/dist/commonjs/models/components/retryrequest.js.map +1 -0
  278. package/dist/commonjs/models/components/security.d.ts +2 -4
  279. package/dist/commonjs/models/components/security.d.ts.map +1 -1
  280. package/dist/commonjs/models/components/security.js +2 -15
  281. package/dist/commonjs/models/components/security.js.map +1 -1
  282. package/dist/commonjs/models/components/seekpagination.d.ts +59 -0
  283. package/dist/commonjs/models/components/seekpagination.d.ts.map +1 -0
  284. package/dist/commonjs/models/components/seekpagination.js +86 -0
  285. package/dist/commonjs/models/components/seekpagination.js.map +1 -0
  286. package/dist/commonjs/models/components/tenantpaginatedresult.d.ts +35 -0
  287. package/dist/commonjs/models/components/tenantpaginatedresult.d.ts.map +1 -0
  288. package/dist/commonjs/models/components/{tenantlistresponse.js → tenantpaginatedresult.js} +16 -17
  289. package/dist/commonjs/models/components/tenantpaginatedresult.js.map +1 -0
  290. package/dist/commonjs/models/errors/apierrorresponse.d.ts +74 -0
  291. package/dist/commonjs/models/errors/apierrorresponse.d.ts.map +1 -0
  292. package/dist/commonjs/models/errors/apierrorresponse.js +96 -0
  293. package/dist/commonjs/models/errors/apierrorresponse.js.map +1 -0
  294. package/dist/commonjs/models/errors/index.d.ts +1 -0
  295. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  296. package/dist/commonjs/models/errors/index.js +1 -0
  297. package/dist/commonjs/models/errors/index.js.map +1 -1
  298. package/dist/commonjs/models/errors/listtenants.d.ts +0 -27
  299. package/dist/commonjs/models/errors/listtenants.d.ts.map +1 -1
  300. package/dist/commonjs/models/errors/listtenants.js +1 -37
  301. package/dist/commonjs/models/errors/listtenants.js.map +1 -1
  302. package/dist/commonjs/models/operations/createtenantdestination.d.ts +2 -15
  303. package/dist/commonjs/models/operations/createtenantdestination.d.ts.map +1 -1
  304. package/dist/commonjs/models/operations/createtenantdestination.js +3 -27
  305. package/dist/commonjs/models/operations/createtenantdestination.js.map +1 -1
  306. package/dist/commonjs/models/operations/deletetenant.d.ts +2 -15
  307. package/dist/commonjs/models/operations/deletetenant.d.ts.map +1 -1
  308. package/dist/commonjs/models/operations/deletetenant.js +3 -27
  309. package/dist/commonjs/models/operations/deletetenant.js.map +1 -1
  310. package/dist/commonjs/models/operations/deletetenantdestination.d.ts +2 -15
  311. package/dist/commonjs/models/operations/deletetenantdestination.d.ts.map +1 -1
  312. package/dist/commonjs/models/operations/deletetenantdestination.js +3 -27
  313. package/dist/commonjs/models/operations/deletetenantdestination.js.map +1 -1
  314. package/dist/commonjs/models/operations/disabletenantdestination.d.ts +2 -15
  315. package/dist/commonjs/models/operations/disabletenantdestination.d.ts.map +1 -1
  316. package/dist/commonjs/models/operations/disabletenantdestination.js +3 -27
  317. package/dist/commonjs/models/operations/disabletenantdestination.js.map +1 -1
  318. package/dist/commonjs/models/operations/enabletenantdestination.d.ts +2 -15
  319. package/dist/commonjs/models/operations/enabletenantdestination.d.ts.map +1 -1
  320. package/dist/commonjs/models/operations/enabletenantdestination.js +3 -27
  321. package/dist/commonjs/models/operations/enabletenantdestination.js.map +1 -1
  322. package/dist/commonjs/models/operations/getattempt.d.ts +47 -0
  323. package/dist/commonjs/models/operations/getattempt.d.ts.map +1 -0
  324. package/dist/commonjs/models/operations/{gettenantevent.js → getattempt.js} +24 -38
  325. package/dist/commonjs/models/operations/getattempt.js.map +1 -0
  326. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +2 -0
  327. package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  328. package/dist/commonjs/models/operations/getdestinationtypeschema.js +2 -0
  329. package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
  330. package/dist/commonjs/models/operations/getevent.d.ts +20 -0
  331. package/dist/commonjs/models/operations/getevent.d.ts.map +1 -0
  332. package/dist/commonjs/{mcp-server/tools/eventsRetry.js → models/operations/getevent.js} +29 -25
  333. package/dist/commonjs/models/operations/getevent.js.map +1 -0
  334. package/dist/commonjs/models/operations/gettenant.d.ts +2 -15
  335. package/dist/commonjs/models/operations/gettenant.d.ts.map +1 -1
  336. package/dist/commonjs/models/operations/gettenant.js +3 -27
  337. package/dist/commonjs/models/operations/gettenant.js.map +1 -1
  338. package/dist/commonjs/models/operations/gettenantdestination.d.ts +2 -15
  339. package/dist/commonjs/models/operations/gettenantdestination.d.ts.map +1 -1
  340. package/dist/commonjs/models/operations/gettenantdestination.js +3 -27
  341. package/dist/commonjs/models/operations/gettenantdestination.js.map +1 -1
  342. package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts +57 -0
  343. package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
  344. package/dist/commonjs/models/operations/{retrytenantevent.js → gettenantdestinationattempt.js} +26 -36
  345. package/dist/commonjs/models/operations/gettenantdestinationattempt.js.map +1 -0
  346. package/dist/commonjs/models/operations/gettenantportalurl.d.ts +2 -15
  347. package/dist/commonjs/models/operations/gettenantportalurl.d.ts.map +1 -1
  348. package/dist/commonjs/models/operations/gettenantportalurl.js +3 -27
  349. package/dist/commonjs/models/operations/gettenantportalurl.js.map +1 -1
  350. package/dist/commonjs/models/operations/gettenanttoken.d.ts +2 -15
  351. package/dist/commonjs/models/operations/gettenanttoken.d.ts.map +1 -1
  352. package/dist/commonjs/models/operations/gettenanttoken.js +3 -27
  353. package/dist/commonjs/models/operations/gettenanttoken.js.map +1 -1
  354. package/dist/commonjs/models/operations/index.d.ts +6 -9
  355. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  356. package/dist/commonjs/models/operations/index.js +6 -9
  357. package/dist/commonjs/models/operations/index.js.map +1 -1
  358. package/dist/commonjs/models/operations/listattempts.d.ts +159 -0
  359. package/dist/commonjs/models/operations/listattempts.d.ts.map +1 -0
  360. package/dist/commonjs/models/operations/listattempts.js +159 -0
  361. package/dist/commonjs/models/operations/listattempts.js.map +1 -0
  362. package/dist/commonjs/models/operations/listevents.d.ts +102 -0
  363. package/dist/commonjs/models/operations/listevents.d.ts.map +1 -0
  364. package/dist/commonjs/models/operations/listevents.js +124 -0
  365. package/dist/commonjs/models/operations/listevents.js.map +1 -0
  366. package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts +159 -0
  367. package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
  368. package/dist/commonjs/models/operations/listtenantdestinationattempts.js +159 -0
  369. package/dist/commonjs/models/operations/listtenantdestinationattempts.js.map +1 -0
  370. package/dist/commonjs/models/operations/listtenantdestinations.d.ts +2 -15
  371. package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
  372. package/dist/commonjs/models/operations/listtenantdestinations.js +3 -27
  373. package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
  374. package/dist/commonjs/models/operations/listtenants.d.ts +9 -9
  375. package/dist/commonjs/models/operations/listtenants.d.ts.map +1 -1
  376. package/dist/commonjs/models/operations/listtenants.js +7 -7
  377. package/dist/commonjs/models/operations/listtenants.js.map +1 -1
  378. package/dist/commonjs/models/operations/updatetenantdestination.d.ts +2 -15
  379. package/dist/commonjs/models/operations/updatetenantdestination.d.ts.map +1 -1
  380. package/dist/commonjs/models/operations/updatetenantdestination.js +3 -27
  381. package/dist/commonjs/models/operations/updatetenantdestination.js.map +1 -1
  382. package/dist/commonjs/models/operations/upserttenant.d.ts +2 -15
  383. package/dist/commonjs/models/operations/upserttenant.d.ts.map +1 -1
  384. package/dist/commonjs/models/operations/upserttenant.js +3 -27
  385. package/dist/commonjs/models/operations/upserttenant.js.map +1 -1
  386. package/dist/commonjs/sdk/attempts.d.ts +36 -0
  387. package/dist/commonjs/sdk/attempts.d.ts.map +1 -0
  388. package/dist/commonjs/sdk/attempts.js +51 -0
  389. package/dist/commonjs/sdk/attempts.js.map +1 -0
  390. package/dist/commonjs/sdk/destinations.d.ts +21 -7
  391. package/dist/commonjs/sdk/destinations.d.ts.map +1 -1
  392. package/dist/commonjs/sdk/destinations.js +34 -14
  393. package/dist/commonjs/sdk/destinations.js.map +1 -1
  394. package/dist/commonjs/sdk/events.d.ts +8 -30
  395. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  396. package/dist/commonjs/sdk/events.js +8 -42
  397. package/dist/commonjs/sdk/events.js.map +1 -1
  398. package/dist/commonjs/sdk/schemas.d.ts +4 -18
  399. package/dist/commonjs/sdk/schemas.d.ts.map +1 -1
  400. package/dist/commonjs/sdk/schemas.js +8 -28
  401. package/dist/commonjs/sdk/schemas.js.map +1 -1
  402. package/dist/commonjs/sdk/sdk.d.ts +5 -2
  403. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  404. package/dist/commonjs/sdk/sdk.js +7 -3
  405. package/dist/commonjs/sdk/sdk.js.map +1 -1
  406. package/dist/commonjs/sdk/tenants.d.ts +9 -10
  407. package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
  408. package/dist/commonjs/sdk/tenants.js +15 -16
  409. package/dist/commonjs/sdk/tenants.js.map +1 -1
  410. package/dist/commonjs/sdk/topics.d.ts +2 -10
  411. package/dist/commonjs/sdk/topics.d.ts.map +1 -1
  412. package/dist/commonjs/sdk/topics.js +3 -13
  413. package/dist/commonjs/sdk/topics.js.map +1 -1
  414. package/dist/esm/funcs/attemptsGet.d.ts +22 -0
  415. package/dist/esm/funcs/attemptsGet.d.ts.map +1 -0
  416. package/dist/esm/funcs/{eventsGetByDestination.js → attemptsGet.js} +31 -20
  417. package/dist/esm/funcs/attemptsGet.js.map +1 -0
  418. package/dist/esm/funcs/attemptsList.d.ts +22 -0
  419. package/dist/esm/funcs/attemptsList.d.ts.map +1 -0
  420. package/dist/esm/funcs/{schemasListTenantDestinationTypes.js → attemptsList.js} +36 -16
  421. package/dist/esm/funcs/attemptsList.js.map +1 -0
  422. package/dist/esm/funcs/attemptsRetry.d.ts +21 -0
  423. package/dist/esm/funcs/attemptsRetry.d.ts.map +1 -0
  424. package/dist/esm/funcs/{eventsRetry.js → attemptsRetry.js} +23 -26
  425. package/dist/esm/funcs/attemptsRetry.js.map +1 -0
  426. package/dist/esm/funcs/destinationsCreate.d.ts +2 -2
  427. package/dist/esm/funcs/destinationsCreate.d.ts.map +1 -1
  428. package/dist/esm/funcs/destinationsCreate.js +21 -9
  429. package/dist/esm/funcs/destinationsCreate.js.map +1 -1
  430. package/dist/esm/funcs/destinationsDelete.d.ts +2 -2
  431. package/dist/esm/funcs/destinationsDelete.d.ts.map +1 -1
  432. package/dist/esm/funcs/destinationsDelete.js +21 -9
  433. package/dist/esm/funcs/destinationsDelete.js.map +1 -1
  434. package/dist/esm/funcs/destinationsDisable.d.ts +2 -2
  435. package/dist/esm/funcs/destinationsDisable.d.ts.map +1 -1
  436. package/dist/esm/funcs/destinationsDisable.js +21 -9
  437. package/dist/esm/funcs/destinationsDisable.js.map +1 -1
  438. package/dist/esm/funcs/destinationsEnable.d.ts +2 -2
  439. package/dist/esm/funcs/destinationsEnable.d.ts.map +1 -1
  440. package/dist/esm/funcs/destinationsEnable.js +21 -9
  441. package/dist/esm/funcs/destinationsEnable.js.map +1 -1
  442. package/dist/esm/funcs/destinationsGet.d.ts +2 -2
  443. package/dist/esm/funcs/destinationsGet.d.ts.map +1 -1
  444. package/dist/esm/funcs/destinationsGet.js +21 -9
  445. package/dist/esm/funcs/destinationsGet.js.map +1 -1
  446. package/dist/esm/funcs/destinationsGetAttempt.d.ts +19 -0
  447. package/dist/esm/funcs/destinationsGetAttempt.d.ts.map +1 -0
  448. package/dist/esm/funcs/destinationsGetAttempt.js +106 -0
  449. package/dist/esm/funcs/destinationsGetAttempt.js.map +1 -0
  450. package/dist/esm/funcs/destinationsList.d.ts +2 -1
  451. package/dist/esm/funcs/destinationsList.d.ts.map +1 -1
  452. package/dist/esm/funcs/destinationsList.js +22 -9
  453. package/dist/esm/funcs/destinationsList.js.map +1 -1
  454. package/dist/{commonjs/funcs/eventsListDeliveries.d.ts → esm/funcs/destinationsListAttempts.d.ts} +5 -4
  455. package/dist/esm/funcs/destinationsListAttempts.d.ts.map +1 -0
  456. package/dist/esm/funcs/{eventsListByDestination.js → destinationsListAttempts.js} +28 -14
  457. package/dist/esm/funcs/destinationsListAttempts.js.map +1 -0
  458. package/dist/esm/funcs/destinationsUpdate.d.ts +3 -1
  459. package/dist/esm/funcs/destinationsUpdate.d.ts.map +1 -1
  460. package/dist/esm/funcs/destinationsUpdate.js +22 -9
  461. package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
  462. package/dist/esm/funcs/eventsGet.d.ts +5 -2
  463. package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
  464. package/dist/esm/funcs/eventsGet.js +21 -11
  465. package/dist/esm/funcs/eventsGet.js.map +1 -1
  466. package/dist/esm/funcs/eventsList.d.ts +7 -2
  467. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  468. package/dist/esm/funcs/eventsList.js +24 -16
  469. package/dist/esm/funcs/eventsList.js.map +1 -1
  470. package/dist/esm/funcs/publishEvent.js +4 -4
  471. package/dist/esm/funcs/publishEvent.js.map +1 -1
  472. package/dist/{commonjs/funcs/schemasGetDestinationTypeJwt.d.ts → esm/funcs/schemasGetDestinationType.d.ts} +2 -2
  473. package/dist/esm/funcs/schemasGetDestinationType.d.ts.map +1 -0
  474. package/dist/esm/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +12 -8
  475. package/dist/esm/funcs/schemasGetDestinationType.js.map +1 -0
  476. package/dist/esm/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +4 -4
  477. package/dist/esm/funcs/schemasListDestinationTypes.d.ts.map +1 -0
  478. package/dist/esm/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +9 -8
  479. package/dist/esm/funcs/schemasListDestinationTypes.js.map +1 -0
  480. package/dist/esm/funcs/tenantsDelete.d.ts +2 -2
  481. package/dist/esm/funcs/tenantsDelete.d.ts.map +1 -1
  482. package/dist/esm/funcs/tenantsDelete.js +20 -9
  483. package/dist/esm/funcs/tenantsDelete.js.map +1 -1
  484. package/dist/esm/funcs/tenantsGet.d.ts +2 -2
  485. package/dist/esm/funcs/tenantsGet.d.ts.map +1 -1
  486. package/dist/esm/funcs/tenantsGet.js +20 -9
  487. package/dist/esm/funcs/tenantsGet.js.map +1 -1
  488. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts +3 -2
  489. package/dist/esm/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
  490. package/dist/esm/funcs/tenantsGetPortalUrl.js +22 -10
  491. package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
  492. package/dist/esm/funcs/tenantsGetToken.d.ts +3 -3
  493. package/dist/esm/funcs/tenantsGetToken.d.ts.map +1 -1
  494. package/dist/esm/funcs/tenantsGetToken.js +21 -10
  495. package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
  496. package/dist/esm/funcs/tenantsListTenants.d.ts +2 -3
  497. package/dist/esm/funcs/tenantsListTenants.d.ts.map +1 -1
  498. package/dist/esm/funcs/tenantsListTenants.js +17 -11
  499. package/dist/esm/funcs/tenantsListTenants.js.map +1 -1
  500. package/dist/esm/funcs/tenantsUpsert.d.ts +2 -2
  501. package/dist/esm/funcs/tenantsUpsert.d.ts.map +1 -1
  502. package/dist/esm/funcs/tenantsUpsert.js +21 -9
  503. package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
  504. package/dist/esm/funcs/topicsList.d.ts +4 -4
  505. package/dist/esm/funcs/topicsList.d.ts.map +1 -1
  506. package/dist/esm/funcs/topicsList.js +42 -24
  507. package/dist/esm/funcs/topicsList.js.map +1 -1
  508. package/dist/esm/lib/config.d.ts +5 -13
  509. package/dist/esm/lib/config.d.ts.map +1 -1
  510. package/dist/esm/lib/config.js +7 -3
  511. package/dist/esm/lib/config.js.map +1 -1
  512. package/dist/esm/lib/matchers.d.ts.map +1 -1
  513. package/dist/esm/lib/matchers.js +0 -1
  514. package/dist/esm/lib/matchers.js.map +1 -1
  515. package/dist/esm/lib/security.d.ts.map +1 -1
  516. package/dist/esm/lib/security.js +2 -9
  517. package/dist/esm/lib/security.js.map +1 -1
  518. package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
  519. package/dist/esm/mcp-server/cli/start/command.js +2 -18
  520. package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
  521. package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -3
  522. package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
  523. package/dist/esm/mcp-server/cli/start/impl.js +2 -10
  524. package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
  525. package/dist/esm/mcp-server/mcp-server.js +1 -1
  526. package/dist/esm/mcp-server/server.d.ts +1 -2
  527. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  528. package/dist/esm/mcp-server/server.js +18 -23
  529. package/dist/esm/mcp-server/server.js.map +1 -1
  530. package/dist/esm/mcp-server/shared.js +1 -1
  531. package/dist/esm/mcp-server/shared.js.map +1 -1
  532. package/dist/esm/mcp-server/tools/attemptsGet.d.ts +10 -0
  533. package/dist/esm/mcp-server/tools/attemptsGet.d.ts.map +1 -0
  534. package/dist/esm/mcp-server/tools/attemptsGet.js +34 -0
  535. package/dist/esm/mcp-server/tools/attemptsGet.js.map +1 -0
  536. package/dist/esm/mcp-server/tools/attemptsList.d.ts +8 -0
  537. package/dist/esm/mcp-server/tools/attemptsList.d.ts.map +1 -0
  538. package/dist/esm/mcp-server/tools/attemptsList.js +32 -0
  539. package/dist/esm/mcp-server/tools/attemptsList.js.map +1 -0
  540. package/dist/esm/mcp-server/tools/attemptsRetry.d.ts +8 -0
  541. package/dist/esm/mcp-server/tools/attemptsRetry.d.ts.map +1 -0
  542. package/dist/esm/mcp-server/tools/attemptsRetry.js +32 -0
  543. package/dist/esm/mcp-server/tools/attemptsRetry.js.map +1 -0
  544. package/dist/esm/mcp-server/tools/destinationsCreate.d.ts +4 -2
  545. package/dist/esm/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
  546. package/dist/esm/mcp-server/tools/destinationsCreate.js +5 -3
  547. package/dist/esm/mcp-server/tools/destinationsCreate.js.map +1 -1
  548. package/dist/esm/mcp-server/tools/destinationsDelete.d.ts +3 -2
  549. package/dist/esm/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
  550. package/dist/esm/mcp-server/tools/destinationsDelete.js +4 -3
  551. package/dist/esm/mcp-server/tools/destinationsDelete.js.map +1 -1
  552. package/dist/esm/mcp-server/tools/destinationsDisable.d.ts +3 -2
  553. package/dist/esm/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
  554. package/dist/esm/mcp-server/tools/destinationsDisable.js +4 -3
  555. package/dist/esm/mcp-server/tools/destinationsDisable.js.map +1 -1
  556. package/dist/esm/mcp-server/tools/destinationsEnable.d.ts +3 -2
  557. package/dist/esm/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
  558. package/dist/esm/mcp-server/tools/destinationsEnable.js +4 -3
  559. package/dist/esm/mcp-server/tools/destinationsEnable.js.map +1 -1
  560. package/dist/esm/mcp-server/tools/destinationsGet.d.ts +3 -2
  561. package/dist/esm/mcp-server/tools/destinationsGet.d.ts.map +1 -1
  562. package/dist/esm/mcp-server/tools/destinationsGet.js +4 -3
  563. package/dist/esm/mcp-server/tools/destinationsGet.js.map +1 -1
  564. package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts +12 -0
  565. package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
  566. package/dist/esm/mcp-server/tools/destinationsGetAttempt.js +33 -0
  567. package/dist/esm/mcp-server/tools/destinationsGetAttempt.js.map +1 -0
  568. package/dist/esm/mcp-server/tools/destinationsList.d.ts +4 -1
  569. package/dist/esm/mcp-server/tools/destinationsList.d.ts.map +1 -1
  570. package/dist/esm/mcp-server/tools/destinationsList.js +5 -2
  571. package/dist/esm/mcp-server/tools/destinationsList.js.map +1 -1
  572. package/dist/esm/mcp-server/tools/destinationsListAttempts.d.ts +8 -0
  573. package/dist/esm/mcp-server/tools/destinationsListAttempts.d.ts.map +1 -0
  574. package/dist/esm/mcp-server/tools/destinationsListAttempts.js +28 -0
  575. package/dist/esm/mcp-server/tools/destinationsListAttempts.js.map +1 -0
  576. package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts +5 -2
  577. package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
  578. package/dist/esm/mcp-server/tools/destinationsUpdate.js +6 -3
  579. package/dist/esm/mcp-server/tools/destinationsUpdate.js.map +1 -1
  580. package/dist/esm/mcp-server/tools/eventsGet.d.ts +2 -2
  581. package/dist/esm/mcp-server/tools/eventsGet.d.ts.map +1 -1
  582. package/dist/esm/mcp-server/tools/eventsGet.js +8 -4
  583. package/dist/esm/mcp-server/tools/eventsGet.js.map +1 -1
  584. package/dist/esm/mcp-server/tools/eventsList.d.ts +1 -1
  585. package/dist/esm/mcp-server/tools/eventsList.d.ts.map +1 -1
  586. package/dist/esm/mcp-server/tools/eventsList.js +6 -2
  587. package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
  588. package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
  589. package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
  590. package/dist/esm/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +6 -6
  591. package/dist/esm/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
  592. package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
  593. package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
  594. package/dist/esm/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +7 -7
  595. package/dist/esm/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
  596. package/dist/esm/mcp-server/tools/tenantsDelete.d.ts +2 -2
  597. package/dist/esm/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
  598. package/dist/esm/mcp-server/tools/tenantsDelete.js +3 -3
  599. package/dist/esm/mcp-server/tools/tenantsDelete.js.map +1 -1
  600. package/dist/esm/mcp-server/tools/tenantsGet.d.ts +2 -2
  601. package/dist/esm/mcp-server/tools/tenantsGet.d.ts.map +1 -1
  602. package/dist/esm/mcp-server/tools/tenantsGet.js +3 -3
  603. package/dist/esm/mcp-server/tools/tenantsGet.js.map +1 -1
  604. package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
  605. package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
  606. package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
  607. package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
  608. package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts +2 -2
  609. package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
  610. package/dist/esm/mcp-server/tools/tenantsGetToken.js +4 -4
  611. package/dist/esm/mcp-server/tools/tenantsGetToken.js.map +1 -1
  612. package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts +8 -2
  613. package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
  614. package/dist/esm/mcp-server/tools/tenantsListTenants.js +7 -4
  615. package/dist/esm/mcp-server/tools/tenantsListTenants.js.map +1 -1
  616. package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts +4 -2
  617. package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
  618. package/dist/esm/mcp-server/tools/tenantsUpsert.js +5 -3
  619. package/dist/esm/mcp-server/tools/tenantsUpsert.js.map +1 -1
  620. package/dist/esm/mcp-server/tools/topicsList.d.ts +1 -6
  621. package/dist/esm/mcp-server/tools/topicsList.d.ts.map +1 -1
  622. package/dist/esm/mcp-server/tools/topicsList.js +4 -9
  623. package/dist/esm/mcp-server/tools/topicsList.js.map +1 -1
  624. package/dist/esm/models/components/attempt.d.ts +107 -0
  625. package/dist/esm/models/components/attempt.d.ts.map +1 -0
  626. package/dist/esm/models/components/attempt.js +84 -0
  627. package/dist/esm/models/components/attempt.js.map +1 -0
  628. package/dist/esm/models/components/attemptpaginatedresult.d.ts +30 -0
  629. package/dist/esm/models/components/attemptpaginatedresult.d.ts.map +1 -0
  630. package/dist/esm/models/components/attemptpaginatedresult.js +24 -0
  631. package/dist/esm/models/components/attemptpaginatedresult.js.map +1 -0
  632. package/dist/esm/models/components/destinationawskinesis.d.ts +1 -1
  633. package/dist/esm/models/components/destinationawss3.d.ts +1 -1
  634. package/dist/esm/models/components/destinationawssqs.d.ts +1 -1
  635. package/dist/esm/models/components/destinationazureservicebus.d.ts +1 -1
  636. package/dist/esm/models/components/destinationcreateawskinesis.d.ts +1 -1
  637. package/dist/esm/models/components/destinationcreateawss3.d.ts +1 -1
  638. package/dist/esm/models/components/destinationcreateawssqs.d.ts +1 -1
  639. package/dist/esm/models/components/destinationcreateazureservicebus.d.ts +1 -1
  640. package/dist/esm/models/components/destinationcreategcppubsub.d.ts +1 -1
  641. package/dist/esm/models/components/destinationcreatehookdeck.d.ts +1 -1
  642. package/dist/esm/models/components/destinationcreaterabbitmq.d.ts +1 -1
  643. package/dist/esm/models/components/destinationcreatewebhook.d.ts +1 -1
  644. package/dist/esm/models/components/destinationgcppubsub.d.ts +1 -1
  645. package/dist/esm/models/components/destinationhookdeck.d.ts +1 -1
  646. package/dist/esm/models/components/destinationrabbitmq.d.ts +1 -1
  647. package/dist/esm/models/components/destinationupdateawskinesis.d.ts +1 -1
  648. package/dist/esm/models/components/destinationupdateawss3.d.ts +1 -1
  649. package/dist/esm/models/components/destinationupdateawssqs.d.ts +1 -1
  650. package/dist/esm/models/components/destinationupdateazureservicebus.d.ts +1 -1
  651. package/dist/esm/models/components/destinationupdategcppubsub.d.ts +1 -1
  652. package/dist/esm/models/components/destinationupdatehookdeck.d.ts +1 -1
  653. package/dist/esm/models/components/destinationupdaterabbitmq.d.ts +1 -1
  654. package/dist/esm/models/components/destinationupdatewebhook.d.ts +1 -1
  655. package/dist/esm/models/components/destinationwebhook.d.ts +1 -1
  656. package/dist/esm/models/components/event.d.ts +5 -17
  657. package/dist/esm/models/components/event.d.ts.map +1 -1
  658. package/dist/esm/models/components/event.js +4 -15
  659. package/dist/esm/models/components/event.js.map +1 -1
  660. package/dist/esm/models/components/eventfull.d.ts +57 -0
  661. package/dist/esm/models/components/eventfull.d.ts.map +1 -0
  662. package/dist/esm/models/components/eventfull.js +48 -0
  663. package/dist/esm/models/components/eventfull.js.map +1 -0
  664. package/dist/esm/models/components/eventpaginatedresult.d.ts +30 -0
  665. package/dist/esm/models/components/eventpaginatedresult.d.ts.map +1 -0
  666. package/dist/esm/models/components/eventpaginatedresult.js +24 -0
  667. package/dist/esm/models/components/eventpaginatedresult.js.map +1 -0
  668. package/dist/esm/models/components/eventsummary.d.ts +48 -0
  669. package/dist/esm/models/components/eventsummary.d.ts.map +1 -0
  670. package/dist/esm/models/components/eventsummary.js +46 -0
  671. package/dist/esm/models/components/eventsummary.js.map +1 -0
  672. package/dist/esm/models/components/index.d.ts +8 -3
  673. package/dist/esm/models/components/index.d.ts.map +1 -1
  674. package/dist/esm/models/components/index.js +8 -3
  675. package/dist/esm/models/components/index.js.map +1 -1
  676. package/dist/esm/models/components/publishrequest.d.ts +5 -0
  677. package/dist/esm/models/components/publishrequest.d.ts.map +1 -1
  678. package/dist/esm/models/components/publishrequest.js +3 -0
  679. package/dist/esm/models/components/publishrequest.js.map +1 -1
  680. package/dist/esm/models/components/publishresponse.d.ts +5 -0
  681. package/dist/esm/models/components/publishresponse.d.ts.map +1 -1
  682. package/dist/esm/models/components/publishresponse.js +11 -0
  683. package/dist/esm/models/components/publishresponse.js.map +1 -1
  684. package/dist/esm/models/components/retryrequest.d.ts +28 -0
  685. package/dist/esm/models/components/retryrequest.d.ts.map +1 -0
  686. package/dist/esm/models/components/retryrequest.js +33 -0
  687. package/dist/esm/models/components/retryrequest.js.map +1 -0
  688. package/dist/esm/models/components/security.d.ts +2 -4
  689. package/dist/esm/models/components/security.d.ts.map +1 -1
  690. package/dist/esm/models/components/security.js +2 -15
  691. package/dist/esm/models/components/security.js.map +1 -1
  692. package/dist/esm/models/components/seekpagination.d.ts +59 -0
  693. package/dist/esm/models/components/seekpagination.d.ts.map +1 -0
  694. package/dist/esm/models/components/seekpagination.js +48 -0
  695. package/dist/esm/models/components/seekpagination.js.map +1 -0
  696. package/dist/esm/models/components/tenantpaginatedresult.d.ts +35 -0
  697. package/dist/esm/models/components/tenantpaginatedresult.d.ts.map +1 -0
  698. package/dist/esm/models/components/tenantpaginatedresult.js +26 -0
  699. package/dist/esm/models/components/tenantpaginatedresult.js.map +1 -0
  700. package/dist/esm/models/errors/apierrorresponse.d.ts +74 -0
  701. package/dist/esm/models/errors/apierrorresponse.d.ts.map +1 -0
  702. package/dist/esm/models/errors/apierrorresponse.js +57 -0
  703. package/dist/esm/models/errors/apierrorresponse.js.map +1 -0
  704. package/dist/esm/models/errors/index.d.ts +1 -0
  705. package/dist/esm/models/errors/index.d.ts.map +1 -1
  706. package/dist/esm/models/errors/index.js +1 -0
  707. package/dist/esm/models/errors/index.js.map +1 -1
  708. package/dist/esm/models/errors/listtenants.d.ts +0 -27
  709. package/dist/esm/models/errors/listtenants.d.ts.map +1 -1
  710. package/dist/esm/models/errors/listtenants.js +0 -35
  711. package/dist/esm/models/errors/listtenants.js.map +1 -1
  712. package/dist/esm/models/operations/createtenantdestination.d.ts +2 -15
  713. package/dist/esm/models/operations/createtenantdestination.d.ts.map +1 -1
  714. package/dist/esm/models/operations/createtenantdestination.js +2 -24
  715. package/dist/esm/models/operations/createtenantdestination.js.map +1 -1
  716. package/dist/esm/models/operations/deletetenant.d.ts +2 -15
  717. package/dist/esm/models/operations/deletetenant.d.ts.map +1 -1
  718. package/dist/esm/models/operations/deletetenant.js +2 -24
  719. package/dist/esm/models/operations/deletetenant.js.map +1 -1
  720. package/dist/esm/models/operations/deletetenantdestination.d.ts +2 -15
  721. package/dist/esm/models/operations/deletetenantdestination.d.ts.map +1 -1
  722. package/dist/esm/models/operations/deletetenantdestination.js +2 -24
  723. package/dist/esm/models/operations/deletetenantdestination.js.map +1 -1
  724. package/dist/esm/models/operations/disabletenantdestination.d.ts +2 -15
  725. package/dist/esm/models/operations/disabletenantdestination.d.ts.map +1 -1
  726. package/dist/esm/models/operations/disabletenantdestination.js +2 -24
  727. package/dist/esm/models/operations/disabletenantdestination.js.map +1 -1
  728. package/dist/esm/models/operations/enabletenantdestination.d.ts +2 -15
  729. package/dist/esm/models/operations/enabletenantdestination.d.ts.map +1 -1
  730. package/dist/esm/models/operations/enabletenantdestination.js +2 -24
  731. package/dist/esm/models/operations/enabletenantdestination.js.map +1 -1
  732. package/dist/esm/models/operations/getattempt.d.ts +47 -0
  733. package/dist/esm/models/operations/getattempt.d.ts.map +1 -0
  734. package/dist/esm/models/operations/getattempt.js +41 -0
  735. package/dist/esm/models/operations/getattempt.js.map +1 -0
  736. package/dist/esm/models/operations/getdestinationtypeschema.d.ts +2 -0
  737. package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
  738. package/dist/esm/models/operations/getdestinationtypeschema.js +2 -0
  739. package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
  740. package/dist/esm/models/operations/getevent.d.ts +20 -0
  741. package/dist/esm/models/operations/getevent.d.ts.map +1 -0
  742. package/dist/esm/models/operations/getevent.js +29 -0
  743. package/dist/esm/models/operations/getevent.js.map +1 -0
  744. package/dist/esm/models/operations/gettenant.d.ts +2 -15
  745. package/dist/esm/models/operations/gettenant.d.ts.map +1 -1
  746. package/dist/esm/models/operations/gettenant.js +2 -24
  747. package/dist/esm/models/operations/gettenant.js.map +1 -1
  748. package/dist/esm/models/operations/gettenantdestination.d.ts +2 -15
  749. package/dist/esm/models/operations/gettenantdestination.d.ts.map +1 -1
  750. package/dist/esm/models/operations/gettenantdestination.js +2 -24
  751. package/dist/esm/models/operations/gettenantdestination.js.map +1 -1
  752. package/dist/esm/models/operations/gettenantdestinationattempt.d.ts +57 -0
  753. package/dist/esm/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
  754. package/dist/esm/models/operations/gettenantdestinationattempt.js +49 -0
  755. package/dist/esm/models/operations/gettenantdestinationattempt.js.map +1 -0
  756. package/dist/esm/models/operations/gettenantportalurl.d.ts +2 -15
  757. package/dist/esm/models/operations/gettenantportalurl.d.ts.map +1 -1
  758. package/dist/esm/models/operations/gettenantportalurl.js +2 -24
  759. package/dist/esm/models/operations/gettenantportalurl.js.map +1 -1
  760. package/dist/esm/models/operations/gettenanttoken.d.ts +2 -15
  761. package/dist/esm/models/operations/gettenanttoken.d.ts.map +1 -1
  762. package/dist/esm/models/operations/gettenanttoken.js +2 -24
  763. package/dist/esm/models/operations/gettenanttoken.js.map +1 -1
  764. package/dist/esm/models/operations/index.d.ts +6 -9
  765. package/dist/esm/models/operations/index.d.ts.map +1 -1
  766. package/dist/esm/models/operations/index.js +6 -9
  767. package/dist/esm/models/operations/index.js.map +1 -1
  768. package/dist/esm/models/operations/listattempts.d.ts +159 -0
  769. package/dist/esm/models/operations/listattempts.d.ts.map +1 -0
  770. package/dist/esm/models/operations/listattempts.js +117 -0
  771. package/dist/esm/models/operations/listattempts.js.map +1 -0
  772. package/dist/esm/models/operations/listevents.d.ts +102 -0
  773. package/dist/esm/models/operations/listevents.d.ts.map +1 -0
  774. package/dist/esm/models/operations/listevents.js +84 -0
  775. package/dist/esm/models/operations/listevents.js.map +1 -0
  776. package/dist/esm/models/operations/listtenantdestinationattempts.d.ts +159 -0
  777. package/dist/esm/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
  778. package/dist/esm/models/operations/listtenantdestinationattempts.js +117 -0
  779. package/dist/esm/models/operations/listtenantdestinationattempts.js.map +1 -0
  780. package/dist/esm/models/operations/listtenantdestinations.d.ts +2 -15
  781. package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
  782. package/dist/esm/models/operations/listtenantdestinations.js +2 -24
  783. package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
  784. package/dist/esm/models/operations/listtenants.d.ts +9 -9
  785. package/dist/esm/models/operations/listtenants.d.ts.map +1 -1
  786. package/dist/esm/models/operations/listtenants.js +6 -6
  787. package/dist/esm/models/operations/listtenants.js.map +1 -1
  788. package/dist/esm/models/operations/updatetenantdestination.d.ts +2 -15
  789. package/dist/esm/models/operations/updatetenantdestination.d.ts.map +1 -1
  790. package/dist/esm/models/operations/updatetenantdestination.js +2 -24
  791. package/dist/esm/models/operations/updatetenantdestination.js.map +1 -1
  792. package/dist/esm/models/operations/upserttenant.d.ts +2 -15
  793. package/dist/esm/models/operations/upserttenant.d.ts.map +1 -1
  794. package/dist/esm/models/operations/upserttenant.js +2 -24
  795. package/dist/esm/models/operations/upserttenant.js.map +1 -1
  796. package/dist/esm/sdk/attempts.d.ts +36 -0
  797. package/dist/esm/sdk/attempts.d.ts.map +1 -0
  798. package/dist/esm/sdk/attempts.js +47 -0
  799. package/dist/esm/sdk/attempts.js.map +1 -0
  800. package/dist/esm/sdk/destinations.d.ts +21 -7
  801. package/dist/esm/sdk/destinations.d.ts.map +1 -1
  802. package/dist/esm/sdk/destinations.js +34 -14
  803. package/dist/esm/sdk/destinations.js.map +1 -1
  804. package/dist/esm/sdk/events.d.ts +8 -30
  805. package/dist/esm/sdk/events.d.ts.map +1 -1
  806. package/dist/esm/sdk/events.js +8 -42
  807. package/dist/esm/sdk/events.js.map +1 -1
  808. package/dist/esm/sdk/schemas.d.ts +4 -18
  809. package/dist/esm/sdk/schemas.d.ts.map +1 -1
  810. package/dist/esm/sdk/schemas.js +8 -28
  811. package/dist/esm/sdk/schemas.js.map +1 -1
  812. package/dist/esm/sdk/sdk.d.ts +5 -2
  813. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  814. package/dist/esm/sdk/sdk.js +7 -3
  815. package/dist/esm/sdk/sdk.js.map +1 -1
  816. package/dist/esm/sdk/tenants.d.ts +9 -10
  817. package/dist/esm/sdk/tenants.d.ts.map +1 -1
  818. package/dist/esm/sdk/tenants.js +15 -16
  819. package/dist/esm/sdk/tenants.js.map +1 -1
  820. package/dist/esm/sdk/topics.d.ts +2 -10
  821. package/dist/esm/sdk/topics.d.ts.map +1 -1
  822. package/dist/esm/sdk/topics.js +3 -13
  823. package/dist/esm/sdk/topics.js.map +1 -1
  824. package/jsr.json +1 -1
  825. package/package.json +5 -5
  826. package/src/funcs/attemptsGet.ts +200 -0
  827. package/src/funcs/attemptsList.ts +193 -0
  828. package/src/funcs/{topicsListJwt.ts → attemptsRetry.ts} +42 -68
  829. package/src/funcs/destinationsCreate.ts +43 -14
  830. package/src/funcs/destinationsDelete.ts +39 -14
  831. package/src/funcs/destinationsDisable.ts +39 -14
  832. package/src/funcs/destinationsEnable.ts +39 -14
  833. package/src/funcs/destinationsGet.ts +39 -14
  834. package/src/funcs/{eventsGetByDestination.ts → destinationsGetAttempt.ts} +64 -26
  835. package/src/funcs/destinationsList.ts +43 -14
  836. package/src/funcs/{eventsListByDestination.ts → destinationsListAttempts.ts} +47 -24
  837. package/src/funcs/destinationsUpdate.ts +48 -14
  838. package/src/funcs/eventsGet.ts +37 -17
  839. package/src/funcs/eventsList.ts +40 -28
  840. package/src/funcs/publishEvent.ts +5 -5
  841. package/src/funcs/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +18 -12
  842. package/src/funcs/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +9 -8
  843. package/src/funcs/tenantsDelete.ts +35 -14
  844. package/src/funcs/tenantsGet.ts +35 -14
  845. package/src/funcs/tenantsGetPortalUrl.ts +40 -15
  846. package/src/funcs/tenantsGetToken.ts +36 -15
  847. package/src/funcs/tenantsListTenants.ts +43 -19
  848. package/src/funcs/tenantsUpsert.ts +38 -13
  849. package/src/funcs/topicsList.ts +75 -35
  850. package/src/lib/config.ts +8 -16
  851. package/src/lib/matchers.ts +3 -2
  852. package/src/lib/security.ts +2 -10
  853. package/src/mcp-server/cli/start/command.ts +2 -19
  854. package/src/mcp-server/cli/start/impl.ts +5 -13
  855. package/src/mcp-server/mcp-server.ts +1 -1
  856. package/src/mcp-server/server.ts +19 -25
  857. package/src/mcp-server/shared.ts +2 -2
  858. package/src/mcp-server/tools/attemptsGet.ts +44 -0
  859. package/src/mcp-server/tools/{eventsGetByDestination.ts → attemptsList.ts} +11 -7
  860. package/src/mcp-server/tools/attemptsRetry.ts +41 -0
  861. package/src/mcp-server/tools/destinationsCreate.ts +6 -3
  862. package/src/mcp-server/tools/destinationsDelete.ts +5 -3
  863. package/src/mcp-server/tools/destinationsDisable.ts +5 -3
  864. package/src/mcp-server/tools/destinationsEnable.ts +5 -3
  865. package/src/mcp-server/tools/destinationsGet.ts +5 -3
  866. package/src/mcp-server/tools/destinationsGetAttempt.ts +45 -0
  867. package/src/mcp-server/tools/destinationsList.ts +7 -2
  868. package/src/mcp-server/tools/{eventsListByDestination.ts → destinationsListAttempts.ts} +7 -7
  869. package/src/mcp-server/tools/destinationsUpdate.ts +8 -3
  870. package/src/mcp-server/tools/eventsGet.ts +8 -4
  871. package/src/mcp-server/tools/eventsList.ts +6 -2
  872. package/src/mcp-server/tools/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +6 -6
  873. package/src/mcp-server/tools/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +6 -6
  874. package/src/mcp-server/tools/tenantsDelete.ts +3 -3
  875. package/src/mcp-server/tools/tenantsGet.ts +3 -3
  876. package/src/mcp-server/tools/tenantsGetPortalUrl.ts +6 -3
  877. package/src/mcp-server/tools/tenantsGetToken.ts +4 -4
  878. package/src/mcp-server/tools/tenantsListTenants.ts +10 -4
  879. package/src/mcp-server/tools/tenantsUpsert.ts +6 -3
  880. package/src/mcp-server/tools/topicsList.ts +4 -11
  881. package/src/models/components/attempt.ts +206 -0
  882. package/src/models/components/attemptpaginatedresult.ts +76 -0
  883. package/src/models/components/destinationawskinesis.ts +1 -1
  884. package/src/models/components/destinationawss3.ts +1 -1
  885. package/src/models/components/destinationawssqs.ts +1 -1
  886. package/src/models/components/destinationazureservicebus.ts +1 -1
  887. package/src/models/components/destinationcreateawskinesis.ts +1 -1
  888. package/src/models/components/destinationcreateawss3.ts +1 -1
  889. package/src/models/components/destinationcreateawssqs.ts +1 -1
  890. package/src/models/components/destinationcreateazureservicebus.ts +1 -1
  891. package/src/models/components/destinationcreategcppubsub.ts +1 -1
  892. package/src/models/components/destinationcreatehookdeck.ts +1 -1
  893. package/src/models/components/destinationcreaterabbitmq.ts +1 -1
  894. package/src/models/components/destinationcreatewebhook.ts +1 -1
  895. package/src/models/components/destinationgcppubsub.ts +1 -1
  896. package/src/models/components/destinationhookdeck.ts +1 -1
  897. package/src/models/components/destinationrabbitmq.ts +1 -1
  898. package/src/models/components/destinationupdateawskinesis.ts +1 -1
  899. package/src/models/components/destinationupdateawss3.ts +1 -1
  900. package/src/models/components/destinationupdateawssqs.ts +1 -1
  901. package/src/models/components/destinationupdateazureservicebus.ts +1 -1
  902. package/src/models/components/destinationupdategcppubsub.ts +1 -1
  903. package/src/models/components/destinationupdatehookdeck.ts +1 -1
  904. package/src/models/components/destinationupdaterabbitmq.ts +1 -1
  905. package/src/models/components/destinationupdatewebhook.ts +1 -1
  906. package/src/models/components/destinationwebhook.ts +1 -1
  907. package/src/models/components/event.ts +9 -29
  908. package/src/models/components/eventfull.ts +107 -0
  909. package/src/models/components/eventpaginatedresult.ts +76 -0
  910. package/src/models/components/eventsummary.ts +100 -0
  911. package/src/models/components/index.ts +8 -3
  912. package/src/models/components/publishrequest.ts +8 -0
  913. package/src/models/components/publishresponse.ts +16 -0
  914. package/src/models/components/retryrequest.ts +71 -0
  915. package/src/models/components/security.ts +4 -19
  916. package/src/models/components/seekpagination.ts +109 -0
  917. package/src/models/components/tenantpaginatedresult.ts +83 -0
  918. package/src/models/errors/apierrorresponse.ts +129 -0
  919. package/src/models/errors/index.ts +1 -0
  920. package/src/models/errors/listtenants.ts +0 -66
  921. package/src/models/operations/createtenantdestination.ts +4 -57
  922. package/src/models/operations/deletetenant.ts +4 -55
  923. package/src/models/operations/deletetenantdestination.ts +4 -57
  924. package/src/models/operations/disabletenantdestination.ts +4 -57
  925. package/src/models/operations/enabletenantdestination.ts +4 -57
  926. package/src/models/operations/getattempt.ts +118 -0
  927. package/src/models/operations/getdestinationtypeschema.ts +2 -0
  928. package/src/models/operations/getevent.ts +61 -0
  929. package/src/models/operations/gettenant.ts +4 -55
  930. package/src/models/operations/gettenantdestination.ts +4 -57
  931. package/src/models/operations/gettenantdestinationattempt.ts +144 -0
  932. package/src/models/operations/gettenantportalurl.ts +4 -55
  933. package/src/models/operations/gettenanttoken.ts +4 -55
  934. package/src/models/operations/index.ts +6 -9
  935. package/src/models/operations/listattempts.ts +308 -0
  936. package/src/models/operations/listevents.ts +205 -0
  937. package/src/models/operations/listtenantdestinationattempts.ts +328 -0
  938. package/src/models/operations/listtenantdestinations.ts +4 -57
  939. package/src/models/operations/listtenants.ts +15 -14
  940. package/src/models/operations/updatetenantdestination.ts +4 -57
  941. package/src/models/operations/upserttenant.ts +4 -55
  942. package/src/sdk/attempts.ts +75 -0
  943. package/src/sdk/destinations.ts +73 -13
  944. package/src/sdk/events.ts +11 -77
  945. package/src/sdk/schemas.ts +10 -46
  946. package/src/sdk/sdk.ts +11 -5
  947. package/src/sdk/tenants.ts +26 -17
  948. package/src/sdk/topics.ts +2 -21
  949. package/dist/commonjs/funcs/eventsGetByDestination.d.ts +0 -18
  950. package/dist/commonjs/funcs/eventsGetByDestination.d.ts.map +0 -1
  951. package/dist/commonjs/funcs/eventsGetByDestination.js.map +0 -1
  952. package/dist/commonjs/funcs/eventsListByDestination.d.ts +0 -17
  953. package/dist/commonjs/funcs/eventsListByDestination.d.ts.map +0 -1
  954. package/dist/commonjs/funcs/eventsListByDestination.js.map +0 -1
  955. package/dist/commonjs/funcs/eventsListDeliveries.d.ts.map +0 -1
  956. package/dist/commonjs/funcs/eventsListDeliveries.js.map +0 -1
  957. package/dist/commonjs/funcs/eventsRetry.d.ts +0 -17
  958. package/dist/commonjs/funcs/eventsRetry.d.ts.map +0 -1
  959. package/dist/commonjs/funcs/eventsRetry.js.map +0 -1
  960. package/dist/commonjs/funcs/schemasGet.d.ts.map +0 -1
  961. package/dist/commonjs/funcs/schemasGet.js.map +0 -1
  962. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts.map +0 -1
  963. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
  964. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
  965. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +0 -1
  966. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts +0 -18
  967. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts.map +0 -1
  968. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +0 -117
  969. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +0 -1
  970. package/dist/commonjs/funcs/topicsListJwt.d.ts +0 -17
  971. package/dist/commonjs/funcs/topicsListJwt.d.ts.map +0 -1
  972. package/dist/commonjs/funcs/topicsListJwt.js +0 -133
  973. package/dist/commonjs/funcs/topicsListJwt.js.map +0 -1
  974. package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts +0 -8
  975. package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts.map +0 -1
  976. package/dist/commonjs/mcp-server/tools/eventsGetByDestination.js.map +0 -1
  977. package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts +0 -8
  978. package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts.map +0 -1
  979. package/dist/commonjs/mcp-server/tools/eventsListByDestination.js.map +0 -1
  980. package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts +0 -8
  981. package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts.map +0 -1
  982. package/dist/commonjs/mcp-server/tools/eventsListDeliveries.js.map +0 -1
  983. package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts +0 -8
  984. package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts.map +0 -1
  985. package/dist/commonjs/mcp-server/tools/eventsRetry.js.map +0 -1
  986. package/dist/commonjs/mcp-server/tools/schemasGet.d.ts +0 -8
  987. package/dist/commonjs/mcp-server/tools/schemasGet.d.ts.map +0 -1
  988. package/dist/commonjs/mcp-server/tools/schemasGet.js.map +0 -1
  989. package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +0 -8
  990. package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
  991. package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
  992. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
  993. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
  994. package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js.map +0 -1
  995. package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +0 -8
  996. package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +0 -1
  997. package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js +0 -64
  998. package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js.map +0 -1
  999. package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts +0 -3
  1000. package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts.map +0 -1
  1001. package/dist/commonjs/mcp-server/tools/topicsListJwt.js +0 -26
  1002. package/dist/commonjs/mcp-server/tools/topicsListJwt.js.map +0 -1
  1003. package/dist/commonjs/models/components/deliveryattempt.d.ts +0 -39
  1004. package/dist/commonjs/models/components/deliveryattempt.d.ts.map +0 -1
  1005. package/dist/commonjs/models/components/deliveryattempt.js +0 -89
  1006. package/dist/commonjs/models/components/deliveryattempt.js.map +0 -1
  1007. package/dist/commonjs/models/components/tenantlistitem.d.ts +0 -52
  1008. package/dist/commonjs/models/components/tenantlistitem.d.ts.map +0 -1
  1009. package/dist/commonjs/models/components/tenantlistitem.js.map +0 -1
  1010. package/dist/commonjs/models/components/tenantlistresponse.d.ts +0 -39
  1011. package/dist/commonjs/models/components/tenantlistresponse.d.ts.map +0 -1
  1012. package/dist/commonjs/models/components/tenantlistresponse.js.map +0 -1
  1013. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts +0 -58
  1014. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts.map +0 -1
  1015. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js +0 -108
  1016. package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js.map +0 -1
  1017. package/dist/commonjs/models/operations/gettenantevent.d.ts +0 -38
  1018. package/dist/commonjs/models/operations/gettenantevent.d.ts.map +0 -1
  1019. package/dist/commonjs/models/operations/gettenantevent.js.map +0 -1
  1020. package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts +0 -43
  1021. package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts.map +0 -1
  1022. package/dist/commonjs/models/operations/gettenanteventbydestination.js +0 -99
  1023. package/dist/commonjs/models/operations/gettenanteventbydestination.js.map +0 -1
  1024. package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts +0 -33
  1025. package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts.map +0 -1
  1026. package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js +0 -91
  1027. package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js.map +0 -1
  1028. package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts +0 -38
  1029. package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts.map +0 -1
  1030. package/dist/commonjs/models/operations/listtenanteventdeliveries.js +0 -95
  1031. package/dist/commonjs/models/operations/listtenanteventdeliveries.js.map +0 -1
  1032. package/dist/commonjs/models/operations/listtenantevents.d.ts +0 -128
  1033. package/dist/commonjs/models/operations/listtenantevents.d.ts.map +0 -1
  1034. package/dist/commonjs/models/operations/listtenantevents.js +0 -155
  1035. package/dist/commonjs/models/operations/listtenantevents.js.map +0 -1
  1036. package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts +0 -116
  1037. package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts.map +0 -1
  1038. package/dist/commonjs/models/operations/listtenanteventsbydestination.js +0 -143
  1039. package/dist/commonjs/models/operations/listtenanteventsbydestination.js.map +0 -1
  1040. package/dist/commonjs/models/operations/listtenanttopics.d.ts +0 -33
  1041. package/dist/commonjs/models/operations/listtenanttopics.d.ts.map +0 -1
  1042. package/dist/commonjs/models/operations/listtenanttopics.js.map +0 -1
  1043. package/dist/commonjs/models/operations/retrytenantevent.d.ts +0 -43
  1044. package/dist/commonjs/models/operations/retrytenantevent.d.ts.map +0 -1
  1045. package/dist/commonjs/models/operations/retrytenantevent.js.map +0 -1
  1046. package/dist/esm/funcs/eventsGetByDestination.d.ts +0 -18
  1047. package/dist/esm/funcs/eventsGetByDestination.d.ts.map +0 -1
  1048. package/dist/esm/funcs/eventsGetByDestination.js.map +0 -1
  1049. package/dist/esm/funcs/eventsListByDestination.d.ts +0 -17
  1050. package/dist/esm/funcs/eventsListByDestination.d.ts.map +0 -1
  1051. package/dist/esm/funcs/eventsListByDestination.js.map +0 -1
  1052. package/dist/esm/funcs/eventsListDeliveries.d.ts +0 -18
  1053. package/dist/esm/funcs/eventsListDeliveries.d.ts.map +0 -1
  1054. package/dist/esm/funcs/eventsListDeliveries.js +0 -85
  1055. package/dist/esm/funcs/eventsListDeliveries.js.map +0 -1
  1056. package/dist/esm/funcs/eventsRetry.d.ts +0 -17
  1057. package/dist/esm/funcs/eventsRetry.d.ts.map +0 -1
  1058. package/dist/esm/funcs/eventsRetry.js.map +0 -1
  1059. package/dist/esm/funcs/schemasGet.d.ts +0 -18
  1060. package/dist/esm/funcs/schemasGet.d.ts.map +0 -1
  1061. package/dist/esm/funcs/schemasGet.js +0 -84
  1062. package/dist/esm/funcs/schemasGet.js.map +0 -1
  1063. package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts.map +0 -1
  1064. package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
  1065. package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
  1066. package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +0 -1
  1067. package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts +0 -18
  1068. package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts.map +0 -1
  1069. package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +0 -1
  1070. package/dist/esm/funcs/topicsListJwt.d.ts +0 -17
  1071. package/dist/esm/funcs/topicsListJwt.d.ts.map +0 -1
  1072. package/dist/esm/funcs/topicsListJwt.js +0 -97
  1073. package/dist/esm/funcs/topicsListJwt.js.map +0 -1
  1074. package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts +0 -8
  1075. package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts.map +0 -1
  1076. package/dist/esm/mcp-server/tools/eventsGetByDestination.js +0 -28
  1077. package/dist/esm/mcp-server/tools/eventsGetByDestination.js.map +0 -1
  1078. package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts +0 -8
  1079. package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts.map +0 -1
  1080. package/dist/esm/mcp-server/tools/eventsListByDestination.js +0 -28
  1081. package/dist/esm/mcp-server/tools/eventsListByDestination.js.map +0 -1
  1082. package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts +0 -8
  1083. package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts.map +0 -1
  1084. package/dist/esm/mcp-server/tools/eventsListDeliveries.js +0 -28
  1085. package/dist/esm/mcp-server/tools/eventsListDeliveries.js.map +0 -1
  1086. package/dist/esm/mcp-server/tools/eventsRetry.d.ts +0 -8
  1087. package/dist/esm/mcp-server/tools/eventsRetry.d.ts.map +0 -1
  1088. package/dist/esm/mcp-server/tools/eventsRetry.js +0 -27
  1089. package/dist/esm/mcp-server/tools/eventsRetry.js.map +0 -1
  1090. package/dist/esm/mcp-server/tools/schemasGet.d.ts +0 -8
  1091. package/dist/esm/mcp-server/tools/schemasGet.d.ts.map +0 -1
  1092. package/dist/esm/mcp-server/tools/schemasGet.js +0 -28
  1093. package/dist/esm/mcp-server/tools/schemasGet.js.map +0 -1
  1094. package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +0 -8
  1095. package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
  1096. package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
  1097. package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
  1098. package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
  1099. package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js.map +0 -1
  1100. package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +0 -8
  1101. package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +0 -1
  1102. package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js +0 -28
  1103. package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js.map +0 -1
  1104. package/dist/esm/mcp-server/tools/topicsListJwt.d.ts +0 -3
  1105. package/dist/esm/mcp-server/tools/topicsListJwt.d.ts.map +0 -1
  1106. package/dist/esm/mcp-server/tools/topicsListJwt.js +0 -23
  1107. package/dist/esm/mcp-server/tools/topicsListJwt.js.map +0 -1
  1108. package/dist/esm/models/components/deliveryattempt.d.ts +0 -39
  1109. package/dist/esm/models/components/deliveryattempt.d.ts.map +0 -1
  1110. package/dist/esm/models/components/deliveryattempt.js +0 -51
  1111. package/dist/esm/models/components/deliveryattempt.js.map +0 -1
  1112. package/dist/esm/models/components/tenantlistitem.d.ts +0 -52
  1113. package/dist/esm/models/components/tenantlistitem.d.ts.map +0 -1
  1114. package/dist/esm/models/components/tenantlistitem.js +0 -45
  1115. package/dist/esm/models/components/tenantlistitem.js.map +0 -1
  1116. package/dist/esm/models/components/tenantlistresponse.d.ts +0 -39
  1117. package/dist/esm/models/components/tenantlistresponse.d.ts.map +0 -1
  1118. package/dist/esm/models/components/tenantlistresponse.js +0 -27
  1119. package/dist/esm/models/components/tenantlistresponse.js.map +0 -1
  1120. package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts +0 -58
  1121. package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts.map +0 -1
  1122. package/dist/esm/models/operations/gettenantdestinationtypeschema.js +0 -68
  1123. package/dist/esm/models/operations/gettenantdestinationtypeschema.js.map +0 -1
  1124. package/dist/esm/models/operations/gettenantevent.d.ts +0 -38
  1125. package/dist/esm/models/operations/gettenantevent.d.ts.map +0 -1
  1126. package/dist/esm/models/operations/gettenantevent.js +0 -55
  1127. package/dist/esm/models/operations/gettenantevent.js.map +0 -1
  1128. package/dist/esm/models/operations/gettenanteventbydestination.d.ts +0 -43
  1129. package/dist/esm/models/operations/gettenanteventbydestination.d.ts.map +0 -1
  1130. package/dist/esm/models/operations/gettenanteventbydestination.js +0 -59
  1131. package/dist/esm/models/operations/gettenanteventbydestination.js.map +0 -1
  1132. package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts +0 -33
  1133. package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts.map +0 -1
  1134. package/dist/esm/models/operations/listtenantdestinationtypeschemas.js +0 -51
  1135. package/dist/esm/models/operations/listtenantdestinationtypeschemas.js.map +0 -1
  1136. package/dist/esm/models/operations/listtenanteventdeliveries.d.ts +0 -38
  1137. package/dist/esm/models/operations/listtenanteventdeliveries.d.ts.map +0 -1
  1138. package/dist/esm/models/operations/listtenanteventdeliveries.js +0 -55
  1139. package/dist/esm/models/operations/listtenanteventdeliveries.js.map +0 -1
  1140. package/dist/esm/models/operations/listtenantevents.d.ts +0 -128
  1141. package/dist/esm/models/operations/listtenantevents.d.ts.map +0 -1
  1142. package/dist/esm/models/operations/listtenantevents.js +0 -111
  1143. package/dist/esm/models/operations/listtenantevents.js.map +0 -1
  1144. package/dist/esm/models/operations/listtenanteventsbydestination.d.ts +0 -116
  1145. package/dist/esm/models/operations/listtenanteventsbydestination.d.ts.map +0 -1
  1146. package/dist/esm/models/operations/listtenanteventsbydestination.js +0 -101
  1147. package/dist/esm/models/operations/listtenanteventsbydestination.js.map +0 -1
  1148. package/dist/esm/models/operations/listtenanttopics.d.ts +0 -33
  1149. package/dist/esm/models/operations/listtenanttopics.d.ts.map +0 -1
  1150. package/dist/esm/models/operations/listtenanttopics.js +0 -51
  1151. package/dist/esm/models/operations/listtenanttopics.js.map +0 -1
  1152. package/dist/esm/models/operations/retrytenantevent.d.ts +0 -43
  1153. package/dist/esm/models/operations/retrytenantevent.d.ts.map +0 -1
  1154. package/dist/esm/models/operations/retrytenantevent.js +0 -59
  1155. package/dist/esm/models/operations/retrytenantevent.js.map +0 -1
  1156. package/examples/package-lock.json +0 -620
  1157. package/examples/package.json +0 -18
  1158. package/src/funcs/eventsListDeliveries.ts +0 -175
  1159. package/src/funcs/eventsRetry.ts +0 -177
  1160. package/src/funcs/schemasGet.ts +0 -176
  1161. package/src/funcs/schemasListTenantDestinationTypes.ts +0 -171
  1162. package/src/mcp-server/tools/eventsListDeliveries.ts +0 -37
  1163. package/src/mcp-server/tools/eventsRetry.ts +0 -35
  1164. package/src/mcp-server/tools/schemasGet.ts +0 -37
  1165. package/src/mcp-server/tools/schemasListTenantDestinationTypes.ts +0 -39
  1166. package/src/mcp-server/tools/topicsListJwt.ts +0 -30
  1167. package/src/models/components/deliveryattempt.ts +0 -98
  1168. package/src/models/components/tenantlistitem.ts +0 -103
  1169. package/src/models/components/tenantlistresponse.ts +0 -84
  1170. package/src/models/operations/gettenantdestinationtypeschema.ts +0 -155
  1171. package/src/models/operations/gettenantevent.ts +0 -123
  1172. package/src/models/operations/gettenanteventbydestination.ts +0 -138
  1173. package/src/models/operations/listtenantdestinationtypeschemas.ts +0 -132
  1174. package/src/models/operations/listtenanteventdeliveries.ts +0 -127
  1175. package/src/models/operations/listtenantevents.ts +0 -291
  1176. package/src/models/operations/listtenanteventsbydestination.ts +0 -268
  1177. package/src/models/operations/listtenanttopics.ts +0 -114
  1178. package/src/models/operations/retrytenantevent.ts +0 -132
  1179. package/tsconfig.json +0 -40
@@ -0,0 +1,328 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ /**
13
+ * Filter attempts by status.
14
+ */
15
+ export const ListTenantDestinationAttemptsStatus = {
16
+ Success: "success",
17
+ Failed: "failed",
18
+ } as const;
19
+ /**
20
+ * Filter attempts by status.
21
+ */
22
+ export type ListTenantDestinationAttemptsStatus = ClosedEnum<
23
+ typeof ListTenantDestinationAttemptsStatus
24
+ >;
25
+
26
+ /**
27
+ * Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
28
+ */
29
+ export type ListTenantDestinationAttemptsTopic = string | Array<string>;
30
+
31
+ /**
32
+ * Fields to include in the response. Can be specified multiple times or comma-separated.
33
+ *
34
+ * @remarks
35
+ * - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
36
+ * - `event.data`: Include full event with payload data
37
+ * - `response_data`: Include response body and headers
38
+ */
39
+ export type ListTenantDestinationAttemptsInclude = string | Array<string>;
40
+
41
+ /**
42
+ * Field to sort by.
43
+ */
44
+ export const ListTenantDestinationAttemptsOrderBy = {
45
+ Time: "time",
46
+ } as const;
47
+ /**
48
+ * Field to sort by.
49
+ */
50
+ export type ListTenantDestinationAttemptsOrderBy = ClosedEnum<
51
+ typeof ListTenantDestinationAttemptsOrderBy
52
+ >;
53
+
54
+ /**
55
+ * Sort direction.
56
+ */
57
+ export const ListTenantDestinationAttemptsDir = {
58
+ Asc: "asc",
59
+ Desc: "desc",
60
+ } as const;
61
+ /**
62
+ * Sort direction.
63
+ */
64
+ export type ListTenantDestinationAttemptsDir = ClosedEnum<
65
+ typeof ListTenantDestinationAttemptsDir
66
+ >;
67
+
68
+ export type ListTenantDestinationAttemptsRequest = {
69
+ /**
70
+ * The ID of the tenant. Required when using AdminApiKey authentication.
71
+ */
72
+ tenantId: string;
73
+ /**
74
+ * The ID of the destination.
75
+ */
76
+ destinationId: string;
77
+ /**
78
+ * Filter attempts by event ID.
79
+ */
80
+ eventId?: string | undefined;
81
+ /**
82
+ * Filter attempts by status.
83
+ */
84
+ status?: ListTenantDestinationAttemptsStatus | undefined;
85
+ /**
86
+ * Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
87
+ */
88
+ topic?: string | Array<string> | undefined;
89
+ /**
90
+ * Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format).
91
+ */
92
+ timeGte?: Date | undefined;
93
+ /**
94
+ * Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format).
95
+ */
96
+ timeLte?: Date | undefined;
97
+ /**
98
+ * Number of items per page (default 100, max 1000).
99
+ */
100
+ limit?: number | undefined;
101
+ /**
102
+ * Cursor for next page of results.
103
+ */
104
+ next?: string | undefined;
105
+ /**
106
+ * Cursor for previous page of results.
107
+ */
108
+ prev?: string | undefined;
109
+ /**
110
+ * Fields to include in the response. Can be specified multiple times or comma-separated.
111
+ *
112
+ * @remarks
113
+ * - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
114
+ * - `event.data`: Include full event with payload data
115
+ * - `response_data`: Include response body and headers
116
+ */
117
+ include?: string | Array<string> | undefined;
118
+ /**
119
+ * Field to sort by.
120
+ */
121
+ orderBy?: ListTenantDestinationAttemptsOrderBy | undefined;
122
+ /**
123
+ * Sort direction.
124
+ */
125
+ dir?: ListTenantDestinationAttemptsDir | undefined;
126
+ };
127
+
128
+ /** @internal */
129
+ export const ListTenantDestinationAttemptsStatus$inboundSchema: z.ZodNativeEnum<
130
+ typeof ListTenantDestinationAttemptsStatus
131
+ > = z.nativeEnum(ListTenantDestinationAttemptsStatus);
132
+ /** @internal */
133
+ export const ListTenantDestinationAttemptsStatus$outboundSchema:
134
+ z.ZodNativeEnum<typeof ListTenantDestinationAttemptsStatus> =
135
+ ListTenantDestinationAttemptsStatus$inboundSchema;
136
+
137
+ /** @internal */
138
+ export const ListTenantDestinationAttemptsTopic$inboundSchema: z.ZodType<
139
+ ListTenantDestinationAttemptsTopic,
140
+ z.ZodTypeDef,
141
+ unknown
142
+ > = z.union([z.string(), z.array(z.string())]);
143
+ /** @internal */
144
+ export type ListTenantDestinationAttemptsTopic$Outbound =
145
+ | string
146
+ | Array<string>;
147
+
148
+ /** @internal */
149
+ export const ListTenantDestinationAttemptsTopic$outboundSchema: z.ZodType<
150
+ ListTenantDestinationAttemptsTopic$Outbound,
151
+ z.ZodTypeDef,
152
+ ListTenantDestinationAttemptsTopic
153
+ > = z.union([z.string(), z.array(z.string())]);
154
+
155
+ export function listTenantDestinationAttemptsTopicToJSON(
156
+ listTenantDestinationAttemptsTopic: ListTenantDestinationAttemptsTopic,
157
+ ): string {
158
+ return JSON.stringify(
159
+ ListTenantDestinationAttemptsTopic$outboundSchema.parse(
160
+ listTenantDestinationAttemptsTopic,
161
+ ),
162
+ );
163
+ }
164
+ export function listTenantDestinationAttemptsTopicFromJSON(
165
+ jsonString: string,
166
+ ): SafeParseResult<ListTenantDestinationAttemptsTopic, SDKValidationError> {
167
+ return safeParse(
168
+ jsonString,
169
+ (x) =>
170
+ ListTenantDestinationAttemptsTopic$inboundSchema.parse(JSON.parse(x)),
171
+ `Failed to parse 'ListTenantDestinationAttemptsTopic' from JSON`,
172
+ );
173
+ }
174
+
175
+ /** @internal */
176
+ export const ListTenantDestinationAttemptsInclude$inboundSchema: z.ZodType<
177
+ ListTenantDestinationAttemptsInclude,
178
+ z.ZodTypeDef,
179
+ unknown
180
+ > = z.union([z.string(), z.array(z.string())]);
181
+ /** @internal */
182
+ export type ListTenantDestinationAttemptsInclude$Outbound =
183
+ | string
184
+ | Array<string>;
185
+
186
+ /** @internal */
187
+ export const ListTenantDestinationAttemptsInclude$outboundSchema: z.ZodType<
188
+ ListTenantDestinationAttemptsInclude$Outbound,
189
+ z.ZodTypeDef,
190
+ ListTenantDestinationAttemptsInclude
191
+ > = z.union([z.string(), z.array(z.string())]);
192
+
193
+ export function listTenantDestinationAttemptsIncludeToJSON(
194
+ listTenantDestinationAttemptsInclude: ListTenantDestinationAttemptsInclude,
195
+ ): string {
196
+ return JSON.stringify(
197
+ ListTenantDestinationAttemptsInclude$outboundSchema.parse(
198
+ listTenantDestinationAttemptsInclude,
199
+ ),
200
+ );
201
+ }
202
+ export function listTenantDestinationAttemptsIncludeFromJSON(
203
+ jsonString: string,
204
+ ): SafeParseResult<ListTenantDestinationAttemptsInclude, SDKValidationError> {
205
+ return safeParse(
206
+ jsonString,
207
+ (x) =>
208
+ ListTenantDestinationAttemptsInclude$inboundSchema.parse(JSON.parse(x)),
209
+ `Failed to parse 'ListTenantDestinationAttemptsInclude' from JSON`,
210
+ );
211
+ }
212
+
213
+ /** @internal */
214
+ export const ListTenantDestinationAttemptsOrderBy$inboundSchema:
215
+ z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> = z.nativeEnum(
216
+ ListTenantDestinationAttemptsOrderBy,
217
+ );
218
+ /** @internal */
219
+ export const ListTenantDestinationAttemptsOrderBy$outboundSchema:
220
+ z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> =
221
+ ListTenantDestinationAttemptsOrderBy$inboundSchema;
222
+
223
+ /** @internal */
224
+ export const ListTenantDestinationAttemptsDir$inboundSchema: z.ZodNativeEnum<
225
+ typeof ListTenantDestinationAttemptsDir
226
+ > = z.nativeEnum(ListTenantDestinationAttemptsDir);
227
+ /** @internal */
228
+ export const ListTenantDestinationAttemptsDir$outboundSchema: z.ZodNativeEnum<
229
+ typeof ListTenantDestinationAttemptsDir
230
+ > = ListTenantDestinationAttemptsDir$inboundSchema;
231
+
232
+ /** @internal */
233
+ export const ListTenantDestinationAttemptsRequest$inboundSchema: z.ZodType<
234
+ ListTenantDestinationAttemptsRequest,
235
+ z.ZodTypeDef,
236
+ unknown
237
+ > = z.object({
238
+ tenant_id: z.string(),
239
+ destination_id: z.string(),
240
+ event_id: z.string().optional(),
241
+ status: ListTenantDestinationAttemptsStatus$inboundSchema.optional(),
242
+ topic: z.union([z.string(), z.array(z.string())]).optional(),
243
+ "time[gte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
244
+ .optional(),
245
+ "time[lte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
246
+ .optional(),
247
+ limit: z.number().int().default(100),
248
+ next: z.string().optional(),
249
+ prev: z.string().optional(),
250
+ include: z.union([z.string(), z.array(z.string())]).optional(),
251
+ order_by: ListTenantDestinationAttemptsOrderBy$inboundSchema.default("time"),
252
+ dir: ListTenantDestinationAttemptsDir$inboundSchema.default("desc"),
253
+ }).transform((v) => {
254
+ return remap$(v, {
255
+ "tenant_id": "tenantId",
256
+ "destination_id": "destinationId",
257
+ "event_id": "eventId",
258
+ "time[gte]": "timeGte",
259
+ "time[lte]": "timeLte",
260
+ "order_by": "orderBy",
261
+ });
262
+ });
263
+ /** @internal */
264
+ export type ListTenantDestinationAttemptsRequest$Outbound = {
265
+ tenant_id: string;
266
+ destination_id: string;
267
+ event_id?: string | undefined;
268
+ status?: string | undefined;
269
+ topic?: string | Array<string> | undefined;
270
+ "time[gte]"?: string | undefined;
271
+ "time[lte]"?: string | undefined;
272
+ limit: number;
273
+ next?: string | undefined;
274
+ prev?: string | undefined;
275
+ include?: string | Array<string> | undefined;
276
+ order_by: string;
277
+ dir: string;
278
+ };
279
+
280
+ /** @internal */
281
+ export const ListTenantDestinationAttemptsRequest$outboundSchema: z.ZodType<
282
+ ListTenantDestinationAttemptsRequest$Outbound,
283
+ z.ZodTypeDef,
284
+ ListTenantDestinationAttemptsRequest
285
+ > = z.object({
286
+ tenantId: z.string(),
287
+ destinationId: z.string(),
288
+ eventId: z.string().optional(),
289
+ status: ListTenantDestinationAttemptsStatus$outboundSchema.optional(),
290
+ topic: z.union([z.string(), z.array(z.string())]).optional(),
291
+ timeGte: z.date().transform(v => v.toISOString()).optional(),
292
+ timeLte: z.date().transform(v => v.toISOString()).optional(),
293
+ limit: z.number().int().default(100),
294
+ next: z.string().optional(),
295
+ prev: z.string().optional(),
296
+ include: z.union([z.string(), z.array(z.string())]).optional(),
297
+ orderBy: ListTenantDestinationAttemptsOrderBy$outboundSchema.default("time"),
298
+ dir: ListTenantDestinationAttemptsDir$outboundSchema.default("desc"),
299
+ }).transform((v) => {
300
+ return remap$(v, {
301
+ tenantId: "tenant_id",
302
+ destinationId: "destination_id",
303
+ eventId: "event_id",
304
+ timeGte: "time[gte]",
305
+ timeLte: "time[lte]",
306
+ orderBy: "order_by",
307
+ });
308
+ });
309
+
310
+ export function listTenantDestinationAttemptsRequestToJSON(
311
+ listTenantDestinationAttemptsRequest: ListTenantDestinationAttemptsRequest,
312
+ ): string {
313
+ return JSON.stringify(
314
+ ListTenantDestinationAttemptsRequest$outboundSchema.parse(
315
+ listTenantDestinationAttemptsRequest,
316
+ ),
317
+ );
318
+ }
319
+ export function listTenantDestinationAttemptsRequestFromJSON(
320
+ jsonString: string,
321
+ ): SafeParseResult<ListTenantDestinationAttemptsRequest, SDKValidationError> {
322
+ return safeParse(
323
+ jsonString,
324
+ (x) =>
325
+ ListTenantDestinationAttemptsRequest$inboundSchema.parse(JSON.parse(x)),
326
+ `Failed to parse 'ListTenantDestinationAttemptsRequest' from JSON`,
327
+ );
328
+ }
@@ -9,10 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export type ListTenantDestinationsGlobals = {
13
- tenantId?: string | undefined;
14
- };
15
-
16
12
  /**
17
13
  * Filter destinations by type(s).
18
14
  */
@@ -29,7 +25,7 @@ export type ListTenantDestinationsRequest = {
29
25
  /**
30
26
  * The ID of the tenant. Required when using AdminApiKey authentication.
31
27
  */
32
- tenantId?: string | undefined;
28
+ tenantId: string;
33
29
  /**
34
30
  * Filter destinations by type(s).
35
31
  */
@@ -43,55 +39,6 @@ export type ListTenantDestinationsRequest = {
43
39
  topics?: string | Array<string> | undefined;
44
40
  };
45
41
 
46
- /** @internal */
47
- export const ListTenantDestinationsGlobals$inboundSchema: z.ZodType<
48
- ListTenantDestinationsGlobals,
49
- z.ZodTypeDef,
50
- unknown
51
- > = z.object({
52
- tenant_id: z.string().optional(),
53
- }).transform((v) => {
54
- return remap$(v, {
55
- "tenant_id": "tenantId",
56
- });
57
- });
58
- /** @internal */
59
- export type ListTenantDestinationsGlobals$Outbound = {
60
- tenant_id?: string | undefined;
61
- };
62
-
63
- /** @internal */
64
- export const ListTenantDestinationsGlobals$outboundSchema: z.ZodType<
65
- ListTenantDestinationsGlobals$Outbound,
66
- z.ZodTypeDef,
67
- ListTenantDestinationsGlobals
68
- > = z.object({
69
- tenantId: z.string().optional(),
70
- }).transform((v) => {
71
- return remap$(v, {
72
- tenantId: "tenant_id",
73
- });
74
- });
75
-
76
- export function listTenantDestinationsGlobalsToJSON(
77
- listTenantDestinationsGlobals: ListTenantDestinationsGlobals,
78
- ): string {
79
- return JSON.stringify(
80
- ListTenantDestinationsGlobals$outboundSchema.parse(
81
- listTenantDestinationsGlobals,
82
- ),
83
- );
84
- }
85
- export function listTenantDestinationsGlobalsFromJSON(
86
- jsonString: string,
87
- ): SafeParseResult<ListTenantDestinationsGlobals, SDKValidationError> {
88
- return safeParse(
89
- jsonString,
90
- (x) => ListTenantDestinationsGlobals$inboundSchema.parse(JSON.parse(x)),
91
- `Failed to parse 'ListTenantDestinationsGlobals' from JSON`,
92
- );
93
- }
94
-
95
42
  /** @internal */
96
43
  export const ListTenantDestinationsType$inboundSchema: z.ZodType<
97
44
  ListTenantDestinationsType,
@@ -163,7 +110,7 @@ export const ListTenantDestinationsRequest$inboundSchema: z.ZodType<
163
110
  z.ZodTypeDef,
164
111
  unknown
165
112
  > = z.object({
166
- tenant_id: z.string().optional(),
113
+ tenant_id: z.string(),
167
114
  type: z.union([
168
115
  components.DestinationType$inboundSchema,
169
116
  z.array(components.DestinationType$inboundSchema),
@@ -176,7 +123,7 @@ export const ListTenantDestinationsRequest$inboundSchema: z.ZodType<
176
123
  });
177
124
  /** @internal */
178
125
  export type ListTenantDestinationsRequest$Outbound = {
179
- tenant_id?: string | undefined;
126
+ tenant_id: string;
180
127
  type?: string | Array<string> | undefined;
181
128
  topics?: string | Array<string> | undefined;
182
129
  };
@@ -187,7 +134,7 @@ export const ListTenantDestinationsRequest$outboundSchema: z.ZodType<
187
134
  z.ZodTypeDef,
188
135
  ListTenantDestinationsRequest
189
136
  > = z.object({
190
- tenantId: z.string().optional(),
137
+ tenantId: z.string(),
191
138
  type: z.union([
192
139
  components.DestinationType$outboundSchema,
193
140
  z.array(components.DestinationType$outboundSchema),
@@ -9,16 +9,16 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  /**
12
- * Sort order by `created_at` timestamp.
12
+ * Sort direction.
13
13
  */
14
- export const Order = {
14
+ export const ListTenantsDir = {
15
15
  Asc: "asc",
16
16
  Desc: "desc",
17
17
  } as const;
18
18
  /**
19
- * Sort order by `created_at` timestamp.
19
+ * Sort direction.
20
20
  */
21
- export type Order = ClosedEnum<typeof Order>;
21
+ export type ListTenantsDir = ClosedEnum<typeof ListTenantsDir>;
22
22
 
23
23
  export type ListTenantsRequest = {
24
24
  /**
@@ -26,9 +26,9 @@ export type ListTenantsRequest = {
26
26
  */
27
27
  limit?: number | undefined;
28
28
  /**
29
- * Sort order by `created_at` timestamp.
29
+ * Sort direction.
30
30
  */
31
- order?: Order | undefined;
31
+ dir?: ListTenantsDir | undefined;
32
32
  /**
33
33
  * Cursor for the next page of results. Mutually exclusive with `prev`.
34
34
  */
@@ -40,12 +40,13 @@ export type ListTenantsRequest = {
40
40
  };
41
41
 
42
42
  /** @internal */
43
- export const Order$inboundSchema: z.ZodNativeEnum<typeof Order> = z.nativeEnum(
44
- Order,
45
- );
43
+ export const ListTenantsDir$inboundSchema: z.ZodNativeEnum<
44
+ typeof ListTenantsDir
45
+ > = z.nativeEnum(ListTenantsDir);
46
46
  /** @internal */
47
- export const Order$outboundSchema: z.ZodNativeEnum<typeof Order> =
48
- Order$inboundSchema;
47
+ export const ListTenantsDir$outboundSchema: z.ZodNativeEnum<
48
+ typeof ListTenantsDir
49
+ > = ListTenantsDir$inboundSchema;
49
50
 
50
51
  /** @internal */
51
52
  export const ListTenantsRequest$inboundSchema: z.ZodType<
@@ -54,14 +55,14 @@ export const ListTenantsRequest$inboundSchema: z.ZodType<
54
55
  unknown
55
56
  > = z.object({
56
57
  limit: z.number().int().default(20),
57
- order: Order$inboundSchema.default("desc"),
58
+ dir: ListTenantsDir$inboundSchema.default("desc"),
58
59
  next: z.string().optional(),
59
60
  prev: z.string().optional(),
60
61
  });
61
62
  /** @internal */
62
63
  export type ListTenantsRequest$Outbound = {
63
64
  limit: number;
64
- order: string;
65
+ dir: string;
65
66
  next?: string | undefined;
66
67
  prev?: string | undefined;
67
68
  };
@@ -73,7 +74,7 @@ export const ListTenantsRequest$outboundSchema: z.ZodType<
73
74
  ListTenantsRequest
74
75
  > = z.object({
75
76
  limit: z.number().int().default(20),
76
- order: Order$outboundSchema.default("desc"),
77
+ dir: ListTenantsDir$outboundSchema.default("desc"),
77
78
  next: z.string().optional(),
78
79
  prev: z.string().optional(),
79
80
  });
@@ -9,15 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export type UpdateTenantDestinationGlobals = {
13
- tenantId?: string | undefined;
14
- };
15
-
16
12
  export type UpdateTenantDestinationRequest = {
17
13
  /**
18
14
  * The ID of the tenant. Required when using AdminApiKey authentication.
19
15
  */
20
- tenantId?: string | undefined;
16
+ tenantId: string;
21
17
  /**
22
18
  * The ID of the destination.
23
19
  */
@@ -30,62 +26,13 @@ export type UpdateTenantDestinationRequest = {
30
26
  */
31
27
  export type UpdateTenantDestinationResponse = components.Destination;
32
28
 
33
- /** @internal */
34
- export const UpdateTenantDestinationGlobals$inboundSchema: z.ZodType<
35
- UpdateTenantDestinationGlobals,
36
- z.ZodTypeDef,
37
- unknown
38
- > = z.object({
39
- tenant_id: z.string().optional(),
40
- }).transform((v) => {
41
- return remap$(v, {
42
- "tenant_id": "tenantId",
43
- });
44
- });
45
- /** @internal */
46
- export type UpdateTenantDestinationGlobals$Outbound = {
47
- tenant_id?: string | undefined;
48
- };
49
-
50
- /** @internal */
51
- export const UpdateTenantDestinationGlobals$outboundSchema: z.ZodType<
52
- UpdateTenantDestinationGlobals$Outbound,
53
- z.ZodTypeDef,
54
- UpdateTenantDestinationGlobals
55
- > = z.object({
56
- tenantId: z.string().optional(),
57
- }).transform((v) => {
58
- return remap$(v, {
59
- tenantId: "tenant_id",
60
- });
61
- });
62
-
63
- export function updateTenantDestinationGlobalsToJSON(
64
- updateTenantDestinationGlobals: UpdateTenantDestinationGlobals,
65
- ): string {
66
- return JSON.stringify(
67
- UpdateTenantDestinationGlobals$outboundSchema.parse(
68
- updateTenantDestinationGlobals,
69
- ),
70
- );
71
- }
72
- export function updateTenantDestinationGlobalsFromJSON(
73
- jsonString: string,
74
- ): SafeParseResult<UpdateTenantDestinationGlobals, SDKValidationError> {
75
- return safeParse(
76
- jsonString,
77
- (x) => UpdateTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
78
- `Failed to parse 'UpdateTenantDestinationGlobals' from JSON`,
79
- );
80
- }
81
-
82
29
  /** @internal */
83
30
  export const UpdateTenantDestinationRequest$inboundSchema: z.ZodType<
84
31
  UpdateTenantDestinationRequest,
85
32
  z.ZodTypeDef,
86
33
  unknown
87
34
  > = z.object({
88
- tenant_id: z.string().optional(),
35
+ tenant_id: z.string(),
89
36
  destination_id: z.string(),
90
37
  params: components.DestinationUpdate$inboundSchema,
91
38
  }).transform((v) => {
@@ -96,7 +43,7 @@ export const UpdateTenantDestinationRequest$inboundSchema: z.ZodType<
96
43
  });
97
44
  /** @internal */
98
45
  export type UpdateTenantDestinationRequest$Outbound = {
99
- tenant_id?: string | undefined;
46
+ tenant_id: string;
100
47
  destination_id: string;
101
48
  params: components.DestinationUpdate$Outbound;
102
49
  };
@@ -107,7 +54,7 @@ export const UpdateTenantDestinationRequest$outboundSchema: z.ZodType<
107
54
  z.ZodTypeDef,
108
55
  UpdateTenantDestinationRequest
109
56
  > = z.object({
110
- tenantId: z.string().optional(),
57
+ tenantId: z.string(),
111
58
  destinationId: z.string(),
112
59
  params: components.DestinationUpdate$outboundSchema,
113
60
  }).transform((v) => {
@@ -9,75 +9,24 @@ import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
- export type UpsertTenantGlobals = {
13
- tenantId?: string | undefined;
14
- };
15
-
16
12
  export type UpsertTenantRequest = {
17
13
  /**
18
14
  * The ID of the tenant. Required when using AdminApiKey authentication.
19
15
  */
20
- tenantId?: string | undefined;
16
+ tenantId: string;
21
17
  /**
22
18
  * Optional tenant metadata
23
19
  */
24
20
  params?: components.TenantUpsert | undefined;
25
21
  };
26
22
 
27
- /** @internal */
28
- export const UpsertTenantGlobals$inboundSchema: z.ZodType<
29
- UpsertTenantGlobals,
30
- z.ZodTypeDef,
31
- unknown
32
- > = z.object({
33
- tenant_id: z.string().optional(),
34
- }).transform((v) => {
35
- return remap$(v, {
36
- "tenant_id": "tenantId",
37
- });
38
- });
39
- /** @internal */
40
- export type UpsertTenantGlobals$Outbound = {
41
- tenant_id?: string | undefined;
42
- };
43
-
44
- /** @internal */
45
- export const UpsertTenantGlobals$outboundSchema: z.ZodType<
46
- UpsertTenantGlobals$Outbound,
47
- z.ZodTypeDef,
48
- UpsertTenantGlobals
49
- > = z.object({
50
- tenantId: z.string().optional(),
51
- }).transform((v) => {
52
- return remap$(v, {
53
- tenantId: "tenant_id",
54
- });
55
- });
56
-
57
- export function upsertTenantGlobalsToJSON(
58
- upsertTenantGlobals: UpsertTenantGlobals,
59
- ): string {
60
- return JSON.stringify(
61
- UpsertTenantGlobals$outboundSchema.parse(upsertTenantGlobals),
62
- );
63
- }
64
- export function upsertTenantGlobalsFromJSON(
65
- jsonString: string,
66
- ): SafeParseResult<UpsertTenantGlobals, SDKValidationError> {
67
- return safeParse(
68
- jsonString,
69
- (x) => UpsertTenantGlobals$inboundSchema.parse(JSON.parse(x)),
70
- `Failed to parse 'UpsertTenantGlobals' from JSON`,
71
- );
72
- }
73
-
74
23
  /** @internal */
75
24
  export const UpsertTenantRequest$inboundSchema: z.ZodType<
76
25
  UpsertTenantRequest,
77
26
  z.ZodTypeDef,
78
27
  unknown
79
28
  > = z.object({
80
- tenant_id: z.string().optional(),
29
+ tenant_id: z.string(),
81
30
  params: components.TenantUpsert$inboundSchema.optional(),
82
31
  }).transform((v) => {
83
32
  return remap$(v, {
@@ -86,7 +35,7 @@ export const UpsertTenantRequest$inboundSchema: z.ZodType<
86
35
  });
87
36
  /** @internal */
88
37
  export type UpsertTenantRequest$Outbound = {
89
- tenant_id?: string | undefined;
38
+ tenant_id: string;
90
39
  params?: components.TenantUpsert$Outbound | undefined;
91
40
  };
92
41
 
@@ -96,7 +45,7 @@ export const UpsertTenantRequest$outboundSchema: z.ZodType<
96
45
  z.ZodTypeDef,
97
46
  UpsertTenantRequest
98
47
  > = z.object({
99
- tenantId: z.string().optional(),
48
+ tenantId: z.string(),
100
49
  params: components.TenantUpsert$outboundSchema.optional(),
101
50
  }).transform((v) => {
102
51
  return remap$(v, {