diff --git a/packages/types/package.json b/packages/types/package.json index 1b06646..76d820a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@tailor-platform/function-types", - "version": "0.4.0", + "version": "0.5.0", "description": "TypeScript types for Tailor Platform Function service", "repository": { "type": "git", diff --git a/packages/types/tailor.d.ts b/packages/types/tailor.d.ts index 3c7ba8a..3b3ffd8 100644 --- a/packages/types/tailor.d.ts +++ b/packages/types/tailor.d.ts @@ -53,6 +53,13 @@ declare namespace tailor.secretmanager { ): Promise; } +declare namespace tailor.authconnection { + /** + * getConnectionToken returns the access token for an auth connection + */ + function getConnectionToken(connectionName: string): Promise; +} + declare namespace tailor.iconv { /** * Convert string from one encoding to another