@hookdeck/outpost-sdk 0.4.0 → 0.5.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 (283) hide show
  1. package/README.md +2 -6
  2. package/RUNTIMES.md +6 -6
  3. package/bin/mcp-server.js +286 -50
  4. package/bin/mcp-server.js.map +47 -41
  5. package/dist/commonjs/funcs/destinationsCreate.js +1 -1
  6. package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
  7. package/dist/commonjs/funcs/destinationsDelete.js +1 -1
  8. package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
  9. package/dist/commonjs/funcs/destinationsDisable.js +1 -1
  10. package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
  11. package/dist/commonjs/funcs/destinationsEnable.js +1 -1
  12. package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
  13. package/dist/commonjs/funcs/destinationsGet.js +1 -1
  14. package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
  15. package/dist/commonjs/funcs/destinationsList.js +1 -1
  16. package/dist/commonjs/funcs/destinationsList.js.map +1 -1
  17. package/dist/commonjs/funcs/destinationsUpdate.js +1 -1
  18. package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
  19. package/dist/commonjs/funcs/eventsGet.js +1 -1
  20. package/dist/commonjs/funcs/eventsGet.js.map +1 -1
  21. package/dist/commonjs/funcs/eventsGetByDestination.js +1 -1
  22. package/dist/commonjs/funcs/eventsGetByDestination.js.map +1 -1
  23. package/dist/commonjs/funcs/eventsList.js +1 -1
  24. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  25. package/dist/commonjs/funcs/eventsListByDestination.js +1 -1
  26. package/dist/commonjs/funcs/eventsListByDestination.js.map +1 -1
  27. package/dist/commonjs/funcs/eventsListDeliveries.js +1 -1
  28. package/dist/commonjs/funcs/eventsListDeliveries.js.map +1 -1
  29. package/dist/commonjs/funcs/eventsRetry.js +1 -1
  30. package/dist/commonjs/funcs/eventsRetry.js.map +1 -1
  31. package/dist/commonjs/funcs/healthCheck.js +1 -1
  32. package/dist/commonjs/funcs/healthCheck.js.map +1 -1
  33. package/dist/commonjs/funcs/publishEvent.js +1 -1
  34. package/dist/commonjs/funcs/publishEvent.js.map +1 -1
  35. package/dist/commonjs/funcs/schemasGet.js +1 -1
  36. package/dist/commonjs/funcs/schemasGet.js.map +1 -1
  37. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js +1 -1
  38. package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
  39. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js +1 -1
  40. package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +1 -1
  41. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +1 -1
  42. package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +1 -1
  43. package/dist/commonjs/funcs/tenantsDelete.js +1 -1
  44. package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
  45. package/dist/commonjs/funcs/tenantsGet.js +1 -1
  46. package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
  47. package/dist/commonjs/funcs/tenantsGetPortalUrl.js +1 -1
  48. package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
  49. package/dist/commonjs/funcs/tenantsGetToken.js +1 -1
  50. package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
  51. package/dist/commonjs/funcs/tenantsUpsert.js +1 -1
  52. package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
  53. package/dist/commonjs/funcs/topicsList.js +1 -1
  54. package/dist/commonjs/funcs/topicsList.js.map +1 -1
  55. package/dist/commonjs/funcs/topicsListJwt.js +1 -1
  56. package/dist/commonjs/funcs/topicsListJwt.js.map +1 -1
  57. package/dist/commonjs/lib/config.d.ts +3 -3
  58. package/dist/commonjs/lib/config.js +3 -3
  59. package/dist/commonjs/lib/config.js.map +1 -1
  60. package/dist/commonjs/lib/url.js +1 -1
  61. package/dist/commonjs/lib/url.js.map +1 -1
  62. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  63. package/dist/commonjs/mcp-server/server.js +1 -1
  64. package/dist/commonjs/models/components/deliveryattempt.d.ts +8 -8
  65. package/dist/commonjs/models/components/deliveryattempt.d.ts.map +1 -1
  66. package/dist/commonjs/models/components/deliveryattempt.js +13 -14
  67. package/dist/commonjs/models/components/deliveryattempt.js.map +1 -1
  68. package/dist/commonjs/models/components/destination.d.ts +5 -0
  69. package/dist/commonjs/models/components/destination.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/destination.js +7 -0
  71. package/dist/commonjs/models/components/destination.js.map +1 -1
  72. package/dist/commonjs/models/components/destinationcreate.d.ts +5 -0
  73. package/dist/commonjs/models/components/destinationcreate.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/destinationcreate.js +7 -0
  75. package/dist/commonjs/models/components/destinationcreate.js.map +1 -1
  76. package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts +78 -0
  77. package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts.map +1 -0
  78. package/dist/commonjs/models/components/destinationcreategcppubsub.js +101 -0
  79. package/dist/commonjs/models/components/destinationcreategcppubsub.js.map +1 -0
  80. package/dist/commonjs/models/components/destinationgcppubsub.d.ts +98 -0
  81. package/dist/commonjs/models/components/destinationgcppubsub.d.ts.map +1 -0
  82. package/dist/commonjs/models/components/destinationgcppubsub.js +122 -0
  83. package/dist/commonjs/models/components/destinationgcppubsub.js.map +1 -0
  84. package/dist/commonjs/models/components/destinationupdate.d.ts +4 -2
  85. package/dist/commonjs/models/components/destinationupdate.d.ts.map +1 -1
  86. package/dist/commonjs/models/components/destinationupdate.js +6 -0
  87. package/dist/commonjs/models/components/destinationupdate.js.map +1 -1
  88. package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts +39 -0
  89. package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts.map +1 -0
  90. package/dist/commonjs/models/components/destinationupdateazureservicebus.js +76 -0
  91. package/dist/commonjs/models/components/destinationupdateazureservicebus.js.map +1 -0
  92. package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts +39 -0
  93. package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts.map +1 -0
  94. package/dist/commonjs/models/components/destinationupdategcppubsub.js +76 -0
  95. package/dist/commonjs/models/components/destinationupdategcppubsub.js.map +1 -0
  96. package/dist/commonjs/models/components/event.d.ts +30 -2
  97. package/dist/commonjs/models/components/event.d.ts.map +1 -1
  98. package/dist/commonjs/models/components/event.js +25 -3
  99. package/dist/commonjs/models/components/event.js.map +1 -1
  100. package/dist/commonjs/models/components/gcppubsubconfig.d.ts +42 -0
  101. package/dist/commonjs/models/components/gcppubsubconfig.d.ts.map +1 -0
  102. package/dist/commonjs/models/components/gcppubsubconfig.js +82 -0
  103. package/dist/commonjs/models/components/gcppubsubconfig.js.map +1 -0
  104. package/dist/commonjs/models/components/gcppubsubcredentials.d.ts +32 -0
  105. package/dist/commonjs/models/components/gcppubsubcredentials.d.ts.map +1 -0
  106. package/dist/commonjs/models/components/gcppubsubcredentials.js +78 -0
  107. package/dist/commonjs/models/components/gcppubsubcredentials.js.map +1 -0
  108. package/dist/commonjs/models/components/index.d.ts +6 -0
  109. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  110. package/dist/commonjs/models/components/index.js +6 -0
  111. package/dist/commonjs/models/components/index.js.map +1 -1
  112. package/dist/commonjs/models/errors/index.d.ts +1 -0
  113. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  114. package/dist/commonjs/models/errors/index.js +1 -0
  115. package/dist/commonjs/models/errors/index.js.map +1 -1
  116. package/dist/commonjs/models/operations/listtenantdestinations.d.ts +12 -0
  117. package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/listtenantdestinations.js +4 -0
  119. package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
  120. package/dist/esm/funcs/destinationsCreate.js +1 -1
  121. package/dist/esm/funcs/destinationsCreate.js.map +1 -1
  122. package/dist/esm/funcs/destinationsDelete.js +1 -1
  123. package/dist/esm/funcs/destinationsDelete.js.map +1 -1
  124. package/dist/esm/funcs/destinationsDisable.js +1 -1
  125. package/dist/esm/funcs/destinationsDisable.js.map +1 -1
  126. package/dist/esm/funcs/destinationsEnable.js +1 -1
  127. package/dist/esm/funcs/destinationsEnable.js.map +1 -1
  128. package/dist/esm/funcs/destinationsGet.js +1 -1
  129. package/dist/esm/funcs/destinationsGet.js.map +1 -1
  130. package/dist/esm/funcs/destinationsList.js +1 -1
  131. package/dist/esm/funcs/destinationsList.js.map +1 -1
  132. package/dist/esm/funcs/destinationsUpdate.js +1 -1
  133. package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
  134. package/dist/esm/funcs/eventsGet.js +1 -1
  135. package/dist/esm/funcs/eventsGet.js.map +1 -1
  136. package/dist/esm/funcs/eventsGetByDestination.js +1 -1
  137. package/dist/esm/funcs/eventsGetByDestination.js.map +1 -1
  138. package/dist/esm/funcs/eventsList.js +1 -1
  139. package/dist/esm/funcs/eventsList.js.map +1 -1
  140. package/dist/esm/funcs/eventsListByDestination.js +1 -1
  141. package/dist/esm/funcs/eventsListByDestination.js.map +1 -1
  142. package/dist/esm/funcs/eventsListDeliveries.js +1 -1
  143. package/dist/esm/funcs/eventsListDeliveries.js.map +1 -1
  144. package/dist/esm/funcs/eventsRetry.js +1 -1
  145. package/dist/esm/funcs/eventsRetry.js.map +1 -1
  146. package/dist/esm/funcs/healthCheck.js +1 -1
  147. package/dist/esm/funcs/healthCheck.js.map +1 -1
  148. package/dist/esm/funcs/publishEvent.js +1 -1
  149. package/dist/esm/funcs/publishEvent.js.map +1 -1
  150. package/dist/esm/funcs/schemasGet.js +1 -1
  151. package/dist/esm/funcs/schemasGet.js.map +1 -1
  152. package/dist/esm/funcs/schemasGetDestinationTypeJwt.js +1 -1
  153. package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
  154. package/dist/esm/funcs/schemasListDestinationTypesJwt.js +1 -1
  155. package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +1 -1
  156. package/dist/esm/funcs/schemasListTenantDestinationTypes.js +1 -1
  157. package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +1 -1
  158. package/dist/esm/funcs/tenantsDelete.js +1 -1
  159. package/dist/esm/funcs/tenantsDelete.js.map +1 -1
  160. package/dist/esm/funcs/tenantsGet.js +1 -1
  161. package/dist/esm/funcs/tenantsGet.js.map +1 -1
  162. package/dist/esm/funcs/tenantsGetPortalUrl.js +1 -1
  163. package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
  164. package/dist/esm/funcs/tenantsGetToken.js +1 -1
  165. package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
  166. package/dist/esm/funcs/tenantsUpsert.js +1 -1
  167. package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
  168. package/dist/esm/funcs/topicsList.js +1 -1
  169. package/dist/esm/funcs/topicsList.js.map +1 -1
  170. package/dist/esm/funcs/topicsListJwt.js +1 -1
  171. package/dist/esm/funcs/topicsListJwt.js.map +1 -1
  172. package/dist/esm/lib/config.d.ts +3 -3
  173. package/dist/esm/lib/config.js +3 -3
  174. package/dist/esm/lib/config.js.map +1 -1
  175. package/dist/esm/lib/url.js +1 -1
  176. package/dist/esm/lib/url.js.map +1 -1
  177. package/dist/esm/mcp-server/mcp-server.js +1 -1
  178. package/dist/esm/mcp-server/server.js +1 -1
  179. package/dist/esm/models/components/deliveryattempt.d.ts +8 -8
  180. package/dist/esm/models/components/deliveryattempt.d.ts.map +1 -1
  181. package/dist/esm/models/components/deliveryattempt.js +12 -13
  182. package/dist/esm/models/components/deliveryattempt.js.map +1 -1
  183. package/dist/esm/models/components/destination.d.ts +5 -0
  184. package/dist/esm/models/components/destination.d.ts.map +1 -1
  185. package/dist/esm/models/components/destination.js +7 -0
  186. package/dist/esm/models/components/destination.js.map +1 -1
  187. package/dist/esm/models/components/destinationcreate.d.ts +5 -0
  188. package/dist/esm/models/components/destinationcreate.d.ts.map +1 -1
  189. package/dist/esm/models/components/destinationcreate.js +7 -0
  190. package/dist/esm/models/components/destinationcreate.js.map +1 -1
  191. package/dist/esm/models/components/destinationcreategcppubsub.d.ts +78 -0
  192. package/dist/esm/models/components/destinationcreategcppubsub.d.ts.map +1 -0
  193. package/dist/esm/models/components/destinationcreategcppubsub.js +63 -0
  194. package/dist/esm/models/components/destinationcreategcppubsub.js.map +1 -0
  195. package/dist/esm/models/components/destinationgcppubsub.d.ts +98 -0
  196. package/dist/esm/models/components/destinationgcppubsub.d.ts.map +1 -0
  197. package/dist/esm/models/components/destinationgcppubsub.js +84 -0
  198. package/dist/esm/models/components/destinationgcppubsub.js.map +1 -0
  199. package/dist/esm/models/components/destinationupdate.d.ts +4 -2
  200. package/dist/esm/models/components/destinationupdate.d.ts.map +1 -1
  201. package/dist/esm/models/components/destinationupdate.js +6 -0
  202. package/dist/esm/models/components/destinationupdate.js.map +1 -1
  203. package/dist/esm/models/components/destinationupdateazureservicebus.d.ts +39 -0
  204. package/dist/esm/models/components/destinationupdateazureservicebus.d.ts.map +1 -0
  205. package/dist/esm/models/components/destinationupdateazureservicebus.js +38 -0
  206. package/dist/esm/models/components/destinationupdateazureservicebus.js.map +1 -0
  207. package/dist/esm/models/components/destinationupdategcppubsub.d.ts +39 -0
  208. package/dist/esm/models/components/destinationupdategcppubsub.d.ts.map +1 -0
  209. package/dist/esm/models/components/destinationupdategcppubsub.js +38 -0
  210. package/dist/esm/models/components/destinationupdategcppubsub.js.map +1 -0
  211. package/dist/esm/models/components/event.d.ts +30 -2
  212. package/dist/esm/models/components/event.d.ts.map +1 -1
  213. package/dist/esm/models/components/event.js +24 -2
  214. package/dist/esm/models/components/event.js.map +1 -1
  215. package/dist/esm/models/components/gcppubsubconfig.d.ts +42 -0
  216. package/dist/esm/models/components/gcppubsubconfig.d.ts.map +1 -0
  217. package/dist/esm/models/components/gcppubsubconfig.js +44 -0
  218. package/dist/esm/models/components/gcppubsubconfig.js.map +1 -0
  219. package/dist/esm/models/components/gcppubsubcredentials.d.ts +32 -0
  220. package/dist/esm/models/components/gcppubsubcredentials.d.ts.map +1 -0
  221. package/dist/esm/models/components/gcppubsubcredentials.js +40 -0
  222. package/dist/esm/models/components/gcppubsubcredentials.js.map +1 -0
  223. package/dist/esm/models/components/index.d.ts +6 -0
  224. package/dist/esm/models/components/index.d.ts.map +1 -1
  225. package/dist/esm/models/components/index.js +6 -0
  226. package/dist/esm/models/components/index.js.map +1 -1
  227. package/dist/esm/models/errors/index.d.ts +1 -0
  228. package/dist/esm/models/errors/index.d.ts.map +1 -1
  229. package/dist/esm/models/errors/index.js +1 -0
  230. package/dist/esm/models/errors/index.js.map +1 -1
  231. package/dist/esm/models/operations/listtenantdestinations.d.ts +12 -0
  232. package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
  233. package/dist/esm/models/operations/listtenantdestinations.js +4 -0
  234. package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
  235. package/examples/healthCheck.example.ts +1 -1
  236. package/examples/package-lock.json +1 -1
  237. package/jsr.json +1 -1
  238. package/package.json +1 -1
  239. package/src/funcs/destinationsCreate.ts +1 -1
  240. package/src/funcs/destinationsDelete.ts +1 -1
  241. package/src/funcs/destinationsDisable.ts +1 -1
  242. package/src/funcs/destinationsEnable.ts +1 -1
  243. package/src/funcs/destinationsGet.ts +1 -1
  244. package/src/funcs/destinationsList.ts +1 -1
  245. package/src/funcs/destinationsUpdate.ts +1 -1
  246. package/src/funcs/eventsGet.ts +1 -1
  247. package/src/funcs/eventsGetByDestination.ts +1 -1
  248. package/src/funcs/eventsList.ts +1 -1
  249. package/src/funcs/eventsListByDestination.ts +1 -1
  250. package/src/funcs/eventsListDeliveries.ts +1 -1
  251. package/src/funcs/eventsRetry.ts +1 -1
  252. package/src/funcs/healthCheck.ts +1 -1
  253. package/src/funcs/publishEvent.ts +1 -1
  254. package/src/funcs/schemasGet.ts +1 -1
  255. package/src/funcs/schemasGetDestinationTypeJwt.ts +1 -1
  256. package/src/funcs/schemasListDestinationTypesJwt.ts +1 -1
  257. package/src/funcs/schemasListTenantDestinationTypes.ts +1 -1
  258. package/src/funcs/tenantsDelete.ts +1 -1
  259. package/src/funcs/tenantsGet.ts +1 -1
  260. package/src/funcs/tenantsGetPortalUrl.ts +1 -1
  261. package/src/funcs/tenantsGetToken.ts +1 -1
  262. package/src/funcs/tenantsUpsert.ts +1 -1
  263. package/src/funcs/topicsList.ts +1 -1
  264. package/src/funcs/topicsListJwt.ts +1 -1
  265. package/src/lib/config.ts +3 -3
  266. package/src/lib/url.ts +1 -1
  267. package/src/mcp-server/mcp-server.ts +1 -1
  268. package/src/mcp-server/server.ts +1 -1
  269. package/src/models/components/deliveryattempt.ts +16 -14
  270. package/src/models/components/destination.ts +18 -0
  271. package/src/models/components/destinationcreate.ts +18 -0
  272. package/src/models/components/destinationcreategcppubsub.ts +144 -0
  273. package/src/models/components/destinationgcppubsub.ts +187 -0
  274. package/src/models/components/destinationupdate.ts +22 -2
  275. package/src/models/components/destinationupdateazureservicebus.ts +97 -0
  276. package/src/models/components/destinationupdategcppubsub.ts +95 -0
  277. package/src/models/components/event.ts +34 -4
  278. package/src/models/components/gcppubsubconfig.ts +90 -0
  279. package/src/models/components/gcppubsubcredentials.ts +78 -0
  280. package/src/models/components/index.ts +6 -0
  281. package/src/models/errors/index.ts +1 -0
  282. package/src/models/operations/listtenantdestinations.ts +4 -0
  283. package/docs/sdks/outpost/README.md +0 -7
