syncsvc

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CRMIntegrationsParams

type CRMIntegrationsParams struct{}

type CRMSchemaParams

type CRMSchemaParams struct {
	IntegrationID string
	ObjectTypes   []string
}

type CallsParams

type CallsParams struct {
	From             string
	To               string
	Cursor           string
	Context          string
	Preset           string
	MaxPages         int
	ExposeParties    bool
	ExposeHighlights bool
	Governance       *governance.Config
}

type Result

type Result struct {
	RunID                    int64
	Scope                    string
	SyncKey                  string
	Cursor                   string
	Pages                    int
	RecordsSeen              int64
	RecordsWritten           int64
	ParticipantCaptureStatus string
	RecordsSkipped           int64
}

func SyncCRMIntegrations

func SyncCRMIntegrations(ctx context.Context, client *gong.Client, store storeiface.CRMIntegrationStore, params CRMIntegrationsParams) (result Result, err error)

func SyncCRMSchema

func SyncCRMSchema(ctx context.Context, client *gong.Client, store storeiface.CRMSchemaStore, params CRMSchemaParams) (result Result, err error)

func SyncCalls

func SyncCalls(ctx context.Context, client *gong.Client, store storeiface.SyncStore, params CallsParams) (result Result, err error)

func SyncScorecardActivity added in v0.3.3

func SyncScorecardActivity(ctx context.Context, client *gong.Client, store storeiface.ScorecardActivityStore, params ScorecardActivityParams) (result Result, err error)

func SyncSettings

func SyncSettings(ctx context.Context, client *gong.Client, store storeiface.SettingsStore, params SettingsParams) (result Result, err error)

func SyncUsers

func SyncUsers(ctx context.Context, client *gong.Client, store storeiface.SyncStore, params UsersParams) (result Result, err error)

type ScorecardActivityParams added in v0.3.3

type ScorecardActivityParams struct {
	CallFrom     string
	CallTo       string
	ReviewFrom   string
	ReviewTo     string
	ReviewMethod string
	Cursor       string
	MaxPages     int
}

type SettingsParams

type SettingsParams struct {
	Kind        string
	WorkspaceID string
}

type UsersParams

type UsersParams struct {
	Cursor   string
	Limit    int
	Preset   string
	MaxPages int
}

Jump to

Keyboard shortcuts

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