@tangle-network/agent-integrations 0.67.0 → 0.67.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/data/bundled-adapter-manifests.json +1 -1
- package/dist/{adapters-CHzc3qI0.js → adapters-C4M7uzRR.js} +89 -61
- package/dist/{adapters-CHzc3qI0.js.map → adapters-C4M7uzRR.js.map} +1 -1
- package/dist/{bundled-manifest-data-wo3D0Q4P.js → bundled-manifest-data-KD2SsNNX.js} +26 -16
- package/dist/{bundled-manifest-data-wo3D0Q4P.js.map → bundled-manifest-data-KD2SsNNX.js.map} +1 -1
- package/dist/connectors/adapters/index.d.ts +1 -1
- package/dist/connectors/adapters/index.js +1 -1
- package/dist/connectors/index.d.ts +2 -2
- package/dist/connectors/index.js +2 -2
- package/dist/{consumer-DYpMLeNG.d.ts → consumer-DBiE_-E7.d.ts} +2 -2
- package/dist/{consumer-DYpMLeNG.d.ts.map → consumer-DBiE_-E7.d.ts.map} +1 -1
- package/dist/consumer.d.ts +1 -1
- package/dist/conversation-events/index.js +1 -3
- package/dist/conversation-events/index.js.map +1 -1
- package/dist/{index-Bb---RDI.d.ts → index-DAQVjkde.d.ts} +2 -2
- package/dist/{index-Bb---RDI.d.ts.map → index-DAQVjkde.d.ts.map} +1 -1
- package/dist/{index-BXhHnxfA.d.ts → index-DT-raio8.d.ts} +11 -10
- package/dist/index-DT-raio8.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/internal/bundled-manifest-runtime.js +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/registry.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/sandbox.d.ts +1 -1
- package/dist/{specs-DyeHZSyC.js → specs-CUUU8WIk.js} +2 -2
- package/dist/{specs-DyeHZSyC.js.map → specs-CUUU8WIk.js.map} +1 -1
- package/dist/specs.js +1 -1
- package/dist/{src-CvnOy-XH.js → src-CQjtO44Z.js} +3 -3
- package/dist/{src-CvnOy-XH.js.map → src-CQjtO44Z.js.map} +1 -1
- package/docs/whatsapp-cloud-routing.md +19 -0
- package/package.json +1 -1
- package/dist/index-BXhHnxfA.d.ts.map +0 -1
package/dist/consumer.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as IntegrationHubAuth, c as IntegrationHubRequestError, d as MintCapabilityBundleInput, f as ResolveManifestInput, i as CreateGrantsInput, l as IntegrationOwnerPolicy, n as CheckConnectorInput, o as IntegrationHubClient, p as createIntegrationHubClient, r as CheckConnectorResult, s as IntegrationHubClientOptions, t as CapabilityBundleResult, u as ListGrantsInput } from "./consumer-
|
|
1
|
+
import { a as IntegrationHubAuth, c as IntegrationHubRequestError, d as MintCapabilityBundleInput, f as ResolveManifestInput, i as CreateGrantsInput, l as IntegrationOwnerPolicy, n as CheckConnectorInput, o as IntegrationHubClient, p as createIntegrationHubClient, r as CheckConnectorResult, s as IntegrationHubClientOptions, t as CapabilityBundleResult, u as ListGrantsInput } from "./consumer-DBiE_-E7.js";
|
|
2
2
|
export { CapabilityBundleResult, CheckConnectorInput, CheckConnectorResult, CreateGrantsInput, IntegrationHubAuth, IntegrationHubClient, IntegrationHubClientOptions, IntegrationHubRequestError, IntegrationOwnerPolicy, ListGrantsInput, MintCapabilityBundleInput, ResolveManifestInput, createIntegrationHubClient };
|
|
@@ -449,7 +449,6 @@ function normalizeLinqWhatsappConversation(input) {
|
|
|
449
449
|
if (!Array.isArray(message.parts) || !message.parts.length || message.parts.length > 50) return invalid$4("Invalid message parts");
|
|
450
450
|
const text = [];
|
|
451
451
|
const attachments = [];
|
|
452
|
-
let historyOnly = false;
|
|
453
452
|
for (const part of message.parts) {
|
|
454
453
|
if (!object$2(part)) return invalid$4("Invalid message part");
|
|
455
454
|
if (part.type === "media") {
|
|
@@ -457,7 +456,6 @@ function normalizeLinqWhatsappConversation(input) {
|
|
|
457
456
|
if (!media) return invalid$4("Invalid media attachment");
|
|
458
457
|
attachments.push(media.attachment);
|
|
459
458
|
if (media.caption) text.push(media.caption);
|
|
460
|
-
if (!media.attachment.url) historyOnly = true;
|
|
461
459
|
} else if (part.type === "text" && typeof part.body === "string" && part.body.length <= 4096) text.push(part.body);
|
|
462
460
|
else return {
|
|
463
461
|
ok: false,
|
|
@@ -495,7 +493,7 @@ function normalizeLinqWhatsappConversation(input) {
|
|
|
495
493
|
occurredAt,
|
|
496
494
|
transport: "whatsapp",
|
|
497
495
|
isGroup: false,
|
|
498
|
-
historyOnly
|
|
496
|
+
historyOnly: false
|
|
499
497
|
}
|
|
500
498
|
};
|
|
501
499
|
}
|