@memnexus-ai/typescript-sdk 1.1.5 → 1.2.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.
package/dist/index.mjs CHANGED
@@ -2537,13 +2537,13 @@ var ConversationsService = class extends BaseService {
2537
2537
  }
2538
2538
  };
2539
2539
 
2540
- // src/services/conversations/models/memory-memory-type.ts
2541
- var MemoryMemoryType = /* @__PURE__ */ ((MemoryMemoryType2) => {
2542
- MemoryMemoryType2["EPISODIC"] = "episodic";
2543
- MemoryMemoryType2["SEMANTIC"] = "semantic";
2544
- MemoryMemoryType2["PROCEDURAL"] = "procedural";
2545
- return MemoryMemoryType2;
2546
- })(MemoryMemoryType || {});
2540
+ // src/services/conversations/models/memory-memory-type-1.ts
2541
+ var MemoryMemoryType1 = /* @__PURE__ */ ((MemoryMemoryType12) => {
2542
+ MemoryMemoryType12["EPISODIC"] = "episodic";
2543
+ MemoryMemoryType12["SEMANTIC"] = "semantic";
2544
+ MemoryMemoryType12["PROCEDURAL"] = "procedural";
2545
+ return MemoryMemoryType12;
2546
+ })(MemoryMemoryType1 || {});
2547
2547
 
2548
2548
  // src/services/facts/facts-service.ts
2549
2549
  import { z as z41 } from "zod";
@@ -3302,7 +3302,7 @@ var ServiceCheckStatus = /* @__PURE__ */ ((ServiceCheckStatus2) => {
3302
3302
  })(ServiceCheckStatus || {});
3303
3303
 
3304
3304
  // src/services/memories/memories-service.ts
3305
- import { z as z60 } from "zod";
3305
+ import { z as z69 } from "zod";
3306
3306
 
3307
3307
  // src/services/memories/models/update-memory-request.ts
3308
3308
  import { z as z51 } from "zod";
