@keystrokehq/nango 0.1.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 (226) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/action-trigger-post.cjs +21 -0
  7. package/dist/actions/action-trigger-post.cjs.map +1 -0
  8. package/dist/actions/action-trigger-post.d.cts +9 -0
  9. package/dist/actions/action-trigger-post.d.cts.map +1 -0
  10. package/dist/actions/action-trigger-post.d.mts +9 -0
  11. package/dist/actions/action-trigger-post.d.mts.map +1 -0
  12. package/dist/actions/action-trigger-post.mjs +18 -0
  13. package/dist/actions/action-trigger-post.mjs.map +1 -0
  14. package/dist/actions/add-connection.cjs +88 -0
  15. package/dist/actions/add-connection.cjs.map +1 -0
  16. package/dist/actions/add-connection.d.cts +9 -0
  17. package/dist/actions/add-connection.d.cts.map +1 -0
  18. package/dist/actions/add-connection.d.mts +9 -0
  19. package/dist/actions/add-connection.d.mts.map +1 -0
  20. package/dist/actions/add-connection.mjs +87 -0
  21. package/dist/actions/add-connection.mjs.map +1 -0
  22. package/dist/actions/connection-get.cjs +43 -0
  23. package/dist/actions/connection-get.cjs.map +1 -0
  24. package/dist/actions/connection-get.d.cts +9 -0
  25. package/dist/actions/connection-get.d.cts.map +1 -0
  26. package/dist/actions/connection-get.d.mts +9 -0
  27. package/dist/actions/connection-get.d.mts.map +1 -0
  28. package/dist/actions/connection-get.mjs +42 -0
  29. package/dist/actions/connection-get.mjs.map +1 -0
  30. package/dist/actions/create-connect-session.cjs +36 -0
  31. package/dist/actions/create-connect-session.cjs.map +1 -0
  32. package/dist/actions/create-connect-session.d.cts +9 -0
  33. package/dist/actions/create-connect-session.d.cts.map +1 -0
  34. package/dist/actions/create-connect-session.d.mts +9 -0
  35. package/dist/actions/create-connect-session.d.mts.map +1 -0
  36. package/dist/actions/create-connect-session.mjs +35 -0
  37. package/dist/actions/create-connect-session.mjs.map +1 -0
  38. package/dist/actions/create-integration.cjs +52 -0
  39. package/dist/actions/create-integration.cjs.map +1 -0
  40. package/dist/actions/create-integration.d.cts +9 -0
  41. package/dist/actions/create-integration.d.cts.map +1 -0
  42. package/dist/actions/create-integration.d.mts +9 -0
  43. package/dist/actions/create-integration.d.mts.map +1 -0
  44. package/dist/actions/create-integration.mjs +51 -0
  45. package/dist/actions/create-integration.mjs.map +1 -0
  46. package/dist/actions/delete-connection.cjs +19 -0
  47. package/dist/actions/delete-connection.cjs.map +1 -0
  48. package/dist/actions/delete-connection.d.cts +9 -0
  49. package/dist/actions/delete-connection.d.cts.map +1 -0
  50. package/dist/actions/delete-connection.d.mts +9 -0
  51. package/dist/actions/delete-connection.d.mts.map +1 -0
  52. package/dist/actions/delete-connection.mjs +16 -0
  53. package/dist/actions/delete-connection.mjs.map +1 -0
  54. package/dist/actions/delete-integration.cjs +16 -0
  55. package/dist/actions/delete-integration.cjs.map +1 -0
  56. package/dist/actions/delete-integration.d.cts +9 -0
  57. package/dist/actions/delete-integration.d.cts.map +1 -0
  58. package/dist/actions/delete-integration.d.mts +9 -0
  59. package/dist/actions/delete-integration.d.mts.map +1 -0
  60. package/dist/actions/delete-integration.mjs +13 -0
  61. package/dist/actions/delete-integration.mjs.map +1 -0
  62. package/dist/actions/edit-connection.cjs +26 -0
  63. package/dist/actions/edit-connection.cjs.map +1 -0
  64. package/dist/actions/edit-connection.d.cts +9 -0
  65. package/dist/actions/edit-connection.d.cts.map +1 -0
  66. package/dist/actions/edit-connection.d.mts +9 -0
  67. package/dist/actions/edit-connection.d.mts.map +1 -0
  68. package/dist/actions/edit-connection.mjs +23 -0
  69. package/dist/actions/edit-connection.mjs.map +1 -0
  70. package/dist/actions/get-connection.cjs +47 -0
  71. package/dist/actions/get-connection.cjs.map +1 -0
  72. package/dist/actions/get-connection.d.cts +9 -0
  73. package/dist/actions/get-connection.d.cts.map +1 -0
  74. package/dist/actions/get-connection.d.mts +9 -0
  75. package/dist/actions/get-connection.d.mts.map +1 -0
  76. package/dist/actions/get-connection.mjs +46 -0
  77. package/dist/actions/get-connection.mjs.map +1 -0
  78. package/dist/actions/get-environment-variables.cjs +20 -0
  79. package/dist/actions/get-environment-variables.cjs.map +1 -0
  80. package/dist/actions/get-environment-variables.d.cts +9 -0
  81. package/dist/actions/get-environment-variables.d.cts.map +1 -0
  82. package/dist/actions/get-environment-variables.d.mts +9 -0
  83. package/dist/actions/get-environment-variables.d.mts.map +1 -0
  84. package/dist/actions/get-environment-variables.mjs +19 -0
  85. package/dist/actions/get-environment-variables.mjs.map +1 -0
  86. package/dist/actions/get-integration.cjs +36 -0
  87. package/dist/actions/get-integration.cjs.map +1 -0
  88. package/dist/actions/get-integration.d.cts +9 -0
  89. package/dist/actions/get-integration.d.cts.map +1 -0
  90. package/dist/actions/get-integration.d.mts +9 -0
  91. package/dist/actions/get-integration.d.mts.map +1 -0
  92. package/dist/actions/get-integration.mjs +35 -0
  93. package/dist/actions/get-integration.mjs.map +1 -0
  94. package/dist/actions/get-proxy.cjs +38 -0
  95. package/dist/actions/get-proxy.cjs.map +1 -0
  96. package/dist/actions/get-proxy.d.cts +9 -0
  97. package/dist/actions/get-proxy.d.cts.map +1 -0
  98. package/dist/actions/get-proxy.d.mts +9 -0
  99. package/dist/actions/get-proxy.d.mts.map +1 -0
  100. package/dist/actions/get-proxy.mjs +35 -0
  101. package/dist/actions/get-proxy.mjs.map +1 -0
  102. package/dist/actions/get-sync-status.cjs +42 -0
  103. package/dist/actions/get-sync-status.cjs.map +1 -0
  104. package/dist/actions/get-sync-status.d.cts +9 -0
  105. package/dist/actions/get-sync-status.d.cts.map +1 -0
  106. package/dist/actions/get-sync-status.d.mts +9 -0
  107. package/dist/actions/get-sync-status.d.mts.map +1 -0
  108. package/dist/actions/get-sync-status.mjs +41 -0
  109. package/dist/actions/get-sync-status.mjs.map +1 -0
  110. package/dist/actions/index.cjs +49 -0
  111. package/dist/actions/index.d.cts +25 -0
  112. package/dist/actions/index.d.mts +25 -0
  113. package/dist/actions/index.mjs +25 -0
  114. package/dist/actions/list-connections.cjs +45 -0
  115. package/dist/actions/list-connections.cjs.map +1 -0
  116. package/dist/actions/list-connections.d.cts +9 -0
  117. package/dist/actions/list-connections.d.cts.map +1 -0
  118. package/dist/actions/list-connections.d.mts +9 -0
  119. package/dist/actions/list-connections.d.mts.map +1 -0
  120. package/dist/actions/list-connections.mjs +44 -0
  121. package/dist/actions/list-connections.mjs.map +1 -0
  122. package/dist/actions/list-integrations.cjs +24 -0
  123. package/dist/actions/list-integrations.cjs.map +1 -0
  124. package/dist/actions/list-integrations.d.cts +9 -0
  125. package/dist/actions/list-integrations.d.cts.map +1 -0
  126. package/dist/actions/list-integrations.d.mts +9 -0
  127. package/dist/actions/list-integrations.d.mts.map +1 -0
  128. package/dist/actions/list-integrations.mjs +23 -0
  129. package/dist/actions/list-integrations.mjs.map +1 -0
  130. package/dist/actions/providers-get-get.cjs +30 -0
  131. package/dist/actions/providers-get-get.cjs.map +1 -0
  132. package/dist/actions/providers-get-get.d.cts +9 -0
  133. package/dist/actions/providers-get-get.d.cts.map +1 -0
  134. package/dist/actions/providers-get-get.d.mts +9 -0
  135. package/dist/actions/providers-get-get.d.mts.map +1 -0
  136. package/dist/actions/providers-get-get.mjs +27 -0
  137. package/dist/actions/providers-get-get.mjs.map +1 -0
  138. package/dist/actions/providers-list-get.cjs +25 -0
  139. package/dist/actions/providers-list-get.cjs.map +1 -0
  140. package/dist/actions/providers-list-get.d.cts +9 -0
  141. package/dist/actions/providers-list-get.d.cts.map +1 -0
  142. package/dist/actions/providers-list-get.d.mts +9 -0
  143. package/dist/actions/providers-list-get.d.mts.map +1 -0
  144. package/dist/actions/providers-list-get.mjs +24 -0
  145. package/dist/actions/providers-list-get.mjs.map +1 -0
  146. package/dist/actions/put-proxy.cjs +39 -0
  147. package/dist/actions/put-proxy.cjs.map +1 -0
  148. package/dist/actions/put-proxy.d.cts +9 -0
  149. package/dist/actions/put-proxy.d.cts.map +1 -0
  150. package/dist/actions/put-proxy.d.mts +9 -0
  151. package/dist/actions/put-proxy.d.mts.map +1 -0
  152. package/dist/actions/put-proxy.mjs +36 -0
  153. package/dist/actions/put-proxy.mjs.map +1 -0
  154. package/dist/actions/reconnect-session-post.cjs +37 -0
  155. package/dist/actions/reconnect-session-post.cjs.map +1 -0
  156. package/dist/actions/reconnect-session-post.d.cts +9 -0
  157. package/dist/actions/reconnect-session-post.d.cts.map +1 -0
  158. package/dist/actions/reconnect-session-post.d.mts +9 -0
  159. package/dist/actions/reconnect-session-post.d.mts.map +1 -0
  160. package/dist/actions/reconnect-session-post.mjs +36 -0
  161. package/dist/actions/reconnect-session-post.mjs.map +1 -0
  162. package/dist/actions/scripts-config-get.cjs +66 -0
  163. package/dist/actions/scripts-config-get.cjs.map +1 -0
  164. package/dist/actions/scripts-config-get.d.cts +9 -0
  165. package/dist/actions/scripts-config-get.d.cts.map +1 -0
  166. package/dist/actions/scripts-config-get.d.mts +9 -0
  167. package/dist/actions/scripts-config-get.d.mts.map +1 -0
  168. package/dist/actions/scripts-config-get.mjs +65 -0
  169. package/dist/actions/scripts-config-get.mjs.map +1 -0
  170. package/dist/actions/set-connection-metadata.cjs +24 -0
  171. package/dist/actions/set-connection-metadata.cjs.map +1 -0
  172. package/dist/actions/set-connection-metadata.d.cts +9 -0
  173. package/dist/actions/set-connection-metadata.d.cts.map +1 -0
  174. package/dist/actions/set-connection-metadata.d.mts +9 -0
  175. package/dist/actions/set-connection-metadata.d.mts.map +1 -0
  176. package/dist/actions/set-connection-metadata.mjs +21 -0
  177. package/dist/actions/set-connection-metadata.mjs.map +1 -0
  178. package/dist/actions/sync-trigger-post.cjs +25 -0
  179. package/dist/actions/sync-trigger-post.cjs.map +1 -0
  180. package/dist/actions/sync-trigger-post.d.cts +9 -0
  181. package/dist/actions/sync-trigger-post.d.cts.map +1 -0
  182. package/dist/actions/sync-trigger-post.d.mts +9 -0
  183. package/dist/actions/sync-trigger-post.d.mts.map +1 -0
  184. package/dist/actions/sync-trigger-post.mjs +22 -0
  185. package/dist/actions/sync-trigger-post.mjs.map +1 -0
  186. package/dist/actions/update-connection-metadata.cjs +24 -0
  187. package/dist/actions/update-connection-metadata.cjs.map +1 -0
  188. package/dist/actions/update-connection-metadata.d.cts +9 -0
  189. package/dist/actions/update-connection-metadata.d.cts.map +1 -0
  190. package/dist/actions/update-connection-metadata.d.mts +9 -0
  191. package/dist/actions/update-connection-metadata.d.mts.map +1 -0
  192. package/dist/actions/update-connection-metadata.mjs +21 -0
  193. package/dist/actions/update-connection-metadata.mjs.map +1 -0
  194. package/dist/actions/update-integration.cjs +51 -0
  195. package/dist/actions/update-integration.cjs.map +1 -0
  196. package/dist/actions/update-integration.d.cts +9 -0
  197. package/dist/actions/update-integration.d.cts.map +1 -0
  198. package/dist/actions/update-integration.d.mts +9 -0
  199. package/dist/actions/update-integration.d.mts.map +1 -0
  200. package/dist/actions/update-integration.mjs +50 -0
  201. package/dist/actions/update-integration.mjs.map +1 -0
  202. package/dist/app.cjs +9 -0
  203. package/dist/app.cjs.map +1 -0
  204. package/dist/app.d.cts +5 -0
  205. package/dist/app.d.cts.map +1 -0
  206. package/dist/app.d.mts +5 -0
  207. package/dist/app.d.mts.map +1 -0
  208. package/dist/app.mjs +10 -0
  209. package/dist/app.mjs.map +1 -0
  210. package/dist/catalog.cjs +15 -0
  211. package/dist/catalog.cjs.map +1 -0
  212. package/dist/catalog.d.cts +14 -0
  213. package/dist/catalog.d.cts.map +1 -0
  214. package/dist/catalog.d.mts +14 -0
  215. package/dist/catalog.d.mts.map +1 -0
  216. package/dist/catalog.mjs +15 -0
  217. package/dist/catalog.mjs.map +1 -0
  218. package/dist/execute.cjs +18 -0
  219. package/dist/execute.cjs.map +1 -0
  220. package/dist/execute.mjs +18 -0
  221. package/dist/execute.mjs.map +1 -0
  222. package/dist/index.cjs +54 -0
  223. package/dist/index.d.cts +27 -0
  224. package/dist/index.d.mts +27 -0
  225. package/dist/index.mjs +28 -0
  226. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connect-session.cjs","names":["z","action"],"sources":["../../src/actions/create-connect-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoCreateConnectSessionInput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"Unique identifier for the end user. Required field.\"),\n tags: z.object({}).describe(\"Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.\").optional(),\n email: z.string().describe(\"Email address of the end user.\").optional(),\n display_name: z.string().describe(\"Display name for the end user.\").optional(),\n}).describe(\"End user information object. The 'id' field is required.\"),\n overrides: z.object({}).describe(\"Override settings for integrations, keyed by integration unique name.\").optional(),\n organization: z.object({\n id: z.string().describe(\"Unique identifier for the organization the end user belongs to.\"),\n display_name: z.string().describe(\"Display name for the organization.\").optional(),\n}).describe(\"Organization information for the connect session.\").optional(),\n allowed_integrations: z.array(z.string()).describe(\"List of integration IDs to filter which integrations the end user can interact with in the Connect UI.\").optional(),\n integrations_config_defaults: z.object({}).describe(\"Default configuration settings for integrations, keyed by integration unique name.\").optional(),\n}).describe(\"Request model for creating a new connect session.\");\nconst NangoCreateConnectSession_ConnectSessionDataSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The connect session token used for authentication.\"),\n expires_at: z.string().describe(\"ISO 8601 timestamp indicating when the session token expires (typically 30 minutes from creation).\"),\n connect_link: z.string().describe(\"Direct URL to connect the user to the integration. Can be used as a magic link.\").nullable().optional(),\n}).describe(\"Data object containing the connect session details.\");\nexport const NangoCreateConnectSessionOutput: z.ZodTypeAny = z.object({\n data: NangoCreateConnectSession_ConnectSessionDataSchema.nullable(),\n}).describe(\"Response model for creating a connect session.\");\n\nexport const nangoCreateConnectSession = action(\"NANGO_CREATE_CONNECT_SESSION\", {\n slug: \"nango-create-connect-session\",\n name: \"Create Connect Session\",\n description: \"Tool to create a new connect session with a 30-minute lifespan for enabling connection creation via Connect UI. Use when you need to generate a session token for users to authorize integrations through Nango's Connect interface.\",\n input: NangoCreateConnectSessionInput,\n output: NangoCreateConnectSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,OAAO;EACnB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACtJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxE,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtK,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACpI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAM,mDAAmD,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-connect-session.d.ts
