@elevasis/sdk 0.7.3 → 0.7.5

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/cli.cjs CHANGED
@@ -40230,7 +40230,7 @@ var GPT5OptionsSchema = external_exports.object({
40230
40230
  verbosity: external_exports.enum(["low", "medium", "high"]).optional()
40231
40231
  });
40232
40232
  var GPT5ConfigSchema = external_exports.object({
40233
- model: external_exports.enum(["gpt-5", "gpt-5-mini"]),
40233
+ model: external_exports.enum(["gpt-5", "gpt-5.4-mini", "gpt-5.4-nano"]),
40234
40234
  provider: external_exports.enum(["openai"]),
40235
40235
  apiKey: external_exports.string(),
40236
40236
  temperature: external_exports.literal(1),
@@ -40256,15 +40256,7 @@ var OpenRouterOptionsSchema = external_exports.object({
40256
40256
  route: external_exports.enum(["fallback"]).optional()
40257
40257
  });
40258
40258
  var OpenRouterConfigSchema = external_exports.object({
40259
- model: external_exports.enum([
40260
- "openrouter/anthropic/claude-sonnet-4.5",
40261
- "openrouter/deepseek/deepseek-v3.2",
40262
- "openrouter/x-ai/grok-4.1-fast",
40263
- "openrouter/minimax/minimax-m2.5",
40264
- "openrouter/qwen/qwen3.5-397b-a17b",
40265
- "openrouter/moonshotai/kimi-k2.5",
40266
- "openrouter/z-ai/glm-5"
40267
- ]),
40259
+ model: external_exports.enum(["openrouter/z-ai/glm-5"]),
40268
40260
  provider: external_exports.literal("openrouter"),
40269
40261
  apiKey: external_exports.string(),
40270
40262
  temperature: external_exports.number().min(0).max(2).optional(),
@@ -40287,7 +40279,7 @@ var GoogleConfigSchema = external_exports.object({
40287
40279
  });
40288
40280
  var AnthropicOptionsSchema = external_exports.object({});
40289
40281
  var AnthropicConfigSchema = external_exports.object({
40290
- model: external_exports.enum(["claude-opus-4-5", "claude-sonnet-4-5", "claude-haiku-4-5"]),
40282
+ model: external_exports.enum(["claude-sonnet-4-5"]),
40291
40283
  provider: external_exports.literal("anthropic"),
40292
40284
  apiKey: external_exports.string(),
40293
40285
  temperature: external_exports.number().min(0).max(1).optional(),
@@ -40307,23 +40299,34 @@ var MODEL_INFO = {
40307
40299
  // Reasoning models need more
40308
40300
  recommendedTokens: 8e3,
40309
40301
  maxTokens: 4e5,
40310
- // 128k context window
40302
+ // 400k context window
40311
40303
  category: "reasoning",
40312
40304
  configSchema: GPT5ConfigSchema
40313
40305
  },
40314
- "gpt-5-mini": {
40315
- inputCostPer1M: 25,
40316
- // $0.25 per 1M tokens
40317
- outputCostPer1M: 200,
40318
- // $2.00 per 1M tokens
40306
+ "gpt-5.4-mini": {
40307
+ inputCostPer1M: 75,
40308
+ // $0.75 per 1M tokens
40309
+ outputCostPer1M: 450,
40310
+ // $4.50 per 1M tokens
40319
40311
  minTokens: 4e3,
40320
40312
  // Reasoning models need more
40321
40313
  recommendedTokens: 8e3,
40322
40314
  maxTokens: 4e5,
40323
- // 128k context window
40315
+ // 400k context window
40324
40316
  category: "reasoning",
40325
40317
  configSchema: GPT5ConfigSchema
40326
- // Same schema as gpt-5
40318
+ },
40319
+ "gpt-5.4-nano": {
40320
+ inputCostPer1M: 20,
40321
+ // $0.20 per 1M tokens
40322
+ outputCostPer1M: 125,
40323
+ // $1.25 per 1M tokens
40324
+ minTokens: 4e3,
40325
+ recommendedTokens: 8e3,
40326
+ maxTokens: 4e5,
40327
+ // 400k context window
40328
+ category: "standard",
40329
+ configSchema: GPT5ConfigSchema
40327
40330
  },
40328
40331
  // Mock model for testing
40329
40332
  mock: {
@@ -40339,78 +40342,6 @@ var MODEL_INFO = {
40339
40342
  configSchema: MockConfigSchema
40340
40343
  },
40341
40344
  // OpenRouter Models (via openrouter.ai)
40342
- "openrouter/anthropic/claude-sonnet-4.5": {
40343
- inputCostPer1M: 300,
40344
- // $3.00 per 1M tokens
40345
- outputCostPer1M: 1500,
40346
- // $15.00 per 1M tokens
40347
- minTokens: 4e3,
40348
- recommendedTokens: 4e3,
40349
- maxTokens: 2e5,
40350
- // 200k context window
40351
- category: "standard",
40352
- configSchema: OpenRouterConfigSchema
40353
- },
40354
- "openrouter/deepseek/deepseek-v3.2": {
40355
- inputCostPer1M: 26,
40356
- // $0.26 per 1M tokens
40357
- outputCostPer1M: 39,
40358
- // $0.39 per 1M tokens
40359
- minTokens: 4e3,
40360
- recommendedTokens: 4e3,
40361
- maxTokens: 163840,
40362
- // 163,840 context window
40363
- category: "reasoning",
40364
- configSchema: OpenRouterConfigSchema
40365
- },
40366
- "openrouter/x-ai/grok-4.1-fast": {
40367
- inputCostPer1M: 20,
40368
- // $0.20 per 1M tokens
40369
- outputCostPer1M: 50,
40370
- // $0.50 per 1M tokens
40371
- minTokens: 4e3,
40372
- recommendedTokens: 4e3,
40373
- maxTokens: 2e6,
40374
- // 2M context window
40375
- category: "standard",
40376
- configSchema: OpenRouterConfigSchema
40377
- },
40378
- "openrouter/minimax/minimax-m2.5": {
40379
- inputCostPer1M: 25,
40380
- // $0.25 per 1M tokens
40381
- outputCostPer1M: 120,
40382
- // $1.20 per 1M tokens
40383
- minTokens: 4e3,
40384
- recommendedTokens: 4e3,
40385
- maxTokens: 196608,
40386
- // 196,608 context window
40387
- category: "standard",
40388
- configSchema: OpenRouterConfigSchema
40389
- },
40390
- "openrouter/qwen/qwen3.5-397b-a17b": {
40391
- inputCostPer1M: 39,
40392
- // $0.39 per 1M tokens
40393
- outputCostPer1M: 234,
40394
- // $2.34 per 1M tokens
40395
- minTokens: 4e3,
40396
- recommendedTokens: 4e3,
40397
- maxTokens: 262144,
40398
- // 262,144 context window
40399
- category: "standard",
40400
- configSchema: OpenRouterConfigSchema
40401
- },
40402
- "openrouter/moonshotai/kimi-k2.5": {
40403
- inputCostPer1M: 45,
40404
- // $0.45 per 1M tokens
40405
- outputCostPer1M: 220,
40406
- // $2.20 per 1M tokens
40407
- minTokens: 4e3,
40408
- recommendedTokens: 4e3,
40409
- maxTokens: 262144,
40410
- // 262,144 context window
40411
- category: "standard",
40412
- configSchema: OpenRouterConfigSchema
40413
- },
40414
40345
  "openrouter/z-ai/glm-5": {
40415
40346
  inputCostPer1M: 72,
40416
40347
  // $0.72 per 1M tokens
@@ -40449,19 +40380,6 @@ var MODEL_INFO = {
40449
40380
  configSchema: GoogleConfigSchema
40450
40381
  },
40451
40382
  // Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
40452
- // Using aliases - automatically points to latest versions
40453
- "claude-opus-4-5": {
40454
- inputCostPer1M: 1500,
40455
- // $15.00 per 1M tokens
40456
- outputCostPer1M: 7500,
40457
- // $75.00 per 1M tokens
40458
- minTokens: 4e3,
40459
- recommendedTokens: 8e3,
40460
- maxTokens: 2e5,
40461
- // 200k context window
40462
- category: "reasoning",
40463
- configSchema: AnthropicConfigSchema
40464
- },
40465
40383
  "claude-sonnet-4-5": {
40466
40384
  inputCostPer1M: 300,
40467
40385
  // $3.00 per 1M tokens
@@ -40473,18 +40391,6 @@ var MODEL_INFO = {
40473
40391
  // 200k context window
40474
40392
  category: "standard",
40475
40393
  configSchema: AnthropicConfigSchema
40476
- },
40477
- "claude-haiku-4-5": {
40478
- inputCostPer1M: 80,
40479
- // $0.80 per 1M tokens
40480
- outputCostPer1M: 400,
40481
- // $4.00 per 1M tokens
40482
- minTokens: 2e3,
40483
- recommendedTokens: 4e3,
40484
- maxTokens: 2e5,
40485
- // 200k context window
40486
- category: "standard",
40487
- configSchema: AnthropicConfigSchema
40488
40394
  }
40489
40395
  };
40490
40396
  function getModelInfo(model) {
@@ -43977,7 +43883,7 @@ function wrapAction(commandName, fn) {
43977
43883
  // package.json
43978
43884
  var package_default = {
43979
43885
  name: "@elevasis/sdk",
43980
- version: "0.7.3",
43886
+ version: "0.7.5",
43981
43887
  description: "SDK for building Elevasis organization resources",
43982
43888
  type: "module",
43983
43889
  bin: {
package/dist/index.d.ts CHANGED
@@ -580,20 +580,19 @@ interface SerializedWorkflowDefinition {
580
580
  /**
581
581
  * Supported Open AI models (direct SDK access)
582
582
  */
583
- type OpenAIModel = 'gpt-5' | 'gpt-5-mini';
583
+ type OpenAIModel = 'gpt-5' | 'gpt-5.4-mini' | 'gpt-5.4-nano';
584
584
  /**
585
585
  * Supported OpenRouter models (explicit union for type safety)
586
586
  */
587
- type OpenRouterModel = 'openrouter/anthropic/claude-sonnet-4.5' | 'openrouter/deepseek/deepseek-v3.2' | 'openrouter/x-ai/grok-4.1-fast' | 'openrouter/minimax/minimax-m2.5' | 'openrouter/qwen/qwen3.5-397b-a17b' | 'openrouter/moonshotai/kimi-k2.5' | 'openrouter/z-ai/glm-5';
587
+ type OpenRouterModel = 'openrouter/z-ai/glm-5';
588
588
  /**
589
589
  * Supported Google models (direct SDK access)
590
590
  */
591
591
  type GoogleModel = 'gemini-3-flash-preview' | 'gemini-3.1-flash-lite-preview';
592
592
  /**
593
593
  * Supported Anthropic models (direct SDK access via @anthropic-ai/sdk)
594
- * Using aliases for automatic updates to latest versions
595
594
  */
596
- type AnthropicModel = 'claude-opus-4-5' | 'claude-sonnet-4-5' | 'claude-haiku-4-5';
595
+ type AnthropicModel = 'claude-sonnet-4-5';
597
596
  /** Supported LLM models */
598
597
  type LLMModel = OpenAIModel | OpenRouterModel | GoogleModel | AnthropicModel | 'mock';
599
598
  /**
@@ -1520,25 +1519,46 @@ type Database = {
1520
1519
  };
1521
1520
  acq_lists: {
1522
1521
  Row: {
1522
+ batch_id: string | null;
1523
+ completed_at: string | null;
1523
1524
  created_at: string;
1524
1525
  description: string | null;
1525
1526
  id: string;
1527
+ instantly_campaign_id: string | null;
1528
+ launched_at: string | null;
1529
+ metadata: Json;
1526
1530
  name: string;
1527
1531
  organization_id: string;
1532
+ status: string;
1533
+ type: string;
1528
1534
  };
1529
1535
  Insert: {
1536
+ batch_id?: string | null;
1537
+ completed_at?: string | null;
1530
1538
  created_at?: string;
1531
1539
  description?: string | null;
1532
1540
  id?: string;
1541
+ instantly_campaign_id?: string | null;
1542
+ launched_at?: string | null;
1543
+ metadata?: Json;
1533
1544
  name: string;
1534
1545
  organization_id: string;
1546
+ status?: string;
1547
+ type?: string;
1535
1548
  };
1536
1549
  Update: {
1550
+ batch_id?: string | null;
1551
+ completed_at?: string | null;
1537
1552
  created_at?: string;
1538
1553
  description?: string | null;
1539
1554
  id?: string;
1555
+ instantly_campaign_id?: string | null;
1556
+ launched_at?: string | null;
1557
+ metadata?: Json;
1540
1558
  name?: string;
1541
1559
  organization_id?: string;
1560
+ status?: string;
1561
+ type?: string;
1542
1562
  };
1543
1563
  Relationships: [
1544
1564
  {
@@ -3381,6 +3401,13 @@ interface AcqList {
3381
3401
  organizationId: string;
3382
3402
  name: string;
3383
3403
  description: string | null;
3404
+ type: string;
3405
+ batchId: string | null;
3406
+ instantlyCampaignId: string | null;
3407
+ status: string;
3408
+ metadata: Record<string, unknown>;
3409
+ launchedAt: Date | null;
3410
+ completedAt: Date | null;
3384
3411
  createdAt: Date;
3385
3412
  }
3386
3413
  /**
@@ -3457,6 +3484,11 @@ interface CreateListParams {
3457
3484
  organizationId: string;
3458
3485
  name: string;
3459
3486
  description?: string;
3487
+ type?: string;
3488
+ batchId?: string;
3489
+ instantlyCampaignId?: string;
3490
+ status?: string;
3491
+ metadata?: Record<string, unknown>;
3460
3492
  }
3461
3493
  interface UpdateListParams {
3462
3494
  name?: string;
@@ -3642,6 +3674,15 @@ interface AcqDeal {
3642
3674
  createdAt: Date;
3643
3675
  updatedAt: Date;
3644
3676
  }
3677
+ interface AddContactsToListParams {
3678
+ organizationId: string;
3679
+ listId: string;
3680
+ contactIds: string[];
3681
+ }
3682
+ interface AddContactsToListResult {
3683
+ added: number;
3684
+ alreadyExisted: number;
3685
+ }
3645
3686
  interface BulkImportParams {
3646
3687
  organizationId: string;
3647
3688
  contacts: CreateContactParams[];
@@ -4793,6 +4834,19 @@ interface BulkDeleteLeadsParams {
4793
4834
  interface BulkDeleteLeadsResult {
4794
4835
  deleted_count: number;
4795
4836
  }
4837
+ /**
4838
+ * Delete campaign parameters
4839
+ */
4840
+ interface DeleteCampaignParams {
4841
+ campaign_id: string;
4842
+ }
4843
+ /**
4844
+ * Delete campaign result
4845
+ */
4846
+ interface DeleteCampaignResult {
4847
+ success: boolean;
4848
+ campaign_id: string;
4849
+ }
4796
4850
 
4797
4851
  /**
4798
4852
  * Shared Mailso param/result types (browser-safe)
@@ -5791,6 +5845,10 @@ type InstantlyToolMap = {
5791
5845
  params: BulkDeleteLeadsParams;
5792
5846
  result: BulkDeleteLeadsResult;
5793
5847
  };
5848
+ deleteCampaign: {
5849
+ params: DeleteCampaignParams;
5850
+ result: DeleteCampaignResult;
5851
+ };
5794
5852
  };
5795
5853
  type MailsoToolMap = {
5796
5854
  verifyEmail: {
@@ -5851,6 +5909,10 @@ type LeadToolMap = {
5851
5909
  };
5852
5910
  result: void;
5853
5911
  };
5912
+ addContactsToList: {
5913
+ params: Omit<AddContactsToListParams, 'organizationId'>;
5914
+ result: AddContactsToListResult;
5915
+ };
5854
5916
  createCompany: {
5855
5917
  params: Omit<CreateCompanyParams, 'organizationId'>;
5856
5918
  result: AcqCompany;
package/dist/index.js CHANGED
@@ -201,7 +201,7 @@ var GPT5OptionsSchema = z.object({
201
201
  verbosity: z.enum(["low", "medium", "high"]).optional()
202
202
  });
203
203
  var GPT5ConfigSchema = z.object({
204
- model: z.enum(["gpt-5", "gpt-5-mini"]),
204
+ model: z.enum(["gpt-5", "gpt-5.4-mini", "gpt-5.4-nano"]),
205
205
  provider: z.enum(["openai"]),
206
206
  apiKey: z.string(),
207
207
  temperature: z.literal(1),
@@ -227,15 +227,7 @@ var OpenRouterOptionsSchema = z.object({
227
227
  route: z.enum(["fallback"]).optional()
228
228
  });
229
229
  var OpenRouterConfigSchema = z.object({
230
- model: z.enum([
231
- "openrouter/anthropic/claude-sonnet-4.5",
232
- "openrouter/deepseek/deepseek-v3.2",
233
- "openrouter/x-ai/grok-4.1-fast",
234
- "openrouter/minimax/minimax-m2.5",
235
- "openrouter/qwen/qwen3.5-397b-a17b",
236
- "openrouter/moonshotai/kimi-k2.5",
237
- "openrouter/z-ai/glm-5"
238
- ]),
230
+ model: z.enum(["openrouter/z-ai/glm-5"]),
239
231
  provider: z.literal("openrouter"),
240
232
  apiKey: z.string(),
241
233
  temperature: z.number().min(0).max(2).optional(),
@@ -258,7 +250,7 @@ var GoogleConfigSchema = z.object({
258
250
  });
259
251
  var AnthropicOptionsSchema = z.object({});
260
252
  var AnthropicConfigSchema = z.object({
261
- model: z.enum(["claude-opus-4-5", "claude-sonnet-4-5", "claude-haiku-4-5"]),
253
+ model: z.enum(["claude-sonnet-4-5"]),
262
254
  provider: z.literal("anthropic"),
263
255
  apiKey: z.string(),
264
256
  temperature: z.number().min(0).max(1).optional(),
@@ -278,23 +270,34 @@ var MODEL_INFO = {
278
270
  // Reasoning models need more
279
271
  recommendedTokens: 8e3,
280
272
  maxTokens: 4e5,
281
- // 128k context window
273
+ // 400k context window
282
274
  category: "reasoning",
283
275
  configSchema: GPT5ConfigSchema
284
276
  },
285
- "gpt-5-mini": {
286
- inputCostPer1M: 25,
287
- // $0.25 per 1M tokens
288
- outputCostPer1M: 200,
289
- // $2.00 per 1M tokens
277
+ "gpt-5.4-mini": {
278
+ inputCostPer1M: 75,
279
+ // $0.75 per 1M tokens
280
+ outputCostPer1M: 450,
281
+ // $4.50 per 1M tokens
290
282
  minTokens: 4e3,
291
283
  // Reasoning models need more
292
284
  recommendedTokens: 8e3,
293
285
  maxTokens: 4e5,
294
- // 128k context window
286
+ // 400k context window
295
287
  category: "reasoning",
296
288
  configSchema: GPT5ConfigSchema
297
- // Same schema as gpt-5
289
+ },
290
+ "gpt-5.4-nano": {
291
+ inputCostPer1M: 20,
292
+ // $0.20 per 1M tokens
293
+ outputCostPer1M: 125,
294
+ // $1.25 per 1M tokens
295
+ minTokens: 4e3,
296
+ recommendedTokens: 8e3,
297
+ maxTokens: 4e5,
298
+ // 400k context window
299
+ category: "standard",
300
+ configSchema: GPT5ConfigSchema
298
301
  },
299
302
  // Mock model for testing
300
303
  mock: {
@@ -310,78 +313,6 @@ var MODEL_INFO = {
310
313
  configSchema: MockConfigSchema
311
314
  },
312
315
  // OpenRouter Models (via openrouter.ai)
313
- "openrouter/anthropic/claude-sonnet-4.5": {
314
- inputCostPer1M: 300,
315
- // $3.00 per 1M tokens
316
- outputCostPer1M: 1500,
317
- // $15.00 per 1M tokens
318
- minTokens: 4e3,
319
- recommendedTokens: 4e3,
320
- maxTokens: 2e5,
321
- // 200k context window
322
- category: "standard",
323
- configSchema: OpenRouterConfigSchema
324
- },
325
- "openrouter/deepseek/deepseek-v3.2": {
326
- inputCostPer1M: 26,
327
- // $0.26 per 1M tokens
328
- outputCostPer1M: 39,
329
- // $0.39 per 1M tokens
330
- minTokens: 4e3,
331
- recommendedTokens: 4e3,
332
- maxTokens: 163840,
333
- // 163,840 context window
334
- category: "reasoning",
335
- configSchema: OpenRouterConfigSchema
336
- },
337
- "openrouter/x-ai/grok-4.1-fast": {
338
- inputCostPer1M: 20,
339
- // $0.20 per 1M tokens
340
- outputCostPer1M: 50,
341
- // $0.50 per 1M tokens
342
- minTokens: 4e3,
343
- recommendedTokens: 4e3,
344
- maxTokens: 2e6,
345
- // 2M context window
346
- category: "standard",
347
- configSchema: OpenRouterConfigSchema
348
- },
349
- "openrouter/minimax/minimax-m2.5": {
350
- inputCostPer1M: 25,
351
- // $0.25 per 1M tokens
352
- outputCostPer1M: 120,
353
- // $1.20 per 1M tokens
354
- minTokens: 4e3,
355
- recommendedTokens: 4e3,
356
- maxTokens: 196608,
357
- // 196,608 context window
358
- category: "standard",
359
- configSchema: OpenRouterConfigSchema
360
- },
361
- "openrouter/qwen/qwen3.5-397b-a17b": {
362
- inputCostPer1M: 39,
363
- // $0.39 per 1M tokens
364
- outputCostPer1M: 234,
365
- // $2.34 per 1M tokens
366
- minTokens: 4e3,
367
- recommendedTokens: 4e3,
368
- maxTokens: 262144,
369
- // 262,144 context window
370
- category: "standard",
371
- configSchema: OpenRouterConfigSchema
372
- },
373
- "openrouter/moonshotai/kimi-k2.5": {
374
- inputCostPer1M: 45,
375
- // $0.45 per 1M tokens
376
- outputCostPer1M: 220,
377
- // $2.20 per 1M tokens
378
- minTokens: 4e3,
379
- recommendedTokens: 4e3,
380
- maxTokens: 262144,
381
- // 262,144 context window
382
- category: "standard",
383
- configSchema: OpenRouterConfigSchema
384
- },
385
316
  "openrouter/z-ai/glm-5": {
386
317
  inputCostPer1M: 72,
387
318
  // $0.72 per 1M tokens
@@ -420,19 +351,6 @@ var MODEL_INFO = {
420
351
  configSchema: GoogleConfigSchema
421
352
  },
422
353
  // Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
423
- // Using aliases - automatically points to latest versions
424
- "claude-opus-4-5": {
425
- inputCostPer1M: 1500,
426
- // $15.00 per 1M tokens
427
- outputCostPer1M: 7500,
428
- // $75.00 per 1M tokens
429
- minTokens: 4e3,
430
- recommendedTokens: 8e3,
431
- maxTokens: 2e5,
432
- // 200k context window
433
- category: "reasoning",
434
- configSchema: AnthropicConfigSchema
435
- },
436
354
  "claude-sonnet-4-5": {
437
355
  inputCostPer1M: 300,
438
356
  // $3.00 per 1M tokens
@@ -444,18 +362,6 @@ var MODEL_INFO = {
444
362
  // 200k context window
445
363
  category: "standard",
446
364
  configSchema: AnthropicConfigSchema
447
- },
448
- "claude-haiku-4-5": {
449
- inputCostPer1M: 80,
450
- // $0.80 per 1M tokens
451
- outputCostPer1M: 400,
452
- // $4.00 per 1M tokens
453
- minTokens: 2e3,
454
- recommendedTokens: 4e3,
455
- maxTokens: 2e5,
456
- // 200k context window
457
- category: "standard",
458
- configSchema: AnthropicConfigSchema
459
365
  }
460
366
  };
461
367
  function getModelInfo(model) {
@@ -2595,7 +2595,7 @@ var GPT5OptionsSchema = z.object({
2595
2595
  verbosity: z.enum(["low", "medium", "high"]).optional()
2596
2596
  });
2597
2597
  var GPT5ConfigSchema = z.object({
2598
- model: z.enum(["gpt-5", "gpt-5-mini"]),
2598
+ model: z.enum(["gpt-5", "gpt-5.4-mini", "gpt-5.4-nano"]),
2599
2599
  provider: z.enum(["openai"]),
2600
2600
  apiKey: z.string(),
2601
2601
  temperature: z.literal(1),
@@ -2621,15 +2621,7 @@ var OpenRouterOptionsSchema = z.object({
2621
2621
  route: z.enum(["fallback"]).optional()
2622
2622
  });
2623
2623
  var OpenRouterConfigSchema = z.object({
2624
- model: z.enum([
2625
- "openrouter/anthropic/claude-sonnet-4.5",
2626
- "openrouter/deepseek/deepseek-v3.2",
2627
- "openrouter/x-ai/grok-4.1-fast",
2628
- "openrouter/minimax/minimax-m2.5",
2629
- "openrouter/qwen/qwen3.5-397b-a17b",
2630
- "openrouter/moonshotai/kimi-k2.5",
2631
- "openrouter/z-ai/glm-5"
2632
- ]),
2624
+ model: z.enum(["openrouter/z-ai/glm-5"]),
2633
2625
  provider: z.literal("openrouter"),
2634
2626
  apiKey: z.string(),
2635
2627
  temperature: z.number().min(0).max(2).optional(),
@@ -2652,7 +2644,7 @@ var GoogleConfigSchema = z.object({
2652
2644
  });
2653
2645
  var AnthropicOptionsSchema = z.object({});
2654
2646
  var AnthropicConfigSchema = z.object({
2655
- model: z.enum(["claude-opus-4-5", "claude-sonnet-4-5", "claude-haiku-4-5"]),
2647
+ model: z.enum(["claude-sonnet-4-5"]),
2656
2648
  provider: z.literal("anthropic"),
2657
2649
  apiKey: z.string(),
2658
2650
  temperature: z.number().min(0).max(1).optional(),
@@ -2672,23 +2664,34 @@ var MODEL_INFO = {
2672
2664
  // Reasoning models need more
2673
2665
  recommendedTokens: 8e3,
2674
2666
  maxTokens: 4e5,
2675
- // 128k context window
2667
+ // 400k context window
2676
2668
  category: "reasoning",
2677
2669
  configSchema: GPT5ConfigSchema
2678
2670
  },
2679
- "gpt-5-mini": {
2680
- inputCostPer1M: 25,
2681
- // $0.25 per 1M tokens
2682
- outputCostPer1M: 200,
2683
- // $2.00 per 1M tokens
2671
+ "gpt-5.4-mini": {
2672
+ inputCostPer1M: 75,
2673
+ // $0.75 per 1M tokens
2674
+ outputCostPer1M: 450,
2675
+ // $4.50 per 1M tokens
2684
2676
  minTokens: 4e3,
2685
2677
  // Reasoning models need more
2686
2678
  recommendedTokens: 8e3,
2687
2679
  maxTokens: 4e5,
2688
- // 128k context window
2680
+ // 400k context window
2689
2681
  category: "reasoning",
2690
2682
  configSchema: GPT5ConfigSchema
2691
- // Same schema as gpt-5
2683
+ },
2684
+ "gpt-5.4-nano": {
2685
+ inputCostPer1M: 20,
2686
+ // $0.20 per 1M tokens
2687
+ outputCostPer1M: 125,
2688
+ // $1.25 per 1M tokens
2689
+ minTokens: 4e3,
2690
+ recommendedTokens: 8e3,
2691
+ maxTokens: 4e5,
2692
+ // 400k context window
2693
+ category: "standard",
2694
+ configSchema: GPT5ConfigSchema
2692
2695
  },
2693
2696
  // Mock model for testing
2694
2697
  mock: {
@@ -2704,78 +2707,6 @@ var MODEL_INFO = {
2704
2707
  configSchema: MockConfigSchema
2705
2708
  },
2706
2709
  // OpenRouter Models (via openrouter.ai)
2707
- "openrouter/anthropic/claude-sonnet-4.5": {
2708
- inputCostPer1M: 300,
2709
- // $3.00 per 1M tokens
2710
- outputCostPer1M: 1500,
2711
- // $15.00 per 1M tokens
2712
- minTokens: 4e3,
2713
- recommendedTokens: 4e3,
2714
- maxTokens: 2e5,
2715
- // 200k context window
2716
- category: "standard",
2717
- configSchema: OpenRouterConfigSchema
2718
- },
2719
- "openrouter/deepseek/deepseek-v3.2": {
2720
- inputCostPer1M: 26,
2721
- // $0.26 per 1M tokens
2722
- outputCostPer1M: 39,
2723
- // $0.39 per 1M tokens
2724
- minTokens: 4e3,
2725
- recommendedTokens: 4e3,
2726
- maxTokens: 163840,
2727
- // 163,840 context window
2728
- category: "reasoning",
2729
- configSchema: OpenRouterConfigSchema
2730
- },
2731
- "openrouter/x-ai/grok-4.1-fast": {
2732
- inputCostPer1M: 20,
2733
- // $0.20 per 1M tokens
2734
- outputCostPer1M: 50,
2735
- // $0.50 per 1M tokens
2736
- minTokens: 4e3,
2737
- recommendedTokens: 4e3,
2738
- maxTokens: 2e6,
2739
- // 2M context window
2740
- category: "standard",
2741
- configSchema: OpenRouterConfigSchema
2742
- },
2743
- "openrouter/minimax/minimax-m2.5": {
2744
- inputCostPer1M: 25,
2745
- // $0.25 per 1M tokens
2746
- outputCostPer1M: 120,
2747
- // $1.20 per 1M tokens
2748
- minTokens: 4e3,
2749
- recommendedTokens: 4e3,
2750
- maxTokens: 196608,
2751
- // 196,608 context window
2752
- category: "standard",
2753
- configSchema: OpenRouterConfigSchema
2754
- },
2755
- "openrouter/qwen/qwen3.5-397b-a17b": {
2756
- inputCostPer1M: 39,
2757
- // $0.39 per 1M tokens
2758
- outputCostPer1M: 234,
2759
- // $2.34 per 1M tokens
2760
- minTokens: 4e3,
2761
- recommendedTokens: 4e3,
2762
- maxTokens: 262144,
2763
- // 262,144 context window
2764
- category: "standard",
2765
- configSchema: OpenRouterConfigSchema
2766
- },
2767
- "openrouter/moonshotai/kimi-k2.5": {
2768
- inputCostPer1M: 45,
2769
- // $0.45 per 1M tokens
2770
- outputCostPer1M: 220,
2771
- // $2.20 per 1M tokens
2772
- minTokens: 4e3,
2773
- recommendedTokens: 4e3,
2774
- maxTokens: 262144,
2775
- // 262,144 context window
2776
- category: "standard",
2777
- configSchema: OpenRouterConfigSchema
2778
- },
2779
2710
  "openrouter/z-ai/glm-5": {
2780
2711
  inputCostPer1M: 72,
2781
2712
  // $0.72 per 1M tokens
@@ -2814,19 +2745,6 @@ var MODEL_INFO = {
2814
2745
  configSchema: GoogleConfigSchema
2815
2746
  },
2816
2747
  // Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
2817
- // Using aliases - automatically points to latest versions
2818
- "claude-opus-4-5": {
2819
- inputCostPer1M: 1500,
2820
- // $15.00 per 1M tokens
2821
- outputCostPer1M: 7500,
2822
- // $75.00 per 1M tokens
2823
- minTokens: 4e3,
2824
- recommendedTokens: 8e3,
2825
- maxTokens: 2e5,
2826
- // 200k context window
2827
- category: "reasoning",
2828
- configSchema: AnthropicConfigSchema
2829
- },
2830
2748
  "claude-sonnet-4-5": {
2831
2749
  inputCostPer1M: 300,
2832
2750
  // $3.00 per 1M tokens
@@ -2838,18 +2756,6 @@ var MODEL_INFO = {
2838
2756
  // 200k context window
2839
2757
  category: "standard",
2840
2758
  configSchema: AnthropicConfigSchema
2841
- },
2842
- "claude-haiku-4-5": {
2843
- inputCostPer1M: 80,
2844
- // $0.80 per 1M tokens
2845
- outputCostPer1M: 400,
2846
- // $4.00 per 1M tokens
2847
- minTokens: 2e3,
2848
- recommendedTokens: 4e3,
2849
- maxTokens: 2e5,
2850
- // 200k context window
2851
- category: "standard",
2852
- configSchema: AnthropicConfigSchema
2853
2759
  }
2854
2760
  };
2855
2761
  function getModelInfo(model) {
@@ -4946,7 +4852,8 @@ var METHODS6 = [
4946
4852
  "createCampaign",
4947
4853
  "getDailyCampaignAnalytics",
4948
4854
  "listLeads",
4949
- "bulkDeleteLeads"
4855
+ "bulkDeleteLeads",
4856
+ "deleteCampaign"
4950
4857
  ];
4951
4858
  function createInstantlyAdapter(credential) {
4952
4859
  return createAdapter("instantly", METHODS6, credential);
@@ -5065,6 +4972,7 @@ var lead = createAdapter("lead", [
5065
4972
  "createList",
5066
4973
  "updateList",
5067
4974
  "deleteList",
4975
+ "addContactsToList",
5068
4976
  // Company operations
5069
4977
  "createCompany",
5070
4978
  "upsertCompany",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,7 @@ Typed adapters are ergonomic wrappers over `platform.call()` that provide full T
8
8
 
9
9
  Both patterns work simultaneously -- adapters compile down to `platform.call()` with zero runtime overhead.
10
10
 
11
- **Coverage:** 11 integration adapters (55 methods) + 9 platform tool adapters (57 methods) = 112 total typed methods.
11
+ **Coverage:** 12 integration adapters (58 methods) + 9 platform tool adapters (57 methods) = 115 total typed methods.
12
12
 
13
13
  ```typescript
14
14
  // Before: raw platform.call()
@@ -46,6 +46,7 @@ All adapters are imported from `@elevasis/sdk/worker` -- the same subpath as `pl
46
46
  | `createApifyAdapter(cred)` | 1 |
47
47
  | `createGmailAdapter(cred)` | 1 |
48
48
  | `createMailsoAdapter(cred)` | 1 |
49
+ | `createTombaAdapter(cred)` | 3 |
49
50
 
50
51
  ### Platform Adapters (singletons, no credential)
51
52
 
@@ -74,6 +75,7 @@ import {
74
75
  createGoogleSheetsAdapter, createInstantlyAdapter,
75
76
  createSignatureApiAdapter, createResendAdapter, createDropboxAdapter,
76
77
  createApifyAdapter, createGmailAdapter, createMailsoAdapter,
78
+ createTombaAdapter,
77
79
  // Platform adapters
78
80
  lead, scheduler, storage, pdf, approval, notifications, llm, execution, email,
79
81
  // Generic factory
@@ -353,6 +355,43 @@ const mailso = createMailsoAdapter('my-mailso-credential')
353
355
 
354
356
  ---
355
357
 
358
+ ## Tomba Adapter
359
+
360
+ Factory pattern -- 3 methods for email discovery and verification.
361
+
362
+ ```typescript
363
+ const tomba = createTombaAdapter('elevasis-tomba')
364
+ ```
365
+
366
+ **Credential type:** `api-key-secret` (requires both API Key and API Secret)
367
+
368
+ ### Methods
369
+
370
+ | Method | Params | Returns |
371
+ | --------------- | -------------------------- | -------------------------- |
372
+ | `emailFinder` | `TombaEmailFinderParams` | `TombaEmailFinderResult` |
373
+ | `domainSearch` | `TombaDomainSearchParams` | `TombaDomainSearchResult` |
374
+ | `emailVerifier` | `TombaEmailVerifierParams` | `TombaEmailVerifierResult` |
375
+
376
+ ### Examples
377
+
378
+ ```typescript
379
+ // Find email by name + domain
380
+ const found = await tomba.emailFinder({
381
+ domain: 'stripe.com',
382
+ firstName: 'John',
383
+ lastName: 'Doe',
384
+ })
385
+
386
+ // List all emails at a domain (up to 10)
387
+ const results = await tomba.domainSearch({ domain: 'stripe.com' })
388
+
389
+ // Verify a known email address
390
+ const verified = await tomba.emailVerifier({ email: 'john@stripe.com' })
391
+ ```
392
+
393
+ ---
394
+
356
395
  ## Scheduler Adapter
357
396
 
358
397
  Singleton -- 9 methods for task schedule management.