Documentation
¶
Index ¶
- type CRMIntegrationStore
- type CRMIntegrationWriter
- type CRMSchemaStore
- type CRMSchemaWriter
- type CallRawReader
- type CallSearcher
- type CallWriter
- type Closer
- type CoreReadStore
- type GongSettingWriter
- type GovernanceIngestCacheCleaner
- type GovernanceIngestSkipWriter
- type ScorecardActivityStore
- type ScorecardActivityWriter
- type SettingsStore
- type SyncRunStore
- type SyncStatusReader
- type SyncStore
- type TranscriptStore
- type TranscriptWriter
- type UserWriter
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 CallRawReader ¶ added in v0.4.0
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 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 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 SyncStatusReader ¶
type SyncStatusReader interface {
SyncStatusSummary(ctx context.Context) (*sqlite.SyncStatusSummary, error)
}
type SyncStore ¶
type SyncStore interface {
SyncRunStore
CallWriter
UserWriter
GovernanceIngestSkipWriter
GovernanceIngestCacheCleaner
}
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)
}
Click to show internal directories.
Click to hide internal directories.