@elevasis/sdk 0.6.0 → 0.6.2
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 +15 -4
- package/dist/index.d.ts +9 -1
- package/dist/index.js +14 -3
- package/dist/worker/index.js +14 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -40260,11 +40260,10 @@ var GoogleOptionsSchema = external_exports.object({
|
|
|
40260
40260
|
thinkingLevel: external_exports.enum(["minimal", "low", "medium", "high"]).optional()
|
|
40261
40261
|
});
|
|
40262
40262
|
var GoogleConfigSchema = external_exports.object({
|
|
40263
|
-
model: external_exports.enum(["gemini-3-flash-preview"]),
|
|
40263
|
+
model: external_exports.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
40264
40264
|
provider: external_exports.literal("google"),
|
|
40265
40265
|
apiKey: external_exports.string(),
|
|
40266
|
-
temperature: external_exports.
|
|
40267
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
40266
|
+
temperature: external_exports.number().min(0).max(2).optional(),
|
|
40268
40267
|
maxOutputTokens: external_exports.number().min(500).optional(),
|
|
40269
40268
|
topP: external_exports.number().min(0).max(1).optional(),
|
|
40270
40269
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -40372,6 +40371,18 @@ var MODEL_INFO = {
|
|
|
40372
40371
|
category: "standard",
|
|
40373
40372
|
configSchema: GoogleConfigSchema
|
|
40374
40373
|
},
|
|
40374
|
+
"gemini-3.1-flash-lite-preview": {
|
|
40375
|
+
inputCostPer1M: 25,
|
|
40376
|
+
// $0.25 per 1M tokens
|
|
40377
|
+
outputCostPer1M: 150,
|
|
40378
|
+
// $1.50 per 1M tokens
|
|
40379
|
+
minTokens: 4e3,
|
|
40380
|
+
recommendedTokens: 8e3,
|
|
40381
|
+
maxTokens: 1e6,
|
|
40382
|
+
// 1M context window
|
|
40383
|
+
category: "standard",
|
|
40384
|
+
configSchema: GoogleConfigSchema
|
|
40385
|
+
},
|
|
40375
40386
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
40376
40387
|
// Using aliases - automatically points to latest versions
|
|
40377
40388
|
"claude-opus-4-5": {
|
|
@@ -43873,7 +43884,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
|
|
|
43873
43884
|
// package.json
|
|
43874
43885
|
var package_default = {
|
|
43875
43886
|
name: "@elevasis/sdk",
|
|
43876
|
-
version: "0.6.
|
|
43887
|
+
version: "0.6.2",
|
|
43877
43888
|
description: "SDK for building Elevasis organization resources",
|
|
43878
43889
|
type: "module",
|
|
43879
43890
|
bin: {
|
package/dist/index.d.ts
CHANGED
|
@@ -588,7 +588,7 @@ type OpenRouterModel = 'openrouter/anthropic/claude-sonnet-4.5' | 'openrouter/de
|
|
|
588
588
|
/**
|
|
589
589
|
* Supported Google models (direct SDK access)
|
|
590
590
|
*/
|
|
591
|
-
type GoogleModel = 'gemini-3-flash-preview';
|
|
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
594
|
* Using aliases for automatic updates to latest versions
|
|
@@ -1192,6 +1192,7 @@ type Database = {
|
|
|
1192
1192
|
pipeline_status: Json;
|
|
1193
1193
|
segment: string | null;
|
|
1194
1194
|
source: string | null;
|
|
1195
|
+
status: string;
|
|
1195
1196
|
updated_at: string;
|
|
1196
1197
|
website: string | null;
|
|
1197
1198
|
};
|
|
@@ -1213,6 +1214,7 @@ type Database = {
|
|
|
1213
1214
|
pipeline_status?: Json;
|
|
1214
1215
|
segment?: string | null;
|
|
1215
1216
|
source?: string | null;
|
|
1217
|
+
status?: string;
|
|
1216
1218
|
updated_at?: string;
|
|
1217
1219
|
website?: string | null;
|
|
1218
1220
|
};
|
|
@@ -1234,6 +1236,7 @@ type Database = {
|
|
|
1234
1236
|
pipeline_status?: Json;
|
|
1235
1237
|
segment?: string | null;
|
|
1236
1238
|
source?: string | null;
|
|
1239
|
+
status?: string;
|
|
1237
1240
|
updated_at?: string;
|
|
1238
1241
|
website?: string | null;
|
|
1239
1242
|
};
|
|
@@ -3362,6 +3365,7 @@ interface AcqCompany {
|
|
|
3362
3365
|
enrichmentData: CompanyEnrichmentData | null;
|
|
3363
3366
|
source: string | null;
|
|
3364
3367
|
batchId: string | null;
|
|
3368
|
+
status: 'active' | 'invalid';
|
|
3365
3369
|
createdAt: Date;
|
|
3366
3370
|
updatedAt: Date;
|
|
3367
3371
|
}
|
|
@@ -3447,6 +3451,7 @@ interface UpdateCompanyParams {
|
|
|
3447
3451
|
/** Attio Company record ID - set when company is added to CRM. Pass null to clear. */
|
|
3448
3452
|
attioCompanyId?: string | null;
|
|
3449
3453
|
batchId?: string;
|
|
3454
|
+
status?: 'active' | 'invalid';
|
|
3450
3455
|
}
|
|
3451
3456
|
type UpsertCompanyParams = CreateCompanyParams;
|
|
3452
3457
|
interface CompanyFilters {
|
|
@@ -3456,6 +3461,8 @@ interface CompanyFilters {
|
|
|
3456
3461
|
category?: string;
|
|
3457
3462
|
pipelineStatus?: Record<string, unknown>;
|
|
3458
3463
|
batchId?: string;
|
|
3464
|
+
status?: 'active' | 'invalid';
|
|
3465
|
+
includeAll?: boolean;
|
|
3459
3466
|
}
|
|
3460
3467
|
interface CreateContactParams {
|
|
3461
3468
|
organizationId: string;
|
|
@@ -3492,6 +3499,7 @@ interface ContactFilters {
|
|
|
3492
3499
|
openingLineIsNull?: boolean;
|
|
3493
3500
|
pipelineStatus?: Record<string, unknown>;
|
|
3494
3501
|
batchId?: string;
|
|
3502
|
+
excludeInvalidCompanies?: boolean;
|
|
3495
3503
|
}
|
|
3496
3504
|
interface UpsertDealParams {
|
|
3497
3505
|
organizationId: string;
|
package/dist/index.js
CHANGED
|
@@ -236,11 +236,10 @@ var GoogleOptionsSchema = z.object({
|
|
|
236
236
|
thinkingLevel: z.enum(["minimal", "low", "medium", "high"]).optional()
|
|
237
237
|
});
|
|
238
238
|
var GoogleConfigSchema = z.object({
|
|
239
|
-
model: z.enum(["gemini-3-flash-preview"]),
|
|
239
|
+
model: z.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
240
240
|
provider: z.literal("google"),
|
|
241
241
|
apiKey: z.string(),
|
|
242
|
-
temperature: z.
|
|
243
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
242
|
+
temperature: z.number().min(0).max(2).optional(),
|
|
244
243
|
maxOutputTokens: z.number().min(500).optional(),
|
|
245
244
|
topP: z.number().min(0).max(1).optional(),
|
|
246
245
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -348,6 +347,18 @@ var MODEL_INFO = {
|
|
|
348
347
|
category: "standard",
|
|
349
348
|
configSchema: GoogleConfigSchema
|
|
350
349
|
},
|
|
350
|
+
"gemini-3.1-flash-lite-preview": {
|
|
351
|
+
inputCostPer1M: 25,
|
|
352
|
+
// $0.25 per 1M tokens
|
|
353
|
+
outputCostPer1M: 150,
|
|
354
|
+
// $1.50 per 1M tokens
|
|
355
|
+
minTokens: 4e3,
|
|
356
|
+
recommendedTokens: 8e3,
|
|
357
|
+
maxTokens: 1e6,
|
|
358
|
+
// 1M context window
|
|
359
|
+
category: "standard",
|
|
360
|
+
configSchema: GoogleConfigSchema
|
|
361
|
+
},
|
|
351
362
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
352
363
|
// Using aliases - automatically points to latest versions
|
|
353
364
|
"claude-opus-4-5": {
|
package/dist/worker/index.js
CHANGED
|
@@ -2638,11 +2638,10 @@ var GoogleOptionsSchema = z.object({
|
|
|
2638
2638
|
thinkingLevel: z.enum(["minimal", "low", "medium", "high"]).optional()
|
|
2639
2639
|
});
|
|
2640
2640
|
var GoogleConfigSchema = z.object({
|
|
2641
|
-
model: z.enum(["gemini-3-flash-preview"]),
|
|
2641
|
+
model: z.enum(["gemini-3-flash-preview", "gemini-3.1-flash-lite-preview"]),
|
|
2642
2642
|
provider: z.literal("google"),
|
|
2643
2643
|
apiKey: z.string(),
|
|
2644
|
-
temperature: z.
|
|
2645
|
-
// Must be 1 for Gemini 3 (changing degrades performance)
|
|
2644
|
+
temperature: z.number().min(0).max(2).optional(),
|
|
2646
2645
|
maxOutputTokens: z.number().min(500).optional(),
|
|
2647
2646
|
topP: z.number().min(0).max(1).optional(),
|
|
2648
2647
|
modelOptions: GoogleOptionsSchema.optional()
|
|
@@ -2750,6 +2749,18 @@ var MODEL_INFO = {
|
|
|
2750
2749
|
category: "standard",
|
|
2751
2750
|
configSchema: GoogleConfigSchema
|
|
2752
2751
|
},
|
|
2752
|
+
"gemini-3.1-flash-lite-preview": {
|
|
2753
|
+
inputCostPer1M: 25,
|
|
2754
|
+
// $0.25 per 1M tokens
|
|
2755
|
+
outputCostPer1M: 150,
|
|
2756
|
+
// $1.50 per 1M tokens
|
|
2757
|
+
minTokens: 4e3,
|
|
2758
|
+
recommendedTokens: 8e3,
|
|
2759
|
+
maxTokens: 1e6,
|
|
2760
|
+
// 1M context window
|
|
2761
|
+
category: "standard",
|
|
2762
|
+
configSchema: GoogleConfigSchema
|
|
2763
|
+
},
|
|
2753
2764
|
// Anthropic Claude Models (direct SDK access via @anthropic-ai/sdk)
|
|
2754
2765
|
// Using aliases - automatically points to latest versions
|
|
2755
2766
|
"claude-opus-4-5": {
|