@keystrokehq/nango 0.1.0 → 0.1.2

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 (199) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/action-trigger-post.cjs.map +1 -1
  4. package/dist/actions/action-trigger-post.d.cts +15 -3
  5. package/dist/actions/action-trigger-post.d.cts.map +1 -1
  6. package/dist/actions/action-trigger-post.d.mts +15 -3
  7. package/dist/actions/action-trigger-post.d.mts.map +1 -1
  8. package/dist/actions/action-trigger-post.mjs.map +1 -1
  9. package/dist/actions/add-connection.cjs +9 -9
  10. package/dist/actions/add-connection.cjs.map +1 -1
  11. package/dist/actions/add-connection.d.cts +114 -3
  12. package/dist/actions/add-connection.d.cts.map +1 -1
  13. package/dist/actions/add-connection.d.mts +114 -3
  14. package/dist/actions/add-connection.d.mts.map +1 -1
  15. package/dist/actions/add-connection.mjs +9 -9
  16. package/dist/actions/add-connection.mjs.map +1 -1
  17. package/dist/actions/connection-get.cjs +6 -6
  18. package/dist/actions/connection-get.cjs.map +1 -1
  19. package/dist/actions/connection-get.d.cts +36 -3
  20. package/dist/actions/connection-get.d.cts.map +1 -1
  21. package/dist/actions/connection-get.d.mts +36 -3
  22. package/dist/actions/connection-get.d.mts.map +1 -1
  23. package/dist/actions/connection-get.mjs +6 -6
  24. package/dist/actions/connection-get.mjs.map +1 -1
  25. package/dist/actions/create-connect-session.cjs +2 -2
  26. package/dist/actions/create-connect-session.cjs.map +1 -1
  27. package/dist/actions/create-connect-session.d.cts +39 -3
  28. package/dist/actions/create-connect-session.d.cts.map +1 -1
  29. package/dist/actions/create-connect-session.d.mts +39 -3
  30. package/dist/actions/create-connect-session.d.mts.map +1 -1
  31. package/dist/actions/create-connect-session.mjs +2 -2
  32. package/dist/actions/create-connect-session.mjs.map +1 -1
  33. package/dist/actions/create-integration.cjs +5 -5
  34. package/dist/actions/create-integration.cjs.map +1 -1
  35. package/dist/actions/create-integration.d.cts +59 -3
  36. package/dist/actions/create-integration.d.cts.map +1 -1
  37. package/dist/actions/create-integration.d.mts +59 -3
  38. package/dist/actions/create-integration.d.mts.map +1 -1
  39. package/dist/actions/create-integration.mjs +5 -5
  40. package/dist/actions/create-integration.mjs.map +1 -1
  41. package/dist/actions/delete-connection.cjs +1 -1
  42. package/dist/actions/delete-connection.cjs.map +1 -1
  43. package/dist/actions/delete-connection.d.cts +11 -3
  44. package/dist/actions/delete-connection.d.cts.map +1 -1
  45. package/dist/actions/delete-connection.d.mts +11 -3
  46. package/dist/actions/delete-connection.d.mts.map +1 -1
  47. package/dist/actions/delete-connection.mjs +1 -1
  48. package/dist/actions/delete-connection.mjs.map +1 -1
  49. package/dist/actions/delete-integration.cjs +1 -1
  50. package/dist/actions/delete-integration.cjs.map +1 -1
  51. package/dist/actions/delete-integration.d.cts +9 -3
  52. package/dist/actions/delete-integration.d.cts.map +1 -1
  53. package/dist/actions/delete-integration.d.mts +9 -3
  54. package/dist/actions/delete-integration.d.mts.map +1 -1
  55. package/dist/actions/delete-integration.mjs +1 -1
  56. package/dist/actions/delete-integration.mjs.map +1 -1
  57. package/dist/actions/edit-connection.cjs +1 -1
  58. package/dist/actions/edit-connection.cjs.map +1 -1
  59. package/dist/actions/edit-connection.d.cts +25 -3
  60. package/dist/actions/edit-connection.d.cts.map +1 -1
  61. package/dist/actions/edit-connection.d.mts +25 -3
  62. package/dist/actions/edit-connection.d.mts.map +1 -1
  63. package/dist/actions/edit-connection.mjs +1 -1
  64. package/dist/actions/edit-connection.mjs.map +1 -1
  65. package/dist/actions/get-connection.cjs +10 -10
  66. package/dist/actions/get-connection.cjs.map +1 -1
  67. package/dist/actions/get-connection.d.cts +38 -3
  68. package/dist/actions/get-connection.d.cts.map +1 -1
  69. package/dist/actions/get-connection.d.mts +38 -3
  70. package/dist/actions/get-connection.d.mts.map +1 -1
  71. package/dist/actions/get-connection.mjs +10 -10
  72. package/dist/actions/get-connection.mjs.map +1 -1
  73. package/dist/actions/get-environment-variables.cjs +2 -2
  74. package/dist/actions/get-environment-variables.cjs.map +1 -1
  75. package/dist/actions/get-environment-variables.d.cts +8 -3
  76. package/dist/actions/get-environment-variables.d.cts.map +1 -1
  77. package/dist/actions/get-environment-variables.d.mts +8 -3
  78. package/dist/actions/get-environment-variables.d.mts.map +1 -1
  79. package/dist/actions/get-environment-variables.mjs +2 -2
  80. package/dist/actions/get-environment-variables.mjs.map +1 -1
  81. package/dist/actions/get-integration.cjs +5 -5
  82. package/dist/actions/get-integration.cjs.map +1 -1
  83. package/dist/actions/get-integration.d.cts +26 -3
  84. package/dist/actions/get-integration.d.cts.map +1 -1
  85. package/dist/actions/get-integration.d.mts +26 -3
  86. package/dist/actions/get-integration.d.mts.map +1 -1
  87. package/dist/actions/get-integration.mjs +5 -5
  88. package/dist/actions/get-integration.mjs.map +1 -1
  89. package/dist/actions/get-proxy.cjs +1 -1
  90. package/dist/actions/get-proxy.cjs.map +1 -1
  91. package/dist/actions/get-proxy.d.cts +28 -3
  92. package/dist/actions/get-proxy.d.cts.map +1 -1
  93. package/dist/actions/get-proxy.d.mts +28 -3
  94. package/dist/actions/get-proxy.d.mts.map +1 -1
  95. package/dist/actions/get-proxy.mjs +1 -1
  96. package/dist/actions/get-proxy.mjs.map +1 -1
  97. package/dist/actions/get-sync-status.cjs +3 -3
  98. package/dist/actions/get-sync-status.cjs.map +1 -1
  99. package/dist/actions/get-sync-status.d.cts +35 -3
  100. package/dist/actions/get-sync-status.d.cts.map +1 -1
  101. package/dist/actions/get-sync-status.d.mts +35 -3
  102. package/dist/actions/get-sync-status.d.mts.map +1 -1
  103. package/dist/actions/get-sync-status.mjs +3 -3
  104. package/dist/actions/get-sync-status.mjs.map +1 -1
  105. package/dist/actions/list-connections.cjs +6 -6
  106. package/dist/actions/list-connections.cjs.map +1 -1
  107. package/dist/actions/list-connections.d.cts +39 -3
  108. package/dist/actions/list-connections.d.cts.map +1 -1
  109. package/dist/actions/list-connections.d.mts +39 -3
  110. package/dist/actions/list-connections.d.mts.map +1 -1
  111. package/dist/actions/list-connections.mjs +6 -6
  112. package/dist/actions/list-connections.mjs.map +1 -1
  113. package/dist/actions/list-integrations.cjs +5 -5
  114. package/dist/actions/list-integrations.cjs.map +1 -1
  115. package/dist/actions/list-integrations.d.cts +12 -3
  116. package/dist/actions/list-integrations.d.cts.map +1 -1
  117. package/dist/actions/list-integrations.d.mts +12 -3
  118. package/dist/actions/list-integrations.d.mts.map +1 -1
  119. package/dist/actions/list-integrations.mjs +5 -5
  120. package/dist/actions/list-integrations.mjs.map +1 -1
  121. package/dist/actions/providers-get-get.cjs +3 -3
  122. package/dist/actions/providers-get-get.cjs.map +1 -1
  123. package/dist/actions/providers-get-get.d.cts +21 -3
  124. package/dist/actions/providers-get-get.d.cts.map +1 -1
  125. package/dist/actions/providers-get-get.d.mts +21 -3
  126. package/dist/actions/providers-get-get.d.mts.map +1 -1
  127. package/dist/actions/providers-get-get.mjs +3 -3
  128. package/dist/actions/providers-get-get.mjs.map +1 -1
  129. package/dist/actions/providers-list-get.cjs +2 -2
  130. package/dist/actions/providers-list-get.cjs.map +1 -1
  131. package/dist/actions/providers-list-get.d.cts +13 -3
  132. package/dist/actions/providers-list-get.d.cts.map +1 -1
  133. package/dist/actions/providers-list-get.d.mts +13 -3
  134. package/dist/actions/providers-list-get.d.mts.map +1 -1
  135. package/dist/actions/providers-list-get.mjs +2 -2
  136. package/dist/actions/providers-list-get.mjs.map +1 -1
  137. package/dist/actions/put-proxy.cjs +1 -1
  138. package/dist/actions/put-proxy.cjs.map +1 -1
  139. package/dist/actions/put-proxy.d.cts +23 -3
  140. package/dist/actions/put-proxy.d.cts.map +1 -1
  141. package/dist/actions/put-proxy.d.mts +23 -3
  142. package/dist/actions/put-proxy.d.mts.map +1 -1
  143. package/dist/actions/put-proxy.mjs +1 -1
  144. package/dist/actions/put-proxy.mjs.map +1 -1
  145. package/dist/actions/reconnect-session-post.cjs +2 -2
  146. package/dist/actions/reconnect-session-post.cjs.map +1 -1
  147. package/dist/actions/reconnect-session-post.d.cts +41 -3
  148. package/dist/actions/reconnect-session-post.d.cts.map +1 -1
  149. package/dist/actions/reconnect-session-post.d.mts +41 -3
  150. package/dist/actions/reconnect-session-post.d.mts.map +1 -1
  151. package/dist/actions/reconnect-session-post.mjs +2 -2
  152. package/dist/actions/reconnect-session-post.mjs.map +1 -1
  153. package/dist/actions/scripts-config-get.cjs +3 -3
  154. package/dist/actions/scripts-config-get.cjs.map +1 -1
  155. package/dist/actions/scripts-config-get.d.cts +53 -3
  156. package/dist/actions/scripts-config-get.d.cts.map +1 -1
  157. package/dist/actions/scripts-config-get.d.mts +53 -3
  158. package/dist/actions/scripts-config-get.d.mts.map +1 -1
  159. package/dist/actions/scripts-config-get.mjs +3 -3
  160. package/dist/actions/scripts-config-get.mjs.map +1 -1
  161. package/dist/actions/set-connection-metadata.cjs +1 -1
  162. package/dist/actions/set-connection-metadata.cjs.map +1 -1
  163. package/dist/actions/set-connection-metadata.d.cts +15 -3
  164. package/dist/actions/set-connection-metadata.d.cts.map +1 -1
  165. package/dist/actions/set-connection-metadata.d.mts +15 -3
  166. package/dist/actions/set-connection-metadata.d.mts.map +1 -1
  167. package/dist/actions/set-connection-metadata.mjs +1 -1
  168. package/dist/actions/set-connection-metadata.mjs.map +1 -1
  169. package/dist/actions/sync-trigger-post.cjs +1 -1
  170. package/dist/actions/sync-trigger-post.cjs.map +1 -1
  171. package/dist/actions/sync-trigger-post.d.cts +19 -3
  172. package/dist/actions/sync-trigger-post.d.cts.map +1 -1
  173. package/dist/actions/sync-trigger-post.d.mts +19 -3
  174. package/dist/actions/sync-trigger-post.d.mts.map +1 -1
  175. package/dist/actions/sync-trigger-post.mjs +1 -1
  176. package/dist/actions/sync-trigger-post.mjs.map +1 -1
  177. package/dist/actions/update-connection-metadata.cjs +1 -1
  178. package/dist/actions/update-connection-metadata.cjs.map +1 -1
  179. package/dist/actions/update-connection-metadata.d.cts +15 -3
  180. package/dist/actions/update-connection-metadata.d.cts.map +1 -1
  181. package/dist/actions/update-connection-metadata.d.mts +15 -3
  182. package/dist/actions/update-connection-metadata.d.mts.map +1 -1
  183. package/dist/actions/update-connection-metadata.mjs +1 -1
  184. package/dist/actions/update-connection-metadata.mjs.map +1 -1
  185. package/dist/actions/update-integration.cjs +5 -5
  186. package/dist/actions/update-integration.cjs.map +1 -1
  187. package/dist/actions/update-integration.d.cts +58 -3
  188. package/dist/actions/update-integration.d.cts.map +1 -1
  189. package/dist/actions/update-integration.d.mts +58 -3
  190. package/dist/actions/update-integration.d.mts.map +1 -1
  191. package/dist/actions/update-integration.mjs +5 -5
  192. package/dist/actions/update-integration.mjs.map +1 -1
  193. package/dist/catalog.cjs +7 -1
  194. package/dist/catalog.cjs.map +1 -1
  195. package/dist/catalog.d.cts +8 -0
  196. package/dist/catalog.d.mts +8 -0
  197. package/dist/catalog.mjs +7 -1
  198. package/dist/catalog.mjs.map +1 -1
  199. package/package.json +2 -2
