@memnexus-ai/typescript-sdk 1.72.13 → 1.73.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.cjs +44 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -1
- package/dist/index.d.ts +34 -1
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -11420,6 +11420,37 @@ declare class GraphragService extends BaseService {
|
|
|
11420
11420
|
}>>;
|
|
11421
11421
|
}
|
|
11422
11422
|
|
|
11423
|
+
/**
|
|
11424
|
+
* FeedbackService - User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. API operations.
|
|
11425
|
+
* Auto-generated by sdk-generator - do not edit manually.
|
|
11426
|
+
*/
|
|
11427
|
+
|
|
11428
|
+
/**
|
|
11429
|
+
* User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus.
|
|
11430
|
+
*/
|
|
11431
|
+
declare class FeedbackService extends BaseService {
|
|
11432
|
+
/**
|
|
11433
|
+
* Submit feedback (bug report, feature request, or question)
|
|
11434
|
+
* Persists user-authored feedback to a dedicated Postgres table and
|
|
11435
|
+
returns once the row is durably written (store-first). The feedback
|
|
11436
|
+
store is isolated from the Neo4j retrieval corpus and never surfaces in
|
|
11437
|
+
search or recall.
|
|
11438
|
+
|
|
11439
|
+
Authentication is the standard trust-gateway set — API key, JWT bearer,
|
|
11440
|
+
or service token — modelled globally under the `ApiKeyAuth` scheme. The
|
|
11441
|
+
operation requires write access (`requireScope("write")`).
|
|
11442
|
+
|
|
11443
|
+
* @param body - Request body
|
|
11444
|
+
*/
|
|
11445
|
+
submitFeedback(body: {
|
|
11446
|
+
title: string;
|
|
11447
|
+
body: string;
|
|
11448
|
+
category?: 'bug' | 'feature' | 'question' | 'other';
|
|
11449
|
+
}): Promise<HttpResponse<{
|
|
11450
|
+
ok?: boolean;
|
|
11451
|
+
}>>;
|
|
11452
|
+
}
|
|
11453
|
+
|
|
11423
11454
|
/**
|
|
11424
11455
|
* FactsService - Fact extraction and management endpoints API operations.
|
|
11425
11456
|
* Auto-generated by sdk-generator - do not edit manually.
|
|
@@ -12324,6 +12355,8 @@ declare class Memnexus {
|
|
|
12324
12355
|
readonly health: HealthService;
|
|
12325
12356
|
/** Graph-based retrieval augmented generation endpoints operations */
|
|
12326
12357
|
readonly graphrag: GraphragService;
|
|
12358
|
+
/** User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. operations */
|
|
12359
|
+
readonly feedback: FeedbackService;
|
|
12327
12360
|
/** Fact extraction and management endpoints operations */
|
|
12328
12361
|
readonly facts: FactsService;
|
|
12329
12362
|
/** Entity extraction and discovery endpoints operations */
|
|
@@ -12366,4 +12399,4 @@ declare class Memnexus {
|
|
|
12366
12399
|
setEnvironment(environment: Environment): void;
|
|
12367
12400
|
}
|
|
12368
12401
|
|
|
12369
|
-
export { type AddMemoryToNarrativeRequest, AdminAlertsService, AdminPipelineService, AdminService, AlertsService, type ApiKey, ApiKeysService, type AppendNamedMemoryRequest, type Artifact, ArtifactsService, type BatchGetMemoriesMeta, type BatchGetMemoriesRequest, type BatchGetMemoriesResponse, BehaviorService, type BillingOverview, BillingService, type BranchFailure, type BuildContextActiveWork, type BuildContextActivity, type BuildContextFact, type BuildContextGotcha, type BuildContextMeta, type BuildContextPattern, type BuildContextRequest, type BuildContextResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkTagRequest, type BulkTagResponse, type BulkUpdateRequest, type BulkUpdateResponse, type CheckoutSessionResponse, type ClaimGroup, type ClaimGroupClaim, type ClaimGroupSignals, type CodeContext, type Community, type CompileInstructionsRequest, type CompileInstructionsResponse, ContentType, type Conversation, ConversationsService, type CreateArtifactRequest, type CreateCheckoutSessionRequest, type CreateConversationRequest, type CreateFactRequest, type CreateMemoryRelationshipRequest, type CreateMemoryRequest, type CreateMemoryResponse, type CreateMemoryResponseMeta, type CreateNarrativeRequest, type CreatePortalSessionRequest, type CreateRecommendationRequest, type CreateSystemAlertRequest, type DigestEntity, type DigestKeyFact, type DigestMetadata, type DigestRequest, type DigestResponse, type DigestSource, type DigestTimeRange, type EffectiveStateBreakdown, EntitiesService, type Entity, type EntityNode, Environment, type Error$1 as Error, type ErrorDefinition, type ExportRequest, type FacetEntry, type Facets, type Fact, type FactSearchRequest, FactsService, type GetMemoryResponse, type GetNarrativeResponse, type GraphRAGQueryRequest, type GraphRAGQueryResponse, GraphragService, type HealthCheck, HealthService, type Hook, type HttpError, type HttpMetadata, type HttpMethod, type HttpRequest, type HttpResponse, InvitesService, type Invoice, type ListInvoicesResponse, type ListNarrativesResponse, type ListPaymentMethodsResponse, type MatchRecommendationsRequest, Memnexus, MemoriesService, type Memory, type MemoryRelationship, type MemoryRelationshipsResponse, MonitoringService, type NamedMemoryHistoryResponse, type NarrativeMemory, type NarrativeThread, type NarrativeTimelineResponse, NarrativesService, type Pagination, type Pattern, PatternsService, type PaymentMethod, type PortalSessionResponse, type PrecomputedMemoryFields, type Recommendation, RecommendationsService, type RelatedMemoryResult, type RequestParameter, type ResponseDefinition, type RetryOptions, type SdkConfig, SdkError, type SearchFailureResponse, type SearchMeta, type SearchRequest, type SearchResponse, type SearchResult, SerializationStyle, type ServiceCheck, type Subscription, type SystemAlert, SystemService, type TemporalMetadata, type Topic, TopicsService, type UpdateArtifactRequest, type UpdateFactRequest, type UpdateMemoryRequest, type UpdateNamedMemoryRequest, type UpdateNarrativeRequest, type UpdateSystemAlertRequest, type User, type UserUsage, UsersService, type ValidationOptions, addMemoryToNarrativeRequest, apiKey, appendNamedMemoryRequest, artifact, batchGetMemoriesMeta, batchGetMemoriesRequest, batchGetMemoriesResponse, billingOverview, branchFailure, buildContextActiveWork, buildContextActivity, buildContextFact, buildContextGotcha, buildContextMeta, buildContextPattern, buildContextRequest, buildContextResponse, bulkDeleteRequest, bulkDeleteResponse, bulkTagRequest, bulkTagResponse, bulkUpdateRequest, bulkUpdateResponse, checkoutSessionResponse, claimGroup, claimGroupClaim, claimGroupSignals, codeContext, community, compileInstructionsRequest, compileInstructionsResponse, conversation, createArtifactRequest, createCheckoutSessionRequest, createConversationRequest, createFactRequest, createMemoryRelationshipRequest, createMemoryRequest, createMemoryResponse, createMemoryResponseMeta, createNarrativeRequest, createPortalSessionRequest, createRecommendationRequest, createSystemAlertRequest, Memnexus as default, digestEntity, digestKeyFact, digestMetadata, digestRequest, digestResponse, digestSource, digestTimeRange, effectiveStateBreakdown, entity, entityNode, error, exportRequest, facetEntry, facets, fact, factSearchRequest, getMemoryResponse, getNarrativeResponse, graphRAGQueryRequest, graphRAGQueryResponse, healthCheck, invoice, listInvoicesResponse, listNarrativesResponse, listPaymentMethodsResponse, matchRecommendationsRequest, memory, memoryRelationship, memoryRelationshipsResponse, namedMemoryHistoryResponse, narrativeMemory, narrativeThread, narrativeTimelineResponse, pagination, pattern, paymentMethod, portalSessionResponse, precomputedMemoryFields, recommendation, relatedMemoryResult, searchFailureResponse, searchMeta, searchRequest, searchResponse, searchResult, serviceCheck, subscription, systemAlert, temporalMetadata, topic, updateArtifactRequest, updateFactRequest, updateMemoryRequest, updateNamedMemoryRequest, updateNarrativeRequest, updateSystemAlertRequest, user, userUsage };
|
|
12402
|
+
export { type AddMemoryToNarrativeRequest, AdminAlertsService, AdminPipelineService, AdminService, AlertsService, type ApiKey, ApiKeysService, type AppendNamedMemoryRequest, type Artifact, ArtifactsService, type BatchGetMemoriesMeta, type BatchGetMemoriesRequest, type BatchGetMemoriesResponse, BehaviorService, type BillingOverview, BillingService, type BranchFailure, type BuildContextActiveWork, type BuildContextActivity, type BuildContextFact, type BuildContextGotcha, type BuildContextMeta, type BuildContextPattern, type BuildContextRequest, type BuildContextResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkTagRequest, type BulkTagResponse, type BulkUpdateRequest, type BulkUpdateResponse, type CheckoutSessionResponse, type ClaimGroup, type ClaimGroupClaim, type ClaimGroupSignals, type CodeContext, type Community, type CompileInstructionsRequest, type CompileInstructionsResponse, ContentType, type Conversation, ConversationsService, type CreateArtifactRequest, type CreateCheckoutSessionRequest, type CreateConversationRequest, type CreateFactRequest, type CreateMemoryRelationshipRequest, type CreateMemoryRequest, type CreateMemoryResponse, type CreateMemoryResponseMeta, type CreateNarrativeRequest, type CreatePortalSessionRequest, type CreateRecommendationRequest, type CreateSystemAlertRequest, type DigestEntity, type DigestKeyFact, type DigestMetadata, type DigestRequest, type DigestResponse, type DigestSource, type DigestTimeRange, type EffectiveStateBreakdown, EntitiesService, type Entity, type EntityNode, Environment, type Error$1 as Error, type ErrorDefinition, type ExportRequest, type FacetEntry, type Facets, type Fact, type FactSearchRequest, FactsService, FeedbackService, type GetMemoryResponse, type GetNarrativeResponse, type GraphRAGQueryRequest, type GraphRAGQueryResponse, GraphragService, type HealthCheck, HealthService, type Hook, type HttpError, type HttpMetadata, type HttpMethod, type HttpRequest, type HttpResponse, InvitesService, type Invoice, type ListInvoicesResponse, type ListNarrativesResponse, type ListPaymentMethodsResponse, type MatchRecommendationsRequest, Memnexus, MemoriesService, type Memory, type MemoryRelationship, type MemoryRelationshipsResponse, MonitoringService, type NamedMemoryHistoryResponse, type NarrativeMemory, type NarrativeThread, type NarrativeTimelineResponse, NarrativesService, type Pagination, type Pattern, PatternsService, type PaymentMethod, type PortalSessionResponse, type PrecomputedMemoryFields, type Recommendation, RecommendationsService, type RelatedMemoryResult, type RequestParameter, type ResponseDefinition, type RetryOptions, type SdkConfig, SdkError, type SearchFailureResponse, type SearchMeta, type SearchRequest, type SearchResponse, type SearchResult, SerializationStyle, type ServiceCheck, type Subscription, type SystemAlert, SystemService, type TemporalMetadata, type Topic, TopicsService, type UpdateArtifactRequest, type UpdateFactRequest, type UpdateMemoryRequest, type UpdateNamedMemoryRequest, type UpdateNarrativeRequest, type UpdateSystemAlertRequest, type User, type UserUsage, UsersService, type ValidationOptions, addMemoryToNarrativeRequest, apiKey, appendNamedMemoryRequest, artifact, batchGetMemoriesMeta, batchGetMemoriesRequest, batchGetMemoriesResponse, billingOverview, branchFailure, buildContextActiveWork, buildContextActivity, buildContextFact, buildContextGotcha, buildContextMeta, buildContextPattern, buildContextRequest, buildContextResponse, bulkDeleteRequest, bulkDeleteResponse, bulkTagRequest, bulkTagResponse, bulkUpdateRequest, bulkUpdateResponse, checkoutSessionResponse, claimGroup, claimGroupClaim, claimGroupSignals, codeContext, community, compileInstructionsRequest, compileInstructionsResponse, conversation, createArtifactRequest, createCheckoutSessionRequest, createConversationRequest, createFactRequest, createMemoryRelationshipRequest, createMemoryRequest, createMemoryResponse, createMemoryResponseMeta, createNarrativeRequest, createPortalSessionRequest, createRecommendationRequest, createSystemAlertRequest, Memnexus as default, digestEntity, digestKeyFact, digestMetadata, digestRequest, digestResponse, digestSource, digestTimeRange, effectiveStateBreakdown, entity, entityNode, error, exportRequest, facetEntry, facets, fact, factSearchRequest, getMemoryResponse, getNarrativeResponse, graphRAGQueryRequest, graphRAGQueryResponse, healthCheck, invoice, listInvoicesResponse, listNarrativesResponse, listPaymentMethodsResponse, matchRecommendationsRequest, memory, memoryRelationship, memoryRelationshipsResponse, namedMemoryHistoryResponse, narrativeMemory, narrativeThread, narrativeTimelineResponse, pagination, pattern, paymentMethod, portalSessionResponse, precomputedMemoryFields, recommendation, relatedMemoryResult, searchFailureResponse, searchMeta, searchRequest, searchResponse, searchResult, serviceCheck, subscription, systemAlert, temporalMetadata, topic, updateArtifactRequest, updateFactRequest, updateMemoryRequest, updateNamedMemoryRequest, updateNarrativeRequest, updateSystemAlertRequest, user, userUsage };
|
package/dist/index.d.ts
CHANGED
|
@@ -11420,6 +11420,37 @@ declare class GraphragService extends BaseService {
|
|
|
11420
11420
|
}>>;
|
|
11421
11421
|
}
|
|
11422
11422
|
|
|
11423
|
+
/**
|
|
11424
|
+
* FeedbackService - User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. API operations.
|
|
11425
|
+
* Auto-generated by sdk-generator - do not edit manually.
|
|
11426
|
+
*/
|
|
11427
|
+
|
|
11428
|
+
/**
|
|
11429
|
+
* User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus.
|
|
11430
|
+
*/
|
|
11431
|
+
declare class FeedbackService extends BaseService {
|
|
11432
|
+
/**
|
|
11433
|
+
* Submit feedback (bug report, feature request, or question)
|
|
11434
|
+
* Persists user-authored feedback to a dedicated Postgres table and
|
|
11435
|
+
returns once the row is durably written (store-first). The feedback
|
|
11436
|
+
store is isolated from the Neo4j retrieval corpus and never surfaces in
|
|
11437
|
+
search or recall.
|
|
11438
|
+
|
|
11439
|
+
Authentication is the standard trust-gateway set — API key, JWT bearer,
|
|
11440
|
+
or service token — modelled globally under the `ApiKeyAuth` scheme. The
|
|
11441
|
+
operation requires write access (`requireScope("write")`).
|
|
11442
|
+
|
|
11443
|
+
* @param body - Request body
|
|
11444
|
+
*/
|
|
11445
|
+
submitFeedback(body: {
|
|
11446
|
+
title: string;
|
|
11447
|
+
body: string;
|
|
11448
|
+
category?: 'bug' | 'feature' | 'question' | 'other';
|
|
11449
|
+
}): Promise<HttpResponse<{
|
|
11450
|
+
ok?: boolean;
|
|
11451
|
+
}>>;
|
|
11452
|
+
}
|
|
11453
|
+
|
|
11423
11454
|
/**
|
|
11424
11455
|
* FactsService - Fact extraction and management endpoints API operations.
|
|
11425
11456
|
* Auto-generated by sdk-generator - do not edit manually.
|
|
@@ -12324,6 +12355,8 @@ declare class Memnexus {
|
|
|
12324
12355
|
readonly health: HealthService;
|
|
12325
12356
|
/** Graph-based retrieval augmented generation endpoints operations */
|
|
12326
12357
|
readonly graphrag: GraphragService;
|
|
12358
|
+
/** User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. operations */
|
|
12359
|
+
readonly feedback: FeedbackService;
|
|
12327
12360
|
/** Fact extraction and management endpoints operations */
|
|
12328
12361
|
readonly facts: FactsService;
|
|
12329
12362
|
/** Entity extraction and discovery endpoints operations */
|
|
@@ -12366,4 +12399,4 @@ declare class Memnexus {
|
|
|
12366
12399
|
setEnvironment(environment: Environment): void;
|
|
12367
12400
|
}
|
|
12368
12401
|
|
|
12369
|
-
export { type AddMemoryToNarrativeRequest, AdminAlertsService, AdminPipelineService, AdminService, AlertsService, type ApiKey, ApiKeysService, type AppendNamedMemoryRequest, type Artifact, ArtifactsService, type BatchGetMemoriesMeta, type BatchGetMemoriesRequest, type BatchGetMemoriesResponse, BehaviorService, type BillingOverview, BillingService, type BranchFailure, type BuildContextActiveWork, type BuildContextActivity, type BuildContextFact, type BuildContextGotcha, type BuildContextMeta, type BuildContextPattern, type BuildContextRequest, type BuildContextResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkTagRequest, type BulkTagResponse, type BulkUpdateRequest, type BulkUpdateResponse, type CheckoutSessionResponse, type ClaimGroup, type ClaimGroupClaim, type ClaimGroupSignals, type CodeContext, type Community, type CompileInstructionsRequest, type CompileInstructionsResponse, ContentType, type Conversation, ConversationsService, type CreateArtifactRequest, type CreateCheckoutSessionRequest, type CreateConversationRequest, type CreateFactRequest, type CreateMemoryRelationshipRequest, type CreateMemoryRequest, type CreateMemoryResponse, type CreateMemoryResponseMeta, type CreateNarrativeRequest, type CreatePortalSessionRequest, type CreateRecommendationRequest, type CreateSystemAlertRequest, type DigestEntity, type DigestKeyFact, type DigestMetadata, type DigestRequest, type DigestResponse, type DigestSource, type DigestTimeRange, type EffectiveStateBreakdown, EntitiesService, type Entity, type EntityNode, Environment, type Error$1 as Error, type ErrorDefinition, type ExportRequest, type FacetEntry, type Facets, type Fact, type FactSearchRequest, FactsService, type GetMemoryResponse, type GetNarrativeResponse, type GraphRAGQueryRequest, type GraphRAGQueryResponse, GraphragService, type HealthCheck, HealthService, type Hook, type HttpError, type HttpMetadata, type HttpMethod, type HttpRequest, type HttpResponse, InvitesService, type Invoice, type ListInvoicesResponse, type ListNarrativesResponse, type ListPaymentMethodsResponse, type MatchRecommendationsRequest, Memnexus, MemoriesService, type Memory, type MemoryRelationship, type MemoryRelationshipsResponse, MonitoringService, type NamedMemoryHistoryResponse, type NarrativeMemory, type NarrativeThread, type NarrativeTimelineResponse, NarrativesService, type Pagination, type Pattern, PatternsService, type PaymentMethod, type PortalSessionResponse, type PrecomputedMemoryFields, type Recommendation, RecommendationsService, type RelatedMemoryResult, type RequestParameter, type ResponseDefinition, type RetryOptions, type SdkConfig, SdkError, type SearchFailureResponse, type SearchMeta, type SearchRequest, type SearchResponse, type SearchResult, SerializationStyle, type ServiceCheck, type Subscription, type SystemAlert, SystemService, type TemporalMetadata, type Topic, TopicsService, type UpdateArtifactRequest, type UpdateFactRequest, type UpdateMemoryRequest, type UpdateNamedMemoryRequest, type UpdateNarrativeRequest, type UpdateSystemAlertRequest, type User, type UserUsage, UsersService, type ValidationOptions, addMemoryToNarrativeRequest, apiKey, appendNamedMemoryRequest, artifact, batchGetMemoriesMeta, batchGetMemoriesRequest, batchGetMemoriesResponse, billingOverview, branchFailure, buildContextActiveWork, buildContextActivity, buildContextFact, buildContextGotcha, buildContextMeta, buildContextPattern, buildContextRequest, buildContextResponse, bulkDeleteRequest, bulkDeleteResponse, bulkTagRequest, bulkTagResponse, bulkUpdateRequest, bulkUpdateResponse, checkoutSessionResponse, claimGroup, claimGroupClaim, claimGroupSignals, codeContext, community, compileInstructionsRequest, compileInstructionsResponse, conversation, createArtifactRequest, createCheckoutSessionRequest, createConversationRequest, createFactRequest, createMemoryRelationshipRequest, createMemoryRequest, createMemoryResponse, createMemoryResponseMeta, createNarrativeRequest, createPortalSessionRequest, createRecommendationRequest, createSystemAlertRequest, Memnexus as default, digestEntity, digestKeyFact, digestMetadata, digestRequest, digestResponse, digestSource, digestTimeRange, effectiveStateBreakdown, entity, entityNode, error, exportRequest, facetEntry, facets, fact, factSearchRequest, getMemoryResponse, getNarrativeResponse, graphRAGQueryRequest, graphRAGQueryResponse, healthCheck, invoice, listInvoicesResponse, listNarrativesResponse, listPaymentMethodsResponse, matchRecommendationsRequest, memory, memoryRelationship, memoryRelationshipsResponse, namedMemoryHistoryResponse, narrativeMemory, narrativeThread, narrativeTimelineResponse, pagination, pattern, paymentMethod, portalSessionResponse, precomputedMemoryFields, recommendation, relatedMemoryResult, searchFailureResponse, searchMeta, searchRequest, searchResponse, searchResult, serviceCheck, subscription, systemAlert, temporalMetadata, topic, updateArtifactRequest, updateFactRequest, updateMemoryRequest, updateNamedMemoryRequest, updateNarrativeRequest, updateSystemAlertRequest, user, userUsage };
|
|
12402
|
+
export { type AddMemoryToNarrativeRequest, AdminAlertsService, AdminPipelineService, AdminService, AlertsService, type ApiKey, ApiKeysService, type AppendNamedMemoryRequest, type Artifact, ArtifactsService, type BatchGetMemoriesMeta, type BatchGetMemoriesRequest, type BatchGetMemoriesResponse, BehaviorService, type BillingOverview, BillingService, type BranchFailure, type BuildContextActiveWork, type BuildContextActivity, type BuildContextFact, type BuildContextGotcha, type BuildContextMeta, type BuildContextPattern, type BuildContextRequest, type BuildContextResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkTagRequest, type BulkTagResponse, type BulkUpdateRequest, type BulkUpdateResponse, type CheckoutSessionResponse, type ClaimGroup, type ClaimGroupClaim, type ClaimGroupSignals, type CodeContext, type Community, type CompileInstructionsRequest, type CompileInstructionsResponse, ContentType, type Conversation, ConversationsService, type CreateArtifactRequest, type CreateCheckoutSessionRequest, type CreateConversationRequest, type CreateFactRequest, type CreateMemoryRelationshipRequest, type CreateMemoryRequest, type CreateMemoryResponse, type CreateMemoryResponseMeta, type CreateNarrativeRequest, type CreatePortalSessionRequest, type CreateRecommendationRequest, type CreateSystemAlertRequest, type DigestEntity, type DigestKeyFact, type DigestMetadata, type DigestRequest, type DigestResponse, type DigestSource, type DigestTimeRange, type EffectiveStateBreakdown, EntitiesService, type Entity, type EntityNode, Environment, type Error$1 as Error, type ErrorDefinition, type ExportRequest, type FacetEntry, type Facets, type Fact, type FactSearchRequest, FactsService, FeedbackService, type GetMemoryResponse, type GetNarrativeResponse, type GraphRAGQueryRequest, type GraphRAGQueryResponse, GraphragService, type HealthCheck, HealthService, type Hook, type HttpError, type HttpMetadata, type HttpMethod, type HttpRequest, type HttpResponse, InvitesService, type Invoice, type ListInvoicesResponse, type ListNarrativesResponse, type ListPaymentMethodsResponse, type MatchRecommendationsRequest, Memnexus, MemoriesService, type Memory, type MemoryRelationship, type MemoryRelationshipsResponse, MonitoringService, type NamedMemoryHistoryResponse, type NarrativeMemory, type NarrativeThread, type NarrativeTimelineResponse, NarrativesService, type Pagination, type Pattern, PatternsService, type PaymentMethod, type PortalSessionResponse, type PrecomputedMemoryFields, type Recommendation, RecommendationsService, type RelatedMemoryResult, type RequestParameter, type ResponseDefinition, type RetryOptions, type SdkConfig, SdkError, type SearchFailureResponse, type SearchMeta, type SearchRequest, type SearchResponse, type SearchResult, SerializationStyle, type ServiceCheck, type Subscription, type SystemAlert, SystemService, type TemporalMetadata, type Topic, TopicsService, type UpdateArtifactRequest, type UpdateFactRequest, type UpdateMemoryRequest, type UpdateNamedMemoryRequest, type UpdateNarrativeRequest, type UpdateSystemAlertRequest, type User, type UserUsage, UsersService, type ValidationOptions, addMemoryToNarrativeRequest, apiKey, appendNamedMemoryRequest, artifact, batchGetMemoriesMeta, batchGetMemoriesRequest, batchGetMemoriesResponse, billingOverview, branchFailure, buildContextActiveWork, buildContextActivity, buildContextFact, buildContextGotcha, buildContextMeta, buildContextPattern, buildContextRequest, buildContextResponse, bulkDeleteRequest, bulkDeleteResponse, bulkTagRequest, bulkTagResponse, bulkUpdateRequest, bulkUpdateResponse, checkoutSessionResponse, claimGroup, claimGroupClaim, claimGroupSignals, codeContext, community, compileInstructionsRequest, compileInstructionsResponse, conversation, createArtifactRequest, createCheckoutSessionRequest, createConversationRequest, createFactRequest, createMemoryRelationshipRequest, createMemoryRequest, createMemoryResponse, createMemoryResponseMeta, createNarrativeRequest, createPortalSessionRequest, createRecommendationRequest, createSystemAlertRequest, Memnexus as default, digestEntity, digestKeyFact, digestMetadata, digestRequest, digestResponse, digestSource, digestTimeRange, effectiveStateBreakdown, entity, entityNode, error, exportRequest, facetEntry, facets, fact, factSearchRequest, getMemoryResponse, getNarrativeResponse, graphRAGQueryRequest, graphRAGQueryResponse, healthCheck, invoice, listInvoicesResponse, listNarrativesResponse, listPaymentMethodsResponse, matchRecommendationsRequest, memory, memoryRelationship, memoryRelationshipsResponse, namedMemoryHistoryResponse, narrativeMemory, narrativeThread, narrativeTimelineResponse, pagination, pattern, paymentMethod, portalSessionResponse, precomputedMemoryFields, recommendation, relatedMemoryResult, searchFailureResponse, searchMeta, searchRequest, searchResponse, searchResult, serviceCheck, subscription, systemAlert, temporalMetadata, topic, updateArtifactRequest, updateFactRequest, updateMemoryRequest, updateNamedMemoryRequest, updateNarrativeRequest, updateSystemAlertRequest, user, userUsage };
|
package/dist/index.js
CHANGED
|
@@ -4230,6 +4230,42 @@ var GraphragService = class extends BaseService {
|
|
|
4230
4230
|
}
|
|
4231
4231
|
};
|
|
4232
4232
|
|
|
4233
|
+
// src/services/feedback-service.ts
|
|
4234
|
+
var FeedbackService = class extends BaseService {
|
|
4235
|
+
/**
|
|
4236
|
+
* Submit feedback (bug report, feature request, or question)
|
|
4237
|
+
* Persists user-authored feedback to a dedicated Postgres table and
|
|
4238
|
+
returns once the row is durably written (store-first). The feedback
|
|
4239
|
+
store is isolated from the Neo4j retrieval corpus and never surfaces in
|
|
4240
|
+
search or recall.
|
|
4241
|
+
|
|
4242
|
+
Authentication is the standard trust-gateway set — API key, JWT bearer,
|
|
4243
|
+
or service token — modelled globally under the `ApiKeyAuth` scheme. The
|
|
4244
|
+
operation requires write access (`requireScope("write")`).
|
|
4245
|
+
|
|
4246
|
+
* @param body - Request body
|
|
4247
|
+
*/
|
|
4248
|
+
async submitFeedback(body) {
|
|
4249
|
+
const request = new Request({
|
|
4250
|
+
baseUrl: this.config.baseUrl || "http://localhost:3000",
|
|
4251
|
+
method: "POST",
|
|
4252
|
+
path: "/api/feedback",
|
|
4253
|
+
config: this.config,
|
|
4254
|
+
retry: {
|
|
4255
|
+
attempts: 3,
|
|
4256
|
+
delayMs: 150,
|
|
4257
|
+
maxDelayMs: 5e3,
|
|
4258
|
+
jitterMs: 50,
|
|
4259
|
+
backoffFactor: 2
|
|
4260
|
+
}
|
|
4261
|
+
});
|
|
4262
|
+
if (body !== void 0) {
|
|
4263
|
+
request.addBody(body);
|
|
4264
|
+
}
|
|
4265
|
+
return this.client.call(request);
|
|
4266
|
+
}
|
|
4267
|
+
};
|
|
4268
|
+
|
|
4233
4269
|
// src/services/facts-service.ts
|
|
4234
4270
|
var FactsService = class extends BaseService {
|
|
4235
4271
|
/**
|
|
@@ -7842,6 +7878,8 @@ var Memnexus = class {
|
|
|
7842
7878
|
health;
|
|
7843
7879
|
/** Graph-based retrieval augmented generation endpoints operations */
|
|
7844
7880
|
graphrag;
|
|
7881
|
+
/** User feedback submission (bug reports, feature requests, questions). Stored in a dedicated Postgres table, isolated from the searchable memory corpus. operations */
|
|
7882
|
+
feedback;
|
|
7845
7883
|
/** Fact extraction and management endpoints operations */
|
|
7846
7884
|
facts;
|
|
7847
7885
|
/** Entity extraction and discovery endpoints operations */
|
|
@@ -7883,6 +7921,7 @@ var Memnexus = class {
|
|
|
7883
7921
|
this.invites = new InvitesService(this.config);
|
|
7884
7922
|
this.health = new HealthService(this.config);
|
|
7885
7923
|
this.graphrag = new GraphragService(this.config);
|
|
7924
|
+
this.feedback = new FeedbackService(this.config);
|
|
7886
7925
|
this.facts = new FactsService(this.config);
|
|
7887
7926
|
this.entities = new EntitiesService(this.config);
|
|
7888
7927
|
this.conversations = new ConversationsService(this.config);
|
|
@@ -7912,6 +7951,7 @@ var Memnexus = class {
|
|
|
7912
7951
|
this.invites.token = token;
|
|
7913
7952
|
this.health.token = token;
|
|
7914
7953
|
this.graphrag.token = token;
|
|
7954
|
+
this.feedback.token = token;
|
|
7915
7955
|
this.facts.token = token;
|
|
7916
7956
|
this.entities.token = token;
|
|
7917
7957
|
this.conversations.token = token;
|
|
@@ -7941,6 +7981,7 @@ var Memnexus = class {
|
|
|
7941
7981
|
this.invites.baseUrl = baseUrl;
|
|
7942
7982
|
this.health.baseUrl = baseUrl;
|
|
7943
7983
|
this.graphrag.baseUrl = baseUrl;
|
|
7984
|
+
this.feedback.baseUrl = baseUrl;
|
|
7944
7985
|
this.facts.baseUrl = baseUrl;
|
|
7945
7986
|
this.entities.baseUrl = baseUrl;
|
|
7946
7987
|
this.conversations.baseUrl = baseUrl;
|
|
@@ -7970,6 +8011,7 @@ var Memnexus = class {
|
|
|
7970
8011
|
this.invites.environment = environment;
|
|
7971
8012
|
this.health.environment = environment;
|
|
7972
8013
|
this.graphrag.environment = environment;
|
|
8014
|
+
this.feedback.environment = environment;
|
|
7973
8015
|
this.facts.environment = environment;
|
|
7974
8016
|
this.entities.environment = environment;
|
|
7975
8017
|
this.conversations.environment = environment;
|
|
@@ -7997,6 +8039,7 @@ export {
|
|
|
7997
8039
|
EntitiesService,
|
|
7998
8040
|
Environment,
|
|
7999
8041
|
FactsService,
|
|
8042
|
+
FeedbackService,
|
|
8000
8043
|
GraphragService,
|
|
8001
8044
|
HealthService,
|
|
8002
8045
|
InvitesService,
|