@elevasis/sdk 0.6.4 → 0.6.6
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 +54 -2
- package/dist/index.d.ts +17 -1
- package/dist/index.js +53 -1
- package/dist/worker/index.js +53 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -40246,7 +40246,11 @@ var OpenRouterConfigSchema = external_exports.object({
|
|
|
40246
40246
|
model: external_exports.enum([
|
|
40247
40247
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
40248
40248
|
"openrouter/deepseek/deepseek-v3.2",
|
|
40249
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
40249
|
+
"openrouter/x-ai/grok-4.1-fast",
|
|
40250
|
+
"openrouter/minimax/minimax-m2.5",
|
|
40251
|
+
"openrouter/qwen/qwen3.5-397b-a17b",
|
|
40252
|
+
"openrouter/moonshotai/kimi-k2.5",
|
|
40253
|
+
"openrouter/z-ai/glm-5"
|
|
40250
40254
|
]),
|
|
40251
40255
|
provider: external_exports.literal("openrouter"),
|
|
40252
40256
|
apiKey: external_exports.string(),
|
|
@@ -40358,6 +40362,54 @@ var MODEL_INFO = {
|
|
|
40358
40362
|
category: "standard",
|
|
40359
40363
|
configSchema: OpenRouterConfigSchema
|
|
40360
40364
|
},
|
|
40365
|
+
"openrouter/minimax/minimax-m2.5": {
|
|
40366
|
+
inputCostPer1M: 25,
|
|
40367
|
+
// $0.25 per 1M tokens
|
|
40368
|
+
outputCostPer1M: 120,
|
|
40369
|
+
// $1.20 per 1M tokens
|
|
40370
|
+
minTokens: 4e3,
|
|
40371
|
+
recommendedTokens: 4e3,
|
|
40372
|
+
maxTokens: 196608,
|
|
40373
|
+
// 196,608 context window
|
|
40374
|
+
category: "standard",
|
|
40375
|
+
configSchema: OpenRouterConfigSchema
|
|
40376
|
+
},
|
|
40377
|
+
"openrouter/qwen/qwen3.5-397b-a17b": {
|
|
40378
|
+
inputCostPer1M: 39,
|
|
40379
|
+
// $0.39 per 1M tokens
|
|
40380
|
+
outputCostPer1M: 234,
|
|
40381
|
+
// $2.34 per 1M tokens
|
|
40382
|
+
minTokens: 4e3,
|
|
40383
|
+
recommendedTokens: 4e3,
|
|
40384
|
+
maxTokens: 262144,
|
|
40385
|
+
// 262,144 context window
|
|
40386
|
+
category: "standard",
|
|
40387
|
+
configSchema: OpenRouterConfigSchema
|
|
40388
|
+
},
|
|
40389
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
40390
|
+
inputCostPer1M: 45,
|
|
40391
|
+
// $0.45 per 1M tokens
|
|
40392
|
+
outputCostPer1M: 220,
|
|
40393
|
+
// $2.20 per 1M tokens
|
|
40394
|
+
minTokens: 4e3,
|
|
40395
|
+
recommendedTokens: 4e3,
|
|
40396
|
+
maxTokens: 262144,
|
|
40397
|
+
// 262,144 context window
|
|
40398
|
+
category: "standard",
|
|
40399
|
+
configSchema: OpenRouterConfigSchema
|
|
40400
|
+
},
|
|
40401
|
+
"openrouter/z-ai/glm-5": {
|
|
40402
|
+
inputCostPer1M: 72,
|
|
40403
|
+
// $0.72 per 1M tokens
|
|
40404
|
+
outputCostPer1M: 230,
|
|
40405
|
+
// $2.30 per 1M tokens
|
|
40406
|
+
minTokens: 4e3,
|
|
40407
|
+
recommendedTokens: 4e3,
|
|
40408
|
+
maxTokens: 202752,
|
|
40409
|
+
// 202,752 context window
|
|
40410
|
+
category: "standard",
|
|
40411
|
+
configSchema: OpenRouterConfigSchema
|
|
40412
|
+
},
|
|
40361
40413
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
40362
40414
|
"gemini-3-flash-preview": {
|
|
40363
40415
|
inputCostPer1M: 50,
|
|
@@ -43884,7 +43936,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43884
43936
|
// package.json
|
|
43885
43937
|
var package_default = {
|
|
43886
43938
|
name: "@elevasis/sdk",
|
|
43887
|
-
version: "0.6.
|
|
43939
|
+
version: "0.6.6",
|
|
43888
43940
|
description: "SDK for building Elevasis organization resources",
|
|
43889
43941
|
type: "module",
|
|
43890
43942
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ type OpenAIModel = 'gpt-5' | 'gpt-5-mini';
|
|
|
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';
|
|
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';
|
|
588
588
|
/**
|
|
589
589
|
* Supported Google models (direct SDK access)
|
|
590
590
|
*/
|
|
@@ -1181,6 +1181,7 @@ type Database = {
|
|
|
1181
1181
|
created_at: string;
|
|
1182
1182
|
domain: string | null;
|
|
1183
1183
|
enrichment_data: Json | null;
|
|
1184
|
+
filter_reason: string | null;
|
|
1184
1185
|
founded_year: number | null;
|
|
1185
1186
|
id: string;
|
|
1186
1187
|
linkedin_url: string | null;
|
|
@@ -1203,6 +1204,7 @@ type Database = {
|
|
|
1203
1204
|
created_at?: string;
|
|
1204
1205
|
domain?: string | null;
|
|
1205
1206
|
enrichment_data?: Json | null;
|
|
1207
|
+
filter_reason?: string | null;
|
|
1206
1208
|
founded_year?: number | null;
|
|
1207
1209
|
id?: string;
|
|
1208
1210
|
linkedin_url?: string | null;
|
|
@@ -1225,6 +1227,7 @@ type Database = {
|
|
|
1225
1227
|
created_at?: string;
|
|
1226
1228
|
domain?: string | null;
|
|
1227
1229
|
enrichment_data?: Json | null;
|
|
1230
|
+
filter_reason?: string | null;
|
|
1228
1231
|
founded_year?: number | null;
|
|
1229
1232
|
id?: string;
|
|
1230
1233
|
linkedin_url?: string | null;
|
|
@@ -3317,6 +3320,17 @@ interface CompanyEnrichmentData {
|
|
|
3317
3320
|
aiInsight?: string;
|
|
3318
3321
|
}>;
|
|
3319
3322
|
};
|
|
3323
|
+
tomba?: {
|
|
3324
|
+
waterfallEmail?: {
|
|
3325
|
+
email: string;
|
|
3326
|
+
name?: string;
|
|
3327
|
+
title?: string;
|
|
3328
|
+
department?: string;
|
|
3329
|
+
} | null;
|
|
3330
|
+
genericEmail?: string | null;
|
|
3331
|
+
totalFound?: number;
|
|
3332
|
+
searchedAt?: string;
|
|
3333
|
+
};
|
|
3320
3334
|
}
|
|
3321
3335
|
/**
|
|
3322
3336
|
* Enrichment data collected for a contact from various sources.
|
|
@@ -3463,6 +3477,7 @@ interface CompanyFilters {
|
|
|
3463
3477
|
batchId?: string;
|
|
3464
3478
|
status?: 'active' | 'invalid';
|
|
3465
3479
|
includeAll?: boolean;
|
|
3480
|
+
excludeColumns?: Array<'enrichmentData' | 'pipelineStatus'>;
|
|
3466
3481
|
}
|
|
3467
3482
|
interface CreateContactParams {
|
|
3468
3483
|
organizationId: string;
|
|
@@ -4796,6 +4811,7 @@ interface DomainSearchParams {
|
|
|
4796
4811
|
domain: string;
|
|
4797
4812
|
limit?: number;
|
|
4798
4813
|
department?: string;
|
|
4814
|
+
type?: 'personal' | 'generic';
|
|
4799
4815
|
}
|
|
4800
4816
|
interface DomainSearchEmail {
|
|
4801
4817
|
email: string;
|
package/dist/index.js
CHANGED
|
@@ -222,7 +222,11 @@ var OpenRouterConfigSchema = z.object({
|
|
|
222
222
|
model: z.enum([
|
|
223
223
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
224
224
|
"openrouter/deepseek/deepseek-v3.2",
|
|
225
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
225
|
+
"openrouter/x-ai/grok-4.1-fast",
|
|
226
|
+
"openrouter/minimax/minimax-m2.5",
|
|
227
|
+
"openrouter/qwen/qwen3.5-397b-a17b",
|
|
228
|
+
"openrouter/moonshotai/kimi-k2.5",
|
|
229
|
+
"openrouter/z-ai/glm-5"
|
|
226
230
|
]),
|
|
227
231
|
provider: z.literal("openrouter"),
|
|
228
232
|
apiKey: z.string(),
|
|
@@ -334,6 +338,54 @@ var MODEL_INFO = {
|
|
|
334
338
|
category: "standard",
|
|
335
339
|
configSchema: OpenRouterConfigSchema
|
|
336
340
|
},
|
|
341
|
+
"openrouter/minimax/minimax-m2.5": {
|
|
342
|
+
inputCostPer1M: 25,
|
|
343
|
+
// $0.25 per 1M tokens
|
|
344
|
+
outputCostPer1M: 120,
|
|
345
|
+
// $1.20 per 1M tokens
|
|
346
|
+
minTokens: 4e3,
|
|
347
|
+
recommendedTokens: 4e3,
|
|
348
|
+
maxTokens: 196608,
|
|
349
|
+
// 196,608 context window
|
|
350
|
+
category: "standard",
|
|
351
|
+
configSchema: OpenRouterConfigSchema
|
|
352
|
+
},
|
|
353
|
+
"openrouter/qwen/qwen3.5-397b-a17b": {
|
|
354
|
+
inputCostPer1M: 39,
|
|
355
|
+
// $0.39 per 1M tokens
|
|
356
|
+
outputCostPer1M: 234,
|
|
357
|
+
// $2.34 per 1M tokens
|
|
358
|
+
minTokens: 4e3,
|
|
359
|
+
recommendedTokens: 4e3,
|
|
360
|
+
maxTokens: 262144,
|
|
361
|
+
// 262,144 context window
|
|
362
|
+
category: "standard",
|
|
363
|
+
configSchema: OpenRouterConfigSchema
|
|
364
|
+
},
|
|
365
|
+
"openrouter/moonshotai/kimi-k2.5": {
|
|
366
|
+
inputCostPer1M: 45,
|
|
367
|
+
// $0.45 per 1M tokens
|
|
368
|
+
outputCostPer1M: 220,
|
|
369
|
+
// $2.20 per 1M tokens
|
|
370
|
+
minTokens: 4e3,
|
|
371
|
+
recommendedTokens: 4e3,
|
|
372
|
+
maxTokens: 262144,
|
|
373
|
+
// 262,144 context window
|
|
374
|
+
category: "standard",
|
|
375
|
+
configSchema: OpenRouterConfigSchema
|
|
376
|
+
},
|
|
377
|
+
"openrouter/z-ai/glm-5": {
|
|
378
|
+
inputCostPer1M: 72,
|
|
379
|
+
// $0.72 per 1M tokens
|
|
380
|
+
outputCostPer1M: 230,
|
|
381
|
+
// $2.30 per 1M tokens
|
|
382
|
+
minTokens: 4e3,
|
|
383
|
+
recommendedTokens: 4e3,
|
|
384
|
+
maxTokens: 202752,
|
|
385
|
+
// 202,752 context window
|
|
386
|
+
category: "standard",
|
|
387
|
+
configSchema: OpenRouterConfigSchema
|
|
388
|
+
},
|
|
337
389
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
338
390
|
"gemini-3-flash-preview": {
|
|
339
391
|
inputCostPer1M: 50,
|
package/dist/worker/index.js
CHANGED
|
@@ -2624,7 +2624,11 @@ var OpenRouterConfigSchema = z.object({
|
|
|
2624
2624
|
model: z.enum([
|
|
2625
2625
|
"openrouter/anthropic/claude-sonnet-4.5",
|
|
2626
2626
|
"openrouter/deepseek/deepseek-v3.2",
|
|
2627
|
-
"openrouter/x-ai/grok-4.1-fast"
|
|
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"
|
|
2628
2632
|
]),
|
|
2629
2633
|
provider: z.literal("openrouter"),
|
|
2630
2634
|
apiKey: z.string(),
|
|
@@ -2736,6 +2740,54 @@ var MODEL_INFO = {
|
|
|
2736
2740
|
category: "standard",
|
|
2737
2741
|
configSchema: OpenRouterConfigSchema
|
|
2738
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
|
+
"openrouter/z-ai/glm-5": {
|
|
2780
|
+
inputCostPer1M: 72,
|
|
2781
|
+
// $0.72 per 1M tokens
|
|
2782
|
+
outputCostPer1M: 230,
|
|
2783
|
+
// $2.30 per 1M tokens
|
|
2784
|
+
minTokens: 4e3,
|
|
2785
|
+
recommendedTokens: 4e3,
|
|
2786
|
+
maxTokens: 202752,
|
|
2787
|
+
// 202,752 context window
|
|
2788
|
+
category: "standard",
|
|
2789
|
+
configSchema: OpenRouterConfigSchema
|
|
2790
|
+
},
|
|
2739
2791
|
// Google Gemini Models (direct SDK access via @google/genai)
|
|
2740
2792
|
"gemini-3-flash-preview": {
|
|
2741
2793
|
inputCostPer1M: 50,
|