@@ -5,6 +5,7 @@ import { DestinationCreateAWSKinesis, DestinationCreateAWSKinesis$Outbound } fro
5
5
  import { DestinationCreateAwss3, DestinationCreateAwss3$Outbound } from "./destinationcreateawss3.js";
6
6
  import { DestinationCreateAWSSQS, DestinationCreateAWSSQS$Outbound } from "./destinationcreateawssqs.js";
7
7
  import { DestinationCreateAzureServiceBus, DestinationCreateAzureServiceBus$Outbound } from "./destinationcreateazureservicebus.js";
8
+ import { DestinationCreateGCPPubSub, DestinationCreateGCPPubSub$Outbound } from "./destinationcreategcppubsub.js";
8
9
  import { DestinationCreateHookdeck, DestinationCreateHookdeck$Outbound } from "./destinationcreatehookdeck.js";
9
10
  import { DestinationCreateRabbitMQ, DestinationCreateRabbitMQ$Outbound } from "./destinationcreaterabbitmq.js";
10
11
  import { DestinationCreateWebhook, DestinationCreateWebhook$Outbound } from "./destinationcreatewebhook.js";
@@ -18,6 +19,8 @@ export type DestinationCreate = (DestinationCreateAWSSQS & {
18
19
  type: "azure_servicebus";
19
20
  }) | (DestinationCreateAwss3 & {
20
21
  type: "aws_s3";
22
+ }) | (DestinationCreateGCPPubSub & {
23
+ type: "gcp_pubsub";
21
24
  }) | (DestinationCreateWebhook & {
22
25
  type: "webhook";
23
26
  }) | (DestinationCreateHookdeck & {
@@ -36,6 +39,8 @@ export type DestinationCreate$Outbound = (DestinationCreateAWSSQS$Outbound & {
36
39
  type: "azure_servicebus";
37
40
  }) | (DestinationCreateAwss3$Outbound & {
38
41
  type: "aws_s3";
42
+ }) | (DestinationCreateGCPPubSub$Outbound & {
43
+ type: "gcp_pubsub";
39
44
  }) | (DestinationCreateWebhook$Outbound & {
40
45
  type: "webhook";
41
46
  }) | (DestinationCreateHookdeck$Outbound & {
@@ -1 +1 @@
1
- {"version":3,"file":"destinationcreate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAA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CAAE,CAAC,GAC1E,CAAC,+BAA+B,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC,GACtD,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,GACzD,CAAC,kCAAkC,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEhE,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAqCjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
1
+ {"version":3,"file":"destinationcreate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gCAAgC,EAEhC,yCAAyC,EAE1C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AAE,aAAa,CAAA;CAAE,CAAC,GAChE,CAAC,yCAAyC,GAAG;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,CAAC,GAC1E,CAAC,+BAA+B,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC,GACtD,CAAC,mCAAmC,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC,GAC9D,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,GACzD,CAAC,kCAAkC,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC;AAEhE,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CA0CjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -45,6 +45,7 @@ const destinationcreateawskinesis_js_1 = require("./destinationcreateawskinesis.
45
45
  const destinationcreateawss3_js_1 = require("./destinationcreateawss3.js");
46
46
  const destinationcreateawssqs_js_1 = require("./destinationcreateawssqs.js");
47
47
  const destinationcreateazureservicebus_js_1 = require("./destinationcreateazureservicebus.js");
48
+ const destinationcreategcppubsub_js_1 = require("./destinationcreategcppubsub.js");
48
49
  const destinationcreatehookdeck_js_1 = require("./destinationcreatehookdeck.js");
49
50
  const destinationcreaterabbitmq_js_1 = require("./destinationcreaterabbitmq.js");
50
51
  const destinationcreatewebhook_js_1 = require("./destinationcreatewebhook.js");
@@ -65,6 +66,9 @@ exports.DestinationCreate$inboundSchema = z.union([
65
66
  destinationcreateawss3_js_1.DestinationCreateAwss3$inboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
66
67
  type: v.type,
67
68
  }))),
69
+ destinationcreategcppubsub_js_1.DestinationCreateGCPPubSub$inboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
70
+ type: v.type,
71
+ }))),
68
72
  destinationcreatewebhook_js_1.DestinationCreateWebhook$inboundSchema.and(z.object({ type: z.literal("webhook") }).transform((v) => ({
69
73
  type: v.type,
70
74
  }))),
