@keystrokehq/nango 0.1.5 → 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 -18
- package/dist/actions/action-trigger-post.d.cts.map +1 -1
- package/dist/actions/action-trigger-post.d.mts +3 -18
- 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 -68
- package/dist/actions/add-connection.d.cts.map +1 -1
- package/dist/actions/add-connection.d.mts +3 -68
- 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 -20
- package/dist/actions/connection-get.d.cts.map +1 -1
- package/dist/actions/connection-get.d.mts +3 -20
- 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 -28
- package/dist/actions/create-connect-session.d.cts.map +1 -1
- package/dist/actions/create-connect-session.d.mts +3 -28
- 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 -39
- package/dist/actions/create-integration.d.cts.map +1 -1
- package/dist/actions/create-integration.d.mts +3 -39
- 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 -16
- package/dist/actions/delete-connection.d.cts.map +1 -1
- package/dist/actions/delete-connection.d.mts +3 -16
- 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 -15
- package/dist/actions/delete-integration.d.cts.map +1 -1
- package/dist/actions/delete-integration.d.mts +3 -15
- 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 -23
- package/dist/actions/edit-connection.d.cts.map +1 -1
- package/dist/actions/edit-connection.d.mts +3 -23
- 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 -19
- package/dist/actions/get-connection.d.cts.map +1 -1
- package/dist/actions/get-connection.d.mts +3 -19
- 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 -13
- package/dist/actions/get-environment-variables.d.cts.map +1 -1
- package/dist/actions/get-environment-variables.d.mts +3 -13
- 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 -16
- package/dist/actions/get-integration.d.cts.map +1 -1
- package/dist/actions/get-integration.d.mts +3 -16
- 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 -23
- package/dist/actions/get-proxy.d.cts.map +1 -1
- package/dist/actions/get-proxy.d.mts +3 -23
- 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 -17
- package/dist/actions/get-sync-status.d.cts.map +1 -1
- package/dist/actions/get-sync-status.d.mts +3 -17
- 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 -21
- package/dist/actions/list-connections.d.cts.map +1 -1
- package/dist/actions/list-connections.d.mts +3 -21
- 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 -13
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +3 -13
- 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 -15
- package/dist/actions/providers-get-get.d.cts.map +1 -1
- package/dist/actions/providers-get-get.d.mts +3 -15
- 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 -13
- package/dist/actions/providers-list-get.d.cts.map +1 -1
- package/dist/actions/providers-list-get.d.mts +3 -13
- 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 -22
- package/dist/actions/put-proxy.d.cts.map +1 -1
- package/dist/actions/put-proxy.d.mts +3 -22
- 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 -29
- package/dist/actions/reconnect-session-post.d.cts.map +1 -1
- package/dist/actions/reconnect-session-post.d.mts +3 -29
- 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 -13
- package/dist/actions/scripts-config-get.d.cts.map +1 -1
- package/dist/actions/scripts-config-get.d.mts +3 -13
- 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 -17
- package/dist/actions/set-connection-metadata.d.cts.map +1 -1
- package/dist/actions/set-connection-metadata.d.mts +3 -17
- 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 -18
- package/dist/actions/sync-trigger-post.d.cts.map +1 -1
- package/dist/actions/sync-trigger-post.d.mts +3 -18
- 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 -17
- package/dist/actions/update-connection-metadata.d.cts.map +1 -1
- package/dist/actions/update-connection-metadata.d.mts +3 -17
- 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 -39
- package/dist/actions/update-integration.d.cts.map +1 -1
- package/dist/actions/update-integration.d.mts +3 -39
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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 +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,SAAS,oLAAoL,EACpN,CAAC,CAAC,CAAC,SAAS,qEAyBH;CACP,QAzBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,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,19 +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:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const nangoProvidersListGet: AppAction<typeof NangoProvidersListGetInput, typeof NangoProvidersListGetOutput, typeof nango.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { nangoProvidersListGet };
|
|
31
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,19 +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:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const nangoProvidersListGet: AppAction<typeof NangoProvidersListGetInput, typeof NangoProvidersListGetOutput, typeof nango.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { nangoProvidersListGet };
|
|
31
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,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC9K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/J,oBAAoBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxL,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AAC/G,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;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,28 +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<"nango", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const nangoPutProxy: AppAction<typeof NangoPutProxyInput, typeof NangoPutProxyOutput, typeof nango.credential>;
|
|
39
20
|
//#endregion
|
|
40
21
|
export { nangoPutProxy };
|
|
41
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,28 +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<"nango", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const nangoPutProxy: AppAction<typeof NangoPutProxyInput, typeof NangoPutProxyOutput, typeof nango.credential>;
|
|
39
20
|
//#endregion
|
|
40
21
|
export { nangoPutProxy };
|
|
41
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,wEAAwE,CAAC,CAAC,SAAS;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AAE,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,35 +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<"nango", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const nangoReconnectSessionPost: AppAction<typeof NangoReconnectSessionPostInput, typeof NangoReconnectSessionPostOutput, typeof nango.credential>;
|
|
57
31
|
//#endregion
|
|
58
32
|
export { nangoReconnectSessionPost };
|
|
59
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,35 +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<"nango", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const nangoReconnectSessionPost: AppAction<typeof NangoReconnectSessionPostInput, typeof NangoReconnectSessionPostOutput, typeof nango.credential>;
|
|
57
31
|
//#endregion
|
|
58
32
|
export { nangoReconnectSessionPost };
|
|
59
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconnect-session-post.mjs","names":[],"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.mjs","names":[],"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,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACpI,UAAU,EAAE,OAAO;EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC5D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAA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ions/scripts-config-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NangoScriptsConfigGetInput = z.object({}).describe(\"Request model for retrieving Nango integration functions configuration.\\n\\nNo parameters required - retrieves all configured integrations.\");\nconst NangoScriptsConfigGet_EndpointConfigSchema = z.object({\n path: z.string().describe(\"Endpoint path.\").nullable().optional(),\n method: z.string().describe(\"HTTP method (e.g., 'GET', 'POST').\").nullable().optional(),\n}).passthrough().describe(\"Model representing an endpoint configuration.\");\nconst NangoScriptsConfigGet_SyncConfigSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the sync.\").nullable().optional(),\n name: z.string().describe(\"Name of the sync script.\").nullable(),\n runs: z.string().describe(\"Frequency of sync runs (e.g., 'every 1h').\").nullable().optional(),\n type: z.string().describe(\"Type of script (e.g., 'sync').\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input schema.\").nullable().optional(),\n models: z.array(z.string()).describe(\"Data models used by the sync.\").nullable().optional(),\n scopes: z.array(z.string()).describe(\"OAuth scopes required.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the sync is enabled.\").nullable().optional(),\n returns: z.array(z.string()).describe(\"Return type models.\").nullable().optional(),\n version: z.string().describe(\"Version of the sync script.\").nullable().optional(),\n endpoints: z.array(NangoScriptsConfigGet_EndpointConfigSchema).describe(\"Endpoints configuration.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the sync is public.\").nullable().optional(),\n pre_built: z.boolean().describe(\"Whether the sync is pre-built.\").nullable().optional(),\n sync_type: z.string().describe(\"Type of synchronization (e.g., 'full', 'incremental').\").nullable().optional(),\n auto_start: z.boolean().describe(\"Whether the sync auto-starts.\").nullable().optional(),\n description: z.string().describe(\"Description of the sync.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema for the sync.\").nullable().optional(),\n track_deletes: z.boolean().describe(\"Whether to track deleted records.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a sync script configuration.\");\nconst NangoScriptsConfigGet_ActionConfigSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the action.\").nullable().optional(),\n name: z.string().describe(\"Name of the action script.\").nullable(),\n type: z.string().describe(\"Type of script (e.g., 'action').\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input schema.\").nullable().optional(),\n scopes: z.array(z.string()).describe(\"OAuth scopes required.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the action is enabled.\").nullable().optional(),\n returns: z.array(z.string()).describe(\"Return type models.\").nullable().optional(),\n version: z.string().describe(\"Version of the action script.\").nullable().optional(),\n endpoints: z.array(NangoScriptsConfigGet_EndpointConfigSchema).describe(\"Endpoints configuration.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the action is public.\").nullable().optional(),\n pre_built: z.boolean().describe(\"Whether the action is pre-built.\").nullable().optional(),\n description: z.string().describe(\"Description of the action.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema for the action.\").nullable().optional(),\n}).passthrough().describe(\"Model representing an action script configuration.\");\nconst NangoScriptsConfigGet_EventHandlerConfigSchema = z.object({\n name: z.string().describe(\"Name of the event handler.\").nullable().optional(),\n event: z.string().describe(\"Event type being handled.\").nullable().optional(),\n}).passthrough().describe(\"Model representing an event handler configuration.\");\nconst NangoScriptsConfigGet_IntegrationConfigSchema = z.object({\n syncs: z.array(NangoScriptsConfigGet_SyncConfigSchema).describe(\"List of sync scripts for this integration.\").nullable().optional(),\n actions: z.array(NangoScriptsConfigGet_ActionConfigSchema).describe(\"List of action scripts for this integration.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'github', 'slack').\").nullable().optional(),\n \"on-events\": z.array(NangoScriptsConfigGet_EventHandlerConfigSchema).describe(\"Event handlers configuration.\").nullable().optional(),\n providerConfigKey: z.string().describe(\"Unique configuration key for this integration.\").nullable(),\n}).passthrough().describe(\"Model representing a single integration's configuration.\");\nexport const NangoScriptsConfigGetOutput = z.object({\n integrations: z.array(NangoScriptsConfigGet_IntegrationConfigSchema).describe(\"List of integration configurations with their syncs and actions.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching Nango integration functions configuration.\\n\\nReturns a list of all configured integrations with their syncs, actions, and event handlers.\");\n\nexport const nangoScriptsConfigGet = action(\"NANGO_SCRIPTS_CONFIG_GET\", {\n slug: \"nango-scripts-config-get\",\n name: \"Get Integration Functions Configuration\",\n description: \"Retrieve all integration functions configuration from Nango. Returns the configuration for all integrations including their sync scripts, action scripts, and event handlers. Use this to discover available integrations and their capabilities before triggering syncs or actions.\",\n input: NangoScriptsConfigGetInput,\n output: NangoScriptsConfigGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4IAA4I;AAC5M,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IA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C,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,cAAcA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wKAAwK;AAElM,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"scripts-config-get.cjs","names":["z","action"],"sources":["../../src/actions/scripts-config-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 NangoScriptsConfigGetInput = z.object({}).describe(\"Request model for retrieving Nango integration functions configuration.\\n\\nNo parameters required - retrieves all configured integrations.\");\nconst NangoScriptsConfigGet_EndpointConfigSchema = z.object({\n path: z.string().describe(\"Endpoint path.\").nullable().optional(),\n method: z.string().describe(\"HTTP method (e.g., 'GET', 'POST').\").nullable().optional(),\n}).passthrough().describe(\"Model representing an endpoint configuration.\");\nconst NangoScriptsConfigGet_SyncConfigSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the sync.\").nullable().optional(),\n name: z.string().describe(\"Name of the sync script.\").nullable(),\n runs: z.string().describe(\"Frequency of sync runs (e.g., 'every 1h').\").nullable().optional(),\n type: z.string().describe(\"Type of script (e.g., 'sync').\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input schema.\").nullable().optional(),\n models: z.array(z.string()).describe(\"Data models used by the sync.\").nullable().optional(),\n scopes: z.array(z.string()).describe(\"OAuth scopes required.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the sync is enabled.\").nullable().optional(),\n returns: z.array(z.string()).describe(\"Return type models.\").nullable().optional(),\n version: z.string().describe(\"Version of the sync script.\").nullable().optional(),\n endpoints: z.array(NangoScriptsConfigGet_EndpointConfigSchema).describe(\"Endpoints configuration.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the sync is public.\").nullable().optional(),\n pre_built: z.boolean().describe(\"Whether the sync is pre-built.\").nullable().optional(),\n sync_type: z.string().describe(\"Type of synchronization (e.g., 'full', 'incremental').\").nullable().optional(),\n auto_start: z.boolean().describe(\"Whether the sync auto-starts.\").nullable().optional(),\n description: z.string().describe(\"Description of the sync.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema for the sync.\").nullable().optional(),\n track_deletes: z.boolean().describe(\"Whether to track deleted records.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a sync script configuration.\");\nconst NangoScriptsConfigGet_ActionConfigSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the action.\").nullable().optional(),\n name: z.string().describe(\"Name of the action script.\").nullable(),\n type: z.string().describe(\"Type of script (e.g., 'action').\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input schema.\").nullable().optional(),\n scopes: z.array(z.string()).describe(\"OAuth scopes required.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the action is enabled.\").nullable().optional(),\n returns: z.array(z.string()).describe(\"Return type models.\").nullable().optional(),\n version: z.string().describe(\"Version of the action script.\").nullable().optional(),\n endpoints: z.array(NangoScriptsConfigGet_EndpointConfigSchema).describe(\"Endpoints configuration.\").nullable().optional(),\n is_public: z.boolean().describe(\"Whether the action is public.\").nullable().optional(),\n pre_built: z.boolean().describe(\"Whether the action is pre-built.\").nullable().optional(),\n description: z.string().describe(\"Description of the action.\").nullable().optional(),\n json_schema: z.record(z.string(), z.unknown()).describe(\"JSON schema for the action.\").nullable().optional(),\n}).passthrough().describe(\"Model representing an action script configuration.\");\nconst NangoScriptsConfigGet_EventHandlerConfigSchema = z.object({\n name: z.string().describe(\"Name of the event handler.\").nullable().optional(),\n event: z.string().describe(\"Event type being handled.\").nullable().optional(),\n}).passthrough().describe(\"Model representing an event handler configuration.\");\nconst NangoScriptsConfigGet_IntegrationConfigSchema = z.object({\n syncs: z.array(NangoScriptsConfigGet_SyncConfigSchema).describe(\"List of sync scripts for this integration.\").nullable().optional(),\n actions: z.array(NangoScriptsConfigGet_ActionConfigSchema).describe(\"List of action scripts for this integration.\").nullable().optional(),\n provider: z.string().describe(\"Provider name (e.g., 'github', 'slack').\").nullable().optional(),\n \"on-events\": z.array(NangoScriptsConfigGet_EventHandlerConfigSchema).describe(\"Event handlers configuration.\").nullable().optional(),\n providerConfigKey: z.string().describe(\"Unique configuration key for this integration.\").nullable(),\n}).passthrough().describe(\"Model representing a single integration's configuration.\");\nexport const NangoScriptsConfigGetOutput = z.object({\n integrations: z.array(NangoScriptsConfigGet_IntegrationConfigSchema).describe(\"List of integration configurations with their syncs and actions.\").nullable().optional(),\n}).passthrough().describe(\"Response model for fetching Nango integration functions configuration.\\n\\nReturns a list of all configured integrations with their syncs, actions, and event handlers.\");\n\nexport const nangoScriptsConfigGet: AppAction<\n typeof NangoScriptsConfigGetInput,\n typeof NangoScriptsConfigGetOutput,\n typeof nango.credential\n> = action(\"NANGO_SCRIPTS_CONFIG_GET\", {\n slug: \"nango-scripts-config-get\",\n name: \"Get Integration Functions Configuration\",\n description: \"Retrieve all integration functions configuration from Nango. Returns the configuration for all integrations including their sync scripts, action scripts, and event handlers. Use this to discover available integrations and their capabilities before triggering syncs or actions.\",\n input: NangoScriptsConfigGetInput,\n output: NangoScriptsConfigGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC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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/scripts-config-get.d.ts
|
|
@@ -53,19 +55,7 @@ declare const NangoScriptsConfigGetOutput: z.ZodObject<{
|
|
|
53
55
|
providerConfigKey: z.ZodNullable<z.ZodString>;
|
|
54
56
|
}, z.core.$loose>>>>;
|
|
55
57
|
}, z.core.$loose>;
|
|
56
|
-
declare const nangoScriptsConfigGet:
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>]>;
|
|
58
|
+
declare const nangoScriptsConfigGet: AppAction<typeof NangoScriptsConfigGetInput, typeof NangoScriptsConfigGetOutput, typeof nango.credential>;
|
|
69
59
|
//#endregion
|
|
70
60
|
export { nangoScriptsConfigGet };
|
|
71
61
|
//# sourceMappingURL=scripts-config-get.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scripts-config-get.d.cts","names":[],"sources":["../../src/actions/scripts-config-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"scripts-config-get.d.cts","names":[],"sources":["../../src/actions/scripts-config-get.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmD1B,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/scripts-config-get.d.ts
|
|
@@ -53,19 +55,7 @@ declare const NangoScriptsConfigGetOutput: z.ZodObject<{
|
|
|
53
55
|
providerConfigKey: z.ZodNullable<z.ZodString>;
|
|
54
56
|
}, z.core.$loose>>>>;
|
|
55
57
|
}, z.core.$loose>;
|
|
56
|
-
declare const nangoScriptsConfigGet:
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nango", z.ZodObject<{
|
|
63
|
-
connectionId: z.ZodString;
|
|
64
|
-
entityId: z.ZodString;
|
|
65
|
-
instanceId: z.ZodString;
|
|
66
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
}, z.core.$strip>>]>;
|
|
58
|
+
declare const nangoScriptsConfigGet: AppAction<typeof NangoScriptsConfigGetInput, typeof NangoScriptsConfigGetOutput, typeof nango.credential>;
|
|
69
59
|
//#endregion
|
|
70
60
|
export { nangoScriptsConfigGet };
|
|
71
61
|
//# sourceMappingURL=scripts-config-get.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scripts-config-get.d.mts","names":[],"sources":["../../src/actions/scripts-config-get.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"scripts-config-get.d.mts","names":[],"sources":["../../src/actions/scripts-config-get.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|