@keystrokehq/nango 0.1.4 → 0.1.6
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 -0
- package/dist/actions/action-trigger-post.cjs.map +1 -1
- package/dist/actions/action-trigger-post.d.cts +3 -6
- package/dist/actions/action-trigger-post.d.cts.map +1 -1
- package/dist/actions/action-trigger-post.d.mts +3 -6
- package/dist/actions/action-trigger-post.d.mts.map +1 -1
- package/dist/actions/action-trigger-post.mjs +1 -0
- package/dist/actions/action-trigger-post.mjs.map +1 -1
- package/dist/actions/add-connection.cjs +1 -0
- package/dist/actions/add-connection.cjs.map +1 -1
- package/dist/actions/add-connection.d.cts +3 -56
- package/dist/actions/add-connection.d.cts.map +1 -1
- package/dist/actions/add-connection.d.mts +3 -56
- package/dist/actions/add-connection.d.mts.map +1 -1
- package/dist/actions/add-connection.mjs +1 -0
- package/dist/actions/add-connection.mjs.map +1 -1
- package/dist/actions/connection-get.cjs +1 -0
- package/dist/actions/connection-get.cjs.map +1 -1
- package/dist/actions/connection-get.d.cts +3 -8
- package/dist/actions/connection-get.d.cts.map +1 -1
- package/dist/actions/connection-get.d.mts +3 -8
- package/dist/actions/connection-get.d.mts.map +1 -1
- package/dist/actions/connection-get.mjs +1 -0
- package/dist/actions/connection-get.mjs.map +1 -1
- package/dist/actions/create-connect-session.cjs +1 -0
- package/dist/actions/create-connect-session.cjs.map +1 -1
- package/dist/actions/create-connect-session.d.cts +3 -16
- package/dist/actions/create-connect-session.d.cts.map +1 -1
- package/dist/actions/create-connect-session.d.mts +3 -16
- package/dist/actions/create-connect-session.d.mts.map +1 -1
- package/dist/actions/create-connect-session.mjs +1 -0
- package/dist/actions/create-connect-session.mjs.map +1 -1
- package/dist/actions/create-integration.cjs +1 -0
- package/dist/actions/create-integration.cjs.map +1 -1
- package/dist/actions/create-integration.d.cts +3 -27
- package/dist/actions/create-integration.d.cts.map +1 -1
- package/dist/actions/create-integration.d.mts +3 -27
- package/dist/actions/create-integration.d.mts.map +1 -1
- package/dist/actions/create-integration.mjs +1 -0
- package/dist/actions/create-integration.mjs.map +1 -1
- package/dist/actions/delete-connection.cjs +1 -0
- package/dist/actions/delete-connection.cjs.map +1 -1
- package/dist/actions/delete-connection.d.cts +3 -4
- package/dist/actions/delete-connection.d.cts.map +1 -1
- package/dist/actions/delete-connection.d.mts +3 -4
- package/dist/actions/delete-connection.d.mts.map +1 -1
- package/dist/actions/delete-connection.mjs +1 -0
- package/dist/actions/delete-connection.mjs.map +1 -1
- package/dist/actions/delete-integration.cjs +1 -0
- package/dist/actions/delete-integration.cjs.map +1 -1
- package/dist/actions/delete-integration.d.cts +3 -3
- package/dist/actions/delete-integration.d.cts.map +1 -1
- package/dist/actions/delete-integration.d.mts +3 -3
- package/dist/actions/delete-integration.d.mts.map +1 -1
- package/dist/actions/delete-integration.mjs +1 -0
- package/dist/actions/delete-integration.mjs.map +1 -1
- package/dist/actions/edit-connection.cjs +1 -0
- package/dist/actions/edit-connection.cjs.map +1 -1
- package/dist/actions/edit-connection.d.cts +3 -11
- package/dist/actions/edit-connection.d.cts.map +1 -1
- package/dist/actions/edit-connection.d.mts +3 -11
- package/dist/actions/edit-connection.d.mts.map +1 -1
- package/dist/actions/edit-connection.mjs +1 -0
- package/dist/actions/edit-connection.mjs.map +1 -1
- package/dist/actions/get-connection.cjs +1 -0
- package/dist/actions/get-connection.cjs.map +1 -1
- package/dist/actions/get-connection.d.cts +3 -7
- package/dist/actions/get-connection.d.cts.map +1 -1
- package/dist/actions/get-connection.d.mts +3 -7
- package/dist/actions/get-connection.d.mts.map +1 -1
- package/dist/actions/get-connection.mjs +1 -0
- package/dist/actions/get-connection.mjs.map +1 -1
- package/dist/actions/get-environment-variables.cjs +1 -0
- package/dist/actions/get-environment-variables.cjs.map +1 -1
- package/dist/actions/get-environment-variables.d.cts +3 -1
- package/dist/actions/get-environment-variables.d.cts.map +1 -1
- package/dist/actions/get-environment-variables.d.mts +3 -1
- package/dist/actions/get-environment-variables.d.mts.map +1 -1
- package/dist/actions/get-environment-variables.mjs +1 -0
- package/dist/actions/get-environment-variables.mjs.map +1 -1
- package/dist/actions/get-integration.cjs +1 -0
- package/dist/actions/get-integration.cjs.map +1 -1
- package/dist/actions/get-integration.d.cts +3 -4
- package/dist/actions/get-integration.d.cts.map +1 -1
- package/dist/actions/get-integration.d.mts +3 -4
- package/dist/actions/get-integration.d.mts.map +1 -1
- package/dist/actions/get-integration.mjs +1 -0
- package/dist/actions/get-integration.mjs.map +1 -1
- package/dist/actions/get-proxy.cjs +1 -0
- package/dist/actions/get-proxy.cjs.map +1 -1
- package/dist/actions/get-proxy.d.cts +3 -11
- package/dist/actions/get-proxy.d.cts.map +1 -1
- package/dist/actions/get-proxy.d.mts +3 -11
- package/dist/actions/get-proxy.d.mts.map +1 -1
- package/dist/actions/get-proxy.mjs +1 -0
- package/dist/actions/get-proxy.mjs.map +1 -1
- package/dist/actions/get-sync-status.cjs +1 -0
- package/dist/actions/get-sync-status.cjs.map +1 -1
- package/dist/actions/get-sync-status.d.cts +3 -5
- package/dist/actions/get-sync-status.d.cts.map +1 -1
- package/dist/actions/get-sync-status.d.mts +3 -5
- package/dist/actions/get-sync-status.d.mts.map +1 -1
- package/dist/actions/get-sync-status.mjs +1 -0
- package/dist/actions/get-sync-status.mjs.map +1 -1
- package/dist/actions/list-connections.cjs +1 -0
- package/dist/actions/list-connections.cjs.map +1 -1
- package/dist/actions/list-connections.d.cts +3 -9
- package/dist/actions/list-connections.d.cts.map +1 -1
- package/dist/actions/list-connections.d.mts +3 -9
- package/dist/actions/list-connections.d.mts.map +1 -1
- package/dist/actions/list-connections.mjs +1 -0
- package/dist/actions/list-connections.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +1 -0
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +3 -1
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +3 -1
- package/dist/actions/list-integrations.d.mts.map +1 -1
- package/dist/actions/list-integrations.mjs +1 -0
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/providers-get-get.cjs +1 -0
- package/dist/actions/providers-get-get.cjs.map +1 -1
- package/dist/actions/providers-get-get.d.cts +3 -3
- package/dist/actions/providers-get-get.d.cts.map +1 -1
- package/dist/actions/providers-get-get.d.mts +3 -3
- package/dist/actions/providers-get-get.d.mts.map +1 -1
- package/dist/actions/providers-get-get.mjs +1 -0
- package/dist/actions/providers-get-get.mjs.map +1 -1
- package/dist/actions/providers-list-get.cjs +1 -0
- package/dist/actions/providers-list-get.cjs.map +1 -1
- package/dist/actions/providers-list-get.d.cts +3 -1
- package/dist/actions/providers-list-get.d.cts.map +1 -1
- package/dist/actions/providers-list-get.d.mts +3 -1
- package/dist/actions/providers-list-get.d.mts.map +1 -1
- package/dist/actions/providers-list-get.mjs +1 -0
- package/dist/actions/providers-list-get.mjs.map +1 -1
- package/dist/actions/put-proxy.cjs +1 -0
- package/dist/actions/put-proxy.cjs.map +1 -1
- package/dist/actions/put-proxy.d.cts +3 -10
- package/dist/actions/put-proxy.d.cts.map +1 -1
- package/dist/actions/put-proxy.d.mts +3 -10
- package/dist/actions/put-proxy.d.mts.map +1 -1
- package/dist/actions/put-proxy.mjs +1 -0
- package/dist/actions/put-proxy.mjs.map +1 -1
- package/dist/actions/reconnect-session-post.cjs +1 -0
- package/dist/actions/reconnect-session-post.cjs.map +1 -1
- package/dist/actions/reconnect-session-post.d.cts +3 -17
- package/dist/actions/reconnect-session-post.d.cts.map +1 -1
- package/dist/actions/reconnect-session-post.d.mts +3 -17
- package/dist/actions/reconnect-session-post.d.mts.map +1 -1
- package/dist/actions/reconnect-session-post.mjs +1 -0
- package/dist/actions/reconnect-session-post.mjs.map +1 -1
- package/dist/actions/scripts-config-get.cjs +1 -0
- package/dist/actions/scripts-config-get.cjs.map +1 -1
- package/dist/actions/scripts-config-get.d.cts +3 -1
- package/dist/actions/scripts-config-get.d.cts.map +1 -1
- package/dist/actions/scripts-config-get.d.mts +3 -1
- package/dist/actions/scripts-config-get.d.mts.map +1 -1
- package/dist/actions/scripts-config-get.mjs +1 -0
- package/dist/actions/scripts-config-get.mjs.map +1 -1
- package/dist/actions/set-connection-metadata.cjs +1 -0
- package/dist/actions/set-connection-metadata.cjs.map +1 -1
- package/dist/actions/set-connection-metadata.d.cts +3 -5
- package/dist/actions/set-connection-metadata.d.cts.map +1 -1
- package/dist/actions/set-connection-metadata.d.mts +3 -5
- package/dist/actions/set-connection-metadata.d.mts.map +1 -1
- package/dist/actions/set-connection-metadata.mjs +1 -0
- package/dist/actions/set-connection-metadata.mjs.map +1 -1
- package/dist/actions/sync-trigger-post.cjs +1 -0
- package/dist/actions/sync-trigger-post.cjs.map +1 -1
- package/dist/actions/sync-trigger-post.d.cts +3 -6
- package/dist/actions/sync-trigger-post.d.cts.map +1 -1
- package/dist/actions/sync-trigger-post.d.mts +3 -6
- package/dist/actions/sync-trigger-post.d.mts.map +1 -1
- package/dist/actions/sync-trigger-post.mjs +1 -0
- package/dist/actions/sync-trigger-post.mjs.map +1 -1
- package/dist/actions/update-connection-metadata.cjs +1 -0
- package/dist/actions/update-connection-metadata.cjs.map +1 -1
- package/dist/actions/update-connection-metadata.d.cts +3 -5
- package/dist/actions/update-connection-metadata.d.cts.map +1 -1
- package/dist/actions/update-connection-metadata.d.mts +3 -5
- package/dist/actions/update-connection-metadata.d.mts.map +1 -1
- package/dist/actions/update-connection-metadata.mjs +1 -0
- package/dist/actions/update-connection-metadata.mjs.map +1 -1
- package/dist/actions/update-integration.cjs +1 -0
- package/dist/actions/update-integration.cjs.map +1 -1
- package/dist/actions/update-integration.d.cts +3 -27
- package/dist/actions/update-integration.d.cts.map +1 -1
- package/dist/actions/update-integration.d.mts +3 -27
- package/dist/actions/update-integration.d.mts.map +1 -1
- package/dist/actions/update-integration.mjs +1 -0
- package/dist/actions/update-integration.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-connections.d.ts
|
|
@@ -31,15 +33,7 @@ declare const NangoListConnectionsOutput: z.ZodObject<{
|
|
|
31
33
|
provider_config_key: z.ZodNullable<z.ZodString>;
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const nangoListConnections:
|
|
35
|
-
page?: number | undefined;
|
|
36
|
-
tags?: Record<string, unknown> | 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]>;
|
|
36
|
+
declare const nangoListConnections: AppAction<typeof NangoListConnectionsInput, typeof NangoListConnectionsOutput, typeof nango.credential>;
|
|
43
37
|
//#endregion
|
|
44
38
|
export { nangoListConnections };
|
|
45
39
|
//# sourceMappingURL=list-connections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-connections.d.mts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-connections.d.mts","names":[],"sources":["../../src/actions/list-connections.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.record(z.string(), z.unknown()).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}).passthrough().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.record(z.string(), z.unknown()).describe(\"End user's organization details.\").nullable().optional(),\n}).passthrough().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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough().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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-connections.mjs","names":[],"sources":["../../src/actions/list-connections.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoListConnectionsInput = z.object({\n page: z.number().int().describe(\"Page number for paginated results.\").optional(),\n tags: z.record(z.string(), z.unknown()).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}).passthrough().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.record(z.string(), z.unknown()).describe(\"End user's organization details.\").nullable().optional(),\n}).passthrough().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.record(z.string(), z.unknown()).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.record(z.string(), z.unknown()).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}).passthrough().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}).passthrough().describe(\"Response model for listing connections.\");\n\nexport const nangoListConnections: AppAction<\n typeof NangoListConnectionsInput,\n typeof NangoListConnectionsOutput,\n typeof nango.credential\n> = 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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YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-integrations.cjs","names":["z","action"],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\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}).passthrough().describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).passthrough().describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations: AppAction<\n typeof NangoListIntegrationsInput,\n typeof NangoListIntegrationsOutput,\n typeof nango.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-integrations.d.ts
|
|
@@ -12,7 +14,7 @@ declare const NangoListIntegrationsOutput: z.ZodObject<{
|
|
|
12
14
|
display_name: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const nangoListIntegrations:
|
|
17
|
+
declare const nangoListIntegrations: AppAction<typeof NangoListIntegrationsInput, typeof NangoListIntegrationsOutput, typeof nango.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { nangoListIntegrations };
|
|
18
20
|
//# sourceMappingURL=list-integrations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-integrations.d.cts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-integrations.d.ts
|
|
@@ -12,7 +14,7 @@ declare const NangoListIntegrationsOutput: z.ZodObject<{
|
|
|
12
14
|
display_name: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const nangoListIntegrations:
|
|
17
|
+
declare const nangoListIntegrations: AppAction<typeof NangoListIntegrationsInput, typeof NangoListIntegrationsOutput, typeof nango.credential>;
|
|
16
18
|
//#endregion
|
|
17
19
|
export { nangoListIntegrations };
|
|
18
20
|
//# sourceMappingURL=list-integrations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-integrations.d.mts","names":[],"sources":["../../src/actions/list-integrations.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.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}).passthrough().describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"list-integrations.mjs","names":[],"sources":["../../src/actions/list-integrations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\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}).passthrough().describe(\"Model representing a single integration.\");\nexport const NangoListIntegrationsOutput = z.object({\n data: z.array(NangoListIntegrations_ListIntegrationsResponseIntegrationSchema).describe(\"List of all configured integrations\"),\n}).passthrough().describe(\"Response model containing list of integrations.\");\n\nexport const nangoListIntegrations: AppAction<\n typeof NangoListIntegrationsInput,\n typeof NangoListIntegrationsOutput,\n typeof nango.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,qCAAqC,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"providers-get-get.cjs","names":["z","action"],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\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}).passthrough().describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet: AppAction<\n typeof NangoProvidersGetGetInput,\n typeof NangoProvidersGetGetOutput,\n typeof nango.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/providers-get-get.d.ts
|
|
@@ -19,9 +21,7 @@ declare const NangoProvidersGetGetOutput: z.ZodObject<{
|
|
|
19
21
|
authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
connection_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const nangoProvidersGetGet:
|
|
23
|
-
provider: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const nangoProvidersGetGet: AppAction<typeof NangoProvidersGetGetInput, typeof NangoProvidersGetGetOutput, typeof nango.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { nangoProvidersGetGet };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"providers-get-get.d.cts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/providers-get-get.d.ts
|
|
@@ -19,9 +21,7 @@ declare const NangoProvidersGetGetOutput: z.ZodObject<{
|
|
|
19
21
|
authorization_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
connection_config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const nangoProvidersGetGet:
|
|
23
|
-
provider: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const nangoProvidersGetGet: AppAction<typeof NangoProvidersGetGetInput, typeof NangoProvidersGetGetOutput, typeof nango.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { nangoProvidersGetGet };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"providers-get-get.d.mts","names":[],"sources":["../../src/actions/providers-get-get.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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.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}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"providers-get-get.mjs","names":[],"sources":["../../src/actions/providers-get-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\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}).passthrough().describe(\"Response model for provider details.\");\n\nexport const nangoProvidersGetGet: AppAction<\n typeof NangoProvidersGetGetInput,\n typeof NangoProvidersGetGetOutput,\n typeof nango.credential\n> = 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":";;;AAyBA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO,EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,S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AAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list-get.cjs","names":["z","action"],"sources":["../../src/actions/providers-list-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersListGetInput = z.object({}).describe(\"Empty request model for retrieving all available providers.\");\nconst NangoProvidersListGet_ProvidersListGetResponseProviderSchema = z.object({\n docs: z.string().describe(\"URL to the Nango documentation page for this provider\").nullable().optional(),\n name: z.string().describe(\"Internal identifier/key of the provider (e.g., 'github', 'slack')\").nullable(),\n logo_url: z.string().describe(\"URL to the provider's logo/icon image\").nullable().optional(),\n auth_mode: z.string().describe(\"Authentication mode required by the provider (e.g., 'OAUTH2', 'API_KEY', 'BASIC')\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories this provider belongs to (e.g., 'crm', 'marketing', 'version control')\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider\").nullable(),\n docs_connect: z.string().describe(\"URL to the connection setup documentation for this provider\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single provider available in Nango.\");\nexport const NangoProvidersListGetOutput = z.object({\n data: z.array(NangoProvidersListGet_ProvidersListGetResponseProviderSchema).describe(\"List of all available providers supported by Nango\"),\n}).passthrough().describe(\"Response model containing list of providers.\");\n\nexport const nangoProvidersListGet = action(\"NANGO_PROVIDERS_LIST_GET\", {\n slug: \"nango-providers-list-get\",\n name: \"List Providers\",\n description: \"Tool to retrieve a list of all available providers. Use when you need to display or iterate through every provider before creating connections. The provider_config_key values returned must be used verbatim when referencing providers in other actions; any mismatch will cause those actions to fail.\",\n input: NangoProvidersListGetInput,\n output: NangoProvidersListGetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers-list-get.cjs","names":["z","action"],"sources":["../../src/actions/providers-list-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoProvidersListGetInput = z.object({}).describe(\"Empty request model for retrieving all available providers.\");\nconst NangoProvidersListGet_ProvidersListGetResponseProviderSchema = z.object({\n docs: z.string().describe(\"URL to the Nango documentation page for this provider\").nullable().optional(),\n name: z.string().describe(\"Internal identifier/key of the provider (e.g., 'github', 'slack')\").nullable(),\n logo_url: z.string().describe(\"URL to the provider's logo/icon image\").nullable().optional(),\n auth_mode: z.string().describe(\"Authentication mode required by the provider (e.g., 'OAUTH2', 'API_KEY', 'BASIC')\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories this provider belongs to (e.g., 'crm', 'marketing', 'version control')\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider\").nullable(),\n docs_connect: z.string().describe(\"URL to the connection setup documentation for this provider\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single provider available in Nango.\");\nexport const NangoProvidersListGetOutput = z.object({\n data: z.array(NangoProvidersListGet_ProvidersListGetResponseProviderSchema).describe(\"List of all available providers supported by Nango\"),\n}).passthrough().describe(\"Response model containing list of providers.\");\n\nexport const nangoProvidersListGet: AppAction<\n typeof NangoProvidersListGetInput,\n typeof NangoProvidersListGetOutput,\n typeof nango.credential\n> = action(\"NANGO_PROVIDERS_LIST_GET\", {\n slug: \"nango-providers-list-get\",\n name: \"List Providers\",\n description: \"Tool to retrieve a list of all available providers. Use when you need to display or iterate through every provider before creating connections. The provider_config_key values returned must be used verbatim when referencing providers in other actions; any mismatch will cause those actions to fail.\",\n input: NangoProvidersListGetInput,\n output: NangoProvidersListGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC7H,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/providers-list-get.d.ts
|
|
@@ -13,7 +15,7 @@ declare const NangoProvidersListGetOutput: z.ZodObject<{
|
|
|
13
15
|
docs_connect: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const nangoProvidersListGet:
|
|
18
|
+
declare const nangoProvidersListGet: AppAction<typeof NangoProvidersListGetInput, typeof NangoProvidersListGetOutput, typeof nango.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { nangoProvidersListGet };
|
|
19
21
|
//# sourceMappingURL=providers-list-get.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list-get.d.cts","names":[],"sources":["../../src/actions/providers-list-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers-list-get.d.cts","names":[],"sources":["../../src/actions/providers-list-get.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/providers-list-get.d.ts
|
|
@@ -13,7 +15,7 @@ declare const NangoProvidersListGetOutput: z.ZodObject<{
|
|
|
13
15
|
docs_connect: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const nangoProvidersListGet:
|
|
18
|
+
declare const nangoProvidersListGet: AppAction<typeof NangoProvidersListGetInput, typeof NangoProvidersListGetOutput, typeof nango.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { nangoProvidersListGet };
|
|
19
21
|
//# sourceMappingURL=providers-list-get.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list-get.d.mts","names":[],"sources":["../../src/actions/providers-list-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers-list-get.d.mts","names":[],"sources":["../../src/actions/providers-list-get.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers-list-get.mjs","names":[],"sources":["../../src/actions/providers-list-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoProvidersListGetInput = z.object({}).describe(\"Empty request model for retrieving all available providers.\");\nconst NangoProvidersListGet_ProvidersListGetResponseProviderSchema = z.object({\n docs: z.string().describe(\"URL to the Nango documentation page for this provider\").nullable().optional(),\n name: z.string().describe(\"Internal identifier/key of the provider (e.g., 'github', 'slack')\").nullable(),\n logo_url: z.string().describe(\"URL to the provider's logo/icon image\").nullable().optional(),\n auth_mode: z.string().describe(\"Authentication mode required by the provider (e.g., 'OAUTH2', 'API_KEY', 'BASIC')\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories this provider belongs to (e.g., 'crm', 'marketing', 'version control')\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider\").nullable(),\n docs_connect: z.string().describe(\"URL to the connection setup documentation for this provider\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single provider available in Nango.\");\nexport const NangoProvidersListGetOutput = z.object({\n data: z.array(NangoProvidersListGet_ProvidersListGetResponseProviderSchema).describe(\"List of all available providers supported by Nango\"),\n}).passthrough().describe(\"Response model containing list of providers.\");\n\nexport const nangoProvidersListGet = action(\"NANGO_PROVIDERS_LIST_GET\", {\n slug: \"nango-providers-list-get\",\n name: \"List Providers\",\n description: \"Tool to retrieve a list of all available providers. Use when you need to display or iterate through every provider before creating connections. The provider_config_key values returned must be used verbatim when referencing providers in other actions; any mismatch will cause those actions to fail.\",\n input: NangoProvidersListGetInput,\n output: NangoProvidersListGetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers-list-get.mjs","names":[],"sources":["../../src/actions/providers-list-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoProvidersListGetInput = z.object({}).describe(\"Empty request model for retrieving all available providers.\");\nconst NangoProvidersListGet_ProvidersListGetResponseProviderSchema = z.object({\n docs: z.string().describe(\"URL to the Nango documentation page for this provider\").nullable().optional(),\n name: z.string().describe(\"Internal identifier/key of the provider (e.g., 'github', 'slack')\").nullable(),\n logo_url: z.string().describe(\"URL to the provider's logo/icon image\").nullable().optional(),\n auth_mode: z.string().describe(\"Authentication mode required by the provider (e.g., 'OAUTH2', 'API_KEY', 'BASIC')\").nullable().optional(),\n categories: z.array(z.string()).describe(\"List of categories this provider belongs to (e.g., 'crm', 'marketing', 'version control')\").nullable().optional(),\n display_name: z.string().describe(\"Human-readable display name of the provider\").nullable(),\n docs_connect: z.string().describe(\"URL to the connection setup documentation for this provider\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single provider available in Nango.\");\nexport const NangoProvidersListGetOutput = z.object({\n data: z.array(NangoProvidersListGet_ProvidersListGetResponseProviderSchema).describe(\"List of all available providers supported by Nango\"),\n}).passthrough().describe(\"Response model containing list of providers.\");\n\nexport const nangoProvidersListGet: AppAction<\n typeof NangoProvidersListGetInput,\n typeof NangoProvidersListGetOutput,\n typeof nango.credential\n> = action(\"NANGO_PROVIDERS_LIST_GET\", {\n slug: \"nango-providers-list-get\",\n name: \"List Providers\",\n description: \"Tool to retrieve a list of all available providers. Use when you need to display or iterate through every provider before creating connections. The provider_config_key values returned must be used verbatim when referencing providers in other actions; any mismatch will cause those actions to fail.\",\n input: NangoProvidersListGetInput,\n output: NangoProvidersListGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC7H,MAAM,+DAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-proxy.cjs","names":["z","action"],"sources":["../../src/actions/put-proxy.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoPutProxyInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"The request body to send to the external API. All body parameters are passed through to the external API.\").optional(),\n retries: z.string().describe(\"The number of retries in case of failure (with exponential back-off). Default is 0.\").optional(),\n any_path: z.string().describe(\"The API path to send the PUT request to (e.g., '/users/123', '/items/update'). This path will be appended to the base URL of the external API.\"),\n decompress: z.string().describe(\"Override the decompress option when making requests. Defaults to false.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n base_url_override: z.string().describe(\"Provide an API base URL when the base API is not listed in the providers.yaml or it needs to be overridden.\").optional(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to pass on to the external API. These will be prefixed with 'nango-proxy-' automatically.\").optional(),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for Nango Proxy PUT endpoint.\\nProxies PUT requests to external APIs while managing authentication.\");\nexport const NangoPutProxyOutput = z.object({\n result: z.union([z.record(z.string(), z.unknown()), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable()), z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Response model for Nango Proxy PUT endpoint.\\nThe response is exactly as returned by the external API.\");\n\nexport const nangoPutProxy = action(\"NANGO_PUT_PROXY\", {\n slug: \"nango-put-proxy\",\n name: \"Proxy PUT Request\",\n description: \"Tool to make a PUT request with the Nango Proxy to forward requests to external APIs while managing authentication. Use when you need to update resources via external APIs through Nango's proxy.\",\n input: NangoPutProxyInput,\n output: NangoPutProxyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"put-proxy.cjs","names":["z","action"],"sources":["../../src/actions/put-proxy.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoPutProxyInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"The request body to send to the external API. All body parameters are passed through to the external API.\").optional(),\n retries: z.string().describe(\"The number of retries in case of failure (with exponential back-off). Default is 0.\").optional(),\n any_path: z.string().describe(\"The API path to send the PUT request to (e.g., '/users/123', '/items/update'). This path will be appended to the base URL of the external API.\"),\n decompress: z.string().describe(\"Override the decompress option when making requests. Defaults to false.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n base_url_override: z.string().describe(\"Provide an API base URL when the base API is not listed in the providers.yaml or it needs to be overridden.\").optional(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to pass on to the external API. These will be prefixed with 'nango-proxy-' automatically.\").optional(),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for Nango Proxy PUT endpoint.\\nProxies PUT requests to external APIs while managing authentication.\");\nexport const NangoPutProxyOutput = z.object({\n result: z.union([z.record(z.string(), z.unknown()), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable()), z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Response model for Nango Proxy PUT endpoint.\\nThe response is exactly as returned by the external API.\");\n\nexport const nangoPutProxy: AppAction<\n typeof NangoPutProxyInput,\n typeof NangoPutProxyOutput,\n typeof nango.credential\n> = action(\"NANGO_PUT_PROXY\", {\n slug: \"nango-put-proxy\",\n name: \"Proxy PUT Request\",\n description: \"Tool to make a PUT request with the Nango Proxy to forward requests to external APIs while managing authentication. Use when you need to update resources via external APIs through Nango's proxy.\",\n input: NangoPutProxyInput,\n output: NangoPutProxyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAA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CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,QAAQ;AAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAAwG;AAElI,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/put-proxy.d.ts
|
|
@@ -14,16 +16,7 @@ declare const NangoPutProxyInput: z.ZodObject<{
|
|
|
14
16
|
declare const NangoPutProxyOutput: z.ZodObject<{
|
|
15
17
|
result: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>, z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const nangoPutProxy:
|
|
18
|
-
any_path: string;
|
|
19
|
-
connection_id: string;
|
|
20
|
-
provider_config_key: string;
|
|
21
|
-
body?: Record<string, unknown> | undefined;
|
|
22
|
-
retries?: string | undefined;
|
|
23
|
-
decompress?: string | undefined;
|
|
24
|
-
base_url_override?: string | undefined;
|
|
25
|
-
additional_headers?: Record<string, unknown> | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const nangoPutProxy: AppAction<typeof NangoPutProxyInput, typeof NangoPutProxyOutput, typeof nango.credential>;
|
|
27
20
|
//#endregion
|
|
28
21
|
export { nangoPutProxy };
|
|
29
22
|
//# sourceMappingURL=put-proxy.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-proxy.d.cts","names":[],"sources":["../../src/actions/put-proxy.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"put-proxy.d.cts","names":[],"sources":["../../src/actions/put-proxy.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/put-proxy.d.ts
|
|
@@ -14,16 +16,7 @@ declare const NangoPutProxyInput: z.ZodObject<{
|
|
|
14
16
|
declare const NangoPutProxyOutput: z.ZodObject<{
|
|
15
17
|
result: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>, z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const nangoPutProxy:
|
|
18
|
-
any_path: string;
|
|
19
|
-
connection_id: string;
|
|
20
|
-
provider_config_key: string;
|
|
21
|
-
body?: Record<string, unknown> | undefined;
|
|
22
|
-
retries?: string | undefined;
|
|
23
|
-
decompress?: string | undefined;
|
|
24
|
-
base_url_override?: string | undefined;
|
|
25
|
-
additional_headers?: Record<string, unknown> | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const nangoPutProxy: AppAction<typeof NangoPutProxyInput, typeof NangoPutProxyOutput, typeof nango.credential>;
|
|
27
20
|
//#endregion
|
|
28
21
|
export { nangoPutProxy };
|
|
29
22
|
//# sourceMappingURL=put-proxy.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-proxy.d.mts","names":[],"sources":["../../src/actions/put-proxy.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"put-proxy.d.mts","names":[],"sources":["../../src/actions/put-proxy.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put-proxy.mjs","names":[],"sources":["../../src/actions/put-proxy.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoPutProxyInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"The request body to send to the external API. All body parameters are passed through to the external API.\").optional(),\n retries: z.string().describe(\"The number of retries in case of failure (with exponential back-off). Default is 0.\").optional(),\n any_path: z.string().describe(\"The API path to send the PUT request to (e.g., '/users/123', '/items/update'). This path will be appended to the base URL of the external API.\"),\n decompress: z.string().describe(\"Override the decompress option when making requests. Defaults to false.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n base_url_override: z.string().describe(\"Provide an API base URL when the base API is not listed in the providers.yaml or it needs to be overridden.\").optional(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to pass on to the external API. These will be prefixed with 'nango-proxy-' automatically.\").optional(),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for Nango Proxy PUT endpoint.\\nProxies PUT requests to external APIs while managing authentication.\");\nexport const NangoPutProxyOutput = z.object({\n result: z.union([z.record(z.string(), z.unknown()), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable()), z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Response model for Nango Proxy PUT endpoint.\\nThe response is exactly as returned by the external API.\");\n\nexport const nangoPutProxy = action(\"NANGO_PUT_PROXY\", {\n slug: \"nango-put-proxy\",\n name: \"Proxy PUT Request\",\n description: \"Tool to make a PUT request with the Nango Proxy to forward requests to external APIs while managing authentication. Use when you need to update resources via external APIs through Nango's proxy.\",\n input: NangoPutProxyInput,\n output: NangoPutProxyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"put-proxy.mjs","names":[],"sources":["../../src/actions/put-proxy.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoPutProxyInput = z.object({\n body: z.record(z.string(), z.unknown()).describe(\"The request body to send to the external API. All body parameters are passed through to the external API.\").optional(),\n retries: z.string().describe(\"The number of retries in case of failure (with exponential back-off). Default is 0.\").optional(),\n any_path: z.string().describe(\"The API path to send the PUT request to (e.g., '/users/123', '/items/update'). This path will be appended to the base URL of the external API.\"),\n decompress: z.string().describe(\"Override the decompress option when making requests. Defaults to false.\").optional(),\n connection_id: z.string().describe(\"The connection ID used to create the connection.\"),\n base_url_override: z.string().describe(\"Provide an API base URL when the base API is not listed in the providers.yaml or it needs to be overridden.\").optional(),\n additional_headers: z.record(z.string(), z.unknown()).describe(\"Additional headers to pass on to the external API. These will be prefixed with 'nango-proxy-' automatically.\").optional(),\n provider_config_key: z.string().describe(\"The integration ID used to create the connection (aka Unique Key).\"),\n}).describe(\"Request model for Nango Proxy PUT endpoint.\\nProxies PUT requests to external APIs while managing authentication.\");\nexport const NangoPutProxyOutput = z.object({\n result: z.union([z.record(z.string(), z.unknown()), z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable()), z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Response model for Nango Proxy PUT endpoint.\\nThe response is exactly as returned by the external API.\");\n\nexport const nangoPutProxy: AppAction<\n typeof NangoPutProxyInput,\n typeof NangoPutProxyOutput,\n typeof nango.credential\n> = action(\"NANGO_PUT_PROXY\", {\n slug: \"nango-put-proxy\",\n name: \"Proxy PUT Request\",\n description: \"Tool to make a PUT request with the Nango Proxy to forward requests to external APIs while managing authentication. Use when you need to update resources via external APIs through Nango's proxy.\",\n input: NangoPutProxyInput,\n output: NangoPutProxyOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBgC,EAAE,OAAO;EACzC,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACvK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EACrF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAC/J,oBAAoB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACxL,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC/G,CAAC,CAAC,CAAC,SAAS,mHAaH;CACP,QAbiC,EAAE,OAAO,EAC1C,QAAQ,EAAE,MAAM;EAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconnect-session-post.cjs","names":["z","action"],"sources":["../../src/actions/reconnect-session-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoReconnectSessionPostInput = z.object({\n tags: z.record(z.string(), z.unknown()).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"Unique identifier for the end user\"),\n tags: z.record(z.string(), z.unknown()).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase.\").optional(),\n email: z.string().describe(\"End user email address\").optional(),\n display_name: z.string().describe(\"Display name for the end user\").optional(),\n}).describe(\"End user information for the connection.\").optional(),\n overrides: z.record(z.string(), z.unknown()).describe(\"Override configuration for integrations by integration name\").optional(),\n organization: z.object({\n id: z.string().describe(\"Uniquely identifies the organization the end user belongs to\"),\n display_name: z.string().describe(\"Display name for the organization\").optional(),\n}).describe(\"Organization information for the end user (deprecated, use tags instead).\").optional(),\n connection_id: z.string().describe(\"The connection ID to reconnect. Only connections created with a connect session are compatible with this endpoint.\"),\n integration_id: z.string().describe(\"The integration ID (provider config key) for the connection\"),\n integrations_config_defaults: z.record(z.string(), z.unknown()).describe(\"Default configuration for integrations by integration name\").optional(),\n}).describe(\"Request model for creating a reconnect session.\");\nconst NangoReconnectSessionPost_SessionDataSchema = z.object({\n token: z.string().describe(\"The connect session token used like a standard connect session\").nullable(),\n expires_at: z.string().describe(\"When the token expires in ISO 8601 format\").nullable(),\n connect_link: z.string().describe(\"The URL to directly connect the user to the integration. This can be used as a magic link.\").nullable().optional(),\n}).passthrough().describe(\"Connect session data returned from the API.\");\nexport const NangoReconnectSessionPostOutput = z.object({\n data: NangoReconnectSessionPost_SessionDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a reconnect session.\");\n\nexport const nangoReconnectSessionPost = action(\"NANGO_RECONNECT_SESSION_POST\", {\n slug: \"nango-reconnect-session-post\",\n name: \"Reconnect Session\",\n description: \"Create a new connect session to reconnect to a specific integration. Use this when a user needs to input new credentials or to manually refresh a token. Only connections created with a connect session are compatible with this endpoint.\",\n input: NangoReconnectSessionPostInput,\n output: NangoReconnectSessionPostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconnect-session-post.cjs","names":["z","action"],"sources":["../../src/actions/reconnect-session-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nango } from \"../app\";\n\nexport const NangoReconnectSessionPostInput = z.object({\n tags: z.record(z.string(), z.unknown()).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase.\").optional(),\n end_user: z.object({\n id: z.string().describe(\"Unique identifier for the end user\"),\n tags: z.record(z.string(), z.unknown()).describe(\"Connection tags (key/value strings). Keys are normalized to lowercase.\").optional(),\n email: z.string().describe(\"End user email address\").optional(),\n display_name: z.string().describe(\"Display name for the end user\").optional(),\n}).describe(\"End user information for the connection.\").optional(),\n overrides: z.record(z.string(), z.unknown()).describe(\"Override configuration for integrations by integration name\").optional(),\n organization: z.object({\n id: z.string().describe(\"Uniquely identifies the organization the end user belongs to\"),\n display_name: z.string().describe(\"Display name for the organization\").optional(),\n}).describe(\"Organization information for the end user (deprecated, use tags instead).\").optional(),\n connection_id: z.string().describe(\"The connection ID to reconnect. Only connections created with a connect session are compatible with this endpoint.\"),\n integration_id: z.string().describe(\"The integration ID (provider config key) for the connection\"),\n integrations_config_defaults: z.record(z.string(), z.unknown()).describe(\"Default configuration for integrations by integration name\").optional(),\n}).describe(\"Request model for creating a reconnect session.\");\nconst NangoReconnectSessionPost_SessionDataSchema = z.object({\n token: z.string().describe(\"The connect session token used like a standard connect session\").nullable(),\n expires_at: z.string().describe(\"When the token expires in ISO 8601 format\").nullable(),\n connect_link: z.string().describe(\"The URL to directly connect the user to the integration. This can be used as a magic link.\").nullable().optional(),\n}).passthrough().describe(\"Connect session data returned from the API.\");\nexport const NangoReconnectSessionPostOutput = z.object({\n data: NangoReconnectSessionPost_SessionDataSchema.nullable(),\n}).passthrough().describe(\"Response model for creating a reconnect session.\");\n\nexport const nangoReconnectSessionPost: AppAction<\n typeof NangoReconnectSessionPostInput,\n typeof NangoReconnectSessionPostOutput,\n typeof nango.credential\n> = action(\"NANGO_RECONNECT_SESSION_POST\", {\n slug: \"nango-reconnect-session-post\",\n name: \"Reconnect Session\",\n description: \"Create a new connect session to reconnect to a specific integration. Use this when a user needs to input new credentials or to manually refresh a token. Only connections created with a connect session are compatible with this endpoint.\",\n input: NangoReconnectSessionPostInput,\n output: NangoReconnectSessionPostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAw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ACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/reconnect-session-post.d.ts
|
|
@@ -25,23 +27,7 @@ declare const NangoReconnectSessionPostOutput: z.ZodObject<{
|
|
|
25
27
|
connect_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const nangoReconnectSessionPost:
|
|
29
|
-
connection_id: string;
|
|
30
|
-
integration_id: string;
|
|
31
|
-
tags?: Record<string, unknown> | undefined;
|
|
32
|
-
end_user?: {
|
|
33
|
-
id: string;
|
|
34
|
-
tags?: Record<string, unknown> | undefined;
|
|
35
|
-
email?: string | undefined;
|
|
36
|
-
display_name?: string | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
overrides?: Record<string, unknown> | undefined;
|
|
39
|
-
organization?: {
|
|
40
|
-
id: string;
|
|
41
|
-
display_name?: string | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
integrations_config_defaults?: Record<string, unknown> | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const nangoReconnectSessionPost: AppAction<typeof NangoReconnectSessionPostInput, typeof NangoReconnectSessionPostOutput, typeof nango.credential>;
|
|
45
31
|
//#endregion
|
|
46
32
|
export { nangoReconnectSessionPost };
|
|
47
33
|
//# sourceMappingURL=reconnect-session-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconnect-session-post.d.cts","names":[],"sources":["../../src/actions/reconnect-session-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconnect-session-post.d.cts","names":[],"sources":["../../src/actions/reconnect-session-post.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nango } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/reconnect-session-post.d.ts
|
|
@@ -25,23 +27,7 @@ declare const NangoReconnectSessionPostOutput: z.ZodObject<{
|
|
|
25
27
|
connect_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
}, z.core.$loose>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const nangoReconnectSessionPost:
|
|
29
|
-
connection_id: string;
|
|
30
|
-
integration_id: string;
|
|
31
|
-
tags?: Record<string, unknown> | undefined;
|
|
32
|
-
end_user?: {
|
|
33
|
-
id: string;
|
|
34
|
-
tags?: Record<string, unknown> | undefined;
|
|
35
|
-
email?: string | undefined;
|
|
36
|
-
display_name?: string | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
overrides?: Record<string, unknown> | undefined;
|
|
39
|
-
organization?: {
|
|
40
|
-
id: string;
|
|
41
|
-
display_name?: string | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
integrations_config_defaults?: Record<string, unknown> | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const nangoReconnectSessionPost: AppAction<typeof NangoReconnectSessionPostInput, typeof NangoReconnectSessionPostOutput, typeof nango.credential>;
|
|
45
31
|
//#endregion
|
|
46
32
|
export { nangoReconnectSessionPost };
|
|
47
33
|
//# sourceMappingURL=reconnect-session-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconnect-session-post.d.mts","names":[],"sources":["../../src/actions/reconnect-session-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconnect-session-post.d.mts","names":[],"sources":["../../src/actions/reconnect-session-post.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
|