@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
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.4.0",
19
+ currentVersion: "0.5.0",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -35,7 +35,7 @@ import { tool$topicsListJwt } from "./tools/topicsListJwt.js";
35
35
  export function createMCPServer(deps) {
36
36
  const server = new McpServer({
37
37
  name: "Outpost",
38
- version: "0.4.0",
38
+ version: "0.5.0",
39
39
  });
40
40
  const client = new OutpostCore({
41
41
  security: deps.security,
@@ -2,14 +2,14 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export declare const Status: {
5
+ export declare const DeliveryAttemptStatus: {
6
6
  readonly Success: "success";
7
7
  readonly Failed: "failed";
8
8
  };
9
- export type Status = ClosedEnum<typeof Status>;
9
+ export type DeliveryAttemptStatus = ClosedEnum<typeof DeliveryAttemptStatus>;
10
10
  export type DeliveryAttempt = {
11
11
  deliveredAt?: Date | undefined;
12
- status?: Status | undefined;
12
+ status?: DeliveryAttemptStatus | undefined;
13
13
  responseStatusCode?: number | undefined;
14
14
  responseBody?: string | undefined;
15
15
  responseHeaders?: {
@@ -17,20 +17,20 @@ export type DeliveryAttempt = {
17
17
  } | undefined;
18
18
  };
19
19
  /** @internal */
20
- export declare const Status$inboundSchema: z.ZodNativeEnum<typeof Status>;
20
+ export declare const DeliveryAttemptStatus$inboundSchema: z.ZodNativeEnum<typeof DeliveryAttemptStatus>;
21
21
  /** @internal */
22
- export declare const Status$outboundSchema: z.ZodNativeEnum<typeof Status>;
22
+ export declare const DeliveryAttemptStatus$outboundSchema: z.ZodNativeEnum<typeof DeliveryAttemptStatus>;
23
23
  /**
24
24
  * @internal
25
25
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
26
26
  */
27
- export declare namespace Status$ {
28
- /** @deprecated use `Status$inboundSchema` instead. */
27
+ export declare namespace DeliveryAttemptStatus$ {
28
+ /** @deprecated use `DeliveryAttemptStatus$inboundSchema` instead. */
29
29
  const inboundSchema: z.ZodNativeEnum<{
30
30
  readonly Success: "success";
31
31
  readonly Failed: "failed";
32
32
  }>;
33
- /** @deprecated use `Status$outboundSchema` instead. */
33
+ /** @deprecated use `DeliveryAttemptStatus$outboundSchema` instead. */
34
34
  const outboundSchema: z.ZodNativeEnum<{
35
35
  readonly Success: "success";
36
36
  readonly Failed: "failed";
@@ -1 +1 @@
1
- {"version":3,"file":"deliveryattempt.d.ts","sourceRoot":"","sources":["../../../../src/models/components/deliveryattempt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,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;AAErE,eAAO,MAAM,MAAM;;;CAGT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,MAAM,CAC3C,CAAC;AAEtB,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,MAAM,CAC3C,CAAC;AAEvB;;;GAGG;AACH,yBAAiB,OAAO,CAAC;IACvB,sDAAsD;IAC/C,MAAM,aAAa;;;MAAuB,CAAC;IAClD,uDAAuD;IAChD,MAAM,cAAc;;;MAAwB,CAAC;CACrD;AAED,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,e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AAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CAcf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
@@ -4,30 +4,29 @@
4
4
  import * as z from "zod";
5
5
  import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
- export const Status = {
7
+ export const DeliveryAttemptStatus = {
8
8
  Success: "success",
9
9
  Failed: "failed",
10
10
  };
11
11
  /** @internal */
12
- export const Status$inboundSchema = z
13
- .nativeEnum(Status);
12
+ export const DeliveryAttemptStatus$inboundSchema = z.nativeEnum(DeliveryAttemptStatus);
14
13
  /** @internal */
15
- export const Status$outboundSchema = Status$inboundSchema;
14
+ export const DeliveryAttemptStatus$outboundSchema = DeliveryAttemptStatus$inboundSchema;
16
15
  /**
17
16
  * @internal
18
17
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
19
18
  */
20
- export var Status$;
21
- (function (Status$) {
22
- /** @deprecated use `Status$inboundSchema` instead. */
23
- Status$.inboundSchema = Status$inboundSchema;
24
- /** @deprecated use `Status$outboundSchema` instead. */
25
- Status$.outboundSchema = Status$outboundSchema;
26
- })(Status$ || (Status$ = {}));
19
+ export var DeliveryAttemptStatus$;
20
+ (function (DeliveryAttemptStatus$) {
21
+ /** @deprecated use `DeliveryAttemptStatus$inboundSchema` instead. */
22
+ DeliveryAttemptStatus$.inboundSchema = DeliveryAttemptStatus$inboundSchema;
23
+ /** @deprecated use `DeliveryAttemptStatus$outboundSchema` instead. */
24
+ DeliveryAttemptStatus$.outboundSchema = DeliveryAttemptStatus$outboundSchema;
25
+ })(DeliveryAttemptStatus$ || (DeliveryAttemptStatus$ = {}));
27
26
  /** @internal */
28
27
  export const DeliveryAttempt$inboundSchema = z.object({
29
28
  delivered_at: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
30
- status: Status$inboundSchema.optional(),
29
+ status: DeliveryAttemptStatus$inboundSchema.optional(),
31
30
  response_status_code: z.number().int().optional(),
32
31
  response_body: z.string().optional(),
33
32
  response_headers: z.record(z.string()).optional(),
@@ -42,7 +41,7 @@ export const DeliveryAttempt$inboundSchema = z.object({
42
41
  /** @internal */
43
42
  export const DeliveryAttempt$outboundSchema = z.object({
44
43
  deliveredAt: z.date().transform(v => v.toISOString()).optional(),
45
- status: Status$outboundSchema.optional(),
44
+ status: DeliveryAttemptStatus$outboundSchema.optional(),
46
45
  responseStatusCode: z.number().int().optional(),
47
46
  responseBody: z.string().optional(),
48
47
  responseHeaders: z.record(z.string()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"deliveryattempt.js","sourceRoot":"","sources":["../../../../src/models/components/deliveryattempt.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAWX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAmC,CAAC;KAClE,UAAU,CAAC,MAAM,CAAC,CAAC;AAEtB,gBAAgB;AAChB,MAAM,CA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,CAAC;AAC/E,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
@@ -5,6 +5,7 @@ import { DestinationAWSKinesis, DestinationAWSKinesis$Outbound } from "./destina
5
5
  import { DestinationAwss3, DestinationAwss3$Outbound } from "./destinationawss3.js";
6
6
  import { DestinationAWSSQS, DestinationAWSSQS$Outbound } from "./destinationawssqs.js";
7
7
  import { DestinationAzureServiceBus, DestinationAzureServiceBus$Outbound } from "./destinationazureservicebus.js";
8
+ import { DestinationGCPPubSub, DestinationGCPPubSub$Outbound } from "./destinationgcppubsub.js";
8
9
  import { DestinationHookdeck, DestinationHookdeck$Outbound } from "./destinationhookdeck.js";
9
10
  import { DestinationRabbitMQ, DestinationRabbitMQ$Outbound } from "./destinationrabbitmq.js";
10
11
  import { DestinationWebhook, DestinationWebhook$Outbound } from "./destinationwebhook.js";
@@ -20,6 +21,8 @@ export type Destination = (DestinationWebhook & {
20
21
  type: "azure_servicebus";
21
22
  }) | (DestinationAwss3 & {
22
23
  type: "aws_s3";
24
+ }) | (DestinationGCPPubSub & {
25
+ type: "gcp_pubsub";
23
26
  }) | (DestinationHookdeck & {
24
27
  type: "hookdeck";
25
28
  });
@@ -38,6 +41,8 @@ export type Destination$Outbound = (DestinationWebhook$Outbound & {
38
41
  type: "azure_servicebus";
39
42
  }) | (DestinationAwss3$Outbound & {
40
43
  type: "aws_s3";
44
+ }) | (DestinationGCPPubSub$Outbound & {
45
+ type: "gcp_pubsub";
41
46
  }) | (DestinationHookdeck$Outbound & {
42
47
  type: "hookdeck";
43
48
  });
@@ -1 +1 @@
1
- {"version":3,"file":"destination.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destination.ts"],"names":[],"mappings":"AA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esis$inboundSchema, DestinationAWSKinesis$outboundSche
7
7
  import { DestinationAwss3$inboundSchema, DestinationAwss3$outboundSchema, } from "./destinationawss3.js";
8
8
  import { DestinationAWSSQS$inboundSchema, DestinationAWSSQS$outboundSchema, } from "./destinationawssqs.js";
9
9
  import { DestinationAzureServiceBus$inboundSchema, DestinationAzureServiceBus$outboundSchema, } from "./destinationazureservicebus.js";
10
+ import { DestinationGCPPubSub$inboundSchema, DestinationGCPPubSub$outboundSchema, } from "./destinationgcppubsub.js";
10
11
  import { DestinationHookdeck$inboundSchema, DestinationHookdeck$outboundSchema, } from "./destinationhookdeck.js";
11
12
  import { DestinationRabbitMQ$inboundSchema, DestinationRabbitMQ$outboundSchema, } from "./destinationrabbitmq.js";
12
13
  import { DestinationWebhook$inboundSchema, DestinationWebhook$outboundSchema, } from "./destinationwebhook.js";
@@ -30,6 +31,9 @@ export const Destination$inboundSchema = z.union([
30
31
  DestinationAwss3$inboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
31
32
  type: v.type,
32
33
  }))),
34
+ DestinationGCPPubSub$inboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
35
+ type: v.type,
36
+ }))),
33
37
  DestinationHookdeck$inboundSchema.and(z.object({ type: z.literal("hookdeck") }).transform((v) => ({
34
38
  type: v.type,
35
39
  }))),
@@ -54,6 +58,9 @@ export const Destination$outboundSchema = z.union([
54
58
  DestinationAwss3$outboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
55
59
  type: v.type,
56
60
  }))),
61
+ DestinationGCPPubSub$outboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
62
+ type: v.type,
63
+ }))),
57
64
  DestinationHookdeck$outboundSchema.and(z.object({ type: z.literal("hookdeck") }).transform((v) => ({
58
65
  type: v.type,
59
66
  }))),
@@ -1 +1 @@
1
- {"version":3,"file":"destination.js","sourceRoot":"","sources":["../../../../src/models/components/destination.ts"],"names":[],"mappings":"AA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AAyC,CAC1C,CAAC;AACJ,CAAC"}
@@ -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,K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 +7,7 @@ import { DestinationCreateAWSKinesis$inboundSchema, DestinationCreateAWSKinesis$
7
7
  import { DestinationCreateAwss3$inboundSchema, DestinationCreateAwss3$outboundSchema, } from "./destinationcreateawss3.js";
8
8
  import { DestinationCreateAWSSQS$inboundSchema, DestinationCreateAWSSQS$outboundSchema, } from "./destinationcreateawssqs.js";
9
9
  import { DestinationCreateAzureServiceBus$inboundSchema, DestinationCreateAzureServiceBus$outboundSchema, } from "./destinationcreateazureservicebus.js";
10
+ import { DestinationCreateGCPPubSub$inboundSchema, DestinationCreateGCPPubSub$outboundSchema, } from "./destinationcreategcppubsub.js";
10
11
  import { DestinationCreateHookdeck$inboundSchema, DestinationCreateHookdeck$outboundSchema, } from "./destinationcreatehookdeck.js";
11
12
  import { DestinationCreateRabbitMQ$inboundSchema, DestinationCreateRabbitMQ$outboundSchema, } from "./destinationcreaterabbitmq.js";
12
13
  import { DestinationCreateWebhook$inboundSchema, DestinationCreateWebhook$outboundSchema, } from "./destinationcreatewebhook.js";
@@ -27,6 +28,9 @@ export const DestinationCreate$inboundSchema = z.union([
27
28
  DestinationCreateAwss3$inboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
28
29
  type: v.type,
29
30
  }))),
31
+ DestinationCreateGCPPubSub$inboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
32
+ type: v.type,
33
+ }))),
30
34
  DestinationCreateWebhook$inboundSchema.and(z.object({ type: z.literal("webhook") }).transform((v) => ({
31
35
  type: v.type,
32
36
  }))),
@@ -51,6 +55,9 @@ export const DestinationCreate$outboundSchema = z.union([
51
55
  DestinationCreateAwss3$outboundSchema.and(z.object({ type: z.literal("aws_s3") }).transform((v) => ({
52
56
  type: v.type,
53
57
  }))),
58
+ DestinationCreateGCPPubSub$outboundSchema.and(z.object({ type: z.literal("gcp_pubsub") }).transform((v) => ({
59
+ type: v.type,
60
+ }))),
54
61
  DestinationCreateWebhook$outboundSchema.and(z.object({ type: z.literal("webhook") }).transform((v) => ({
55
62
  type: v.type,
56
63
  }))),
@@ -1 +1 @@
1
- {"version":3,"file":"destinationcreate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,yCAAyC,EAEzC,0CAA0C,GAC3C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,oCAAoC,EAEpC,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,qCAAqC,EAErC,sCAAsC,GACvC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,8CAA8C,EAE9C,+CAA+C,GAChD,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,uCAAuC,EAEvC,wCAAwC,GACzC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,uCAAuC,EAEvC,wCAAwC,GACzC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,sCAAsC,EAEtC,uCAAuC,GACxC,MAAM,+BAA+B,CAAC;AAWvC,gBAAgB;AAChB,MAAM,CAAC,MAAM,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,qCAAqC,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,uCAAuC,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,CA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C,IAAI;KACb,CAAC,CAAC,CACJ;IACD,uCAAuC,CAAC,GAAG,CACzC,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,wCAAwC,CAAC,GAAG,CAC1C,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;CACF,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,+BAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,gCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,KAAlB,kBAAkB,QAOlC;AAED,MAAM,UAAU,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAA+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;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;A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AC;AAED,MAAM,UAAU,yBAAyB,CACvC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAA+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,63 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod";
5
+ import { safeParse } from "../../lib/schemas.js";
6
+ import { GCPPubSubConfig$inboundSchema, GCPPubSubConfig$outboundSchema, } from "./gcppubsubconfig.js";
7
+ import { GCPPubSubCredentials$inboundSchema, GCPPubSubCredentials$outboundSchema, } from "./gcppubsubcredentials.js";
8
+ import { Topics$inboundSchema, Topics$outboundSchema, } from "./topics.js";
9
+ /**
10
+ * Type of the destination. Must be 'gcp_pubsub'.
11
+ */
12
+ export const DestinationCreateGCPPubSubType = {
13
+ GcpPubsub: "gcp_pubsub",
14
+ };
15
+ /** @internal */
16
+ export const DestinationCreateGCPPubSubType$inboundSchema = z.nativeEnum(DestinationCreateGCPPubSubType);
17
+ /** @internal */
18
+ export const DestinationCreateGCPPubSubType$outboundSchema = DestinationCreateGCPPubSubType$inboundSchema;
19
+ /**
20
+ * @internal
21
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
+ */
23
+ export var DestinationCreateGCPPubSubType$;
24
+ (function (DestinationCreateGCPPubSubType$) {
25
+ /** @deprecated use `DestinationCreateGCPPubSubType$inboundSchema` instead. */
26
+ DestinationCreateGCPPubSubType$.inboundSchema = DestinationCreateGCPPubSubType$inboundSchema;
27
+ /** @deprecated use `DestinationCreateGCPPubSubType$outboundSchema` instead. */
28
+ DestinationCreateGCPPubSubType$.outboundSchema = DestinationCreateGCPPubSubType$outboundSchema;
29
+ })(DestinationCreateGCPPubSubType$ || (DestinationCreateGCPPubSubType$ = {}));
30
+ /** @internal */
31
+ export const DestinationCreateGCPPubSub$inboundSchema = z.object({
32
+ id: z.string().optional(),
33
+ type: DestinationCreateGCPPubSubType$inboundSchema,
34
+ topics: Topics$inboundSchema,
35
+ config: GCPPubSubConfig$inboundSchema,
36
+ credentials: GCPPubSubCredentials$inboundSchema,
37
+ });
38
+ /** @internal */
39
+ export const DestinationCreateGCPPubSub$outboundSchema = z.object({
40
+ id: z.string().optional(),
41
+ type: DestinationCreateGCPPubSubType$outboundSchema,
42
+ topics: Topics$outboundSchema,
43
+ config: GCPPubSubConfig$outboundSchema,
44
+ credentials: GCPPubSubCredentials$outboundSchema,
45
+ });
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export var DestinationCreateGCPPubSub$;
51
+ (function (DestinationCreateGCPPubSub$) {
52
+ /** @deprecated use `DestinationCreateGCPPubSub$inboundSchema` instead. */
53
+ DestinationCreateGCPPubSub$.inboundSchema = DestinationCreateGCPPubSub$inboundSchema;
54
+ /** @deprecated use `DestinationCreateGCPPubSub$outboundSchema` instead. */
55
+ DestinationCreateGCPPubSub$.outboundSchema = DestinationCreateGCPPubSub$outboundSchema;
56
+ })(DestinationCreateGCPPubSub$ || (DestinationCreateGCPPubSub$ = {}));
57
+ export function destinationCreateGCPPubSubToJSON(destinationCreateGCPPubSub) {
58
+ return JSON.stringify(DestinationCreateGCPPubSub$outboundSchema.parse(destinationCreateGCPPubSub));
59
+ }
60
+ export function destinationCreateGCPPubSubFromJSON(jsonString) {
61
+ return safeParse(jsonString, (x) => DestinationCreateGCPPubSub$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationCreateGCPPubSub' from JSON`);
62
+ }
63
+ //# sourceMappingURL=destinationcreategcppubsub.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationcreategcppubsub.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreategcppubsub.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,kCAAkC,EAElC,mCAAmC,GACpC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,oBAAoB,EAEpB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,SAAS,EAAE,YAAY;CACf,CAAC;AAyBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,8BAA8B,CAAC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AO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,98 @@
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.
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":"destinationgcppubsub.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationgcppubsub.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,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,wBAAwB;;CAE3B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,EAAE,oBAAoB,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;I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