outbound-sdk 0.1.0 → 0.2.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 (145) hide show
  1. package/README.md +0 -2
  2. package/dist/alerts/index.js +5 -1
  3. package/dist/audit/index.js +2 -2
  4. package/dist/benchmarks/index.js +5 -3
  5. package/dist/budget/index.js +31 -10
  6. package/dist/cache/index.js +2 -2
  7. package/dist/cards/index.js +1 -1
  8. package/dist/chunks/{chunk-WAM6N4OF.js → chunk-4PSO6JEK.js} +107 -19
  9. package/dist/chunks/chunk-6CVZOUHB.js +152 -0
  10. package/dist/chunks/{chunk-OCV66TS2.js → chunk-AFU5E5QB.js} +17 -8
  11. package/dist/chunks/{chunk-R6AM4GJR.js → chunk-DJ2IUQEU.js} +24 -18
  12. package/dist/chunks/{chunk-LOXBLQ3I.js → chunk-E7JHLNLG.js} +9 -2
  13. package/dist/chunks/{chunk-LNCOGBMI.js → chunk-FHKSLCVW.js} +13 -3
  14. package/dist/chunks/chunk-FKH5N47I.js +40 -0
  15. package/dist/chunks/chunk-HZCTYL22.js +29 -0
  16. package/dist/chunks/{chunk-CMQ5ZHLZ.js → chunk-IPUYZD4O.js} +1 -1
  17. package/dist/chunks/{chunk-VURTOVGI.js → chunk-IVH3NMQZ.js} +1 -1
  18. package/dist/chunks/{chunk-ZGHQYZEH.js → chunk-LVYG7XZJ.js} +1 -1
  19. package/dist/chunks/chunk-NAKXLBA6.js +30 -0
  20. package/dist/chunks/{chunk-7BCYLIDG.js → chunk-PMSSUWD7.js} +186 -33
  21. package/dist/chunks/{chunk-Q465X22Y.js → chunk-PURHK3JU.js} +93 -209
  22. package/dist/chunks/{chunk-F7MKFVIG.js → chunk-R3Y56YVF.js} +2 -2
  23. package/dist/chunks/chunk-RCZ7ZZFU.js +92 -0
  24. package/dist/chunks/chunk-SBIZDCRY.js +106 -0
  25. package/dist/chunks/{chunk-IBC52BX3.js → chunk-U2D34ARZ.js} +20 -3
  26. package/dist/chunks/chunk-UAT3JSJZ.js +331 -0
  27. package/dist/chunks/{chunk-QZNNCXXD.js → chunk-VQSCHOBV.js} +20 -1
  28. package/dist/chunks/{chunk-B7V6EOAC.js → chunk-XNFESPZH.js} +160 -126
  29. package/dist/chunks/{chunk-WW746NJF.js → chunk-YOTW5ESM.js} +25 -1
  30. package/dist/cli/bin.js +14 -13
  31. package/dist/cli/commands.d.ts +3 -0
  32. package/dist/cli/config.d.ts +22 -0
  33. package/dist/cli/index.d.ts +5 -1
  34. package/dist/cli/index.js +20 -15
  35. package/dist/cli/stdio.d.ts +9 -0
  36. package/dist/clients/index.js +13 -3
  37. package/dist/combine/account.d.ts +1 -1
  38. package/dist/combine/index.js +90 -15
  39. package/dist/combine/route.d.ts +7 -0
  40. package/dist/exporter/index.js +2 -2
  41. package/dist/failover/index.js +4 -4
  42. package/dist/fixtures/index.js +40 -21
  43. package/dist/heyreach/account.d.ts +1 -1
  44. package/dist/heyreach/adapter.d.ts +1 -1
  45. package/dist/heyreach/capabilities.d.ts +2 -0
  46. package/dist/heyreach/client.d.ts +3 -5
  47. package/dist/heyreach/index.d.ts +7 -0
  48. package/dist/heyreach/index.js +428 -205
  49. package/dist/heyreach/leads.d.ts +4 -0
  50. package/dist/heyreach/map-account.d.ts +7 -1
  51. package/dist/heyreach/map-stats.d.ts +8 -5
  52. package/dist/heyreach/map.d.ts +3 -1
  53. package/dist/heyreach/webhooks.d.ts +1 -0
  54. package/dist/identity/index.js +22 -11
  55. package/dist/index.d.ts +1 -4
  56. package/dist/index.js +29 -17
  57. package/dist/insights/copy/index.d.ts +2 -2
  58. package/dist/insights/copy/variant-test.d.ts +2 -2
  59. package/dist/insights/index.js +248 -184
  60. package/dist/insights/ops/anomalies.d.ts +3 -3
  61. package/dist/insights/ops/index.d.ts +2 -2
  62. package/dist/insights/ops/shared.d.ts +7 -1
  63. package/dist/insights/registry.d.ts +4 -4
  64. package/dist/instantly/adapter-account.d.ts +1 -1
  65. package/dist/instantly/capabilities.d.ts +2 -0
  66. package/dist/instantly/client.d.ts +4 -9
  67. package/dist/instantly/index.d.ts +7 -0
  68. package/dist/instantly/index.js +410 -155
  69. package/dist/instantly/map-account.d.ts +20 -5
  70. package/dist/instantly/map-stats.d.ts +9 -6
  71. package/dist/instantly/map.d.ts +0 -2
  72. package/dist/instantly/native-agents-sales.d.ts +41 -41
  73. package/dist/instantly/native-agents.d.ts +44 -44
  74. package/dist/instantly/native-campaigns.d.ts +21 -21
  75. package/dist/instantly/native-leads.d.ts +12 -12
  76. package/dist/instantly/native-params.d.ts +2 -19
  77. package/dist/instantly/native-search.d.ts +10 -10
  78. package/dist/instantly/native-senders.d.ts +56 -56
  79. package/dist/instantly/native-supersearch.d.ts +33 -33
  80. package/dist/instantly/native-workspace.d.ts +45 -45
  81. package/dist/instantly/native.d.ts +262 -262
  82. package/dist/instantly/webhooks.d.ts +1 -0
  83. package/dist/internal/adapter.d.ts +24 -2
  84. package/dist/internal/capabilities.d.ts +18 -0
  85. package/dist/internal/client.d.ts +15 -0
  86. package/dist/internal/concurrency.d.ts +8 -0
  87. package/dist/internal/engine/request.d.ts +7 -0
  88. package/dist/internal/entities-account.d.ts +73 -3
  89. package/dist/internal/entities.d.ts +116 -12
  90. package/dist/internal/errors.d.ts +6 -1
  91. package/dist/internal/fields.d.ts +462 -0
  92. package/dist/internal/json.d.ts +9 -0
  93. package/dist/internal/lead-fields.d.ts +21 -0
  94. package/dist/internal/lead-status.d.ts +13 -0
  95. package/dist/internal/metrics.d.ts +14 -2
  96. package/dist/internal/native.d.ts +15 -0
  97. package/dist/internal/outbound/api.d.ts +29 -4
  98. package/dist/internal/outbound/operations-account.d.ts +12 -0
  99. package/dist/internal/outbound/outbound.d.ts +6 -3
  100. package/dist/internal/outbound/specs-account.d.ts +5 -1
  101. package/dist/internal/page.d.ts +14 -0
  102. package/dist/internal/record.d.ts +17 -0
  103. package/dist/internal/records.d.ts +7 -0
  104. package/dist/internal/sequence.d.ts +14 -0
  105. package/dist/internal/sha256.d.ts +2 -0
  106. package/dist/loader/index.d.ts +14 -2
  107. package/dist/loader/index.js +8 -4
  108. package/dist/memory/account-reads.d.ts +1 -1
  109. package/dist/memory/account.d.ts +15 -1
  110. package/dist/memory/data.d.ts +17 -2
  111. package/dist/memory/index.js +110 -35
  112. package/dist/redact/index.js +11 -6
  113. package/dist/redact/plugin.d.ts +1 -1
  114. package/dist/smartlead/account.d.ts +1 -1
  115. package/dist/smartlead/adapter.d.ts +1 -1
  116. package/dist/smartlead/capabilities.d.ts +2 -0
  117. package/dist/smartlead/client.d.ts +6 -11
  118. package/dist/smartlead/hmac.d.ts +0 -2
  119. package/dist/smartlead/index.d.ts +7 -0
  120. package/dist/smartlead/index.js +731 -572
  121. package/dist/smartlead/leads.d.ts +4 -1
  122. package/dist/smartlead/map-account.d.ts +17 -5
  123. package/dist/smartlead/map-stats.d.ts +9 -10
  124. package/dist/smartlead/map.d.ts +15 -5
  125. package/dist/smartlead/native-analytics.d.ts +87 -87
  126. package/dist/smartlead/native-campaigns.d.ts +64 -64
  127. package/dist/smartlead/native-inbox.d.ts +51 -51
  128. package/dist/smartlead/native-params.d.ts +2 -23
  129. package/dist/smartlead/native-services.d.ts +34 -34
  130. package/dist/smartlead/native.d.ts +236 -236
  131. package/dist/smartlead/shared.d.ts +6 -5
  132. package/dist/smartlead/webhooks.d.ts +1 -0
  133. package/dist/sync/index.js +3 -3
  134. package/dist/tools/ai-sdk.js +7 -5
  135. package/dist/tools/campaign-tools.d.ts +1 -1
  136. package/dist/tools/claude-agent.js +7 -5
  137. package/dist/tools/index.js +8 -6
  138. package/dist/tracing/index.js +2 -2
  139. package/dist/webhooks/index.js +10 -9
  140. package/package.json +1 -1
  141. package/dist/chunks/chunk-FZF6CLPX.js +0 -232
  142. package/dist/chunks/chunk-GPEJG34O.js +0 -53
  143. package/dist/chunks/chunk-HEC7XFFH.js +0 -65
  144. package/dist/chunks/chunk-QTB747K4.js +0 -100
  145. package/dist/chunks/chunk-TIJKJJDW.js +0 -6
