outbound-sdk 0.5.0 → 0.6.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.
Files changed (42) hide show
  1. package/dist/cards/format.d.ts +1 -1
  2. package/dist/cards/index.js +47 -18
  3. package/dist/cards/parts.d.ts +1 -6
  4. package/dist/chunks/{chunk-X4RDBD4J.js → chunk-3JOC5DGD.js} +26 -7
  5. package/dist/chunks/chunk-53DCVFUB.js +55 -0
  6. package/dist/chunks/{chunk-3S32R2MH.js → chunk-MGR6HREO.js} +0 -51
  7. package/dist/chunks/{chunk-EHSJGQ5K.js → chunk-PHNQ3WC2.js} +1 -1
  8. package/dist/chunks/{chunk-6TKFISG4.js → chunk-SXGCKCAR.js} +4 -2
  9. package/dist/chunks/{chunk-WGW3ROLY.js → chunk-TFICTGM2.js} +1 -1
  10. package/dist/chunks/{chunk-BN6WCAWX.js → chunk-W22SDX6S.js} +1 -1
  11. package/dist/cli/bin.js +3 -3
  12. package/dist/cli/index.js +2 -2
  13. package/dist/cli/output.d.ts +9 -0
  14. package/dist/emailbison/index.js +3 -2
  15. package/dist/heyreach/index.js +4 -2
  16. package/dist/insights/copy/copy-preview.d.ts +58 -0
  17. package/dist/insights/copy/copy-reuse.d.ts +0 -13
  18. package/dist/insights/copy/index.d.ts +9 -0
  19. package/dist/insights/copy/reuse-base.d.ts +0 -2
  20. package/dist/insights/copy/shared.d.ts +3 -8
  21. package/dist/insights/copy/step-funnel.d.ts +1 -12
  22. package/dist/insights/copy/variant-test.d.ts +0 -5
  23. package/dist/insights/index.js +504 -413
  24. package/dist/insights/inputs.generated.d.ts +21 -24
  25. package/dist/insights/ops/campaign-diagnosis.d.ts +0 -2
  26. package/dist/insights/ops/client-report.d.ts +0 -2
  27. package/dist/insights/ops/index.d.ts +0 -4
  28. package/dist/insights/ops/shared.d.ts +0 -2
  29. package/dist/insights/registry.d.ts +8 -8
  30. package/dist/insights/senders/bounce-watch.d.ts +0 -11
  31. package/dist/insights/senders/domain-health.d.ts +0 -7
  32. package/dist/insights/senders/index.d.ts +0 -4
  33. package/dist/insights/senders/sender-load.d.ts +0 -2
  34. package/dist/insights/types.d.ts +1 -1
  35. package/dist/insights/variables.d.ts +33 -0
  36. package/dist/instantly/index.js +5 -3
  37. package/dist/loader/index.js +1 -1
  38. package/dist/smartlead/index.js +5 -3
  39. package/dist/webhooks/index.js +5 -4
  40. package/package.json +1 -1
  41. package/dist/internal/renamed.d.ts +0 -28
  42. /package/dist/chunks/{chunk-5J7GGV62.js → chunk-UWUPUMM2.js} +0 -0
@@ -1,5 +1,4 @@
1
- import type { Interval } from "../stats.ts";
2
- import type { BasedRate, RateBasis } from "./shared.ts";
1
+ import type { BasedRate } from "./shared.ts";
3
2
  export interface FunnelVariant {
4
3
  readonly variantKey: string;
5
4
  /** The hash of the variant's current copy. `null` when the sequence no longer has the variant. */
@@ -9,10 +8,6 @@ export interface FunnelVariant {
9
8
  readonly rates: {
10
9
  readonly replyRate: BasedRate;
11
10
  };
12
- /** @deprecated Use `rates.replyRate.rate`. Removed in 0.6.0. */
13
- readonly replyRate: number | null;
14
- /** @deprecated Use `rates.replyRate.low` and `.high`. Removed in 0.6.0. */
15
- readonly replyRateInterval: Interval | null;
16
11
  }
17
12
  export interface FunnelStep {
18
13
  /** Counted from 0. */
@@ -27,12 +22,6 @@ export interface FunnelStep {
27
22
  readonly rates: {
28
23
  readonly replyRate: BasedRate;
29
24
  };
30
- /** @deprecated Use `rates.replyRate.rate`. Removed in 0.6.0. */
31
- readonly replyRate: number | null;
32
- /** @deprecated Use `rates.replyRate.low` and `.high`. Removed in 0.6.0. */
33
- readonly replyRateInterval: Interval | null;
34
- /** @deprecated Use `rates.replyRate.basis`. Removed in 0.6.0. */
35
- readonly replyRateBasis: RateBasis | null;
36
25
  /** This step's replies divided by every reply in the campaign, unattributed ones included. */
37
26
  readonly shareOfReplies: number | null;
38
27
  /** Sends of the step before minus this step's sends. `null` for the first step or an unknown count. */
@@ -1,4 +1,3 @@
1
- import type { Interval } from "../stats.ts";
2
1
  import type { RateBasis } from "./shared.ts";
3
2
  declare const METRICS: readonly ["replied", "positive", "opened", "clicked"];
4
3
  type Metric = (typeof METRICS)[number];
@@ -16,10 +15,6 @@ export interface TestedVariant {
16
15
  /** The 95% Wilson interval of the rate. `null` when the rate is unknown. */
17
16
  readonly low: number | null;
18
17
  readonly high: number | null;
19
- /** @deprecated Use `of`. Removed in 0.6.0. */
20
- readonly trials: number | null;
21
- /** @deprecated Use `low` and `high`. Removed in 0.6.0. */
22
- readonly interval: Interval | null;
23
18
  /** `false` when the base is under `min_sent` or the rate is unknown; such a variant is not compared. */
24
19
  readonly enoughData: boolean;
25
20
  /** Two-sided p-value against the leader. `null` for the leader, a variant not compared, and two rates that are both 0 or both 1. */