@@ -3558,8 +3558,13 @@ var searchRequest = z58.lazy(() => {
3558
3558
  return z58.object({
3559
3559
  query: z58.string().min(1),
3560
3560
  mode: z58.string().optional(),
3561
+ searchMethod: z58.string().optional(),
3561
3562
  limit: z58.number().gte(1).lte(100).optional(),
3562
3563
  offset: z58.number().gte(0).optional(),
3564
+ vectorWeight: z58.number().gte(0).lte(1).optional(),
3565
+ fulltextWeight: z58.number().gte(0).lte(1).optional(),
3566
+ threshold: z58.number().gte(0).lte(1).optional(),
3567
+ explain: z58.boolean().optional(),
3563
3568
  asOfTime: z58.string().optional(),
3564
3569
  validAtTime: z58.string().optional(),
3565
3570
  eventTimeFrom: z58.string().optional(),
@@ -3574,8 +3579,13 @@ var searchRequestResponse = z58.lazy(() => {
3574
3579
  return z58.object({
3575
3580
  query: z58.string().min(1),
3576
3581
  mode: z58.string().optional(),
3582
+ searchMethod: z58.string().optional(),
3577
3583
  limit: z58.number().gte(1).lte(100).optional(),
3578
3584
  offset: z58.number().gte(0).optional(),
3585
+ vectorWeight: z58.number().gte(0).lte(1).optional(),
3586
+ fulltextWeight: z58.number().gte(0).lte(1).optional(),
3587
+ threshold: z58.number().gte(0).lte(1).optional(),
3588
+ explain: z58.boolean().optional(),
3579
3589
  asOfTime: z58.string().optional(),
3580
3590
  validAtTime: z58.string().optional(),
3581
3591
  eventTimeFrom: z58.string().optional(),
@@ -3587,8 +3597,13 @@ var searchRequestResponse = z58.lazy(() => {
3587
3597
  }).transform((data) => ({
3588
3598
  query: data["query"],
3589
3599
  mode: data["mode"],
3600
+ searchMethod: data["searchMethod"],
3590
3601
  limit: data["limit"],
3591
3602
  offset: data["offset"],
3603
+ vectorWeight: data["vectorWeight"],
3604
+ fulltextWeight: data["fulltextWeight"],
3605
+ threshold: data["threshold"],
3606
+ explain: data["explain"],
3592
3607
  asOfTime: data["asOfTime"],
3593
3608
  validAtTime: data["validAtTime"],
3594
3609
  eventTimeFrom: data["eventTimeFrom"],
@@ -3603,8 +3618,13 @@ var searchRequestRequest = z58.lazy(() => {
3603
3618
  return z58.object({
3604
3619
  query: z58.string().min(1),
3605
3620
  mode: z58.string().optional(),
3621
+ searchMethod: z58.string().optional(),
3606
3622
  limit: z58.number().gte(1).lte(100).optional(),
3607
3623
  offset: z58.number().gte(0).optional(),
3624
+ vectorWeight: z58.number().gte(0).lte(1).optional(),
3625
+ fulltextWeight: z58.number().gte(0).lte(1).optional(),
3626
+ threshold: z58.number().gte(0).lte(1).optional(),
3627
+ explain: z58.boolean().optional(),
3608
3628
  asOfTime: z58.string().optional(),
3609
3629
  validAtTime: z58.string().optional(),
3610
3630
  eventTimeFrom: z58.string().optional(),
@@ -3616,8 +3636,13 @@ var searchRequestRequest = z58.lazy(() => {
3616
3636
  }).transform((data) => ({
3617
3637
  query: data["query"],
3618
3638
  mode: data["mode"],
3639
+ searchMethod: data["searchMethod"],
3619
3640
  limit: data["limit"],
3620
3641
  offset: data["offset"],
3642
+ vectorWeight: data["vectorWeight"],
3643
+ fulltextWeight: data["fulltextWeight"],
3644
+ threshold: data["threshold"],
3645
+ explain: data["explain"],
3621
3646
  asOfTime: data["asOfTime"],
3622
3647
  validAtTime: data["validAtTime"],
3623
3648
  eventTimeFrom: data["eventTimeFrom"],
@@ -3630,34 +3655,418 @@ var searchRequestRequest = z58.lazy(() => {
3630
3655
  });
3631
3656
 
3632
3657
  // src/services/memories/models/search-response.ts
3658
+ import { z as z68 } from "zod";
3659
+
3660
+ // src/services/memories/models/search-result.ts
3661
+ import { z as z63 } from "zod";
3662
+
3663
+ // src/services/memories/models/search-result-memory.ts
3633
3664
  import { z as z59 } from "zod";
3634
- var searchResponse = z59.lazy(() => {
3665
+ var searchResultMemory = z59.lazy(() => {
3635
3666
  return z59.object({
3636
- data: z59.array(memory),
3637
- count: z59.number().gte(0),
3638
- metadata: z59.any()
3667
+ id: z59.string(),
3668
+ content: z59.string(),
3669
+ memoryType: z59.string(),
3670
+ context: z59.string().optional(),
3671
+ topics: z59.array(z59.string()).optional(),
3672
+ timestamp: z59.string().optional(),
3673
+ eventTime: z59.string().optional(),
3674
+ validFrom: z59.string().optional(),
3675
+ validTo: z59.string().optional().nullable(),
3676
+ createdAt: z59.string(),
3677
+ updatedAt: z59.string()
3639
3678
  });
3640
3679
  });
3641
- var searchResponseResponse = z59.lazy(() => {
3680
+ var searchResultMemoryResponse = z59.lazy(() => {
3642
3681
  return z59.object({
3643
- data: z59.array(memoryResponse),
3644
- count: z59.number().gte(0),
3645
- metadata: z59.any()
3682
+ id: z59.string(),
3683
+ content: z59.string(),
3684
+ memoryType: z59.string(),
3685
+ context: z59.string().optional(),
3686
+ topics: z59.array(z59.string()).optional(),
3687
+ timestamp: z59.string().optional(),
3688
+ eventTime: z59.string().optional(),
3689
+ validFrom: z59.string().optional(),
3690
+ validTo: z59.string().optional().nullable(),
3691
+ createdAt: z59.string(),
3692
+ updatedAt: z59.string()
3646
3693
  }).transform((data) => ({
3647
- data: data["data"],
3648
- count: data["count"],
3649
- metadata: data["metadata"]
3694
+ id: data["id"],
3695
+ content: data["content"],
3696
+ memoryType: data["memoryType"],
3697
+ context: data["context"],
3698
+ topics: data["topics"],
3699
+ timestamp: data["timestamp"],
3700
+ eventTime: data["eventTime"],
3701
+ validFrom: data["validFrom"],
3702
+ validTo: data["validTo"],
3703
+ createdAt: data["createdAt"],
3704
+ updatedAt: data["updatedAt"]
3650
3705
  }));
3651
3706
  });
3652
- var searchResponseRequest = z59.lazy(() => {
3707
+ var searchResultMemoryRequest = z59.lazy(() => {
3653
3708
  return z59.object({
3654
- data: z59.array(memoryRequest),
3655
- count: z59.number().gte(0),
3656
- metadata: z59.any()
3709
+ id: z59.string(),
3710
+ content: z59.string(),
3711
+ memoryType: z59.string(),
3712
+ context: z59.string().optional(),
3713
+ topics: z59.array(z59.string()).optional(),
3714
+ timestamp: z59.string().optional(),
3715
+ eventTime: z59.string().optional(),
3716
+ validFrom: z59.string().optional(),
3717
+ validTo: z59.string().optional().nullable(),
3718
+ createdAt: z59.string(),
3719
+ updatedAt: z59.string()
3720
+ }).transform((data) => ({
3721
+ id: data["id"],
3722
+ content: data["content"],
3723
+ memoryType: data["memoryType"],
3724
+ context: data["context"],
3725
+ topics: data["topics"],
3726
+ timestamp: data["timestamp"],
3727
+ eventTime: data["eventTime"],
3728
+ validFrom: data["validFrom"],
3729
+ validTo: data["validTo"],
3730
+ createdAt: data["createdAt"],
3731
+ updatedAt: data["updatedAt"]
3732
+ }));
3733
+ });
3734
+
3735
+ // src/services/memories/models/entity.ts
3736
+ import { z as z60 } from "zod";
3737
+ var entity = z60.lazy(() => {
3738
+ return z60.object({
3739
+ name: z60.string().optional(),
3740
+ type: z60.string().optional()
3741
+ });
3742
+ });
3743
+ var entityResponse = z60.lazy(() => {
3744
+ return z60.object({
3745
+ name: z60.string().optional(),
3746
+ type: z60.string().optional()
3747
+ }).transform((data) => ({
3748
+ name: data["name"],
3749
+ type: data["type"]
3750
+ }));
3751
+ });
3752
+ var entityRequest = z60.lazy(() => {
3753
+ return z60.object({
3754
+ name: z60.string().optional(),
3755
+ type: z60.string().optional()
3756
+ }).transform((data) => ({
3757
+ name: data["name"],
3758
+ type: data["type"]
3759
+ }));
3760
+ });
3761
+
3762
+ // src/services/common/topic.ts
3763
+ import { z as z61 } from "zod";
3764
+ var topic = z61.lazy(() => {
3765
+ return z61.object({
3766
+ name: z61.string(),
3767
+ count: z61.number().gte(0)
3768
+ });
3769
+ });
3770
+ var topicResponse = z61.lazy(() => {
3771
+ return z61.object({
3772
+ name: z61.string(),
3773
+ count: z61.number().gte(0)
3774
+ }).transform((data) => ({
3775
+ name: data["name"],
3776
+ count: data["count"]
3777
+ }));
3778
+ });
3779
+ var topicRequest = z61.lazy(() => {
3780
+ return z61.object({
3781
+ name: z61.string(),
3782
+ count: z61.number().gte(0)
3783
+ }).transform((data) => ({
3784
+ name: data["name"],
3785
+ count: data["count"]
3786
+ }));
3787
+ });
3788
+
3789
+ // src/services/memories/models/explanation.ts
3790
+ import { z as z62 } from "zod";
3791
+ var explanation = z62.lazy(() => {
3792
+ return z62.object({
3793
+ matchReason: z62.string(),
3794
+ matchedTerms: z62.array(z62.string()).optional(),
3795
+ semanticSimilarity: z62.number().optional(),
3796
+ contributingFactors: z62.array(z62.string()).optional()
3797
+ });
3798
+ });
3799
+ var explanationResponse = z62.lazy(() => {
3800
+ return z62.object({
3801
+ matchReason: z62.string(),
3802
+ matchedTerms: z62.array(z62.string()).optional(),
3803
+ semanticSimilarity: z62.number().optional(),
3804
+ contributingFactors: z62.array(z62.string()).optional()
3805
+ }).transform((data) => ({
3806
+ matchReason: data["matchReason"],
3807
+ matchedTerms: data["matchedTerms"],
3808
+ semanticSimilarity: data["semanticSimilarity"],
3809
+ contributingFactors: data["contributingFactors"]
3810
+ }));
3811
+ });
3812
+ var explanationRequest = z62.lazy(() => {
3813
+ return z62.object({
3814
+ matchReason: z62.string(),
3815
+ matchedTerms: z62.array(z62.string()).optional(),
3816
+ semanticSimilarity: z62.number().optional(),
3817
+ contributingFactors: z62.array(z62.string()).optional()
3818
+ }).transform((data) => ({
3819
+ matchReason: data["matchReason"],
3820
+ matchedTerms: data["matchedTerms"],
3821
+ semanticSimilarity: data["semanticSimilarity"],
3822
+ contributingFactors: data["contributingFactors"]
3823
+ }));
3824
+ });
3825
+
3826
+ // src/services/memories/models/search-result.ts
3827
+ var searchResult = z63.lazy(() => {
3828
+ return z63.object({
3829
+ memory: searchResultMemory,
3830
+ score: z63.number(),
3831
+ entities: z63.array(entity).optional(),
3832
+ topics: z63.array(topic).optional(),
3833
+ searchMethod: z63.string().optional(),
3834
+ hybridScore: z63.number().optional(),
3835
+ vectorScore: z63.number().optional(),
3836
+ vectorRank: z63.number().optional().nullable(),
3837
+ fulltextScore: z63.number().optional(),
3838
+ fulltextRank: z63.number().optional().nullable(),
3839
+ explanation: explanation.optional()
3840
+ });
3841
+ });
3842
+ var searchResultResponse = z63.lazy(() => {
3843
+ return z63.object({
3844
+ memory: searchResultMemoryResponse,
3845
+ score: z63.number(),
3846
+ entities: z63.array(entityResponse).optional(),
3847
+ topics: z63.array(topicResponse).optional(),
3848
+ searchMethod: z63.string().optional(),
3849
+ hybridScore: z63.number().optional(),
3850
+ vectorScore: z63.number().optional(),
3851
+ vectorRank: z63.number().optional().nullable(),
3852
+ fulltextScore: z63.number().optional(),
3853
+ fulltextRank: z63.number().optional().nullable(),
3854
+ explanation: explanationResponse.optional()
3855
+ }).transform((data) => ({
3856
+ memory: data["memory"],
3857
+ score: data["score"],
3858
+ entities: data["entities"],
3859
+ topics: data["topics"],
3860
+ searchMethod: data["searchMethod"],
3861
+ hybridScore: data["hybridScore"],
3862
+ vectorScore: data["vectorScore"],
3863
+ vectorRank: data["vectorRank"],
3864
+ fulltextScore: data["fulltextScore"],
3865
+ fulltextRank: data["fulltextRank"],
3866
+ explanation: data["explanation"]
3867
+ }));
3868
+ });
3869
+ var searchResultRequest = z63.lazy(() => {
3870
+ return z63.object({
3871
+ memory: searchResultMemoryRequest,
3872
+ score: z63.number(),
3873
+ entities: z63.array(entityRequest).optional(),
3874
+ topics: z63.array(topicRequest).optional(),
3875
+ searchMethod: z63.string().optional(),
3876
+ hybridScore: z63.number().optional(),
3877
+ vectorScore: z63.number().optional(),
3878
+ vectorRank: z63.number().optional().nullable(),
3879
+ fulltextScore: z63.number().optional(),
3880
+ fulltextRank: z63.number().optional().nullable(),
3881
+ explanation: explanationRequest.optional()
3882
+ }).transform((data) => ({
3883
+ memory: data["memory"],
3884
+ score: data["score"],
3885
+ entities: data["entities"],
3886
+ topics: data["topics"],
3887
+ searchMethod: data["searchMethod"],
3888
+ hybridScore: data["hybridScore"],
3889
+ vectorScore: data["vectorScore"],
3890
+ vectorRank: data["vectorRank"],
3891
+ fulltextScore: data["fulltextScore"],
3892
+ fulltextRank: data["fulltextRank"],
3893
+ explanation: data["explanation"]
3894
+ }));
3895
+ });
3896
+
3897
+ // src/services/memories/models/search-response-pagination.ts
3898
+ import { z as z64 } from "zod";
3899
+ var searchResponsePagination = z64.lazy(() => {
3900
+ return z64.object({
3901
+ limit: z64.number().gte(1),
3902
+ offset: z64.number().gte(0),
3903
+ count: z64.number().gte(0)
3904
+ });
3905
+ });
3906
+ var searchResponsePaginationResponse = z64.lazy(() => {
3907
+ return z64.object({
3908
+ limit: z64.number().gte(1),
3909
+ offset: z64.number().gte(0),
3910
+ count: z64.number().gte(0)
3911
+ }).transform((data) => ({
3912
+ limit: data["limit"],
3913
+ offset: data["offset"],
3914
+ count: data["count"]
3915
+ }));
3916
+ });
3917
+ var searchResponsePaginationRequest = z64.lazy(() => {
3918
+ return z64.object({
3919
+ limit: z64.number().gte(1),
3920
+ offset: z64.number().gte(0),
3921
+ count: z64.number().gte(0)
3922
+ }).transform((data) => ({
3923
+ limit: data["limit"],
3924
+ offset: data["offset"],
3925
+ count: data["count"]
3926
+ }));
3927
+ });
3928
+
3929
+ // src/services/memories/models/temporal-metadata.ts
3930
+ import { z as z67 } from "zod";
3931
+
3932
+ // src/services/memories/models/event-time-range.ts
3933
+ import { z as z65 } from "zod";
3934
+ var eventTimeRange = z65.lazy(() => {
3935
+ return z65.object({
3936
+ from: z65.string().nullable(),
3937
+ to: z65.string().nullable()
3938
+ });
3939
+ });
3940
+ var eventTimeRangeResponse = z65.lazy(() => {
3941
+ return z65.object({
3942
+ from: z65.string().nullable(),
3943
+ to: z65.string().nullable()
3944
+ }).transform((data) => ({
3945
+ from: data["from"],
3946
+ to: data["to"]
3947
+ }));
3948
+ });
3949
+ var eventTimeRangeRequest = z65.lazy(() => {
3950
+ return z65.object({
3951
+ from: z65.string().nullable(),
3952
+ to: z65.string().nullable()
3953
+ }).transform((data) => ({
3954
+ from: data["from"],
3955
+ to: data["to"]
3956
+ }));
3957
+ });
3958
+
3959
+ // src/services/memories/models/ingestion-time-range.ts
3960
+ import { z as z66 } from "zod";
3961
+ var ingestionTimeRange = z66.lazy(() => {
3962
+ return z66.object({
3963
+ from: z66.string().nullable(),
3964
+ to: z66.string().nullable()
3965
+ });
3966
+ });
3967
+ var ingestionTimeRangeResponse = z66.lazy(() => {
3968
+ return z66.object({
3969
+ from: z66.string().nullable(),
3970
+ to: z66.string().nullable()
3971
+ }).transform((data) => ({
3972
+ from: data["from"],
3973
+ to: data["to"]
3974
+ }));
3975
+ });
3976
+ var ingestionTimeRangeRequest = z66.lazy(() => {
3977
+ return z66.object({
3978
+ from: z66.string().nullable(),
3979
+ to: z66.string().nullable()
3980
+ }).transform((data) => ({
3981
+ from: data["from"],
3982
+ to: data["to"]
3983
+ }));
3984
+ });
3985
+
3986
+ // src/services/memories/models/temporal-metadata.ts
3987
+ var temporalMetadata = z67.lazy(() => {
3988
+ return z67.object({
3989
+ temporalMode: z67.string(),
3990
+ asOfTime: z67.string().nullable(),
3991
+ validAtTime: z67.string().nullable(),
3992
+ eventTimeRange: eventTimeRange.nullable(),
3993
+ ingestionTimeRange: ingestionTimeRange.nullable(),
3994
+ includeExpired: z67.boolean(),
3995
+ temporalFieldsIncluded: z67.boolean()
3996
+ });
3997
+ });
3998
+ var temporalMetadataResponse = z67.lazy(() => {
3999
+ return z67.object({
4000
+ temporalMode: z67.string(),
4001
+ asOfTime: z67.string().nullable(),
4002
+ validAtTime: z67.string().nullable(),
4003
+ eventTimeRange: eventTimeRangeResponse.nullable(),
4004
+ ingestionTimeRange: ingestionTimeRangeResponse.nullable(),
4005
+ includeExpired: z67.boolean(),
4006
+ temporalFieldsIncluded: z67.boolean()
4007
+ }).transform((data) => ({
4008
+ temporalMode: data["temporalMode"],
4009
+ asOfTime: data["asOfTime"],
4010
+ validAtTime: data["validAtTime"],
4011
+ eventTimeRange: data["eventTimeRange"],
4012
+ ingestionTimeRange: data["ingestionTimeRange"],
4013
+ includeExpired: data["includeExpired"],
4014
+ temporalFieldsIncluded: data["temporalFieldsIncluded"]
4015
+ }));
4016
+ });
4017
+ var temporalMetadataRequest = z67.lazy(() => {
4018
+ return z67.object({
4019
+ temporalMode: z67.string(),
4020
+ asOfTime: z67.string().nullable(),
4021
+ validAtTime: z67.string().nullable(),
4022
+ eventTimeRange: eventTimeRangeRequest.nullable(),
4023
+ ingestionTimeRange: ingestionTimeRangeRequest.nullable(),
4024
+ includeExpired: z67.boolean(),
4025
+ temporalFieldsIncluded: z67.boolean()
4026
+ }).transform((data) => ({
4027
+ temporalMode: data["temporalMode"],
4028
+ asOfTime: data["asOfTime"],
4029
+ validAtTime: data["validAtTime"],
4030
+ eventTimeRange: data["eventTimeRange"],
4031
+ ingestionTimeRange: data["ingestionTimeRange"],
4032
+ includeExpired: data["includeExpired"],
4033
+ temporalFieldsIncluded: data["temporalFieldsIncluded"]
4034
+ }));
4035
+ });
4036
+
4037
+ // src/services/memories/models/search-response.ts
4038
+ var searchResponse = z68.lazy(() => {
4039
+ return z68.object({
4040
+ data: z68.array(searchResult),
4041
+ searchMethod: z68.string().optional(),
4042
+ pagination: searchResponsePagination,
4043
+ temporalMetadata: temporalMetadata.nullable()
4044
+ });
4045
+ });
4046
+ var searchResponseResponse = z68.lazy(() => {
4047
+ return z68.object({
4048
+ data: z68.array(searchResultResponse),
4049
+ searchMethod: z68.string().optional(),
4050
+ pagination: searchResponsePaginationResponse,
4051
+ temporalMetadata: temporalMetadataResponse.nullable()
3657
4052
  }).transform((data) => ({
3658
4053
  data: data["data"],
3659
- count: data["count"],
3660
- metadata: data["metadata"]
4054
+ searchMethod: data["searchMethod"],
4055
+ pagination: data["pagination"],
4056
+ temporalMetadata: data["temporalMetadata"]
4057
+ }));
4058
+ });
4059
+ var searchResponseRequest = z68.lazy(() => {
4060
+ return z68.object({
4061
+ data: z68.array(searchResultRequest),
4062
+ searchMethod: z68.string().optional(),
4063
+ pagination: searchResponsePaginationRequest,
4064
+ temporalMetadata: temporalMetadataRequest.nullable()
4065
+ }).transform((data) => ({
4066
+ data: data["data"],
4067
+ searchMethod: data["searchMethod"],
4068
+ pagination: data["pagination"],
4069
+ temporalMetadata: data["temporalMetadata"]
3661
4070
  }));
3662
4071
  });
3663
4072
 
@@ -3670,8 +4079,8 @@ var MemoriesService = class extends BaseService {
3670
4079
  * @returns {Promise<HttpResponse<any>>} - OK
3671
4080
  */
3672
4081
  async getMemoryById(id, requestConfig) {
3673
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/memories/{id}").setRequestSchema(z60.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
3674
- schema: z60.undefined(),
4082
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/memories/{id}").setRequestSchema(z69.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4083
+ schema: z69.undefined(),
3675
4084
  contentType: "noContent" /* NoContent */,
3676
4085
  status: 200
3677
4086
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addPathParam({
@@ -3720,8 +4129,8 @@ var MemoriesService = class extends BaseService {
3720
4129
  * @returns {Promise<HttpResponse<any>>} - No Content
3721
4130
  */
3722
4131
  async deleteMemory(id, requestConfig) {
3723
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("DELETE").setPath("/api/memories/{id}").setRequestSchema(z60.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
3724
- schema: z60.undefined(),
4132
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("DELETE").setPath("/api/memories/{id}").setRequestSchema(z69.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4133
+ schema: z69.undefined(),
3725
4134
  contentType: "noContent" /* NoContent */,
3726
4135
  status: 204
3727
4136
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addPathParam({
@@ -3739,7 +4148,7 @@ var MemoriesService = class extends BaseService {
3739
4148
  * @returns {Promise<HttpResponse<ListMemoriesOkResponse>>} - List of memories
3740
4149
  */
3741
4150
  async listMemories(params, requestConfig) {
3742
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/memories").setRequestSchema(z60.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4151
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/memories").setRequestSchema(z69.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
3743
4152
  schema: listMemoriesOkResponseResponse,
3744
4153
  contentType: "json" /* Json */,
3745
4154
  status: 200
@@ -3814,7 +4223,13 @@ var MemoriesService = class extends BaseService {
3814
4223
  return this.client.call(request);
3815
4224
  }
3816
4225
  /**
3817
- * Search memories by content with different modes (unified, content, facts)
4226
+ * Search memories using different search methods:- **keyword** (default): Traditional fulltext search using Lucene
4227
+ - **semantic**: Vector-based semantic search using OpenAI embeddings
4228
+ - **hybrid**: Combines semantic and keyword search with Reciprocal Rank Fusion
4229
+
4230
+ The `mode` parameter controls content filtering (unified, content, facts).
4231
+ The `searchMethod` parameter controls the search algorithm.
4232
+
3818
4233
  * @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
3819
4234
  * @returns {Promise<HttpResponse<SearchResponse>>} - Search results
3820
4235
  */
@@ -3872,6 +4287,14 @@ var Mode = /* @__PURE__ */ ((Mode2) => {
3872
4287
  return Mode2;
3873
4288
  })(Mode || {});
3874
4289
 
4290
+ // src/services/memories/models/search-method.ts
4291
+ var SearchMethod = /* @__PURE__ */ ((SearchMethod2) => {
4292
+ SearchMethod2["KEYWORD"] = "keyword";
4293
+ SearchMethod2["SEMANTIC"] = "semantic";
4294
+ SearchMethod2["HYBRID"] = "hybrid";
4295
+ return SearchMethod2;
4296
+ })(SearchMethod || {});
4297
+
3875
4298
  // src/services/memories/models/temporal-mode.ts
3876
4299
  var TemporalMode = /* @__PURE__ */ ((TemporalMode2) => {
3877
4300
  TemporalMode2["CURRENT"] = "current";
@@ -3880,30 +4303,38 @@ var TemporalMode = /* @__PURE__ */ ((TemporalMode2) => {
3880
4303
  return TemporalMode2;
3881
4304
  })(TemporalMode || {});
3882
4305
 
4306
+ // src/services/memories/models/memory-memory-type-2.ts
4307
+ var MemoryMemoryType2 = /* @__PURE__ */ ((MemoryMemoryType22) => {
4308
+ MemoryMemoryType22["EPISODIC"] = "episodic";
4309
+ MemoryMemoryType22["SEMANTIC"] = "semantic";
4310
+ MemoryMemoryType22["PROCEDURAL"] = "procedural";
4311
+ return MemoryMemoryType22;
4312
+ })(MemoryMemoryType2 || {});
4313
+
3883
4314
  // src/services/system/system-service.ts
3884
- import { z as z68 } from "zod";
4315
+ import { z as z77 } from "zod";
3885
4316
 
3886
4317
  // src/services/system/models/evaluate-feature-flag-request.ts
3887
- import { z as z61 } from "zod";
3888
- var evaluateFeatureFlagRequest = z61.lazy(() => {
3889
- return z61.object({
3890
- flagName: z61.string(),
3891
- context: z61.any().optional()
4318
+ import { z as z70 } from "zod";
4319
+ var evaluateFeatureFlagRequest = z70.lazy(() => {
4320
+ return z70.object({
4321
+ flagName: z70.string(),
4322
+ context: z70.any().optional()
3892
4323
  });
3893
4324
  });
3894
- var evaluateFeatureFlagRequestResponse = z61.lazy(() => {
3895
- return z61.object({
3896
- flagName: z61.string(),
3897
- context: z61.any().optional()
4325
+ var evaluateFeatureFlagRequestResponse = z70.lazy(() => {
4326
+ return z70.object({
4327
+ flagName: z70.string(),
4328
+ context: z70.any().optional()
3898
4329
  }).transform((data) => ({
3899
4330
  flagName: data["flagName"],
3900
4331
  context: data["context"]
3901
4332
  }));
3902
4333
  });
3903
- var evaluateFeatureFlagRequestRequest = z61.lazy(() => {
3904
- return z61.object({
3905
- flagName: z61.string(),
3906
- context: z61.any().optional()
4334
+ var evaluateFeatureFlagRequestRequest = z70.lazy(() => {
4335
+ return z70.object({
4336
+ flagName: z70.string(),
4337
+ context: z70.any().optional()
3907
4338
  }).transform((data) => ({
3908
4339
  flagName: data["flagName"],
3909
4340
  context: data["context"]
@@ -3911,36 +4342,36 @@ var evaluateFeatureFlagRequestRequest = z61.lazy(() => {
3911
4342
  });
3912
4343
 
3913
4344
  // src/services/system/models/analyze-memory-quality-ok-response.ts
3914
- import { z as z64 } from "zod";
4345
+ import { z as z73 } from "zod";
3915
4346
 
3916
4347
  // src/services/system/models/analyze-memory-quality-ok-response-data.ts
3917
- import { z as z63 } from "zod";
4348
+ import { z as z72 } from "zod";
3918
4349
 
3919
4350
  // src/services/system/models/quality-distribution.ts
3920
- import { z as z62 } from "zod";
3921
- var qualityDistribution = z62.lazy(() => {
3922
- return z62.object({
3923
- high: z62.number().optional(),
3924
- medium: z62.number().optional(),
3925
- low: z62.number().optional()
4351
+ import { z as z71 } from "zod";
4352
+ var qualityDistribution = z71.lazy(() => {
4353
+ return z71.object({
4354
+ high: z71.number().optional(),
4355
+ medium: z71.number().optional(),
4356
+ low: z71.number().optional()
3926
4357
  });
3927
4358
  });
3928
- var qualityDistributionResponse = z62.lazy(() => {
3929
- return z62.object({
3930
- high: z62.number().optional(),
3931
- medium: z62.number().optional(),
3932
- low: z62.number().optional()
4359
+ var qualityDistributionResponse = z71.lazy(() => {
4360
+ return z71.object({
4361
+ high: z71.number().optional(),
4362
+ medium: z71.number().optional(),
4363
+ low: z71.number().optional()
3933
4364
  }).transform((data) => ({
3934
4365
  high: data["high"],
3935
4366
  medium: data["medium"],
3936
4367
  low: data["low"]
3937
4368
  }));
3938
4369
  });
3939
- var qualityDistributionRequest = z62.lazy(() => {
3940
- return z62.object({
3941
- high: z62.number().optional(),
3942
- medium: z62.number().optional(),
3943
- low: z62.number().optional()
4370
+ var qualityDistributionRequest = z71.lazy(() => {
4371
+ return z71.object({
4372
+ high: z71.number().optional(),
4373
+ medium: z71.number().optional(),
4374
+ low: z71.number().optional()
3944
4375
  }).transform((data) => ({
3945
4376
  high: data["high"],
3946
4377
  medium: data["medium"],
@@ -3949,20 +4380,20 @@ var qualityDistributionRequest = z62.lazy(() => {
3949
4380
  });
3950
4381
 
3951
4382
  // src/services/system/models/analyze-memory-quality-ok-response-data.ts
3952
- var analyzeMemoryQualityOkResponseData = z63.lazy(() => {
3953
- return z63.object({
3954
- totalMemories: z63.number().optional(),
4383
+ var analyzeMemoryQualityOkResponseData = z72.lazy(() => {
4384
+ return z72.object({
4385
+ totalMemories: z72.number().optional(),
3955
4386
  qualityDistribution: qualityDistribution.optional(),
3956
- averageQuality: z63.number().optional(),
3957
- pruningCandidates: z63.number().optional()
4387
+ averageQuality: z72.number().optional(),
4388
+ pruningCandidates: z72.number().optional()
3958
4389
  });
3959
4390
  });
3960
- var analyzeMemoryQualityOkResponseDataResponse = z63.lazy(() => {
3961
- return z63.object({
3962
- totalMemories: z63.number().optional(),
4391
+ var analyzeMemoryQualityOkResponseDataResponse = z72.lazy(() => {
4392
+ return z72.object({
4393
+ totalMemories: z72.number().optional(),
3963
4394
  qualityDistribution: qualityDistributionResponse.optional(),
3964
- averageQuality: z63.number().optional(),
3965
- pruningCandidates: z63.number().optional()
4395
+ averageQuality: z72.number().optional(),
4396
+ pruningCandidates: z72.number().optional()
3966
4397
  }).transform((data) => ({
3967
4398
  totalMemories: data["totalMemories"],
3968
4399
  qualityDistribution: data["qualityDistribution"],
@@ -3970,12 +4401,12 @@ var analyzeMemoryQualityOkResponseDataResponse = z63.lazy(() => {
3970
4401
  pruningCandidates: data["pruningCandidates"]
3971
4402
  }));
3972
4403
  });
3973
- var analyzeMemoryQualityOkResponseDataRequest = z63.lazy(() => {
3974
- return z63.object({
3975
- totalMemories: z63.number().optional(),
4404
+ var analyzeMemoryQualityOkResponseDataRequest = z72.lazy(() => {
4405
+ return z72.object({
4406
+ totalMemories: z72.number().optional(),
3976
4407
  qualityDistribution: qualityDistributionRequest.optional(),
3977
- averageQuality: z63.number().optional(),
3978
- pruningCandidates: z63.number().optional()
4408
+ averageQuality: z72.number().optional(),
4409
+ pruningCandidates: z72.number().optional()
3979
4410
  }).transform((data) => ({
3980
4411
  totalMemories: data["totalMemories"],
3981
4412
  qualityDistribution: data["qualityDistribution"],
@@ -3985,20 +4416,20 @@ var analyzeMemoryQualityOkResponseDataRequest = z63.lazy(() => {
3985
4416
  });
3986
4417
 
3987
4418
  // src/services/system/models/analyze-memory-quality-ok-response.ts
3988
- var analyzeMemoryQualityOkResponse = z64.lazy(() => {
3989
- return z64.object({
4419
+ var analyzeMemoryQualityOkResponse = z73.lazy(() => {
4420
+ return z73.object({
3990
4421
  data: analyzeMemoryQualityOkResponseData.optional()
3991
4422
  });
3992
4423
  });
3993
- var analyzeMemoryQualityOkResponseResponse = z64.lazy(() => {
3994
- return z64.object({
4424
+ var analyzeMemoryQualityOkResponseResponse = z73.lazy(() => {
4425
+ return z73.object({
3995
4426
  data: analyzeMemoryQualityOkResponseDataResponse.optional()
3996
4427
  }).transform((data) => ({
3997
4428
  data: data["data"]
3998
4429
  }));
3999
4430
  });
4000
- var analyzeMemoryQualityOkResponseRequest = z64.lazy(() => {
4001
- return z64.object({
4431
+ var analyzeMemoryQualityOkResponseRequest = z73.lazy(() => {
4432
+ return z73.object({
4002
4433
  data: analyzeMemoryQualityOkResponseDataRequest.optional()
4003
4434
  }).transform((data) => ({
4004
4435
  data: data["data"]
@@ -4006,23 +4437,23 @@ var analyzeMemoryQualityOkResponseRequest = z64.lazy(() => {
4006
4437
  });
4007
4438
 
4008
4439
  // src/services/system/models/prune-memories-request.ts
4009
- import { z as z65 } from "zod";
4010
- var pruneMemoriesRequest = z65.lazy(() => {
4011
- return z65.object({
4012
- targetReduction: z65.number().optional(),
4013
- minQualityThreshold: z65.number().optional(),
4014
- preserveRecent: z65.boolean().optional(),
4015
- recentDaysToPreserve: z65.number().optional(),
4016
- dryRun: z65.boolean().optional()
4440
+ import { z as z74 } from "zod";
4441
+ var pruneMemoriesRequest = z74.lazy(() => {
4442
+ return z74.object({
4443
+ targetReduction: z74.number().optional(),
4444
+ minQualityThreshold: z74.number().optional(),
4445
+ preserveRecent: z74.boolean().optional(),
4446
+ recentDaysToPreserve: z74.number().optional(),
4447
+ dryRun: z74.boolean().optional()
4017
4448
  });
4018
4449
  });
4019
- var pruneMemoriesRequestResponse = z65.lazy(() => {
4020
- return z65.object({
4021
- targetReduction: z65.number().optional(),
4022
- minQualityThreshold: z65.number().optional(),
4023
- preserveRecent: z65.boolean().optional(),
4024
- recentDaysToPreserve: z65.number().optional(),
4025
- dryRun: z65.boolean().optional()
4450
+ var pruneMemoriesRequestResponse = z74.lazy(() => {
4451
+ return z74.object({
4452
+ targetReduction: z74.number().optional(),
4453
+ minQualityThreshold: z74.number().optional(),
4454
+ preserveRecent: z74.boolean().optional(),
4455
+ recentDaysToPreserve: z74.number().optional(),
4456
+ dryRun: z74.boolean().optional()
4026
4457
  }).transform((data) => ({
4027
4458
  targetReduction: data["targetReduction"],
4028
4459
  minQualityThreshold: data["minQualityThreshold"],
@@ -4031,13 +4462,13 @@ var pruneMemoriesRequestResponse = z65.lazy(() => {
4031
4462
  dryRun: data["dryRun"]
4032
4463
  }));
4033
4464
  });
4034
- var pruneMemoriesRequestRequest = z65.lazy(() => {
4035
- return z65.object({
4036
- targetReduction: z65.number().optional(),
4037
- minQualityThreshold: z65.number().optional(),
4038
- preserveRecent: z65.boolean().optional(),
4039
- recentDaysToPreserve: z65.number().optional(),
4040
- dryRun: z65.boolean().optional()
4465
+ var pruneMemoriesRequestRequest = z74.lazy(() => {
4466
+ return z74.object({
4467
+ targetReduction: z74.number().optional(),
4468
+ minQualityThreshold: z74.number().optional(),
4469
+ preserveRecent: z74.boolean().optional(),
4470
+ recentDaysToPreserve: z74.number().optional(),
4471
+ dryRun: z74.boolean().optional()
4041
4472
  }).transform((data) => ({
4042
4473
  targetReduction: data["targetReduction"],
4043
4474
  minQualityThreshold: data["minQualityThreshold"],
@@ -4048,33 +4479,33 @@ var pruneMemoriesRequestRequest = z65.lazy(() => {
4048
4479
  });
4049
4480
 
4050
4481
  // src/services/system/models/prune-memories-ok-response.ts
4051
- import { z as z67 } from "zod";
4482
+ import { z as z76 } from "zod";
4052
4483
 
4053
4484
  // src/services/system/models/prune-memories-ok-response-data.ts
4054
- import { z as z66 } from "zod";
4055
- var pruneMemoriesOkResponseData = z66.lazy(() => {
4056
- return z66.object({
4057
- prunedCount: z66.number().optional(),
4058
- prunedIds: z66.array(z66.string()).optional(),
4059
- dryRun: z66.boolean().optional()
4485
+ import { z as z75 } from "zod";
4486
+ var pruneMemoriesOkResponseData = z75.lazy(() => {
4487
+ return z75.object({
4488
+ prunedCount: z75.number().optional(),
4489
+ prunedIds: z75.array(z75.string()).optional(),
4490
+ dryRun: z75.boolean().optional()
4060
4491
  });
4061
4492
  });
4062
- var pruneMemoriesOkResponseDataResponse = z66.lazy(() => {
4063
- return z66.object({
4064
- prunedCount: z66.number().optional(),
4065
- prunedIds: z66.array(z66.string()).optional(),
4066
- dryRun: z66.boolean().optional()
4493
+ var pruneMemoriesOkResponseDataResponse = z75.lazy(() => {
4494
+ return z75.object({
4495
+ prunedCount: z75.number().optional(),
4496
+ prunedIds: z75.array(z75.string()).optional(),
4497
+ dryRun: z75.boolean().optional()
4067
4498
  }).transform((data) => ({
4068
4499
  prunedCount: data["prunedCount"],
4069
4500
  prunedIds: data["prunedIds"],
4070
4501
  dryRun: data["dryRun"]
4071
4502
  }));
4072
4503
  });
4073
- var pruneMemoriesOkResponseDataRequest = z66.lazy(() => {
4074
- return z66.object({
4075
- prunedCount: z66.number().optional(),
4076
- prunedIds: z66.array(z66.string()).optional(),
4077
- dryRun: z66.boolean().optional()
4504
+ var pruneMemoriesOkResponseDataRequest = z75.lazy(() => {
4505
+ return z75.object({
4506
+ prunedCount: z75.number().optional(),
4507
+ prunedIds: z75.array(z75.string()).optional(),
4508
+ dryRun: z75.boolean().optional()
4078
4509
  }).transform((data) => ({
4079
4510
  prunedCount: data["prunedCount"],
4080
4511
  prunedIds: data["prunedIds"],
@@ -4083,20 +4514,20 @@ var pruneMemoriesOkResponseDataRequest = z66.lazy(() => {
4083
4514
  });
4084
4515
 
4085
4516
  // src/services/system/models/prune-memories-ok-response.ts
4086
- var pruneMemoriesOkResponse = z67.lazy(() => {
4087
- return z67.object({
4517
+ var pruneMemoriesOkResponse = z76.lazy(() => {
4518
+ return z76.object({
4088
4519
  data: pruneMemoriesOkResponseData.optional()
4089
4520
  });
4090
4521
  });
4091
- var pruneMemoriesOkResponseResponse = z67.lazy(() => {
4092
- return z67.object({
4522
+ var pruneMemoriesOkResponseResponse = z76.lazy(() => {
4523
+ return z76.object({
4093
4524
  data: pruneMemoriesOkResponseDataResponse.optional()
4094
4525
  }).transform((data) => ({
4095
4526
  data: data["data"]
4096
4527
  }));
4097
4528
  });
4098
- var pruneMemoriesOkResponseRequest = z67.lazy(() => {
4099
- return z67.object({
4529
+ var pruneMemoriesOkResponseRequest = z76.lazy(() => {
4530
+ return z76.object({
4100
4531
  data: pruneMemoriesOkResponseDataRequest.optional()
4101
4532
  }).transform((data) => ({
4102
4533
  data: data["data"]
@@ -4112,8 +4543,8 @@ var SystemService = class extends BaseService {
4112
4543
  * @returns {Promise<HttpResponse<any>>} - OpenAPI specification
4113
4544
  */
4114
4545
  async getOpenApiSpec(params, requestConfig) {
4115
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/openapi.json").setRequestSchema(z68.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4116
- schema: z68.any(),
4546
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/openapi.json").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4547
+ schema: z77.any(),
4117
4548
  contentType: "json" /* Json */,
4118
4549
  status: 200
4119
4550
  }).addError({
@@ -4136,8 +4567,8 @@ var SystemService = class extends BaseService {
4136
4567
  * @returns {Promise<HttpResponse<any>>} - OK
4137
4568
  */
4138
4569
  async getSystemHealth(requestConfig) {
4139
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/health").setRequestSchema(z68.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4140
- schema: z68.undefined(),
4570
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/health").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4571
+ schema: z77.undefined(),
4141
4572
  contentType: "noContent" /* NoContent */,
4142
4573
  status: 200
4143
4574
  }).addError({
@@ -4153,8 +4584,8 @@ var SystemService = class extends BaseService {
4153
4584
  * @returns {Promise<HttpResponse<any>>} - OK
4154
4585
  */
4155
4586
  async getContextStatus(requestConfig) {
4156
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/context/status").setRequestSchema(z68.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4157
- schema: z68.undefined(),
4587
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/context/status").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4588
+ schema: z77.undefined(),
4158
4589
  contentType: "noContent" /* NoContent */,
4159
4590
  status: 200
4160
4591
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).build();
@@ -4166,8 +4597,8 @@ var SystemService = class extends BaseService {
4166
4597
  * @returns {Promise<HttpResponse<any>>} - OK
4167
4598
  */
4168
4599
  async getFeatureFlags(requestConfig) {
4169
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/feature-flags").setRequestSchema(z68.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4170
- schema: z68.undefined(),
4600
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/feature-flags").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4601
+ schema: z77.undefined(),
4171
4602
  contentType: "noContent" /* NoContent */,
4172
4603
  status: 200
4173
4604
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).build();
@@ -4180,7 +4611,7 @@ var SystemService = class extends BaseService {
4180
4611
  */
4181
4612
  async evaluateFeatureFlag(body, requestConfig) {
4182
4613
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/system/feature-flags/evaluate").setRequestSchema(evaluateFeatureFlagRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4183
- schema: z68.undefined(),
4614
+ schema: z77.undefined(),
4184
4615
  contentType: "noContent" /* NoContent */,
4185
4616
  status: 200
4186
4617
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -4194,7 +4625,7 @@ var SystemService = class extends BaseService {
4194
4625
  * @returns {Promise<HttpResponse<AnalyzeMemoryQualityOkResponse>>} - OK
4195
4626
  */
4196
4627
  async analyzeMemoryQuality(params, requestConfig) {
4197
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/memory/quality").setRequestSchema(z68.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4628
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/system/memory/quality").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4198
4629
  schema: analyzeMemoryQualityOkResponseResponse,
4199
4630
  contentType: "json" /* Json */,
4200
4631
  status: 200
@@ -4246,27 +4677,27 @@ var NoCache = /* @__PURE__ */ ((NoCache2) => {
4246
4677
  })(NoCache || {});
4247
4678
 
4248
4679
  // src/services/patterns/patterns-service.ts
4249
- import { z as z77 } from "zod";
4680
+ import { z as z86 } from "zod";
4250
4681
 
4251
4682
  // src/services/patterns/models/list-patterns-ok-response.ts
4252
- import { z as z71 } from "zod";
4683
+ import { z as z80 } from "zod";
4253
4684
 
4254
4685
  // src/services/patterns/models/pattern.ts
4255
- import { z as z69 } from "zod";
4256
- var pattern = z69.lazy(() => {
4257
- return z69.object({
4258
- id: z69.string(),
4259
- type: z69.string(),
4260
- description: z69.string(),
4261
- confidence: z69.number().gte(0).lte(1)
4686
+ import { z as z78 } from "zod";
4687
+ var pattern = z78.lazy(() => {
4688
+ return z78.object({
4689
+ id: z78.string(),
4690
+ type: z78.string(),
4691
+ description: z78.string(),
4692
+ confidence: z78.number().gte(0).lte(1)
4262
4693
  });
4263
4694
  });
4264
- var patternResponse = z69.lazy(() => {
4265
- return z69.object({
4266
- id: z69.string(),
4267
- type: z69.string(),
4268
- description: z69.string(),
4269
- confidence: z69.number().gte(0).lte(1)
4695
+ var patternResponse = z78.lazy(() => {
4696
+ return z78.object({
4697
+ id: z78.string(),
4698
+ type: z78.string(),
4699
+ description: z78.string(),
4700
+ confidence: z78.number().gte(0).lte(1)
4270
4701
  }).transform((data) => ({
4271
4702
  id: data["id"],
4272
4703
  type: data["type"],
@@ -4274,12 +4705,12 @@ var patternResponse = z69.lazy(() => {
4274
4705
  confidence: data["confidence"]
4275
4706
  }));
4276
4707
  });
4277
- var patternRequest = z69.lazy(() => {
4278
- return z69.object({
4279
- id: z69.string(),
4280
- type: z69.string(),
4281
- description: z69.string(),
4282
- confidence: z69.number().gte(0).lte(1)
4708
+ var patternRequest = z78.lazy(() => {
4709
+ return z78.object({
4710
+ id: z78.string(),
4711
+ type: z78.string(),
4712
+ description: z78.string(),
4713
+ confidence: z78.number().gte(0).lte(1)
4283
4714
  }).transform((data) => ({
4284
4715
  id: data["id"],
4285
4716
  type: data["type"],
@@ -4289,30 +4720,30 @@ var patternRequest = z69.lazy(() => {
4289
4720
  });
4290
4721
 
4291
4722
  // src/services/patterns/models/list-patterns-ok-response-pagination.ts
4292
- import { z as z70 } from "zod";
4293
- var listPatternsOkResponsePagination = z70.lazy(() => {
4294
- return z70.object({
4295
- limit: z70.number().optional(),
4296
- offset: z70.number().optional(),
4297
- count: z70.number().optional()
4723
+ import { z as z79 } from "zod";
4724
+ var listPatternsOkResponsePagination = z79.lazy(() => {
4725
+ return z79.object({
4726
+ limit: z79.number().optional(),
4727
+ offset: z79.number().optional(),
4728
+ count: z79.number().optional()
4298
4729
  });
4299
4730
  });
4300
- var listPatternsOkResponsePaginationResponse = z70.lazy(() => {
4301
- return z70.object({
4302
- limit: z70.number().optional(),
4303
- offset: z70.number().optional(),
4304
- count: z70.number().optional()
4731
+ var listPatternsOkResponsePaginationResponse = z79.lazy(() => {
4732
+ return z79.object({
4733
+ limit: z79.number().optional(),
4734
+ offset: z79.number().optional(),
4735
+ count: z79.number().optional()
4305
4736
  }).transform((data) => ({
4306
4737
  limit: data["limit"],
4307
4738
  offset: data["offset"],
4308
4739
  count: data["count"]
4309
4740
  }));
4310
4741
  });
4311
- var listPatternsOkResponsePaginationRequest = z70.lazy(() => {
4312
- return z70.object({
4313
- limit: z70.number().optional(),
4314
- offset: z70.number().optional(),
4315
- count: z70.number().optional()
4742
+ var listPatternsOkResponsePaginationRequest = z79.lazy(() => {
4743
+ return z79.object({
4744
+ limit: z79.number().optional(),
4745
+ offset: z79.number().optional(),
4746
+ count: z79.number().optional()
4316
4747
  }).transform((data) => ({
4317
4748
  limit: data["limit"],
4318
4749
  offset: data["offset"],
@@ -4321,24 +4752,24 @@ var listPatternsOkResponsePaginationRequest = z70.lazy(() => {
4321
4752
  });
4322
4753
 
4323
4754
  // src/services/patterns/models/list-patterns-ok-response.ts
4324
- var listPatternsOkResponse = z71.lazy(() => {
4325
- return z71.object({
4326
- data: z71.array(pattern).optional(),
4755
+ var listPatternsOkResponse = z80.lazy(() => {
4756
+ return z80.object({
4757
+ data: z80.array(pattern).optional(),
4327
4758
  pagination: listPatternsOkResponsePagination.optional()
4328
4759
  });
4329
4760
  });
4330
- var listPatternsOkResponseResponse = z71.lazy(() => {
4331
- return z71.object({
4332
- data: z71.array(patternResponse).optional(),
4761
+ var listPatternsOkResponseResponse = z80.lazy(() => {
4762
+ return z80.object({
4763
+ data: z80.array(patternResponse).optional(),
4333
4764
  pagination: listPatternsOkResponsePaginationResponse.optional()
4334
4765
  }).transform((data) => ({
4335
4766
  data: data["data"],
4336
4767
  pagination: data["pagination"]
4337
4768
  }));
4338
4769
  });
4339
- var listPatternsOkResponseRequest = z71.lazy(() => {
4340
- return z71.object({
4341
- data: z71.array(patternRequest).optional(),
4770
+ var listPatternsOkResponseRequest = z80.lazy(() => {
4771
+ return z80.object({
4772
+ data: z80.array(patternRequest).optional(),
4342
4773
  pagination: listPatternsOkResponsePaginationRequest.optional()
4343
4774
  }).transform((data) => ({
4344
4775
  data: data["data"],
@@ -4347,26 +4778,26 @@ var listPatternsOkResponseRequest = z71.lazy(() => {
4347
4778
  });
4348
4779
 
4349
4780
  // src/services/patterns/models/compile-patterns-request.ts
4350
- import { z as z72 } from "zod";
4351
- var compilePatternsRequest = z72.lazy(() => {
4352
- return z72.object({
4353
- minOccurrences: z72.number().optional(),
4354
- timeWindow: z72.string().optional()
4781
+ import { z as z81 } from "zod";
4782
+ var compilePatternsRequest = z81.lazy(() => {
4783
+ return z81.object({
4784
+ minOccurrences: z81.number().optional(),
4785
+ timeWindow: z81.string().optional()
4355
4786
  });
4356
4787
  });
4357
- var compilePatternsRequestResponse = z72.lazy(() => {
4358
- return z72.object({
4359
- minOccurrences: z72.number().optional(),
4360
- timeWindow: z72.string().optional()
4788
+ var compilePatternsRequestResponse = z81.lazy(() => {
4789
+ return z81.object({
4790
+ minOccurrences: z81.number().optional(),
4791
+ timeWindow: z81.string().optional()
4361
4792
  }).transform((data) => ({
4362
4793
  minOccurrences: data["minOccurrences"],
4363
4794
  timeWindow: data["timeWindow"]
4364
4795
  }));
4365
4796
  });
4366
- var compilePatternsRequestRequest = z72.lazy(() => {
4367
- return z72.object({
4368
- minOccurrences: z72.number().optional(),
4369
- timeWindow: z72.string().optional()
4797
+ var compilePatternsRequestRequest = z81.lazy(() => {
4798
+ return z81.object({
4799
+ minOccurrences: z81.number().optional(),
4800
+ timeWindow: z81.string().optional()
4370
4801
  }).transform((data) => ({
4371
4802
  minOccurrences: data["minOccurrences"],
4372
4803
  timeWindow: data["timeWindow"]
@@ -4374,25 +4805,25 @@ var compilePatternsRequestRequest = z72.lazy(() => {
4374
4805
  });
4375
4806
 
4376
4807
  // src/services/patterns/models/detect-patterns-request.ts
4377
- import { z as z73 } from "zod";
4378
- var detectPatternsRequest = z73.lazy(() => {
4379
- return z73.object({
4380
- contextFilter: z73.string().optional(),
4381
- timeframeStart: z73.string().optional(),
4382
- timeframeEnd: z73.string().optional(),
4383
- minConfidence: z73.number().gte(0).lte(1).optional(),
4384
- maxResults: z73.number().optional(),
4385
- autoStore: z73.boolean().optional()
4808
+ import { z as z82 } from "zod";
4809
+ var detectPatternsRequest = z82.lazy(() => {
4810
+ return z82.object({
4811
+ contextFilter: z82.string().optional(),
4812
+ timeframeStart: z82.string().optional(),
4813
+ timeframeEnd: z82.string().optional(),
4814
+ minConfidence: z82.number().gte(0).lte(1).optional(),
4815
+ maxResults: z82.number().optional(),
4816
+ autoStore: z82.boolean().optional()
4386
4817
  });
4387
4818
  });
4388
- var detectPatternsRequestResponse = z73.lazy(() => {
4389
- return z73.object({
4390
- contextFilter: z73.string().optional(),
4391
- timeframeStart: z73.string().optional(),
4392
- timeframeEnd: z73.string().optional(),
4393
- minConfidence: z73.number().gte(0).lte(1).optional(),
4394
- maxResults: z73.number().optional(),
4395
- autoStore: z73.boolean().optional()
4819
+ var detectPatternsRequestResponse = z82.lazy(() => {
4820
+ return z82.object({
4821
+ contextFilter: z82.string().optional(),
4822
+ timeframeStart: z82.string().optional(),
4823
+ timeframeEnd: z82.string().optional(),
4824
+ minConfidence: z82.number().gte(0).lte(1).optional(),
4825
+ maxResults: z82.number().optional(),
4826
+ autoStore: z82.boolean().optional()
4396
4827
  }).transform((data) => ({
4397
4828
  contextFilter: data["contextFilter"],
4398
4829
  timeframeStart: data["timeframeStart"],
@@ -4402,14 +4833,14 @@ var detectPatternsRequestResponse = z73.lazy(() => {
4402
4833
  autoStore: data["autoStore"]
4403
4834
  }));
4404
4835
  });
4405
- var detectPatternsRequestRequest = z73.lazy(() => {
4406
- return z73.object({
4407
- contextFilter: z73.string().optional(),
4408
- timeframeStart: z73.string().optional(),
4409
- timeframeEnd: z73.string().optional(),
4410
- minConfidence: z73.number().gte(0).lte(1).optional(),
4411
- maxResults: z73.number().optional(),
4412
- autoStore: z73.boolean().optional()
4836
+ var detectPatternsRequestRequest = z82.lazy(() => {
4837
+ return z82.object({
4838
+ contextFilter: z82.string().optional(),
4839
+ timeframeStart: z82.string().optional(),
4840
+ timeframeEnd: z82.string().optional(),
4841
+ minConfidence: z82.number().gte(0).lte(1).optional(),
4842
+ maxResults: z82.number().optional(),
4843
+ autoStore: z82.boolean().optional()
4413
4844
  }).transform((data) => ({
4414
4845
  contextFilter: data["contextFilter"],
4415
4846
  timeframeStart: data["timeframeStart"],
@@ -4421,30 +4852,30 @@ var detectPatternsRequestRequest = z73.lazy(() => {
4421
4852
  });
4422
4853
 
4423
4854
  // src/services/patterns/models/analyze-patterns-request.ts
4424
- import { z as z74 } from "zod";
4425
- var analyzePatternsRequest = z74.lazy(() => {
4426
- return z74.object({
4427
- timeRange: z74.number().optional(),
4428
- groupBy: z74.string().optional(),
4429
- includeDetails: z74.boolean().optional()
4855
+ import { z as z83 } from "zod";
4856
+ var analyzePatternsRequest = z83.lazy(() => {
4857
+ return z83.object({
4858
+ timeRange: z83.number().optional(),
4859
+ groupBy: z83.string().optional(),
4860
+ includeDetails: z83.boolean().optional()
4430
4861
  });
4431
4862
  });
4432
- var analyzePatternsRequestResponse = z74.lazy(() => {
4433
- return z74.object({
4434
- timeRange: z74.number().optional(),
4435
- groupBy: z74.string().optional(),
4436
- includeDetails: z74.boolean().optional()
4863
+ var analyzePatternsRequestResponse = z83.lazy(() => {
4864
+ return z83.object({
4865
+ timeRange: z83.number().optional(),
4866
+ groupBy: z83.string().optional(),
4867
+ includeDetails: z83.boolean().optional()
4437
4868
  }).transform((data) => ({
4438
4869
  timeRange: data["timeRange"],
4439
4870
  groupBy: data["groupBy"],
4440
4871
  includeDetails: data["includeDetails"]
4441
4872
  }));
4442
4873
  });
4443
- var analyzePatternsRequestRequest = z74.lazy(() => {
4444
- return z74.object({
4445
- timeRange: z74.number().optional(),
4446
- groupBy: z74.string().optional(),
4447
- includeDetails: z74.boolean().optional()
4874
+ var analyzePatternsRequestRequest = z83.lazy(() => {
4875
+ return z83.object({
4876
+ timeRange: z83.number().optional(),
4877
+ groupBy: z83.string().optional(),
4878
+ includeDetails: z83.boolean().optional()
4448
4879
  }).transform((data) => ({
4449
4880
  timeRange: data["timeRange"],
4450
4881
  groupBy: data["groupBy"],
@@ -4453,21 +4884,21 @@ var analyzePatternsRequestRequest = z74.lazy(() => {
4453
4884
  });
4454
4885
 
4455
4886
  // src/services/patterns/models/update-pattern-request.ts
4456
- import { z as z75 } from "zod";
4457
- var updatePatternRequest = z75.lazy(() => {
4458
- return z75.object({
4459
- name: z75.string().optional(),
4460
- description: z75.string().optional(),
4461
- confidence: z75.number().optional(),
4462
- metadata: z75.any().optional()
4887
+ import { z as z84 } from "zod";
4888
+ var updatePatternRequest = z84.lazy(() => {
4889
+ return z84.object({
4890
+ name: z84.string().optional(),
4891
+ description: z84.string().optional(),
4892
+ confidence: z84.number().optional(),
4893
+ metadata: z84.any().optional()
4463
4894
  });
4464
4895
  });
4465
- var updatePatternRequestResponse = z75.lazy(() => {
4466
- return z75.object({
4467
- name: z75.string().optional(),
4468
- description: z75.string().optional(),
4469
- confidence: z75.number().optional(),
4470
- metadata: z75.any().optional()
4896
+ var updatePatternRequestResponse = z84.lazy(() => {
4897
+ return z84.object({
4898
+ name: z84.string().optional(),
4899
+ description: z84.string().optional(),
4900
+ confidence: z84.number().optional(),
4901
+ metadata: z84.any().optional()
4471
4902
  }).transform((data) => ({
4472
4903
  name: data["name"],
4473
4904
  description: data["description"],
@@ -4475,12 +4906,12 @@ var updatePatternRequestResponse = z75.lazy(() => {
4475
4906
  metadata: data["metadata"]
4476
4907
  }));
4477
4908
  });
4478
- var updatePatternRequestRequest = z75.lazy(() => {
4479
- return z75.object({
4480
- name: z75.string().optional(),
4481
- description: z75.string().optional(),
4482
- confidence: z75.number().optional(),
4483
- metadata: z75.any().optional()
4909
+ var updatePatternRequestRequest = z84.lazy(() => {
4910
+ return z84.object({
4911
+ name: z84.string().optional(),
4912
+ description: z84.string().optional(),
4913
+ confidence: z84.number().optional(),
4914
+ metadata: z84.any().optional()
4484
4915
  }).transform((data) => ({
4485
4916
  name: data["name"],
4486
4917
  description: data["description"],
@@ -4490,26 +4921,26 @@ var updatePatternRequestRequest = z75.lazy(() => {
4490
4921
  });
4491
4922
 
4492
4923
  // src/services/patterns/models/record-pattern-feedback-request.ts
4493
- import { z as z76 } from "zod";
4494
- var recordPatternFeedbackRequest = z76.lazy(() => {
4495
- return z76.object({
4496
- patternId: z76.string(),
4497
- feedback: z76.string()
4924
+ import { z as z85 } from "zod";
4925
+ var recordPatternFeedbackRequest = z85.lazy(() => {
4926
+ return z85.object({
4927
+ patternId: z85.string(),
4928
+ feedback: z85.string()
4498
4929
  });
4499
4930
  });
4500
- var recordPatternFeedbackRequestResponse = z76.lazy(() => {
4501
- return z76.object({
4502
- patternId: z76.string(),
4503
- feedback: z76.string()
4931
+ var recordPatternFeedbackRequestResponse = z85.lazy(() => {
4932
+ return z85.object({
4933
+ patternId: z85.string(),
4934
+ feedback: z85.string()
4504
4935
  }).transform((data) => ({
4505
4936
  patternId: data["patternId"],
4506
4937
  feedback: data["feedback"]
4507
4938
  }));
4508
4939
  });
4509
- var recordPatternFeedbackRequestRequest = z76.lazy(() => {
4510
- return z76.object({
4511
- patternId: z76.string(),
4512
- feedback: z76.string()
4940
+ var recordPatternFeedbackRequestRequest = z85.lazy(() => {
4941
+ return z85.object({
4942
+ patternId: z85.string(),
4943
+ feedback: z85.string()
4513
4944
  }).transform((data) => ({
4514
4945
  patternId: data["patternId"],
4515
4946
  feedback: data["feedback"]
@@ -4526,7 +4957,7 @@ var PatternsService = class extends BaseService {
4526
4957
  * @returns {Promise<HttpResponse<ListPatternsOkResponse>>} - List of patterns retrieved successfully
4527
4958
  */
4528
4959
  async listPatterns(params, requestConfig) {
4529
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/patterns").setRequestSchema(z77.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4960
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/patterns").setRequestSchema(z86.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4530
4961
  schema: listPatternsOkResponseResponse,
4531
4962
  contentType: "json" /* Json */,
4532
4963
  status: 200
@@ -4554,7 +4985,7 @@ var PatternsService = class extends BaseService {
4554
4985
  */
4555
4986
  async compilePatterns(body, requestConfig) {
4556
4987
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/patterns/compile").setRequestSchema(compilePatternsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4557
- schema: z77.undefined(),
4988
+ schema: z86.undefined(),
4558
4989
  contentType: "noContent" /* NoContent */,
4559
4990
  status: 200
4560
4991
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -4567,7 +4998,7 @@ var PatternsService = class extends BaseService {
4567
4998
  */
4568
4999
  async detectPatterns(body, requestConfig) {
4569
5000
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/patterns/detect").setRequestSchema(detectPatternsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4570
- schema: z77.undefined(),
5001
+ schema: z86.undefined(),
4571
5002
  contentType: "noContent" /* NoContent */,
4572
5003
  status: 200
4573
5004
  }).addError({
@@ -4584,7 +5015,7 @@ var PatternsService = class extends BaseService {
4584
5015
  */
4585
5016
  async analyzePatterns(body, requestConfig) {
4586
5017
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/patterns/analyze").setRequestSchema(analyzePatternsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4587
- schema: z77.undefined(),
5018
+ schema: z86.undefined(),
4588
5019
  contentType: "noContent" /* NoContent */,
4589
5020
  status: 200
4590
5021
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -4598,7 +5029,7 @@ var PatternsService = class extends BaseService {
4598
5029
  */
4599
5030
  async updatePattern(id, body, requestConfig) {
4600
5031
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("PATCH").setPath("/api/patterns/{id}").setRequestSchema(updatePatternRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4601
- schema: z77.undefined(),
5032
+ schema: z86.undefined(),
4602
5033
  contentType: "noContent" /* NoContent */,
4603
5034
  status: 200
4604
5035
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addPathParam({
@@ -4614,7 +5045,7 @@ var PatternsService = class extends BaseService {
4614
5045
  */
4615
5046
  async recordPatternFeedback(body, requestConfig) {
4616
5047
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/patterns/feedback").setRequestSchema(recordPatternFeedbackRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4617
- schema: z77.undefined(),
5048
+ schema: z86.undefined(),
4618
5049
  contentType: "noContent" /* NoContent */,
4619
5050
  status: 200
4620
5051
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -4631,29 +5062,29 @@ var GroupBy = /* @__PURE__ */ ((GroupBy2) => {
4631
5062
  })(GroupBy || {});
4632
5063
 
4633
5064
  // src/services/behavior/behavior-service.ts
4634
- import { z as z79 } from "zod";
5065
+ import { z as z88 } from "zod";
4635
5066
 
4636
5067
  // src/services/behavior/models/update-behavioral-state-request.ts
4637
- import { z as z78 } from "zod";
4638
- var updateBehavioralStateRequest = z78.lazy(() => {
4639
- return z78.object({
4640
- state: z78.any().optional(),
4641
- mutations: z78.any().optional()
5068
+ import { z as z87 } from "zod";
5069
+ var updateBehavioralStateRequest = z87.lazy(() => {
5070
+ return z87.object({
5071
+ state: z87.any().optional(),
5072
+ mutations: z87.any().optional()
4642
5073
  });
4643
5074
  });
4644
- var updateBehavioralStateRequestResponse = z78.lazy(() => {
4645
- return z78.object({
4646
- state: z78.any().optional(),
4647
- mutations: z78.any().optional()
5075
+ var updateBehavioralStateRequestResponse = z87.lazy(() => {
5076
+ return z87.object({
5077
+ state: z87.any().optional(),
5078
+ mutations: z87.any().optional()
4648
5079
  }).transform((data) => ({
4649
5080
  state: data["state"],
4650
5081
  mutations: data["mutations"]
4651
5082
  }));
4652
5083
  });
4653
- var updateBehavioralStateRequestRequest = z78.lazy(() => {
4654
- return z78.object({
4655
- state: z78.any().optional(),
4656
- mutations: z78.any().optional()
5084
+ var updateBehavioralStateRequestRequest = z87.lazy(() => {
5085
+ return z87.object({
5086
+ state: z87.any().optional(),
5087
+ mutations: z87.any().optional()
4657
5088
  }).transform((data) => ({
4658
5089
  state: data["state"],
4659
5090
  mutations: data["mutations"]
@@ -4668,8 +5099,8 @@ var BehaviorService = class extends BaseService {
4668
5099
  * @returns {Promise<HttpResponse<any>>} - OK
4669
5100
  */
4670
5101
  async getBehavioralState(requestConfig) {
4671
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/patterns/behavior/state").setRequestSchema(z79.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4672
- schema: z79.undefined(),
5102
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/patterns/behavior/state").setRequestSchema(z88.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5103
+ schema: z88.undefined(),
4673
5104
  contentType: "noContent" /* NoContent */,
4674
5105
  status: 200
4675
5106
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).build();
@@ -4682,7 +5113,7 @@ var BehaviorService = class extends BaseService {
4682
5113
  */
4683
5114
  async updateBehavioralState(body, requestConfig) {
4684
5115
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/patterns/behavior/state").setRequestSchema(updateBehavioralStateRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
4685
- schema: z79.undefined(),
5116
+ schema: z88.undefined(),
4686
5117
  contentType: "noContent" /* NoContent */,
4687
5118
  status: 200
4688
5119
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -4691,63 +5122,36 @@ var BehaviorService = class extends BaseService {
4691
5122
  };
4692
5123
 
4693
5124
  // src/services/topics/topics-service.ts
4694
- import { z as z92 } from "zod";
5125
+ import { z as z100 } from "zod";
4695
5126
 
4696
5127
  // src/services/topics/models/list-topics-ok-response.ts
4697
- import { z as z82 } from "zod";
4698
-
4699
- // src/services/topics/models/topic.ts
4700
- import { z as z80 } from "zod";
4701
- var topic = z80.lazy(() => {
4702
- return z80.object({
4703
- name: z80.string(),
4704
- count: z80.number().gte(0)
4705
- });
4706
- });
4707
- var topicResponse = z80.lazy(() => {
4708
- return z80.object({
4709
- name: z80.string(),
4710
- count: z80.number().gte(0)
4711
- }).transform((data) => ({
4712
- name: data["name"],
4713
- count: data["count"]
4714
- }));
4715
- });
4716
- var topicRequest = z80.lazy(() => {
4717
- return z80.object({
4718
- name: z80.string(),
4719
- count: z80.number().gte(0)
4720
- }).transform((data) => ({
4721
- name: data["name"],
4722
- count: data["count"]
4723
- }));
4724
- });
5128
+ import { z as z90 } from "zod";
4725
5129
 
4726
5130
  // src/services/topics/models/list-topics-ok-response-pagination.ts
4727
- import { z as z81 } from "zod";
4728
- var listTopicsOkResponsePagination = z81.lazy(() => {
4729
- return z81.object({
4730
- limit: z81.number().optional(),
4731
- offset: z81.number().optional(),
4732
- count: z81.number().optional()
5131
+ import { z as z89 } from "zod";
5132
+ var listTopicsOkResponsePagination = z89.lazy(() => {
5133
+ return z89.object({
5134
+ limit: z89.number().optional(),
5135
+ offset: z89.number().optional(),
5136
+ count: z89.number().optional()
4733
5137
  });
4734
5138
  });
4735
- var listTopicsOkResponsePaginationResponse = z81.lazy(() => {
4736
- return z81.object({
4737
- limit: z81.number().optional(),
4738
- offset: z81.number().optional(),
4739
- count: z81.number().optional()
5139
+ var listTopicsOkResponsePaginationResponse = z89.lazy(() => {
5140
+ return z89.object({
5141
+ limit: z89.number().optional(),
5142
+ offset: z89.number().optional(),
5143
+ count: z89.number().optional()
4740
5144
  }).transform((data) => ({
4741
5145
  limit: data["limit"],
4742
5146
  offset: data["offset"],
4743
5147
  count: data["count"]
4744
5148
  }));
4745
5149
  });
4746
- var listTopicsOkResponsePaginationRequest = z81.lazy(() => {
4747
- return z81.object({
4748
- limit: z81.number().optional(),
4749
- offset: z81.number().optional(),
4750
- count: z81.number().optional()
5150
+ var listTopicsOkResponsePaginationRequest = z89.lazy(() => {
5151
+ return z89.object({
5152
+ limit: z89.number().optional(),
5153
+ offset: z89.number().optional(),
5154
+ count: z89.number().optional()
4751
5155
  }).transform((data) => ({
4752
5156
  limit: data["limit"],
4753
5157
  offset: data["offset"],
@@ -4756,24 +5160,24 @@ var listTopicsOkResponsePaginationRequest = z81.lazy(() => {
4756
5160
  });
4757
5161
 
4758
5162
  // src/services/topics/models/list-topics-ok-response.ts
4759
- var listTopicsOkResponse = z82.lazy(() => {
4760
- return z82.object({
4761
- data: z82.array(topic).optional(),
5163
+ var listTopicsOkResponse = z90.lazy(() => {
5164
+ return z90.object({
5165
+ data: z90.array(topic).optional(),
4762
5166
  pagination: listTopicsOkResponsePagination.optional()
4763
5167
  });
4764
5168
  });
4765
- var listTopicsOkResponseResponse = z82.lazy(() => {
4766
- return z82.object({
4767
- data: z82.array(topicResponse).optional(),
5169
+ var listTopicsOkResponseResponse = z90.lazy(() => {
5170
+ return z90.object({
5171
+ data: z90.array(topicResponse).optional(),
4768
5172
  pagination: listTopicsOkResponsePaginationResponse.optional()
4769
5173
  }).transform((data) => ({
4770
5174
  data: data["data"],
4771
5175
  pagination: data["pagination"]
4772
5176
  }));
4773
5177
  });
4774
- var listTopicsOkResponseRequest = z82.lazy(() => {
4775
- return z82.object({
4776
- data: z82.array(topicRequest).optional(),
5178
+ var listTopicsOkResponseRequest = z90.lazy(() => {
5179
+ return z90.object({
5180
+ data: z90.array(topicRequest).optional(),
4777
5181
  pagination: listTopicsOkResponsePaginationRequest.optional()
4778
5182
  }).transform((data) => ({
4779
5183
  data: data["data"],
@@ -4782,21 +5186,21 @@ var listTopicsOkResponseRequest = z82.lazy(() => {
4782
5186
  });
4783
5187
 
4784
5188
  // src/services/topics/models/get-topic-by-id-ok-response.ts
4785
- import { z as z83 } from "zod";
4786
- var getTopicByIdOkResponse = z83.lazy(() => {
4787
- return z83.object({
5189
+ import { z as z91 } from "zod";
5190
+ var getTopicByIdOkResponse = z91.lazy(() => {
5191
+ return z91.object({
4788
5192
  data: topic.optional()
4789
5193
  });
4790
5194
  });
4791
- var getTopicByIdOkResponseResponse = z83.lazy(() => {
4792
- return z83.object({
5195
+ var getTopicByIdOkResponseResponse = z91.lazy(() => {
5196
+ return z91.object({
4793
5197
  data: topicResponse.optional()
4794
5198
  }).transform((data) => ({
4795
5199
  data: data["data"]
4796
5200
  }));
4797
5201
  });
4798
- var getTopicByIdOkResponseRequest = z83.lazy(() => {
4799
- return z83.object({
5202
+ var getTopicByIdOkResponseRequest = z91.lazy(() => {
5203
+ return z91.object({
4800
5204
  data: topicRequest.optional()
4801
5205
  }).transform((data) => ({
4802
5206
  data: data["data"]
@@ -4804,26 +5208,26 @@ var getTopicByIdOkResponseRequest = z83.lazy(() => {
4804
5208
  });
4805
5209
 
4806
5210
  // src/services/topics/models/merge-topics-request.ts
4807
- import { z as z84 } from "zod";
4808
- var mergeTopicsRequest = z84.lazy(() => {
4809
- return z84.object({
4810
- sourceTopicId: z84.string(),
4811
- targetTopicId: z84.string()
5211
+ import { z as z92 } from "zod";
5212
+ var mergeTopicsRequest = z92.lazy(() => {
5213
+ return z92.object({
5214
+ sourceTopicId: z92.string(),
5215
+ targetTopicId: z92.string()
4812
5216
  });
4813
5217
  });
4814
- var mergeTopicsRequestResponse = z84.lazy(() => {
4815
- return z84.object({
4816
- sourceTopicId: z84.string(),
4817
- targetTopicId: z84.string()
5218
+ var mergeTopicsRequestResponse = z92.lazy(() => {
5219
+ return z92.object({
5220
+ sourceTopicId: z92.string(),
5221
+ targetTopicId: z92.string()
4818
5222
  }).transform((data) => ({
4819
5223
  sourceTopicId: data["sourceTopicId"],
4820
5224
  targetTopicId: data["targetTopicId"]
4821
5225
  }));
4822
5226
  });
4823
- var mergeTopicsRequestRequest = z84.lazy(() => {
4824
- return z84.object({
4825
- sourceTopicId: z84.string(),
4826
- targetTopicId: z84.string()
5227
+ var mergeTopicsRequestRequest = z92.lazy(() => {
5228
+ return z92.object({
5229
+ sourceTopicId: z92.string(),
5230
+ targetTopicId: z92.string()
4827
5231
  }).transform((data) => ({
4828
5232
  sourceTopicId: data["sourceTopicId"],
4829
5233
  targetTopicId: data["targetTopicId"]
@@ -4831,26 +5235,26 @@ var mergeTopicsRequestRequest = z84.lazy(() => {
4831
5235
  });
4832
5236
 
4833
5237
  // src/services/topics/models/discover-related-topics-request.ts
4834
- import { z as z85 } from "zod";
4835
- var discoverRelatedTopicsRequest = z85.lazy(() => {
4836
- return z85.object({
4837
- topicId: z85.string(),
4838
- limit: z85.number().optional()
5238
+ import { z as z93 } from "zod";
5239
+ var discoverRelatedTopicsRequest = z93.lazy(() => {
5240
+ return z93.object({
5241
+ topicId: z93.string(),
5242
+ limit: z93.number().optional()
4839
5243
  });
4840
5244
  });
4841
- var discoverRelatedTopicsRequestResponse = z85.lazy(() => {
4842
- return z85.object({
4843
- topicId: z85.string(),
4844
- limit: z85.number().optional()
5245
+ var discoverRelatedTopicsRequestResponse = z93.lazy(() => {
5246
+ return z93.object({
5247
+ topicId: z93.string(),
5248
+ limit: z93.number().optional()
4845
5249
  }).transform((data) => ({
4846
5250
  topicId: data["topicId"],
4847
5251
  limit: data["limit"]
4848
5252
  }));
4849
5253
  });
4850
- var discoverRelatedTopicsRequestRequest = z85.lazy(() => {
4851
- return z85.object({
4852
- topicId: z85.string(),
4853
- limit: z85.number().optional()
5254
+ var discoverRelatedTopicsRequestRequest = z93.lazy(() => {
5255
+ return z93.object({
5256
+ topicId: z93.string(),
5257
+ limit: z93.number().optional()
4854
5258
  }).transform((data) => ({
4855
5259
  topicId: data["topicId"],
4856
5260
  limit: data["limit"]
@@ -4858,26 +5262,26 @@ var discoverRelatedTopicsRequestRequest = z85.lazy(() => {
4858
5262
  });
4859
5263
 
4860
5264
  // src/services/topics/models/calculate-topic-similarity-request.ts
4861
- import { z as z86 } from "zod";
4862
- var calculateTopicSimilarityRequest = z86.lazy(() => {
4863
- return z86.object({
4864
- topicId1: z86.string(),
4865
- topicId2: z86.string()
5265
+ import { z as z94 } from "zod";
5266
+ var calculateTopicSimilarityRequest = z94.lazy(() => {
5267
+ return z94.object({
5268
+ topicId1: z94.string(),
5269
+ topicId2: z94.string()
4866
5270
  });
4867
5271
  });
4868
- var calculateTopicSimilarityRequestResponse = z86.lazy(() => {
4869
- return z86.object({
4870
- topicId1: z86.string(),
4871
- topicId2: z86.string()
5272
+ var calculateTopicSimilarityRequestResponse = z94.lazy(() => {
5273
+ return z94.object({
5274
+ topicId1: z94.string(),
5275
+ topicId2: z94.string()
4872
5276
  }).transform((data) => ({
4873
5277
  topicId1: data["topicId1"],
4874
5278
  topicId2: data["topicId2"]
4875
5279
  }));
4876
5280
  });
4877
- var calculateTopicSimilarityRequestRequest = z86.lazy(() => {
4878
- return z86.object({
4879
- topicId1: z86.string(),
4880
- topicId2: z86.string()
5281
+ var calculateTopicSimilarityRequestRequest = z94.lazy(() => {
5282
+ return z94.object({
5283
+ topicId1: z94.string(),
5284
+ topicId2: z94.string()
4881
5285
  }).transform((data) => ({
4882
5286
  topicId1: data["topicId1"],
4883
5287
  topicId2: data["topicId2"]
@@ -4885,30 +5289,30 @@ var calculateTopicSimilarityRequestRequest = z86.lazy(() => {
4885
5289
  });
4886
5290
 
4887
5291
  // src/services/topics/models/find-similar-topics-request.ts
4888
- import { z as z87 } from "zod";
4889
- var findSimilarTopicsRequest = z87.lazy(() => {
4890
- return z87.object({
4891
- topicId: z87.string(),
4892
- threshold: z87.number().optional(),
4893
- limit: z87.number().optional()
5292
+ import { z as z95 } from "zod";
5293
+ var findSimilarTopicsRequest = z95.lazy(() => {
5294
+ return z95.object({
5295
+ topicId: z95.string(),
5296
+ threshold: z95.number().optional(),
5297
+ limit: z95.number().optional()
4894
5298
  });
4895
5299
  });
4896
- var findSimilarTopicsRequestResponse = z87.lazy(() => {
4897
- return z87.object({
4898
- topicId: z87.string(),
4899
- threshold: z87.number().optional(),
4900
- limit: z87.number().optional()
5300
+ var findSimilarTopicsRequestResponse = z95.lazy(() => {
5301
+ return z95.object({
5302
+ topicId: z95.string(),
5303
+ threshold: z95.number().optional(),
5304
+ limit: z95.number().optional()
4901
5305
  }).transform((data) => ({
4902
5306
  topicId: data["topicId"],
4903
5307
  threshold: data["threshold"],
4904
5308
  limit: data["limit"]
4905
5309
  }));
4906
5310
  });
4907
- var findSimilarTopicsRequestRequest = z87.lazy(() => {
4908
- return z87.object({
4909
- topicId: z87.string(),
4910
- threshold: z87.number().optional(),
4911
- limit: z87.number().optional()
5311
+ var findSimilarTopicsRequestRequest = z95.lazy(() => {
5312
+ return z95.object({
5313
+ topicId: z95.string(),
5314
+ threshold: z95.number().optional(),
5315
+ limit: z95.number().optional()
4912
5316
  }).transform((data) => ({
4913
5317
  topicId: data["topicId"],
4914
5318
  threshold: data["threshold"],
@@ -4917,74 +5321,74 @@ var findSimilarTopicsRequestRequest = z87.lazy(() => {
4917
5321
  });
4918
5322
 
4919
5323
  // src/services/topics/models/cluster-topics-request.ts
4920
- import { z as z88 } from "zod";
4921
- var clusterTopicsRequest = z88.lazy(() => {
4922
- return z88.object({
4923
- minClusterSize: z88.number().optional()
5324
+ import { z as z96 } from "zod";
5325
+ var clusterTopicsRequest = z96.lazy(() => {
5326
+ return z96.object({
5327
+ minClusterSize: z96.number().optional()
4924
5328
  });
4925
5329
  });
4926
- var clusterTopicsRequestResponse = z88.lazy(() => {
4927
- return z88.object({
4928
- minClusterSize: z88.number().optional()
5330
+ var clusterTopicsRequestResponse = z96.lazy(() => {
5331
+ return z96.object({
5332
+ minClusterSize: z96.number().optional()
4929
5333
  }).transform((data) => ({
4930
5334
  minClusterSize: data["minClusterSize"]
4931
5335
  }));
4932
5336
  });
4933
- var clusterTopicsRequestRequest = z88.lazy(() => {
4934
- return z88.object({
4935
- minClusterSize: z88.number().optional()
5337
+ var clusterTopicsRequestRequest = z96.lazy(() => {
5338
+ return z96.object({
5339
+ minClusterSize: z96.number().optional()
4936
5340
  }).transform((data) => ({
4937
5341
  minClusterSize: data["minClusterSize"]
4938
5342
  }));
4939
5343
  });
4940
5344
 
4941
5345
  // src/services/topics/models/detect-communities-request.ts
4942
- import { z as z89 } from "zod";
4943
- var detectCommunitiesRequest = z89.lazy(() => {
4944
- return z89.object({
4945
- algorithm: z89.string().optional()
5346
+ import { z as z97 } from "zod";
5347
+ var detectCommunitiesRequest = z97.lazy(() => {
5348
+ return z97.object({
5349
+ algorithm: z97.string().optional()
4946
5350
  });
4947
5351
  });
4948
- var detectCommunitiesRequestResponse = z89.lazy(() => {
4949
- return z89.object({
4950
- algorithm: z89.string().optional()
5352
+ var detectCommunitiesRequestResponse = z97.lazy(() => {
5353
+ return z97.object({
5354
+ algorithm: z97.string().optional()
4951
5355
  }).transform((data) => ({
4952
5356
  algorithm: data["algorithm"]
4953
5357
  }));
4954
5358
  });
4955
- var detectCommunitiesRequestRequest = z89.lazy(() => {
4956
- return z89.object({
4957
- algorithm: z89.string().optional()
5359
+ var detectCommunitiesRequestRequest = z97.lazy(() => {
5360
+ return z97.object({
5361
+ algorithm: z97.string().optional()
4958
5362
  }).transform((data) => ({
4959
5363
  algorithm: data["algorithm"]
4960
5364
  }));
4961
5365
  });
4962
5366
 
4963
5367
  // src/services/topics/models/search-topics-request.ts
4964
- import { z as z90 } from "zod";
4965
- var searchTopicsRequest = z90.lazy(() => {
4966
- return z90.object({
4967
- query: z90.string(),
4968
- limit: z90.number().optional(),
4969
- offset: z90.number().optional()
5368
+ import { z as z98 } from "zod";
5369
+ var searchTopicsRequest = z98.lazy(() => {
5370
+ return z98.object({
5371
+ query: z98.string(),
5372
+ limit: z98.number().optional(),
5373
+ offset: z98.number().optional()
4970
5374
  });
4971
5375
  });
4972
- var searchTopicsRequestResponse = z90.lazy(() => {
4973
- return z90.object({
4974
- query: z90.string(),
4975
- limit: z90.number().optional(),
4976
- offset: z90.number().optional()
5376
+ var searchTopicsRequestResponse = z98.lazy(() => {
5377
+ return z98.object({
5378
+ query: z98.string(),
5379
+ limit: z98.number().optional(),
5380
+ offset: z98.number().optional()
4977
5381
  }).transform((data) => ({
4978
5382
  query: data["query"],
4979
5383
  limit: data["limit"],
4980
5384
  offset: data["offset"]
4981
5385
  }));
4982
5386
  });
4983
- var searchTopicsRequestRequest = z90.lazy(() => {
4984
- return z90.object({
4985
- query: z90.string(),
4986
- limit: z90.number().optional(),
4987
- offset: z90.number().optional()
5387
+ var searchTopicsRequestRequest = z98.lazy(() => {
5388
+ return z98.object({
5389
+ query: z98.string(),
5390
+ limit: z98.number().optional(),
5391
+ offset: z98.number().optional()
4988
5392
  }).transform((data) => ({
4989
5393
  query: data["query"],
4990
5394
  limit: data["limit"],
@@ -4993,21 +5397,21 @@ var searchTopicsRequestRequest = z90.lazy(() => {
4993
5397
  });
4994
5398
 
4995
5399
  // src/services/topics/models/search-topics-ok-response.ts
4996
- import { z as z91 } from "zod";
4997
- var searchTopicsOkResponse = z91.lazy(() => {
4998
- return z91.object({
4999
- data: z91.array(z91.any()).optional(),
5000
- total: z91.number().optional(),
5001
- limit: z91.number().optional(),
5002
- offset: z91.number().optional()
5400
+ import { z as z99 } from "zod";
5401
+ var searchTopicsOkResponse = z99.lazy(() => {
5402
+ return z99.object({
5403
+ data: z99.array(z99.any()).optional(),
5404
+ total: z99.number().optional(),
5405
+ limit: z99.number().optional(),
5406
+ offset: z99.number().optional()
5003
5407
  });
5004
5408
  });
5005
- var searchTopicsOkResponseResponse = z91.lazy(() => {
5006
- return z91.object({
5007
- data: z91.array(z91.any()).optional(),
5008
- total: z91.number().optional(),
5009
- limit: z91.number().optional(),
5010
- offset: z91.number().optional()
5409
+ var searchTopicsOkResponseResponse = z99.lazy(() => {
5410
+ return z99.object({
5411
+ data: z99.array(z99.any()).optional(),
5412
+ total: z99.number().optional(),
5413
+ limit: z99.number().optional(),
5414
+ offset: z99.number().optional()
5011
5415
  }).transform((data) => ({
5012
5416
  data: data["data"],
5013
5417
  total: data["total"],
@@ -5015,12 +5419,12 @@ var searchTopicsOkResponseResponse = z91.lazy(() => {
5015
5419
  offset: data["offset"]
5016
5420
  }));
5017
5421
  });
5018
- var searchTopicsOkResponseRequest = z91.lazy(() => {
5019
- return z91.object({
5020
- data: z91.array(z91.any()).optional(),
5021
- total: z91.number().optional(),
5022
- limit: z91.number().optional(),
5023
- offset: z91.number().optional()
5422
+ var searchTopicsOkResponseRequest = z99.lazy(() => {
5423
+ return z99.object({
5424
+ data: z99.array(z99.any()).optional(),
5425
+ total: z99.number().optional(),
5426
+ limit: z99.number().optional(),
5427
+ offset: z99.number().optional()
5024
5428
  }).transform((data) => ({
5025
5429
  data: data["data"],
5026
5430
  total: data["total"],
@@ -5039,7 +5443,7 @@ var TopicsService = class extends BaseService {
5039
5443
  * @returns {Promise<HttpResponse<ListTopicsOkResponse>>} - List of topics retrieved successfully
5040
5444
  */
5041
5445
  async listTopics(params, requestConfig) {
5042
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics").setRequestSchema(z92.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5446
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics").setRequestSchema(z100.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5043
5447
  schema: listTopicsOkResponseResponse,
5044
5448
  contentType: "json" /* Json */,
5045
5449
  status: 200
@@ -5067,7 +5471,7 @@ var TopicsService = class extends BaseService {
5067
5471
  * @returns {Promise<HttpResponse<GetTopicByIdOkResponse>>} - Topic retrieved successfully
5068
5472
  */
5069
5473
  async getTopicById(id, requestConfig) {
5070
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/{id}").setRequestSchema(z92.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5474
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/{id}").setRequestSchema(z100.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5071
5475
  schema: getTopicByIdOkResponseResponse,
5072
5476
  contentType: "json" /* Json */,
5073
5477
  status: 200
@@ -5096,7 +5500,7 @@ var TopicsService = class extends BaseService {
5096
5500
  */
5097
5501
  async mergeTopics(body, requestConfig) {
5098
5502
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/merge").setRequestSchema(mergeTopicsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5099
- schema: z92.undefined(),
5503
+ schema: z100.undefined(),
5100
5504
  contentType: "noContent" /* NoContent */,
5101
5505
  status: 200
5102
5506
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5109,7 +5513,7 @@ var TopicsService = class extends BaseService {
5109
5513
  */
5110
5514
  async discoverRelatedTopics(body, requestConfig) {
5111
5515
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/discover-related").setRequestSchema(discoverRelatedTopicsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5112
- schema: z92.undefined(),
5516
+ schema: z100.undefined(),
5113
5517
  contentType: "noContent" /* NoContent */,
5114
5518
  status: 200
5115
5519
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5122,7 +5526,7 @@ var TopicsService = class extends BaseService {
5122
5526
  */
5123
5527
  async calculateTopicSimilarity(body, requestConfig) {
5124
5528
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/similarity").setRequestSchema(calculateTopicSimilarityRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5125
- schema: z92.undefined(),
5529
+ schema: z100.undefined(),
5126
5530
  contentType: "noContent" /* NoContent */,
5127
5531
  status: 200
5128
5532
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5135,7 +5539,7 @@ var TopicsService = class extends BaseService {
5135
5539
  */
5136
5540
  async findSimilarTopics(body, requestConfig) {
5137
5541
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/similar").setRequestSchema(findSimilarTopicsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5138
- schema: z92.undefined(),
5542
+ schema: z100.undefined(),
5139
5543
  contentType: "noContent" /* NoContent */,
5140
5544
  status: 200
5141
5545
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5148,7 +5552,7 @@ var TopicsService = class extends BaseService {
5148
5552
  */
5149
5553
  async clusterTopics(body, requestConfig) {
5150
5554
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/cluster").setRequestSchema(clusterTopicsRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5151
- schema: z92.undefined(),
5555
+ schema: z100.undefined(),
5152
5556
  contentType: "noContent" /* NoContent */,
5153
5557
  status: 200
5154
5558
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5161,7 +5565,7 @@ var TopicsService = class extends BaseService {
5161
5565
  */
5162
5566
  async detectCommunities(body, requestConfig) {
5163
5567
  const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("POST").setPath("/api/topics/detect-communities").setRequestSchema(detectCommunitiesRequestRequest).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5164
- schema: z92.undefined(),
5568
+ schema: z100.undefined(),
5165
5569
  contentType: "noContent" /* NoContent */,
5166
5570
  status: 200
5167
5571
  }).setRetryAttempts(this.config, requestConfig).setRetryDelayMs(this.config, requestConfig).setResponseValidation(this.config, requestConfig).addHeaderParam({ key: "Content-Type", value: "application/json" }).addBody(body).build();
@@ -5183,31 +5587,31 @@ var TopicsService = class extends BaseService {
5183
5587
  };
5184
5588
 
5185
5589
  // src/services/communities/communities-service.ts
5186
- import { z as z99 } from "zod";
5590
+ import { z as z107 } from "zod";
5187
5591
 
5188
5592
  // src/services/communities/models/list-communities-ok-response.ts
5189
- import { z as z95 } from "zod";
5593
+ import { z as z103 } from "zod";
5190
5594
 
5191
5595
  // src/services/communities/models/community.ts
5192
- import { z as z93 } from "zod";
5193
- var community = z93.lazy(() => {
5194
- return z93.object({
5195
- id: z93.string(),
5196
- name: z93.string(),
5197
- description: z93.string().optional().nullable(),
5198
- topicCount: z93.number().gte(0).optional(),
5199
- createdAt: z93.string(),
5200
- updatedAt: z93.string()
5596
+ import { z as z101 } from "zod";
5597
+ var community = z101.lazy(() => {
5598
+ return z101.object({
5599
+ id: z101.string(),
5600
+ name: z101.string(),
5601
+ description: z101.string().optional().nullable(),
5602
+ topicCount: z101.number().gte(0).optional(),
5603
+ createdAt: z101.string(),
5604
+ updatedAt: z101.string()
5201
5605
  });
5202
5606
  });
5203
- var communityResponse = z93.lazy(() => {
5204
- return z93.object({
5205
- id: z93.string(),
5206
- name: z93.string(),
5207
- description: z93.string().optional().nullable(),
5208
- topicCount: z93.number().gte(0).optional(),
5209
- createdAt: z93.string(),
5210
- updatedAt: z93.string()
5607
+ var communityResponse = z101.lazy(() => {
5608
+ return z101.object({
5609
+ id: z101.string(),
5610
+ name: z101.string(),
5611
+ description: z101.string().optional().nullable(),
5612
+ topicCount: z101.number().gte(0).optional(),
5613
+ createdAt: z101.string(),
5614
+ updatedAt: z101.string()
5211
5615
  }).transform((data) => ({
5212
5616
  id: data["id"],
5213
5617
  name: data["name"],
@@ -5217,14 +5621,14 @@ var communityResponse = z93.lazy(() => {
5217
5621
  updatedAt: data["updatedAt"]
5218
5622
  }));
5219
5623
  });
5220
- var communityRequest = z93.lazy(() => {
5221
- return z93.object({
5222
- id: z93.string(),
5223
- name: z93.string(),
5224
- description: z93.string().optional().nullable(),
5225
- topicCount: z93.number().gte(0).optional(),
5226
- createdAt: z93.string(),
5227
- updatedAt: z93.string()
5624
+ var communityRequest = z101.lazy(() => {
5625
+ return z101.object({
5626
+ id: z101.string(),
5627
+ name: z101.string(),
5628
+ description: z101.string().optional().nullable(),
5629
+ topicCount: z101.number().gte(0).optional(),
5630
+ createdAt: z101.string(),
5631
+ updatedAt: z101.string()
5228
5632
  }).transform((data) => ({
5229
5633
  id: data["id"],
5230
5634
  name: data["name"],
@@ -5236,30 +5640,30 @@ var communityRequest = z93.lazy(() => {
5236
5640
  });
5237
5641
 
5238
5642
  // src/services/communities/models/list-communities-ok-response-pagination.ts
5239
- import { z as z94 } from "zod";
5240
- var listCommunitiesOkResponsePagination = z94.lazy(() => {
5241
- return z94.object({
5242
- limit: z94.number().optional(),
5243
- offset: z94.number().optional(),
5244
- count: z94.number().optional()
5643
+ import { z as z102 } from "zod";
5644
+ var listCommunitiesOkResponsePagination = z102.lazy(() => {
5645
+ return z102.object({
5646
+ limit: z102.number().optional(),
5647
+ offset: z102.number().optional(),
5648
+ count: z102.number().optional()
5245
5649
  });
5246
5650
  });
5247
- var listCommunitiesOkResponsePaginationResponse = z94.lazy(() => {
5248
- return z94.object({
5249
- limit: z94.number().optional(),
5250
- offset: z94.number().optional(),
5251
- count: z94.number().optional()
5651
+ var listCommunitiesOkResponsePaginationResponse = z102.lazy(() => {
5652
+ return z102.object({
5653
+ limit: z102.number().optional(),
5654
+ offset: z102.number().optional(),
5655
+ count: z102.number().optional()
5252
5656
  }).transform((data) => ({
5253
5657
  limit: data["limit"],
5254
5658
  offset: data["offset"],
5255
5659
  count: data["count"]
5256
5660
  }));
5257
5661
  });
5258
- var listCommunitiesOkResponsePaginationRequest = z94.lazy(() => {
5259
- return z94.object({
5260
- limit: z94.number().optional(),
5261
- offset: z94.number().optional(),
5262
- count: z94.number().optional()
5662
+ var listCommunitiesOkResponsePaginationRequest = z102.lazy(() => {
5663
+ return z102.object({
5664
+ limit: z102.number().optional(),
5665
+ offset: z102.number().optional(),
5666
+ count: z102.number().optional()
5263
5667
  }).transform((data) => ({
5264
5668
  limit: data["limit"],
5265
5669
  offset: data["offset"],
@@ -5268,24 +5672,24 @@ var listCommunitiesOkResponsePaginationRequest = z94.lazy(() => {
5268
5672
  });
5269
5673
 
5270
5674
  // src/services/communities/models/list-communities-ok-response.ts
5271
- var listCommunitiesOkResponse = z95.lazy(() => {
5272
- return z95.object({
5273
- data: z95.array(community).optional(),
5675
+ var listCommunitiesOkResponse = z103.lazy(() => {
5676
+ return z103.object({
5677
+ data: z103.array(community).optional(),
5274
5678
  pagination: listCommunitiesOkResponsePagination.optional()
5275
5679
  });
5276
5680
  });
5277
- var listCommunitiesOkResponseResponse = z95.lazy(() => {
5278
- return z95.object({
5279
- data: z95.array(communityResponse).optional(),
5681
+ var listCommunitiesOkResponseResponse = z103.lazy(() => {
5682
+ return z103.object({
5683
+ data: z103.array(communityResponse).optional(),
5280
5684
  pagination: listCommunitiesOkResponsePaginationResponse.optional()
5281
5685
  }).transform((data) => ({
5282
5686
  data: data["data"],
5283
5687
  pagination: data["pagination"]
5284
5688
  }));
5285
5689
  });
5286
- var listCommunitiesOkResponseRequest = z95.lazy(() => {
5287
- return z95.object({
5288
- data: z95.array(communityRequest).optional(),
5690
+ var listCommunitiesOkResponseRequest = z103.lazy(() => {
5691
+ return z103.object({
5692
+ data: z103.array(communityRequest).optional(),
5289
5693
  pagination: listCommunitiesOkResponsePaginationRequest.optional()
5290
5694
  }).transform((data) => ({
5291
5695
  data: data["data"],
@@ -5294,21 +5698,21 @@ var listCommunitiesOkResponseRequest = z95.lazy(() => {
5294
5698
  });
5295
5699
 
5296
5700
  // src/services/communities/models/get-community-by-id-ok-response.ts
5297
- import { z as z96 } from "zod";
5298
- var getCommunityByIdOkResponse = z96.lazy(() => {
5299
- return z96.object({
5701
+ import { z as z104 } from "zod";
5702
+ var getCommunityByIdOkResponse = z104.lazy(() => {
5703
+ return z104.object({
5300
5704
  data: community.optional()
5301
5705
  });
5302
5706
  });
5303
- var getCommunityByIdOkResponseResponse = z96.lazy(() => {
5304
- return z96.object({
5707
+ var getCommunityByIdOkResponseResponse = z104.lazy(() => {
5708
+ return z104.object({
5305
5709
  data: communityResponse.optional()
5306
5710
  }).transform((data) => ({
5307
5711
  data: data["data"]
5308
5712
  }));
5309
5713
  });
5310
- var getCommunityByIdOkResponseRequest = z96.lazy(() => {
5311
- return z96.object({
5714
+ var getCommunityByIdOkResponseRequest = z104.lazy(() => {
5715
+ return z104.object({
5312
5716
  data: communityRequest.optional()
5313
5717
  }).transform((data) => ({
5314
5718
  data: data["data"]
@@ -5316,26 +5720,26 @@ var getCommunityByIdOkResponseRequest = z96.lazy(() => {
5316
5720
  });
5317
5721
 
5318
5722
  // src/services/communities/models/merge-communities-request.ts
5319
- import { z as z97 } from "zod";
5320
- var mergeCommunitiesRequest = z97.lazy(() => {
5321
- return z97.object({
5322
- sourceCommunityId: z97.string().min(1),
5323
- targetCommunityId: z97.string().min(1)
5723
+ import { z as z105 } from "zod";
5724
+ var mergeCommunitiesRequest = z105.lazy(() => {
5725
+ return z105.object({
5726
+ sourceCommunityId: z105.string().min(1),
5727
+ targetCommunityId: z105.string().min(1)
5324
5728
  });
5325
5729
  });
5326
- var mergeCommunitiesRequestResponse = z97.lazy(() => {
5327
- return z97.object({
5328
- sourceCommunityId: z97.string().min(1),
5329
- targetCommunityId: z97.string().min(1)
5730
+ var mergeCommunitiesRequestResponse = z105.lazy(() => {
5731
+ return z105.object({
5732
+ sourceCommunityId: z105.string().min(1),
5733
+ targetCommunityId: z105.string().min(1)
5330
5734
  }).transform((data) => ({
5331
5735
  sourceCommunityId: data["sourceCommunityId"],
5332
5736
  targetCommunityId: data["targetCommunityId"]
5333
5737
  }));
5334
5738
  });
5335
- var mergeCommunitiesRequestRequest = z97.lazy(() => {
5336
- return z97.object({
5337
- sourceCommunityId: z97.string().min(1),
5338
- targetCommunityId: z97.string().min(1)
5739
+ var mergeCommunitiesRequestRequest = z105.lazy(() => {
5740
+ return z105.object({
5741
+ sourceCommunityId: z105.string().min(1),
5742
+ targetCommunityId: z105.string().min(1)
5339
5743
  }).transform((data) => ({
5340
5744
  sourceCommunityId: data["sourceCommunityId"],
5341
5745
  targetCommunityId: data["targetCommunityId"]
@@ -5343,21 +5747,21 @@ var mergeCommunitiesRequestRequest = z97.lazy(() => {
5343
5747
  });
5344
5748
 
5345
5749
  // src/services/communities/models/merge-communities-ok-response.ts
5346
- import { z as z98 } from "zod";
5347
- var mergeCommunitiesOkResponse = z98.lazy(() => {
5348
- return z98.object({
5750
+ import { z as z106 } from "zod";
5751
+ var mergeCommunitiesOkResponse = z106.lazy(() => {
5752
+ return z106.object({
5349
5753
  data: community.optional()
5350
5754
  });
5351
5755
  });
5352
- var mergeCommunitiesOkResponseResponse = z98.lazy(() => {
5353
- return z98.object({
5756
+ var mergeCommunitiesOkResponseResponse = z106.lazy(() => {
5757
+ return z106.object({
5354
5758
  data: communityResponse.optional()
5355
5759
  }).transform((data) => ({
5356
5760
  data: data["data"]
5357
5761
  }));
5358
5762
  });
5359
- var mergeCommunitiesOkResponseRequest = z98.lazy(() => {
5360
- return z98.object({
5763
+ var mergeCommunitiesOkResponseRequest = z106.lazy(() => {
5764
+ return z106.object({
5361
5765
  data: communityRequest.optional()
5362
5766
  }).transform((data) => ({
5363
5767
  data: data["data"]
@@ -5374,7 +5778,7 @@ var CommunitiesService = class extends BaseService {
5374
5778
  * @returns {Promise<HttpResponse<ListCommunitiesOkResponse>>} - OK
5375
5779
  */
5376
5780
  async listCommunities(params, requestConfig) {
5377
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/communities").setRequestSchema(z99.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5781
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/communities").setRequestSchema(z107.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5378
5782
  schema: listCommunitiesOkResponseResponse,
5379
5783
  contentType: "json" /* Json */,
5380
5784
  status: 200
@@ -5394,7 +5798,7 @@ var CommunitiesService = class extends BaseService {
5394
5798
  * @returns {Promise<HttpResponse<GetCommunityByIdOkResponse>>} - OK
5395
5799
  */
5396
5800
  async getCommunityById(id, requestConfig) {
5397
- const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/communities/{id}").setRequestSchema(z99.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5801
+ const request = new RequestBuilder().setBaseUrl((requestConfig == null ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || "http://localhost:3000" /* DEFAULT */).setConfig(this.config).setMethod("GET").setPath("/api/topics/communities/{id}").setRequestSchema(z107.any()).addAccessTokenAuth(this.config.token).setRequestContentType("json" /* Json */).addResponse({
5398
5802
  schema: getCommunityByIdOkResponseResponse,
5399
5803
  contentType: "json" /* Json */,
5400
5804
  status: 200
@@ -5508,11 +5912,13 @@ export {
5508
5912
  HealthService,
5509
5913
  Memnexus,
5510
5914
  MemoriesService,
5511
- MemoryMemoryType,
5915
+ MemoryMemoryType1,
5916
+ MemoryMemoryType2,
5512
5917
  Mode,
5513
5918
  NoCache,
5514
5919
  PatternsService,
5515
5920
  Role,
5921
+ SearchMethod,
5516
5922
  ServiceCheckStatus,
5517
5923
  SystemService,
5518
5924
  TemporalMode,