@@ -1,8 +1,14 @@
1
- import type { BlockEntry, CampaignSettings, LeadList, SenderHealth, Tag, WebhookSubscription } from "../internal/entities-account.ts";
1
+ import type { BlockEntry, CampaignProgress, CampaignSettings, LeadList, PlacementTest, SenderHealth, Tag, WebhookSubscription } from "../internal/entities-account.ts";
2
2
  import type { Json, JsonObject } from "../internal/json.ts";
3
3
  import type { Identity } from "../internal/record.ts";
4
4
  /** The settings are fields of the campaign object itself. */
5
5
  export declare const toCampaignSettings: (identity: Identity, raw: JsonObject) => CampaignSettings;
6
+ /**
7
+ * One campaign's row of `GET /campaigns/analytics`: `leads_count` is every
8
+ * lead and `completed_count` the leads the campaign was completed for. The
9
+ * report does not split the rest.
10
+ */
11
+ export declare const toCampaignProgress: (identity: Identity, campaignId: string, raw: JsonObject) => CampaignProgress;
6
12
  /** The three responses a mailbox's health is read from. */
7
13
  export interface HealthParts {
8
14
  /** `GET /accounts/{email}`. */
@@ -13,11 +19,20 @@ export interface HealthParts {
13
19
  readonly warmup: Json;
14
20
  }
15
21
  export declare const toSenderHealth: (identity: Identity, id: string, parts: HealthParts) => SenderHealth;
16
- /** `GET /lead-lists`. The list object carries no count of its leads. */
17
- export declare const toLeadList: (identity: Identity, raw: JsonObject) => LeadList;
18
- /** `GET /block-lists-entries`: an address or a whole domain. */
19
- export declare const toBlockEntry: (identity: Identity, raw: JsonObject) => BlockEntry;
22
+ /**
23
+ * `GET /lead-lists`. The list object carries no count of its leads, so `size`
24
+ * is the `total_leads` of the list's verification statistics when the read
25
+ * fetched them, and `null` on a listing.
26
+ */
27
+ export declare const toLeadList: (identity: Identity, raw: JsonObject, size?: number | null) => LeadList;
28
+ /**
29
+ * `GET /block-lists-entries`: an address or a whole domain. An entry with no
30
+ * value blocks nothing that can be named, so it is skipped.
31
+ */
32
+ export declare const toBlockEntry: (identity: Identity, raw: JsonObject) => BlockEntry[];
20
33
  /** `GET /custom-tags`: a tag for mailboxes and campaigns. */
21
34
  export declare const toTag: (identity: Identity, raw: JsonObject) => Tag;
35
+ /** `GET /inbox-placement-tests`. Instantly gives a test no start or end date. */
36
+ export declare const toPlacementTest: (identity: Identity, raw: JsonObject) => PlacementTest;
22
37
  /** `GET /webhooks`: one webhook listens for one event type, or `all_events`. */
23
38
  export declare const toWebhook: (identity: Identity, raw: JsonObject) => WebhookSubscription;
@@ -1,12 +1,15 @@
1
- import type { MetricRow, MetricScope } from "../internal/entities.ts";
1
+ import type { MetricRow } from "../internal/entities.ts";
2
2
  import type { JsonObject } from "../internal/json.ts";
3
- import type { Identity } from "../internal/record.ts";
4
- export interface RowScope extends Identity {
5
- readonly scope: MetricScope;
6
- readonly scopeId: string;
7
- }
3
+ import type { RowScope } from "../internal/metrics.ts";
4
+ export type { RowScope } from "../internal/metrics.ts";
8
5
  /** `GET /campaigns/analytics/overview`: totals, including interested leads. */
9
6
  export declare const overviewRow: (scope: RowScope, raw: JsonObject) => MetricRow;
7
+ /**
8
+ * One campaign's row of `GET /campaigns/analytics`. Here `open_count` is the
9
+ * leads who opened, not every open, so no total of opens is read, and the
10
+ * report has no count of interested leads.
11
+ */
12
+ export declare const campaignRow: (scope: RowScope, raw: JsonObject) => MetricRow;
10
13
  /** `GET /campaigns/analytics/daily` and `GET /accounts/analytics/daily`. */
11
14
  export declare const dailyRow: (scope: RowScope, raw: JsonObject) => MetricRow;
12
15
  /**
@@ -7,8 +7,6 @@ import type { Identity } from "../internal/record.ts";
7
7
  */
8
8
  export declare const campaignStatusCode: (status: CampaignStatus) => number | undefined;
9
9
  export declare const toCampaign: (identity: Identity, raw: JsonObject, tags?: readonly string[]) => Campaign;
10
- /** Variants are positional: Instantly gives them no ids. 0 is "A". */
11
- export declare const variantKey: (index: number) => string;
12
10
  /** A campaign's steps live inside the campaign object; there is no sequence endpoint. */
13
11
  export declare const toSequence: (identity: Identity, raw: JsonObject) => Sequence;
14
12
  /** `GET /subsequences`: a follow-up path a lead enters when its conditions are met. */
@@ -4,9 +4,9 @@ export declare const SALES_AGENT_READS: {
4
4
  readonly docs: string;
5
5
  readonly method: "GET";
6
6
  readonly params: {
7
- readonly id: import("./native-params.ts").Placed<"path", "string">;
8
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
9
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
7
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
8
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
9
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
10
10
  };
11
11
  readonly path: "/ai-agents/lead-finder/{id}/activities";
12
12
  };
@@ -15,7 +15,7 @@ export declare const SALES_AGENT_READS: {
15
15
  readonly docs: string;
16
16
  readonly method: "GET";
17
17
  readonly params: {
18
- readonly id: import("./native-params.ts").Placed<"path", "string">;
18
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
19
19
  };
20
20
  readonly path: "/ai-agents/lead-finder/{id}";
21
21
  };
@@ -24,9 +24,9 @@ export declare const SALES_AGENT_READS: {
24
24
  readonly docs: string;
25
25
  readonly method: "GET";
26
26
  readonly params: {
27
- readonly campaign_id: import("./native-params.ts").Placed<"query", "string">;
28
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
29
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
27
+ readonly campaign_id: import("../internal/native.ts").PlacedParam<"query", "string">;
28
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
29
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
30
30
  };
31
31
  readonly path: "/ai-agents/lead-finder";
32
32
  };
@@ -35,8 +35,8 @@ export declare const SALES_AGENT_READS: {
35
35
  readonly docs: string;
36
36
  readonly method: "POST";
37
37
  readonly params: {
38
- readonly campaign_id: import("./native-params.ts").Needed<"body", "string">;
39
- readonly count: import("./native-params.ts").Placed<"body", "number">;
38
+ readonly campaign_id: import("../internal/native.ts").NeededParam<"body", "string">;
39
+ readonly count: import("../internal/native.ts").PlacedParam<"body", "number">;
40
40
  };
41
41
  readonly path: "/ai-agents/lead-finder/suggest-audience";
42
42
  };
@@ -45,7 +45,7 @@ export declare const SALES_AGENT_READS: {
45
45
  readonly docs: string;
46
46
  readonly method: "GET";
47
47
  readonly params: {
48
- readonly id: import("./native-params.ts").Placed<"path", "string">;
48
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
49
49
  };
50
50
  readonly path: "/ai-agents/lead-finder/{id}/stats";
51
51
  };
@@ -60,7 +60,7 @@ export declare const SALES_AGENT_READS: {
60
60
  readonly docs: string;
61
61
  readonly method: "GET";
62
62
  readonly params: {
63
- readonly id: import("./native-params.ts").Placed<"path", "string">;
63
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
64
64
  };
65
65
  readonly path: "/ai-agents/sales/{id}";
66
66
  };
@@ -69,13 +69,13 @@ export declare const SALES_AGENT_READS: {
69
69
  readonly docs: string;
70
70
  readonly method: "GET";
71
71
  readonly params: {
72
- readonly action_status: import("./native-params.ts").Placed<"query", "list">;
73
- readonly action_type: import("./native-params.ts").Placed<"query", "list">;
74
- readonly exclude_live_feed_hidden: import("./native-params.ts").Placed<"query", "boolean">;
75
- readonly id: import("./native-params.ts").Placed<"path", "string">;
76
- readonly lead_email: import("./native-params.ts").Placed<"query", "string">;
77
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
78
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
72
+ readonly action_status: import("../internal/native.ts").PlacedParam<"query", "list">;
73
+ readonly action_type: import("../internal/native.ts").PlacedParam<"query", "list">;
74
+ readonly exclude_live_feed_hidden: import("../internal/native.ts").PlacedParam<"query", "boolean">;
75
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
76
+ readonly lead_email: import("../internal/native.ts").PlacedParam<"query", "string">;
77
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
78
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
79
79
  };
80
80
  readonly path: "/ai-agents/sales/{id}/activities";
81
81
  };
@@ -84,9 +84,9 @@ export declare const SALES_AGENT_READS: {
84
84
  readonly docs: string;
85
85
  readonly method: "GET";
86
86
  readonly params: {
87
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
88
- readonly id: import("./native-params.ts").Placed<"path", "string">;
89
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
87
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
88
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
89
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
90
90
  };
91
91
  readonly path: "/ai-agents/sales/{id}/analytics";
92
92
  };
@@ -95,7 +95,7 @@ export declare const SALES_AGENT_READS: {
95
95
  readonly docs: string;
96
96
  readonly method: "GET";
97
97
  readonly params: {
98
- readonly id: import("./native-params.ts").Placed<"path", "string">;
98
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
99
99
  };
100
100
  readonly path: "/ai-agents/sales/{id}/guidance-rules";
101
101
  };
@@ -104,12 +104,12 @@ export declare const SALES_AGENT_READS: {
104
104
  readonly docs: string;
105
105
  readonly method: "GET";
106
106
  readonly params: {
107
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
108
- readonly filter: import("./native-params.ts").Placed<"query", "string">;
109
- readonly id: import("./native-params.ts").Placed<"path", "string">;
110
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
111
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
112
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
107
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
108
+ readonly filter: import("../internal/native.ts").PlacedParam<"query", "string">;
109
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
110
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
111
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
112
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
113
113
  };
114
114
  readonly path: "/ai-agents/sales/{id}/leads/activity";
115
115
  };
@@ -118,9 +118,9 @@ export declare const SALES_AGENT_READS: {
118
118
  readonly docs: string;
119
119
  readonly method: "GET";
120
120
  readonly params: {
121
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
122
- readonly id: import("./native-params.ts").Placed<"path", "string">;
123
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
121
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
122
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
123
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
124
124
  };
125
125
  readonly path: "/ai-agents/sales/{id}/leads/activity/summary";
126
126
  };
@@ -129,8 +129,8 @@ export declare const SALES_AGENT_READS: {
129
129
  readonly docs: string;
130
130
  readonly method: "GET";
131
131
  readonly params: {
132
- readonly id: import("./native-params.ts").Placed<"path", "string">;
133
- readonly lead_id: import("./native-params.ts").Placed<"path", "string">;
132
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
133
+ readonly lead_id: import("../internal/native.ts").PlacedParam<"path", "string">;
134
134
  };
135
135
  readonly path: "/ai-agents/sales/{id}/leads/{lead_id}/research";
136
136
  };
@@ -139,9 +139,9 @@ export declare const SALES_AGENT_READS: {
139
139
  readonly docs: string;
140
140
  readonly method: "GET";
141
141
  readonly params: {
142
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
143
- readonly id: import("./native-params.ts").Placed<"path", "string">;
144
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
142
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
143
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
144
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
145
145
  };
146
146
  readonly path: "/ai-agents/sales/{id}/opportunities/summary";
147
147
  };
@@ -150,11 +150,11 @@ export declare const SALES_AGENT_READS: {
150
150
  readonly docs: string;
151
151
  readonly method: "GET";
152
152
  readonly params: {
153
- readonly agent_type: import("./native-params.ts").Placed<"query", "number">;
154
- readonly search: import("./native-params.ts").Placed<"query", "string">;
155
- readonly status: import("./native-params.ts").Placed<"query", "number">;
156
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
157
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
153
+ readonly agent_type: import("../internal/native.ts").PlacedParam<"query", "number">;
154
+ readonly search: import("../internal/native.ts").PlacedParam<"query", "string">;
155
+ readonly status: import("../internal/native.ts").PlacedParam<"query", "number">;
156
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
157
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
158
158
  };
159
159
  readonly path: "/ai-agents/sales";
160
160
  };
@@ -10,7 +10,7 @@ export declare const AGENT_READS: {
10
10
  readonly docs: string;
11
11
  readonly method: "GET";
12
12
  readonly params: {
13
- readonly id: import("./native-params.ts").Placed<"path", "string">;
13
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
14
14
  };
15
15
  readonly path: "/ai-agents/deliverability/{id}";
16
16
  };
@@ -19,10 +19,10 @@ export declare const AGENT_READS: {
19
19
  readonly docs: string;
20
20
  readonly method: "GET";
21
21
  readonly params: {
22
- readonly feed_filter: import("./native-params.ts").Placed<"query", "string">;
23
- readonly id: import("./native-params.ts").Placed<"path", "string">;
24
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
25
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
22
+ readonly feed_filter: import("../internal/native.ts").PlacedParam<"query", "string">;
23
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
24
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
25
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
26
26
  };
27
27
  readonly path: "/ai-agents/deliverability/{id}/feed-items";
28
28
  };
@@ -31,9 +31,9 @@ export declare const AGENT_READS: {
31
31
  readonly docs: string;
32
32
  readonly method: "GET";
33
33
  readonly params: {
34
- readonly feed_filter: import("./native-params.ts").Placed<"query", "string">;
35
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
36
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
34
+ readonly feed_filter: import("../internal/native.ts").PlacedParam<"query", "string">;
35
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
36
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
37
37
  };
38
38
  readonly path: "/ai-agents/deliverability/state";
39
39
  };
@@ -42,10 +42,10 @@ export declare const AGENT_READS: {
42
42
  readonly docs: string;
43
43
  readonly method: "GET";
44
44
  readonly params: {
45
- readonly feed_filter: import("./native-params.ts").Placed<"query", "string">;
46
- readonly id: import("./native-params.ts").Placed<"path", "string">;
47
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
48
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
45
+ readonly feed_filter: import("../internal/native.ts").PlacedParam<"query", "string">;
46
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
47
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
48
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
49
49
  };
50
50
  readonly path: "/ai-agents/deliverability/{id}/state";
51
51
  };
@@ -54,8 +54,8 @@ export declare const AGENT_READS: {
54
54
  readonly docs: string;
55
55
  readonly method: "GET";
56
56
  readonly params: {
57
- readonly id: import("./native-params.ts").Placed<"path", "string">;
58
- readonly with_metadata: import("./native-params.ts").Placed<"query", "boolean">;
57
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
58
+ readonly with_metadata: import("../internal/native.ts").PlacedParam<"query", "boolean">;
59
59
  };
60
60
  readonly path: "/ai-agents/inbox-manager/{id}";
61
61
  };
@@ -64,12 +64,12 @@ export declare const AGENT_READS: {
64
64
  readonly docs: string;
65
65
  readonly method: "GET";
66
66
  readonly params: {
67
- readonly action_pending: import("./native-params.ts").Placed<"query", "boolean">;
68
- readonly activity_type: import("./native-params.ts").Placed<"query", "string">;
69
- readonly id: import("./native-params.ts").Placed<"path", "string">;
70
- readonly job_type: import("./native-params.ts").Placed<"query", "number">;
71
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
72
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
67
+ readonly action_pending: import("../internal/native.ts").PlacedParam<"query", "boolean">;
68
+ readonly activity_type: import("../internal/native.ts").PlacedParam<"query", "string">;
69
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
70
+ readonly job_type: import("../internal/native.ts").PlacedParam<"query", "number">;
71
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
72
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
73
73
  };
74
74
  readonly path: "/ai-agents/inbox-manager/{id}/analytics/activity";
75
75
  };
@@ -78,8 +78,8 @@ export declare const AGENT_READS: {
78
78
  readonly docs: string;
79
79
  readonly method: "GET";
80
80
  readonly params: {
81
- readonly guidance_id: import("./native-params.ts").Placed<"path", "string">;
82
- readonly id: import("./native-params.ts").Placed<"path", "string">;
81
+ readonly guidance_id: import("../internal/native.ts").PlacedParam<"path", "string">;
82
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
83
83
  };
84
84
  readonly path: "/ai-agents/inbox-manager/{id}/guidances/{guidance_id}";
85
85
  };
@@ -88,10 +88,10 @@ export declare const AGENT_READS: {
88
88
  readonly docs: string;
89
89
  readonly method: "GET";
90
90
  readonly params: {
91
- readonly id: import("./native-params.ts").Placed<"path", "string">;
92
- readonly status: import("./native-params.ts").Placed<"query", "number">;
93
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
94
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
91
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
92
+ readonly status: import("../internal/native.ts").PlacedParam<"query", "number">;
93
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
94
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
95
95
  };
96
96
  readonly path: "/ai-agents/inbox-manager/{id}/guidances";
97
97
  };
@@ -100,12 +100,12 @@ export declare const AGENT_READS: {
100
100
  readonly docs: string;
101
101
  readonly method: "GET";
102
102
  readonly params: {
103
- readonly action_pending: import("./native-params.ts").Placed<"query", "boolean">;
104
- readonly id: import("./native-params.ts").Placed<"path", "string">;
105
- readonly information_requested: import("./native-params.ts").Placed<"query", "boolean">;
106
- readonly requires_hitl: import("./native-params.ts").Placed<"query", "boolean">;
107
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
108
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
103
+ readonly action_pending: import("../internal/native.ts").PlacedParam<"query", "boolean">;
104
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
105
+ readonly information_requested: import("../internal/native.ts").PlacedParam<"query", "boolean">;
106
+ readonly requires_hitl: import("../internal/native.ts").PlacedParam<"query", "boolean">;
107
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
108
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
109
109
  };
110
110
  readonly path: "/ai-agents/inbox-manager/{id}/replies";
111
111
  };
@@ -114,8 +114,8 @@ export declare const AGENT_READS: {
114
114
  readonly docs: string;
115
115
  readonly method: "GET";
116
116
  readonly params: {
117
- readonly id: import("./native-params.ts").Placed<"path", "string">;
118
- readonly reply_id: import("./native-params.ts").Placed<"path", "string">;
117
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
118
+ readonly reply_id: import("../internal/native.ts").PlacedParam<"path", "string">;
119
119
  };
120
120
  readonly path: "/ai-agents/inbox-manager/{id}/replies/{reply_id}";
121
121
  };
@@ -124,9 +124,9 @@ export declare const AGENT_READS: {
124
124
  readonly docs: string;
125
125
  readonly method: "GET";
126
126
  readonly params: {
127
- readonly from: import("./native-params.ts").Placed<"query", "string">;
128
- readonly id: import("./native-params.ts").Placed<"path", "string">;
129
- readonly to: import("./native-params.ts").Placed<"query", "string">;
127
+ readonly from: import("../internal/native.ts").PlacedParam<"query", "string">;
128
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
129
+ readonly to: import("../internal/native.ts").PlacedParam<"query", "string">;
130
130
  };
131
131
  readonly path: "/ai-agents/inbox-manager/{id}/analytics/summary";
132
132
  };
@@ -135,9 +135,9 @@ export declare const AGENT_READS: {
135
135
  readonly docs: string;
136
136
  readonly method: "GET";
137
137
  readonly params: {
138
- readonly from: import("./native-params.ts").Placed<"query", "string">;
139
- readonly id: import("./native-params.ts").Placed<"path", "string">;
140
- readonly to: import("./native-params.ts").Placed<"query", "string">;
138
+ readonly from: import("../internal/native.ts").PlacedParam<"query", "string">;
139
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
140
+ readonly to: import("../internal/native.ts").PlacedParam<"query", "string">;
141
141
  };
142
142
  readonly path: "/ai-agents/inbox-manager/{id}/analytics/summary-by-date";
143
143
  };
@@ -146,10 +146,10 @@ export declare const AGENT_READS: {
146
146
  readonly docs: string;
147
147
  readonly method: "GET";
148
148
  readonly params: {
149
- readonly search: import("./native-params.ts").Placed<"query", "string">;
150
- readonly status: import("./native-params.ts").Placed<"query", "number">;
151
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
152
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
149
+ readonly search: import("../internal/native.ts").PlacedParam<"query", "string">;
150
+ readonly status: import("../internal/native.ts").PlacedParam<"query", "number">;
151
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
152
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
153
153
  };
154
154
  readonly path: "/ai-agents/inbox-manager";
155
155
  };
@@ -4,11 +4,11 @@ export declare const CAMPAIGN_READS: {
4
4
  readonly docs: string;
5
5
  readonly method: "GET";
6
6
  readonly params: {
7
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
8
- readonly exclude_total_leads_count: import("./native-params.ts").Placed<"query", "boolean">;
9
- readonly id: import("./native-params.ts").Placed<"query", "string">;
10
- readonly ids: import("./native-params.ts").Placed<"query", "list">;
11
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
7
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
8
+ readonly exclude_total_leads_count: import("../internal/native.ts").PlacedParam<"query", "boolean">;
9
+ readonly id: import("../internal/native.ts").PlacedParam<"query", "string">;
10
+ readonly ids: import("../internal/native.ts").PlacedParam<"query", "list">;
11
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
12
12
  };
13
13
  readonly path: "/campaigns/analytics";
14
14
  };
@@ -17,7 +17,7 @@ export declare const CAMPAIGN_READS: {
17
17
  readonly docs: string;
18
18
  readonly method: "POST";
19
19
  readonly params: {
20
- readonly id: import("./native-params.ts").Placed<"path", "string">;
20
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
21
21
  };
22
22
  readonly path: "/campaigns/{id}/export";
23
23
  };
@@ -26,8 +26,8 @@ export declare const CAMPAIGN_READS: {
26
26
  readonly docs: string;
27
27
  readonly method: "GET";
28
28
  readonly params: {
29
- readonly id: import("./native-params.ts").Placed<"path", "string">;
30
- readonly with_ai_summary: import("./native-params.ts").Placed<"query", "boolean">;
29
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
30
+ readonly with_ai_summary: import("../internal/native.ts").PlacedParam<"query", "boolean">;
31
31
  };
32
32
  readonly path: "/campaigns/{id}/sending-status";
33
33
  };
@@ -36,9 +36,9 @@ export declare const CAMPAIGN_READS: {
36
36
  readonly docs: string;
37
37
  readonly method: "GET";
38
38
  readonly params: {
39
- readonly search: import("./native-params.ts").Placed<"query", "string">;
40
- readonly sort_column: import("./native-params.ts").Placed<"query", "string">;
41
- readonly sort_order: import("./native-params.ts").Placed<"query", "string">;
39
+ readonly search: import("../internal/native.ts").PlacedParam<"query", "string">;
40
+ readonly sort_column: import("../internal/native.ts").PlacedParam<"query", "string">;
41
+ readonly sort_order: import("../internal/native.ts").PlacedParam<"query", "string">;
42
42
  };
43
43
  readonly path: "/campaigns/search-by-contact";
44
44
  };
@@ -53,9 +53,9 @@ export declare const CAMPAIGN_READS: {
53
53
  readonly docs: string;
54
54
  readonly method: "GET";
55
55
  readonly params: {
56
- readonly email: import("./native-params.ts").Placed<"path", "string">;
57
- readonly limit: import("./native-params.ts").Placed<"query", "number">;
58
- readonly starting_after: import("./native-params.ts").Placed<"query", "string">;
56
+ readonly email: import("../internal/native.ts").PlacedParam<"path", "string">;
57
+ readonly limit: import("../internal/native.ts").PlacedParam<"query", "number">;
58
+ readonly starting_after: import("../internal/native.ts").PlacedParam<"query", "string">;
59
59
  };
60
60
  readonly path: "/account-campaign-mappings/{email}";
61
61
  };
@@ -64,7 +64,7 @@ export declare const CAMPAIGN_READS: {
64
64
  readonly docs: string;
65
65
  readonly method: "GET";
66
66
  readonly params: {
67
- readonly id: import("./native-params.ts").Placed<"path", "string">;
67
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
68
68
  };
69
69
  readonly path: "/subsequences/{id}";
70
70
  };
@@ -73,7 +73,7 @@ export declare const CAMPAIGN_READS: {
73
73
  readonly docs: string;
74
74
  readonly method: "GET";
75
75
  readonly params: {
76
- readonly campaign_id: import("./native-params.ts").Needed<"query", "string">;
76
+ readonly campaign_id: import("../internal/native.ts").NeededParam<"query", "string">;
77
77
  };
78
78
  readonly path: "/subsequences/analytics";
79
79
  };
@@ -82,8 +82,8 @@ export declare const CAMPAIGN_READS: {
82
82
  readonly docs: string;
83
83
  readonly method: "GET";
84
84
  readonly params: {
85
- readonly id: import("./native-params.ts").Placed<"path", "string">;
86
- readonly with_ai_summary: import("./native-params.ts").Placed<"query", "boolean">;
85
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
86
+ readonly with_ai_summary: import("../internal/native.ts").PlacedParam<"query", "boolean">;
87
87
  };
88
88
  readonly path: "/subsequences/{id}/sending-status";
89
89
  };
@@ -92,9 +92,9 @@ export declare const CAMPAIGN_READS: {
92
92
  readonly docs: string;
93
93
  readonly method: "GET";
94
94
  readonly params: {
95
- readonly end_date: import("./native-params.ts").Placed<"query", "string">;
96
- readonly id: import("./native-params.ts").Placed<"path", "string">;
97
- readonly start_date: import("./native-params.ts").Placed<"query", "string">;
95
+ readonly end_date: import("../internal/native.ts").PlacedParam<"query", "string">;
96
+ readonly id: import("../internal/native.ts").PlacedParam<"path", "string">;
97
+ readonly start_date: import("../internal/native.ts").PlacedParam<"query", "string">;
98
98
  };
99
99
  readonly path: "/subsequences/{id}/analytics/steps";
100
100
  };