syncsvc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Status

func Status(ctx context.Context, store *sqlite.Store) (*sqlite.SyncStatusSummary, error)

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
}

type Result

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

func SyncCRMIntegrations

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

func SyncCRMSchema

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

func SyncCalls

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

func SyncSettings

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

func SyncUsers

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

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