@omnikit-ai/sdk 2.2.6 → 2.2.7
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/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,7 @@ export { cleanTokenFromUrl, getAccessToken, isTokenInUrl, removeAccessToken, sav
|
|
|
4
4
|
* Omnikit SDK - Connectors Module
|
|
5
5
|
*
|
|
6
6
|
* Provides access to connected external services (Slack, Google Calendar, Notion, etc.)
|
|
7
|
-
*
|
|
8
|
-
* for making direct API calls to external services.
|
|
7
|
+
* Allows backend functions to get access tokens for making direct API calls to external services.
|
|
9
8
|
*
|
|
10
9
|
* SECURITY: getAccessToken requires API key (X-API-Key) authentication.
|
|
11
10
|
* Only available to backend functions, not frontend code.
|
|
@@ -1941,8 +1940,8 @@ declare class APIClient implements OmnikitClient {
|
|
|
1941
1940
|
*/
|
|
1942
1941
|
get asServiceRole(): ServiceRoleClient;
|
|
1943
1942
|
/**
|
|
1944
|
-
* Lazy getter for connectors module
|
|
1945
|
-
*
|
|
1943
|
+
* Lazy getter for connectors module.
|
|
1944
|
+
* Provides access to external service tokens.
|
|
1946
1945
|
*
|
|
1947
1946
|
* SECURITY: getAccessToken requires service token authentication.
|
|
1948
1947
|
* Only use in backend functions, not frontend code.
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,7 @@ export { cleanTokenFromUrl, getAccessToken, isTokenInUrl, removeAccessToken, sav
|
|
|
4
4
|
* Omnikit SDK - Connectors Module
|
|
5
5
|
*
|
|
6
6
|
* Provides access to connected external services (Slack, Google Calendar, Notion, etc.)
|
|
7
|
-
*
|
|
8
|
-
* for making direct API calls to external services.
|
|
7
|
+
* Allows backend functions to get access tokens for making direct API calls to external services.
|
|
9
8
|
*
|
|
10
9
|
* SECURITY: getAccessToken requires API key (X-API-Key) authentication.
|
|
11
10
|
* Only available to backend functions, not frontend code.
|
|
@@ -1941,8 +1940,8 @@ declare class APIClient implements OmnikitClient {
|
|
|
1941
1940
|
*/
|
|
1942
1941
|
get asServiceRole(): ServiceRoleClient;
|
|
1943
1942
|
/**
|
|
1944
|
-
* Lazy getter for connectors module
|
|
1945
|
-
*
|
|
1943
|
+
* Lazy getter for connectors module.
|
|
1944
|
+
* Provides access to external service tokens.
|
|
1946
1945
|
*
|
|
1947
1946
|
* SECURITY: getAccessToken requires service token authentication.
|
|
1948
1947
|
* Only use in backend functions, not frontend code.
|
package/dist/index.js
CHANGED
|
@@ -852,8 +852,8 @@ var APIClient = class {
|
|
|
852
852
|
return this.service;
|
|
853
853
|
}
|
|
854
854
|
/**
|
|
855
|
-
* Lazy getter for connectors module
|
|
856
|
-
*
|
|
855
|
+
* Lazy getter for connectors module.
|
|
856
|
+
* Provides access to external service tokens.
|
|
857
857
|
*
|
|
858
858
|
* SECURITY: getAccessToken requires service token authentication.
|
|
859
859
|
* Only use in backend functions, not frontend code.
|