@personize/sdk 0.5.2 → 0.5.3
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/types.d.ts +20 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -561,10 +561,14 @@ export interface SmartRecallOptions {
|
|
|
561
561
|
minScore?: number;
|
|
562
562
|
/** CRM record ID for entity scoping. */
|
|
563
563
|
record_id?: string;
|
|
564
|
+
/** CRM record ID (camelCase alias). */
|
|
565
|
+
recordId?: string;
|
|
564
566
|
/** Filter results to a specific entity by email. */
|
|
565
567
|
email?: string;
|
|
566
568
|
/** Website URL for entity scoping. */
|
|
567
569
|
website_url?: string;
|
|
570
|
+
/** Website URL (camelCase alias). */
|
|
571
|
+
websiteUrl?: string;
|
|
568
572
|
/** Entity type filter (e.g. 'Contact', 'Company'). */
|
|
569
573
|
type?: string;
|
|
570
574
|
/** Scope results to specific collections by ID. */
|
|
@@ -602,10 +606,14 @@ export interface RecallOptions {
|
|
|
602
606
|
type: string;
|
|
603
607
|
/** CRM record ID for entity scoping. */
|
|
604
608
|
record_id?: string;
|
|
609
|
+
/** CRM record ID (camelCase alias). */
|
|
610
|
+
recordId?: string;
|
|
605
611
|
/** Filter results to a specific entity by email. */
|
|
606
612
|
email?: string;
|
|
607
613
|
/** Website URL for entity scoping. */
|
|
608
614
|
website_url?: string;
|
|
615
|
+
/** Website URL (camelCase alias). */
|
|
616
|
+
websiteUrl?: string;
|
|
609
617
|
/** Additional filters. */
|
|
610
618
|
filters?: Record<string, unknown>;
|
|
611
619
|
}
|
|
@@ -646,20 +654,32 @@ export interface BatchMemorizeOptions {
|
|
|
646
654
|
export interface SmartDigestOptions {
|
|
647
655
|
/** CRM record ID */
|
|
648
656
|
record_id?: string;
|
|
657
|
+
/** CRM record ID (camelCase alias). */
|
|
658
|
+
recordId?: string;
|
|
649
659
|
/** Contact email */
|
|
650
660
|
email?: string;
|
|
651
661
|
/** Company website URL */
|
|
652
662
|
website_url?: string;
|
|
663
|
+
/** Website URL (camelCase alias). */
|
|
664
|
+
websiteUrl?: string;
|
|
653
665
|
/** Entity type ('Contact', 'Company'). Auto-inferred if omitted. */
|
|
654
666
|
type?: string;
|
|
655
667
|
/** Max tokens for compiled context (default: 1000) */
|
|
656
668
|
token_budget?: number;
|
|
669
|
+
/** Max tokens (camelCase alias). */
|
|
670
|
+
tokenBudget?: number;
|
|
657
671
|
/** Max free-form memories to include (default: 20) */
|
|
658
672
|
max_memories?: number;
|
|
673
|
+
/** Max memories (camelCase alias). */
|
|
674
|
+
maxMemories?: number;
|
|
659
675
|
/** Include DynamoDB property snapshot (default: true) */
|
|
660
676
|
include_properties?: boolean;
|
|
677
|
+
/** Include properties (camelCase alias). */
|
|
678
|
+
includeProperties?: boolean;
|
|
661
679
|
/** Include LanceDB free-form memories (default: true) */
|
|
662
680
|
include_memories?: boolean;
|
|
681
|
+
/** Include memories (camelCase alias). */
|
|
682
|
+
includeMemories?: boolean;
|
|
663
683
|
}
|
|
664
684
|
export interface SmartDigestResponse {
|
|
665
685
|
success: boolean;
|