salesforce

package
v0.0.0-...-af7f365 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserTableSuffix        = "user"
	AccountTableSuffix     = "account"
	ContactTableSuffix     = "contact"
	LeadTableSuffix        = "lead"
	FeeditemTableSuffix    = "feeditem"
	OpportunityTableSuffix = "opportunity"
	ContentnoteTableSuffix = "contentnote"
)
View Source
const (
	SalesforceOAuthURL   = "https://login.salesforce.com/services/oauth2/token"
	ServicesDataQueryURL = "/services/data/v57.0/query/?q=%s"
)

Variables

This section is empty.

Functions

func MapContact

func MapContact(inputJson string) (string, error)

func MapLogEntry

func MapLogEntry(inputJson string) (string, error)

func MapOrganization

func MapOrganization(inputJson string) (string, error)

func MapUser

func MapUser(inputJson string) (string, error)

func NewSalesforceDataService

func NewSalesforceDataService(airbyteStoreDb *config.RawDataStoreDB, repositories *app_repo.Repositories, tenant string, log logger.Logger) source.SourceDataService

Types

type TokenInfo

type TokenInfo struct {
	Token       *oauth2.Token
	InstanceURL string
}

Define a struct to hold token information

Jump to

Keyboard shortcuts

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