@alfe.ai/integration-manifest 0.2.0 → 0.3.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/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ import { z } from "zod";
15
15
  * caught at runtime when the integrations service tries to resolve the
16
16
  * provider and gets nothing back.
17
17
  */
18
- declare const KNOWN_CONNECT_PROVIDER_IDS: readonly ["atlassian", "custom", "discord", "github", "google", "microsoft", "mobile", "myob", "notion", "slack", "xero"];
18
+ declare const KNOWN_CONNECT_PROVIDER_IDS: readonly ["atlassian", "custom", "discord", "github", "google", "microsoft", "mobile", "myob", "notion", "salesforce", "slack", "xero"];
19
19
  type KnownConnectProviderId = (typeof KNOWN_CONNECT_PROVIDER_IDS)[number];
20
20
  /**
21
21
  * `custom` is a special provider id: it doesn't correspond to a fixed
@@ -293,6 +293,7 @@ declare const IntegrationManifestSchema: z.ZodObject<{
293
293
  mobile: "mobile";
294
294
  myob: "myob";
295
295
  notion: "notion";
296
+ salesforce: "salesforce";
296
297
  slack: "slack";
297
298
  xero: "xero";
298
299
  }>>>;
@@ -590,6 +591,14 @@ interface IntegrationStateEntry {
590
591
  error?: string;
591
592
  /** Number of consecutive auto-reinstall attempts. Reset on success or explicit reinstall. */
592
593
  reinstallAttempts?: number;
594
+ /**
595
+ * For Custom Connection-driven installs: the backing custom
596
+ * Connection's id. Persisted at install time so `activate()` can
597
+ * scope credential resolution to that specific Connection
598
+ * (`{{credentials.custom.*}}` resolves against this connectionId).
599
+ * Absent for registry/channel/connection-driven integrations.
600
+ */
601
+ customConnectionId?: string;
593
602
  }
594
603
  interface IntegrationsStateFile {
595
604
  version: number;
package/dist/index.js CHANGED
@@ -32,6 +32,7 @@ const KNOWN_CONNECT_PROVIDER_IDS = [
32
32
  "mobile",
33
33
  "myob",
34
34
  "notion",
35
+ "salesforce",
35
36
  "slack",
36
37
  "xero"
37
38
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/integration-manifest",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Integration manifest schema, types, and parser for Alfe integration platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",