@sellable/mcp 0.1.955 → 0.1.956
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.
|
@@ -73,6 +73,7 @@ export interface CampaignDetail {
|
|
|
73
73
|
export interface CampaignAutomationSettings {
|
|
74
74
|
autoApproveFollowups: boolean | null;
|
|
75
75
|
enableFollowUps: boolean | null;
|
|
76
|
+
autoApproveReplies: boolean | null;
|
|
76
77
|
}
|
|
77
78
|
export interface CampaignMessagesPreviewInput {
|
|
78
79
|
campaignId: string;
|
|
@@ -171,6 +172,7 @@ export interface UpdateCampaignInput {
|
|
|
171
172
|
messageApproach?: "conversation" | "message_test";
|
|
172
173
|
autoApproveFollowups?: boolean;
|
|
173
174
|
enableFollowUps?: boolean;
|
|
175
|
+
autoApproveReplies?: boolean;
|
|
174
176
|
senderIds?: string[];
|
|
175
177
|
rubric?: unknown[];
|
|
176
178
|
}
|
|
@@ -270,6 +272,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
270
272
|
useMessagingTemplate?: undefined;
|
|
271
273
|
autoApproveFollowups?: undefined;
|
|
272
274
|
enableFollowUps?: undefined;
|
|
275
|
+
autoApproveReplies?: undefined;
|
|
273
276
|
rubric?: undefined;
|
|
274
277
|
flowVersion?: undefined;
|
|
275
278
|
};
|
|
@@ -320,6 +323,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
320
323
|
useMessagingTemplate?: undefined;
|
|
321
324
|
autoApproveFollowups?: undefined;
|
|
322
325
|
enableFollowUps?: undefined;
|
|
326
|
+
autoApproveReplies?: undefined;
|
|
323
327
|
rubric?: undefined;
|
|
324
328
|
flowVersion?: undefined;
|
|
325
329
|
};
|
|
@@ -372,6 +376,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
372
376
|
useMessagingTemplate?: undefined;
|
|
373
377
|
autoApproveFollowups?: undefined;
|
|
374
378
|
enableFollowUps?: undefined;
|
|
379
|
+
autoApproveReplies?: undefined;
|
|
375
380
|
rubric?: undefined;
|
|
376
381
|
flowVersion?: undefined;
|
|
377
382
|
};
|
|
@@ -420,6 +425,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
420
425
|
useMessagingTemplate?: undefined;
|
|
421
426
|
autoApproveFollowups?: undefined;
|
|
422
427
|
enableFollowUps?: undefined;
|
|
428
|
+
autoApproveReplies?: undefined;
|
|
423
429
|
rubric?: undefined;
|
|
424
430
|
flowVersion?: undefined;
|
|
425
431
|
};
|
|
@@ -468,6 +474,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
468
474
|
useMessagingTemplate?: undefined;
|
|
469
475
|
autoApproveFollowups?: undefined;
|
|
470
476
|
enableFollowUps?: undefined;
|
|
477
|
+
autoApproveReplies?: undefined;
|
|
471
478
|
rubric?: undefined;
|
|
472
479
|
flowVersion?: undefined;
|
|
473
480
|
};
|
|
@@ -559,6 +566,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
559
566
|
useMessagingTemplate?: undefined;
|
|
560
567
|
autoApproveFollowups?: undefined;
|
|
561
568
|
enableFollowUps?: undefined;
|
|
569
|
+
autoApproveReplies?: undefined;
|
|
562
570
|
rubric?: undefined;
|
|
563
571
|
flowVersion?: undefined;
|
|
564
572
|
};
|
|
@@ -769,6 +777,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
769
777
|
useMessagingTemplate?: undefined;
|
|
770
778
|
autoApproveFollowups?: undefined;
|
|
771
779
|
enableFollowUps?: undefined;
|
|
780
|
+
autoApproveReplies?: undefined;
|
|
772
781
|
rubric?: undefined;
|
|
773
782
|
flowVersion?: undefined;
|
|
774
783
|
};
|
|
@@ -997,6 +1006,10 @@ export declare const campaignToolDefinitions: ({
|
|
|
997
1006
|
type: string;
|
|
998
1007
|
description: string;
|
|
999
1008
|
};
|
|
1009
|
+
autoApproveReplies: {
|
|
1010
|
+
type: string;
|
|
1011
|
+
description: string;
|
|
1012
|
+
};
|
|
1000
1013
|
senderIds: {
|
|
1001
1014
|
type: string;
|
|
1002
1015
|
items: {
|
|
@@ -1073,6 +1086,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
1073
1086
|
useMessagingTemplate?: undefined;
|
|
1074
1087
|
autoApproveFollowups?: undefined;
|
|
1075
1088
|
enableFollowUps?: undefined;
|
|
1089
|
+
autoApproveReplies?: undefined;
|
|
1076
1090
|
rubric?: undefined;
|
|
1077
1091
|
flowVersion?: undefined;
|
|
1078
1092
|
};
|
|
@@ -1124,6 +1138,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
1124
1138
|
useMessagingTemplate?: undefined;
|
|
1125
1139
|
autoApproveFollowups?: undefined;
|
|
1126
1140
|
enableFollowUps?: undefined;
|
|
1141
|
+
autoApproveReplies?: undefined;
|
|
1127
1142
|
rubric?: undefined;
|
|
1128
1143
|
flowVersion?: undefined;
|
|
1129
1144
|
};
|
package/dist/tools/campaigns.js
CHANGED
|
@@ -587,6 +587,10 @@ export const campaignToolDefinitions = [
|
|
|
587
587
|
type: "boolean",
|
|
588
588
|
description: "Whether the campaign follow-up sweeper may draft follow-ups. Keep true when enabling autoApproveFollowups unless the user explicitly requests drafting suppression.",
|
|
589
589
|
},
|
|
590
|
+
autoApproveReplies: {
|
|
591
|
+
type: "boolean",
|
|
592
|
+
description: "Whether drafted replies to prospects who answered are sent without the customer reviewing them. Set it only when the customer asks for automatic replies, and tell them replies will go out without their review. Default is off: every reply waits for the customer in the inbox.",
|
|
593
|
+
},
|
|
590
594
|
senderIds: {
|
|
591
595
|
type: "array",
|
|
592
596
|
items: { type: "string" },
|
|
@@ -712,6 +716,9 @@ function readCampaignAutomationSettings(source) {
|
|
|
712
716
|
enableFollowUps: typeof source.enableFollowUps === "boolean"
|
|
713
717
|
? source.enableFollowUps
|
|
714
718
|
: null,
|
|
719
|
+
autoApproveReplies: typeof source.autoApproveReplies === "boolean"
|
|
720
|
+
? source.autoApproveReplies
|
|
721
|
+
: null,
|
|
715
722
|
};
|
|
716
723
|
}
|
|
717
724
|
function normalizeCellValue(cell) {
|
|
@@ -1127,7 +1134,8 @@ export async function updateCampaign(campaignId, input) {
|
|
|
1127
1134
|
const { campaignId: _ignore, workspaceId, interactionMode, flowVersion: _flowVersion, senderIds, currentStep, ...updates } = input;
|
|
1128
1135
|
const hasSenderIds = Object.prototype.hasOwnProperty.call(input, "senderIds");
|
|
1129
1136
|
const hasAutomationSettings = Object.prototype.hasOwnProperty.call(input, "autoApproveFollowups") ||
|
|
1130
|
-
Object.prototype.hasOwnProperty.call(input, "enableFollowUps")
|
|
1137
|
+
Object.prototype.hasOwnProperty.call(input, "enableFollowUps") ||
|
|
1138
|
+
Object.prototype.hasOwnProperty.call(input, "autoApproveReplies");
|
|
1131
1139
|
const requestOptions = workspaceId ? { workspaceId } : undefined;
|
|
1132
1140
|
if (!hasSenderIds && currentStep !== undefined) {
|
|
1133
1141
|
updates.currentStep = currentStep;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const customerProgramToolDefinitions: readonly [{
|
|
2
2
|
readonly name: "customer_program";
|
|
3
|
-
readonly description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day.";
|
|
3
|
+
readonly description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day. Some changes are made only in the Sellable web app at https://app.sellable.dev; when asked for one, give the exact link and say what to click: card, invoices and the plan (owner only): /settings?tab=billing; Slack channels, and restarting, stopping or removing the agent: /sellable-agent/connection; adding or reconnecting LinkedIn, daily limits and sending hours: /linkedin-accounts; reply settings for one campaign: /campaign-builder/{campaignId}/settings. Do everything else yourself with your tools.";
|
|
4
4
|
readonly inputSchema: {
|
|
5
5
|
readonly type: "object";
|
|
6
6
|
readonly properties: {
|
|
@@ -2,7 +2,7 @@ import { getApi, SellableApiError } from "../api.js";
|
|
|
2
2
|
export const customerProgramToolDefinitions = [
|
|
3
3
|
{
|
|
4
4
|
name: "customer_program",
|
|
5
|
-
description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day.",
|
|
5
|
+
description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day. Some changes are made only in the Sellable web app at https://app.sellable.dev; when asked for one, give the exact link and say what to click: card, invoices and the plan (owner only): /settings?tab=billing; Slack channels, and restarting, stopping or removing the agent: /sellable-agent/connection; adding or reconnecting LinkedIn, daily limits and sending hours: /linkedin-accounts; reply settings for one campaign: /campaign-builder/{campaignId}/settings. Do everything else yourself with your tools.",
|
|
6
6
|
inputSchema: {
|
|
7
7
|
type: "object",
|
|
8
8
|
properties: {
|
package/dist/tools/registry.d.ts
CHANGED
|
@@ -2351,6 +2351,7 @@ export declare const allTools: ({
|
|
|
2351
2351
|
useMessagingTemplate?: undefined;
|
|
2352
2352
|
autoApproveFollowups?: undefined;
|
|
2353
2353
|
enableFollowUps?: undefined;
|
|
2354
|
+
autoApproveReplies?: undefined;
|
|
2354
2355
|
rubric?: undefined;
|
|
2355
2356
|
flowVersion?: undefined;
|
|
2356
2357
|
};
|
|
@@ -2401,6 +2402,7 @@ export declare const allTools: ({
|
|
|
2401
2402
|
useMessagingTemplate?: undefined;
|
|
2402
2403
|
autoApproveFollowups?: undefined;
|
|
2403
2404
|
enableFollowUps?: undefined;
|
|
2405
|
+
autoApproveReplies?: undefined;
|
|
2404
2406
|
rubric?: undefined;
|
|
2405
2407
|
flowVersion?: undefined;
|
|
2406
2408
|
};
|
|
@@ -2453,6 +2455,7 @@ export declare const allTools: ({
|
|
|
2453
2455
|
useMessagingTemplate?: undefined;
|
|
2454
2456
|
autoApproveFollowups?: undefined;
|
|
2455
2457
|
enableFollowUps?: undefined;
|
|
2458
|
+
autoApproveReplies?: undefined;
|
|
2456
2459
|
rubric?: undefined;
|
|
2457
2460
|
flowVersion?: undefined;
|
|
2458
2461
|
};
|
|
@@ -2501,6 +2504,7 @@ export declare const allTools: ({
|
|
|
2501
2504
|
useMessagingTemplate?: undefined;
|
|
2502
2505
|
autoApproveFollowups?: undefined;
|
|
2503
2506
|
enableFollowUps?: undefined;
|
|
2507
|
+
autoApproveReplies?: undefined;
|
|
2504
2508
|
rubric?: undefined;
|
|
2505
2509
|
flowVersion?: undefined;
|
|
2506
2510
|
};
|
|
@@ -2549,6 +2553,7 @@ export declare const allTools: ({
|
|
|
2549
2553
|
useMessagingTemplate?: undefined;
|
|
2550
2554
|
autoApproveFollowups?: undefined;
|
|
2551
2555
|
enableFollowUps?: undefined;
|
|
2556
|
+
autoApproveReplies?: undefined;
|
|
2552
2557
|
rubric?: undefined;
|
|
2553
2558
|
flowVersion?: undefined;
|
|
2554
2559
|
};
|
|
@@ -2640,6 +2645,7 @@ export declare const allTools: ({
|
|
|
2640
2645
|
useMessagingTemplate?: undefined;
|
|
2641
2646
|
autoApproveFollowups?: undefined;
|
|
2642
2647
|
enableFollowUps?: undefined;
|
|
2648
|
+
autoApproveReplies?: undefined;
|
|
2643
2649
|
rubric?: undefined;
|
|
2644
2650
|
flowVersion?: undefined;
|
|
2645
2651
|
};
|
|
@@ -2850,6 +2856,7 @@ export declare const allTools: ({
|
|
|
2850
2856
|
useMessagingTemplate?: undefined;
|
|
2851
2857
|
autoApproveFollowups?: undefined;
|
|
2852
2858
|
enableFollowUps?: undefined;
|
|
2859
|
+
autoApproveReplies?: undefined;
|
|
2853
2860
|
rubric?: undefined;
|
|
2854
2861
|
flowVersion?: undefined;
|
|
2855
2862
|
};
|
|
@@ -3078,6 +3085,10 @@ export declare const allTools: ({
|
|
|
3078
3085
|
type: string;
|
|
3079
3086
|
description: string;
|
|
3080
3087
|
};
|
|
3088
|
+
autoApproveReplies: {
|
|
3089
|
+
type: string;
|
|
3090
|
+
description: string;
|
|
3091
|
+
};
|
|
3081
3092
|
senderIds: {
|
|
3082
3093
|
type: string;
|
|
3083
3094
|
items: {
|
|
@@ -3154,6 +3165,7 @@ export declare const allTools: ({
|
|
|
3154
3165
|
useMessagingTemplate?: undefined;
|
|
3155
3166
|
autoApproveFollowups?: undefined;
|
|
3156
3167
|
enableFollowUps?: undefined;
|
|
3168
|
+
autoApproveReplies?: undefined;
|
|
3157
3169
|
rubric?: undefined;
|
|
3158
3170
|
flowVersion?: undefined;
|
|
3159
3171
|
};
|
|
@@ -3205,6 +3217,7 @@ export declare const allTools: ({
|
|
|
3205
3217
|
useMessagingTemplate?: undefined;
|
|
3206
3218
|
autoApproveFollowups?: undefined;
|
|
3207
3219
|
enableFollowUps?: undefined;
|
|
3220
|
+
autoApproveReplies?: undefined;
|
|
3208
3221
|
rubric?: undefined;
|
|
3209
3222
|
flowVersion?: undefined;
|
|
3210
3223
|
};
|
|
@@ -8709,7 +8722,7 @@ export declare const allTools: ({
|
|
|
8709
8722
|
};
|
|
8710
8723
|
} | {
|
|
8711
8724
|
readonly name: "customer_program";
|
|
8712
|
-
readonly description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day.";
|
|
8725
|
+
readonly description: "Observe the home workspace campaign relationship stage, read prior complete daily or weekly campaign results, and retain campaign context. Scheduled stage_delivery grants native posting only when delivery.deliverNow is true; false means stay silent and reconcile. Save only newly learned campaign context or customer work/report preferences; campaign creation and editing stay in the create-campaign workflow. When the customer says where they are or wants updates at their own morning, call set_preferences with preferences.timezone (IANA, e.g. Europe/London); messages then go out at 08:00 and 09:00 their time on their working days. The customer gets one message a day. Some changes are made only in the Sellable web app at https://app.sellable.dev; when asked for one, give the exact link and say what to click: card, invoices and the plan (owner only): /settings?tab=billing; Slack channels, and restarting, stopping or removing the agent: /sellable-agent/connection; adding or reconnecting LinkedIn, daily limits and sending hours: /linkedin-accounts; reply settings for one campaign: /campaign-builder/{campaignId}/settings. Do everything else yourself with your tools.";
|
|
8713
8726
|
readonly inputSchema: {
|
|
8714
8727
|
readonly type: "object";
|
|
8715
8728
|
readonly properties: {
|