@alfe.ai/integrations 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -28,10 +28,11 @@ interface RegistryEntry {
28
28
  } | string;
29
29
  /** Pricing details */
30
30
  pricing?: {
31
- type: "free" | "paid";
31
+ type: "free" | "paid" | "usage";
32
32
  price?: number;
33
33
  currency?: string;
34
34
  interval?: "month" | "year";
35
+ description?: string;
35
36
  };
36
37
  /** Feature list for marketplace display */
37
38
  features?: string[];
@@ -299,11 +300,13 @@ interface IntegrationPricingPlan {
299
300
  interval?: 'month' | 'year';
300
301
  }
301
302
  interface IntegrationPricing {
302
- type: 'free' | 'paid';
303
+ type: 'free' | 'paid' | 'usage';
303
304
  /** Single price (shorthand for integrations with one plan) */
304
305
  price?: number;
305
306
  currency?: string;
306
307
  interval?: 'month' | 'year';
308
+ /** Description of usage-based pricing (for type: 'usage') */
309
+ description?: string;
307
310
  /** Multiple plans/tiers (e.g., starter, growth, scale) */
308
311
  plans?: Record<string, IntegrationPricingPlan>;
309
312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/integrations",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Integration lifecycle management for Alfe — registry, resolution, installation, and state",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@auriclabs/logger": "^0.1.1",
16
- "@alfe.ai/integration-manifest": "^0.0.7"
16
+ "@alfe.ai/integration-manifest": "^0.0.8"
17
17
  },
18
18
  "files": [
19
19
  "dist"