4
+ declare const NangoCreateConnectSessionInput: z.ZodTypeAny;
5
+ declare const NangoCreateConnectSessionOutput: z.ZodTypeAny;
6
+ declare const nangoCreateConnectSession: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoCreateConnectSession };
9
+ //# sourceMappingURL=create-connect-session.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connect-session.d.cts","names":[],"sources":["../../src/actions/create-connect-session.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAeiB;AAAA,cAMnD,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-connect-session.d.ts
4
+ declare const NangoCreateConnectSessionInput: z.ZodTypeAny;
5
+ declare const NangoCreateConnectSessionOutput: z.ZodTypeAny;
6
+ declare const nangoCreateConnectSession: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoCreateConnectSession };
9
+ //# sourceMappingURL=create-connect-session.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connect-session.d.mts","names":[],"sources":["../../src/actions/create-connect-session.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAeiB;AAAA,cAMnD,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-connect-session.ts
4
+ const NangoCreateConnectSessionInput = z.object({
5
+ tags: z.object({}).describe("Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.").optional(),
6
+ end_user: z.object({
7
+ id: z.string().describe("Unique identifier for the end user. Required field."),
8
+ tags: z.object({}).describe("Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.").optional(),
9
+ email: z.string().describe("Email address of the end user.").optional(),
10
+ display_name: z.string().describe("Display name for the end user.").optional()
11
+ }).describe("End user information object. The 'id' field is required."),
12
+ overrides: z.object({}).describe("Override settings for integrations, keyed by integration unique name.").optional(),
13
+ organization: z.object({
14
+ id: z.string().describe("Unique identifier for the organization the end user belongs to."),
15
+ display_name: z.string().describe("Display name for the organization.").optional()
16
+ }).describe("Organization information for the connect session.").optional(),
17
+ allowed_integrations: z.array(z.string()).describe("List of integration IDs to filter which integrations the end user can interact with in the Connect UI.").optional(),
18
+ integrations_config_defaults: z.object({}).describe("Default configuration settings for integrations, keyed by integration unique name.").optional()
19
+ }).describe("Request model for creating a new connect session.");
20
+ const NangoCreateConnectSession_ConnectSessionDataSchema = z.object({
21
+ token: z.string().describe("The connect session token used for authentication."),
22
+ expires_at: z.string().describe("ISO 8601 timestamp indicating when the session token expires (typically 30 minutes from creation)."),
23
+ connect_link: z.string().describe("Direct URL to connect the user to the integration. Can be used as a magic link.").nullable().optional()
24
+ }).describe("Data object containing the connect session details.");
25
+ const nangoCreateConnectSession = action("NANGO_CREATE_CONNECT_SESSION", {
26
+ slug: "nango-create-connect-session",
27
+ name: "Create Connect Session",
28
+ description: "Tool to create a new connect session with a 30-minute lifespan for enabling connection creation via Connect UI. Use when you need to generate a session token for users to authorize integrations through Nango's Connect interface.",
29
+ input: NangoCreateConnectSessionInput,
30
+ output: z.object({ data: NangoCreateConnectSession_ConnectSessionDataSchema.nullable() }).describe("Response model for creating a connect session.")
31
+ });
32
+ //#endregion
33
+ export { nangoCreateConnectSession };
34
+
35
+ //# sourceMappingURL=create-connect-session.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connect-session.mjs","names":[],"sources":["../../src/actions/create-connect-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoCreateConnectSessionInput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"Unique identifier for the end user. Required field.\"),\n tags: z.object({}).describe(\"Connection tags as key/value pairs. Keys are normalized to lowercase. Maximum value length is 255 characters.\").optional(),\n email: z.string().describe(\"Email address of the end user.\").optional(),\n display_name: z.string().describe(\"Display name for the end user.\").optional(),\n}).describe(\"End user information object. The 'id' field is required.\"),\n overrides: z.object({}).describe(\"Override settings for integrations, keyed by integration unique name.\").optional(),\n organization: z.object({\n id: z.string().describe(\"Unique identifier for the organization the end user belongs to.\"),\n display_name: z.string().describe(\"Display name for the organization.\").optional(),\n}).describe(\"Organization information for the connect session.\").optional(),\n allowed_integrations: z.array(z.string()).describe(\"List of integration IDs to filter which integrations the end user can interact with in the Connect UI.\").optional(),\n integrations_config_defaults: z.object({}).describe(\"Default configuration settings for integrations, keyed by integration unique name.\").optional(),\n}).describe(\"Request model for creating a new connect session.\");\nconst NangoCreateConnectSession_ConnectSessionDataSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"The connect session token used for authentication.\"),\n expires_at: z.string().describe(\"ISO 8601 timestamp indicating when the session token expires (typically 30 minutes from creation).\"),\n connect_link: z.string().describe(\"Direct URL to connect the user to the integration. Can be used as a magic link.\").nullable().optional(),\n}).describe(\"Data object containing the connect session details.\");\nexport const NangoCreateConnectSessionOutput: z.ZodTypeAny = z.object({\n data: NangoCreateConnectSession_ConnectSessionDataSchema.nullable(),\n}).describe(\"Response model for creating a connect session.\");\n\nexport const nangoCreateConnectSession = action(\"NANGO_CREATE_CONNECT_SESSION\", {\n slug: \"nango-create-connect-session\",\n name: \"Create Connect Session\",\n description: \"Tool to create a new connect session with a 30-minute lifespan for enabling connection creation via Connect UI. Use when you need to generate a session token for users to authorize integrations through Nango's Connect interface.\",\n input: NangoCreateConnectSessionInput,\n output: NangoCreateConnectSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,OAAO;EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACtJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO;EACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACxE,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACtK,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,qDAAmE,EAAE,OAAO;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;CACpI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,MAAM,mDAAmD,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,52 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-integration.ts
4
+ const NangoCreateIntegrationInput = zod.z.object({
5
+ provider: zod.z.string().describe("The provider unique name (e.g., github, slack, salesforce). Use List Providers to get valid provider names."),
6
+ unique_key: zod.z.string().describe("A unique integration ID, which you will use in other API calls to reference this integration. Must be unique across your Nango account."),
7
+ credentials: zod.z.union([
8
+ zod.z.object({
9
+ type: zod.z.string().describe("Credential type, must be 'OAUTH2'."),
10
+ scopes: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).nullable().optional(),
11
+ client_id: zod.z.string().describe("OAuth2 client ID from the provider's app configuration."),
12
+ client_secret: zod.z.string().describe("OAuth2 client secret from the provider's app configuration."),
13
+ webhook_secret: zod.z.string().nullable().optional()
14
+ }).describe("OAuth2 authentication credentials schema."),
15
+ zod.z.object({
16
+ type: zod.z.string().describe("Credential type, must be 'APP'."),
17
+ app_id: zod.z.string().describe("Application ID from the provider."),
18
+ app_link: zod.z.string().describe("Link to the application in the provider's dashboard."),
19
+ private_key: zod.z.string().describe("Private key for the application, typically in PEM format.")
20
+ }).describe("App-based authentication credentials schema (e.g., GitHub App)."),
21
+ zod.z.object({
22
+ type: zod.z.string().describe("Credential type, must be 'HYBRID'."),
23
+ app_id: zod.z.string().describe("Application ID."),
24
+ app_link: zod.z.string().describe("Link to the application."),
25
+ client_id: zod.z.string().describe("OAuth2 client ID."),
26
+ private_key: zod.z.string().describe("Private key for the application."),
27
+ client_secret: zod.z.string().describe("OAuth2 client secret.")
28
+ }).describe("Hybrid authentication credentials combining OAuth2 and App authentication.")
29
+ ]).optional(),
30
+ display_name: zod.z.string().describe("Human-readable display name for the integration. If not provided, defaults to the provider name.").optional()
31
+ }).describe("Request model for creating a new Nango integration.");
32
+ const NangoCreateIntegration_IntegrationDataSchema = zod.z.object({
33
+ logo: zod.z.string().describe("URL to the provider's logo.").nullable().optional(),
34
+ provider: zod.z.string().describe("Provider name."),
35
+ created_at: zod.z.string().describe("Integration creation timestamp in ISO 8601 format."),
36
+ unique_key: zod.z.string().describe("The unique integration identifier."),
37
+ updated_at: zod.z.string().describe("Integration last update timestamp in ISO 8601 format."),
38
+ display_name: zod.z.string().describe("Display name of the integration."),
39
+ forward_webhooks: zod.z.boolean().describe("Whether webhooks should be forwarded for this integration.").nullable().optional()
40
+ }).describe("Response data for a created integration.");
41
+ const NangoCreateIntegrationOutput = zod.z.object({ data: NangoCreateIntegration_IntegrationDataSchema.nullable() }).describe("Response model for creating an integration.");
42
+ const nangoCreateIntegration = require_action.action("NANGO_CREATE_INTEGRATION", {
43
+ slug: "nango-create-integration",
44
+ name: "Create Integration",
45
+ description: "Tool to create a new integration in Nango. Use when setting up a new provider connection configuration. Creates an integration with specified credentials (OAuth2, App-based, or Hybrid authentication). The unique_key will be used to reference this integration in subsequent API calls. Returns the created integration details including timestamps and provider information.",
46
+ input: NangoCreateIntegrationInput,
47
+ output: NangoCreateIntegrationOutput
48
+ });
49
+ //#endregion
50
+ exports.nangoCreateIntegration = nangoCreateIntegration;
51
+
52
+ //# sourceMappingURL=create-integration.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-integration.cjs","names":["z","action"],"sources":["../../src/actions/create-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoCreateIntegrationInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"The provider unique name (e.g., github, slack, salesforce). Use List Providers to get valid provider names.\"),\n unique_key: z.string().describe(\"A unique integration ID, which you will use in other API calls to reference this integration. Must be unique across your Nango account.\"),\n credentials: z.union([z.object({\n type: z.string().describe(\"Credential type, must be 'OAUTH2'.\"),\n scopes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n client_id: z.string().describe(\"OAuth2 client ID from the provider's app configuration.\"),\n client_secret: z.string().describe(\"OAuth2 client secret from the provider's app configuration.\"),\n webhook_secret: z.string().nullable().optional(),\n}).describe(\"OAuth2 authentication credentials schema.\"), z.object({\n type: z.string().describe(\"Credential type, must be 'APP'.\"),\n app_id: z.string().describe(\"Application ID from the provider.\"),\n app_link: z.string().describe(\"Link to the application in the provider's dashboard.\"),\n private_key: z.string().describe(\"Private key for the application, typically in PEM format.\"),\n}).describe(\"App-based authentication credentials schema (e.g., GitHub App).\"), z.object({\n type: z.string().describe(\"Credential type, must be 'HYBRID'.\"),\n app_id: z.string().describe(\"Application ID.\"),\n app_link: z.string().describe(\"Link to the application.\"),\n client_id: z.string().describe(\"OAuth2 client ID.\"),\n private_key: z.string().describe(\"Private key for the application.\"),\n client_secret: z.string().describe(\"OAuth2 client secret.\"),\n}).describe(\"Hybrid authentication credentials combining OAuth2 and App authentication.\")]).optional(),\n display_name: z.string().describe(\"Human-readable display name for the integration. If not provided, defaults to the provider name.\").optional(),\n}).describe(\"Request model for creating a new Nango integration.\");\nconst NangoCreateIntegration_IntegrationDataSchema: z.ZodTypeAny = z.object({\n logo: z.string().describe(\"URL to the provider's logo.\").nullable().optional(),\n provider: z.string().describe(\"Provider name.\"),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format.\"),\n unique_key: z.string().describe(\"The unique integration identifier.\"),\n updated_at: z.string().describe(\"Integration last update timestamp in ISO 8601 format.\"),\n display_name: z.string().describe(\"Display name of the integration.\"),\n forward_webhooks: z.boolean().describe(\"Whether webhooks should be forwarded for this integration.\").nullable().optional(),\n}).describe(\"Response data for a created integration.\");\nexport const NangoCreateIntegrationOutput: z.ZodTypeAny = z.object({\n data: NangoCreateIntegration_IntegrationDataSchema.nullable(),\n}).describe(\"Response model for creating an integration.\");\n\nexport const nangoCreateIntegration = action(\"NANGO_CREATE_INTEGRATION\", {\n slug: \"nango-create-integration\",\n name: \"Create Integration\",\n description: \"Tool to create a new integration in Nango. Use when setting up a new provider connection configuration. Creates an integration with specified credentials (OAuth2, App-based, or Hybrid authentication). The unique_key will be used to reference this integration in subsequent API calls. Returns the created integration details including timestamps and provider information.\",\n input: NangoCreateIntegrationInput,\n output: NangoCreateIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC3I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACzK,aAAaA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;GAC/B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;GACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjD,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAAGA,IAAAA,EAAE,OAAO;GACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;GACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC9F,CAAC,CAAC,CAAC,SAAS,iEAAiE;EAAGA,IAAAA,EAAE,OAAO;GACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;GAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;GACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAC5D,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAAC,CAAC,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC9C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACpE,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-integration.d.ts
4
+ declare const NangoCreateIntegrationInput: z.ZodTypeAny;
5
+ declare const NangoCreateIntegrationOutput: z.ZodTypeAny;
6
+ declare const nangoCreateIntegration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoCreateIntegration };
9
+ //# sourceMappingURL=create-integration.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-integration.d.cts","names":[],"sources":["../../src/actions/create-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAuBsB;AAAA,cAUrD,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-integration.d.ts
4
+ declare const NangoCreateIntegrationInput: z.ZodTypeAny;
5
+ declare const NangoCreateIntegrationOutput: z.ZodTypeAny;
6
+ declare const nangoCreateIntegration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoCreateIntegration };
9
+ //# sourceMappingURL=create-integration.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-integration.d.mts","names":[],"sources":["../../src/actions/create-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAuBsB;AAAA,cAUrD,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,51 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-integration.ts
4
+ const NangoCreateIntegrationInput = z.object({
5
+ provider: z.string().describe("The provider unique name (e.g., github, slack, salesforce). Use List Providers to get valid provider names."),
6
+ unique_key: z.string().describe("A unique integration ID, which you will use in other API calls to reference this integration. Must be unique across your Nango account."),
7
+ credentials: z.union([
8
+ z.object({
9
+ type: z.string().describe("Credential type, must be 'OAUTH2'."),
10
+ scopes: z.union([z.string(), z.array(z.string())]).nullable().optional(),
11
+ client_id: z.string().describe("OAuth2 client ID from the provider's app configuration."),
12
+ client_secret: z.string().describe("OAuth2 client secret from the provider's app configuration."),
13
+ webhook_secret: z.string().nullable().optional()
14
+ }).describe("OAuth2 authentication credentials schema."),
15
+ z.object({
16
+ type: z.string().describe("Credential type, must be 'APP'."),
17
+ app_id: z.string().describe("Application ID from the provider."),
18
+ app_link: z.string().describe("Link to the application in the provider's dashboard."),
19
+ private_key: z.string().describe("Private key for the application, typically in PEM format.")
20
+ }).describe("App-based authentication credentials schema (e.g., GitHub App)."),
21
+ z.object({
22
+ type: z.string().describe("Credential type, must be 'HYBRID'."),
23
+ app_id: z.string().describe("Application ID."),
24
+ app_link: z.string().describe("Link to the application."),
25
+ client_id: z.string().describe("OAuth2 client ID."),
26
+ private_key: z.string().describe("Private key for the application."),
27
+ client_secret: z.string().describe("OAuth2 client secret.")
28
+ }).describe("Hybrid authentication credentials combining OAuth2 and App authentication.")
29
+ ]).optional(),
30
+ display_name: z.string().describe("Human-readable display name for the integration. If not provided, defaults to the provider name.").optional()
31
+ }).describe("Request model for creating a new Nango integration.");
32
+ const NangoCreateIntegration_IntegrationDataSchema = z.object({
33
+ logo: z.string().describe("URL to the provider's logo.").nullable().optional(),
34
+ provider: z.string().describe("Provider name."),
35
+ created_at: z.string().describe("Integration creation timestamp in ISO 8601 format."),
36
+ unique_key: z.string().describe("The unique integration identifier."),
37
+ updated_at: z.string().describe("Integration last update timestamp in ISO 8601 format."),
38
+ display_name: z.string().describe("Display name of the integration."),
39
+ forward_webhooks: z.boolean().describe("Whether webhooks should be forwarded for this integration.").nullable().optional()
40
+ }).describe("Response data for a created integration.");
41
+ const nangoCreateIntegration = action("NANGO_CREATE_INTEGRATION", {
42
+ slug: "nango-create-integration",
43
+ name: "Create Integration",
44
+ description: "Tool to create a new integration in Nango. Use when setting up a new provider connection configuration. Creates an integration with specified credentials (OAuth2, App-based, or Hybrid authentication). The unique_key will be used to reference this integration in subsequent API calls. Returns the created integration details including timestamps and provider information.",
45
+ input: NangoCreateIntegrationInput,
46
+ output: z.object({ data: NangoCreateIntegration_IntegrationDataSchema.nullable() }).describe("Response model for creating an integration.")
47
+ });
48
+ //#endregion
49
+ export { nangoCreateIntegration };
50
+
51
+ //# sourceMappingURL=create-integration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-integration.mjs","names":[],"sources":["../../src/actions/create-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoCreateIntegrationInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"The provider unique name (e.g., github, slack, salesforce). Use List Providers to get valid provider names.\"),\n unique_key: z.string().describe(\"A unique integration ID, which you will use in other API calls to reference this integration. Must be unique across your Nango account.\"),\n credentials: z.union([z.object({\n type: z.string().describe(\"Credential type, must be 'OAUTH2'.\"),\n scopes: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n client_id: z.string().describe(\"OAuth2 client ID from the provider's app configuration.\"),\n client_secret: z.string().describe(\"OAuth2 client secret from the provider's app configuration.\"),\n webhook_secret: z.string().nullable().optional(),\n}).describe(\"OAuth2 authentication credentials schema.\"), z.object({\n type: z.string().describe(\"Credential type, must be 'APP'.\"),\n app_id: z.string().describe(\"Application ID from the provider.\"),\n app_link: z.string().describe(\"Link to the application in the provider's dashboard.\"),\n private_key: z.string().describe(\"Private key for the application, typically in PEM format.\"),\n}).describe(\"App-based authentication credentials schema (e.g., GitHub App).\"), z.object({\n type: z.string().describe(\"Credential type, must be 'HYBRID'.\"),\n app_id: z.string().describe(\"Application ID.\"),\n app_link: z.string().describe(\"Link to the application.\"),\n client_id: z.string().describe(\"OAuth2 client ID.\"),\n private_key: z.string().describe(\"Private key for the application.\"),\n client_secret: z.string().describe(\"OAuth2 client secret.\"),\n}).describe(\"Hybrid authentication credentials combining OAuth2 and App authentication.\")]).optional(),\n display_name: z.string().describe(\"Human-readable display name for the integration. If not provided, defaults to the provider name.\").optional(),\n}).describe(\"Request model for creating a new Nango integration.\");\nconst NangoCreateIntegration_IntegrationDataSchema: z.ZodTypeAny = z.object({\n logo: z.string().describe(\"URL to the provider's logo.\").nullable().optional(),\n provider: z.string().describe(\"Provider name.\"),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format.\"),\n unique_key: z.string().describe(\"The unique integration identifier.\"),\n updated_at: z.string().describe(\"Integration last update timestamp in ISO 8601 format.\"),\n display_name: z.string().describe(\"Display name of the integration.\"),\n forward_webhooks: z.boolean().describe(\"Whether webhooks should be forwarded for this integration.\").nullable().optional(),\n}).describe(\"Response data for a created integration.\");\nexport const NangoCreateIntegrationOutput: z.ZodTypeAny = z.object({\n data: NangoCreateIntegration_IntegrationDataSchema.nullable(),\n}).describe(\"Response model for creating an integration.\");\n\nexport const nangoCreateIntegration = action(\"NANGO_CREATE_INTEGRATION\", {\n slug: \"nango-create-integration\",\n name: \"Create Integration\",\n description: \"Tool to create a new integration in Nango. Use when setting up a new provider connection configuration. Creates an integration with specified credentials (OAuth2, App-based, or Hybrid authentication). The unique_key will be used to reference this integration in subsequent API calls. Returns the created integration details including timestamps and provider information.\",\n input: NangoCreateIntegrationInput,\n output: NangoCreateIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC3I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACzK,aAAa,EAAE,MAAM;EAAC,EAAE,OAAO;GAC/B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;GACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;GAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjD,CAAC,CAAC,CAAC,SAAS,2CAA2C;EAAG,EAAE,OAAO;GACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;GACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC9F,CAAC,CAAC,CAAC,SAAS,iEAAiE;EAAG,EAAE,OAAO;GACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;GAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;GACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAC5D,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAAC,CAAC,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC9C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACpE,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-connection.ts
4
+ const NangoDeleteConnectionInput = zod.z.object({
5
+ connection_id: zod.z.string().describe("The connection ID used to create the connection."),
6
+ provider_config_key: zod.z.string().describe("The integration ID used to create the connection (aka Unique Key).")
7
+ }).describe("Request model for deleting a Nango connection.");
8
+ const NangoDeleteConnectionOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the connection was successfully deleted.") }).describe("Response model for deleting a Nango connection.");
9
+ const nangoDeleteConnection = require_action.action("NANGO_DELETE_CONNECTION", {
10
+ slug: "nango-delete-connection",
11
+ name: "Delete Connection",
12
+ description: "Tool to delete a specific Nango connection. Use when you need to remove an existing connection permanently.",
13
+ input: NangoDeleteConnectionInput,
14
+ output: NangoDeleteConnectionOutput
15
+ });
16
+ //#endregion
17
+ exports.nangoDeleteConnection = nangoDeleteConnection;
18
+
19
+ //# sourceMappingURL=delete-connection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-connection.cjs","names":["z","action"],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoDeleteConnectionInput: z.ZodTypeAny = z.object({\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for deleting a Nango connection.\");\nexport const NangoDeleteConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the connection was successfully deleted.\"),\n}).describe(\"Response model for deleting a Nango connection.\");\n\nexport const nangoDeleteConnection = action(\"NANGO_DELETE_CONNECTION\", {\n slug: \"nango-delete-connection\",\n name: \"Delete Connection\",\n description: \"Tool to delete a specific Nango connection. Use when you need to remove an existing connection permanently.\",\n input: NangoDeleteConnectionInput,\n output: NangoDeleteConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AAC/G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-connection.d.ts
4
+ declare const NangoDeleteConnectionInput: z.ZodTypeAny;
5
+ declare const NangoDeleteConnectionOutput: z.ZodTypeAny;
6
+ declare const nangoDeleteConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoDeleteConnection };
9
+ //# sourceMappingURL=delete-connection.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-connection.d.cts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAChD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-connection.d.ts
4
+ declare const NangoDeleteConnectionInput: z.ZodTypeAny;
5
+ declare const NangoDeleteConnectionOutput: z.ZodTypeAny;
6
+ declare const nangoDeleteConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoDeleteConnection };
9
+ //# sourceMappingURL=delete-connection.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-connection.d.mts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGkB;AAAA,cAChD,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const nangoDeleteConnection = action("NANGO_DELETE_CONNECTION", {
4
+ slug: "nango-delete-connection",
5
+ name: "Delete Connection",
6
+ description: "Tool to delete a specific Nango connection. Use when you need to remove an existing connection permanently.",
7
+ input: z.object({
8
+ connection_id: z.string().describe("The connection ID used to create the connection."),
9
+ provider_config_key: z.string().describe("The integration ID used to create the connection (aka Unique Key).")
10
+ }).describe("Request model for deleting a Nango connection."),
11
+ output: z.object({ success: z.boolean().describe("Indicates whether the connection was successfully deleted.") }).describe("Response model for deleting a Nango connection.")
12
+ });
13
+ //#endregion
14
+ export { nangoDeleteConnection };
15
+
16
+ //# sourceMappingURL=delete-connection.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-connection.mjs","names":[],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoDeleteConnectionInput: z.ZodTypeAny = z.object({\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for deleting a Nango connection.\");\nexport const NangoDeleteConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the connection was successfully deleted.\"),\n}).describe(\"Response model for deleting a Nango connection.\");\n\nexport const nangoDeleteConnection = action(\"NANGO_DELETE_CONNECTION\", {\n slug: \"nango-delete-connection\",\n name: \"Delete Connection\",\n description: \"Tool to delete a specific Nango connection. Use when you need to remove an existing connection permanently.\",\n input: NangoDeleteConnectionInput,\n output: NangoDeleteConnectionOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO;EAC/D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACrF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC/G,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-integration.ts
4
+ const NangoDeleteIntegrationInput = zod.z.object({ uniqueKey: zod.z.string().describe("The integration ID (unique_key) that you created in Nango.") }).describe("Request model for deleting a Nango integration.");
5
+ const NangoDeleteIntegrationOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the integration was successfully deleted") }).describe("Response model for deleting an integration.");
6
+ const nangoDeleteIntegration = require_action.action("NANGO_DELETE_INTEGRATION", {
7
+ slug: "nango-delete-integration",
8
+ name: "Delete Integration",
9
+ description: "Tool to delete a specific integration by its unique key. Use when you need to remove an integration configuration from Nango.",
10
+ input: NangoDeleteIntegrationInput,
11
+ output: NangoDeleteIntegrationOutput
12
+ });
13
+ //#endregion
14
+ exports.nangoDeleteIntegration = nangoDeleteIntegration;
15
+
16
+ //# sourceMappingURL=delete-integration.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-integration.cjs","names":["z","action"],"sources":["../../src/actions/delete-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoDeleteIntegrationInput: z.ZodTypeAny = z.object({\n uniqueKey: z.string().describe(\"The integration ID (unique_key) that you created in Nango.\"),\n}).describe(\"Request model for deleting a Nango integration.\");\nexport const NangoDeleteIntegrationOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the integration was successfully deleted\"),\n}).describe(\"Response model for deleting an integration.\");\n\nexport const nangoDeleteIntegration = action(\"NANGO_DELETE_INTEGRATION\", {\n slug: \"nango-delete-integration\",\n name: \"Delete Integration\",\n description: \"Tool to delete a specific integration by its unique key. Use when you need to remove an integration configuration from Nango.\",\n input: NangoDeleteIntegrationInput,\n output: NangoDeleteIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC7F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-integration.d.ts
4
+ declare const NangoDeleteIntegrationInput: z.ZodTypeAny;
5
+ declare const NangoDeleteIntegrationOutput: z.ZodTypeAny;
6
+ declare const nangoDeleteIntegration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoDeleteIntegration };
9
+ //# sourceMappingURL=delete-integration.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-integration.d.cts","names":[],"sources":["../../src/actions/delete-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cACjD,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-integration.d.ts
4
+ declare const NangoDeleteIntegrationInput: z.ZodTypeAny;
5
+ declare const NangoDeleteIntegrationOutput: z.ZodTypeAny;
6
+ declare const nangoDeleteIntegration: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoDeleteIntegration };
9
+ //# sourceMappingURL=delete-integration.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-integration.d.mts","names":[],"sources":["../../src/actions/delete-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cACjD,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const nangoDeleteIntegration = action("NANGO_DELETE_INTEGRATION", {
4
+ slug: "nango-delete-integration",
5
+ name: "Delete Integration",
6
+ description: "Tool to delete a specific integration by its unique key. Use when you need to remove an integration configuration from Nango.",
7
+ input: z.object({ uniqueKey: z.string().describe("The integration ID (unique_key) that you created in Nango.") }).describe("Request model for deleting a Nango integration."),
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the integration was successfully deleted") }).describe("Response model for deleting an integration.")
9
+ });
10
+ //#endregion
11
+ export { nangoDeleteIntegration };
12
+
13
+ //# sourceMappingURL=delete-integration.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-integration.mjs","names":[],"sources":["../../src/actions/delete-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoDeleteIntegrationInput: z.ZodTypeAny = z.object({\n uniqueKey: z.string().describe(\"The integration ID (unique_key) that you created in Nango.\"),\n}).describe(\"Request model for deleting a Nango integration.\");\nexport const NangoDeleteIntegrationOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the integration was successfully deleted\"),\n}).describe(\"Response model for deleting an integration.\");\n\nexport const nangoDeleteIntegration = action(\"NANGO_DELETE_INTEGRATION\", {\n slug: \"nango-delete-integration\",\n name: \"Delete Integration\",\n description: \"Tool to delete a specific integration by its unique key. Use when you need to remove an integration configuration from Nango.\",\n input: NangoDeleteIntegrationInput,\n output: NangoDeleteIntegrationOutput,\n});\n"],"mappings":";;AAWA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuD,EAAE,OAAO,EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC7F,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,EAC5F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/edit-connection.ts
4
+ const NangoEditConnectionInput = zod.z.object({
5
+ tags: zod.z.object({}).describe("Connection tags (key/value strings). Keys are normalized to lowercase. Max value length: 255 characters.").optional(),
6
+ end_user: zod.z.object({
7
+ id: zod.z.string().describe("End user ID (required when updating end user)"),
8
+ tags: zod.z.object({}).describe("Tags associated with the end user").optional(),
9
+ email: zod.z.string().describe("End user email address").optional(),
10
+ display_name: zod.z.string().describe("End user display name").optional()
11
+ }).describe("End user information to update on the connection.\nDeprecated - use tags instead for new implementations.").optional(),
12
+ connection_id: zod.z.string().describe("The connection ID used to create the connection"),
13
+ provider_config_key: zod.z.string().describe("The integration ID used to create the connection (aka Unique Key)")
14
+ }).describe("Request model for editing a Nango connection's tags and metadata.");
15
+ const NangoEditConnectionOutput = zod.z.object({ success: zod.z.boolean().describe("Whether the connection was successfully updated") }).describe("Response model for editing a Nango connection.");
16
+ const nangoEditConnection = require_action.action("NANGO_EDIT_CONNECTION", {
17
+ slug: "nango-edit-connection",
18
+ name: "Edit Connection",
19
+ description: "Tool to edit a connection's tags and metadata. Use when you need to update connection attributes like environment tags, team assignments, or end user information.",
20
+ input: NangoEditConnectionInput,
21
+ output: NangoEditConnectionOutput
22
+ });
23
+ //#endregion
24
+ exports.nangoEditConnection = nangoEditConnection;
25
+
26
+ //# sourceMappingURL=edit-connection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-connection.cjs","names":["z","action"],"sources":["../../src/actions/edit-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoEditConnectionInput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase. Max value length: 255 characters.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"End user ID (required when updating end user)\"),\n tags: z.object({}).describe(\"Tags associated with the end user\").optional(),\n email: z.string().describe(\"End user email address\").optional(),\n display_name: z.string().describe(\"End user display name\").optional(),\n}).describe(\"End user information to update on the connection.\\nDeprecated - use tags instead for new implementations.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection\"),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key)\"),\n}).describe(\"Request model for editing a Nango connection's tags and metadata.\");\nexport const NangoEditConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the connection was successfully updated\"),\n}).describe(\"Response model for editing a Nango connection.\");\n\nexport const nangoEditConnection = action(\"NANGO_EDIT_CONNECTION\", {\n slug: \"nango-edit-connection\",\n name: \"Edit Connection\",\n description: \"Tool to edit a connection's tags and metadata. Use when you need to update connection attributes like environment tags, team assignments, or end user information.\",\n input: NangoEditConnectionInput,\n output: NangoEditConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO;EACnB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACpF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC9G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/edit-connection.d.ts
4
+ declare const NangoEditConnectionInput: z.ZodTypeAny;
5
+ declare const NangoEditConnectionOutput: z.ZodTypeAny;
6
+ declare const nangoEditConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoEditConnection };
9
+ //# sourceMappingURL=edit-connection.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-connection.d.cts","names":[],"sources":["../../src/actions/edit-connection.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAUuC;AAAA,cACnE,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/edit-connection.d.ts
4
+ declare const NangoEditConnectionInput: z.ZodTypeAny;
5
+ declare const NangoEditConnectionOutput: z.ZodTypeAny;
6
+ declare const nangoEditConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoEditConnection };
9
+ //# sourceMappingURL=edit-connection.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-connection.d.mts","names":[],"sources":["../../src/actions/edit-connection.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAUuC;AAAA,cACnE,yBAAA,EAA2B,CAAA,CAAE,UAEmB;AAAA,cAEhD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const nangoEditConnection = action("NANGO_EDIT_CONNECTION", {
4
+ slug: "nango-edit-connection",
5
+ name: "Edit Connection",
6
+ description: "Tool to edit a connection's tags and metadata. Use when you need to update connection attributes like environment tags, team assignments, or end user information.",
7
+ input: z.object({
8
+ tags: z.object({}).describe("Connection tags (key/value strings). Keys are normalized to lowercase. Max value length: 255 characters.").optional(),
9
+ end_user: z.object({
10
+ id: z.string().describe("End user ID (required when updating end user)"),
11
+ tags: z.object({}).describe("Tags associated with the end user").optional(),
12
+ email: z.string().describe("End user email address").optional(),
13
+ display_name: z.string().describe("End user display name").optional()
14
+ }).describe("End user information to update on the connection.\nDeprecated - use tags instead for new implementations.").optional(),
15
+ connection_id: z.string().describe("The connection ID used to create the connection"),
16
+ provider_config_key: z.string().describe("The integration ID used to create the connection (aka Unique Key)")
17
+ }).describe("Request model for editing a Nango connection's tags and metadata."),
18
+ output: z.object({ success: z.boolean().describe("Whether the connection was successfully updated") }).describe("Response model for editing a Nango connection.")
19
+ });
20
+ //#endregion
21
+ export { nangoEditConnection };
22
+
23
+ //# sourceMappingURL=edit-connection.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit-connection.mjs","names":[],"sources":["../../src/actions/edit-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoEditConnectionInput: z.ZodTypeAny = z.object({\n tags: z.object({}).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase. Max value length: 255 characters.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"End user ID (required when updating end user)\"),\n tags: z.object({}).describe(\"Tags associated with the end user\").optional(),\n email: z.string().describe(\"End user email address\").optional(),\n display_name: z.string().describe(\"End user display name\").optional(),\n}).describe(\"End user information to update on the connection.\\nDeprecated - use tags instead for new implementations.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection\"),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key)\"),\n}).describe(\"Request model for editing a Nango connection's tags and metadata.\");\nexport const NangoEditConnectionOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the connection was successfully updated\"),\n}).describe(\"Response model for editing a Nango connection.\");\n\nexport const nangoEditConnection = action(\"NANGO_EDIT_CONNECTION\", {\n slug: \"nango-edit-connection\",\n name: \"Edit Connection\",\n description: \"Tool to edit a connection's tags and metadata. Use when you need to update connection attributes like environment tags, team assignments, or end user information.\",\n input: NangoEditConnectionInput,\n output: NangoEditConnectionOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACjJ,UAAU,EAAE,OAAO;GACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;GACvE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;GAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;GAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACtE,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EAChI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9G,CAAC,CAAC,CAAC,SAAS,mEASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,47 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-connection.ts
4
+ const NangoGetConnectionInput = zod.z.object({
5
+ connection_id: zod.z.string().describe("The connection ID used to create the connection. This identifies the specific connection to retrieve."),
6
+ force_refresh: zod.z.boolean().describe("If true, Nango will attempt to refresh the access token regardless of its expiration status. Default is false.").optional(),
7
+ refresh_token: zod.z.boolean().describe("If true, return the refresh token as part of the response. Default is false.").optional(),
8
+ provider_config_key: zod.z.string().describe("The integration ID (Unique Key) used to create the connection. Required to identify which integration this connection belongs to."),
9
+ refresh_github_app_jwt_token: zod.z.boolean().describe("If true, this will refresh the JWT token for GitHub App / GitHub App OAuth connections.").optional()
10
+ }).describe("Request model for retrieving a specific connection with credentials.");
11
+ const NangoGetConnection_ConnectionErrorSchema = zod.z.object({
12
+ type: zod.z.string().describe("Error type identifier"),
13
+ log_id: zod.z.string().describe("Associated log ID for debugging")
14
+ }).describe("Represents an error associated with a connection.");
15
+ const NangoGetConnection_EndUserSchema = zod.z.object({
16
+ id: zod.z.string().describe("End user ID"),
17
+ tags: zod.z.object({}).describe("Tags associated with the end user").nullable().optional(),
18
+ email: zod.z.string().describe("End user email").nullable().optional(),
19
+ display_name: zod.z.string().describe("End user display name").nullable().optional(),
20
+ organization: zod.z.object({}).describe("Organization details").nullable().optional()
21
+ }).describe("End user information associated with a connection.");
22
+ const NangoGetConnectionOutput = zod.z.object({
23
+ id: zod.z.number().int().describe("Internal Nango connection identifier"),
24
+ tags: zod.z.object({}).describe("Connection tags (key/value strings). Keys are normalized to lowercase."),
25
+ errors: zod.z.array(NangoGetConnection_ConnectionErrorSchema).describe("List of connection errors (auth/sync issues)"),
26
+ end_user: NangoGetConnection_EndUserSchema.nullable().optional(),
27
+ metadata: zod.z.object({}).describe("Custom metadata attached to the connection"),
28
+ provider: zod.z.string().describe("Provider/integration name"),
29
+ created_at: zod.z.string().describe("Connection creation timestamp in ISO 8601 format"),
30
+ updated_at: zod.z.string().describe("Connection last update timestamp in ISO 8601 format"),
31
+ credentials: zod.z.object({}).describe("Authentication credentials for this connection. Type varies by auth method (OAuth2, API Key, Basic, etc.). Contains fields like type, access_token, refresh_token, etc. depending on the auth method."),
32
+ connection_id: zod.z.string().describe("The connection ID provided when creating the connection"),
33
+ last_fetched_at: zod.z.string().describe("Last time connection data was fetched"),
34
+ connection_config: zod.z.object({}).describe("Connection configuration data"),
35
+ provider_config_key: zod.z.string().describe("Integration/provider configuration key (unique key)")
36
+ }).describe("Response model for retrieving a connection with credentials.\nContains full connection details including authentication credentials.");
37
+ const nangoGetConnection = require_action.action("NANGO_GET_CONNECTION", {
38
+ slug: "nango-get-connection",
39
+ name: "Get Connection with Credentials",
40
+ description: "Retrieve a specific connection with its credentials. Automatically checks if the access token has expired and refreshes it if needed. Use this action when you need to access the authentication credentials for a connection to make API calls to the provider. The credentials returned depend on the auth type (OAuth2, API Key, Basic Auth, etc.). Returns 404 if the connection does not exist, 424 if token refresh is exhausted.",
41
+ input: NangoGetConnectionInput,
42
+ output: NangoGetConnectionOutput
43
+ });
44
+ //#endregion
45
+ exports.nangoGetConnection = nangoGetConnection;
46
+
47
+ //# sourceMappingURL=get-connection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-connection.cjs","names":["z","action"],"sources":["../../src/actions/get-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoGetConnectionInput: z.ZodTypeAny = z.object({\n connection_id: z.string().describe(\"The connection ID used to create the connection. This identifies the specific connection to retrieve.\"),\n force_refresh: z.boolean().describe(\"If true, Nango will attempt to refresh the access token regardless of its expiration status. Default is false.\").optional(),\n refresh_token: z.boolean().describe(\"If true, return the refresh token as part of the response. Default is false.\").optional(),\n provider_config_key: z.string().describe(\"The integration ID (Unique Key) used to create the connection. Required to identify which integration this connection belongs to.\"),\n refresh_github_app_jwt_token: z.boolean().describe(\"If true, this will refresh the JWT token for GitHub App / GitHub App OAuth connections.\").optional(),\n}).describe(\"Request model for retrieving a specific connection with credentials.\");\nconst NangoGetConnection_ConnectionErrorSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Error type identifier\"),\n log_id: z.string().describe(\"Associated log ID for debugging\"),\n}).describe(\"Represents an error associated with a connection.\");\nconst NangoGetConnection_EndUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"End user ID\"),\n tags: z.object({}).describe(\"Tags associated with the end user\").nullable().optional(),\n email: z.string().describe(\"End user email\").nullable().optional(),\n display_name: z.string().describe(\"End user display name\").nullable().optional(),\n organization: z.object({}).describe(\"Organization details\").nullable().optional(),\n}).describe(\"End user information associated with a connection.\");\nexport const NangoGetConnectionOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal Nango connection identifier\"),\n tags: z.object({}).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase.\"),\n errors: z.array(NangoGetConnection_ConnectionErrorSchema).describe(\"List of connection errors (auth/sync issues)\"),\n end_user: NangoGetConnection_EndUserSchema.nullable().optional(),\n metadata: z.object({}).describe(\"Custom metadata attached to the connection\"),\n provider: z.string().describe(\"Provider/integration name\"),\n created_at: z.string().describe(\"Connection creation timestamp in ISO 8601 format\"),\n updated_at: z.string().describe(\"Connection last update timestamp in ISO 8601 format\"),\n credentials: z.object({}).describe(\"Authentication credentials for this connection. Type varies by auth method (OAuth2, API Key, Basic, etc.). Contains fields like type, access_token, refresh_token, etc. depending on the auth method.\"),\n connection_id: z.string().describe(\"The connection ID provided when creating the connection\"),\n last_fetched_at: z.string().describe(\"Last time connection data was fetched\"),\n connection_config: z.object({}).describe(\"Connection configuration data\"),\n provider_config_key: z.string().describe(\"Integration/provider configuration key (unique key)\"),\n}).describe(\"Response model for retrieving a connection with credentials.\\nContains full connection details including authentication credentials.\");\n\nexport const nangoGetConnection = action(\"NANGO_GET_CONNECTION\", {\n slug: \"nango-get-connection\",\n name: \"Get Connection with Credentials\",\n description: \"Retrieve a specific connection with its credentials. Automatically checks if the access token has expired and refreshes it if needed. Use this action when you need to access the authentication credentials for a connection to make API calls to the provider. The credentials returned depend on the auth type (OAuth2, API Key, Basic Auth, etc.). Returns 404 if the connection does not exist, 424 if token refresh is exhausted.\",\n input: NangoGetConnectionInput,\n output: NangoGetConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CAC1I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC7H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC5K,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAC/D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACrC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wEAAwE;CACpG,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,8CAA8C;CACjH,UAAU,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4CAA4C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uMAAuM;CAC1O,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B;CACxE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AAChG,CAAC,CAAC,CAAC,SAAS,sIAAsI;AAElJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-connection.d.ts
4
+ declare const NangoGetConnectionInput: z.ZodTypeAny;
5
+ declare const NangoGetConnectionOutput: z.ZodTypeAny;
6
+ declare const nangoGetConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { nangoGetConnection };
9
+ //# sourceMappingURL=get-connection.d.cts.map