@memnexus-ai/typescript-sdk 1.1.5 → 1.1.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/index.d.ts CHANGED
@@ -1533,7 +1533,7 @@ declare const listConversationsOkResponsePagination: z.ZodLazy<z.ZodObject<{
1533
1533
  */
1534
1534
  type ListConversationsOkResponsePagination = z.infer<typeof listConversationsOkResponsePagination>;
1535
1535
 
1536
- declare enum MemoryMemoryType {
1536
+ declare enum MemoryMemoryType1 {
1537
1537
  EPISODIC = "episodic",
1538
1538
  SEMANTIC = "semantic",
1539
1539
  PROCEDURAL = "procedural"
@@ -3175,83 +3175,276 @@ type SearchRequest = z.infer<typeof searchRequest>;
3175
3175
  */
3176
3176
  declare const searchResponse: z.ZodLazy<z.ZodObject<{
3177
3177
  data: z.ZodArray<z.ZodLazy<z.ZodObject<{
3178
- id: z.ZodString;
3179
- content: z.ZodString;
3180
- memoryType: z.ZodString;
3181
- context: z.ZodOptional<z.ZodString>;
3182
- topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3183
- timestamp: z.ZodOptional<z.ZodString>;
3184
- eventTime: z.ZodOptional<z.ZodString>;
3185
- validFrom: z.ZodOptional<z.ZodString>;
3186
- validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3187
- createdAt: z.ZodString;
3188
- updatedAt: z.ZodString;
3178
+ memory: z.ZodLazy<z.ZodObject<{
3179
+ id: z.ZodString;
3180
+ content: z.ZodString;
3181
+ memoryType: z.ZodString;
3182
+ context: z.ZodOptional<z.ZodString>;
3183
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3184
+ timestamp: z.ZodOptional<z.ZodString>;
3185
+ eventTime: z.ZodOptional<z.ZodString>;
3186
+ validFrom: z.ZodOptional<z.ZodString>;
3187
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3188
+ createdAt: z.ZodString;
3189
+ updatedAt: z.ZodString;
3190
+ }, "strip", z.ZodTypeAny, {
3191
+ id: string;
3192
+ createdAt: string;
3193
+ content: string;
3194
+ updatedAt: string;
3195
+ memoryType: string;
3196
+ context?: string | undefined;
3197
+ topics?: string[] | undefined;
3198
+ timestamp?: string | undefined;
3199
+ eventTime?: string | undefined;
3200
+ validFrom?: string | undefined;
3201
+ validTo?: string | null | undefined;
3202
+ }, {
3203
+ id: string;
3204
+ createdAt: string;
3205
+ content: string;
3206
+ updatedAt: string;
3207
+ memoryType: string;
3208
+ context?: string | undefined;
3209
+ topics?: string[] | undefined;
3210
+ timestamp?: string | undefined;
3211
+ eventTime?: string | undefined;
3212
+ validFrom?: string | undefined;
3213
+ validTo?: string | null | undefined;
3214
+ }>>;
3215
+ score: z.ZodNumber;
3216
+ entities: z.ZodArray<z.ZodLazy<z.ZodObject<{
3217
+ name: z.ZodOptional<z.ZodString>;
3218
+ type: z.ZodOptional<z.ZodString>;
3219
+ }, "strip", z.ZodTypeAny, {
3220
+ name?: string | undefined;
3221
+ type?: string | undefined;
3222
+ }, {
3223
+ name?: string | undefined;
3224
+ type?: string | undefined;
3225
+ }>>, "many">;
3226
+ topics: z.ZodArray<z.ZodLazy<z.ZodObject<{
3227
+ name: z.ZodString;
3228
+ count: z.ZodNumber;
3229
+ }, "strip", z.ZodTypeAny, {
3230
+ name: string;
3231
+ count: number;
3232
+ }, {
3233
+ name: string;
3234
+ count: number;
3235
+ }>>, "many">;
3189
3236
  }, "strip", z.ZodTypeAny, {
3190
- id: string;
3191
- createdAt: string;
3192
- content: string;
3193
- updatedAt: string;
3194
- memoryType: string;
3195
- context?: string | undefined;
3196
- topics?: string[] | undefined;
3197
- timestamp?: string | undefined;
3198
- eventTime?: string | undefined;
3199
- validFrom?: string | undefined;
3200
- validTo?: string | null | undefined;
3237
+ topics: {
3238
+ name: string;
3239
+ count: number;
3240
+ }[];
3241
+ memory: {
3242
+ id: string;
3243
+ createdAt: string;
3244
+ content: string;
3245
+ updatedAt: string;
3246
+ memoryType: string;
3247
+ context?: string | undefined;
3248
+ topics?: string[] | undefined;
3249
+ timestamp?: string | undefined;
3250
+ eventTime?: string | undefined;
3251
+ validFrom?: string | undefined;
3252
+ validTo?: string | null | undefined;
3253
+ };
3254
+ score: number;
3255
+ entities: {
3256
+ name?: string | undefined;
3257
+ type?: string | undefined;
3258
+ }[];
3201
3259
  }, {
3202
- id: string;
3203
- createdAt: string;
3204
- content: string;
3205
- updatedAt: string;
3206
- memoryType: string;
3207
- context?: string | undefined;
3208
- topics?: string[] | undefined;
3209
- timestamp?: string | undefined;
3210
- eventTime?: string | undefined;
3211
- validFrom?: string | undefined;
3212
- validTo?: string | null | undefined;
3260
+ topics: {
3261
+ name: string;
3262
+ count: number;
3263
+ }[];
3264
+ memory: {
3265
+ id: string;
3266
+ createdAt: string;
3267
+ content: string;
3268
+ updatedAt: string;
3269
+ memoryType: string;
3270
+ context?: string | undefined;
3271
+ topics?: string[] | undefined;
3272
+ timestamp?: string | undefined;
3273
+ eventTime?: string | undefined;
3274
+ validFrom?: string | undefined;
3275
+ validTo?: string | null | undefined;
3276
+ };
3277
+ score: number;
3278
+ entities: {
3279
+ name?: string | undefined;
3280
+ type?: string | undefined;
3281
+ }[];
3213
3282
  }>>, "many">;
3214
- count: z.ZodNumber;
3215
- metadata: z.ZodAny;
3283
+ pagination: z.ZodLazy<z.ZodObject<{
3284
+ limit: z.ZodNumber;
3285
+ offset: z.ZodNumber;
3286
+ count: z.ZodNumber;
3287
+ }, "strip", z.ZodTypeAny, {
3288
+ count: number;
3289
+ limit: number;
3290
+ offset: number;
3291
+ }, {
3292
+ count: number;
3293
+ limit: number;
3294
+ offset: number;
3295
+ }>>;
3296
+ temporalMetadata: z.ZodLazy<z.ZodObject<{
3297
+ temporalMode: z.ZodString;
3298
+ asOfTime: z.ZodNullable<z.ZodString>;
3299
+ validAtTime: z.ZodNullable<z.ZodString>;
3300
+ eventTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3301
+ from: z.ZodNullable<z.ZodString>;
3302
+ to: z.ZodNullable<z.ZodString>;
3303
+ }, "strip", z.ZodTypeAny, {
3304
+ from: string | null;
3305
+ to: string | null;
3306
+ }, {
3307
+ from: string | null;
3308
+ to: string | null;
3309
+ }>>>;
3310
+ ingestionTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3311
+ from: z.ZodNullable<z.ZodString>;
3312
+ to: z.ZodNullable<z.ZodString>;
3313
+ }, "strip", z.ZodTypeAny, {
3314
+ from: string | null;
3315
+ to: string | null;
3316
+ }, {
3317
+ from: string | null;
3318
+ to: string | null;
3319
+ }>>>;
3320
+ includeExpired: z.ZodBoolean;
3321
+ temporalFieldsIncluded: z.ZodBoolean;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ asOfTime: string | null;
3324
+ validAtTime: string | null;
3325
+ includeExpired: boolean;
3326
+ temporalMode: string;
3327
+ eventTimeRange: {
3328
+ from: string | null;
3329
+ to: string | null;
3330
+ } | null;
3331
+ ingestionTimeRange: {
3332
+ from: string | null;
3333
+ to: string | null;
3334
+ } | null;
3335
+ temporalFieldsIncluded: boolean;
3336
+ }, {
3337
+ asOfTime: string | null;
3338
+ validAtTime: string | null;
3339
+ includeExpired: boolean;
3340
+ temporalMode: string;
3341
+ eventTimeRange: {
3342
+ from: string | null;
3343
+ to: string | null;
3344
+ } | null;
3345
+ ingestionTimeRange: {
3346
+ from: string | null;
3347
+ to: string | null;
3348
+ } | null;
3349
+ temporalFieldsIncluded: boolean;
3350
+ }>>;
3216
3351
  }, "strip", z.ZodTypeAny, {
3352
+ pagination: {
3353
+ count: number;
3354
+ limit: number;
3355
+ offset: number;
3356
+ };
3217
3357
  data: {
3218
- id: string;
3219
- createdAt: string;
3220
- content: string;
3221
- updatedAt: string;
3222
- memoryType: string;
3223
- context?: string | undefined;
3224
- topics?: string[] | undefined;
3225
- timestamp?: string | undefined;
3226
- eventTime?: string | undefined;
3227
- validFrom?: string | undefined;
3228
- validTo?: string | null | undefined;
3358
+ topics: {
3359
+ name: string;
3360
+ count: number;
3361
+ }[];
3362
+ memory: {
3363
+ id: string;
3364
+ createdAt: string;
3365
+ content: string;
3366
+ updatedAt: string;
3367
+ memoryType: string;
3368
+ context?: string | undefined;
3369
+ topics?: string[] | undefined;
3370
+ timestamp?: string | undefined;
3371
+ eventTime?: string | undefined;
3372
+ validFrom?: string | undefined;
3373
+ validTo?: string | null | undefined;
3374
+ };
3375
+ score: number;
3376
+ entities: {
3377
+ name?: string | undefined;
3378
+ type?: string | undefined;
3379
+ }[];
3229
3380
  }[];
3230
- count: number;
3231
- metadata?: any;
3381
+ temporalMetadata: {
3382
+ asOfTime: string | null;
3383
+ validAtTime: string | null;
3384
+ includeExpired: boolean;
3385
+ temporalMode: string;
3386
+ eventTimeRange: {
3387
+ from: string | null;
3388
+ to: string | null;
3389
+ } | null;
3390
+ ingestionTimeRange: {
3391
+ from: string | null;
3392
+ to: string | null;
3393
+ } | null;
3394
+ temporalFieldsIncluded: boolean;
3395
+ };
3232
3396
  }, {
3397
+ pagination: {
3398
+ count: number;
3399
+ limit: number;
3400
+ offset: number;
3401
+ };
3233
3402
  data: {
3234
- id: string;
3235
- createdAt: string;
3236
- content: string;
3237
- updatedAt: string;
3238
- memoryType: string;
3239
- context?: string | undefined;
3240
- topics?: string[] | undefined;
3241
- timestamp?: string | undefined;
3242
- eventTime?: string | undefined;
3243
- validFrom?: string | undefined;
3244
- validTo?: string | null | undefined;
3403
+ topics: {
3404
+ name: string;
3405
+ count: number;
3406
+ }[];
3407
+ memory: {
3408
+ id: string;
3409
+ createdAt: string;
3410
+ content: string;
3411
+ updatedAt: string;
3412
+ memoryType: string;
3413
+ context?: string | undefined;
3414
+ topics?: string[] | undefined;
3415
+ timestamp?: string | undefined;
3416
+ eventTime?: string | undefined;
3417
+ validFrom?: string | undefined;
3418
+ validTo?: string | null | undefined;
3419
+ };
3420
+ score: number;
3421
+ entities: {
3422
+ name?: string | undefined;
3423
+ type?: string | undefined;
3424
+ }[];
3245
3425
  }[];
3246
- count: number;
3247
- metadata?: any;
3426
+ temporalMetadata: {
3427
+ asOfTime: string | null;
3428
+ validAtTime: string | null;
3429
+ includeExpired: boolean;
3430
+ temporalMode: string;
3431
+ eventTimeRange: {
3432
+ from: string | null;
3433
+ to: string | null;
3434
+ } | null;
3435
+ ingestionTimeRange: {
3436
+ from: string | null;
3437
+ to: string | null;
3438
+ } | null;
3439
+ temporalFieldsIncluded: boolean;
3440
+ };
3248
3441
  }>>;
3249
3442
  /**
3250
3443
  *
3251
3444
  * @typedef {SearchResponse} searchResponse
3252
- * @property {Memory[]} - Search results
3253
- * @property {number} - Total number of results
3254
- * @property {any} - Search metadata
3445
+ * @property {SearchResult[]} - Search results with metadata
3446
+ * @property {SearchResponsePagination} - Pagination information
3447
+ * @property {TemporalMetadata} - Temporal query metadata
3255
3448
  */
3256
3449
  type SearchResponse = z.infer<typeof searchResponse>;
3257
3450
 
@@ -3397,6 +3590,347 @@ declare enum TemporalMode {
3397
3590
  EVOLUTION = "evolution"
3398
3591
  }
3399
3592
 
3593
+ /**
3594
+ * The shape of the model inside the application code - what the users use
3595
+ */
3596
+ declare const searchResult: z.ZodLazy<z.ZodObject<{
3597
+ memory: z.ZodLazy<z.ZodObject<{
3598
+ id: z.ZodString;
3599
+ content: z.ZodString;
3600
+ memoryType: z.ZodString;
3601
+ context: z.ZodOptional<z.ZodString>;
3602
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3603
+ timestamp: z.ZodOptional<z.ZodString>;
3604
+ eventTime: z.ZodOptional<z.ZodString>;
3605
+ validFrom: z.ZodOptional<z.ZodString>;
3606
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3607
+ createdAt: z.ZodString;
3608
+ updatedAt: z.ZodString;
3609
+ }, "strip", z.ZodTypeAny, {
3610
+ id: string;
3611
+ createdAt: string;
3612
+ content: string;
3613
+ updatedAt: string;
3614
+ memoryType: string;
3615
+ context?: string | undefined;
3616
+ topics?: string[] | undefined;
3617
+ timestamp?: string | undefined;
3618
+ eventTime?: string | undefined;
3619
+ validFrom?: string | undefined;
3620
+ validTo?: string | null | undefined;
3621
+ }, {
3622
+ id: string;
3623
+ createdAt: string;
3624
+ content: string;
3625
+ updatedAt: string;
3626
+ memoryType: string;
3627
+ context?: string | undefined;
3628
+ topics?: string[] | undefined;
3629
+ timestamp?: string | undefined;
3630
+ eventTime?: string | undefined;
3631
+ validFrom?: string | undefined;
3632
+ validTo?: string | null | undefined;
3633
+ }>>;
3634
+ score: z.ZodNumber;
3635
+ entities: z.ZodArray<z.ZodLazy<z.ZodObject<{
3636
+ name: z.ZodOptional<z.ZodString>;
3637
+ type: z.ZodOptional<z.ZodString>;
3638
+ }, "strip", z.ZodTypeAny, {
3639
+ name?: string | undefined;
3640
+ type?: string | undefined;
3641
+ }, {
3642
+ name?: string | undefined;
3643
+ type?: string | undefined;
3644
+ }>>, "many">;
3645
+ topics: z.ZodArray<z.ZodLazy<z.ZodObject<{
3646
+ name: z.ZodString;
3647
+ count: z.ZodNumber;
3648
+ }, "strip", z.ZodTypeAny, {
3649
+ name: string;
3650
+ count: number;
3651
+ }, {
3652
+ name: string;
3653
+ count: number;
3654
+ }>>, "many">;
3655
+ }, "strip", z.ZodTypeAny, {
3656
+ topics: {
3657
+ name: string;
3658
+ count: number;
3659
+ }[];
3660
+ memory: {
3661
+ id: string;
3662
+ createdAt: string;
3663
+ content: string;
3664
+ updatedAt: string;
3665
+ memoryType: string;
3666
+ context?: string | undefined;
3667
+ topics?: string[] | undefined;
3668
+ timestamp?: string | undefined;
3669
+ eventTime?: string | undefined;
3670
+ validFrom?: string | undefined;
3671
+ validTo?: string | null | undefined;
3672
+ };
3673
+ score: number;
3674
+ entities: {
3675
+ name?: string | undefined;
3676
+ type?: string | undefined;
3677
+ }[];
3678
+ }, {
3679
+ topics: {
3680
+ name: string;
3681
+ count: number;
3682
+ }[];
3683
+ memory: {
3684
+ id: string;
3685
+ createdAt: string;
3686
+ content: string;
3687
+ updatedAt: string;
3688
+ memoryType: string;
3689
+ context?: string | undefined;
3690
+ topics?: string[] | undefined;
3691
+ timestamp?: string | undefined;
3692
+ eventTime?: string | undefined;
3693
+ validFrom?: string | undefined;
3694
+ validTo?: string | null | undefined;
3695
+ };
3696
+ score: number;
3697
+ entities: {
3698
+ name?: string | undefined;
3699
+ type?: string | undefined;
3700
+ }[];
3701
+ }>>;
3702
+ /**
3703
+ *
3704
+ * @typedef {SearchResult} searchResult
3705
+ * @property {SearchResultMemory} - The memory object
3706
+ * @property {number} - Relevance score for this result
3707
+ * @property {Entity[]} - Entities mentioned in this memory
3708
+ * @property {Topic[]} - Topics associated with this memory
3709
+ */
3710
+ type SearchResult = z.infer<typeof searchResult>;
3711
+
3712
+ /**
3713
+ * The shape of the model inside the application code - what the users use
3714
+ */
3715
+ declare const searchResultMemory: z.ZodLazy<z.ZodObject<{
3716
+ id: z.ZodString;
3717
+ content: z.ZodString;
3718
+ memoryType: z.ZodString;
3719
+ context: z.ZodOptional<z.ZodString>;
3720
+ topics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3721
+ timestamp: z.ZodOptional<z.ZodString>;
3722
+ eventTime: z.ZodOptional<z.ZodString>;
3723
+ validFrom: z.ZodOptional<z.ZodString>;
3724
+ validTo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3725
+ createdAt: z.ZodString;
3726
+ updatedAt: z.ZodString;
3727
+ }, "strip", z.ZodTypeAny, {
3728
+ id: string;
3729
+ createdAt: string;
3730
+ content: string;
3731
+ updatedAt: string;
3732
+ memoryType: string;
3733
+ context?: string | undefined;
3734
+ topics?: string[] | undefined;
3735
+ timestamp?: string | undefined;
3736
+ eventTime?: string | undefined;
3737
+ validFrom?: string | undefined;
3738
+ validTo?: string | null | undefined;
3739
+ }, {
3740
+ id: string;
3741
+ createdAt: string;
3742
+ content: string;
3743
+ updatedAt: string;
3744
+ memoryType: string;
3745
+ context?: string | undefined;
3746
+ topics?: string[] | undefined;
3747
+ timestamp?: string | undefined;
3748
+ eventTime?: string | undefined;
3749
+ validFrom?: string | undefined;
3750
+ validTo?: string | null | undefined;
3751
+ }>>;
3752
+ /**
3753
+ * The memory object
3754
+ * @typedef {SearchResultMemory} searchResultMemory - The memory object - The memory object
3755
+ * @property {string} - Unique memory identifier
3756
+ * @property {string} - Memory content
3757
+ * @property {MemoryMemoryType2} - Type of memory
3758
+ * @property {string} - Context or domain of the memory
3759
+ * @property {string[]} - Associated topics
3760
+ * @property {string} - System ingestion timestamp (when the system learned about this)
3761
+ * @property {string} - Event time (when the event actually occurred in reality)
3762
+ * @property {string} - Validity start time (when this fact becomes valid)
3763
+ * @property {string} - Validity end time (when this fact expires, null means never expires)
3764
+ * @property {string} - Creation timestamp
3765
+ * @property {string} - Last update timestamp
3766
+ */
3767
+ type SearchResultMemory = z.infer<typeof searchResultMemory>;
3768
+
3769
+ declare enum MemoryMemoryType2 {
3770
+ EPISODIC = "episodic",
3771
+ SEMANTIC = "semantic",
3772
+ PROCEDURAL = "procedural"
3773
+ }
3774
+
3775
+ /**
3776
+ * The shape of the model inside the application code - what the users use
3777
+ */
3778
+ declare const entity: z.ZodLazy<z.ZodObject<{
3779
+ name: z.ZodOptional<z.ZodString>;
3780
+ type: z.ZodOptional<z.ZodString>;
3781
+ }, "strip", z.ZodTypeAny, {
3782
+ name?: string | undefined;
3783
+ type?: string | undefined;
3784
+ }, {
3785
+ name?: string | undefined;
3786
+ type?: string | undefined;
3787
+ }>>;
3788
+ /**
3789
+ *
3790
+ * @typedef {Entity} entity
3791
+ * @property {string} - Entity name
3792
+ * @property {string} - Entity type
3793
+ */
3794
+ type Entity = z.infer<typeof entity>;
3795
+
3796
+ /**
3797
+ * The shape of the model inside the application code - what the users use
3798
+ */
3799
+ declare const searchResponsePagination: z.ZodLazy<z.ZodObject<{
3800
+ limit: z.ZodNumber;
3801
+ offset: z.ZodNumber;
3802
+ count: z.ZodNumber;
3803
+ }, "strip", z.ZodTypeAny, {
3804
+ count: number;
3805
+ limit: number;
3806
+ offset: number;
3807
+ }, {
3808
+ count: number;
3809
+ limit: number;
3810
+ offset: number;
3811
+ }>>;
3812
+ /**
3813
+ * Pagination information
3814
+ * @typedef {SearchResponsePagination} searchResponsePagination - Pagination information - Pagination information
3815
+ * @property {number} - Maximum number of items per page
3816
+ * @property {number} - Number of items to skip
3817
+ * @property {number} - Total number of items
3818
+ */
3819
+ type SearchResponsePagination = z.infer<typeof searchResponsePagination>;
3820
+
3821
+ /**
3822
+ * The shape of the model inside the application code - what the users use
3823
+ */
3824
+ declare const temporalMetadata: z.ZodLazy<z.ZodObject<{
3825
+ temporalMode: z.ZodString;
3826
+ asOfTime: z.ZodNullable<z.ZodString>;
3827
+ validAtTime: z.ZodNullable<z.ZodString>;
3828
+ eventTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3829
+ from: z.ZodNullable<z.ZodString>;
3830
+ to: z.ZodNullable<z.ZodString>;
3831
+ }, "strip", z.ZodTypeAny, {
3832
+ from: string | null;
3833
+ to: string | null;
3834
+ }, {
3835
+ from: string | null;
3836
+ to: string | null;
3837
+ }>>>;
3838
+ ingestionTimeRange: z.ZodNullable<z.ZodLazy<z.ZodObject<{
3839
+ from: z.ZodNullable<z.ZodString>;
3840
+ to: z.ZodNullable<z.ZodString>;
3841
+ }, "strip", z.ZodTypeAny, {
3842
+ from: string | null;
3843
+ to: string | null;
3844
+ }, {
3845
+ from: string | null;
3846
+ to: string | null;
3847
+ }>>>;
3848
+ includeExpired: z.ZodBoolean;
3849
+ temporalFieldsIncluded: z.ZodBoolean;
3850
+ }, "strip", z.ZodTypeAny, {
3851
+ asOfTime: string | null;
3852
+ validAtTime: string | null;
3853
+ includeExpired: boolean;
3854
+ temporalMode: string;
3855
+ eventTimeRange: {
3856
+ from: string | null;
3857
+ to: string | null;
3858
+ } | null;
3859
+ ingestionTimeRange: {
3860
+ from: string | null;
3861
+ to: string | null;
3862
+ } | null;
3863
+ temporalFieldsIncluded: boolean;
3864
+ }, {
3865
+ asOfTime: string | null;
3866
+ validAtTime: string | null;
3867
+ includeExpired: boolean;
3868
+ temporalMode: string;
3869
+ eventTimeRange: {
3870
+ from: string | null;
3871
+ to: string | null;
3872
+ } | null;
3873
+ ingestionTimeRange: {
3874
+ from: string | null;
3875
+ to: string | null;
3876
+ } | null;
3877
+ temporalFieldsIncluded: boolean;
3878
+ }>>;
3879
+ /**
3880
+ * Temporal query metadata
3881
+ * @typedef {TemporalMetadata} temporalMetadata - Temporal query metadata - Temporal query metadata
3882
+ * @property {string} - Temporal query mode used
3883
+ * @property {string} - Point-in-time timestamp
3884
+ * @property {string} - Validity timestamp
3885
+ * @property {EventTimeRange} - Event time range filter
3886
+ * @property {IngestionTimeRange} - Ingestion time range filter
3887
+ * @property {boolean} - Whether expired facts are included
3888
+ * @property {boolean} - Whether temporal fields are included in results
3889
+ */
3890
+ type TemporalMetadata = z.infer<typeof temporalMetadata>;
3891
+
3892
+ /**
3893
+ * The shape of the model inside the application code - what the users use
3894
+ */
3895
+ declare const eventTimeRange: z.ZodLazy<z.ZodObject<{
3896
+ from: z.ZodNullable<z.ZodString>;
3897
+ to: z.ZodNullable<z.ZodString>;
3898
+ }, "strip", z.ZodTypeAny, {
3899
+ from: string | null;
3900
+ to: string | null;
3901
+ }, {
3902
+ from: string | null;
3903
+ to: string | null;
3904
+ }>>;
3905
+ /**
3906
+ * Event time range filter
3907
+ * @typedef {EventTimeRange} eventTimeRange - Event time range filter - Event time range filter
3908
+ * @property {string}
3909
+ * @property {string}
3910
+ */
3911
+ type EventTimeRange = z.infer<typeof eventTimeRange>;
3912
+
3913
+ /**
3914
+ * The shape of the model inside the application code - what the users use
3915
+ */
3916
+ declare const ingestionTimeRange: z.ZodLazy<z.ZodObject<{
3917
+ from: z.ZodNullable<z.ZodString>;
3918
+ to: z.ZodNullable<z.ZodString>;
3919
+ }, "strip", z.ZodTypeAny, {
3920
+ from: string | null;
3921
+ to: string | null;
3922
+ }, {
3923
+ from: string | null;
3924
+ to: string | null;
3925
+ }>>;
3926
+ /**
3927
+ * Ingestion time range filter
3928
+ * @typedef {IngestionTimeRange} ingestionTimeRange - Ingestion time range filter - Ingestion time range filter
3929
+ * @property {string}
3930
+ * @property {string}
3931
+ */
3932
+ type IngestionTimeRange = z.infer<typeof ingestionTimeRange>;
3933
+
3400
3934
  declare enum NoCache {
3401
3935
  _1 = "1",
3402
3936
  TRUE_ = "true"
@@ -4394,27 +4928,6 @@ declare class TopicsService extends BaseService {
4394
4928
  searchTopics(body: SearchTopicsRequest, requestConfig?: RequestConfig): Promise<HttpResponse<SearchTopicsOkResponse>>;
4395
4929
  }
4396
4930
 
4397
- /**
4398
- * The shape of the model inside the application code - what the users use
4399
- */
4400
- declare const topic: z.ZodLazy<z.ZodObject<{
4401
- name: z.ZodString;
4402
- count: z.ZodNumber;
4403
- }, "strip", z.ZodTypeAny, {
4404
- name: string;
4405
- count: number;
4406
- }, {
4407
- name: string;
4408
- count: number;
4409
- }>>;
4410
- /**
4411
- *
4412
- * @typedef {Topic} topic
4413
- * @property {string} - Topic name
4414
- * @property {number} - Number of memories associated with this topic
4415
- */
4416
- type Topic = z.infer<typeof topic>;
4417
-
4418
4931
  /**
4419
4932
  * The shape of the model inside the application code - what the users use
4420
4933
  */
@@ -4777,7 +5290,7 @@ declare const memory: z.ZodLazy<z.ZodObject<{
4777
5290
  * @typedef {Memory} memory
4778
5291
  * @property {string} - Unique memory identifier
4779
5292
  * @property {string} - Memory content
4780
- * @property {MemoryMemoryType} - Type of memory
5293
+ * @property {MemoryMemoryType1} - Type of memory
4781
5294
  * @property {string} - Context or domain of the memory
4782
5295
  * @property {string[]} - Associated topics
4783
5296
  * @property {string} - System ingestion timestamp (when the system learned about this)
@@ -4789,6 +5302,27 @@ declare const memory: z.ZodLazy<z.ZodObject<{
4789
5302
  */
4790
5303
  type Memory = z.infer<typeof memory>;
4791
5304
 
5305
+ /**
5306
+ * The shape of the model inside the application code - what the users use
5307
+ */
5308
+ declare const topic: z.ZodLazy<z.ZodObject<{
5309
+ name: z.ZodString;
5310
+ count: z.ZodNumber;
5311
+ }, "strip", z.ZodTypeAny, {
5312
+ name: string;
5313
+ count: number;
5314
+ }, {
5315
+ name: string;
5316
+ count: number;
5317
+ }>>;
5318
+ /**
5319
+ *
5320
+ * @typedef {Topic} topic
5321
+ * @property {string} - Topic name
5322
+ * @property {number} - Number of memories associated with this topic
5323
+ */
5324
+ type Topic = z.infer<typeof topic>;
5325
+
4792
5326
  declare class Error$1 extends ThrowableError {
4793
5327
  message: string;
4794
5328
  protected response?: unknown;
@@ -4818,4 +5352,4 @@ declare class Memnexus {
4818
5352
  set token(token: string);
4819
5353
  }
4820
5354
 
4821
- export { AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityRequest, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsRequest, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DetectCommunitiesRequest, DetectPatternsRequest, DiscoverRelatedTopicsRequest, Environment, Error$1 as Error, EvaluateFeatureFlagRequest, ExecuteGraphRagQueryOkResponse, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetCommunityByIdOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesRequest, RecordPatternFeedbackRequest, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchRequest, SearchResponse, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternRequest, ValidationOptions };
5355
+ export { AnalyzeMemoryQualityOkResponse, AnalyzeMemoryQualityOkResponseData, AnalyzePatternsRequest, ApiKey, ApiKeysService, Artifact, ArtifactsService, BehaviorService, CalculateTopicSimilarityRequest, ClusterTopicsRequest, CommunitiesService, Community, CompilePatternsRequest, Conversation, ConversationsService, CreateApiKeyCreatedResponse, CreateApiKeyCreatedResponseData, CreateApiKeyRequest, CreateArtifactCreatedResponse, CreateArtifactRequest, CreateConversationCreatedResponse, CreateConversationRequest, CreateFactCreatedResponse, CreateFactRequest, CreateMemoryRequest, CreateMemoryRequestMemoryType, CreateMemoryResponse, CreateMemoryResponseMeta, DetectCommunitiesRequest, DetectPatternsRequest, DiscoverRelatedTopicsRequest, Entity, Environment, Error$1 as Error, EvaluateFeatureFlagRequest, EventTimeRange, ExecuteGraphRagQueryOkResponse, Fact, FactSearchRequest, FactsService, FindConversationsByTopicOkResponse, FindConversationsByTopicOkResponseMetadata, FindConversationsByTopicRequest, FindSimilarTopicsRequest, GetArtifactByIdOkResponse, GetCommunityByIdOkResponse, GetConversationSummaryOkResponse, GetConversationTimelineOkResponse, GetFactByIdOkResponse, GetTopicByIdOkResponse, GraphRagQueryRequest, GraphRagQueryResponse, GraphRagQueryResponseMetadata, GraphRagService, GroupBy, HealthCheck, HealthCheckStatus, HealthService, HttpError, HttpMetadata, HttpMethod, HttpResponse, IngestionTimeRange, ListApiKeysOkResponse, ListArtifactsOkResponse, ListCommunitiesOkResponse, ListCommunitiesOkResponsePagination, ListConversationsOkResponse, ListConversationsOkResponsePagination, ListFactsOkResponse, ListMemoriesOkResponse, ListPatternsOkResponse, ListPatternsOkResponsePagination, ListTopicsOkResponse, ListTopicsOkResponsePagination, Memnexus, MemoriesService, Memory, MemoryMemoryType1, MemoryMemoryType2, MergeCommunitiesOkResponse, MergeCommunitiesRequest, MergeTopicsRequest, Mode, NoCache, Pagination, Pattern, PatternsService, PruneMemoriesOkResponse, PruneMemoriesOkResponseData, PruneMemoriesRequest, QualityDistribution, QueryCommunitiesRequest, RecordPatternFeedbackRequest, RequestConfig, Results, RetryOptions, Role, SdkConfig, SearchConversationsOkResponse, SearchConversationsRequest, SearchFactsOkResponse, SearchFactsOkResponseMetadata, SearchRequest, SearchResponse, SearchResponsePagination, SearchResult, SearchResultMemory, SearchTopicsOkResponse, SearchTopicsRequest, ServiceCheck, ServiceCheckStatus, SystemService, TemporalMetadata, TemporalMode, Topic, TopicsService, UpdateArtifactOkResponse, UpdateArtifactRequest, UpdateBehavioralStateRequest, UpdateFactOkResponse, UpdateFactRequest, UpdateMemoryOkResponse, UpdateMemoryRequest, UpdateMemoryRequestMemoryType, UpdatePatternRequest, ValidationOptions };