@viu/emporix-sdk 2.32.0 → 2.33.2

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.cts CHANGED
@@ -2579,6 +2579,7 @@ type ExpandableTokenResponse = IdResponse | ExpandedTokenResponse;
2579
2579
  * * `teams`
2580
2580
  *
2581
2581
  * **The `teams` value is in preview mode** - some of the features may not be fully operational yet.
2582
+ * Slack fields `defaultInboundAgentId` and `allowedOperations` are in preview.
2582
2583
  */
2583
2584
  type NativeToolType = 'slack' | 'rag_custom' | 'rag_emporix' | 'teams';
2584
2585
  type BaseNativeTool = {
@@ -2741,11 +2742,38 @@ type RagEmporixNativeToolConfigRequest = RagEmporixNativeToolConfig & {
2741
2742
  type RagEmporixNativeToolConfigResponse = RagEmporixNativeToolConfig & {
2742
2743
  embeddingConfig?: EmporixOpenAiRagEmporixEmbeddingNativeToolConfig | OpenAiRagEmporixEmbeddingNativeToolConfigResponse | SelfHostedOllamaRagEmporixEmbeddingNativeToolConfigResponse;
2743
2744
  };
2745
+ /**
2746
+ * ![Preview](https://res.cloudinary.com/saas-ag/image/upload/v1752824268/emporix/icons/preview_api1.png)
2747
+ *
2748
+ * {% hint style="danger" %}
2749
+ * This functionality is in preview mode - some of the features may not be fully operational yet.
2750
+ * {% endhint %}
2751
+ *
2752
+ * Slack native tool operation identifier.
2753
+ */
2754
+ type SlackAllowedOperations = 'sendMessage' | 'createChannel' | 'inviteParticipants' | 'collaborateOnChannel';
2755
+ /**
2756
+ * ![Preview](https://res.cloudinary.com/saas-ag/image/upload/v1752824268/emporix/icons/preview_api1.png)
2757
+ *
2758
+ * {% hint style="danger" %}
2759
+ * This functionality is in preview mode - some of the features may not be fully operational yet.
2760
+ * {% endhint %}
2761
+ *
2762
+ * Configuration of a Slack native tool instance. Fields `defaultInboundAgentId` and `allowedOperations` are in preview.
2763
+ */
2744
2764
  type SlackNativeToolConfigResponse = {
2745
2765
  /**
2746
2766
  * Unique identifier of the Slack workspace (team) associated with the request. Used to distinguish the source Slack environment when handling events or API calls.
2747
2767
  */
2748
2768
  teamId: string;
2769
+ /**
2770
+ * Agent ID that handles inbound Slack replies when no conversation-specific routing context exists yet. This field is in preview.
2771
+ */
2772
+ defaultInboundAgentId?: string;
2773
+ /**
2774
+ * Operations the tool instance exposes to assigned agents. At least one value is required when the tool is enabled. This field is in preview.
2775
+ */
2776
+ allowedOperations?: Array<SlackAllowedOperations>;
2749
2777
  };
2750
2778
  type SlackNativeToolConfigRequest = SlackNativeToolConfigResponse & {
2751
2779
  /**
@@ -3032,6 +3060,10 @@ type SelfHostedLlm = BaseLlm & {
3032
3060
  * Type of the LLM Provider. The self-hosted LLM allows you to provide your own LLMs. When using this providers, the `selfHostedParams.url` property cannot be omitted.
3033
3061
  */
3034
3062
  provider: 'self_hosted_ollama' | 'self_hosted_vllm';
3063
+ /**
3064
+ * Optional. Indicates which cloud LLM provider API the self-hosted endpoint is compatible with (OPENAI, GOOGLE, or ANTHROPIC). Applies when provider is self_hosted_ollama or self_hosted_vllm. Used to select the correct request/response conventions for that backend. Ignored for non–self-hosted providers.
3065
+ */
3066
+ baseProvider?: 'ANTHROPIC' | 'GOOGLE' | 'OPENAI';
3035
3067
  };
3036
3068
  type SelfHostedLlmRequest = SelfHostedLlm & {
3037
3069
  selfHostedParams: SelfHostedParamsRequest;
@@ -3150,11 +3182,11 @@ type NativeToolReferenceRequest = {
3150
3182
  */
3151
3183
  id: string;
3152
3184
  /**
3153
- * Optional per-agent override of allowed MS Teams operations. When omitted, the tool instance defaults apply.
3185
+ * Optional per-agent override of allowed native tool operations. When omitted, the tool instance defaults apply. Supported for MS Teams and Slack (preview).
3154
3186
  *
3155
3187
  * **The `allowedOperations` field is in preview mode** - some of the features may not be fully operational yet.
3156
3188
  */
3157
- allowedOperations?: Array<TeamsAllowedOperations>;
3189
+ allowedOperations?: Array<TeamsAllowedOperations | SlackAllowedOperations>;
3158
3190
  };
3159
3191
  /**
3160
3192
  * List of agent collaborations which allows an agent to hand off its task to other agents.
@@ -3170,9 +3202,9 @@ type AgentCollaborations = Array<{
3170
3202
  description?: string;
3171
3203
  }>;
3172
3204
  /**
3173
- * Type of the trigger. The `slack` trigger type can be used only for `support` agent type.
3205
+ * Type of the trigger. The `slack` and `teams` trigger types can be used only for `support` agent type.
3174
3206
  */
3175
- type TriggerType = 'endpoint' | 'slack';
3207
+ type TriggerType = 'endpoint' | 'slack' | 'teams';
3176
3208
  /**
3177
3209
  * Type of the trigger.
3178
3210
  */
package/dist/index.d.ts CHANGED
@@ -2579,6 +2579,7 @@ type ExpandableTokenResponse = IdResponse | ExpandedTokenResponse;
2579
2579
  * * `teams`
2580
2580
  *
2581
2581
  * **The `teams` value is in preview mode** - some of the features may not be fully operational yet.
2582
+ * Slack fields `defaultInboundAgentId` and `allowedOperations` are in preview.
2582
2583
  */
2583
2584
  type NativeToolType = 'slack' | 'rag_custom' | 'rag_emporix' | 'teams';
2584
2585
  type BaseNativeTool = {
@@ -2741,11 +2742,38 @@ type RagEmporixNativeToolConfigRequest = RagEmporixNativeToolConfig & {
2741
2742
  type RagEmporixNativeToolConfigResponse = RagEmporixNativeToolConfig & {
2742
2743
  embeddingConfig?: EmporixOpenAiRagEmporixEmbeddingNativeToolConfig | OpenAiRagEmporixEmbeddingNativeToolConfigResponse | SelfHostedOllamaRagEmporixEmbeddingNativeToolConfigResponse;
2743
2744
  };
2745
+ /**
2746
+ * ![Preview](https://res.cloudinary.com/saas-ag/image/upload/v1752824268/emporix/icons/preview_api1.png)
2747
+ *
2748
+ * {% hint style="danger" %}
2749
+ * This functionality is in preview mode - some of the features may not be fully operational yet.
2750
+ * {% endhint %}
2751
+ *
2752
+ * Slack native tool operation identifier.
2753
+ */
2754
+ type SlackAllowedOperations = 'sendMessage' | 'createChannel' | 'inviteParticipants' | 'collaborateOnChannel';
2755
+ /**
2756
+ * ![Preview](https://res.cloudinary.com/saas-ag/image/upload/v1752824268/emporix/icons/preview_api1.png)
2757
+ *
2758
+ * {% hint style="danger" %}
2759
+ * This functionality is in preview mode - some of the features may not be fully operational yet.
2760
+ * {% endhint %}
2761
+ *
2762
+ * Configuration of a Slack native tool instance. Fields `defaultInboundAgentId` and `allowedOperations` are in preview.
2763
+ */
2744
2764
  type SlackNativeToolConfigResponse = {
2745
2765
  /**
2746
2766
  * Unique identifier of the Slack workspace (team) associated with the request. Used to distinguish the source Slack environment when handling events or API calls.
2747
2767
  */
2748
2768
  teamId: string;
2769
+ /**
2770
+ * Agent ID that handles inbound Slack replies when no conversation-specific routing context exists yet. This field is in preview.
2771
+ */
2772
+ defaultInboundAgentId?: string;
2773
+ /**
2774
+ * Operations the tool instance exposes to assigned agents. At least one value is required when the tool is enabled. This field is in preview.
2775
+ */
2776
+ allowedOperations?: Array<SlackAllowedOperations>;
2749
2777
  };
2750
2778
  type SlackNativeToolConfigRequest = SlackNativeToolConfigResponse & {
2751
2779
  /**
@@ -3032,6 +3060,10 @@ type SelfHostedLlm = BaseLlm & {
3032
3060
  * Type of the LLM Provider. The self-hosted LLM allows you to provide your own LLMs. When using this providers, the `selfHostedParams.url` property cannot be omitted.
3033
3061
  */
3034
3062
  provider: 'self_hosted_ollama' | 'self_hosted_vllm';
3063
+ /**
3064
+ * Optional. Indicates which cloud LLM provider API the self-hosted endpoint is compatible with (OPENAI, GOOGLE, or ANTHROPIC). Applies when provider is self_hosted_ollama or self_hosted_vllm. Used to select the correct request/response conventions for that backend. Ignored for non–self-hosted providers.
3065
+ */
3066
+ baseProvider?: 'ANTHROPIC' | 'GOOGLE' | 'OPENAI';
3035
3067
  };
3036
3068
  type SelfHostedLlmRequest = SelfHostedLlm & {
3037
3069
  selfHostedParams: SelfHostedParamsRequest;
@@ -3150,11 +3182,11 @@ type NativeToolReferenceRequest = {
3150
3182
  */
3151
3183
  id: string;
3152
3184
  /**
3153
- * Optional per-agent override of allowed MS Teams operations. When omitted, the tool instance defaults apply.
3185
+ * Optional per-agent override of allowed native tool operations. When omitted, the tool instance defaults apply. Supported for MS Teams and Slack (preview).
3154
3186
  *
3155
3187
  * **The `allowedOperations` field is in preview mode** - some of the features may not be fully operational yet.
3156
3188
  */
3157
- allowedOperations?: Array<TeamsAllowedOperations>;
3189
+ allowedOperations?: Array<TeamsAllowedOperations | SlackAllowedOperations>;
3158
3190
  };
3159
3191
  /**
3160
3192
  * List of agent collaborations which allows an agent to hand off its task to other agents.
@@ -3170,9 +3202,9 @@ type AgentCollaborations = Array<{
3170
3202
  description?: string;
3171
3203
  }>;
3172
3204
  /**
3173
- * Type of the trigger. The `slack` trigger type can be used only for `support` agent type.
3205
+ * Type of the trigger. The `slack` and `teams` trigger types can be used only for `support` agent type.
3174
3206
  */
3175
- type TriggerType = 'endpoint' | 'slack';
3207
+ type TriggerType = 'endpoint' | 'slack' | 'teams';
3176
3208
  /**
3177
3209
  * Type of the trigger.
3178
3210
  */
package/dist/index.js CHANGED
@@ -686,7 +686,7 @@ var HttpClient = class {
686
686
  };
687
687
 
688
688
  // package.json
689
- var version = "2.32.0";
689
+ var version = "2.33.2";
690
690
 
691
691
  // src/version.ts
692
692
  var SDK_VERSION = version;