@@ -89,6 +93,9 @@ exports.DestinationCreate$outboundSchema = z.union([
89
93
  destinationcreateawss3_js_1.DestinationCreateAwss3$outboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
90
94
  type: v.type,
91
95
  }))),
96
+ destinationcreategcppubsub_js_1.DestinationCreateGCPPubSub$outboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
97
+ type: v.type,
98
+ }))),
92
99
  destinationcreatewebhook_js_1.DestinationCreateWebhook$outboundSchema.and(z.object({ type: z.literal("webhook") }).transform((v) => ({
93
100
  type: v.type,
94
101
  }))),
@@ -1 +1 @@
1
- {"version":3,"file":"destinationcreate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuKH,0DAMC;AAED,8DAQC;AArLD,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,2EAKqC;AACrC,6EAKsC;AACtC,+FAK+C;AAC/C,iFAKwC;AACxC,iFAKwC;AACxC,+EAKuC;AAWvC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,kEAAqC,CAAC,GAAG,CACvC,CAAC,CAAC,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AC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"destinationcreate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyLH,0DAMC;AAED,8DAQC;AAvMD,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,2EAKqC;AACrC,6EAKsC;AACtC,+FAK+C;AAC/C,mFAKyC;AACzC,iFAKwC;AACxC,iFAKwC;AACxC,+EAKuC;AAYvC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,kEAAqC,CAAC,GAAG,CACvC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACzD,IAAI,EAAE,CAAC,CAAC,IAAI;KACb,CAAC,CAAC,CACJ;IACD,sEAAuC,CAAC,GAAG,CACzC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC1D,IAAI,EAAE,CAAC,CAAC,IAAI;KACb,CAAC,CAAC,CACJ;IACD,0EAAyC,CAAC,GAAG,CAC3C,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC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AE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,78 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { GCPPubSubConfig, GCPPubSubConfig$Outbound } from "./gcppubsubconfig.js";
6
+ import { GCPPubSubCredentials, GCPPubSubCredentials$Outbound } from "./gcppubsubcredentials.js";
7
+ import { Topics, Topics$Outbound } from "./topics.js";
8
+ /**
9
+ * Type of the destination. Must be 'gcp_pubsub'.
10
+ */
11
+ export declare const DestinationCreateGCPPubSubType: {
12
+ readonly GcpPubsub: "gcp_pubsub";
13
+ };
14
+ /**
15
+ * Type of the destination. Must be 'gcp_pubsub'.
16
+ */
17
+ export type DestinationCreateGCPPubSubType = ClosedEnum<typeof DestinationCreateGCPPubSubType>;
18
+ export type DestinationCreateGCPPubSub = {
19
+ /**
20
+ * Optional user-provided ID. A UUID will be generated if empty.
21
+ */
22
+ id?: string | undefined;
23
+ /**
24
+ * Type of the destination. Must be 'gcp_pubsub'.
25
+ */
26
+ type: DestinationCreateGCPPubSubType;
27
+ /**
28
+ * "*" or an array of enabled topics.
29
+ */
30
+ topics: Topics;
31
+ config: GCPPubSubConfig;
32
+ credentials: GCPPubSubCredentials;
33
+ };
34
+ /** @internal */
35
+ export declare const DestinationCreateGCPPubSubType$inboundSchema: z.ZodNativeEnum<typeof DestinationCreateGCPPubSubType>;
36
+ /** @internal */
37
+ export declare const DestinationCreateGCPPubSubType$outboundSchema: z.ZodNativeEnum<typeof DestinationCreateGCPPubSubType>;
38
+ /**
39
+ * @internal
40
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
41
+ */
42
+ export declare namespace DestinationCreateGCPPubSubType$ {
43
+ /** @deprecated use `DestinationCreateGCPPubSubType$inboundSchema` instead. */
44
+ const inboundSchema: z.ZodNativeEnum<{
45
+ readonly GcpPubsub: "gcp_pubsub";
46
+ }>;
47
+ /** @deprecated use `DestinationCreateGCPPubSubType$outboundSchema` instead. */
48
+ const outboundSchema: z.ZodNativeEnum<{
49
+ readonly GcpPubsub: "gcp_pubsub";
50
+ }>;
51
+ }
52
+ /** @internal */
53
+ export declare const DestinationCreateGCPPubSub$inboundSchema: z.ZodType<DestinationCreateGCPPubSub, z.ZodTypeDef, unknown>;
54
+ /** @internal */
55
+ export type DestinationCreateGCPPubSub$Outbound = {
56
+ id?: string | undefined;
57
+ type: string;
58
+ topics: Topics$Outbound;
59
+ config: GCPPubSubConfig$Outbound;
60
+ credentials: GCPPubSubCredentials$Outbound;
61
+ };
62
+ /** @internal */
63
+ export declare const DestinationCreateGCPPubSub$outboundSchema: z.ZodType<DestinationCreateGCPPubSub$Outbound, z.ZodTypeDef, DestinationCreateGCPPubSub>;
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ export declare namespace DestinationCreateGCPPubSub$ {
69
+ /** @deprecated use `DestinationCreateGCPPubSub$inboundSchema` instead. */
70
+ const inboundSchema: z.ZodType<DestinationCreateGCPPubSub, z.ZodTypeDef, unknown>;
71
+ /** @deprecated use `DestinationCreateGCPPubSub$outboundSchema` instead. */
72
+ const outboundSchema: z.ZodType<DestinationCreateGCPPubSub$Outbound, z.ZodTypeDef, DestinationCreateGCPPubSub>;
73
+ /** @deprecated use `DestinationCreateGCPPubSub$Outbound` instead. */
74
+ type Outbound = DestinationCreateGCPPubSub$Outbound;
75
+ }
76
+ export declare function destinationCreateGCPPubSubToJSON(destinationCreateGCPPubSub: DestinationCreateGCPPubSub): string;
77
+ export declare function destinationCreateGCPPubSubFromJSON(jsonString: string): SafeParseResult<DestinationCreateGCPPubSub, SDKValidationError>;
78
+ //# sourceMappingURL=destinationcreategcppubsub.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationcreategcppubsub.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationcreategcppubsub.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,eAAO,MAAM,8BAA8B;;CAEjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,EAAE,oBAAoB,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,8BAA8B,CACS,CAAC;AAEjD,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,8BAA8B,CACS,CAAC;AAEjD;;;GAGG;AACH,yBAAiB,+BAA+B,CAAC;IAC/C,8EAA8E;IACvE,MAAM,aAAa;;MAA+C,CAAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc;;MAAgD,CAAC;CAC7E;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,wBAAwB,CAAC;IACjC,WAAW,EAAE,6BAA6B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAO1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DestinationCreateGCPPubSub$ = exports.DestinationCreateGCPPubSub$outboundSchema = exports.DestinationCreateGCPPubSub$inboundSchema = exports.DestinationCreateGCPPubSubType$ = exports.DestinationCreateGCPPubSubType$outboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema = exports.DestinationCreateGCPPubSubType = void 0;
40
+ exports.destinationCreateGCPPubSubToJSON = destinationCreateGCPPubSubToJSON;
41
+ exports.destinationCreateGCPPubSubFromJSON = destinationCreateGCPPubSubFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const schemas_js_1 = require("../../lib/schemas.js");
44
+ const gcppubsubconfig_js_1 = require("./gcppubsubconfig.js");
45
+ const gcppubsubcredentials_js_1 = require("./gcppubsubcredentials.js");
46
+ const topics_js_1 = require("./topics.js");
47
+ /**
48
+ * Type of the destination. Must be 'gcp_pubsub'.
49
+ */
50
+ exports.DestinationCreateGCPPubSubType = {
51
+ GcpPubsub: "gcp_pubsub",
52
+ };
53
+ /** @internal */
54
+ exports.DestinationCreateGCPPubSubType$inboundSchema = z.nativeEnum(exports.DestinationCreateGCPPubSubType);
55
+ /** @internal */
56
+ exports.DestinationCreateGCPPubSubType$outboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema;
57
+ /**
58
+ * @internal
59
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
+ */
61
+ var DestinationCreateGCPPubSubType$;
62
+ (function (DestinationCreateGCPPubSubType$) {
63
+ /** @deprecated use `DestinationCreateGCPPubSubType$inboundSchema` instead. */
64
+ DestinationCreateGCPPubSubType$.inboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema;
65
+ /** @deprecated use `DestinationCreateGCPPubSubType$outboundSchema` instead. */
66
+ DestinationCreateGCPPubSubType$.outboundSchema = exports.DestinationCreateGCPPubSubType$outboundSchema;
67
+ })(DestinationCreateGCPPubSubType$ || (exports.DestinationCreateGCPPubSubType$ = DestinationCreateGCPPubSubType$ = {}));
68
+ /** @internal */
69
+ exports.DestinationCreateGCPPubSub$inboundSchema = z.object({
70
+ id: z.string().optional(),
71
+ type: exports.DestinationCreateGCPPubSubType$inboundSchema,
72
+ topics: topics_js_1.Topics$inboundSchema,
73
+ config: gcppubsubconfig_js_1.GCPPubSubConfig$inboundSchema,
74
+ credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$inboundSchema,
75
+ });
76
+ /** @internal */
77
+ exports.DestinationCreateGCPPubSub$outboundSchema = z.object({
78
+ id: z.string().optional(),
79
+ type: exports.DestinationCreateGCPPubSubType$outboundSchema,
80
+ topics: topics_js_1.Topics$outboundSchema,
81
+ config: gcppubsubconfig_js_1.GCPPubSubConfig$outboundSchema,
82
+ credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$outboundSchema,
83
+ });
84
+ /**
85
+ * @internal
86
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
+ */
88
+ var DestinationCreateGCPPubSub$;
89
+ (function (DestinationCreateGCPPubSub$) {
90
+ /** @deprecated use `DestinationCreateGCPPubSub$inboundSchema` instead. */
91
+ DestinationCreateGCPPubSub$.inboundSchema = exports.DestinationCreateGCPPubSub$inboundSchema;
92
+ /** @deprecated use `DestinationCreateGCPPubSub$outboundSchema` instead. */
93
+ DestinationCreateGCPPubSub$.outboundSchema = exports.DestinationCreateGCPPubSub$outboundSchema;
94
+ })(DestinationCreateGCPPubSub$ || (exports.DestinationCreateGCPPubSub$ = DestinationCreateGCPPubSub$ = {}));
95
+ function destinationCreateGCPPubSubToJSON(destinationCreateGCPPubSub) {
96
+ return JSON.stringify(exports.DestinationCreateGCPPubSub$outboundSchema.parse(destinationCreateGCPPubSub));
97
+ }
98
+ function destinationCreateGCPPubSubFromJSON(jsonString) {
99
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DestinationCreateGCPPubSub$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationCreateGCPPubSub' from JSON`);
100
+ }
101
+ //# sourceMappingURL=destinationcreategcppubsub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationcreategcppubsub.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreategcppubsub.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HH,4EAMC;AAED,gFAQC;AA3ID,uCAAyB;AACzB,qDAAiD;AAIjD,6DAK8B;AAC9B,uEAKmC;AACnC,2CAKqB;AAErB;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC5C,SAAS,EAAE,YAAY;CACf,CAAC;AAyBX,gBAAgB;AACH,QAAA,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,sCAA8B,CAAC,CAAC;AAEjD,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,oDAA4C,CAAC;AAEjD;;;GAGG;AACH,IAAiB,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;I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SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { GCPPubSubConfig, GCPPubSubConfig$Outbound } from "./gcppubsubconfig.js";
6
+ import { GCPPubSubCredentials, GCPPubSubCredentials$Outbound } from "./gcppubsubcredentials.js";
7
+ import { Topics, Topics$Outbound } from "./topics.js";
8
+ /**
9
+ * Type of the destination.
10
+ */
11
+ export declare const DestinationGCPPubSubType: {
12
+ readonly GcpPubsub: "gcp_pubsub";
13
+ };
14
+ /**
15
+ * Type of the destination.
16
+ */
17
+ export type DestinationGCPPubSubType = ClosedEnum<typeof DestinationGCPPubSubType>;
18
+ export type DestinationGCPPubSub = {
19
+ /**
20
+ * Control plane generated ID or user provided ID for the destination.
21
+ */
22
+ id: string;
23
+ /**
24
+ * Type of the destination.
25
+ */
26
+ type: DestinationGCPPubSubType;
27
+ /**
28
+ * "*" or an array of enabled topics.
29
+ */
30
+ topics: Topics;
31
+ /**
32
+ * ISO Date when the destination was disabled, or null if enabled.
33
+ */
34
+ disabledAt: Date | null;
35
+ /**
36
+ * ISO Date when the destination was created.
37
+ */
38
+ createdAt: Date;
39
+ config: GCPPubSubConfig;
40
+ credentials: GCPPubSubCredentials;
41
+ /**
42
+ * A human-readable representation of the destination target (project/topic). Read-only.
43
+ */
44
+ target?: string | undefined;
45
+ /**
46
+ * A URL link to the destination target (GCP Console link to the topic). Read-only.
47
+ */
48
+ targetUrl?: string | null | undefined;
49
+ };
50
+ /** @internal */
51
+ export declare const DestinationGCPPubSubType$inboundSchema: z.ZodNativeEnum<typeof DestinationGCPPubSubType>;
52
+ /** @internal */
53
+ export declare const DestinationGCPPubSubType$outboundSchema: z.ZodNativeEnum<typeof DestinationGCPPubSubType>;
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export declare namespace DestinationGCPPubSubType$ {
59
+ /** @deprecated use `DestinationGCPPubSubType$inboundSchema` instead. */
60
+ const inboundSchema: z.ZodNativeEnum<{
61
+ readonly GcpPubsub: "gcp_pubsub";
62
+ }>;
63
+ /** @deprecated use `DestinationGCPPubSubType$outboundSchema` instead. */
64
+ const outboundSchema: z.ZodNativeEnum<{
65
+ readonly GcpPubsub: "gcp_pubsub";
66
+ }>;
67
+ }
68
+ /** @internal */
69
+ export declare const DestinationGCPPubSub$inboundSchema: z.ZodType<DestinationGCPPubSub, z.ZodTypeDef, unknown>;
70
+ /** @internal */
71
+ export type DestinationGCPPubSub$Outbound = {
72
+ id: string;
73
+ type: string;
74
+ topics: Topics$Outbound;
75
+ disabled_at: string | null;
76
+ created_at: string;
77
+ config: GCPPubSubConfig$Outbound;
78
+ credentials: GCPPubSubCredentials$Outbound;
79
+ target?: string | undefined;
80
+ target_url?: string | null | undefined;
81
+ };
82
+ /** @internal */
83
+ export declare const DestinationGCPPubSub$outboundSchema: z.ZodType<DestinationGCPPubSub$Outbound, z.ZodTypeDef, DestinationGCPPubSub>;
84
+ /**
85
+ * @internal
86
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
+ */
88
+ export declare namespace DestinationGCPPubSub$ {
89
+ /** @deprecated use `DestinationGCPPubSub$inboundSchema` instead. */
90
+ const inboundSchema: z.ZodType<DestinationGCPPubSub, z.ZodTypeDef, unknown>;
91
+ /** @deprecated use `DestinationGCPPubSub$outboundSchema` instead. */
92
+ const outboundSchema: z.ZodType<DestinationGCPPubSub$Outbound, z.ZodTypeDef, DestinationGCPPubSub>;
93
+ /** @deprecated use `DestinationGCPPubSub$Outbound` instead. */
94
+ type Outbound = DestinationGCPPubSub$Outbound;
95
+ }
96
+ export declare function destinationGCPPubSubToJSON(destinationGCPPubSub: DestinationGCPPubSub): string;
97
+ export declare function destinationGCPPubSubFromJSON(jsonString: string): SafeParseResult<DestinationGCPPubSub, SDKValidationError>;
98
+ //# sourceMappingURL=destinationgcppubsub.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationgcppub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"use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DestinationGCPPubSub$ = exports.DestinationGCPPubSub$outboundSchema = exports.DestinationGCPPubSub$inboundSchema = exports.DestinationGCPPubSubType$ = exports.DestinationGCPPubSubType$outboundSchema = exports.DestinationGCPPubSubType$inboundSchema = exports.DestinationGCPPubSubType = void 0;
40
+ exports.destinationGCPPubSubToJSON = destinationGCPPubSubToJSON;
41
+ exports.destinationGCPPubSubFromJSON = destinationGCPPubSubFromJSON;
42
+ const z = __importStar(require("zod"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const gcppubsubconfig_js_1 = require("./gcppubsubconfig.js");
46
+ const gcppubsubcredentials_js_1 = require("./gcppubsubcredentials.js");
47
+ const topics_js_1 = require("./topics.js");
48
+ /**
49
+ * Type of the destination.
50
+ */
51
+ exports.DestinationGCPPubSubType = {
52
+ GcpPubsub: "gcp_pubsub",
53
+ };
54
+ /** @internal */
55
+ exports.DestinationGCPPubSubType$inboundSchema = z.nativeEnum(exports.DestinationGCPPubSubType);
56
+ /** @internal */
57
+ exports.DestinationGCPPubSubType$outboundSchema = exports.DestinationGCPPubSubType$inboundSchema;
58
+ /**
59
+ * @internal
60
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
61
+ */
62
+ var DestinationGCPPubSubType$;
63
+ (function (DestinationGCPPubSubType$) {
64
+ /** @deprecated use `DestinationGCPPubSubType$inboundSchema` instead. */
65
+ DestinationGCPPubSubType$.inboundSchema = exports.DestinationGCPPubSubType$inboundSchema;
66
+ /** @deprecated use `DestinationGCPPubSubType$outboundSchema` instead. */
67
+ DestinationGCPPubSubType$.outboundSchema = exports.DestinationGCPPubSubType$outboundSchema;
68
+ })(DestinationGCPPubSubType$ || (exports.DestinationGCPPubSubType$ = DestinationGCPPubSubType$ = {}));
69
+ /** @internal */
70
+ exports.DestinationGCPPubSub$inboundSchema = z.object({
71
+ id: z.string(),
72
+ type: exports.DestinationGCPPubSubType$inboundSchema,
73
+ topics: topics_js_1.Topics$inboundSchema,
74
+ disabled_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
75
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
76
+ config: gcppubsubconfig_js_1.GCPPubSubConfig$inboundSchema,
77
+ credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$inboundSchema,
78
+ target: z.string().optional(),
79
+ target_url: z.nullable(z.string()).optional(),
80
+ }).transform((v) => {
81
+ return (0, primitives_js_1.remap)(v, {
82
+ "disabled_at": "disabledAt",
83
+ "created_at": "createdAt",
84
+ "target_url": "targetUrl",
85
+ });
86
+ });
87
+ /** @internal */
88
+ exports.DestinationGCPPubSub$outboundSchema = z.object({
89
+ id: z.string(),
90
+ type: exports.DestinationGCPPubSubType$outboundSchema,
91
+ topics: topics_js_1.Topics$outboundSchema,
92
+ disabledAt: z.nullable(z.date().transform(v => v.toISOString())),
93
+ createdAt: z.date().transform(v => v.toISOString()),
94
+ config: gcppubsubconfig_js_1.GCPPubSubConfig$outboundSchema,
95
+ credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$outboundSchema,
96
+ target: z.string().optional(),
97
+ targetUrl: z.nullable(z.string()).optional(),
98
+ }).transform((v) => {
99
+ return (0, primitives_js_1.remap)(v, {
100
+ disabledAt: "disabled_at",
101
+ createdAt: "created_at",
102
+ targetUrl: "target_url",
103
+ });
104
+ });
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ var DestinationGCPPubSub$;
110
+ (function (DestinationGCPPubSub$) {
111
+ /** @deprecated use `DestinationGCPPubSub$inboundSchema` instead. */
112
+ DestinationGCPPubSub$.inboundSchema = exports.DestinationGCPPubSub$inboundSchema;
113
+ /** @deprecated use `DestinationGCPPubSub$outboundSchema` instead. */
114
+ DestinationGCPPubSub$.outboundSchema = exports.DestinationGCPPubSub$outboundSchema;
115
+ })(DestinationGCPPubSub$ || (exports.DestinationGCPPubSub$ = DestinationGCPPubSub$ = {}));
116
+ function destinationGCPPubSubToJSON(destinationGCPPubSub) {
117
+ return JSON.stringify(exports.DestinationGCPPubSub$outboundSchema.parse(destinationGCPPubSub));
118
+ }
119
+ function destinationGCPPubSubFromJSON(jsonString) {
120
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DestinationGCPPubSub$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationGCPPubSub' from JSON`);
121
+ }
122
+ //# sourceMappingURL=destinationgcppubsub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationgcppubsub.js","sourceRoot":"","sources":["../../../../src/models/components/destinationgcppubsub.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwKH,gEAMC;AAED,oEAQC;AAtLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,6DAK8B;AAC9B,uEAKmC;AACnC,2CAKqB;AAErB;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,YAAY;CACf,CAAC;AAyCX,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,CAAC,CAAC,UAAU,CAAC,gCAAwB,CAAC,CAAC;AAE3C,gBAAgB;AACH,QAAA,uCAAuC,GAEhD,8CAAsC,CAAC;AAE3C;;;GAGG;AACH,IAAiB,yBAAyB,CAKzC;AALD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AACxE,CAAC,EALgB,yBAAyB,yCAAzB,yBAAyB,QAKzC;AAED,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,8CAAsC;IAC5C,MAAM,EAAE,gCAAoB;IAC5B,WAAW,EAAE,CAAC,CAAC,QAAQ,CACrB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,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,YAAY;QACvB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -4,14 +4,16 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
4
  import { DestinationUpdateAWSKinesis, DestinationUpdateAWSKinesis$Outbound } from "./destinationupdateawskinesis.js";
5
5
  import { DestinationUpdateAwss3, DestinationUpdateAwss3$Outbound } from "./destinationupdateawss3.js";
6
6
  import { DestinationUpdateAWSSQS, DestinationUpdateAWSSQS$Outbound } from "./destinationupdateawssqs.js";
7
+ import { DestinationUpdateAzureServiceBus, DestinationUpdateAzureServiceBus$Outbound } from "./destinationupdateazureservicebus.js";
8
+ import { DestinationUpdateGCPPubSub, DestinationUpdateGCPPubSub$Outbound } from "./destinationupdategcppubsub.js";
7
9
  import { DestinationUpdateHookdeck, DestinationUpdateHookdeck$Outbound } from "./destinationupdatehookdeck.js";
8
10
  import { DestinationUpdateRabbitMQ, DestinationUpdateRabbitMQ$Outbound } from "./destinationupdaterabbitmq.js";
9
11
  import { DestinationUpdateWebhook, DestinationUpdateWebhook$Outbound } from "./destinationupdatewebhook.js";
10
- export type DestinationUpdate = DestinationUpdateWebhook | DestinationUpdateAWSSQS | DestinationUpdateRabbitMQ | DestinationUpdateHookdeck | DestinationUpdateAWSKinesis | DestinationUpdateAwss3;
12
+ export type DestinationUpdate = DestinationUpdateWebhook | DestinationUpdateAWSSQS | DestinationUpdateRabbitMQ | DestinationUpdateHookdeck | DestinationUpdateAWSKinesis | DestinationUpdateAzureServiceBus | DestinationUpdateAwss3 | DestinationUpdateGCPPubSub;
11
13
  /** @internal */
12
14
  export declare const DestinationUpdate$inboundSchema: z.ZodType<DestinationUpdate, z.ZodTypeDef, unknown>;
13
15
  /** @internal */
14
- export type DestinationUpdate$Outbound = DestinationUpdateWebhook$Outbound | DestinationUpdateAWSSQS$Outbound | DestinationUpdateRabbitMQ$Outbound | DestinationUpdateHookdeck$Outbound | DestinationUpdateAWSKinesis$Outbound | DestinationUpdateAwss3$Outbound;
16
+ export type DestinationUpdate$Outbound = DestinationUpdateWebhook$Outbound | DestinationUpdateAWSSQS$Outbound | DestinationUpdateRabbitMQ$Outbound | DestinationUpdateHookdeck$Outbound | DestinationUpdateAWSKinesis$Outbound | DestinationUpdateAzureServiceBus$Outbound | DestinationUpdateAwss3$Outbound | DestinationUpdateGCPPubSub$Outbound;
15
17
  /** @internal */
16
18
  export declare const DestinationUpdate$outboundSchema: z.ZodType<DestinationUpdate$Outbound, z.ZodTypeDef, DestinationUpdate>;
17
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"destinationupdate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC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
1
+ {"version":3,"file":"destinationupdate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gCAAgC,EAEhC,yCAAyC,EAE1C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,2BAA2B,GAC3B,gCAAgC,GAChC,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAClC,iCAAiC,GACjC,gCAAgC,GAChC,kCAAkC,GAClC,kCAAkC,GAClC,oCAAoC,GACpC,yCAAyC,GACzC,+BAA+B,GAC/B,mCAAmC,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAUjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
@@ -44,6 +44,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
44
44
  const destinationupdateawskinesis_js_1 = require("./destinationupdateawskinesis.js");
45
45
  const destinationupdateawss3_js_1 = require("./destinationupdateawss3.js");
46
46
  const destinationupdateawssqs_js_1 = require("./destinationupdateawssqs.js");
47
+ const destinationupdateazureservicebus_js_1 = require("./destinationupdateazureservicebus.js");
48
+ const destinationupdategcppubsub_js_1 = require("./destinationupdategcppubsub.js");
47
49
  const destinationupdatehookdeck_js_1 = require("./destinationupdatehookdeck.js");
48
50
  const destinationupdaterabbitmq_js_1 = require("./destinationupdaterabbitmq.js");
49
51
  const destinationupdatewebhook_js_1 = require("./destinationupdatewebhook.js");
@@ -54,7 +56,9 @@ exports.DestinationUpdate$inboundSchema = z.union([
54
56
  destinationupdaterabbitmq_js_1.DestinationUpdateRabbitMQ$inboundSchema,
55
57
  destinationupdatehookdeck_js_1.DestinationUpdateHookdeck$inboundSchema,
56
58
  destinationupdateawskinesis_js_1.DestinationUpdateAWSKinesis$inboundSchema,
59
+ destinationupdateazureservicebus_js_1.DestinationUpdateAzureServiceBus$inboundSchema,
57
60
  destinationupdateawss3_js_1.DestinationUpdateAwss3$inboundSchema,
61
+ destinationupdategcppubsub_js_1.DestinationUpdateGCPPubSub$inboundSchema,
58
62
  ]);
59
63
  /** @internal */
60
64
  exports.DestinationUpdate$outboundSchema = z.union([
@@ -63,7 +67,9 @@ exports.DestinationUpdate$outboundSchema = z.union([
63
67
  destinationupdaterabbitmq_js_1.DestinationUpdateRabbitMQ$outboundSchema,
64
68
  destinationupdatehookdeck_js_1.DestinationUpdateHookdeck$outboundSchema,
65
69
  destinationupdateawskinesis_js_1.DestinationUpdateAWSKinesis$outboundSchema,
70
+ destinationupdateazureservicebus_js_1.DestinationUpdateAzureServiceBus$outboundSchema,
66
71
  destinationupdateawss3_js_1.DestinationUpdateAwss3$outboundSchema,
72
+ destinationupdategcppubsub_js_1.DestinationUpdateGCPPubSub$outboundSchema,
67
73
  ]);
68
74
  /**
69
75
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"destinationupdate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGH,0DAMC;AAED,8DAQC;AAnHD,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,2EAKqC;AACrC,6EAKsC;AACtC,iFAKwC;AACxC,iFAKwC;AACxC,+EAKuC;AAUvC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,oEAAsC;IACtC,kEAAqC;IACrC,sEAAuC;IACvC,sEAAuC;IACvC,0EAAyC;IACzC,gEAAoC;CACrC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,KAAK,CAAC;IACV,qEAAuC;IACvC,mEAAsC;IACtC,uEAAwC;IACxC,uEAAwC;IACxC,2EAA0C;IAC1C,iEAAqC;CACtC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"destinationupdate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyHH,0DAMC;AAED,8DAQC;AAvID,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,2EAKqC;AACrC,6EAKsC;AACtC,+FAK+C;AAC/C,mFAKyC;AACzC,iFAKwC;AACxC,iFAKwC;AACxC,+EAKuC;AAYvC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,oEAAsC;IACtC,kEAAqC;IACrC,sEAAuC;IACvC,sEAAuC;IACvC,0EAAyC;IACzC,oFAA8C;IAC9C,gEAAoC;IACpC,wEAAwC;CACzC,CAAC,CAAC;AAaH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,KAAK,CAAC;IACV,qEAAuC;IACvC,mEAAsC;IACtC,uEAAwC;IACxC,uEAAwC;IACxC,2EAA0C;IAC1C,qFAA+C;IAC/C,iEAAqC;IACrC,yEAAyC;CAC1C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,39 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { AzureServiceBusConfig, AzureServiceBusConfig$Outbound } from "./azureservicebusconfig.js";
5
+ import { AzureServiceBusCredentials, AzureServiceBusCredentials$Outbound } from "./azureservicebuscredentials.js";
6
+ import { Topics, Topics$Outbound } from "./topics.js";
7
+ export type DestinationUpdateAzureServiceBus = {
8
+ /**
9
+ * "*" or an array of enabled topics.
10
+ */
11
+ topics?: Topics | undefined;
12
+ config?: AzureServiceBusConfig | undefined;
13
+ credentials?: AzureServiceBusCredentials | undefined;
14
+ };
15
+ /** @internal */
16
+ export declare const DestinationUpdateAzureServiceBus$inboundSchema: z.ZodType<DestinationUpdateAzureServiceBus, z.ZodTypeDef, unknown>;
17
+ /** @internal */
18
+ export type DestinationUpdateAzureServiceBus$Outbound = {
19
+ topics?: Topics$Outbound | undefined;
20
+ config?: AzureServiceBusConfig$Outbound | undefined;
21
+ credentials?: AzureServiceBusCredentials$Outbound | undefined;
22
+ };
23
+ /** @internal */
24
+ export declare const DestinationUpdateAzureServiceBus$outboundSchema: z.ZodType<DestinationUpdateAzureServiceBus$Outbound, z.ZodTypeDef, DestinationUpdateAzureServiceBus>;
25
+ /**
26
+ * @internal
27
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
28
+ */
29
+ export declare namespace DestinationUpdateAzureServiceBus$ {
30
+ /** @deprecated use `DestinationUpdateAzureServiceBus$inboundSchema` instead. */
31
+ const inboundSchema: z.ZodType<DestinationUpdateAzureServiceBus, z.ZodTypeDef, unknown>;
32
+ /** @deprecated use `DestinationUpdateAzureServiceBus$outboundSchema` instead. */
33
+ const outboundSchema: z.ZodType<DestinationUpdateAzureServiceBus$Outbound, z.ZodTypeDef, DestinationUpdateAzureServiceBus>;
34
+ /** @deprecated use `DestinationUpdateAzureServiceBus$Outbound` instead. */
35
+ type Outbound = DestinationUpdateAzureServiceBus$Outbound;
36
+ }
37
+ export declare function destinationUpdateAzureServiceBusToJSON(destinationUpdateAzureServiceBus: DestinationUpdateAzureServiceBus): string;
38
+ export declare function destinationUpdateAzureServiceBusFromJSON(jsonString: string): SafeParseResult<DestinationUpdateAzureServiceBus, SDKValidationError>;
39
+ //# sourceMappingURL=destinationupdateazureservicebus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationupdateazureservicebus.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdateazureservicebus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,MAAM,E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