@keystrokehq/nango 0.1.0 → 0.1.3
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/action-trigger-post.cjs +1 -1
- package/dist/actions/action-trigger-post.cjs.map +1 -1
- package/dist/actions/action-trigger-post.d.cts +15 -3
- package/dist/actions/action-trigger-post.d.cts.map +1 -1
- package/dist/actions/action-trigger-post.d.mts +15 -3
- package/dist/actions/action-trigger-post.d.mts.map +1 -1
- package/dist/actions/action-trigger-post.mjs +1 -1
- package/dist/actions/action-trigger-post.mjs.map +1 -1
- package/dist/actions/add-connection.cjs +30 -30
- package/dist/actions/add-connection.cjs.map +1 -1
- package/dist/actions/add-connection.d.cts +122 -3
- package/dist/actions/add-connection.d.cts.map +1 -1
- package/dist/actions/add-connection.d.mts +122 -3
- package/dist/actions/add-connection.d.mts.map +1 -1
- package/dist/actions/add-connection.mjs +30 -30
- package/dist/actions/add-connection.mjs.map +1 -1
- package/dist/actions/connection-get.cjs +10 -10
- package/dist/actions/connection-get.cjs.map +1 -1
- package/dist/actions/connection-get.d.cts +36 -3
- package/dist/actions/connection-get.d.cts.map +1 -1
- package/dist/actions/connection-get.d.mts +36 -3
- package/dist/actions/connection-get.d.mts.map +1 -1
- package/dist/actions/connection-get.mjs +10 -10
- package/dist/actions/connection-get.mjs.map +1 -1
- package/dist/actions/create-connect-session.cjs +8 -8
- package/dist/actions/create-connect-session.cjs.map +1 -1
- package/dist/actions/create-connect-session.d.cts +39 -3
- package/dist/actions/create-connect-session.d.cts.map +1 -1
- package/dist/actions/create-connect-session.d.mts +39 -3
- package/dist/actions/create-connect-session.d.mts.map +1 -1
- package/dist/actions/create-connect-session.mjs +8 -8
- package/dist/actions/create-connect-session.mjs.map +1 -1
- package/dist/actions/create-integration.cjs +10 -10
- package/dist/actions/create-integration.cjs.map +1 -1
- package/dist/actions/create-integration.d.cts +62 -3
- package/dist/actions/create-integration.d.cts.map +1 -1
- package/dist/actions/create-integration.d.mts +62 -3
- package/dist/actions/create-integration.d.mts.map +1 -1
- package/dist/actions/create-integration.mjs +10 -10
- package/dist/actions/create-integration.mjs.map +1 -1
- package/dist/actions/delete-connection.cjs +1 -1
- package/dist/actions/delete-connection.cjs.map +1 -1
- package/dist/actions/delete-connection.d.cts +11 -3
- package/dist/actions/delete-connection.d.cts.map +1 -1
- package/dist/actions/delete-connection.d.mts +11 -3
- package/dist/actions/delete-connection.d.mts.map +1 -1
- package/dist/actions/delete-connection.mjs +1 -1
- package/dist/actions/delete-connection.mjs.map +1 -1
- package/dist/actions/delete-integration.cjs +1 -1
- package/dist/actions/delete-integration.cjs.map +1 -1
- package/dist/actions/delete-integration.d.cts +9 -3
- package/dist/actions/delete-integration.d.cts.map +1 -1
- package/dist/actions/delete-integration.d.mts +9 -3
- package/dist/actions/delete-integration.d.mts.map +1 -1
- package/dist/actions/delete-integration.mjs +1 -1
- package/dist/actions/delete-integration.mjs.map +1 -1
- package/dist/actions/edit-connection.cjs +3 -3
- package/dist/actions/edit-connection.cjs.map +1 -1
- package/dist/actions/edit-connection.d.cts +25 -3
- package/dist/actions/edit-connection.d.cts.map +1 -1
- package/dist/actions/edit-connection.d.mts +25 -3
- package/dist/actions/edit-connection.d.mts.map +1 -1
- package/dist/actions/edit-connection.mjs +3 -3
- package/dist/actions/edit-connection.mjs.map +1 -1
- package/dist/actions/get-connection.cjs +19 -19
- package/dist/actions/get-connection.cjs.map +1 -1
- package/dist/actions/get-connection.d.cts +38 -3
- package/dist/actions/get-connection.d.cts.map +1 -1
- package/dist/actions/get-connection.d.mts +38 -3
- package/dist/actions/get-connection.d.mts.map +1 -1
- package/dist/actions/get-connection.mjs +19 -19
- package/dist/actions/get-connection.mjs.map +1 -1
- package/dist/actions/get-environment-variables.cjs +4 -4
- package/dist/actions/get-environment-variables.cjs.map +1 -1
- package/dist/actions/get-environment-variables.d.cts +8 -3
- package/dist/actions/get-environment-variables.d.cts.map +1 -1
- package/dist/actions/get-environment-variables.d.mts +8 -3
- package/dist/actions/get-environment-variables.d.mts.map +1 -1
- package/dist/actions/get-environment-variables.mjs +4 -4
- package/dist/actions/get-environment-variables.mjs.map +1 -1
- package/dist/actions/get-integration.cjs +8 -8
- package/dist/actions/get-integration.cjs.map +1 -1
- package/dist/actions/get-integration.d.cts +26 -3
- package/dist/actions/get-integration.d.cts.map +1 -1
- package/dist/actions/get-integration.d.mts +26 -3
- package/dist/actions/get-integration.d.mts.map +1 -1
- package/dist/actions/get-integration.mjs +8 -8
- package/dist/actions/get-integration.mjs.map +1 -1
- package/dist/actions/get-proxy.cjs +5 -5
- package/dist/actions/get-proxy.cjs.map +1 -1
- package/dist/actions/get-proxy.d.cts +28 -3
- package/dist/actions/get-proxy.d.cts.map +1 -1
- package/dist/actions/get-proxy.d.mts +28 -3
- package/dist/actions/get-proxy.d.mts.map +1 -1
- package/dist/actions/get-proxy.mjs +5 -5
- package/dist/actions/get-proxy.mjs.map +1 -1
- package/dist/actions/get-sync-status.cjs +8 -8
- package/dist/actions/get-sync-status.cjs.map +1 -1
- package/dist/actions/get-sync-status.d.cts +35 -3
- package/dist/actions/get-sync-status.d.cts.map +1 -1
- package/dist/actions/get-sync-status.d.mts +35 -3
- package/dist/actions/get-sync-status.d.mts.map +1 -1
- package/dist/actions/get-sync-status.mjs +8 -8
- package/dist/actions/get-sync-status.mjs.map +1 -1
- package/dist/actions/list-connections.cjs +14 -14
- package/dist/actions/list-connections.cjs.map +1 -1
- package/dist/actions/list-connections.d.cts +39 -3
- package/dist/actions/list-connections.d.cts.map +1 -1
- package/dist/actions/list-connections.d.mts +39 -3
- package/dist/actions/list-connections.d.mts.map +1 -1
- package/dist/actions/list-connections.mjs +14 -14
- package/dist/actions/list-connections.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +7 -7
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +12 -3
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +12 -3
- package/dist/actions/list-integrations.d.mts.map +1 -1
- package/dist/actions/list-integrations.mjs +7 -7
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/providers-get-get.cjs +4 -4
- package/dist/actions/providers-get-get.cjs.map +1 -1
- package/dist/actions/providers-get-get.d.cts +21 -3
- package/dist/actions/providers-get-get.d.cts.map +1 -1
- package/dist/actions/providers-get-get.d.mts +21 -3
- package/dist/actions/providers-get-get.d.mts.map +1 -1
- package/dist/actions/providers-get-get.mjs +4 -4
- package/dist/actions/providers-get-get.mjs.map +1 -1
- package/dist/actions/providers-list-get.cjs +4 -4
- package/dist/actions/providers-list-get.cjs.map +1 -1
- package/dist/actions/providers-list-get.d.cts +13 -3
- package/dist/actions/providers-list-get.d.cts.map +1 -1
- package/dist/actions/providers-list-get.d.mts +13 -3
- package/dist/actions/providers-list-get.d.mts.map +1 -1
- package/dist/actions/providers-list-get.mjs +4 -4
- package/dist/actions/providers-list-get.mjs.map +1 -1
- package/dist/actions/put-proxy.cjs +4 -4
- package/dist/actions/put-proxy.cjs.map +1 -1
- package/dist/actions/put-proxy.d.cts +23 -3
- package/dist/actions/put-proxy.d.cts.map +1 -1
- package/dist/actions/put-proxy.d.mts +23 -3
- package/dist/actions/put-proxy.d.mts.map +1 -1
- package/dist/actions/put-proxy.mjs +4 -4
- package/dist/actions/put-proxy.mjs.map +1 -1
- package/dist/actions/reconnect-session-post.cjs +8 -8
- package/dist/actions/reconnect-session-post.cjs.map +1 -1
- package/dist/actions/reconnect-session-post.d.cts +41 -3
- package/dist/actions/reconnect-session-post.d.cts.map +1 -1
- package/dist/actions/reconnect-session-post.d.mts +41 -3
- package/dist/actions/reconnect-session-post.d.mts.map +1 -1
- package/dist/actions/reconnect-session-post.mjs +8 -8
- package/dist/actions/reconnect-session-post.mjs.map +1 -1
- package/dist/actions/scripts-config-get.cjs +13 -13
- package/dist/actions/scripts-config-get.cjs.map +1 -1
- package/dist/actions/scripts-config-get.d.cts +53 -3
- package/dist/actions/scripts-config-get.d.cts.map +1 -1
- package/dist/actions/scripts-config-get.d.mts +53 -3
- package/dist/actions/scripts-config-get.d.mts.map +1 -1
- package/dist/actions/scripts-config-get.mjs +13 -13
- package/dist/actions/scripts-config-get.mjs.map +1 -1
- package/dist/actions/set-connection-metadata.cjs +4 -4
- package/dist/actions/set-connection-metadata.cjs.map +1 -1
- package/dist/actions/set-connection-metadata.d.cts +15 -3
- package/dist/actions/set-connection-metadata.d.cts.map +1 -1
- package/dist/actions/set-connection-metadata.d.mts +15 -3
- package/dist/actions/set-connection-metadata.d.mts.map +1 -1
- package/dist/actions/set-connection-metadata.mjs +4 -4
- package/dist/actions/set-connection-metadata.mjs.map +1 -1
- package/dist/actions/sync-trigger-post.cjs +1 -1
- package/dist/actions/sync-trigger-post.cjs.map +1 -1
- package/dist/actions/sync-trigger-post.d.cts +19 -3
- package/dist/actions/sync-trigger-post.d.cts.map +1 -1
- package/dist/actions/sync-trigger-post.d.mts +19 -3
- package/dist/actions/sync-trigger-post.d.mts.map +1 -1
- package/dist/actions/sync-trigger-post.mjs +1 -1
- package/dist/actions/sync-trigger-post.mjs.map +1 -1
- package/dist/actions/update-connection-metadata.cjs +4 -4
- package/dist/actions/update-connection-metadata.cjs.map +1 -1
- package/dist/actions/update-connection-metadata.d.cts +15 -3
- package/dist/actions/update-connection-metadata.d.cts.map +1 -1
- package/dist/actions/update-connection-metadata.d.mts +15 -3
- package/dist/actions/update-connection-metadata.d.mts.map +1 -1
- package/dist/actions/update-connection-metadata.mjs +4 -4
- package/dist/actions/update-connection-metadata.mjs.map +1 -1
- package/dist/actions/update-integration.cjs +10 -10
- package/dist/actions/update-integration.cjs.map +1 -1
- package/dist/actions/update-integration.d.cts +61 -3
- package/dist/actions/update-integration.d.cts.map +1 -1
- package/dist/actions/update-integration.d.mts +61 -3
- package/dist/actions/update-integration.d.mts.map +1 -1
- package/dist/actions/update-integration.mjs +10 -10
- package/dist/actions/update-integration.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@ const NangoSyncTriggerPostInput = zod.z.object({
|
|
|
11
11
|
connection_id: zod.z.string().describe("The ID of the specific connection. If omitted, the syncs will be triggered for all relevant connections under the integration.").optional(),
|
|
12
12
|
provider_config_key: zod.z.string().describe("The ID of the integration (provider configuration) established within Nango. This is required.")
|
|
13
13
|
}).describe("Request schema for triggering sync process(es) in Nango.\n\nTriggers one-off execution of specified sync(s) for a given connection or all\napplicable connections if no connection is specified.");
|
|
14
|
-
const NangoSyncTriggerPostOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates if the sync trigger was successful.") }).describe("Response schema returned after triggering a sync.");
|
|
14
|
+
const NangoSyncTriggerPostOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates if the sync trigger was successful.").nullable() }).passthrough().describe("Response schema returned after triggering a sync.");
|
|
15
15
|
const nangoSyncTriggerPost = require_action.action("NANGO_SYNC_TRIGGER_POST", {
|
|
16
16
|
slug: "nango-sync-trigger-post",
|
|
17
17
|
name: "Trigger Sync",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-trigger-post.cjs","names":["z","action"],"sources":["../../src/actions/sync-trigger-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoSyncTriggerPostInput
|
|
1
|
+
{"version":3,"file":"sync-trigger-post.cjs","names":["z","action"],"sources":["../../src/actions/sync-trigger-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoSyncTriggerPostInput = z.object({\n syncs: z.array(z.string()).describe(\"List of sync names to trigger. Use an empty list [] to trigger all syncs for the integration.\"),\n sync_mode: z.enum([\"incremental\", \"full_refresh\", \"full_refresh_and_clear_cache\"]).describe(\"Execution mode for the sync trigger.\").optional(),\n connection_id: z.string().describe(\"The ID of the specific connection. If omitted, the syncs will be triggered for all relevant connections under the integration.\").optional(),\n provider_config_key: z.string().describe(\"The ID of the integration (provider configuration) established within Nango. This is required.\"),\n}).describe(\"Request schema for triggering sync process(es) in Nango.\\n\\nTriggers one-off execution of specified sync(s) for a given connection or all\\napplicable connections if no connection is specified.\");\nexport const NangoSyncTriggerPostOutput = z.object({\n success: z.boolean().describe(\"Indicates if the sync trigger was successful.\").nullable(),\n}).passthrough().describe(\"Response schema returned after triggering a sync.\");\n\nexport const nangoSyncTriggerPost = action(\"NANGO_SYNC_TRIGGER_POST\", {\n slug: \"nango-sync-trigger-post\",\n name: \"Trigger Sync\",\n description: \"Tool to trigger sync process(es) manually. Use after establishing a connection and defining syncs. This triggers an additional, one-off execution of the specified sync(s) for a given connection or all applicable connections. Useful when you changed metadata for a connection and want to re-import data.\",\n input: NangoSyncTriggerPostInput,\n output: NangoSyncTriggerPostOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACnI,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAgB;CAA8B,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CAC9K,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AAC3I,CAAC,CAAC,CAAC,SAAS,kMAAkM;AAC9M,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sync-trigger-post.d.ts
|
|
4
|
-
declare const NangoSyncTriggerPostInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoSyncTriggerPostInput: z.ZodObject<{
|
|
5
|
+
syncs: z.ZodArray<z.ZodString>;
|
|
6
|
+
sync_mode: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
incremental: "incremental";
|
|
8
|
+
full_refresh: "full_refresh";
|
|
9
|
+
full_refresh_and_clear_cache: "full_refresh_and_clear_cache";
|
|
10
|
+
}>>;
|
|
11
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
provider_config_key: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const NangoSyncTriggerPostOutput: z.ZodObject<{
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const nangoSyncTriggerPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
syncs: string[];
|
|
19
|
+
provider_config_key: string;
|
|
20
|
+
sync_mode?: "incremental" | "full_refresh" | "full_refresh_and_clear_cache" | undefined;
|
|
21
|
+
connection_id?: string | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { nangoSyncTriggerPost };
|
|
9
25
|
//# sourceMappingURL=sync-trigger-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-trigger-post.d.cts","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"sync-trigger-post.d.cts","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/sync-trigger-post.d.ts
|
|
4
|
-
declare const NangoSyncTriggerPostInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoSyncTriggerPostInput: z.ZodObject<{
|
|
5
|
+
syncs: z.ZodArray<z.ZodString>;
|
|
6
|
+
sync_mode: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
incremental: "incremental";
|
|
8
|
+
full_refresh: "full_refresh";
|
|
9
|
+
full_refresh_and_clear_cache: "full_refresh_and_clear_cache";
|
|
10
|
+
}>>;
|
|
11
|
+
connection_id: z.ZodOptional<z.ZodString>;
|
|
12
|
+
provider_config_key: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const NangoSyncTriggerPostOutput: z.ZodObject<{
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const nangoSyncTriggerPost: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
syncs: string[];
|
|
19
|
+
provider_config_key: string;
|
|
20
|
+
sync_mode?: "incremental" | "full_refresh" | "full_refresh_and_clear_cache" | undefined;
|
|
21
|
+
connection_id?: string | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { nangoSyncTriggerPost };
|
|
9
25
|
//# sourceMappingURL=sync-trigger-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-trigger-post.d.mts","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"sync-trigger-post.d.mts","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const nangoSyncTriggerPost = action("NANGO_SYNC_TRIGGER_POST", {
|
|
|
14
14
|
connection_id: z.string().describe("The ID of the specific connection. If omitted, the syncs will be triggered for all relevant connections under the integration.").optional(),
|
|
15
15
|
provider_config_key: z.string().describe("The ID of the integration (provider configuration) established within Nango. This is required.")
|
|
16
16
|
}).describe("Request schema for triggering sync process(es) in Nango.\n\nTriggers one-off execution of specified sync(s) for a given connection or all\napplicable connections if no connection is specified."),
|
|
17
|
-
output: z.object({ success: z.boolean().describe("Indicates if the sync trigger was successful.") }).describe("Response schema returned after triggering a sync.")
|
|
17
|
+
output: z.object({ success: z.boolean().describe("Indicates if the sync trigger was successful.").nullable() }).passthrough().describe("Response schema returned after triggering a sync.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { nangoSyncTriggerPost };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-trigger-post.mjs","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoSyncTriggerPostInput
|
|
1
|
+
{"version":3,"file":"sync-trigger-post.mjs","names":[],"sources":["../../src/actions/sync-trigger-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoSyncTriggerPostInput = z.object({\n syncs: z.array(z.string()).describe(\"List of sync names to trigger. Use an empty list [] to trigger all syncs for the integration.\"),\n sync_mode: z.enum([\"incremental\", \"full_refresh\", \"full_refresh_and_clear_cache\"]).describe(\"Execution mode for the sync trigger.\").optional(),\n connection_id: z.string().describe(\"The ID of the specific connection. If omitted, the syncs will be triggered for all relevant connections under the integration.\").optional(),\n provider_config_key: z.string().describe(\"The ID of the integration (provider configuration) established within Nango. This is required.\"),\n}).describe(\"Request schema for triggering sync process(es) in Nango.\\n\\nTriggers one-off execution of specified sync(s) for a given connection or all\\napplicable connections if no connection is specified.\");\nexport const NangoSyncTriggerPostOutput = z.object({\n success: z.boolean().describe(\"Indicates if the sync trigger was successful.\").nullable(),\n}).passthrough().describe(\"Response schema returned after triggering a sync.\");\n\nexport const nangoSyncTriggerPost = action(\"NANGO_SYNC_TRIGGER_POST\", {\n slug: \"nango-sync-trigger-post\",\n name: \"Trigger Sync\",\n description: \"Tool to trigger sync process(es) manually. Use after establishing a connection and defining syncs. This triggers an additional, one-off execution of the specified sync(s) for a given connection or all applicable connections. Useful when you changed metadata for a connection and want to re-import data.\",\n input: NangoSyncTriggerPostInput,\n output: NangoSyncTriggerPostOutput,\n});\n"],"mappings":";;AAcA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACnI,WAAW,EAAE,KAAK;GAAC;GAAe;GAAgB;EAA8B,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;EAC9K,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC3I,CAAC,CAAC,CAAC,SAAS,kMASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/update-connection-metadata.ts
|
|
4
4
|
const NangoUpdateConnectionMetadataInput = zod.z.object({
|
|
5
|
-
metadata: zod.z.
|
|
5
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The metadata properties to update. Only specified properties will be overridden; existing properties not included will remain unchanged."),
|
|
6
6
|
connection_id: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]),
|
|
7
7
|
provider_config_key: zod.z.string().describe("The integration ID (unique key) used to create the connection.")
|
|
8
8
|
}).describe("Request model for updating connection metadata.\nUpdates only the specified metadata properties without overwriting the entire metadata object.");
|
|
9
9
|
const NangoUpdateConnectionMetadataOutput = zod.z.object({
|
|
10
|
-
metadata: zod.z.
|
|
10
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The updated metadata object with all properties."),
|
|
11
11
|
connection_id: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]),
|
|
12
|
-
provider_config_key: zod.z.string().describe("The integration ID used to create the connection.")
|
|
13
|
-
}).describe("Response model for updating connection metadata.\nReturns the updated connection details.");
|
|
12
|
+
provider_config_key: zod.z.string().describe("The integration ID used to create the connection.").nullable()
|
|
13
|
+
}).passthrough().describe("Response model for updating connection metadata.\nReturns the updated connection details.");
|
|
14
14
|
const nangoUpdateConnectionMetadata = require_action.action("NANGO_UPDATE_CONNECTION_METADATA", {
|
|
15
15
|
slug: "nango-update-connection-metadata",
|
|
16
16
|
name: "Update Connection Metadata",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-connection-metadata.cjs","names":["z","action"],"sources":["../../src/actions/update-connection-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateConnectionMetadataInput
|
|
1
|
+
{"version":3,"file":"update-connection-metadata.cjs","names":["z","action"],"sources":["../../src/actions/update-connection-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateConnectionMetadataInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata properties to update. Only specified properties will be overridden; existing properties not included will remain unchanged.\"),\n connection_id: z.union([z.string(), z.array(z.string())]),\n provider_config_key: z.string().describe(\"The integration ID (unique key) used to create the connection.\"),\n}).describe(\"Request model for updating connection metadata.\\nUpdates only the specified metadata properties without overwriting the entire metadata object.\");\nexport const NangoUpdateConnectionMetadataOutput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The updated metadata object with all properties.\"),\n connection_id: z.union([z.string(), z.array(z.string())]),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection.\").nullable(),\n}).passthrough().describe(\"Response model for updating connection metadata.\\nReturns the updated connection details.\");\n\nexport const nangoUpdateConnectionMetadata = action(\"NANGO_UPDATE_CONNECTION_METADATA\", {\n slug: \"nango-update-connection-metadata\",\n name: \"Update Connection Metadata\",\n description: \"Tool to edit custom metadata for one or multiple connections. Use when you need to update specific metadata properties without overwriting the entire metadata object.\",\n input: NangoUpdateConnectionMetadataInput,\n output: NangoUpdateConnectionMetadataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I;CAC/L,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CACxD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;AAC3G,CAAC,CAAC,CAAC,SAAS,iJAAiJ;AAC7J,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;CACvG,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CACxD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-connection-metadata.d.ts
|
|
4
|
-
declare const NangoUpdateConnectionMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoUpdateConnectionMetadataInput: z.ZodObject<{
|
|
5
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
connection_id: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
provider_config_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NangoUpdateConnectionMetadataOutput: z.ZodObject<{
|
|
10
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
connection_id: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
12
|
+
provider_config_key: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const nangoUpdateConnectionMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
metadata: Record<string, unknown>;
|
|
16
|
+
connection_id: string | string[];
|
|
17
|
+
provider_config_key: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { nangoUpdateConnectionMetadata };
|
|
9
21
|
//# sourceMappingURL=update-connection-metadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-connection-metadata.d.cts","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"update-connection-metadata.d.cts","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA;YAMxC,MAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-connection-metadata.d.ts
|
|
4
|
-
declare const NangoUpdateConnectionMetadataInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoUpdateConnectionMetadataInput: z.ZodObject<{
|
|
5
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
|
+
connection_id: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
7
|
+
provider_config_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NangoUpdateConnectionMetadataOutput: z.ZodObject<{
|
|
10
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
connection_id: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
12
|
+
provider_config_key: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const nangoUpdateConnectionMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
metadata: Record<string, unknown>;
|
|
16
|
+
connection_id: string | string[];
|
|
17
|
+
provider_config_key: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { nangoUpdateConnectionMetadata };
|
|
9
21
|
//# sourceMappingURL=update-connection-metadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-connection-metadata.d.mts","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"update-connection-metadata.d.mts","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA;YAMxC,MAAA"}
|
|
@@ -5,15 +5,15 @@ const nangoUpdateConnectionMetadata = action("NANGO_UPDATE_CONNECTION_METADATA",
|
|
|
5
5
|
name: "Update Connection Metadata",
|
|
6
6
|
description: "Tool to edit custom metadata for one or multiple connections. Use when you need to update specific metadata properties without overwriting the entire metadata object.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
metadata: z.
|
|
8
|
+
metadata: z.record(z.string(), z.unknown()).describe("The metadata properties to update. Only specified properties will be overridden; existing properties not included will remain unchanged."),
|
|
9
9
|
connection_id: z.union([z.string(), z.array(z.string())]),
|
|
10
10
|
provider_config_key: z.string().describe("The integration ID (unique key) used to create the connection.")
|
|
11
11
|
}).describe("Request model for updating connection metadata.\nUpdates only the specified metadata properties without overwriting the entire metadata object."),
|
|
12
12
|
output: z.object({
|
|
13
|
-
metadata: z.
|
|
13
|
+
metadata: z.record(z.string(), z.unknown()).describe("The updated metadata object with all properties."),
|
|
14
14
|
connection_id: z.union([z.string(), z.array(z.string())]),
|
|
15
|
-
provider_config_key: z.string().describe("The integration ID used to create the connection.")
|
|
16
|
-
}).describe("Response model for updating connection metadata.\nReturns the updated connection details.")
|
|
15
|
+
provider_config_key: z.string().describe("The integration ID used to create the connection.").nullable()
|
|
16
|
+
}).passthrough().describe("Response model for updating connection metadata.\nReturns the updated connection details.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { nangoUpdateConnectionMetadata };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-connection-metadata.mjs","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateConnectionMetadataInput
|
|
1
|
+
{"version":3,"file":"update-connection-metadata.mjs","names":[],"sources":["../../src/actions/update-connection-metadata.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateConnectionMetadataInput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The metadata properties to update. Only specified properties will be overridden; existing properties not included will remain unchanged.\"),\n connection_id: z.union([z.string(), z.array(z.string())]),\n provider_config_key: z.string().describe(\"The integration ID (unique key) used to create the connection.\"),\n}).describe(\"Request model for updating connection metadata.\\nUpdates only the specified metadata properties without overwriting the entire metadata object.\");\nexport const NangoUpdateConnectionMetadataOutput = z.object({\n metadata: z.record(z.string(), z.unknown()).describe(\"The updated metadata object with all properties.\"),\n connection_id: z.union([z.string(), z.array(z.string())]),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection.\").nullable(),\n}).passthrough().describe(\"Response model for updating connection metadata.\\nReturns the updated connection details.\");\n\nexport const nangoUpdateConnectionMetadata = action(\"NANGO_UPDATE_CONNECTION_METADATA\", {\n slug: \"nango-update-connection-metadata\",\n name: \"Update Connection Metadata\",\n description: \"Tool to edit custom metadata for one or multiple connections. Use when you need to update specific metadata properties without overwriting the entire metadata object.\",\n input: NangoUpdateConnectionMetadataInput,\n output: NangoUpdateConnectionMetadataOutput,\n});\n"],"mappings":";;AAeA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfgD,EAAE,OAAO;EACzD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I;EAC/L,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EACxD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC3G,CAAC,CAAC,CAAC,SAAS,iJAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD;EACvG,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EACxD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ const NangoUpdateIntegrationInput = zod.z.object({
|
|
|
10
10
|
client_id: zod.z.string().describe("OAuth2 client ID"),
|
|
11
11
|
client_secret: zod.z.string().describe("OAuth2 client secret"),
|
|
12
12
|
webhook_secret: zod.z.string().nullable().optional()
|
|
13
|
-
}).describe("OAuth2 credentials schema."),
|
|
13
|
+
}).passthrough().describe("OAuth2 credentials schema."),
|
|
14
14
|
zod.z.object({
|
|
15
15
|
type: zod.z.string().describe("Credential type (must be 'APP')"),
|
|
16
16
|
app_id: zod.z.string().describe("Application ID"),
|
|
17
17
|
app_link: zod.z.string().describe("Application link/URL"),
|
|
18
18
|
private_key: zod.z.string().describe("Private key for the app")
|
|
19
|
-
}).describe("App credentials schema (e.g., GitHub App)."),
|
|
19
|
+
}).passthrough().describe("App credentials schema (e.g., GitHub App)."),
|
|
20
20
|
zod.z.object({
|
|
21
21
|
type: zod.z.string().describe("Credential type (must be 'APP')"),
|
|
22
22
|
app_id: zod.z.string().describe("Application ID"),
|
|
@@ -24,20 +24,20 @@ const NangoUpdateIntegrationInput = zod.z.object({
|
|
|
24
24
|
client_id: zod.z.string().describe("OAuth2 client ID"),
|
|
25
25
|
private_key: zod.z.string().describe("Private key for the app"),
|
|
26
26
|
client_secret: zod.z.string().describe("OAuth2 client secret")
|
|
27
|
-
}).describe("Hybrid app credentials schema combining OAuth2 and App credentials.")
|
|
27
|
+
}).passthrough().describe("Hybrid app credentials schema combining OAuth2 and App credentials.")
|
|
28
28
|
]).optional(),
|
|
29
29
|
display_name: zod.z.string().describe("The integration display name").optional(),
|
|
30
30
|
new_unique_key: zod.z.string().describe("New unique integration ID if you want to rename the integration key").optional()
|
|
31
31
|
}).describe("Request model for updating an integration.");
|
|
32
32
|
const NangoUpdateIntegration_IntegrationDataSchema = zod.z.object({
|
|
33
33
|
logo: zod.z.string().describe("Absolute path to the logo of this integration (svg)").nullable().optional(),
|
|
34
|
-
provider: zod.z.string().describe("The Nango API Configuration"),
|
|
35
|
-
created_at: zod.z.string().describe("When it was created"),
|
|
36
|
-
unique_key: zod.z.string().describe("The integration ID that you created in Nango"),
|
|
37
|
-
updated_at: zod.z.string().describe("Last time it was updated"),
|
|
38
|
-
display_name: zod.z.string().describe("The provider display name")
|
|
39
|
-
}).describe("Integration data model.");
|
|
40
|
-
const NangoUpdateIntegrationOutput = zod.z.object({ data: NangoUpdateIntegration_IntegrationDataSchema.nullable() }).describe("Response model for updating an integration.");
|
|
34
|
+
provider: zod.z.string().describe("The Nango API Configuration").nullable(),
|
|
35
|
+
created_at: zod.z.string().describe("When it was created").nullable(),
|
|
36
|
+
unique_key: zod.z.string().describe("The integration ID that you created in Nango").nullable(),
|
|
37
|
+
updated_at: zod.z.string().describe("Last time it was updated").nullable(),
|
|
38
|
+
display_name: zod.z.string().describe("The provider display name").nullable()
|
|
39
|
+
}).passthrough().describe("Integration data model.");
|
|
40
|
+
const NangoUpdateIntegrationOutput = zod.z.object({ data: NangoUpdateIntegration_IntegrationDataSchema.nullable() }).passthrough().describe("Response model for updating an integration.");
|
|
41
41
|
const nangoUpdateIntegration = require_action.action("NANGO_UPDATE_INTEGRATION", {
|
|
42
42
|
slug: "nango-update-integration",
|
|
43
43
|
name: "Update Integration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-integration.cjs","names":["z","action"],"sources":["../../src/actions/update-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateIntegrationInput
|
|
1
|
+
{"version":3,"file":"update-integration.cjs","names":["z","action"],"sources":["../../src/actions/update-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateIntegrationInput = z.object({\n unique_key: z.string().describe(\"The integration ID (unique_key) that you created in Nango\"),\n credentials: z.union([z.object({\n type: z.string().describe(\"Credential type (must be 'OAUTH2')\"),\n scopes: z.string().nullable().optional(),\n client_id: z.string().describe(\"OAuth2 client ID\"),\n client_secret: z.string().describe(\"OAuth2 client secret\"),\n webhook_secret: z.string().nullable().optional(),\n}).passthrough().describe(\"OAuth2 credentials schema.\"), z.object({\n type: z.string().describe(\"Credential type (must be 'APP')\"),\n app_id: z.string().describe(\"Application ID\"),\n app_link: z.string().describe(\"Application link/URL\"),\n private_key: z.string().describe(\"Private key for the app\"),\n}).passthrough().describe(\"App credentials schema (e.g., GitHub App).\"), z.object({\n type: z.string().describe(\"Credential type (must be 'APP')\"),\n app_id: z.string().describe(\"Application ID\"),\n app_link: z.string().describe(\"Application link/URL\"),\n client_id: z.string().describe(\"OAuth2 client ID\"),\n private_key: z.string().describe(\"Private key for the app\"),\n client_secret: z.string().describe(\"OAuth2 client secret\"),\n}).passthrough().describe(\"Hybrid app credentials schema combining OAuth2 and App credentials.\")]).optional(),\n display_name: z.string().describe(\"The integration display name\").optional(),\n new_unique_key: z.string().describe(\"New unique integration ID if you want to rename the integration key\").optional(),\n}).describe(\"Request model for updating an integration.\");\nconst NangoUpdateIntegration_IntegrationDataSchema = z.object({\n logo: z.string().describe(\"Absolute path to the logo of this integration (svg)\").nullable().optional(),\n provider: z.string().describe(\"The Nango API Configuration\").nullable(),\n created_at: z.string().describe(\"When it was created\").nullable(),\n unique_key: z.string().describe(\"The integration ID that you created in Nango\").nullable(),\n updated_at: z.string().describe(\"Last time it was updated\").nullable(),\n display_name: z.string().describe(\"The provider display name\").nullable(),\n}).passthrough().describe(\"Integration data model.\");\nexport const NangoUpdateIntegrationOutput = z.object({\n data: NangoUpdateIntegration_IntegrationDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an integration.\");\n\nexport const nangoUpdateIntegration = action(\"NANGO_UPDATE_INTEGRATION\", {\n slug: \"nango-update-integration\",\n name: \"Update Integration\",\n description: \"Tool to update an existing integration's configuration. Use when you need to modify an integration's display name, unique key, or credentials.\",\n input: NangoUpdateIntegrationInput,\n output: NangoUpdateIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,aAAaA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;GAC/B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACjD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACzD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;EAAGA,IAAAA,EAAE,OAAO;GAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACpD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;EAAGA,IAAAA,EAAE,OAAO;GAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACjD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;CAAC,CAAC,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-integration.d.ts
|
|
4
|
-
declare const NangoUpdateIntegrationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoUpdateIntegrationInput: z.ZodObject<{
|
|
5
|
+
unique_key: z.ZodString;
|
|
6
|
+
credentials: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
scopes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
client_id: z.ZodString;
|
|
10
|
+
client_secret: z.ZodString;
|
|
11
|
+
webhook_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
13
|
+
type: z.ZodString;
|
|
14
|
+
app_id: z.ZodString;
|
|
15
|
+
app_link: z.ZodString;
|
|
16
|
+
private_key: z.ZodString;
|
|
17
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
18
|
+
type: z.ZodString;
|
|
19
|
+
app_id: z.ZodString;
|
|
20
|
+
app_link: z.ZodString;
|
|
21
|
+
client_id: z.ZodString;
|
|
22
|
+
private_key: z.ZodString;
|
|
23
|
+
client_secret: z.ZodString;
|
|
24
|
+
}, z.core.$loose>]>>;
|
|
25
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
new_unique_key: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const NangoUpdateIntegrationOutput: z.ZodObject<{
|
|
29
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
30
|
+
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
unique_key: z.ZodNullable<z.ZodString>;
|
|
34
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
35
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const nangoUpdateIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
unique_key: string;
|
|
40
|
+
credentials?: {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
type: string;
|
|
43
|
+
client_id: string;
|
|
44
|
+
client_secret: string;
|
|
45
|
+
scopes?: string | null | undefined;
|
|
46
|
+
webhook_secret?: string | null | undefined;
|
|
47
|
+
} | {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
type: string;
|
|
50
|
+
app_id: string;
|
|
51
|
+
app_link: string;
|
|
52
|
+
private_key: string;
|
|
53
|
+
} | {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
type: string;
|
|
56
|
+
app_id: string;
|
|
57
|
+
app_link: string;
|
|
58
|
+
client_id: string;
|
|
59
|
+
private_key: string;
|
|
60
|
+
client_secret: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
display_name?: string | undefined;
|
|
63
|
+
new_unique_key?: string | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { nangoUpdateIntegration };
|
|
9
67
|
//# sourceMappingURL=update-integration.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-integration.d.cts","names":[],"sources":["../../src/actions/update-integration.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-integration.d.cts","names":[],"sources":["../../src/actions/update-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-integration.d.ts
|
|
4
|
-
declare const NangoUpdateIntegrationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NangoUpdateIntegrationInput: z.ZodObject<{
|
|
5
|
+
unique_key: z.ZodString;
|
|
6
|
+
credentials: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
scopes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
client_id: z.ZodString;
|
|
10
|
+
client_secret: z.ZodString;
|
|
11
|
+
webhook_secret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
13
|
+
type: z.ZodString;
|
|
14
|
+
app_id: z.ZodString;
|
|
15
|
+
app_link: z.ZodString;
|
|
16
|
+
private_key: z.ZodString;
|
|
17
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
18
|
+
type: z.ZodString;
|
|
19
|
+
app_id: z.ZodString;
|
|
20
|
+
app_link: z.ZodString;
|
|
21
|
+
client_id: z.ZodString;
|
|
22
|
+
private_key: z.ZodString;
|
|
23
|
+
client_secret: z.ZodString;
|
|
24
|
+
}, z.core.$loose>]>>;
|
|
25
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
26
|
+
new_unique_key: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const NangoUpdateIntegrationOutput: z.ZodObject<{
|
|
29
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
30
|
+
logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
32
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
33
|
+
unique_key: z.ZodNullable<z.ZodString>;
|
|
34
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
35
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const nangoUpdateIntegration: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
unique_key: string;
|
|
40
|
+
credentials?: {
|
|
41
|
+
[x: string]: unknown;
|
|
42
|
+
type: string;
|
|
43
|
+
client_id: string;
|
|
44
|
+
client_secret: string;
|
|
45
|
+
scopes?: string | null | undefined;
|
|
46
|
+
webhook_secret?: string | null | undefined;
|
|
47
|
+
} | {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
type: string;
|
|
50
|
+
app_id: string;
|
|
51
|
+
app_link: string;
|
|
52
|
+
private_key: string;
|
|
53
|
+
} | {
|
|
54
|
+
[x: string]: unknown;
|
|
55
|
+
type: string;
|
|
56
|
+
app_id: string;
|
|
57
|
+
app_link: string;
|
|
58
|
+
client_id: string;
|
|
59
|
+
private_key: string;
|
|
60
|
+
client_secret: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
display_name?: string | undefined;
|
|
63
|
+
new_unique_key?: string | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { nangoUpdateIntegration };
|
|
9
67
|
//# sourceMappingURL=update-integration.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-integration.d.mts","names":[],"sources":["../../src/actions/update-integration.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-integration.d.mts","names":[],"sources":["../../src/actions/update-integration.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -10,13 +10,13 @@ const NangoUpdateIntegrationInput = z.object({
|
|
|
10
10
|
client_id: z.string().describe("OAuth2 client ID"),
|
|
11
11
|
client_secret: z.string().describe("OAuth2 client secret"),
|
|
12
12
|
webhook_secret: z.string().nullable().optional()
|
|
13
|
-
}).describe("OAuth2 credentials schema."),
|
|
13
|
+
}).passthrough().describe("OAuth2 credentials schema."),
|
|
14
14
|
z.object({
|
|
15
15
|
type: z.string().describe("Credential type (must be 'APP')"),
|
|
16
16
|
app_id: z.string().describe("Application ID"),
|
|
17
17
|
app_link: z.string().describe("Application link/URL"),
|
|
18
18
|
private_key: z.string().describe("Private key for the app")
|
|
19
|
-
}).describe("App credentials schema (e.g., GitHub App)."),
|
|
19
|
+
}).passthrough().describe("App credentials schema (e.g., GitHub App)."),
|
|
20
20
|
z.object({
|
|
21
21
|
type: z.string().describe("Credential type (must be 'APP')"),
|
|
22
22
|
app_id: z.string().describe("Application ID"),
|
|
@@ -24,25 +24,25 @@ const NangoUpdateIntegrationInput = z.object({
|
|
|
24
24
|
client_id: z.string().describe("OAuth2 client ID"),
|
|
25
25
|
private_key: z.string().describe("Private key for the app"),
|
|
26
26
|
client_secret: z.string().describe("OAuth2 client secret")
|
|
27
|
-
}).describe("Hybrid app credentials schema combining OAuth2 and App credentials.")
|
|
27
|
+
}).passthrough().describe("Hybrid app credentials schema combining OAuth2 and App credentials.")
|
|
28
28
|
]).optional(),
|
|
29
29
|
display_name: z.string().describe("The integration display name").optional(),
|
|
30
30
|
new_unique_key: z.string().describe("New unique integration ID if you want to rename the integration key").optional()
|
|
31
31
|
}).describe("Request model for updating an integration.");
|
|
32
32
|
const NangoUpdateIntegration_IntegrationDataSchema = z.object({
|
|
33
33
|
logo: z.string().describe("Absolute path to the logo of this integration (svg)").nullable().optional(),
|
|
34
|
-
provider: z.string().describe("The Nango API Configuration"),
|
|
35
|
-
created_at: z.string().describe("When it was created"),
|
|
36
|
-
unique_key: z.string().describe("The integration ID that you created in Nango"),
|
|
37
|
-
updated_at: z.string().describe("Last time it was updated"),
|
|
38
|
-
display_name: z.string().describe("The provider display name")
|
|
39
|
-
}).describe("Integration data model.");
|
|
34
|
+
provider: z.string().describe("The Nango API Configuration").nullable(),
|
|
35
|
+
created_at: z.string().describe("When it was created").nullable(),
|
|
36
|
+
unique_key: z.string().describe("The integration ID that you created in Nango").nullable(),
|
|
37
|
+
updated_at: z.string().describe("Last time it was updated").nullable(),
|
|
38
|
+
display_name: z.string().describe("The provider display name").nullable()
|
|
39
|
+
}).passthrough().describe("Integration data model.");
|
|
40
40
|
const nangoUpdateIntegration = action("NANGO_UPDATE_INTEGRATION", {
|
|
41
41
|
slug: "nango-update-integration",
|
|
42
42
|
name: "Update Integration",
|
|
43
43
|
description: "Tool to update an existing integration's configuration. Use when you need to modify an integration's display name, unique key, or credentials.",
|
|
44
44
|
input: NangoUpdateIntegrationInput,
|
|
45
|
-
output: z.object({ data: NangoUpdateIntegration_IntegrationDataSchema.nullable() }).describe("Response model for updating an integration.")
|
|
45
|
+
output: z.object({ data: NangoUpdateIntegration_IntegrationDataSchema.nullable() }).passthrough().describe("Response model for updating an integration.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { nangoUpdateIntegration };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-integration.mjs","names":[],"sources":["../../src/actions/update-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateIntegrationInput
|
|
1
|
+
{"version":3,"file":"update-integration.mjs","names":[],"sources":["../../src/actions/update-integration.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoUpdateIntegrationInput = z.object({\n unique_key: z.string().describe(\"The integration ID (unique_key) that you created in Nango\"),\n credentials: z.union([z.object({\n type: z.string().describe(\"Credential type (must be 'OAUTH2')\"),\n scopes: z.string().nullable().optional(),\n client_id: z.string().describe(\"OAuth2 client ID\"),\n client_secret: z.string().describe(\"OAuth2 client secret\"),\n webhook_secret: z.string().nullable().optional(),\n}).passthrough().describe(\"OAuth2 credentials schema.\"), z.object({\n type: z.string().describe(\"Credential type (must be 'APP')\"),\n app_id: z.string().describe(\"Application ID\"),\n app_link: z.string().describe(\"Application link/URL\"),\n private_key: z.string().describe(\"Private key for the app\"),\n}).passthrough().describe(\"App credentials schema (e.g., GitHub App).\"), z.object({\n type: z.string().describe(\"Credential type (must be 'APP')\"),\n app_id: z.string().describe(\"Application ID\"),\n app_link: z.string().describe(\"Application link/URL\"),\n client_id: z.string().describe(\"OAuth2 client ID\"),\n private_key: z.string().describe(\"Private key for the app\"),\n client_secret: z.string().describe(\"OAuth2 client secret\"),\n}).passthrough().describe(\"Hybrid app credentials schema combining OAuth2 and App credentials.\")]).optional(),\n display_name: z.string().describe(\"The integration display name\").optional(),\n new_unique_key: z.string().describe(\"New unique integration ID if you want to rename the integration key\").optional(),\n}).describe(\"Request model for updating an integration.\");\nconst NangoUpdateIntegration_IntegrationDataSchema = z.object({\n logo: z.string().describe(\"Absolute path to the logo of this integration (svg)\").nullable().optional(),\n provider: z.string().describe(\"The Nango API Configuration\").nullable(),\n created_at: z.string().describe(\"When it was created\").nullable(),\n unique_key: z.string().describe(\"The integration ID that you created in Nango\").nullable(),\n updated_at: z.string().describe(\"Last time it was updated\").nullable(),\n display_name: z.string().describe(\"The provider display name\").nullable(),\n}).passthrough().describe(\"Integration data model.\");\nexport const NangoUpdateIntegrationOutput = z.object({\n data: NangoUpdateIntegration_IntegrationDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an integration.\");\n\nexport const nangoUpdateIntegration = action(\"NANGO_UPDATE_INTEGRATION\", {\n slug: \"nango-update-integration\",\n name: \"Update Integration\",\n description: \"Tool to update an existing integration's configuration. Use when you need to modify an integration's display name, unique key, or credentials.\",\n input: NangoUpdateIntegrationInput,\n output: NangoUpdateIntegrationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,aAAa,EAAE,MAAM;EAAC,EAAE,OAAO;GAC/B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACvC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACjD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACzD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;EAAG,EAAE,OAAO;GAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;EAAG,EAAE,OAAO;GAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;GACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;GACjD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GAC1D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;CAAC,CAAC,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAKnD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,6CAA6C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const nangoCatalog = {
|
|
|
7
7
|
"category": "Developer Tools",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/nango",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "Nango Secret Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The secret key for authenticating API requests to Nango."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.nangoCatalog = nangoCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nangoCatalog = {\n \"slug\": \"nango\",\n \"name\": \"Nango\",\n \"description\": \"Nango provides a unified API to integrate with over 250 external APIs, offering pre-built and customizable integrations for various categories such as CRM, HR, and accounting systems.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/nango\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const nangoCatalog = {\n \"slug\": \"nango\",\n \"name\": \"Nango\",\n \"description\": \"Nango provides a unified API to integrate with over 250 external APIs, offering pre-built and customizable integrations for various categories such as CRM, HR, and accounting systems.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/nango\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Nango Secret Key\",\n \"secret\": true,\n \"description\": \"The secret key for authenticating API requests to Nango.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|