stripe-experiment-sync 1.0.13 → 1.0.15

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/cli/index.js CHANGED
@@ -5,12 +5,12 @@ import {
5
5
  migrateCommand,
6
6
  syncCommand,
7
7
  uninstallCommand
8
- } from "../chunk-5SS5ZEQF.js";
9
- import "../chunk-2GSABFXH.js";
10
- import "../chunk-O2N4AEQS.js";
8
+ } from "../chunk-AODI5WO6.js";
9
+ import "../chunk-GOBVFXU7.js";
10
+ import "../chunk-XIFB5ALW.js";
11
11
  import {
12
12
  package_default
13
- } from "../chunk-RCU5ZXAX.js";
13
+ } from "../chunk-3KVILTN4.js";
14
14
 
15
15
  // src/cli/index.ts
16
16
  import { Command } from "commander";
@@ -21,11 +21,12 @@ program.command("migrate").description("Run database migrations only").option("-
21
21
  databaseUrl: options.databaseUrl
22
22
  });
23
23
  });
24
- program.command("start").description("Start Stripe sync").option("--stripe-key <key>", "Stripe API key (or STRIPE_API_KEY env)").option("--ngrok-token <token>", "ngrok auth token (or NGROK_AUTH_TOKEN env)").option("--database-url <url>", "Postgres DATABASE_URL (or DATABASE_URL env)").action(async (options) => {
24
+ program.command("start").description("Start Stripe sync").option("--stripe-key <key>", "Stripe API key (or STRIPE_API_KEY env)").option("--ngrok-token <token>", "ngrok auth token (or NGROK_AUTH_TOKEN env)").option("--database-url <url>", "Postgres DATABASE_URL (or DATABASE_URL env)").option("--sigma", "Sync Sigma data (requires Sigma access in Stripe API key)").action(async (options) => {
25
25
  await syncCommand({
26
26
  stripeKey: options.stripeKey,
27
27
  ngrokToken: options.ngrokToken,
28
- databaseUrl: options.databaseUrl
28
+ databaseUrl: options.databaseUrl,
29
+ enableSigma: options.sigma
29
30
  });
30
31
  });
31
32
  program.command("backfill <entityName>").description("Backfill a specific entity type from Stripe (e.g., customer, invoice, product)").option("--stripe-key <key>", "Stripe API key (or STRIPE_API_KEY env)").option("--database-url <url>", "Postgres DATABASE_URL (or DATABASE_URL env)").action(async (entityName, options) => {