crm

package
v0.0.0-...-530963e Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// Basic connector
	*components.Connector

	// Require authenticated client
	common.RequireAuthenticatedClient

	// Supported operations
	components.Deleter
	// contains filtered or unexported fields
}

Adapter handles CRUD operations (at the moment: delete only) against Salesforce's REST API. It abstracts API endpoint construction, versioning, and JSON response processing specific to the Salesforce CRUD feature.

func NewAdapter

func NewAdapter(params *common.ConnectorParams) (*Adapter, error)

NewAdapter creates a new crm Adapter configured to work with Salesforce's APIs.

func (Adapter) BatchWrite

func (a Adapter) BatchWrite(ctx context.Context, params *common.BatchWriteParam) (*common.BatchWriteResult, error)

func (Adapter) Search

func (a Adapter) Search(ctx context.Context, params *common.SearchParams) (*common.SearchResult, error)

func (Adapter) UpsertMetadata

func (a Adapter) UpsertMetadata(
	ctx context.Context, params *common.UpsertMetadataParams,
) (*common.UpsertMetadataResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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