@integry/sdk 4.9.26 → 4.9.28
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/README.md +1 -1
- package/dist/esm/index.csm.d.ts +9 -0
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +9 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ activity fields for `type`, `activity_type`, `endpoint_id`, and `session_id`. Fo
|
|
|
49
49
|
|
|
50
50
|
## Headless function-to-tool conversion
|
|
51
51
|
|
|
52
|
-
Use `getFunctionTools` when you already have function details (for example from `getFunctionDetails`) and only want a tool payload without rendering UI.
|
|
52
|
+
Use `getFunctionTools` when you already have function details (for example from `getFunctionDetails`) and only want a tool payload without rendering UI. `IntegryJS.Helpers.getFunctionTools` additionally pre-marks all top-level parameters as AI-Filled and seeds `default_arguments` for those fields.
|
|
53
53
|
|
|
54
54
|
```ts
|
|
55
55
|
const tool = sdk.getFunctionTools(functionDetails);
|
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -455,6 +455,15 @@ type SDKOptions = UserConfig; // rename user config to options for better unders
|
|
|
455
455
|
// rename user config to options for better understanding
|
|
456
456
|
interface SDKConfig {
|
|
457
457
|
baseUrl?: string;
|
|
458
|
+
authBaseUrl?: string;
|
|
459
|
+
/**
|
|
460
|
+
* Optional override for the public API domain. Falls back to api.integry.io.
|
|
461
|
+
*/
|
|
462
|
+
baseAPIUrl?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Backwards compatible alias for baseAPIUrl.
|
|
465
|
+
*/
|
|
466
|
+
apiBaseUrl?: string;
|
|
458
467
|
debug?: boolean;
|
|
459
468
|
integrationId?: number;
|
|
460
469
|
lang?: string;
|