mitra-interactions-sdk 1.0.23 → 1.0.24
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 +3 -3
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ const result = await runQueryMitra({
|
|
|
108
108
|
sql: 'SELECT * FROM usuarios LIMIT 10',
|
|
109
109
|
jdbcId: 1 // Opcional, usa autoConnect se não informado
|
|
110
110
|
});
|
|
111
|
-
// result: { status, result: {
|
|
111
|
+
// result: { status, result: { rows: Record<string, any>[], rowCount: number } }
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
### executeDbActionMitra
|
|
@@ -189,7 +189,7 @@ Lista as integrações configuradas no projeto.
|
|
|
189
189
|
import { listIntegrationsMitra } from 'mitra-interactions-sdk';
|
|
190
190
|
|
|
191
191
|
const integrations = await listIntegrationsMitra({ projectId: 123 });
|
|
192
|
-
// result:
|
|
192
|
+
// result: IntegrationResponse[] — [{ id (UUID), projectId, name, slug, blueprintId, blueprintType, authType, credentials, status, lastCheckedAt, createdAt, updatedAt }]
|
|
193
193
|
```
|
|
194
194
|
|
|
195
195
|
#### callIntegrationMitra
|
|
@@ -347,7 +347,7 @@ import type {
|
|
|
347
347
|
SetVariableResponse,
|
|
348
348
|
ExecuteServerFunctionResponse,
|
|
349
349
|
ExecuteServerFunctionAsyncResponse,
|
|
350
|
-
|
|
350
|
+
IntegrationResponse,
|
|
351
351
|
CallIntegrationResponse,
|
|
352
352
|
StopServerFunctionExecutionResponse,
|
|
353
353
|
ListRecordsResponse
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED