@sellable/mcp 0.1.543 → 0.1.545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +1 -1
- package/dist/tools/campaigns.d.ts +57 -8
- package/dist/tools/campaigns.js +28 -3
- package/dist/tools/leads.d.ts +22 -0
- package/dist/tools/leads.js +6 -1
- package/dist/tools/registry.d.ts +76 -7
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -338,7 +338,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
338
338
|
}
|
|
339
339
|
break;
|
|
340
340
|
case "duplicate_campaign":
|
|
341
|
-
result = await duplicateCampaign(args?.campaignId);
|
|
341
|
+
result = await duplicateCampaign(args?.campaignId, args?.name);
|
|
342
342
|
if (result?.campaignOfferId) {
|
|
343
343
|
markCampaignContextDirty(result.campaignOfferId, "duplicate_campaign");
|
|
344
344
|
}
|
|
@@ -136,6 +136,7 @@ export interface CreateCampaignInput {
|
|
|
136
136
|
}
|
|
137
137
|
export interface UpdateCampaignInput {
|
|
138
138
|
flowVersion?: "v1" | "v2";
|
|
139
|
+
name?: string;
|
|
139
140
|
offerPositioning?: unknown;
|
|
140
141
|
campaignBrief?: unknown;
|
|
141
142
|
leadSourceType?: string | null;
|
|
@@ -161,12 +162,55 @@ export declare const campaignToolDefinitions: ({
|
|
|
161
162
|
type: string;
|
|
162
163
|
description: string;
|
|
163
164
|
};
|
|
165
|
+
name?: undefined;
|
|
166
|
+
limit?: undefined;
|
|
167
|
+
tableId?: undefined;
|
|
168
|
+
leadLimit?: undefined;
|
|
169
|
+
page?: undefined;
|
|
170
|
+
filters?: undefined;
|
|
171
|
+
clientProspectId?: undefined;
|
|
172
|
+
senderLinkedinUrl?: undefined;
|
|
173
|
+
offerPositioning?: undefined;
|
|
174
|
+
campaignBrief?: undefined;
|
|
175
|
+
messageGenerationMode?: undefined;
|
|
176
|
+
currentStep?: undefined;
|
|
177
|
+
watchNarration?: undefined;
|
|
178
|
+
leadSourceType?: undefined;
|
|
179
|
+
leadSourceProvider?: undefined;
|
|
180
|
+
selectedLeadListId?: undefined;
|
|
181
|
+
senderIds?: undefined;
|
|
182
|
+
currentStepTransition?: undefined;
|
|
183
|
+
clearCurrentStepIfMatches?: undefined;
|
|
184
|
+
interactionMode?: undefined;
|
|
185
|
+
enableICPFilters?: undefined;
|
|
186
|
+
useMessagingTemplate?: undefined;
|
|
187
|
+
rubric?: undefined;
|
|
188
|
+
flowVersion?: undefined;
|
|
189
|
+
workspaceId?: undefined;
|
|
190
|
+
};
|
|
191
|
+
required: string[];
|
|
192
|
+
additionalProperties: boolean;
|
|
193
|
+
};
|
|
194
|
+
} | {
|
|
195
|
+
name: string;
|
|
196
|
+
description: string;
|
|
197
|
+
inputSchema: {
|
|
198
|
+
type: string;
|
|
199
|
+
properties: {
|
|
200
|
+
campaignId: {
|
|
201
|
+
type: string;
|
|
202
|
+
description: string;
|
|
203
|
+
};
|
|
204
|
+
name: {
|
|
205
|
+
type: string;
|
|
206
|
+
maxLength: number;
|
|
207
|
+
description: string;
|
|
208
|
+
};
|
|
164
209
|
limit?: undefined;
|
|
165
210
|
tableId?: undefined;
|
|
166
211
|
leadLimit?: undefined;
|
|
167
212
|
page?: undefined;
|
|
168
213
|
filters?: undefined;
|
|
169
|
-
name?: undefined;
|
|
170
214
|
clientProspectId?: undefined;
|
|
171
215
|
senderLinkedinUrl?: undefined;
|
|
172
216
|
offerPositioning?: undefined;
|
|
@@ -201,11 +245,11 @@ export declare const campaignToolDefinitions: ({
|
|
|
201
245
|
description: string;
|
|
202
246
|
};
|
|
203
247
|
campaignId?: undefined;
|
|
248
|
+
name?: undefined;
|
|
204
249
|
tableId?: undefined;
|
|
205
250
|
leadLimit?: undefined;
|
|
206
251
|
page?: undefined;
|
|
207
252
|
filters?: undefined;
|
|
208
|
-
name?: undefined;
|
|
209
253
|
clientProspectId?: undefined;
|
|
210
254
|
senderLinkedinUrl?: undefined;
|
|
211
255
|
offerPositioning?: undefined;
|
|
@@ -239,12 +283,12 @@ export declare const campaignToolDefinitions: ({
|
|
|
239
283
|
type: string;
|
|
240
284
|
description: string;
|
|
241
285
|
};
|
|
286
|
+
name?: undefined;
|
|
242
287
|
limit?: undefined;
|
|
243
288
|
tableId?: undefined;
|
|
244
289
|
leadLimit?: undefined;
|
|
245
290
|
page?: undefined;
|
|
246
291
|
filters?: undefined;
|
|
247
|
-
name?: undefined;
|
|
248
292
|
clientProspectId?: undefined;
|
|
249
293
|
senderLinkedinUrl?: undefined;
|
|
250
294
|
offerPositioning?: undefined;
|
|
@@ -325,8 +369,8 @@ export declare const campaignToolDefinitions: ({
|
|
|
325
369
|
additionalProperties: boolean;
|
|
326
370
|
};
|
|
327
371
|
};
|
|
328
|
-
limit?: undefined;
|
|
329
372
|
name?: undefined;
|
|
373
|
+
limit?: undefined;
|
|
330
374
|
clientProspectId?: undefined;
|
|
331
375
|
senderLinkedinUrl?: undefined;
|
|
332
376
|
offerPositioning?: undefined;
|
|
@@ -363,6 +407,7 @@ export declare const campaignToolDefinitions: ({
|
|
|
363
407
|
name: {
|
|
364
408
|
type: string;
|
|
365
409
|
description: string;
|
|
410
|
+
maxLength?: undefined;
|
|
366
411
|
};
|
|
367
412
|
clientProspectId: {
|
|
368
413
|
type: string;
|
|
@@ -555,6 +600,11 @@ export declare const campaignToolDefinitions: ({
|
|
|
555
600
|
type: string;
|
|
556
601
|
description: string;
|
|
557
602
|
};
|
|
603
|
+
name: {
|
|
604
|
+
type: string;
|
|
605
|
+
maxLength: number;
|
|
606
|
+
description: string;
|
|
607
|
+
};
|
|
558
608
|
offerPositioning: {
|
|
559
609
|
type: string;
|
|
560
610
|
description: string;
|
|
@@ -742,7 +792,6 @@ export declare const campaignToolDefinitions: ({
|
|
|
742
792
|
leadLimit?: undefined;
|
|
743
793
|
page?: undefined;
|
|
744
794
|
filters?: undefined;
|
|
745
|
-
name?: undefined;
|
|
746
795
|
clientProspectId?: undefined;
|
|
747
796
|
senderLinkedinUrl?: undefined;
|
|
748
797
|
messageGenerationMode?: undefined;
|
|
@@ -765,12 +814,12 @@ export declare const campaignToolDefinitions: ({
|
|
|
765
814
|
type: string;
|
|
766
815
|
description: string;
|
|
767
816
|
};
|
|
817
|
+
name?: undefined;
|
|
768
818
|
limit?: undefined;
|
|
769
819
|
tableId?: undefined;
|
|
770
820
|
leadLimit?: undefined;
|
|
771
821
|
page?: undefined;
|
|
772
822
|
filters?: undefined;
|
|
773
|
-
name?: undefined;
|
|
774
823
|
clientProspectId?: undefined;
|
|
775
824
|
senderLinkedinUrl?: undefined;
|
|
776
825
|
offerPositioning?: undefined;
|
|
@@ -807,12 +856,12 @@ export declare const campaignToolDefinitions: ({
|
|
|
807
856
|
type: string;
|
|
808
857
|
description: string;
|
|
809
858
|
};
|
|
859
|
+
name?: undefined;
|
|
810
860
|
limit?: undefined;
|
|
811
861
|
tableId?: undefined;
|
|
812
862
|
leadLimit?: undefined;
|
|
813
863
|
page?: undefined;
|
|
814
864
|
filters?: undefined;
|
|
815
|
-
name?: undefined;
|
|
816
865
|
clientProspectId?: undefined;
|
|
817
866
|
senderLinkedinUrl?: undefined;
|
|
818
867
|
offerPositioning?: undefined;
|
|
@@ -883,7 +932,7 @@ export declare function archiveCampaign(campaignId: string): Promise<{
|
|
|
883
932
|
cellsReset?: number;
|
|
884
933
|
workflowTableId?: string;
|
|
885
934
|
}>;
|
|
886
|
-
export declare function duplicateCampaign(campaignId: string): Promise<{
|
|
935
|
+
export declare function duplicateCampaign(campaignId: string, name?: string): Promise<{
|
|
887
936
|
campaignOfferId: string;
|
|
888
937
|
campaignName: string;
|
|
889
938
|
workflowTableId: string | null;
|
package/dist/tools/campaigns.js
CHANGED
|
@@ -206,7 +206,7 @@ export const campaignToolDefinitions = [
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
name: "duplicate_campaign",
|
|
209
|
-
description: "Duplicate a campaign by calling Sellable's existing duplicate endpoint. Returns campaignOfferId, campaignName, and workflowTableId for the new copy.",
|
|
209
|
+
description: "Duplicate a campaign by calling Sellable's existing duplicate endpoint. Optionally pass name to set the new CampaignOffer and workflow table name. Returns campaignOfferId, campaignName, and workflowTableId for the new copy.",
|
|
210
210
|
inputSchema: {
|
|
211
211
|
type: "object",
|
|
212
212
|
properties: {
|
|
@@ -214,6 +214,11 @@ export const campaignToolDefinitions = [
|
|
|
214
214
|
type: "string",
|
|
215
215
|
description: "Source campaign ID to duplicate.",
|
|
216
216
|
},
|
|
217
|
+
name: {
|
|
218
|
+
type: "string",
|
|
219
|
+
maxLength: 200,
|
|
220
|
+
description: "Optional exact name for the duplicated campaign and workflow table.",
|
|
221
|
+
},
|
|
217
222
|
},
|
|
218
223
|
required: ["campaignId"],
|
|
219
224
|
additionalProperties: false,
|
|
@@ -395,6 +400,11 @@ export const campaignToolDefinitions = [
|
|
|
395
400
|
type: "string",
|
|
396
401
|
description: "Campaign ID to update",
|
|
397
402
|
},
|
|
403
|
+
name: {
|
|
404
|
+
type: "string",
|
|
405
|
+
maxLength: 200,
|
|
406
|
+
description: "Optional campaign name.",
|
|
407
|
+
},
|
|
398
408
|
offerPositioning: {
|
|
399
409
|
type: "object",
|
|
400
410
|
description: "Updated offer positioning JSON",
|
|
@@ -1042,9 +1052,24 @@ export async function archiveCampaign(campaignId) {
|
|
|
1042
1052
|
const api = getApi();
|
|
1043
1053
|
return api.post(`/api/v3/campaigns/${campaignId}/archive`);
|
|
1044
1054
|
}
|
|
1045
|
-
export async function duplicateCampaign(campaignId) {
|
|
1055
|
+
export async function duplicateCampaign(campaignId, name) {
|
|
1046
1056
|
const api = getApi();
|
|
1047
|
-
|
|
1057
|
+
const normalizedName = name?.trim();
|
|
1058
|
+
const duplicated = normalizedName
|
|
1059
|
+
? await api.post(`/api/v3/campaigns/${campaignId}/duplicate`, {
|
|
1060
|
+
name: normalizedName,
|
|
1061
|
+
})
|
|
1062
|
+
: await api.post(`/api/v3/campaigns/${campaignId}/duplicate`);
|
|
1063
|
+
if (normalizedName) {
|
|
1064
|
+
const renamed = await api.put(`/api/v2/campaign-offers/${duplicated.campaignOfferId}`, {
|
|
1065
|
+
name: normalizedName,
|
|
1066
|
+
});
|
|
1067
|
+
return {
|
|
1068
|
+
...duplicated,
|
|
1069
|
+
campaignName: renamed.name ?? normalizedName,
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
return duplicated;
|
|
1048
1073
|
}
|
|
1049
1074
|
export async function updateCampaignBrief(campaignId, campaignBrief) {
|
|
1050
1075
|
const api = getApi();
|
package/dist/tools/leads.d.ts
CHANGED
|
@@ -184,6 +184,7 @@ export type ConfirmLeadListInput = {
|
|
|
184
184
|
reviewBatchLimit?: number;
|
|
185
185
|
includeRawImportResult?: boolean;
|
|
186
186
|
allowPartialSourceList?: boolean;
|
|
187
|
+
allowDifferentSourceLeadList?: boolean;
|
|
187
188
|
sourceRowIds?: string[];
|
|
188
189
|
sourceRowLimit?: number;
|
|
189
190
|
/**
|
|
@@ -305,6 +306,7 @@ export declare const leadToolDefinitions: ({
|
|
|
305
306
|
sourceRowIds?: undefined;
|
|
306
307
|
sourceRowLimit?: undefined;
|
|
307
308
|
allowPartialSourceList?: undefined;
|
|
309
|
+
allowDifferentSourceLeadList?: undefined;
|
|
308
310
|
includeRawImportResult?: undefined;
|
|
309
311
|
selections?: undefined;
|
|
310
312
|
selectionMode?: undefined;
|
|
@@ -502,6 +504,7 @@ export declare const leadToolDefinitions: ({
|
|
|
502
504
|
sourceRowIds?: undefined;
|
|
503
505
|
sourceRowLimit?: undefined;
|
|
504
506
|
allowPartialSourceList?: undefined;
|
|
507
|
+
allowDifferentSourceLeadList?: undefined;
|
|
505
508
|
includeRawImportResult?: undefined;
|
|
506
509
|
selections?: undefined;
|
|
507
510
|
selectionMode?: undefined;
|
|
@@ -598,6 +601,7 @@ export declare const leadToolDefinitions: ({
|
|
|
598
601
|
sourceRowIds?: undefined;
|
|
599
602
|
sourceRowLimit?: undefined;
|
|
600
603
|
allowPartialSourceList?: undefined;
|
|
604
|
+
allowDifferentSourceLeadList?: undefined;
|
|
601
605
|
includeRawImportResult?: undefined;
|
|
602
606
|
selections?: undefined;
|
|
603
607
|
selectionMode?: undefined;
|
|
@@ -766,6 +770,7 @@ export declare const leadToolDefinitions: ({
|
|
|
766
770
|
sourceRowIds?: undefined;
|
|
767
771
|
sourceRowLimit?: undefined;
|
|
768
772
|
allowPartialSourceList?: undefined;
|
|
773
|
+
allowDifferentSourceLeadList?: undefined;
|
|
769
774
|
includeRawImportResult?: undefined;
|
|
770
775
|
selections?: undefined;
|
|
771
776
|
selectionMode?: undefined;
|
|
@@ -876,6 +881,7 @@ export declare const leadToolDefinitions: ({
|
|
|
876
881
|
sourceRowIds?: undefined;
|
|
877
882
|
sourceRowLimit?: undefined;
|
|
878
883
|
allowPartialSourceList?: undefined;
|
|
884
|
+
allowDifferentSourceLeadList?: undefined;
|
|
879
885
|
includeRawImportResult?: undefined;
|
|
880
886
|
selections?: undefined;
|
|
881
887
|
selectionMode?: undefined;
|
|
@@ -995,6 +1001,7 @@ export declare const leadToolDefinitions: ({
|
|
|
995
1001
|
sourceRowIds?: undefined;
|
|
996
1002
|
sourceRowLimit?: undefined;
|
|
997
1003
|
allowPartialSourceList?: undefined;
|
|
1004
|
+
allowDifferentSourceLeadList?: undefined;
|
|
998
1005
|
includeRawImportResult?: undefined;
|
|
999
1006
|
selections?: undefined;
|
|
1000
1007
|
selectionMode?: undefined;
|
|
@@ -1103,6 +1110,7 @@ export declare const leadToolDefinitions: ({
|
|
|
1103
1110
|
sourceRowIds?: undefined;
|
|
1104
1111
|
sourceRowLimit?: undefined;
|
|
1105
1112
|
allowPartialSourceList?: undefined;
|
|
1113
|
+
allowDifferentSourceLeadList?: undefined;
|
|
1106
1114
|
includeRawImportResult?: undefined;
|
|
1107
1115
|
selections?: undefined;
|
|
1108
1116
|
selectionMode?: undefined;
|
|
@@ -1216,6 +1224,7 @@ export declare const leadToolDefinitions: ({
|
|
|
1216
1224
|
sourceRowIds?: undefined;
|
|
1217
1225
|
sourceRowLimit?: undefined;
|
|
1218
1226
|
allowPartialSourceList?: undefined;
|
|
1227
|
+
allowDifferentSourceLeadList?: undefined;
|
|
1219
1228
|
includeRawImportResult?: undefined;
|
|
1220
1229
|
selections?: undefined;
|
|
1221
1230
|
selectionMode?: undefined;
|
|
@@ -1317,6 +1326,7 @@ export declare const leadToolDefinitions: ({
|
|
|
1317
1326
|
sourceRowIds?: undefined;
|
|
1318
1327
|
sourceRowLimit?: undefined;
|
|
1319
1328
|
allowPartialSourceList?: undefined;
|
|
1329
|
+
allowDifferentSourceLeadList?: undefined;
|
|
1320
1330
|
includeRawImportResult?: undefined;
|
|
1321
1331
|
selections?: undefined;
|
|
1322
1332
|
selectionMode?: undefined;
|
|
@@ -2210,6 +2220,7 @@ export declare const leadToolDefinitions: ({
|
|
|
2210
2220
|
sourceRowIds?: undefined;
|
|
2211
2221
|
sourceRowLimit?: undefined;
|
|
2212
2222
|
allowPartialSourceList?: undefined;
|
|
2223
|
+
allowDifferentSourceLeadList?: undefined;
|
|
2213
2224
|
includeRawImportResult?: undefined;
|
|
2214
2225
|
selections?: undefined;
|
|
2215
2226
|
selectionMode?: undefined;
|
|
@@ -2320,6 +2331,7 @@ export declare const leadToolDefinitions: ({
|
|
|
2320
2331
|
sourceRowIds?: undefined;
|
|
2321
2332
|
sourceRowLimit?: undefined;
|
|
2322
2333
|
allowPartialSourceList?: undefined;
|
|
2334
|
+
allowDifferentSourceLeadList?: undefined;
|
|
2323
2335
|
includeRawImportResult?: undefined;
|
|
2324
2336
|
selections?: undefined;
|
|
2325
2337
|
selectionMode?: undefined;
|
|
@@ -3371,6 +3383,7 @@ export declare const leadToolDefinitions: ({
|
|
|
3371
3383
|
sourceRowIds?: undefined;
|
|
3372
3384
|
sourceRowLimit?: undefined;
|
|
3373
3385
|
allowPartialSourceList?: undefined;
|
|
3386
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3374
3387
|
includeRawImportResult?: undefined;
|
|
3375
3388
|
selections?: undefined;
|
|
3376
3389
|
selectionMode?: undefined;
|
|
@@ -3528,6 +3541,7 @@ export declare const leadToolDefinitions: ({
|
|
|
3528
3541
|
sourceRowIds?: undefined;
|
|
3529
3542
|
sourceRowLimit?: undefined;
|
|
3530
3543
|
allowPartialSourceList?: undefined;
|
|
3544
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3531
3545
|
includeRawImportResult?: undefined;
|
|
3532
3546
|
selections?: undefined;
|
|
3533
3547
|
selectionMode?: undefined;
|
|
@@ -3675,6 +3689,7 @@ export declare const leadToolDefinitions: ({
|
|
|
3675
3689
|
sourceRowIds?: undefined;
|
|
3676
3690
|
sourceRowLimit?: undefined;
|
|
3677
3691
|
allowPartialSourceList?: undefined;
|
|
3692
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3678
3693
|
includeRawImportResult?: undefined;
|
|
3679
3694
|
selections?: undefined;
|
|
3680
3695
|
selectionMode?: undefined;
|
|
@@ -3777,6 +3792,7 @@ export declare const leadToolDefinitions: ({
|
|
|
3777
3792
|
sourceRowIds?: undefined;
|
|
3778
3793
|
sourceRowLimit?: undefined;
|
|
3779
3794
|
allowPartialSourceList?: undefined;
|
|
3795
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3780
3796
|
includeRawImportResult?: undefined;
|
|
3781
3797
|
selections?: undefined;
|
|
3782
3798
|
selectionMode?: undefined;
|
|
@@ -3841,6 +3857,10 @@ export declare const leadToolDefinitions: ({
|
|
|
3841
3857
|
type: string;
|
|
3842
3858
|
description: string;
|
|
3843
3859
|
};
|
|
3860
|
+
allowDifferentSourceLeadList: {
|
|
3861
|
+
type: string;
|
|
3862
|
+
description: string;
|
|
3863
|
+
};
|
|
3844
3864
|
confirmed: {
|
|
3845
3865
|
type: string;
|
|
3846
3866
|
description: string;
|
|
@@ -4050,6 +4070,7 @@ export declare const leadToolDefinitions: ({
|
|
|
4050
4070
|
sourceRowIds?: undefined;
|
|
4051
4071
|
sourceRowLimit?: undefined;
|
|
4052
4072
|
allowPartialSourceList?: undefined;
|
|
4073
|
+
allowDifferentSourceLeadList?: undefined;
|
|
4053
4074
|
includeRawImportResult?: undefined;
|
|
4054
4075
|
};
|
|
4055
4076
|
required: string[];
|
|
@@ -4150,6 +4171,7 @@ export declare const leadToolDefinitions: ({
|
|
|
4150
4171
|
sourceRowIds?: undefined;
|
|
4151
4172
|
sourceRowLimit?: undefined;
|
|
4152
4173
|
allowPartialSourceList?: undefined;
|
|
4174
|
+
allowDifferentSourceLeadList?: undefined;
|
|
4153
4175
|
includeRawImportResult?: undefined;
|
|
4154
4176
|
selections?: undefined;
|
|
4155
4177
|
selectionMode?: undefined;
|
package/dist/tools/leads.js
CHANGED
|
@@ -2239,6 +2239,10 @@ export const leadToolDefinitions = [
|
|
|
2239
2239
|
type: "boolean",
|
|
2240
2240
|
description: "Explicit override for user-approved early continuation. Default false. When true, confirm_lead_list may copy the currently materialized rows from a still-running source import; use only after the user explicitly asks to keep going with the partial list.",
|
|
2241
2241
|
},
|
|
2242
|
+
allowDifferentSourceLeadList: {
|
|
2243
|
+
type: "boolean",
|
|
2244
|
+
description: "Explicit override for bounded recovery/refill copies from a source list different from the campaign.selectedLeadListId. Use only when the operator intentionally approved that exact alternate source list.",
|
|
2245
|
+
},
|
|
2242
2246
|
confirmed: {
|
|
2243
2247
|
type: "boolean",
|
|
2244
2248
|
description: "Set true after user approval when interaction mode requires confirmation for confirm/import.",
|
|
@@ -4202,7 +4206,7 @@ export async function confirmLeadList(input) {
|
|
|
4202
4206
|
const api = getApi();
|
|
4203
4207
|
const workspaceId = normalizeExplicitWorkspaceId(input.workspaceId);
|
|
4204
4208
|
const requestOptions = workspaceRequestOptions(workspaceId);
|
|
4205
|
-
const { campaignOfferId, currentStep, confirmed, sourceLeadListId, campaignName, keepInSync, jobId, reviewBatchLimit, includeRawImportResult, allowPartialSourceList, targetLeadCount, sourceRowIds, sourceRowLimit, } = input;
|
|
4209
|
+
const { campaignOfferId, currentStep, confirmed, sourceLeadListId, campaignName, keepInSync, jobId, reviewBatchLimit, includeRawImportResult, allowPartialSourceList, allowDifferentSourceLeadList, targetLeadCount, sourceRowIds, sourceRowLimit, } = input;
|
|
4206
4210
|
assertInteractionApproval({
|
|
4207
4211
|
campaignId: campaignOfferId,
|
|
4208
4212
|
action: "confirm-lead-list",
|
|
@@ -4414,6 +4418,7 @@ export async function confirmLeadList(input) {
|
|
|
4414
4418
|
currentStep: null,
|
|
4415
4419
|
sourceRowIds,
|
|
4416
4420
|
sourceRowLimit,
|
|
4421
|
+
allowDifferentSourceLeadList,
|
|
4417
4422
|
...(workspaceId ? { workspaceId } : {}),
|
|
4418
4423
|
};
|
|
4419
4424
|
const importResult = await (requestOptions
|
package/dist/tools/registry.d.ts
CHANGED
|
@@ -1094,12 +1094,55 @@ export declare const allTools: ({
|
|
|
1094
1094
|
type: string;
|
|
1095
1095
|
description: string;
|
|
1096
1096
|
};
|
|
1097
|
+
name?: undefined;
|
|
1098
|
+
limit?: undefined;
|
|
1099
|
+
tableId?: undefined;
|
|
1100
|
+
leadLimit?: undefined;
|
|
1101
|
+
page?: undefined;
|
|
1102
|
+
filters?: undefined;
|
|
1103
|
+
clientProspectId?: undefined;
|
|
1104
|
+
senderLinkedinUrl?: undefined;
|
|
1105
|
+
offerPositioning?: undefined;
|
|
1106
|
+
campaignBrief?: undefined;
|
|
1107
|
+
messageGenerationMode?: undefined;
|
|
1108
|
+
currentStep?: undefined;
|
|
1109
|
+
watchNarration?: undefined;
|
|
1110
|
+
leadSourceType?: undefined;
|
|
1111
|
+
leadSourceProvider?: undefined;
|
|
1112
|
+
selectedLeadListId?: undefined;
|
|
1113
|
+
senderIds?: undefined;
|
|
1114
|
+
currentStepTransition?: undefined;
|
|
1115
|
+
clearCurrentStepIfMatches?: undefined;
|
|
1116
|
+
interactionMode?: undefined;
|
|
1117
|
+
enableICPFilters?: undefined;
|
|
1118
|
+
useMessagingTemplate?: undefined;
|
|
1119
|
+
rubric?: undefined;
|
|
1120
|
+
flowVersion?: undefined;
|
|
1121
|
+
workspaceId?: undefined;
|
|
1122
|
+
};
|
|
1123
|
+
required: string[];
|
|
1124
|
+
additionalProperties: boolean;
|
|
1125
|
+
};
|
|
1126
|
+
} | {
|
|
1127
|
+
name: string;
|
|
1128
|
+
description: string;
|
|
1129
|
+
inputSchema: {
|
|
1130
|
+
type: string;
|
|
1131
|
+
properties: {
|
|
1132
|
+
campaignId: {
|
|
1133
|
+
type: string;
|
|
1134
|
+
description: string;
|
|
1135
|
+
};
|
|
1136
|
+
name: {
|
|
1137
|
+
type: string;
|
|
1138
|
+
maxLength: number;
|
|
1139
|
+
description: string;
|
|
1140
|
+
};
|
|
1097
1141
|
limit?: undefined;
|
|
1098
1142
|
tableId?: undefined;
|
|
1099
1143
|
leadLimit?: undefined;
|
|
1100
1144
|
page?: undefined;
|
|
1101
1145
|
filters?: undefined;
|
|
1102
|
-
name?: undefined;
|
|
1103
1146
|
clientProspectId?: undefined;
|
|
1104
1147
|
senderLinkedinUrl?: undefined;
|
|
1105
1148
|
offerPositioning?: undefined;
|
|
@@ -1134,11 +1177,11 @@ export declare const allTools: ({
|
|
|
1134
1177
|
description: string;
|
|
1135
1178
|
};
|
|
1136
1179
|
campaignId?: undefined;
|
|
1180
|
+
name?: undefined;
|
|
1137
1181
|
tableId?: undefined;
|
|
1138
1182
|
leadLimit?: undefined;
|
|
1139
1183
|
page?: undefined;
|
|
1140
1184
|
filters?: undefined;
|
|
1141
|
-
name?: undefined;
|
|
1142
1185
|
clientProspectId?: undefined;
|
|
1143
1186
|
senderLinkedinUrl?: undefined;
|
|
1144
1187
|
offerPositioning?: undefined;
|
|
@@ -1172,12 +1215,12 @@ export declare const allTools: ({
|
|
|
1172
1215
|
type: string;
|
|
1173
1216
|
description: string;
|
|
1174
1217
|
};
|
|
1218
|
+
name?: undefined;
|
|
1175
1219
|
limit?: undefined;
|
|
1176
1220
|
tableId?: undefined;
|
|
1177
1221
|
leadLimit?: undefined;
|
|
1178
1222
|
page?: undefined;
|
|
1179
1223
|
filters?: undefined;
|
|
1180
|
-
name?: undefined;
|
|
1181
1224
|
clientProspectId?: undefined;
|
|
1182
1225
|
senderLinkedinUrl?: undefined;
|
|
1183
1226
|
offerPositioning?: undefined;
|
|
@@ -1258,8 +1301,8 @@ export declare const allTools: ({
|
|
|
1258
1301
|
additionalProperties: boolean;
|
|
1259
1302
|
};
|
|
1260
1303
|
};
|
|
1261
|
-
limit?: undefined;
|
|
1262
1304
|
name?: undefined;
|
|
1305
|
+
limit?: undefined;
|
|
1263
1306
|
clientProspectId?: undefined;
|
|
1264
1307
|
senderLinkedinUrl?: undefined;
|
|
1265
1308
|
offerPositioning?: undefined;
|
|
@@ -1296,6 +1339,7 @@ export declare const allTools: ({
|
|
|
1296
1339
|
name: {
|
|
1297
1340
|
type: string;
|
|
1298
1341
|
description: string;
|
|
1342
|
+
maxLength?: undefined;
|
|
1299
1343
|
};
|
|
1300
1344
|
clientProspectId: {
|
|
1301
1345
|
type: string;
|
|
@@ -1488,6 +1532,11 @@ export declare const allTools: ({
|
|
|
1488
1532
|
type: string;
|
|
1489
1533
|
description: string;
|
|
1490
1534
|
};
|
|
1535
|
+
name: {
|
|
1536
|
+
type: string;
|
|
1537
|
+
maxLength: number;
|
|
1538
|
+
description: string;
|
|
1539
|
+
};
|
|
1491
1540
|
offerPositioning: {
|
|
1492
1541
|
type: string;
|
|
1493
1542
|
description: string;
|
|
@@ -1675,7 +1724,6 @@ export declare const allTools: ({
|
|
|
1675
1724
|
leadLimit?: undefined;
|
|
1676
1725
|
page?: undefined;
|
|
1677
1726
|
filters?: undefined;
|
|
1678
|
-
name?: undefined;
|
|
1679
1727
|
clientProspectId?: undefined;
|
|
1680
1728
|
senderLinkedinUrl?: undefined;
|
|
1681
1729
|
messageGenerationMode?: undefined;
|
|
@@ -1698,12 +1746,12 @@ export declare const allTools: ({
|
|
|
1698
1746
|
type: string;
|
|
1699
1747
|
description: string;
|
|
1700
1748
|
};
|
|
1749
|
+
name?: undefined;
|
|
1701
1750
|
limit?: undefined;
|
|
1702
1751
|
tableId?: undefined;
|
|
1703
1752
|
leadLimit?: undefined;
|
|
1704
1753
|
page?: undefined;
|
|
1705
1754
|
filters?: undefined;
|
|
1706
|
-
name?: undefined;
|
|
1707
1755
|
clientProspectId?: undefined;
|
|
1708
1756
|
senderLinkedinUrl?: undefined;
|
|
1709
1757
|
offerPositioning?: undefined;
|
|
@@ -1740,12 +1788,12 @@ export declare const allTools: ({
|
|
|
1740
1788
|
type: string;
|
|
1741
1789
|
description: string;
|
|
1742
1790
|
};
|
|
1791
|
+
name?: undefined;
|
|
1743
1792
|
limit?: undefined;
|
|
1744
1793
|
tableId?: undefined;
|
|
1745
1794
|
leadLimit?: undefined;
|
|
1746
1795
|
page?: undefined;
|
|
1747
1796
|
filters?: undefined;
|
|
1748
|
-
name?: undefined;
|
|
1749
1797
|
clientProspectId?: undefined;
|
|
1750
1798
|
senderLinkedinUrl?: undefined;
|
|
1751
1799
|
offerPositioning?: undefined;
|
|
@@ -3186,6 +3234,7 @@ export declare const allTools: ({
|
|
|
3186
3234
|
sourceRowIds?: undefined;
|
|
3187
3235
|
sourceRowLimit?: undefined;
|
|
3188
3236
|
allowPartialSourceList?: undefined;
|
|
3237
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3189
3238
|
includeRawImportResult?: undefined;
|
|
3190
3239
|
selections?: undefined;
|
|
3191
3240
|
selectionMode?: undefined;
|
|
@@ -3383,6 +3432,7 @@ export declare const allTools: ({
|
|
|
3383
3432
|
sourceRowIds?: undefined;
|
|
3384
3433
|
sourceRowLimit?: undefined;
|
|
3385
3434
|
allowPartialSourceList?: undefined;
|
|
3435
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3386
3436
|
includeRawImportResult?: undefined;
|
|
3387
3437
|
selections?: undefined;
|
|
3388
3438
|
selectionMode?: undefined;
|
|
@@ -3479,6 +3529,7 @@ export declare const allTools: ({
|
|
|
3479
3529
|
sourceRowIds?: undefined;
|
|
3480
3530
|
sourceRowLimit?: undefined;
|
|
3481
3531
|
allowPartialSourceList?: undefined;
|
|
3532
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3482
3533
|
includeRawImportResult?: undefined;
|
|
3483
3534
|
selections?: undefined;
|
|
3484
3535
|
selectionMode?: undefined;
|
|
@@ -3647,6 +3698,7 @@ export declare const allTools: ({
|
|
|
3647
3698
|
sourceRowIds?: undefined;
|
|
3648
3699
|
sourceRowLimit?: undefined;
|
|
3649
3700
|
allowPartialSourceList?: undefined;
|
|
3701
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3650
3702
|
includeRawImportResult?: undefined;
|
|
3651
3703
|
selections?: undefined;
|
|
3652
3704
|
selectionMode?: undefined;
|
|
@@ -3757,6 +3809,7 @@ export declare const allTools: ({
|
|
|
3757
3809
|
sourceRowIds?: undefined;
|
|
3758
3810
|
sourceRowLimit?: undefined;
|
|
3759
3811
|
allowPartialSourceList?: undefined;
|
|
3812
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3760
3813
|
includeRawImportResult?: undefined;
|
|
3761
3814
|
selections?: undefined;
|
|
3762
3815
|
selectionMode?: undefined;
|
|
@@ -3876,6 +3929,7 @@ export declare const allTools: ({
|
|
|
3876
3929
|
sourceRowIds?: undefined;
|
|
3877
3930
|
sourceRowLimit?: undefined;
|
|
3878
3931
|
allowPartialSourceList?: undefined;
|
|
3932
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3879
3933
|
includeRawImportResult?: undefined;
|
|
3880
3934
|
selections?: undefined;
|
|
3881
3935
|
selectionMode?: undefined;
|
|
@@ -3984,6 +4038,7 @@ export declare const allTools: ({
|
|
|
3984
4038
|
sourceRowIds?: undefined;
|
|
3985
4039
|
sourceRowLimit?: undefined;
|
|
3986
4040
|
allowPartialSourceList?: undefined;
|
|
4041
|
+
allowDifferentSourceLeadList?: undefined;
|
|
3987
4042
|
includeRawImportResult?: undefined;
|
|
3988
4043
|
selections?: undefined;
|
|
3989
4044
|
selectionMode?: undefined;
|
|
@@ -4097,6 +4152,7 @@ export declare const allTools: ({
|
|
|
4097
4152
|
sourceRowIds?: undefined;
|
|
4098
4153
|
sourceRowLimit?: undefined;
|
|
4099
4154
|
allowPartialSourceList?: undefined;
|
|
4155
|
+
allowDifferentSourceLeadList?: undefined;
|
|
4100
4156
|
includeRawImportResult?: undefined;
|
|
4101
4157
|
selections?: undefined;
|
|
4102
4158
|
selectionMode?: undefined;
|
|
@@ -4198,6 +4254,7 @@ export declare const allTools: ({
|
|
|
4198
4254
|
sourceRowIds?: undefined;
|
|
4199
4255
|
sourceRowLimit?: undefined;
|
|
4200
4256
|
allowPartialSourceList?: undefined;
|
|
4257
|
+
allowDifferentSourceLeadList?: undefined;
|
|
4201
4258
|
includeRawImportResult?: undefined;
|
|
4202
4259
|
selections?: undefined;
|
|
4203
4260
|
selectionMode?: undefined;
|
|
@@ -5091,6 +5148,7 @@ export declare const allTools: ({
|
|
|
5091
5148
|
sourceRowIds?: undefined;
|
|
5092
5149
|
sourceRowLimit?: undefined;
|
|
5093
5150
|
allowPartialSourceList?: undefined;
|
|
5151
|
+
allowDifferentSourceLeadList?: undefined;
|
|
5094
5152
|
includeRawImportResult?: undefined;
|
|
5095
5153
|
selections?: undefined;
|
|
5096
5154
|
selectionMode?: undefined;
|
|
@@ -5201,6 +5259,7 @@ export declare const allTools: ({
|
|
|
5201
5259
|
sourceRowIds?: undefined;
|
|
5202
5260
|
sourceRowLimit?: undefined;
|
|
5203
5261
|
allowPartialSourceList?: undefined;
|
|
5262
|
+
allowDifferentSourceLeadList?: undefined;
|
|
5204
5263
|
includeRawImportResult?: undefined;
|
|
5205
5264
|
selections?: undefined;
|
|
5206
5265
|
selectionMode?: undefined;
|
|
@@ -6252,6 +6311,7 @@ export declare const allTools: ({
|
|
|
6252
6311
|
sourceRowIds?: undefined;
|
|
6253
6312
|
sourceRowLimit?: undefined;
|
|
6254
6313
|
allowPartialSourceList?: undefined;
|
|
6314
|
+
allowDifferentSourceLeadList?: undefined;
|
|
6255
6315
|
includeRawImportResult?: undefined;
|
|
6256
6316
|
selections?: undefined;
|
|
6257
6317
|
selectionMode?: undefined;
|
|
@@ -6409,6 +6469,7 @@ export declare const allTools: ({
|
|
|
6409
6469
|
sourceRowIds?: undefined;
|
|
6410
6470
|
sourceRowLimit?: undefined;
|
|
6411
6471
|
allowPartialSourceList?: undefined;
|
|
6472
|
+
allowDifferentSourceLeadList?: undefined;
|
|
6412
6473
|
includeRawImportResult?: undefined;
|
|
6413
6474
|
selections?: undefined;
|
|
6414
6475
|
selectionMode?: undefined;
|
|
@@ -6556,6 +6617,7 @@ export declare const allTools: ({
|
|
|
6556
6617
|
sourceRowIds?: undefined;
|
|
6557
6618
|
sourceRowLimit?: undefined;
|
|
6558
6619
|
allowPartialSourceList?: undefined;
|
|
6620
|
+
allowDifferentSourceLeadList?: undefined;
|
|
6559
6621
|
includeRawImportResult?: undefined;
|
|
6560
6622
|
selections?: undefined;
|
|
6561
6623
|
selectionMode?: undefined;
|
|
@@ -6658,6 +6720,7 @@ export declare const allTools: ({
|
|
|
6658
6720
|
sourceRowIds?: undefined;
|
|
6659
6721
|
sourceRowLimit?: undefined;
|
|
6660
6722
|
allowPartialSourceList?: undefined;
|
|
6723
|
+
allowDifferentSourceLeadList?: undefined;
|
|
6661
6724
|
includeRawImportResult?: undefined;
|
|
6662
6725
|
selections?: undefined;
|
|
6663
6726
|
selectionMode?: undefined;
|
|
@@ -6722,6 +6785,10 @@ export declare const allTools: ({
|
|
|
6722
6785
|
type: string;
|
|
6723
6786
|
description: string;
|
|
6724
6787
|
};
|
|
6788
|
+
allowDifferentSourceLeadList: {
|
|
6789
|
+
type: string;
|
|
6790
|
+
description: string;
|
|
6791
|
+
};
|
|
6725
6792
|
confirmed: {
|
|
6726
6793
|
type: string;
|
|
6727
6794
|
description: string;
|
|
@@ -6931,6 +6998,7 @@ export declare const allTools: ({
|
|
|
6931
6998
|
sourceRowIds?: undefined;
|
|
6932
6999
|
sourceRowLimit?: undefined;
|
|
6933
7000
|
allowPartialSourceList?: undefined;
|
|
7001
|
+
allowDifferentSourceLeadList?: undefined;
|
|
6934
7002
|
includeRawImportResult?: undefined;
|
|
6935
7003
|
};
|
|
6936
7004
|
required: string[];
|
|
@@ -7031,6 +7099,7 @@ export declare const allTools: ({
|
|
|
7031
7099
|
sourceRowIds?: undefined;
|
|
7032
7100
|
sourceRowLimit?: undefined;
|
|
7033
7101
|
allowPartialSourceList?: undefined;
|
|
7102
|
+
allowDifferentSourceLeadList?: undefined;
|
|
7034
7103
|
includeRawImportResult?: undefined;
|
|
7035
7104
|
selections?: undefined;
|
|
7036
7105
|
selectionMode?: undefined;
|