storeiface

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRMIntegrationStore

type CRMIntegrationStore interface {
	SyncRunStore
	CRMIntegrationWriter
}

type CRMIntegrationWriter

type CRMIntegrationWriter interface {
	UpsertCRMIntegration(ctx context.Context, raw json.RawMessage) (*sqlite.CRMIntegrationRecord, error)
}

type CRMSchemaStore

type CRMSchemaStore interface {
	SyncRunStore
	CRMSchemaWriter
}

type CRMSchemaWriter

type CRMSchemaWriter interface {
	UpsertCRMSchema(ctx context.Context, integrationID string, objectType string, raw json.RawMessage) (int64, error)
}

type CallRawReader added in v0.4.0

type CallRawReader interface {
	CallRawJSON(ctx context.Context, callID string) (json.RawMessage, error)
}

type CallSearcher

type CallSearcher interface {
	SearchCallsRaw(ctx context.Context, params sqlite.CallSearchParams) ([]json.RawMessage, error)
}

type CallWriter

type CallWriter interface {
	UpsertCall(ctx context.Context, raw json.RawMessage) (*sqlite.CallRecord, error)
}

type Closer

type Closer interface {
	Close() error
}

type CoreReadStore

type CoreReadStore interface {
	SyncStatusReader
	CallSearcher
	SearchTranscriptSegments(ctx context.Context, query string, limit int) ([]sqlite.TranscriptSearchResult, error)
}

type GongSettingWriter

type GongSettingWriter interface {
	UpsertGongSetting(ctx context.Context, kind string, raw json.RawMessage) (*sqlite.GongSettingRecord, error)
}

type GovernanceIngestCacheCleaner added in v0.4.0

type GovernanceIngestCacheCleaner interface {
	DeleteGovernanceIngestCachedCall(ctx context.Context, callID string) error
}

type GovernanceIngestSkipWriter added in v0.4.0

type GovernanceIngestSkipWriter interface {
	RecordGovernanceIngestSkippedCall(ctx context.Context, params sqlite.GovernanceIngestSkippedCallParams) error
	RecordGovernanceIngestSkippedCallAndDeleteCachedCall(ctx context.Context, params sqlite.GovernanceIngestSkippedCallParams) error
	ClearGovernanceIngestSkippedCall(ctx context.Context, callID string) error
}

type ScorecardActivityStore

type ScorecardActivityStore interface {
	SyncRunStore
	ScorecardActivityWriter
}

type ScorecardActivityWriter

type ScorecardActivityWriter interface {
	UpsertScorecardActivity(ctx context.Context, raw json.RawMessage) (*sqlite.ScorecardActivityRecord, error)
}

type SettingsStore

type SettingsStore interface {
	SyncRunStore
	GongSettingWriter
}

type SyncRunStore

type SyncRunStore interface {
	StartSyncRun(ctx context.Context, params sqlite.StartSyncRunParams) (*sqlite.SyncRun, error)
	FinishSyncRun(ctx context.Context, runID int64, params sqlite.FinishSyncRunParams) error
}

type SyncStatusReader

type SyncStatusReader interface {
	SyncStatusSummary(ctx context.Context) (*sqlite.SyncStatusSummary, error)
}

type TranscriptStore

type TranscriptStore interface {
	SyncRunStore
	TranscriptWriter
	FindCallsMissingTranscripts(ctx context.Context, limit int) ([]sqlite.MissingTranscriptCall, error)
	SearchTranscriptSegments(ctx context.Context, query string, limit int) ([]sqlite.TranscriptSearchResult, error)
	GovernanceIngestSkipWriter
	GovernanceIngestCacheCleaner
	CallRawReader
}

type TranscriptWriter

type TranscriptWriter interface {
	UpsertTranscript(ctx context.Context, raw json.RawMessage) (*sqlite.TranscriptRecord, error)
}

type UserWriter

type UserWriter interface {
	UpsertUser(ctx context.Context, raw json.RawMessage) (*sqlite.UserRecord, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL