outbound-sdk 0.1.0 → 0.2.1
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/README.md +0 -2
- package/dist/alerts/index.js +5 -1
- package/dist/audit/index.js +2 -2
- package/dist/benchmarks/index.js +5 -3
- package/dist/budget/index.js +31 -10
- package/dist/cache/index.js +2 -2
- package/dist/cards/index.js +1 -1
- package/dist/chunks/{chunk-WAM6N4OF.js → chunk-4PSO6JEK.js} +107 -19
- package/dist/chunks/chunk-6CVZOUHB.js +152 -0
- package/dist/chunks/{chunk-OCV66TS2.js → chunk-AFU5E5QB.js} +17 -8
- package/dist/chunks/{chunk-R6AM4GJR.js → chunk-DJ2IUQEU.js} +24 -18
- package/dist/chunks/{chunk-LOXBLQ3I.js → chunk-E7JHLNLG.js} +9 -2
- package/dist/chunks/{chunk-LNCOGBMI.js → chunk-FHKSLCVW.js} +13 -3
- package/dist/chunks/chunk-FKH5N47I.js +40 -0
- package/dist/chunks/chunk-HZCTYL22.js +29 -0
- package/dist/chunks/{chunk-CMQ5ZHLZ.js → chunk-IPUYZD4O.js} +1 -1
- package/dist/chunks/{chunk-VURTOVGI.js → chunk-IVH3NMQZ.js} +1 -1
- package/dist/chunks/{chunk-ZGHQYZEH.js → chunk-LVYG7XZJ.js} +1 -1
- package/dist/chunks/chunk-NAKXLBA6.js +30 -0
- package/dist/chunks/{chunk-7BCYLIDG.js → chunk-P3IJBJUI.js} +203 -34
- package/dist/chunks/{chunk-Q465X22Y.js → chunk-PURHK3JU.js} +93 -209
- package/dist/chunks/{chunk-F7MKFVIG.js → chunk-R3Y56YVF.js} +2 -2
- package/dist/chunks/chunk-RCZ7ZZFU.js +92 -0
- package/dist/chunks/chunk-SBIZDCRY.js +106 -0
- package/dist/chunks/{chunk-IBC52BX3.js → chunk-U2D34ARZ.js} +20 -3
- package/dist/chunks/chunk-UAT3JSJZ.js +331 -0
- package/dist/chunks/{chunk-QZNNCXXD.js → chunk-VQSCHOBV.js} +20 -1
- package/dist/chunks/{chunk-B7V6EOAC.js → chunk-XNFESPZH.js} +160 -126
- package/dist/chunks/{chunk-WW746NJF.js → chunk-YOTW5ESM.js} +25 -1
- package/dist/cli/bin.js +14 -13
- package/dist/cli/commands.d.ts +3 -0
- package/dist/cli/config.d.ts +22 -0
- package/dist/cli/index.d.ts +5 -1
- package/dist/cli/index.js +20 -15
- package/dist/cli/stdio.d.ts +9 -0
- package/dist/cli/version.d.ts +2 -0
- package/dist/clients/index.js +13 -3
- package/dist/combine/account.d.ts +1 -1
- package/dist/combine/index.js +90 -15
- package/dist/combine/route.d.ts +7 -0
- package/dist/exporter/index.js +2 -2
- package/dist/failover/index.js +4 -4
- package/dist/fixtures/index.js +40 -21
- package/dist/heyreach/account.d.ts +1 -1
- package/dist/heyreach/adapter.d.ts +1 -1
- package/dist/heyreach/capabilities.d.ts +2 -0
- package/dist/heyreach/client.d.ts +3 -5
- package/dist/heyreach/index.d.ts +7 -0
- package/dist/heyreach/index.js +428 -205
- package/dist/heyreach/leads.d.ts +4 -0
- package/dist/heyreach/map-account.d.ts +7 -1
- package/dist/heyreach/map-stats.d.ts +8 -5
- package/dist/heyreach/map.d.ts +3 -1
- package/dist/heyreach/webhooks.d.ts +1 -0
- package/dist/identity/index.js +22 -11
- package/dist/index.d.ts +1 -4
- package/dist/index.js +29 -17
- package/dist/insights/copy/index.d.ts +2 -2
- package/dist/insights/copy/variant-test.d.ts +2 -2
- package/dist/insights/index.js +248 -184
- package/dist/insights/ops/anomalies.d.ts +3 -3
- package/dist/insights/ops/index.d.ts +2 -2
- package/dist/insights/ops/shared.d.ts +7 -1
- package/dist/insights/registry.d.ts +4 -4
- package/dist/instantly/adapter-account.d.ts +1 -1
- package/dist/instantly/capabilities.d.ts +2 -0
- package/dist/instantly/client.d.ts +4 -9
- package/dist/instantly/index.d.ts +7 -0
- package/dist/instantly/index.js +410 -155
- package/dist/instantly/map-account.d.ts +20 -5
- package/dist/instantly/map-stats.d.ts +9 -6
- package/dist/instantly/map.d.ts +0 -2
- package/dist/instantly/native-agents-sales.d.ts +41 -41
- package/dist/instantly/native-agents.d.ts +44 -44
- package/dist/instantly/native-campaigns.d.ts +21 -21
- package/dist/instantly/native-leads.d.ts +12 -12
- package/dist/instantly/native-params.d.ts +2 -19
- package/dist/instantly/native-search.d.ts +10 -10
- package/dist/instantly/native-senders.d.ts +56 -56
- package/dist/instantly/native-supersearch.d.ts +33 -33
- package/dist/instantly/native-workspace.d.ts +45 -45
- package/dist/instantly/native.d.ts +262 -262
- package/dist/instantly/webhooks.d.ts +1 -0
- package/dist/internal/adapter.d.ts +24 -2
- package/dist/internal/capabilities.d.ts +18 -0
- package/dist/internal/client.d.ts +15 -0
- package/dist/internal/concurrency.d.ts +8 -0
- package/dist/internal/engine/request.d.ts +7 -0
- package/dist/internal/entities-account.d.ts +73 -3
- package/dist/internal/entities.d.ts +116 -12
- package/dist/internal/errors.d.ts +6 -1
- package/dist/internal/fields.d.ts +462 -0
- package/dist/internal/json.d.ts +9 -0
- package/dist/internal/lead-fields.d.ts +21 -0
- package/dist/internal/lead-status.d.ts +13 -0
- package/dist/internal/metrics.d.ts +14 -2
- package/dist/internal/native.d.ts +15 -0
- package/dist/internal/outbound/api.d.ts +29 -4
- package/dist/internal/outbound/operations-account.d.ts +12 -0
- package/dist/internal/outbound/outbound.d.ts +6 -3
- package/dist/internal/outbound/specs-account.d.ts +5 -1
- package/dist/internal/page.d.ts +14 -0
- package/dist/internal/record.d.ts +17 -0
- package/dist/internal/records.d.ts +7 -0
- package/dist/internal/sequence.d.ts +14 -0
- package/dist/internal/sha256.d.ts +2 -0
- package/dist/loader/index.d.ts +14 -2
- package/dist/loader/index.js +8 -4
- package/dist/memory/account-reads.d.ts +1 -1
- package/dist/memory/account.d.ts +15 -1
- package/dist/memory/data.d.ts +17 -2
- package/dist/memory/index.js +110 -35
- package/dist/redact/index.js +11 -6
- package/dist/redact/plugin.d.ts +1 -1
- package/dist/smartlead/account.d.ts +1 -1
- package/dist/smartlead/adapter.d.ts +1 -1
- package/dist/smartlead/capabilities.d.ts +2 -0
- package/dist/smartlead/client.d.ts +6 -11
- package/dist/smartlead/hmac.d.ts +0 -2
- package/dist/smartlead/index.d.ts +7 -0
- package/dist/smartlead/index.js +731 -572
- package/dist/smartlead/leads.d.ts +4 -1
- package/dist/smartlead/map-account.d.ts +17 -5
- package/dist/smartlead/map-stats.d.ts +9 -10
- package/dist/smartlead/map.d.ts +15 -5
- package/dist/smartlead/native-analytics.d.ts +87 -87
- package/dist/smartlead/native-campaigns.d.ts +64 -64
- package/dist/smartlead/native-inbox.d.ts +51 -51
- package/dist/smartlead/native-params.d.ts +2 -23
- package/dist/smartlead/native-services.d.ts +34 -34
- package/dist/smartlead/native.d.ts +236 -236
- package/dist/smartlead/shared.d.ts +6 -5
- package/dist/smartlead/webhooks.d.ts +1 -0
- package/dist/sync/index.js +3 -3
- package/dist/tools/ai-sdk.js +7 -5
- package/dist/tools/campaign-tools.d.ts +1 -1
- package/dist/tools/claude-agent.js +7 -5
- package/dist/tools/index.js +8 -6
- package/dist/tracing/index.js +2 -2
- package/dist/webhooks/index.js +10 -9
- package/package.json +1 -1
- package/dist/chunks/chunk-FZF6CLPX.js +0 -232
- package/dist/chunks/chunk-GPEJG34O.js +0 -53
- package/dist/chunks/chunk-HEC7XFFH.js +0 -65
- package/dist/chunks/chunk-QTB747K4.js +0 -100
- package/dist/chunks/chunk-TIJKJJDW.js +0 -6
|
@@ -2,5 +2,8 @@ import type { AdapterContext, LeadQuery, Page } from "../internal/adapter.ts";
|
|
|
2
2
|
import type { Lead } from "../internal/entities.ts";
|
|
3
3
|
import type { SmartleadClient } from "./client.ts";
|
|
4
4
|
export declare const listLeads: (client: SmartleadClient, ctx: AdapterContext, query: LeadQuery) => Promise<Page<Lead>>;
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* `GET /leads/{id}`, then the lead's tags from `GET /crm/leads/tags` and, for
|
|
7
|
+
* a lead with a category, the category list.
|
|
8
|
+
*/
|
|
6
9
|
export declare const getLead: (client: SmartleadClient, ctx: AdapterContext, id: string) => Promise<Lead>;
|
|
@@ -1,22 +1,34 @@
|
|
|
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
|
/** `GET /campaigns/{id}` -> how the campaign is set up to send. */
|
|
5
5
|
export declare const toSettings: (identity: Identity, campaignId: string, raw: JsonObject) => CampaignSettings;
|
|
6
|
+
/**
|
|
7
|
+
* `GET /campaigns/{id}/analytics`: `campaign_lead_stats` counts the
|
|
8
|
+
* campaign's leads by how far they got. `blocked` is Smartlead's own word
|
|
9
|
+
* for a lead stopped by a bounce or the block list.
|
|
10
|
+
*/
|
|
11
|
+
export declare const toCampaignProgress: (identity: Identity, campaignId: string, raw: JsonObject) => CampaignProgress;
|
|
6
12
|
/**
|
|
7
13
|
* `GET /email-accounts/{id}/` and `GET /email-accounts/{id}/warmup-stats`
|
|
8
14
|
* (the last seven days) -> a mailbox's health. Smartlead's API reports no DNS
|
|
9
15
|
* records and no block list check. `raw` has no SMTP or IMAP password.
|
|
10
16
|
*/
|
|
11
17
|
export declare const toHealth: (identity: Identity, account: JsonObject, stats: Json | undefined) => SenderHealth;
|
|
18
|
+
/**
|
|
19
|
+
* One item of SmartDelivery's `POST /spam-test/report`. The list gives a
|
|
20
|
+
* test's schedule and no creation time, next run or campaign.
|
|
21
|
+
*/
|
|
22
|
+
export declare const toPlacementTest: (identity: Identity, raw: JsonObject) => PlacementTest;
|
|
12
23
|
/** One item of `GET /lead-list/`. */
|
|
13
24
|
export declare const toList: (identity: Identity, raw: JsonObject) => LeadList;
|
|
14
25
|
/** One item of `GET /leads/get-domain-block-list`: an address or a domain. */
|
|
15
|
-
export declare const toBlockEntry: (identity: Identity, raw: JsonObject) => BlockEntry;
|
|
26
|
+
export declare const toBlockEntry: (identity: Identity, raw: JsonObject) => BlockEntry[];
|
|
16
27
|
/** One item of `GET /email-accounts/tags`. Smartlead tags have no description. */
|
|
17
28
|
export declare const toTag: (identity: Identity, raw: JsonObject) => Tag;
|
|
18
29
|
/**
|
|
19
|
-
* One item of `GET /campaigns/{id}/webhooks
|
|
20
|
-
* that was asked, used when the item does not
|
|
30
|
+
* One item of `GET /campaigns/{id}/webhooks`, or `GET /webhook/{id}`.
|
|
31
|
+
* `campaignId` is the campaign that was asked, used when the item does not
|
|
32
|
+
* name its own; a webhook read by its id has none to fall back on.
|
|
21
33
|
*/
|
|
22
|
-
export declare const toWebhook: (identity: Identity, campaignId: string, raw: JsonObject) => WebhookSubscription;
|
|
34
|
+
export declare const toWebhook: (identity: Identity, campaignId: string | null, raw: JsonObject) => WebhookSubscription;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { MetricRow
|
|
2
|
-
import type { JsonObject } from "../internal/json.ts";
|
|
3
|
-
import type {
|
|
4
|
-
export
|
|
5
|
-
readonly scope: MetricScope;
|
|
6
|
-
readonly scopeId: string;
|
|
7
|
-
}
|
|
1
|
+
import type { MetricRow } from "../internal/entities.ts";
|
|
2
|
+
import type { Json, JsonObject } from "../internal/json.ts";
|
|
3
|
+
import type { RowScope } from "../internal/metrics.ts";
|
|
4
|
+
export type { RowScope } from "../internal/metrics.ts";
|
|
8
5
|
/** The timezone every dated request asks for. */
|
|
9
6
|
export declare const TIMEZONE = "UTC";
|
|
10
7
|
/**
|
|
@@ -14,16 +11,18 @@ export declare const TIMEZONE = "UTC";
|
|
|
14
11
|
export declare const lifetimeRow: (scope: RowScope, raw: JsonObject) => MetricRow;
|
|
15
12
|
/**
|
|
16
13
|
* `GET /campaigns/{id}/analytics-by-date`: totals for a window. The window
|
|
17
|
-
* separates out-of-office replies, so `replied` leaves them out when it can
|
|
14
|
+
* separates out-of-office replies, so `replied` leaves them out when it can
|
|
15
|
+
* and `repliedAuto` counts them.
|
|
18
16
|
*/
|
|
19
17
|
export declare const windowRow: (scope: RowScope, raw: JsonObject) => MetricRow;
|
|
20
18
|
/** `GET /analytics/overall-stats-v2`: `data.overall_stats`. */
|
|
21
19
|
export declare const overallRow: (scope: RowScope, raw: JsonObject) => MetricRow;
|
|
22
20
|
/**
|
|
23
21
|
* `GET /analytics/day-wise-overall-stats`: one row per day. Its `bounced` is
|
|
24
|
-
* documented as always 0, so it is not read.
|
|
22
|
+
* documented as always 0, so it is not read. `positive` is that day's
|
|
23
|
+
* `positive_replied` from `GET /analytics/day-wise-positive-reply-stats`.
|
|
25
24
|
*/
|
|
26
|
-
export declare const dayRow: (scope: RowScope, raw: JsonObject) => MetricRow;
|
|
25
|
+
export declare const dayRow: (scope: RowScope, raw: JsonObject, positive?: Json | undefined) => MetricRow;
|
|
27
26
|
/**
|
|
28
27
|
* One mailbox's row of `GET /analytics/mailbox/name-wise-health-metrics`, or
|
|
29
28
|
* `undefined` when the response has none for it: every count is then `null`.
|
package/dist/smartlead/map.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Campaign, CampaignStatus, Lead, Sender, Sequence, Workspace } from "../internal/entities.ts";
|
|
1
|
+
import type { Campaign, CampaignStatus, Lead, ReplyCategory, Sender, Sequence, Workspace } from "../internal/entities.ts";
|
|
2
2
|
import type { Json, JsonObject } from "../internal/json.ts";
|
|
3
3
|
import type { Identity } from "../internal/record.ts";
|
|
4
4
|
/**
|
|
@@ -23,16 +23,25 @@ export declare const toSubsequence: (identity: Identity, parentId: string, campa
|
|
|
23
23
|
export declare const reputation: (value: Json | undefined) => number | null;
|
|
24
24
|
/** A mailbox. `raw` is the payload without its SMTP and IMAP passwords. */
|
|
25
25
|
export declare const toSender: (identity: Identity, raw: JsonObject) => Sender;
|
|
26
|
+
/**
|
|
27
|
+
* The account's lead categories, from `GET /leads/fetch-categories`: each
|
|
28
|
+
* id's name, and what it means for the ids whose sentiment says so.
|
|
29
|
+
*/
|
|
30
|
+
export interface LeadCategories {
|
|
31
|
+
readonly names: Readonly<Record<string, string>>;
|
|
32
|
+
readonly meanings: ReadonlyMap<string, ReplyCategory>;
|
|
33
|
+
}
|
|
34
|
+
export declare const NO_CATEGORIES: LeadCategories;
|
|
26
35
|
/**
|
|
27
36
|
* A row of `GET /campaigns/{id}/leads`: the lead inside one campaign. The
|
|
28
37
|
* status and the creation time belong to that campaign membership.
|
|
29
38
|
*/
|
|
30
|
-
export declare const toCampaignLead: (identity: Identity, campaignId: string, row: JsonObject, categories:
|
|
39
|
+
export declare const toCampaignLead: (identity: Identity, campaignId: string, row: JsonObject, categories: LeadCategories) => Lead;
|
|
31
40
|
interface FoundPlace {
|
|
32
41
|
readonly campaignId: string;
|
|
33
42
|
/** The campaign's item: of `lead_campaign_data`, or of the lead's campaigns. */
|
|
34
43
|
readonly entry: JsonObject;
|
|
35
|
-
readonly categories:
|
|
44
|
+
readonly categories: LeadCategories;
|
|
36
45
|
}
|
|
37
46
|
/**
|
|
38
47
|
* `GET /leads/?email=`: the lead inside one of its campaigns. `raw` has the
|
|
@@ -44,9 +53,10 @@ interface FoundPlace {
|
|
|
44
53
|
export declare const toFoundLead: (identity: Identity, found: JsonObject, place: FoundPlace) => Lead;
|
|
45
54
|
/**
|
|
46
55
|
* `GET /leads/{id}`: the lead on its own, with no campaign. `tags` are the
|
|
47
|
-
* names from `GET /crm/leads/tags?leadId
|
|
56
|
+
* names from `GET /crm/leads/tags?leadId=`, and `categories` says what the
|
|
57
|
+
* lead's `category_id` means.
|
|
48
58
|
*/
|
|
49
|
-
export declare const toLead: (identity: Identity, raw: JsonObject, tags: readonly string[]) => Lead;
|
|
59
|
+
export declare const toLead: (identity: Identity, raw: JsonObject, tags: readonly string[], categories?: LeadCategories) => Lead;
|
|
50
60
|
/** A Smartlead client (sub-account). */
|
|
51
61
|
export declare const toWorkspace: (identity: Identity, raw: JsonObject) => Workspace;
|
|
52
62
|
export {};
|
|
@@ -4,11 +4,11 @@ export declare const ANALYTICS: {
|
|
|
4
4
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/followup-reply-rate";
|
|
5
5
|
readonly method: "GET";
|
|
6
6
|
readonly params: {
|
|
7
|
-
readonly campaign_ids: import("
|
|
8
|
-
readonly client_ids: import("
|
|
9
|
-
readonly end_date: import("
|
|
10
|
-
readonly start_date: import("
|
|
11
|
-
readonly timezone: import("
|
|
7
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
8
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
9
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
10
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
11
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
12
12
|
};
|
|
13
13
|
readonly path: "/analytics/campaign/follow-up-reply-rate";
|
|
14
14
|
};
|
|
@@ -17,11 +17,11 @@ export declare const ANALYTICS: {
|
|
|
17
17
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/lead-to-reply-time";
|
|
18
18
|
readonly method: "GET";
|
|
19
19
|
readonly params: {
|
|
20
|
-
readonly campaign_ids: import("
|
|
21
|
-
readonly client_ids: import("
|
|
22
|
-
readonly end_date: import("
|
|
23
|
-
readonly start_date: import("
|
|
24
|
-
readonly timezone: import("
|
|
20
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
21
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
22
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
23
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
24
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
25
25
|
};
|
|
26
26
|
readonly path: "/analytics/campaign/lead-to-reply-time";
|
|
27
27
|
};
|
|
@@ -30,11 +30,11 @@ export declare const ANALYTICS: {
|
|
|
30
30
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/leads-for-first-reply";
|
|
31
31
|
readonly method: "GET";
|
|
32
32
|
readonly params: {
|
|
33
|
-
readonly campaign_ids: import("
|
|
34
|
-
readonly client_ids: import("
|
|
35
|
-
readonly end_date: import("
|
|
36
|
-
readonly start_date: import("
|
|
37
|
-
readonly timezone: import("
|
|
33
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
34
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
35
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
36
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
37
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
38
38
|
};
|
|
39
39
|
readonly path: "/analytics/campaign/leads-take-for-first-reply";
|
|
40
40
|
};
|
|
@@ -43,7 +43,7 @@ export declare const ANALYTICS: {
|
|
|
43
43
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/campaign-list";
|
|
44
44
|
readonly method: "GET";
|
|
45
45
|
readonly params: {
|
|
46
|
-
client_ids: import("
|
|
46
|
+
client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
47
47
|
};
|
|
48
48
|
readonly path: "/analytics/campaign/list";
|
|
49
49
|
};
|
|
@@ -52,14 +52,14 @@ export declare const ANALYTICS: {
|
|
|
52
52
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/campaign-performance";
|
|
53
53
|
readonly method: "GET";
|
|
54
54
|
readonly params: {
|
|
55
|
-
readonly full_data: import("
|
|
56
|
-
readonly limit: import("
|
|
57
|
-
readonly offset: import("
|
|
58
|
-
readonly campaign_ids: import("
|
|
59
|
-
readonly client_ids: import("
|
|
60
|
-
readonly end_date: import("
|
|
61
|
-
readonly start_date: import("
|
|
62
|
-
readonly timezone: import("
|
|
55
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
56
|
+
readonly limit: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
57
|
+
readonly offset: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
58
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
59
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
60
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
61
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
62
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
63
63
|
};
|
|
64
64
|
readonly path: "/analytics/campaign/overall-stats";
|
|
65
65
|
};
|
|
@@ -68,12 +68,12 @@ export declare const ANALYTICS: {
|
|
|
68
68
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/campaign-response-stats";
|
|
69
69
|
readonly method: "GET";
|
|
70
70
|
readonly params: {
|
|
71
|
-
readonly full_data: import("
|
|
72
|
-
readonly campaign_ids: import("
|
|
73
|
-
readonly client_ids: import("
|
|
74
|
-
readonly end_date: import("
|
|
75
|
-
readonly start_date: import("
|
|
76
|
-
readonly timezone: import("
|
|
71
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
72
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
73
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
74
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
75
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
76
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
77
77
|
};
|
|
78
78
|
readonly path: "/analytics/campaign/response-stats";
|
|
79
79
|
};
|
|
@@ -82,7 +82,7 @@ export declare const ANALYTICS: {
|
|
|
82
82
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/campaign-status-stats";
|
|
83
83
|
readonly method: "GET";
|
|
84
84
|
readonly params: {
|
|
85
|
-
client_ids: import("
|
|
85
|
+
client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
86
86
|
};
|
|
87
87
|
readonly path: "/analytics/campaign/status-stats";
|
|
88
88
|
};
|
|
@@ -91,7 +91,7 @@ export declare const ANALYTICS: {
|
|
|
91
91
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/client-list";
|
|
92
92
|
readonly method: "GET";
|
|
93
93
|
readonly params: {
|
|
94
|
-
client_ids: import("
|
|
94
|
+
client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
95
95
|
};
|
|
96
96
|
readonly path: "/analytics/client/list";
|
|
97
97
|
};
|
|
@@ -100,7 +100,7 @@ export declare const ANALYTICS: {
|
|
|
100
100
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/month-wise-client-count";
|
|
101
101
|
readonly method: "GET";
|
|
102
102
|
readonly params: {
|
|
103
|
-
client_ids: import("
|
|
103
|
+
client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
104
104
|
};
|
|
105
105
|
readonly path: "/analytics/client/month-wise-count";
|
|
106
106
|
};
|
|
@@ -109,14 +109,14 @@ export declare const ANALYTICS: {
|
|
|
109
109
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/client-performance";
|
|
110
110
|
readonly method: "GET";
|
|
111
111
|
readonly params: {
|
|
112
|
-
readonly filter: import("
|
|
113
|
-
readonly full_data: import("
|
|
114
|
-
readonly limit: import("
|
|
115
|
-
readonly offset: import("
|
|
116
|
-
readonly client_ids: import("
|
|
117
|
-
readonly end_date: import("
|
|
118
|
-
readonly start_date: import("
|
|
119
|
-
readonly timezone: import("
|
|
112
|
+
readonly filter: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
113
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
114
|
+
readonly limit: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
115
|
+
readonly offset: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
116
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
117
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
118
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
119
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
120
120
|
};
|
|
121
121
|
readonly path: "/analytics/client/overall-stats";
|
|
122
122
|
};
|
|
@@ -125,11 +125,11 @@ export declare const ANALYTICS: {
|
|
|
125
125
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/day-wise-sent-time";
|
|
126
126
|
readonly method: "GET";
|
|
127
127
|
readonly params: {
|
|
128
|
-
readonly campaign_ids: import("
|
|
129
|
-
readonly client_ids: import("
|
|
130
|
-
readonly timezone: import("
|
|
131
|
-
readonly end_date: import("
|
|
132
|
-
readonly start_date: import("
|
|
128
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
129
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
130
|
+
readonly timezone: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
131
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
132
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
133
133
|
};
|
|
134
134
|
readonly path: "/analytics/day-wise-overall-stats-by-sent-time";
|
|
135
135
|
};
|
|
@@ -138,11 +138,11 @@ export declare const ANALYTICS: {
|
|
|
138
138
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/day-wise-positive-reply";
|
|
139
139
|
readonly method: "GET";
|
|
140
140
|
readonly params: {
|
|
141
|
-
readonly campaign_ids: import("
|
|
142
|
-
readonly client_ids: import("
|
|
143
|
-
readonly end_date: import("
|
|
144
|
-
readonly start_date: import("
|
|
145
|
-
readonly timezone: import("
|
|
141
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
142
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
143
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
144
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
145
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
146
146
|
};
|
|
147
147
|
readonly path: "/analytics/day-wise-positive-reply-stats";
|
|
148
148
|
};
|
|
@@ -151,11 +151,11 @@ export declare const ANALYTICS: {
|
|
|
151
151
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/day-wise-positive-sent-time";
|
|
152
152
|
readonly method: "GET";
|
|
153
153
|
readonly params: {
|
|
154
|
-
readonly campaign_ids: import("
|
|
155
|
-
readonly client_ids: import("
|
|
156
|
-
readonly timezone: import("
|
|
157
|
-
readonly end_date: import("
|
|
158
|
-
readonly start_date: import("
|
|
154
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
155
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
156
|
+
readonly timezone: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
157
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
158
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
159
159
|
};
|
|
160
160
|
readonly path: "/analytics/day-wise-positive-reply-stats-by-sent-time";
|
|
161
161
|
};
|
|
@@ -164,11 +164,11 @@ export declare const ANALYTICS: {
|
|
|
164
164
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/lead-category-response";
|
|
165
165
|
readonly method: "GET";
|
|
166
166
|
readonly params: {
|
|
167
|
-
readonly campaign_ids: import("
|
|
168
|
-
readonly client_ids: import("
|
|
169
|
-
readonly end_date: import("
|
|
170
|
-
readonly start_date: import("
|
|
171
|
-
readonly timezone: import("
|
|
167
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
168
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
169
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
170
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
171
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
172
172
|
};
|
|
173
173
|
readonly path: "/analytics/lead/category-wise-response";
|
|
174
174
|
};
|
|
@@ -177,11 +177,11 @@ export declare const ANALYTICS: {
|
|
|
177
177
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/lead-stats";
|
|
178
178
|
readonly method: "GET";
|
|
179
179
|
readonly params: {
|
|
180
|
-
readonly campaign_ids: import("
|
|
181
|
-
readonly client_ids: import("
|
|
182
|
-
readonly end_date: import("
|
|
183
|
-
readonly start_date: import("
|
|
184
|
-
readonly timezone: import("
|
|
180
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
181
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
182
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
183
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
184
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
185
185
|
};
|
|
186
186
|
readonly path: "/analytics/lead/overall-stats";
|
|
187
187
|
};
|
|
@@ -191,14 +191,14 @@ export declare const ANALYTICS: {
|
|
|
191
191
|
readonly lane: "domain-wise-health";
|
|
192
192
|
readonly method: "GET";
|
|
193
193
|
readonly params: {
|
|
194
|
-
readonly full_data: import("
|
|
195
|
-
readonly limit: import("
|
|
196
|
-
readonly offset: import("
|
|
197
|
-
readonly campaign_ids: import("
|
|
198
|
-
readonly client_ids: import("
|
|
199
|
-
readonly end_date: import("
|
|
200
|
-
readonly start_date: import("
|
|
201
|
-
readonly timezone: import("
|
|
194
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
195
|
+
readonly limit: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
196
|
+
readonly offset: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
197
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
198
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
199
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
200
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
201
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
202
202
|
};
|
|
203
203
|
readonly path: "/analytics/mailbox/domain-wise-health-metrics";
|
|
204
204
|
};
|
|
@@ -207,7 +207,7 @@ export declare const ANALYTICS: {
|
|
|
207
207
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/mailbox-health";
|
|
208
208
|
readonly method: "GET";
|
|
209
209
|
readonly params: {
|
|
210
|
-
client_ids: import("
|
|
210
|
+
client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
211
211
|
};
|
|
212
212
|
readonly path: "/analytics/mailbox/overall-stats";
|
|
213
213
|
};
|
|
@@ -216,12 +216,12 @@ export declare const ANALYTICS: {
|
|
|
216
216
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/provider-performance";
|
|
217
217
|
readonly method: "GET";
|
|
218
218
|
readonly params: {
|
|
219
|
-
readonly full_data: import("
|
|
220
|
-
readonly campaign_ids: import("
|
|
221
|
-
readonly client_ids: import("
|
|
222
|
-
readonly end_date: import("
|
|
223
|
-
readonly start_date: import("
|
|
224
|
-
readonly timezone: import("
|
|
219
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
220
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
221
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
222
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
223
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
224
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
225
225
|
};
|
|
226
226
|
readonly path: "/analytics/mailbox/provider-wise-overall-performance";
|
|
227
227
|
};
|
|
@@ -230,12 +230,12 @@ export declare const ANALYTICS: {
|
|
|
230
230
|
readonly docs: "https://api.smartlead.ai/api-reference/analytics/team-board-stats";
|
|
231
231
|
readonly method: "GET";
|
|
232
232
|
readonly params: {
|
|
233
|
-
readonly full_data: import("
|
|
234
|
-
readonly campaign_ids: import("
|
|
235
|
-
readonly client_ids: import("
|
|
236
|
-
readonly end_date: import("
|
|
237
|
-
readonly start_date: import("
|
|
238
|
-
readonly timezone: import("
|
|
233
|
+
readonly full_data: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
234
|
+
readonly campaign_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
235
|
+
readonly client_ids: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
236
|
+
readonly end_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
237
|
+
readonly start_date: import("../internal/native.ts").NeededParam<"query", "string">;
|
|
238
|
+
readonly timezone: import("../internal/native.ts").PlacedParam<"query", "string">;
|
|
239
239
|
};
|
|
240
240
|
readonly path: "/analytics/team-board/overall-stats";
|
|
241
241
|
};
|