@droz-js/sdk 0.19.38 → 0.20.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.19.38",
4
+ "version": "0.20.0",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
package/src/sdks/ai.d.ts CHANGED
@@ -697,7 +697,7 @@ export type Mutation = {
697
697
  draftAiAgent?: Maybe<AiAgentVersion>;
698
698
  extractImageMetadata: ExtractImageMetadataResult;
699
699
  publishAiAgentVersion: Array<AiAgentVersion>;
700
- /** @deprecated Cadastre o backend da ferramenta como Connector (Nexo > Conectores) em vez de registrar diretamente por aqui. */
700
+ /** Cadastre o backend da ferramenta como Connector (Nexo > Conectores) primeiro, depois amarre o spec do agente a ele aqui. */
701
701
  registerAiAgentTool?: Maybe<AiAgentTool>;
702
702
  /** Apaga o agente e a autoria dele. Agente no ar precisa ser pausado antes. */
703
703
  removeAiAgent: Scalars['Boolean']['output'];
@@ -935,10 +935,9 @@ export type QueryTestQnAInstanceArgs = {
935
935
  input: Scalars['String']['input'];
936
936
  };
937
937
  export type RegisterAiAgentToolInput = {
938
- method: Scalars['String']['input'];
938
+ /** Connector ja cadastrado (Nexo > Conectores) que executa a chamada HTTP desta ferramenta. */
939
+ connectorId: Scalars['ID']['input'];
939
940
  spec: AiAgentToolSpecInput;
940
- /** Pode conter {param} para parâmetros declarados e {customerId}. Precisa ser https e público. */
941
- url: Scalars['String']['input'];
942
941
  };
943
942
  export type RemoveNlpInstanceInput = {
944
943
  id: Scalars['ID']['input'];
@@ -166,6 +166,7 @@ export type Connector = {
166
166
  tags: Array<Scalars['Tag']['output']>;
167
167
  timeoutMs: Scalars['Int']['output'];
168
168
  updatedAt: Scalars['DateTime']['output'];
169
+ /** Variáveis substituíveis usam Handlebars: {{nomeDaVariavel}}, com chave dupla. */
169
170
  url: Scalars['String']['output'];
170
171
  useFormUrlEncoded: Scalars['Boolean']['output'];
171
172
  };
@@ -213,6 +214,7 @@ export type CreateConnectorInput = {
213
214
  stripUndefinedBodyVariables?: InputMaybe<Scalars['Boolean']['input']>;
214
215
  tags?: InputMaybe<Array<Scalars['Tag']['input']>>;
215
216
  timeoutMs?: InputMaybe<Scalars['Int']['input']>;
217
+ /** Variáveis substituíveis usam Handlebars: {{nomeDaVariavel}}, com chave dupla. */
216
218
  url: Scalars['String']['input'];
217
219
  useFormUrlEncoded?: InputMaybe<Scalars['Boolean']['input']>;
218
220
  };
@@ -356,6 +358,7 @@ export type UpdateConnectorInput = {
356
358
  stripUndefinedBodyVariables?: InputMaybe<Scalars['Boolean']['input']>;
357
359
  tags?: InputMaybe<Array<Scalars['Tag']['input']>>;
358
360
  timeoutMs?: InputMaybe<Scalars['Int']['input']>;
361
+ /** Variáveis substituíveis usam Handlebars: {{nomeDaVariavel}}, com chave dupla. */
359
362
  url?: InputMaybe<Scalars['String']['input']>;
360
363
  useFormUrlEncoded?: InputMaybe<Scalars['Boolean']['input']>;
361
364
  };