@stacklink/sdk 0.3.14 → 0.4.0

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.
@@ -254,6 +254,10 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
254
254
  edited?: string | undefined;
255
255
  } | undefined;
256
256
  channel?: string | undefined;
257
+ from?: {
258
+ name: string;
259
+ address?: string | undefined;
260
+ } | undefined;
257
261
  requestId?: string | undefined;
258
262
  conversation?: {
259
263
  speaker?: string | undefined;
@@ -262,10 +266,6 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
262
266
  assistant?: boolean | undefined;
263
267
  } | undefined;
264
268
  href?: string | undefined;
265
- from?: {
266
- name: string;
267
- address?: string | undefined;
268
- } | undefined;
269
269
  subject?: string | undefined;
270
270
  fields?: {
271
271
  label: string;
@@ -287,6 +287,10 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
287
287
  edited?: string | undefined;
288
288
  } | undefined;
289
289
  channel?: string | undefined;
290
+ from?: {
291
+ name: string;
292
+ address?: string | undefined;
293
+ } | undefined;
290
294
  requestId?: string | undefined;
291
295
  contract?: "stacklink.memory.evidence.v1" | undefined;
292
296
  conversation?: {
@@ -297,10 +301,6 @@ export declare const memoryEvidenceReferenceSchema: z.ZodObject<{
297
301
  } | undefined;
298
302
  href?: string | undefined;
299
303
  availability?: "unknown" | "available" | "deleted" | undefined;
300
- from?: {
301
- name: string;
302
- address?: string | undefined;
303
- } | undefined;
304
304
  subject?: string | undefined;
305
305
  fields?: {
306
306
  label: string;
@@ -438,6 +438,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
438
438
  edited?: string | undefined;
439
439
  } | undefined;
440
440
  channel?: string | undefined;
441
+ from?: {
442
+ name: string;
443
+ address?: string | undefined;
444
+ } | undefined;
441
445
  requestId?: string | undefined;
442
446
  conversation?: {
443
447
  speaker?: string | undefined;
@@ -446,10 +450,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
446
450
  assistant?: boolean | undefined;
447
451
  } | undefined;
448
452
  href?: string | undefined;
449
- from?: {
450
- name: string;
451
- address?: string | undefined;
452
- } | undefined;
453
453
  subject?: string | undefined;
454
454
  fields?: {
455
455
  label: string;
@@ -471,6 +471,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
471
471
  edited?: string | undefined;
472
472
  } | undefined;
473
473
  channel?: string | undefined;
474
+ from?: {
475
+ name: string;
476
+ address?: string | undefined;
477
+ } | undefined;
474
478
  requestId?: string | undefined;
475
479
  contract?: "stacklink.memory.evidence.v1" | undefined;
476
480
  conversation?: {
@@ -481,10 +485,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
481
485
  } | undefined;
482
486
  href?: string | undefined;
483
487
  availability?: "unknown" | "available" | "deleted" | undefined;
484
- from?: {
485
- name: string;
486
- address?: string | undefined;
487
- } | undefined;
488
488
  subject?: string | undefined;
489
489
  fields?: {
490
490
  label: string;
@@ -497,8 +497,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
497
497
  kind: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document";
498
498
  externalId?: string | undefined;
499
499
  providerKey?: string | undefined;
500
- resourceId?: string | undefined;
501
500
  connectedAccountId?: string | undefined;
501
+ resourceId?: string | undefined;
502
502
  resourceType?: string | undefined;
503
503
  toolExecutionId?: string | undefined;
504
504
  applicationKey?: string | undefined;
@@ -518,6 +518,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
518
518
  edited?: string | undefined;
519
519
  } | undefined;
520
520
  channel?: string | undefined;
521
+ from?: {
522
+ name: string;
523
+ address?: string | undefined;
524
+ } | undefined;
521
525
  requestId?: string | undefined;
522
526
  conversation?: {
523
527
  speaker?: string | undefined;
@@ -526,10 +530,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
526
530
  assistant?: boolean | undefined;
527
531
  } | undefined;
528
532
  href?: string | undefined;
529
- from?: {
530
- name: string;
531
- address?: string | undefined;
532
- } | undefined;
533
533
  subject?: string | undefined;
534
534
  fields?: {
535
535
  label: string;
@@ -542,8 +542,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
542
542
  kind?: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document" | undefined;
543
543
  externalId?: string | undefined;
544
544
  providerKey?: string | undefined;
545
- resourceId?: string | undefined;
546
545
  connectedAccountId?: string | undefined;
546
+ resourceId?: string | undefined;
547
547
  resourceType?: string | undefined;
548
548
  toolExecutionId?: string | undefined;
549
549
  applicationKey?: string | undefined;
@@ -561,6 +561,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
561
561
  edited?: string | undefined;
562
562
  } | undefined;
563
563
  channel?: string | undefined;
564
+ from?: {
565
+ name: string;
566
+ address?: string | undefined;
567
+ } | undefined;
564
568
  requestId?: string | undefined;
565
569
  contract?: "stacklink.memory.evidence.v1" | undefined;
566
570
  conversation?: {
@@ -571,10 +575,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
571
575
  } | undefined;
572
576
  href?: string | undefined;
573
577
  availability?: "unknown" | "available" | "deleted" | undefined;
574
- from?: {
575
- name: string;
576
- address?: string | undefined;
577
- } | undefined;
578
578
  subject?: string | undefined;
579
579
  fields?: {
580
580
  label: string;
@@ -609,8 +609,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
609
609
  kind: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document";
610
610
  externalId?: string | undefined;
611
611
  providerKey?: string | undefined;
612
- resourceId?: string | undefined;
613
612
  connectedAccountId?: string | undefined;
613
+ resourceId?: string | undefined;
614
614
  resourceType?: string | undefined;
615
615
  toolExecutionId?: string | undefined;
616
616
  applicationKey?: string | undefined;
@@ -630,6 +630,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
630
630
  edited?: string | undefined;
631
631
  } | undefined;
632
632
  channel?: string | undefined;
633
+ from?: {
634
+ name: string;
635
+ address?: string | undefined;
636
+ } | undefined;
633
637
  requestId?: string | undefined;
634
638
  conversation?: {
635
639
  speaker?: string | undefined;
@@ -638,10 +642,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
638
642
  assistant?: boolean | undefined;
639
643
  } | undefined;
640
644
  href?: string | undefined;
641
- from?: {
642
- name: string;
643
- address?: string | undefined;
644
- } | undefined;
645
645
  subject?: string | undefined;
646
646
  fields?: {
647
647
  label: string;
@@ -660,6 +660,7 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
660
660
  topicTags: string[];
661
661
  tenantId?: string | undefined;
662
662
  sessionId?: string | undefined;
663
+ language?: string | undefined;
663
664
  idempotencyKey?: string | undefined;
664
665
  validFrom?: string | undefined;
665
666
  validTo?: string | undefined;
@@ -669,7 +670,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
669
670
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
670
671
  externalId: string;
671
672
  }[] | undefined;
672
- language?: string | undefined;
673
673
  policyKey?: string | undefined;
674
674
  consent?: {
675
675
  status: "granted";
@@ -686,8 +686,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
686
686
  kind?: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document" | undefined;
687
687
  externalId?: string | undefined;
688
688
  providerKey?: string | undefined;
689
- resourceId?: string | undefined;
690
689
  connectedAccountId?: string | undefined;
690
+ resourceId?: string | undefined;
691
691
  resourceType?: string | undefined;
692
692
  toolExecutionId?: string | undefined;
693
693
  applicationKey?: string | undefined;
@@ -705,6 +705,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
705
705
  edited?: string | undefined;
706
706
  } | undefined;
707
707
  channel?: string | undefined;
708
+ from?: {
709
+ name: string;
710
+ address?: string | undefined;
711
+ } | undefined;
708
712
  requestId?: string | undefined;
709
713
  contract?: "stacklink.memory.evidence.v1" | undefined;
710
714
  conversation?: {
@@ -715,10 +719,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
715
719
  } | undefined;
716
720
  href?: string | undefined;
717
721
  availability?: "unknown" | "available" | "deleted" | undefined;
718
- from?: {
719
- name: string;
720
- address?: string | undefined;
721
- } | undefined;
722
722
  subject?: string | undefined;
723
723
  fields?: {
724
724
  label: string;
@@ -730,8 +730,9 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
730
730
  } | undefined;
731
731
  sessionId?: string | undefined;
732
732
  metadata?: Record<string, unknown> | undefined;
733
- idempotencyKey?: string | undefined;
734
733
  mode?: "exact" | "extract" | undefined;
734
+ language?: string | undefined;
735
+ idempotencyKey?: string | undefined;
735
736
  validFrom?: string | undefined;
736
737
  validTo?: string | undefined;
737
738
  externalTenantId?: string | undefined;
@@ -744,7 +745,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
744
745
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
745
746
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
746
747
  topicTags?: string[] | undefined;
747
- language?: string | undefined;
748
748
  policyKey?: string | undefined;
749
749
  consent?: {
750
750
  status: "granted";
@@ -759,8 +759,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
759
759
  kind: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document";
760
760
  externalId?: string | undefined;
761
761
  providerKey?: string | undefined;
762
- resourceId?: string | undefined;
763
762
  connectedAccountId?: string | undefined;
763
+ resourceId?: string | undefined;
764
764
  resourceType?: string | undefined;
765
765
  toolExecutionId?: string | undefined;
766
766
  applicationKey?: string | undefined;
@@ -780,6 +780,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
780
780
  edited?: string | undefined;
781
781
  } | undefined;
782
782
  channel?: string | undefined;
783
+ from?: {
784
+ name: string;
785
+ address?: string | undefined;
786
+ } | undefined;
783
787
  requestId?: string | undefined;
784
788
  conversation?: {
785
789
  speaker?: string | undefined;
@@ -788,10 +792,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
788
792
  assistant?: boolean | undefined;
789
793
  } | undefined;
790
794
  href?: string | undefined;
791
- from?: {
792
- name: string;
793
- address?: string | undefined;
794
- } | undefined;
795
795
  subject?: string | undefined;
796
796
  fields?: {
797
797
  label: string;
@@ -810,6 +810,7 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
810
810
  topicTags: string[];
811
811
  tenantId?: string | undefined;
812
812
  sessionId?: string | undefined;
813
+ language?: string | undefined;
813
814
  idempotencyKey?: string | undefined;
814
815
  validFrom?: string | undefined;
815
816
  validTo?: string | undefined;
@@ -819,7 +820,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
819
820
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
820
821
  externalId: string;
821
822
  }[] | undefined;
822
- language?: string | undefined;
823
823
  policyKey?: string | undefined;
824
824
  consent?: {
825
825
  status: "granted";
@@ -836,8 +836,8 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
836
836
  kind?: "provider" | "artifact" | "tool_execution" | "direct" | "conversation" | "document" | undefined;
837
837
  externalId?: string | undefined;
838
838
  providerKey?: string | undefined;
839
- resourceId?: string | undefined;
840
839
  connectedAccountId?: string | undefined;
840
+ resourceId?: string | undefined;
841
841
  resourceType?: string | undefined;
842
842
  toolExecutionId?: string | undefined;
843
843
  applicationKey?: string | undefined;
@@ -855,6 +855,10 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
855
855
  edited?: string | undefined;
856
856
  } | undefined;
857
857
  channel?: string | undefined;
858
+ from?: {
859
+ name: string;
860
+ address?: string | undefined;
861
+ } | undefined;
858
862
  requestId?: string | undefined;
859
863
  contract?: "stacklink.memory.evidence.v1" | undefined;
860
864
  conversation?: {
@@ -865,10 +869,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
865
869
  } | undefined;
866
870
  href?: string | undefined;
867
871
  availability?: "unknown" | "available" | "deleted" | undefined;
868
- from?: {
869
- name: string;
870
- address?: string | undefined;
871
- } | undefined;
872
872
  subject?: string | undefined;
873
873
  fields?: {
874
874
  label: string;
@@ -880,8 +880,9 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
880
880
  } | undefined;
881
881
  sessionId?: string | undefined;
882
882
  metadata?: Record<string, unknown> | undefined;
883
- idempotencyKey?: string | undefined;
884
883
  mode?: "exact" | "extract" | undefined;
884
+ language?: string | undefined;
885
+ idempotencyKey?: string | undefined;
885
886
  validFrom?: string | undefined;
886
887
  validTo?: string | undefined;
887
888
  externalTenantId?: string | undefined;
@@ -894,7 +895,6 @@ export declare const memoryIngestInputSchema: z.ZodEffects<z.ZodObject<{
894
895
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
895
896
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
896
897
  topicTags?: string[] | undefined;
897
- language?: string | undefined;
898
898
  policyKey?: string | undefined;
899
899
  consent?: {
900
900
  status: "granted";
@@ -994,6 +994,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
994
994
  topicTags: string[];
995
995
  tenantId?: string | undefined;
996
996
  sessionId?: string | undefined;
997
+ language?: string | undefined;
997
998
  idempotencyKey?: string | undefined;
998
999
  validFrom?: string | undefined;
999
1000
  validTo?: string | undefined;
@@ -1003,7 +1004,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1003
1004
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
1004
1005
  externalId: string;
1005
1006
  }[] | undefined;
1006
- language?: string | undefined;
1007
1007
  policyKey?: string | undefined;
1008
1008
  consent?: {
1009
1009
  status: "granted";
@@ -1026,8 +1026,9 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1026
1026
  tenantId?: string | undefined;
1027
1027
  sessionId?: string | undefined;
1028
1028
  metadata?: Record<string, unknown> | undefined;
1029
- idempotencyKey?: string | undefined;
1030
1029
  mode?: "exact" | "extract" | undefined;
1030
+ language?: string | undefined;
1031
+ idempotencyKey?: string | undefined;
1031
1032
  validFrom?: string | undefined;
1032
1033
  validTo?: string | undefined;
1033
1034
  externalTenantId?: string | undefined;
@@ -1040,7 +1041,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1040
1041
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1041
1042
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1042
1043
  topicTags?: string[] | undefined;
1043
- language?: string | undefined;
1044
1044
  policyKey?: string | undefined;
1045
1045
  consent?: {
1046
1046
  status: "granted";
@@ -1068,6 +1068,7 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1068
1068
  topicTags: string[];
1069
1069
  tenantId?: string | undefined;
1070
1070
  sessionId?: string | undefined;
1071
+ language?: string | undefined;
1071
1072
  idempotencyKey?: string | undefined;
1072
1073
  validFrom?: string | undefined;
1073
1074
  validTo?: string | undefined;
@@ -1077,7 +1078,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1077
1078
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
1078
1079
  externalId: string;
1079
1080
  }[] | undefined;
1080
- language?: string | undefined;
1081
1081
  policyKey?: string | undefined;
1082
1082
  consent?: {
1083
1083
  status: "granted";
@@ -1100,8 +1100,9 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1100
1100
  tenantId?: string | undefined;
1101
1101
  sessionId?: string | undefined;
1102
1102
  metadata?: Record<string, unknown> | undefined;
1103
- idempotencyKey?: string | undefined;
1104
1103
  mode?: "exact" | "extract" | undefined;
1104
+ language?: string | undefined;
1105
+ idempotencyKey?: string | undefined;
1105
1106
  validFrom?: string | undefined;
1106
1107
  validTo?: string | undefined;
1107
1108
  externalTenantId?: string | undefined;
@@ -1114,7 +1115,6 @@ export declare const memoryRichIngestInputSchema: z.ZodEffects<z.ZodObject<{
1114
1115
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1115
1116
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1116
1117
  topicTags?: string[] | undefined;
1117
- language?: string | undefined;
1118
1118
  policyKey?: string | undefined;
1119
1119
  consent?: {
1120
1120
  status: "granted";
@@ -1529,6 +1529,7 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
1529
1529
  reason?: string | undefined;
1530
1530
  metadata?: Record<string, unknown> | undefined;
1531
1531
  content?: string | undefined;
1532
+ language?: string | null | undefined;
1532
1533
  state?: "current" | "conflicted" | undefined;
1533
1534
  validFrom?: string | null | undefined;
1534
1535
  validTo?: string | null | undefined;
@@ -1537,11 +1538,11 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
1537
1538
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1538
1539
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1539
1540
  topicTags?: string[] | undefined;
1540
- language?: string | null | undefined;
1541
1541
  }, {
1542
1542
  reason?: string | undefined;
1543
1543
  metadata?: Record<string, unknown> | undefined;
1544
1544
  content?: string | undefined;
1545
+ language?: string | null | undefined;
1545
1546
  state?: "current" | "conflicted" | undefined;
1546
1547
  validFrom?: string | null | undefined;
1547
1548
  validTo?: string | null | undefined;
@@ -1550,11 +1551,11 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
1550
1551
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1551
1552
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1552
1553
  topicTags?: string[] | undefined;
1553
- language?: string | null | undefined;
1554
1554
  }>, {
1555
1555
  reason?: string | undefined;
1556
1556
  metadata?: Record<string, unknown> | undefined;
1557
1557
  content?: string | undefined;
1558
+ language?: string | null | undefined;
1558
1559
  state?: "current" | "conflicted" | undefined;
1559
1560
  validFrom?: string | null | undefined;
1560
1561
  validTo?: string | null | undefined;
@@ -1563,11 +1564,11 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
1563
1564
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1564
1565
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1565
1566
  topicTags?: string[] | undefined;
1566
- language?: string | null | undefined;
1567
1567
  }, {
1568
1568
  reason?: string | undefined;
1569
1569
  metadata?: Record<string, unknown> | undefined;
1570
1570
  content?: string | undefined;
1571
+ language?: string | null | undefined;
1571
1572
  state?: "current" | "conflicted" | undefined;
1572
1573
  validFrom?: string | null | undefined;
1573
1574
  validTo?: string | null | undefined;
@@ -1576,7 +1577,6 @@ export declare const memoryRecordUpdateInputSchema: z.ZodEffects<z.ZodObject<{
1576
1577
  sensitivityClass?: "standard" | "personal" | "restricted" | "secret" | undefined;
1577
1578
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1578
1579
  topicTags?: string[] | undefined;
1579
- language?: string | null | undefined;
1580
1580
  }>;
1581
1581
  export type MemoryRecordUpdateInput = z.infer<typeof memoryRecordUpdateInputSchema>;
1582
1582
  export declare const memoryQualityReviewDispositions: readonly ["keep", "correct", "convert_to_episode", "restrict"];
@@ -1665,11 +1665,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
1665
1665
  displayName?: string | null | undefined;
1666
1666
  };
1667
1667
  content?: string | undefined;
1668
+ language?: string | null | undefined;
1668
1669
  validFrom?: string | null | undefined;
1669
1670
  validTo?: string | null | undefined;
1670
1671
  title?: string | null | undefined;
1671
1672
  topicTags?: string[] | undefined;
1672
- language?: string | null | undefined;
1673
1673
  }, {
1674
1674
  reason: string;
1675
1675
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
@@ -1691,12 +1691,12 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
1691
1691
  attributes?: Record<string, unknown> | undefined;
1692
1692
  };
1693
1693
  content?: string | undefined;
1694
+ language?: string | null | undefined;
1694
1695
  validFrom?: string | null | undefined;
1695
1696
  validTo?: string | null | undefined;
1696
1697
  title?: string | null | undefined;
1697
1698
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1698
1699
  topicTags?: string[] | undefined;
1699
- language?: string | null | undefined;
1700
1700
  }>, {
1701
1701
  reason: string;
1702
1702
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
@@ -1719,11 +1719,11 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
1719
1719
  displayName?: string | null | undefined;
1720
1720
  };
1721
1721
  content?: string | undefined;
1722
+ language?: string | null | undefined;
1722
1723
  validFrom?: string | null | undefined;
1723
1724
  validTo?: string | null | undefined;
1724
1725
  title?: string | null | undefined;
1725
1726
  topicTags?: string[] | undefined;
1726
- language?: string | null | undefined;
1727
1727
  }, {
1728
1728
  reason: string;
1729
1729
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
@@ -1745,12 +1745,12 @@ export declare const memoryRecordQualityReviewInputSchema: z.ZodEffects<z.ZodObj
1745
1745
  attributes?: Record<string, unknown> | undefined;
1746
1746
  };
1747
1747
  content?: string | undefined;
1748
+ language?: string | null | undefined;
1748
1749
  validFrom?: string | null | undefined;
1749
1750
  validTo?: string | null | undefined;
1750
1751
  title?: string | null | undefined;
1751
1752
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
1752
1753
  topicTags?: string[] | undefined;
1753
- language?: string | null | undefined;
1754
1754
  }>;
1755
1755
  export type MemoryRecordQualityReviewInput = z.infer<typeof memoryRecordQualityReviewInputSchema>;
1756
1756
  export declare const memoryForgetInputSchema: z.ZodObject<{
@@ -2035,11 +2035,11 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2035
2035
  }>>;
2036
2036
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2037
2037
  }, "strict", z.ZodTypeAny, {
2038
+ connectedAccountId: string;
2038
2039
  metadata: Record<string, unknown>;
2039
2040
  idempotencyKey: string;
2040
2041
  allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
2041
2042
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
2042
- connectedAccountId: string;
2043
2043
  resourceIds: string[];
2044
2044
  targets: {
2045
2045
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
@@ -2050,7 +2050,7 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2050
2050
  selectionMode: "selected_resources" | "recipe_default";
2051
2051
  existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
2052
2052
  maxBackfillItems: number | null;
2053
- deliveryMode: "webhook" | "auto" | "polling";
2053
+ deliveryMode: "auto" | "webhook" | "polling";
2054
2054
  authorizationPerspective: "bot" | "user" | "provider_default";
2055
2055
  includeAttachments: boolean;
2056
2056
  includeFileContent: boolean;
@@ -2075,8 +2075,8 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2075
2075
  } | undefined;
2076
2076
  learnedRetentionDays?: number | null | undefined;
2077
2077
  }, {
2078
- idempotencyKey: string;
2079
2078
  connectedAccountId: string;
2079
+ idempotencyKey: string;
2080
2080
  targets: {
2081
2081
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
2082
2082
  externalId: string;
@@ -2099,7 +2099,7 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2099
2099
  selectionMode?: "selected_resources" | "recipe_default" | undefined;
2100
2100
  existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
2101
2101
  maxBackfillItems?: number | null | undefined;
2102
- deliveryMode?: "webhook" | "auto" | "polling" | undefined;
2102
+ deliveryMode?: "auto" | "webhook" | "polling" | undefined;
2103
2103
  authorizationPerspective?: "bot" | "user" | "provider_default" | undefined;
2104
2104
  includeAttachments?: boolean | undefined;
2105
2105
  includeFileContent?: boolean | undefined;
@@ -2115,11 +2115,11 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2115
2115
  learnedRetentionDays?: number | null | undefined;
2116
2116
  sourceRetentionDays?: number | null | undefined;
2117
2117
  }>, {
2118
+ connectedAccountId: string;
2118
2119
  metadata: Record<string, unknown>;
2119
2120
  idempotencyKey: string;
2120
2121
  allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
2121
2122
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
2122
- connectedAccountId: string;
2123
2123
  resourceIds: string[];
2124
2124
  targets: {
2125
2125
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
@@ -2130,7 +2130,7 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2130
2130
  selectionMode: "selected_resources" | "recipe_default";
2131
2131
  existingContent: "all" | "future_only" | "last_30_days" | "last_90_days";
2132
2132
  maxBackfillItems: number | null;
2133
- deliveryMode: "webhook" | "auto" | "polling";
2133
+ deliveryMode: "auto" | "webhook" | "polling";
2134
2134
  authorizationPerspective: "bot" | "user" | "provider_default";
2135
2135
  includeAttachments: boolean;
2136
2136
  includeFileContent: boolean;
@@ -2155,8 +2155,8 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2155
2155
  } | undefined;
2156
2156
  learnedRetentionDays?: number | null | undefined;
2157
2157
  }, {
2158
- idempotencyKey: string;
2159
2158
  connectedAccountId: string;
2159
+ idempotencyKey: string;
2160
2160
  targets: {
2161
2161
  type: "custom" | "run" | "user" | "agent" | "tenant" | "application";
2162
2162
  externalId: string;
@@ -2179,7 +2179,7 @@ export declare const memoryConnectedSourceInputSchema: z.ZodEffects<z.ZodObject<
2179
2179
  selectionMode?: "selected_resources" | "recipe_default" | undefined;
2180
2180
  existingContent?: "all" | "future_only" | "last_30_days" | "last_90_days" | undefined;
2181
2181
  maxBackfillItems?: number | null | undefined;
2182
- deliveryMode?: "webhook" | "auto" | "polling" | undefined;
2182
+ deliveryMode?: "auto" | "webhook" | "polling" | undefined;
2183
2183
  authorizationPerspective?: "bot" | "user" | "provider_default" | undefined;
2184
2184
  includeAttachments?: boolean | undefined;
2185
2185
  includeFileContent?: boolean | undefined;
@@ -2922,9 +2922,9 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
2922
2922
  context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2923
2923
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2924
2924
  }, "strip", z.ZodTypeAny, {
2925
+ key: string;
2925
2926
  context: Record<string, unknown>;
2926
2927
  metadata: Record<string, unknown>;
2927
- key: string;
2928
2928
  languages: string[];
2929
2929
  allowedMemoryTypes: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[];
2930
2930
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
@@ -2936,9 +2936,9 @@ export declare const memoryProjectPolicyInputSchema: z.ZodObject<{
2936
2936
  retentionDays: number | null;
2937
2937
  extraction: Record<string, unknown>;
2938
2938
  }, {
2939
+ key?: string | undefined;
2939
2940
  context?: Record<string, unknown> | undefined;
2940
2941
  metadata?: Record<string, unknown> | undefined;
2941
- key?: string | undefined;
2942
2942
  languages?: string[] | undefined;
2943
2943
  allowedMemoryTypes?: ("decision" | "preference" | "commitment" | "goal" | "constraint" | "relationship" | "durable_fact")[] | undefined;
2944
2944
  restrictedDataClasses?: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[] | undefined;
@@ -3059,8 +3059,8 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
3059
3059
  };
3060
3060
  content: string;
3061
3061
  idempotencyKey: string;
3062
- title?: string | undefined;
3063
3062
  language?: string | undefined;
3063
+ title?: string | undefined;
3064
3064
  sourceCategory?: string | undefined;
3065
3065
  }, {
3066
3066
  content: string;
@@ -3079,8 +3079,8 @@ export declare const memoryPolicyPreviewInputSchema: z.ZodObject<{
3079
3079
  retentionDays?: number | null | undefined;
3080
3080
  extraction?: Record<string, unknown> | undefined;
3081
3081
  } | undefined;
3082
- title?: string | undefined;
3083
3082
  language?: string | undefined;
3083
+ title?: string | undefined;
3084
3084
  sourceCategory?: string | undefined;
3085
3085
  }>;
3086
3086
  export type MemoryProjectPolicyInput = z.input<typeof memoryProjectPolicyInputSchema>;
@@ -3345,6 +3345,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3345
3345
  attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3346
3346
  }, "strict", z.ZodTypeAny, {
3347
3347
  content: string;
3348
+ language: string;
3348
3349
  qualityContractVersion: 1;
3349
3350
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3350
3351
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3355,7 +3356,6 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3355
3356
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3356
3357
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3357
3358
  topicTags: string[];
3358
- language: string;
3359
3359
  evidence: {
3360
3360
  sourceObjectId: string;
3361
3361
  segmentId: string;
@@ -3391,6 +3391,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3391
3391
  }[];
3392
3392
  }, {
3393
3393
  content: string;
3394
+ language: string;
3394
3395
  qualityContractVersion: 1;
3395
3396
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3396
3397
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3399,7 +3400,6 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3399
3400
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3400
3401
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3401
3402
  topicTags: string[];
3402
- language: string;
3403
3403
  evidence: {
3404
3404
  sourceObjectId: string;
3405
3405
  segmentId: string;
@@ -3437,6 +3437,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3437
3437
  validTo?: unknown;
3438
3438
  }>, {
3439
3439
  content: string;
3440
+ language: string;
3440
3441
  qualityContractVersion: 1;
3441
3442
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3442
3443
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3447,7 +3448,6 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3447
3448
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3448
3449
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3449
3450
  topicTags: string[];
3450
- language: string;
3451
3451
  evidence: {
3452
3452
  sourceObjectId: string;
3453
3453
  segmentId: string;
@@ -3483,6 +3483,7 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3483
3483
  }[];
3484
3484
  }, {
3485
3485
  content: string;
3486
+ language: string;
3486
3487
  qualityContractVersion: 1;
3487
3488
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3488
3489
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3491,7 +3492,6 @@ export declare const memoryExtractedRecordSchema: z.ZodEffects<z.ZodObject<{
3491
3492
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3492
3493
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3493
3494
  topicTags: string[];
3494
- language: string;
3495
3495
  evidence: {
3496
3496
  sourceObjectId: string;
3497
3497
  segmentId: string;
@@ -3645,6 +3645,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3645
3645
  attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3646
3646
  }, "strict", z.ZodTypeAny, {
3647
3647
  content: string;
3648
+ language: string;
3648
3649
  qualityContractVersion: 1;
3649
3650
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3650
3651
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3655,7 +3656,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3655
3656
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3656
3657
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3657
3658
  topicTags: string[];
3658
- language: string;
3659
3659
  evidence: {
3660
3660
  sourceObjectId: string;
3661
3661
  segmentId: string;
@@ -3691,6 +3691,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3691
3691
  }[];
3692
3692
  }, {
3693
3693
  content: string;
3694
+ language: string;
3694
3695
  qualityContractVersion: 1;
3695
3696
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3696
3697
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3699,7 +3700,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3699
3700
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3700
3701
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3701
3702
  topicTags: string[];
3702
- language: string;
3703
3703
  evidence: {
3704
3704
  sourceObjectId: string;
3705
3705
  segmentId: string;
@@ -3737,6 +3737,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3737
3737
  validTo?: unknown;
3738
3738
  }>, {
3739
3739
  content: string;
3740
+ language: string;
3740
3741
  qualityContractVersion: 1;
3741
3742
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3742
3743
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3747,7 +3748,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3747
3748
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3748
3749
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3749
3750
  topicTags: string[];
3750
- language: string;
3751
3751
  evidence: {
3752
3752
  sourceObjectId: string;
3753
3753
  segmentId: string;
@@ -3783,6 +3783,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3783
3783
  }[];
3784
3784
  }, {
3785
3785
  content: string;
3786
+ language: string;
3786
3787
  qualityContractVersion: 1;
3787
3788
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3788
3789
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3791,7 +3792,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3791
3792
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3792
3793
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3793
3794
  topicTags: string[];
3794
- language: string;
3795
3795
  evidence: {
3796
3796
  sourceObjectId: string;
3797
3797
  segmentId: string;
@@ -3831,6 +3831,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3831
3831
  }, "strict", z.ZodTypeAny, {
3832
3832
  records: {
3833
3833
  content: string;
3834
+ language: string;
3834
3835
  qualityContractVersion: 1;
3835
3836
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3836
3837
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3841,7 +3842,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3841
3842
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3842
3843
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3843
3844
  topicTags: string[];
3844
- language: string;
3845
3845
  evidence: {
3846
3846
  sourceObjectId: string;
3847
3847
  segmentId: string;
@@ -3879,6 +3879,7 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3879
3879
  }, {
3880
3880
  records: {
3881
3881
  content: string;
3882
+ language: string;
3882
3883
  qualityContractVersion: 1;
3883
3884
  authorshipClass: "unknown" | "bot" | "application" | "connected_user" | "other_human" | "system";
3884
3885
  admissionBasis: "self_authored" | "provider_structured_state" | "attributed_third_party" | "tool_execution" | "user_confirmed";
@@ -3887,7 +3888,6 @@ export declare const memoryExtractionResultSchema: z.ZodObject<{
3887
3888
  sensitivityClass: "standard" | "personal" | "restricted" | "secret";
3888
3889
  restrictedDataClasses: ("health" | "biometric" | "government_identity" | "precise_location" | "protected_trait" | "minor" | "detailed_personal_financial")[];
3889
3890
  topicTags: string[];
3890
- language: string;
3891
3891
  evidence: {
3892
3892
  sourceObjectId: string;
3893
3893
  segmentId: string;