@@ -15,8 +15,8 @@ const NangoGetSyncStatus_SyncStatusSchema = z.enum([
15
15
  "ERROR"
16
16
  ]).describe("Status of a sync.");
17
17
  const NangoGetSyncStatus_SyncStatusItemSchema = z.object({
18
- id: z.string().describe("The unique identifier for the sync."),
19
- name: z.string().describe("The name of the sync."),
18
+ id: z.string().describe("The unique identifier for the sync.").nullable(),
19
+ name: z.string().describe("The name of the sync.").nullable(),
20
20
  type: NangoGetSyncStatus_SyncTypeSchema.nullable().optional(),
21
21
  status: NangoGetSyncStatus_SyncStatusSchema.nullable(),
22
22
  variant: z.string().describe("The variant of the sync.").nullable().optional(),
@@ -25,7 +25,7 @@ const NangoGetSyncStatus_SyncStatusItemSchema = z.object({
25
25
  finishedAt: z.string().describe("ISO timestamp of last completion.").nullable().optional(),
26
26
  recordCount: z.object({}).describe("Total count of records for each model synced by the sync.").nullable().optional(),
27
27
  latestResult: z.object({}).describe("Additional information regarding the latest result of the sync. Contains a model name with added, updated and deleted records.").nullable().optional(),
28
- connection_id: z.string().describe("The ID of the connection."),
28
+ connection_id: z.string().describe("The ID of the connection.").nullable(),
29
29
  nextScheduledSyncAt: z.string().describe("ISO timestamp of next scheduled run.").nullable().optional()
30
30
  }).describe("Model representing the status of a single sync.");
31
31
  const nangoGetSyncStatus = action("NANGO_GET_SYNC_STATUS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-sync-status.mjs","names":[],"sources":["../../src/actions/get-sync-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoGetSyncStatusInput: z.ZodTypeAny = z.object({\n syncs: z.string().describe(\"The name of the syncs you want to fetch a status for, as a comma-separated list. Pass in \\\"*\\\" to return all syncs for the integration. For variants, use the format \\\"syncName::variantName\\\".\"),\n connection_id: z.string().describe(\"The ID of the connection. If omitted, all connections will be surfaced.\").optional(),\n provider_config_key: z.string().describe(\"The ID of the integration you established within Nango.\"),\n}).describe(\"Request model for getting sync status.\");\nconst NangoGetSyncStatus_SyncTypeSchema: z.ZodTypeAny = z.enum([\"INCREMENTAL\", \"INITIAL\"]).describe(\"Type of sync execution (deprecated).\");\nconst NangoGetSyncStatus_SyncStatusSchema: z.ZodTypeAny = z.enum([\"RUNNING\", \"PAUSED\", \"STOPPED\", \"SUCCESS\", \"ERROR\"]).describe(\"Status of a sync.\");\nconst NangoGetSyncStatus_SyncStatusItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the sync.\"),\n name: z.string().describe(\"The name of the sync.\"),\n type: NangoGetSyncStatus_SyncTypeSchema.nullable().optional(),\n status: NangoGetSyncStatus_SyncStatusSchema.nullable(),\n variant: z.string().describe(\"The variant of the sync.\").nullable().optional(),\n frequency: z.string().describe(\"The execution frequency of the sync.\").nullable().optional(),\n checkpoint: z.object({}).describe(\"Last checkpoint saved during sync execution. Null if no checkpoint exists.\").nullable().optional(),\n finishedAt: z.string().describe(\"ISO timestamp of last completion.\").nullable().optional(),\n recordCount: z.object({}).describe(\"Total count of records for each model synced by the sync.\").nullable().optional(),\n latestResult: z.object({}).describe(\"Additional information regarding the latest result of the sync. Contains a model name with added, updated and deleted records.\").nullable().optional(),\n connection_id: z.string().describe(\"The ID of the connection.\"),\n nextScheduledSyncAt: z.string().describe(\"ISO timestamp of next scheduled run.\").nullable().optional(),\n}).describe(\"Model representing the status of a single sync.\");\nexport const NangoGetSyncStatusOutput: z.ZodTypeAny = z.object({\n syncs: z.array(NangoGetSyncStatus_SyncStatusItemSchema).describe(\"List of sync status objects.\"),\n}).describe(\"Response model for getting sync status.\");\n\nexport const nangoGetSyncStatus = action(\"NANGO_GET_SYNC_STATUS\", {\n slug: \"nango-get-sync-status\",\n name: \"Get Sync Status\",\n description: \"Tool to get the status of specified sync(s) for a connection or all connections. Use when you need to monitor sync execution state, check completion times, or view sync frequency.\",\n input: NangoGetSyncStatusInput,\n output: NangoGetSyncStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM;CAC5N,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACvH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACpG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oCAAkD,EAAE,KAAK,CAAC,eAAe,SAAS,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAC1I,MAAM,sCAAoD,EAAE,KAAK;CAAC;CAAW;CAAU;CAAW;CAAW;AAAO,CAAC,CAAC,CAAC,SAAS,mBAAmB;AACnJ,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC5D,QAAQ,oCAAoC,SAAS;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC9D,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EACjG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-sync-status.mjs","names":[],"sources":["../../src/actions/get-sync-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoGetSyncStatusInput = z.object({\n syncs: z.string().describe(\"The name of the syncs you want to fetch a status for, as a comma-separated list. Pass in \\\"*\\\" to return all syncs for the integration. For variants, use the format \\\"syncName::variantName\\\".\"),\n connection_id: z.string().describe(\"The ID of the connection. If omitted, all connections will be surfaced.\").optional(),\n provider_config_key: z.string().describe(\"The ID of the integration you established within Nango.\"),\n}).describe(\"Request model for getting sync status.\");\nconst NangoGetSyncStatus_SyncTypeSchema = z.enum([\"INCREMENTAL\", \"INITIAL\"]).describe(\"Type of sync execution (deprecated).\");\nconst NangoGetSyncStatus_SyncStatusSchema = z.enum([\"RUNNING\", \"PAUSED\", \"STOPPED\", \"SUCCESS\", \"ERROR\"]).describe(\"Status of a sync.\");\nconst NangoGetSyncStatus_SyncStatusItemSchema = z.object({\n id: z.string().describe(\"The unique identifier for the sync.\").nullable(),\n name: z.string().describe(\"The name of the sync.\").nullable(),\n type: NangoGetSyncStatus_SyncTypeSchema.nullable().optional(),\n status: NangoGetSyncStatus_SyncStatusSchema.nullable(),\n variant: z.string().describe(\"The variant of the sync.\").nullable().optional(),\n frequency: z.string().describe(\"The execution frequency of the sync.\").nullable().optional(),\n checkpoint: z.object({}).describe(\"Last checkpoint saved during sync execution. Null if no checkpoint exists.\").nullable().optional(),\n finishedAt: z.string().describe(\"ISO timestamp of last completion.\").nullable().optional(),\n recordCount: z.object({}).describe(\"Total count of records for each model synced by the sync.\").nullable().optional(),\n latestResult: z.object({}).describe(\"Additional information regarding the latest result of the sync. Contains a model name with added, updated and deleted records.\").nullable().optional(),\n connection_id: z.string().describe(\"The ID of the connection.\").nullable(),\n nextScheduledSyncAt: z.string().describe(\"ISO timestamp of next scheduled run.\").nullable().optional(),\n}).describe(\"Model representing the status of a single sync.\");\nexport const NangoGetSyncStatusOutput = z.object({\n syncs: z.array(NangoGetSyncStatus_SyncStatusItemSchema).describe(\"List of sync status objects.\"),\n}).describe(\"Response model for getting sync status.\");\n\nexport const nangoGetSyncStatus = action(\"NANGO_GET_SYNC_STATUS\", {\n slug: \"nango-get-sync-status\",\n name: \"Get Sync Status\",\n description: \"Tool to get the status of specified sync(s) for a connection or all connections. Use when you need to monitor sync execution state, check completion times, or view sync frequency.\",\n input: NangoGetSyncStatusInput,\n output: NangoGetSyncStatusOutput,\n});\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C,CAAC,SAAS;CAC1L,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACzE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8BAA8B,EACjG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -11,7 +11,7 @@ const NangoListConnectionsInput = zod.z.object({
11
11
  endUserOrganizationId: zod.z.string().describe("Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).").optional()
12
12
  }).describe("Request model for listing connections without credentials.");
13
13
  const NangoListConnections_ConnectionErrorSchema = zod.z.object({
14
- type: zod.z.string().describe("Error type: 'auth' or 'sync'."),
14
+ type: zod.z.string().describe("Error type: 'auth' or 'sync'.").nullable(),
15
15
  log_id: zod.z.string().describe("Log ID for this error.").nullable().optional()
16
16
  }).describe("Model for connection errors.");
17
17
  const NangoListConnections_EndUserSchema = zod.z.object({
@@ -21,15 +21,15 @@ const NangoListConnections_EndUserSchema = zod.z.object({
21
21
  organization: zod.z.object({}).describe("End user's organization details.").nullable().optional()
22
22
  }).describe("Model for end user profile attached to connection.");
23
23
  const NangoListConnections_ConnectionSchema = zod.z.object({
24
- id: zod.z.number().int().describe("Internal Nango connection identifier."),
24
+ id: zod.z.number().int().describe("Internal Nango connection identifier.").nullable(),
25
25
  tags: zod.z.object({}).describe("Tags attached to the connection.").nullable().optional(),
26
26
  errors: zod.z.array(NangoListConnections_ConnectionErrorSchema).describe("List of connection errors if any.").nullable().optional(),
27
- created: zod.z.string().describe("Connection creation timestamp in ISO 8601 format."),
27
+ created: zod.z.string().describe("Connection creation timestamp in ISO 8601 format.").nullable(),
28
28
  end_user: NangoListConnections_EndUserSchema.nullable().optional(),
29
29
  metadata: zod.z.object({}).describe("Custom metadata attached to the connection.").nullable().optional(),
30
- provider: zod.z.string().describe("Provider name (e.g., 'slack', 'github')."),
31
- connection_id: zod.z.string().describe("User-provided connection identifier."),
32
- provider_config_key: zod.z.string().describe("Integration unique key.")
30
+ provider: zod.z.string().describe("Provider name (e.g., 'slack', 'github').").nullable(),
31
+ connection_id: zod.z.string().describe("User-provided connection identifier.").nullable(),
32
+ provider_config_key: zod.z.string().describe("Integration unique key.").nullable()
33
33
  }).describe("Model of a connection object without credentials.");
34
34
  const NangoListConnectionsOutput = zod.z.object({ connections: zod.z.array(NangoListConnections_ConnectionSchema).describe("List of connection objects without credentials.") }).describe("Response model for listing connections.");
35
35
  const nangoListConnections = require_action.action("NANGO_LIST_CONNECTIONS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections.cjs","names":["z","action"],"sources":["../../src/actions/list-connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListConnectionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.object({}).describe(\"Filter the list of connections based on connection tags. All provided tags must match.\").optional(),\n limit: z.number().int().describe(\"Limit the number of connections returned.\").optional(),\n search: z.string().describe(\"Will partially match connection IDs or end user profiles.\").optional(),\n endUserId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[end_user_id]=...).\").optional(),\n connectionId: z.string().describe(\"Will exactly match a given connectionId. Can return multiple connections with the same ID across integrations.\").optional(),\n endUserOrganizationId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).\").optional(),\n}).describe(\"Request model for listing connections without credentials.\");\nconst NangoListConnections_ConnectionErrorSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Error type: 'auth' or 'sync'.\"),\n log_id: z.string().describe(\"Log ID for this error.\").nullable().optional(),\n}).describe(\"Model for connection errors.\");\nconst NangoListConnections_EndUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"End user ID.\").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(\"End user's organization details.\").nullable().optional(),\n}).describe(\"Model for end user profile attached to connection.\");\nconst NangoListConnections_ConnectionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal Nango connection identifier.\"),\n tags: z.object({}).describe(\"Tags attached to the connection.\").nullable().optional(),\n errors: z.array(NangoListConnections_ConnectionErrorSchema).describe(\"List of connection errors if any.\").nullable().optional(),\n created: z.string().describe(\"Connection creation timestamp in ISO 8601 format.\"),\n end_user: NangoListConnections_EndUserSchema.nullable().optional(),\n metadata: z.object({}).describe(\"Custom metadata attached to the connection.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'slack', 'github').\"),\n connection_id: z.string().describe(\"User-provided connection identifier.\"),\n provider_config_key: z.string().describe(\"Integration unique key.\"),\n}).describe(\"Model of a connection object without credentials.\");\nexport const NangoListConnectionsOutput: z.ZodTypeAny = z.object({\n connections: z.array(NangoListConnections_ConnectionSchema).describe(\"List of connection objects without credentials.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const nangoListConnections = action(\"NANGO_LIST_CONNECTIONS\", {\n slug: \"nango-list-connections\",\n name: \"List Connections\",\n description: \"Tool to list all connections without credentials. Use when you need to retrieve connection metadata across your account.\",\n input: NangoListConnectionsInput,\n output: NangoListConnectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;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C,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAChF,UAAU,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACzE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACpE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-connections.cjs","names":["z","action"],"sources":["../../src/actions/list-connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListConnectionsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.object({}).describe(\"Filter the list of connections based on connection tags. All provided tags must match.\").optional(),\n limit: z.number().int().describe(\"Limit the number of connections returned.\").optional(),\n search: z.string().describe(\"Will partially match connection IDs or end user profiles.\").optional(),\n endUserId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[end_user_id]=...).\").optional(),\n connectionId: z.string().describe(\"Will exactly match a given connectionId. Can return multiple connections with the same ID across integrations.\").optional(),\n endUserOrganizationId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).\").optional(),\n}).describe(\"Request model for listing connections without credentials.\");\nconst NangoListConnections_ConnectionErrorSchema = z.object({\n type: z.string().describe(\"Error type: 'auth' or 'sync'.\").nullable(),\n log_id: z.string().describe(\"Log ID for this error.\").nullable().optional(),\n}).describe(\"Model for connection errors.\");\nconst NangoListConnections_EndUserSchema = z.object({\n id: z.string().describe(\"End user ID.\").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(\"End user's organization details.\").nullable().optional(),\n}).describe(\"Model for end user profile attached to connection.\");\nconst NangoListConnections_ConnectionSchema = z.object({\n id: z.number().int().describe(\"Internal Nango connection identifier.\").nullable(),\n tags: z.object({}).describe(\"Tags attached to the connection.\").nullable().optional(),\n errors: z.array(NangoListConnections_ConnectionErrorSchema).describe(\"List of connection errors if any.\").nullable().optional(),\n created: z.string().describe(\"Connection creation timestamp in ISO 8601 format.\").nullable(),\n end_user: NangoListConnections_EndUserSchema.nullable().optional(),\n metadata: z.object({}).describe(\"Custom metadata attached to the connection.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'slack', 'github').\").nullable(),\n connection_id: z.string().describe(\"User-provided connection identifier.\").nullable(),\n provider_config_key: z.string().describe(\"Integration unique key.\").nullable(),\n}).describe(\"Model of a connection object without credentials.\");\nexport const NangoListConnectionsOutput = z.object({\n connections: z.array(NangoListConnections_ConnectionSchema).describe(\"List of connection objects without credentials.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const nangoListConnections = action(\"NANGO_LIST_CONNECTIONS\", {\n slug: \"nango-list-connections\",\n name: \"List Connections\",\n description: \"Tool to list all connections without credentials. Use when you need to retrieve connection metadata across your account.\",\n input: NangoListConnectionsInput,\n output: NangoListConnectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC7J,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAi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DAAiD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connections.d.ts
4
- declare const NangoListConnectionsInput: z.ZodTypeAny;
5
- declare const NangoListConnectionsOutput: z.ZodTypeAny;
6
- declare const nangoListConnections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoListConnectionsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ tags: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ limit: z.ZodOptional<z.ZodNumber>;
8
+ search: z.ZodOptional<z.ZodString>;
9
+ endUserId: z.ZodOptional<z.ZodString>;
10
+ connectionId: z.ZodOptional<z.ZodString>;
11
+ endUserOrganizationId: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const NangoListConnectionsOutput: z.ZodObject<{
14
+ connections: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodNumber>;
16
+ tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ type: z.ZodNullable<z.ZodString>;
19
+ log_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>>;
21
+ created: z.ZodNullable<z.ZodString>;
22
+ end_user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
27
+ }, z.core.$strip>>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
29
+ provider: z.ZodNullable<z.ZodString>;
30
+ connection_id: z.ZodNullable<z.ZodString>;
31
+ provider_config_key: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
34
+ declare const nangoListConnections: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ page?: number | undefined;
36
+ tags?: Record<string, never> | undefined;
37
+ limit?: number | undefined;
38
+ search?: string | undefined;
39
+ endUserId?: string | undefined;
40
+ connectionId?: string | undefined;
41
+ endUserOrganizationId?: string | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { nangoListConnections };
9
45
  //# sourceMappingURL=list-connections.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections.d.cts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQ+B;AAAA,cAsB5D,0BAAA,EAA4B,CAAA,CAAE,UAEW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connections.d.cts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;SAM/B,MAAA"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-connections.d.ts
4
- declare const NangoListConnectionsInput: z.ZodTypeAny;
5
- declare const NangoListConnectionsOutput: z.ZodTypeAny;
6
- declare const nangoListConnections: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoListConnectionsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodNumber>;
6
+ tags: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
7
+ limit: z.ZodOptional<z.ZodNumber>;
8
+ search: z.ZodOptional<z.ZodString>;
9
+ endUserId: z.ZodOptional<z.ZodString>;
10
+ connectionId: z.ZodOptional<z.ZodString>;
11
+ endUserOrganizationId: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const NangoListConnectionsOutput: z.ZodObject<{
14
+ connections: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodNumber>;
16
+ tags: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
17
+ errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ type: z.ZodNullable<z.ZodString>;
19
+ log_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$strip>>>>;
21
+ created: z.ZodNullable<z.ZodString>;
22
+ end_user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ organization: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
27
+ }, z.core.$strip>>>;
28
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
29
+ provider: z.ZodNullable<z.ZodString>;
30
+ connection_id: z.ZodNullable<z.ZodString>;
31
+ provider_config_key: z.ZodNullable<z.ZodString>;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
34
+ declare const nangoListConnections: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ page?: number | undefined;
36
+ tags?: Record<string, never> | undefined;
37
+ limit?: number | undefined;
38
+ search?: string | undefined;
39
+ endUserId?: string | undefined;
40
+ connectionId?: string | undefined;
41
+ endUserOrganizationId?: string | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { nangoListConnections };
9
45
  //# sourceMappingURL=list-connections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections.d.mts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQ+B;AAAA,cAsB5D,0BAAA,EAA4B,CAAA,CAAE,UAEW;AAAA,cAEzC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-connections.d.mts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;SAM/B,MAAA"}
@@ -11,7 +11,7 @@ const NangoListConnectionsInput = z.object({
11
11
  endUserOrganizationId: z.string().describe("Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).").optional()
12
12
  }).describe("Request model for listing connections without credentials.");
13
13
  const NangoListConnections_ConnectionErrorSchema = z.object({
14
- type: z.string().describe("Error type: 'auth' or 'sync'."),
14
+ type: z.string().describe("Error type: 'auth' or 'sync'.").nullable(),
15
15
  log_id: z.string().describe("Log ID for this error.").nullable().optional()
16
16
  }).describe("Model for connection errors.");
17
17
  const NangoListConnections_EndUserSchema = z.object({
@@ -21,15 +21,15 @@ const NangoListConnections_EndUserSchema = z.object({
21
21
  organization: z.object({}).describe("End user's organization details.").nullable().optional()
22
22
  }).describe("Model for end user profile attached to connection.");
23
23
  const NangoListConnections_ConnectionSchema = z.object({
24
- id: z.number().int().describe("Internal Nango connection identifier."),
24
+ id: z.number().int().describe("Internal Nango connection identifier.").nullable(),
25
25
  tags: z.object({}).describe("Tags attached to the connection.").nullable().optional(),
26
26
  errors: z.array(NangoListConnections_ConnectionErrorSchema).describe("List of connection errors if any.").nullable().optional(),
27
- created: z.string().describe("Connection creation timestamp in ISO 8601 format."),
27
+ created: z.string().describe("Connection creation timestamp in ISO 8601 format.").nullable(),
28
28
  end_user: NangoListConnections_EndUserSchema.nullable().optional(),
29
29
  metadata: z.object({}).describe("Custom metadata attached to the connection.").nullable().optional(),
30
- provider: z.string().describe("Provider name (e.g., 'slack', 'github')."),
31
- connection_id: z.string().describe("User-provided connection identifier."),
32
- provider_config_key: z.string().describe("Integration unique key.")
30
+ provider: z.string().describe("Provider name (e.g., 'slack', 'github').").nullable(),
31
+ connection_id: z.string().describe("User-provided connection identifier.").nullable(),
32
+ provider_config_key: z.string().describe("Integration unique key.").nullable()
33
33
  }).describe("Model of a connection object without credentials.");
34
34
  const nangoListConnections = action("NANGO_LIST_CONNECTIONS", {
35
35
  slug: "nango-list-connections",
@@ -1 +1 @@
1
- {"version":3,"file":"list-connections.mjs","names":[],"sources":["../../src/actions/list-connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListConnectionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.object({}).describe(\"Filter the list of connections based on connection tags. All provided tags must match.\").optional(),\n limit: z.number().int().describe(\"Limit the number of connections returned.\").optional(),\n search: z.string().describe(\"Will partially match connection IDs or end user profiles.\").optional(),\n endUserId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[end_user_id]=...).\").optional(),\n connectionId: z.string().describe(\"Will exactly match a given connectionId. Can return multiple connections with the same ID across integrations.\").optional(),\n endUserOrganizationId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).\").optional(),\n}).describe(\"Request model for listing connections without credentials.\");\nconst NangoListConnections_ConnectionErrorSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Error type: 'auth' or 'sync'.\"),\n log_id: z.string().describe(\"Log ID for this error.\").nullable().optional(),\n}).describe(\"Model for connection errors.\");\nconst NangoListConnections_EndUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"End user ID.\").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(\"End user's organization details.\").nullable().optional(),\n}).describe(\"Model for end user profile attached to connection.\");\nconst NangoListConnections_ConnectionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal Nango connection identifier.\"),\n tags: z.object({}).describe(\"Tags attached to the connection.\").nullable().optional(),\n errors: z.array(NangoListConnections_ConnectionErrorSchema).describe(\"List of connection errors if any.\").nullable().optional(),\n created: z.string().describe(\"Connection creation timestamp in ISO 8601 format.\"),\n end_user: NangoListConnections_EndUserSchema.nullable().optional(),\n metadata: z.object({}).describe(\"Custom metadata attached to the connection.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'slack', 'github').\"),\n connection_id: z.string().describe(\"User-provided connection identifier.\"),\n provider_config_key: z.string().describe(\"Integration unique key.\"),\n}).describe(\"Model of a connection object without credentials.\");\nexport const NangoListConnectionsOutput: z.ZodTypeAny = z.object({\n connections: z.array(NangoListConnections_ConnectionSchema).describe(\"List of connection objects without credentials.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const nangoListConnections = action(\"NANGO_LIST_CONNECTIONS\", {\n slug: \"nango-list-connections\",\n name: \"List Connections\",\n description: \"Tool to list all connections without credentials. Use when you need to retrieve connection metadata across your account.\",\n input: NangoListConnectionsInput,\n output: NangoListConnectionsOutput,\n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,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAChF,UAAU,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACzE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACpE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,aAAa,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-connections.mjs","names":[],"sources":["../../src/actions/list-connections.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListConnectionsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.object({}).describe(\"Filter the list of connections based on connection tags. All provided tags must match.\").optional(),\n limit: z.number().int().describe(\"Limit the number of connections returned.\").optional(),\n search: z.string().describe(\"Will partially match connection IDs or end user profiles.\").optional(),\n endUserId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[end_user_id]=...).\").optional(),\n connectionId: z.string().describe(\"Will exactly match a given connectionId. Can return multiple connections with the same ID across integrations.\").optional(),\n endUserOrganizationId: z.string().describe(\"Deprecated. Prefer filtering connections by tag (e.g. tags[organization_id]=...).\").optional(),\n}).describe(\"Request model for listing connections without credentials.\");\nconst NangoListConnections_ConnectionErrorSchema = z.object({\n type: z.string().describe(\"Error type: 'auth' or 'sync'.\").nullable(),\n log_id: z.string().describe(\"Log ID for this error.\").nullable().optional(),\n}).describe(\"Model for connection errors.\");\nconst NangoListConnections_EndUserSchema = z.object({\n id: z.string().describe(\"End user ID.\").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(\"End user's organization details.\").nullable().optional(),\n}).describe(\"Model for end user profile attached to connection.\");\nconst NangoListConnections_ConnectionSchema = z.object({\n id: z.number().int().describe(\"Internal Nango connection identifier.\").nullable(),\n tags: z.object({}).describe(\"Tags attached to the connection.\").nullable().optional(),\n errors: z.array(NangoListConnections_ConnectionErrorSchema).describe(\"List of connection errors if any.\").nullable().optional(),\n created: z.string().describe(\"Connection creation timestamp in ISO 8601 format.\").nullable(),\n end_user: NangoListConnections_EndUserSchema.nullable().optional(),\n metadata: z.object({}).describe(\"Custom metadata attached to the connection.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'slack', 'github').\").nullable(),\n connection_id: z.string().describe(\"User-provided connection identifier.\").nullable(),\n provider_config_key: z.string().describe(\"Integration unique key.\").nullable(),\n}).describe(\"Model of a connection object without credentials.\");\nexport const NangoListConnectionsOutput = z.object({\n connections: z.array(NangoListConnections_ConnectionSchema).describe(\"List of connection objects without credentials.\"),\n}).describe(\"Response model for listing connections.\");\n\nexport const nangoListConnections = action(\"NANGO_LIST_CONNECTIONS\", {\n slug: \"nango-list-connections\",\n name: \"List Connections\",\n description: \"Tool to list all connections without credentials. Use when you need to retrieve connection metadata across your account.\",\n input: NangoListConnectionsInput,\n output: NangoListConnectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC7J,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,UAAU,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,aAAa,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,EACxH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -4,11 +4,11 @@ let zod = require("zod");
4
4
  const NangoListIntegrationsInput = zod.z.object({}).describe("Empty request model for retrieving all integrations.");
5
5
  const NangoListIntegrations_ListIntegrationsResponseIntegrationSchema = zod.z.object({
6
6
  logo: zod.z.string().describe("URL to the integration's logo/icon image").nullable().optional(),
7
- provider: zod.z.string().describe("Provider/platform name for this integration"),
8
- created_at: zod.z.string().describe("Integration creation timestamp in ISO 8601 format"),
9
- unique_key: zod.z.string().describe("Unique key identifier for the integration"),
10
- updated_at: zod.z.string().describe("Integration last updated timestamp in ISO 8601 format"),
11
- display_name: zod.z.string().describe("Human-readable display name of the integration")
7
+ provider: zod.z.string().describe("Provider/platform name for this integration").nullable(),
8
+ created_at: zod.z.string().describe("Integration creation timestamp in ISO 8601 format").nullable(),
9
+ unique_key: zod.z.string().describe("Unique key identifier for the integration").nullable(),
10
+ updated_at: zod.z.string().describe("Integration last updated timestamp in ISO 8601 format").nullable(),
11
+ display_name: zod.z.string().describe("Human-readable display name of the integration").nullable()
12
12
  }).describe("Model representing a single integration.");
13
13
  const NangoListIntegrationsOutput = zod.z.object({ data: zod.z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe("List of all configured integrations") }).describe("Response model containing list of integrations.");
14
14
  const nangoListIntegrations = require_action.action("NANGO_LIST_INTEGRATIONS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.cjs","names":["z","action"],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListIntegrationsInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for retrieving all integrations.\");\nconst NangoListIntegrations_ListIntegrationsResponseIntegrationSchema: z.ZodTypeAny = z.object({\n logo: z.string().describe(\"URL to the integration's logo/icon image\").nullable().optional(),\n provider: z.string().describe(\"Provider/platform name for this integration\"),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format\"),\n unique_key: z.string().describe(\"Unique key identifier for the integration\"),\n updated_at: z.string().describe(\"Integration last updated timestamp in ISO 8601 format\"),\n display_name: z.string().describe(\"Human-readable display name of the integration\"),\n}).describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput: z.ZodTypeAny = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations = action(\"NANGO_LIST_INTEGRATIONS\", {\n slug: \"nango-list-integrations\",\n name: \"List Integrations\",\n description: \"Tool to retrieve a list of all configured integrations. Use when you need to display or iterate through integrations in your account.\",\n input: NangoListIntegrationsInput,\n output: NangoListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACpI,MAAM,kEAAgFA,IAAAA,EAAE,OAAO;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-integrations.cjs","names":["z","action"],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListIntegrationsInput = z.object({}).describe(\"Empty request model for retrieving all integrations.\");\nconst NangoListIntegrations_ListIntegrationsResponseIntegrationSchema = z.object({\n logo: z.string().describe(\"URL to the integration's logo/icon image\").nullable().optional(),\n provider: z.string().describe(\"Provider/platform name for this integration\").nullable(),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format\").nullable(),\n unique_key: z.string().describe(\"Unique key identifier for the integration\").nullable(),\n updated_at: z.string().describe(\"Integration last updated timestamp in ISO 8601 format\").nullable(),\n display_name: z.string().describe(\"Human-readable display name of the integration\").nullable(),\n}).describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations = action(\"NANGO_LIST_INTEGRATIONS\", {\n slug: \"nango-list-integrations\",\n name: \"List Integrations\",\n description: \"Tool to retrieve a list of all configured integrations. Use when you need to display or iterate through integrations in your account.\",\n input: NangoListIntegrationsInput,\n output: NangoListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACtH,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-integrations.d.ts
4
- declare const NangoListIntegrationsInput: z.ZodTypeAny;
5
- declare const NangoListIntegrationsOutput: z.ZodTypeAny;
6
- declare const nangoListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoListIntegrationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const NangoListIntegrationsOutput: z.ZodObject<{
6
+ data: z.ZodArray<z.ZodObject<{
7
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ provider: z.ZodNullable<z.ZodString>;
9
+ created_at: z.ZodNullable<z.ZodString>;
10
+ unique_key: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ declare const nangoListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { nangoListIntegrations };
9
18
  //# sourceMappingURL=list-integrations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA0F;AAAA,cASxH,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-integrations.d.ts
4
- declare const NangoListIntegrationsInput: z.ZodTypeAny;
5
- declare const NangoListIntegrationsOutput: z.ZodTypeAny;
6
- declare const nangoListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoListIntegrationsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const NangoListIntegrationsOutput: z.ZodObject<{
6
+ data: z.ZodArray<z.ZodObject<{
7
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ provider: z.ZodNullable<z.ZodString>;
9
+ created_at: z.ZodNullable<z.ZodString>;
10
+ unique_key: z.ZodNullable<z.ZodString>;
11
+ updated_at: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ declare const nangoListIntegrations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { nangoListIntegrations };
9
18
  //# sourceMappingURL=list-integrations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA0F;AAAA,cASxH,2BAAA,EAA6B,CAAA,CAAE,UAEkB;AAAA,cAEjD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  const NangoListIntegrationsInput = z.object({}).describe("Empty request model for retrieving all integrations.");
5
5
  const NangoListIntegrations_ListIntegrationsResponseIntegrationSchema = z.object({
6
6
  logo: z.string().describe("URL to the integration's logo/icon image").nullable().optional(),
7
- provider: z.string().describe("Provider/platform name for this integration"),
8
- created_at: z.string().describe("Integration creation timestamp in ISO 8601 format"),
9
- unique_key: z.string().describe("Unique key identifier for the integration"),
10
- updated_at: z.string().describe("Integration last updated timestamp in ISO 8601 format"),
11
- display_name: z.string().describe("Human-readable display name of the integration")
7
+ provider: z.string().describe("Provider/platform name for this integration").nullable(),
8
+ created_at: z.string().describe("Integration creation timestamp in ISO 8601 format").nullable(),
9
+ unique_key: z.string().describe("Unique key identifier for the integration").nullable(),
10
+ updated_at: z.string().describe("Integration last updated timestamp in ISO 8601 format").nullable(),
11
+ display_name: z.string().describe("Human-readable display name of the integration").nullable()
12
12
  }).describe("Model representing a single integration.");
13
13
  const nangoListIntegrations = action("NANGO_LIST_INTEGRATIONS", {
14
14
  slug: "nango-list-integrations",
@@ -1 +1 @@
1
- {"version":3,"file":"list-integrations.mjs","names":[],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListIntegrationsInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for retrieving all integrations.\");\nconst NangoListIntegrations_ListIntegrationsResponseIntegrationSchema: z.ZodTypeAny = z.object({\n logo: z.string().describe(\"URL to the integration's logo/icon image\").nullable().optional(),\n provider: z.string().describe(\"Provider/platform name for this integration\"),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format\"),\n unique_key: z.string().describe(\"Unique key identifier for the integration\"),\n updated_at: z.string().describe(\"Integration last updated timestamp in ISO 8601 format\"),\n display_name: z.string().describe(\"Human-readable display name of the integration\"),\n}).describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput: z.ZodTypeAny = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations = action(\"NANGO_LIST_INTEGRATIONS\", {\n slug: \"nango-list-integrations\",\n name: \"List Integrations\",\n description: \"Tool to retrieve a list of all configured integrations. Use when you need to display or iterate through integrations in your account.\",\n input: NangoListIntegrationsInput,\n output: NangoListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACpI,MAAM,kEAAgF,EAAE,OAAO;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,MAAM,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-integrations.mjs","names":[],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoListIntegrationsInput = z.object({}).describe(\"Empty request model for retrieving all integrations.\");\nconst NangoListIntegrations_ListIntegrationsResponseIntegrationSchema = z.object({\n logo: z.string().describe(\"URL to the integration's logo/icon image\").nullable().optional(),\n provider: z.string().describe(\"Provider/platform name for this integration\").nullable(),\n created_at: z.string().describe(\"Integration creation timestamp in ISO 8601 format\").nullable(),\n unique_key: z.string().describe(\"Unique key identifier for the integration\").nullable(),\n updated_at: z.string().describe(\"Integration last updated timestamp in ISO 8601 format\").nullable(),\n display_name: z.string().describe(\"Human-readable display name of the integration\").nullable(),\n}).describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations = action(\"NANGO_LIST_INTEGRATIONS\", {\n slug: \"nango-list-integrations\",\n name: \"List Integrations\",\n description: \"Tool to retrieve a list of all configured integrations. Use when you need to display or iterate through integrations in your account.\",\n input: NangoListIntegrationsInput,\n output: NangoListIntegrationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACtH,MAAM,kEAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -4,14 +4,14 @@ let zod = require("zod");
4
4
  const NangoProvidersGetGetInput = zod.z.object({ provider: zod.z.string().describe("The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.") }).describe("Request model for retrieving a specific provider by its unique key.");
5
5
  const NangoProvidersGetGetOutput = zod.z.object({
6
6
  docs: zod.z.string().describe("Link to provider's documentation.").nullable().optional(),
7
- name: zod.z.string().describe("Provider's unique identifier/key (e.g., 'github', 'salesforce')."),
7
+ name: zod.z.string().describe("Provider's unique identifier/key (e.g., 'github', 'salesforce').").nullable(),
8
8
  proxy: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Proxy configuration including base_url, retry, and pagination settings.").nullable().optional(),
9
9
  logo_url: zod.z.string().describe("URL to the provider's logo image.").nullable().optional(),
10
- auth_mode: zod.z.string().describe("Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC)."),
10
+ auth_mode: zod.z.string().describe("Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).").nullable(),
11
11
  token_url: zod.z.string().describe("OAuth token URL, if applicable.").nullable().optional(),
12
12
  categories: zod.z.array(zod.z.string()).describe("List of categories the provider belongs to (e.g., 'dev-tools', 'crm').").nullable().optional(),
13
13
  credentials: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Credentials schema required for authentication.").nullable().optional(),
14
- display_name: zod.z.string().describe("Human-readable display name of the provider."),
14
+ display_name: zod.z.string().describe("Human-readable display name of the provider.").nullable(),
15
15
  setup_guide_url: zod.z.string().describe("URL to the provider's setup guide.").nullable().optional(),
16
16
  additional_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional provider-specific configuration fields.").nullable().optional(),
17
17
  authorization_url: zod.z.string().describe("OAuth authorization URL, if applicable.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"providers-get-get.cjs","names":["z","action"],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersGetGetInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.\"),\n}).describe(\"Request model for retrieving a specific provider by its unique key.\");\nexport const NangoProvidersGetGetOutput: z.ZodTypeAny = z.object({\n docs: z.string().describe(\"Link to provider's documentation.\").nullable().optional(),\n name: z.string().describe(\"Provider's unique identifier/key (e.g., 'github', 'salesforce').\"),\n proxy: z.record(z.string(), z.unknown()).describe(\"Proxy configuration including base_url, retry, and pagination settings.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the provider's logo image.\").nullable().optional(),\n auth_mode: z.string().describe(\"Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).\"),\n token_url: z.string().describe(\"OAuth token URL, if applicable.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the provider belongs to (e.g., 'dev-tools', 'crm').\").nullable().optional(),\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials schema required for authentication.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider.\"),\n setup_guide_url: z.string().describe(\"URL to the provider's setup guide.\").nullable().optional(),\n additional_fields: z.record(z.string(), z.unknown()).describe(\"Additional provider-specific configuration fields.\").nullable().optional(),\n authorization_url: z.string().describe(\"OAuth authorization URL, if applicable.\").nullable().optional(),\n connection_config: z.record(z.string(), z.unknown()).describe(\"Configuration schema required for connections.\").nullable().optional(),\n}).describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet = action(\"NANGO_PROVIDERS_GET_GET\", {\n slug: \"nango-providers-get-get\",\n name: \"Get Provider Details\",\n description: \"Retrieve detailed configuration for a specific Nango provider by its unique key. Returns provider authentication details (auth_mode, OAuth URLs), proxy configuration, required credentials schema, and connection configuration requirements. Use this to understand how to set up a connection with a specific provider or to get its documentation links. Provider keys can be obtained from the List Providers action. Returns 404 error if provider key does not exist.\",\n input: NangoProvidersGetGetInput,\n output: NangoProvidersGetGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EACpN,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,C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CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"providers-get-get.cjs","names":["z","action"],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersGetGetInput = z.object({\n provider: z.string().describe(\"The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.\"),\n}).describe(\"Request model for retrieving a specific provider by its unique key.\");\nexport const NangoProvidersGetGetOutput = z.object({\n docs: z.string().describe(\"Link to provider's documentation.\").nullable().optional(),\n name: z.string().describe(\"Provider's unique identifier/key (e.g., 'github', 'salesforce').\").nullable(),\n proxy: z.record(z.string(), z.unknown()).describe(\"Proxy configuration including base_url, retry, and pagination settings.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the provider's logo image.\").nullable().optional(),\n auth_mode: z.string().describe(\"Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).\").nullable(),\n token_url: z.string().describe(\"OAuth token URL, if applicable.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the provider belongs to (e.g., 'dev-tools', 'crm').\").nullable().optional(),\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials schema required for authentication.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider.\").nullable(),\n setup_guide_url: z.string().describe(\"URL to the provider's setup guide.\").nullable().optional(),\n additional_fields: z.record(z.string(), z.unknown()).describe(\"Additional provider-specific configuration fields.\").nullable().optional(),\n authorization_url: z.string().describe(\"OAuth authorization URL, if applicable.\").nullable().optional(),\n connection_config: z.record(z.string(), z.unknown()).describe(\"Configuration schema required for connections.\").nullable().optional(),\n}).describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet = action(\"NANGO_PROVIDERS_GET_GET\", {\n slug: \"nango-providers-get-get\",\n name: \"Get Provider Details\",\n description: \"Retrieve detailed configuration for a specific Nango provider by its unique key. Returns provider authentication details (auth_mode, OAuth URLs), proxy configuration, required credentials schema, and connection configuration requirements. Use this to understand how to set up a connection with a specific provider or to get its documentation links. Provider keys can be obtained from the List Providers action. Returns 404 error if provider key does not exist.\",\n input: NangoProvidersGetGetInput,\n output: NangoProvidersGetGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EACpN,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/providers-get-get.d.ts
4
- declare const NangoProvidersGetGetInput: z.ZodTypeAny;
5
- declare const NangoProvidersGetGetOutput: z.ZodTypeAny;
6
- declare const nangoProvidersGetGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoProvidersGetGetInput: z.ZodObject<{
5
+ provider: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NangoProvidersGetGetOutput: z.ZodObject<{
8
+ docs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ proxy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ auth_mode: z.ZodNullable<z.ZodString>;
13
+ token_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ display_name: z.ZodNullable<z.ZodString>;
17
+ setup_guide_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ additional_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ connection_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ }, z.core.$strip>;
22
+ declare const nangoProvidersGetGet: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ provider: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { nangoProvidersGetGet };
9
27
  //# sourceMappingURL=providers-get-get.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"providers-get-get.d.cts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwC;AAAA,cACrE,0BAAA,EAA4B,CAAA,CAAE,UAcQ;AAAA,cAEtC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"providers-get-get.d.cts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/providers-get-get.d.ts
4
- declare const NangoProvidersGetGetInput: z.ZodTypeAny;
5
- declare const NangoProvidersGetGetOutput: z.ZodTypeAny;
6
- declare const nangoProvidersGetGet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NangoProvidersGetGetInput: z.ZodObject<{
5
+ provider: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NangoProvidersGetGetOutput: z.ZodObject<{
8
+ docs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ proxy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
11
+ logo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ auth_mode: z.ZodNullable<z.ZodString>;
13
+ token_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
15
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ display_name: z.ZodNullable<z.ZodString>;
17
+ setup_guide_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ additional_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ connection_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ }, z.core.$strip>;
22
+ declare const nangoProvidersGetGet: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ provider: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { nangoProvidersGetGet };
9
27
  //# sourceMappingURL=providers-get-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"providers-get-get.d.mts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwC;AAAA,cACrE,0BAAA,EAA4B,CAAA,CAAE,UAcQ;AAAA,cAEtC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"providers-get-get.d.mts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB1B,oBAAA,gCAAoB,wBAAA"}
@@ -7,14 +7,14 @@ const nangoProvidersGetGet = action("NANGO_PROVIDERS_GET_GET", {
7
7
  input: z.object({ provider: z.string().describe("The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.") }).describe("Request model for retrieving a specific provider by its unique key."),
8
8
  output: z.object({
9
9
  docs: z.string().describe("Link to provider's documentation.").nullable().optional(),
10
- name: z.string().describe("Provider's unique identifier/key (e.g., 'github', 'salesforce')."),
10
+ name: z.string().describe("Provider's unique identifier/key (e.g., 'github', 'salesforce').").nullable(),
11
11
  proxy: z.record(z.string(), z.unknown()).describe("Proxy configuration including base_url, retry, and pagination settings.").nullable().optional(),
12
12
  logo_url: z.string().describe("URL to the provider's logo image.").nullable().optional(),
13
- auth_mode: z.string().describe("Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC)."),
13
+ auth_mode: z.string().describe("Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).").nullable(),
14
14
  token_url: z.string().describe("OAuth token URL, if applicable.").nullable().optional(),
15
15
  categories: z.array(z.string()).describe("List of categories the provider belongs to (e.g., 'dev-tools', 'crm').").nullable().optional(),
16
16
  credentials: z.record(z.string(), z.unknown()).describe("Credentials schema required for authentication.").nullable().optional(),
17
- display_name: z.string().describe("Human-readable display name of the provider."),
17
+ display_name: z.string().describe("Human-readable display name of the provider.").nullable(),
18
18
  setup_guide_url: z.string().describe("URL to the provider's setup guide.").nullable().optional(),
19
19
  additional_fields: z.record(z.string(), z.unknown()).describe("Additional provider-specific configuration fields.").nullable().optional(),
20
20
  authorization_url: z.string().describe("OAuth authorization URL, if applicable.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"providers-get-get.mjs","names":[],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersGetGetInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.\"),\n}).describe(\"Request model for retrieving a specific provider by its unique key.\");\nexport const NangoProvidersGetGetOutput: z.ZodTypeAny = z.object({\n docs: z.string().describe(\"Link to provider's documentation.\").nullable().optional(),\n name: z.string().describe(\"Provider's unique identifier/key (e.g., 'github', 'salesforce').\"),\n proxy: z.record(z.string(), z.unknown()).describe(\"Proxy configuration including base_url, retry, and pagination settings.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the provider's logo image.\").nullable().optional(),\n auth_mode: z.string().describe(\"Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).\"),\n token_url: z.string().describe(\"OAuth token URL, if applicable.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the provider belongs to (e.g., 'dev-tools', 'crm').\").nullable().optional(),\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials schema required for authentication.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider.\"),\n setup_guide_url: z.string().describe(\"URL to the provider's setup guide.\").nullable().optional(),\n additional_fields: z.record(z.string(), z.unknown()).describe(\"Additional provider-specific configuration fields.\").nullable().optional(),\n authorization_url: z.string().describe(\"OAuth authorization URL, if applicable.\").nullable().optional(),\n connection_config: z.record(z.string(), z.unknown()).describe(\"Configuration schema required for connections.\").nullable().optional(),\n}).describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet = action(\"NANGO_PROVIDERS_GET_GET\", {\n slug: \"nango-providers-get-get\",\n name: \"Get Provider Details\",\n description: \"Retrieve detailed configuration for a specific Nango provider by its unique key. Returns provider authentication details (auth_mode, OAuth URLs), proxy configuration, required credentials schema, and connection configuration requirements. Use this to understand how to set up a connection with a specific provider or to get its documentation links. Provider keys can be obtained from the List Providers action. Returns 404 error if provider key does not exist.\",\n input: NangoProvidersGetGetInput,\n output: NangoProvidersGetGetOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBqD,EAAE,OAAO,EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,EACpN,CAAC,CAAC,CAAC,SAAS,qEAqBH;CACP,QArBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EAC5F,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"providers-get-get.mjs","names":[],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersGetGetInput = z.object({\n provider: z.string().describe(\"The unique provider key/slug (lowercase with hyphens). Use the 'name' field from List Providers to get valid keys. Examples: 'github', 'salesforce', 'active-campaign', 'hubspot'.\"),\n}).describe(\"Request model for retrieving a specific provider by its unique key.\");\nexport const NangoProvidersGetGetOutput = z.object({\n docs: z.string().describe(\"Link to provider's documentation.\").nullable().optional(),\n name: z.string().describe(\"Provider's unique identifier/key (e.g., 'github', 'salesforce').\").nullable(),\n proxy: z.record(z.string(), z.unknown()).describe(\"Proxy configuration including base_url, retry, and pagination settings.\").nullable().optional(),\n logo_url: z.string().describe(\"URL to the provider's logo image.\").nullable().optional(),\n auth_mode: z.string().describe(\"Provider's authentication mode (e.g., OAUTH2, OAUTH1, API_KEY, BASIC).\").nullable(),\n token_url: z.string().describe(\"OAuth token URL, if applicable.\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories the provider belongs to (e.g., 'dev-tools', 'crm').\").nullable().optional(),\n credentials: z.record(z.string(), z.unknown()).describe(\"Credentials schema required for authentication.\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider.\").nullable(),\n setup_guide_url: z.string().describe(\"URL to the provider's setup guide.\").nullable().optional(),\n additional_fields: z.record(z.string(), z.unknown()).describe(\"Additional provider-specific configuration fields.\").nullable().optional(),\n authorization_url: z.string().describe(\"OAuth authorization URL, if applicable.\").nullable().optional(),\n connection_config: z.record(z.string(), z.unknown()).describe(\"Configuration schema required for connections.\").nullable().optional(),\n}).describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet = action(\"NANGO_PROVIDERS_GET_GET\", {\n slug: \"nango-providers-get-get\",\n name: \"Get Provider Details\",\n description: \"Retrieve detailed configuration for a specific Nango provider by its unique key. Returns provider authentication details (auth_mode, OAuth URLs), proxy configuration, required credentials schema, and connection configuration requirements. Use this to understand how to set up a connection with a specific provider or to get its documentation links. Provider keys can be obtained from the List Providers action. Returns 404 error if provider key does not exist.\",\n input: NangoProvidersGetGetInput,\n output: NangoProvidersGetGetOutput,\n});\n"],"mappings":";;AAuBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO,EAChD,UA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