Documentation
¶
Index ¶
- func Bool(b bool) param.Opt[bool]
- func BoolPtr(v bool) *bool
- func DefaultClientOptions() []option.RequestOption
- func File(rdr io.Reader, filename string, contentType string) file
- func Float(f float64) param.Opt[float64]
- func FloatPtr(v float64) *float64
- func Int(i int64) param.Opt[int64]
- func IntPtr(v int64) *int64
- func Opt[T comparable](v T) param.Opt[T]
- func Ptr[T any](v T) *T
- func String(s string) param.Opt[string]
- func StringPtr(v string) *string
- func Time(t time.Time) param.Opt[time.Time]
- func TimePtr(v time.Time) *time.Time
- type Client
- func (r *Client) Delete(ctx context.Context, path string, params any, res any, ...) error
- func (r *Client) Execute(ctx context.Context, method string, path string, params any, res any, ...) error
- func (r *Client) Get(ctx context.Context, path string, params any, res any, ...) error
- func (r *Client) Patch(ctx context.Context, path string, params any, res any, ...) error
- func (r *Client) Post(ctx context.Context, path string, params any, res any, ...) error
- func (r *Client) Put(ctx context.Context, path string, params any, res any, ...) error
- type Error
- type HealthCheckResponse
- type HealthCheckResponseStatus
- type HealthService
- type IdentityEnrichedWebhookEvent
- type IdentityEnrichedWebhookEventData
- type IdentityEnrichedWebhookEventDataAttribution
- type IdentityEnrichedWebhookEventDataEnrichment
- type IdentityEnrichedWebhookEventDataEnrichmentCompany
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers
- type IdentityEnrichedWebhookEventDataEnrichmentCompanySeo
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic
- type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources
- type IdentityEnrichedWebhookEventDataEnrichmentEmailValidation
- type IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError
- type IdentityEnrichedWebhookEventDataEnrichmentPerson
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEducation
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic
- type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources
- type IdentityEnrichedWebhookEventDataEnrichmentPersonExperience
- type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany
- type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress
- type IdentityEnrichedWebhookEventDataEnrichmentPersonLocation
- type IdentityEnrichedWebhookEventDataQuery
- type IdentityEnrichedWebhookEventDataSession
- type IdentityEnrichedWebhookEventDataSessionNetwork
- type IdentityEnrichedWebhookEventDataSessionNetworkAsn
- type IdentityEnrichedWebhookEventDataSessionNetworkBotManagement
- type IdentityEnrichedWebhookEventDataSessionScreen
- type IdentityEnrichedWebhookEventDataSessionUtm
- type IdentityQualifiedWebhookEvent
- type IdentityQualifiedWebhookEventData
- type IdentityQualifiedWebhookEventDataAttribution
- type IdentityQualifiedWebhookEventDataIdentity
- type IdentityQualifiedWebhookEventDataIdentityDemographics
- type IdentityQualifiedWebhookEventDataIdentityEmail
- type IdentityQualifiedWebhookEventDataIdentityLocation
- type IdentityQualifiedWebhookEventDataIdentityProfessional
- type IdentityQualifiedWebhookEventDataSession
- type IdentityQualifiedWebhookEventDataSessionNetwork
- type IdentityQualifiedWebhookEventDataSessionNetworkAsn
- type IdentityQualifiedWebhookEventDataSessionNetworkBotManagement
- type IdentityQualifiedWebhookEventDataSessionScreen
- type IdentityQualifiedWebhookEventDataSessionUtm
- type IdentityResolvedWebhookEvent
- type IdentityResolvedWebhookEventData
- type IdentityResolvedWebhookEventDataAttribution
- type IdentityResolvedWebhookEventDataIdentity
- type IdentityResolvedWebhookEventDataIdentityDemographics
- type IdentityResolvedWebhookEventDataIdentityEmail
- type IdentityResolvedWebhookEventDataIdentityLocation
- type IdentityResolvedWebhookEventDataIdentityProfessional
- type IdentityResolvedWebhookEventDataSession
- type IdentityResolvedWebhookEventDataSessionNetwork
- type IdentityResolvedWebhookEventDataSessionNetworkAsn
- type IdentityResolvedWebhookEventDataSessionNetworkBotManagement
- type IdentityResolvedWebhookEventDataSessionScreen
- type IdentityResolvedWebhookEventDataSessionUtm
- type IdentitySessionFinalizedWebhookEvent
- type IdentitySessionFinalizedWebhookEventData
- type IdentitySessionFinalizedWebhookEventDataEnrichment
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompany
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic
- type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources
- type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation
- type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPerson
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress
- type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation
- type IdentitySessionFinalizedWebhookEventDataSession
- type IdentitySessionFinalizedWebhookEventDataSessionEnrichment
- type IdentitySessionFinalizedWebhookEventDataSessionEvent
- type IdentitySessionFinalizedWebhookEventDataSessionNetwork
- type IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn
- type IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement
- type IdentitySessionFinalizedWebhookEventDataSessionScreen
- type IdentitySessionFinalizedWebhookEventDataSessionUtm
- type IdentityValidatedWebhookEvent
- type IdentityValidatedWebhookEventData
- type IdentityValidatedWebhookEventDataAttribution
- type IdentityValidatedWebhookEventDataSession
- type IdentityValidatedWebhookEventDataSessionNetwork
- type IdentityValidatedWebhookEventDataSessionNetworkAsn
- type IdentityValidatedWebhookEventDataSessionNetworkBotManagement
- type IdentityValidatedWebhookEventDataSessionScreen
- type IdentityValidatedWebhookEventDataSessionUtm
- type IdentityValidatedWebhookEventDataValidation
- type IdentityValidatedWebhookEventDataValidationError
- type UnwrapUnsafeWebhookEventUnion
- func (u UnwrapUnsafeWebhookEventUnion) AsAny() anyUnwrapUnsafeWebhookEvent
- func (u UnwrapUnsafeWebhookEventUnion) AsIdentityEnriched() (v IdentityEnrichedWebhookEvent)
- func (u UnwrapUnsafeWebhookEventUnion) AsIdentityQualified() (v IdentityQualifiedWebhookEvent)
- func (u UnwrapUnsafeWebhookEventUnion) AsIdentityResolved() (v IdentityResolvedWebhookEvent)
- func (u UnwrapUnsafeWebhookEventUnion) AsIdentitySessionFinalized() (v IdentitySessionFinalizedWebhookEvent)
- func (u UnwrapUnsafeWebhookEventUnion) AsIdentityValidated() (v IdentityValidatedWebhookEvent)
- func (u UnwrapUnsafeWebhookEventUnion) RawJSON() string
- func (r *UnwrapUnsafeWebhookEventUnion) UnmarshalJSON(data []byte) error
- type UnwrapUnsafeWebhookEventUnionData
- type UnwrapUnsafeWebhookEventUnionDataAttribution
- type UnwrapUnsafeWebhookEventUnionDataEnrichment
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience
- type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation
- type UnwrapUnsafeWebhookEventUnionDataIdentity
- type UnwrapUnsafeWebhookEventUnionDataIdentityDemographics
- type UnwrapUnsafeWebhookEventUnionDataIdentityEmails
- type UnwrapUnsafeWebhookEventUnionDataIdentityLocation
- type UnwrapUnsafeWebhookEventUnionDataIdentityProfessional
- type UnwrapUnsafeWebhookEventUnionDataSession
- type UnwrapUnsafeWebhookEventUnionDataSessionNetwork
- type UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn
- type UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement
- type UnwrapUnsafeWebhookEventUnionDataSessionScreen
- type UnwrapUnsafeWebhookEventUnionDataSessionUtm
- type UnwrapWebhookEventUnion
- func (u UnwrapWebhookEventUnion) AsAny() anyUnwrapWebhookEvent
- func (u UnwrapWebhookEventUnion) AsIdentityEnriched() (v IdentityEnrichedWebhookEvent)
- func (u UnwrapWebhookEventUnion) AsIdentityQualified() (v IdentityQualifiedWebhookEvent)
- func (u UnwrapWebhookEventUnion) AsIdentityResolved() (v IdentityResolvedWebhookEvent)
- func (u UnwrapWebhookEventUnion) AsIdentitySessionFinalized() (v IdentitySessionFinalizedWebhookEvent)
- func (u UnwrapWebhookEventUnion) AsIdentityValidated() (v IdentityValidatedWebhookEvent)
- func (u UnwrapWebhookEventUnion) RawJSON() string
- func (r *UnwrapWebhookEventUnion) UnmarshalJSON(data []byte) error
- type UnwrapWebhookEventUnionData
- type UnwrapWebhookEventUnionDataAttribution
- type UnwrapWebhookEventUnionDataEnrichment
- type UnwrapWebhookEventUnionDataEnrichmentCompanies
- type UnwrapWebhookEventUnionDataEnrichmentEmailValidations
- type UnwrapWebhookEventUnionDataEnrichmentPerson
- type UnwrapWebhookEventUnionDataEnrichmentPersonEducation
- type UnwrapWebhookEventUnionDataEnrichmentPersonEmployments
- type UnwrapWebhookEventUnionDataEnrichmentPersonExperience
- type UnwrapWebhookEventUnionDataEnrichmentPersonLocation
- type UnwrapWebhookEventUnionDataIdentity
- type UnwrapWebhookEventUnionDataIdentityDemographics
- type UnwrapWebhookEventUnionDataIdentityEmails
- type UnwrapWebhookEventUnionDataIdentityLocation
- type UnwrapWebhookEventUnionDataIdentityProfessional
- type UnwrapWebhookEventUnionDataSession
- type UnwrapWebhookEventUnionDataSessionNetwork
- type UnwrapWebhookEventUnionDataSessionNetworkAsn
- type UnwrapWebhookEventUnionDataSessionNetworkBotManagement
- type UnwrapWebhookEventUnionDataSessionScreen
- type UnwrapWebhookEventUnionDataSessionUtm
- type WebhookService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClientOptions ¶
func DefaultClientOptions() []option.RequestOption
DefaultClientOptions read from the environment (MIDBOUND_CLOUD_API_KEY, MIDBOUND_CLOUD_WEBHOOK_SECRET, MIDBOUND_CLOUD_BASE_URL). This should be used to initialize new clients.
func Opt ¶
func Opt[T comparable](v T) param.Opt[T]
Types ¶
type Client ¶
type Client struct {
Options []option.RequestOption
Health HealthService
Webhooks WebhookService
}
Client creates a struct with services and top level methods that help with interacting with the midbound-cloud API. You should not instantiate this client directly, and instead use the NewClient method instead.
func NewClient ¶
func NewClient(opts ...option.RequestOption) (r Client)
NewClient generates a new client with the default option read from the environment (MIDBOUND_CLOUD_API_KEY, MIDBOUND_CLOUD_WEBHOOK_SECRET, MIDBOUND_CLOUD_BASE_URL). The option passed in as arguments are applied after these default arguments, and all option will be passed down to the services and requests that this client makes.
func (*Client) Delete ¶
func (r *Client) Delete(ctx context.Context, path string, params any, res any, opts ...option.RequestOption) error
Delete makes a DELETE request with the given URL, params, and optionally deserializes to a response. See [Execute] documentation on the params and response.
func (*Client) Execute ¶
func (r *Client) Execute(ctx context.Context, method string, path string, params any, res any, opts ...option.RequestOption) error
Execute makes a request with the given context, method, URL, request params, response, and request options. This is useful for hitting undocumented endpoints while retaining the base URL, auth, retries, and other options from the client.
If a byte slice or an io.Reader is supplied to params, it will be used as-is for the request body.
The params is by default serialized into the body using encoding/json. If your type implements a MarshalJSON function, it will be used instead to serialize the request. If a URLQuery method is implemented, the returned [url.Values] will be used as query strings to the url.
If your params struct uses param.Field, you must provide either [MarshalJSON], [URLQuery], and/or [MarshalForm] functions. It is undefined behavior to use a struct uses param.Field without specifying how it is serialized.
Any "…Params" object defined in this library can be used as the request argument. Note that 'path' arguments will not be forwarded into the url.
The response body will be deserialized into the res variable, depending on its type:
- A pointer to a *http.Response is populated by the raw response.
- A pointer to a byte array will be populated with the contents of the request body.
- A pointer to any other type uses this library's default JSON decoding, which respects UnmarshalJSON if it is defined on the type.
- A nil value will not read the response body.
For even greater flexibility, see option.WithResponseInto and option.WithResponseBodyInto.
func (*Client) Get ¶
func (r *Client) Get(ctx context.Context, path string, params any, res any, opts ...option.RequestOption) error
Get makes a GET request with the given URL, params, and optionally deserializes to a response. See [Execute] documentation on the params and response.
func (*Client) Patch ¶
func (r *Client) Patch(ctx context.Context, path string, params any, res any, opts ...option.RequestOption) error
Patch makes a PATCH request with the given URL, params, and optionally deserializes to a response. See [Execute] documentation on the params and response.
type HealthCheckResponse ¶
type HealthCheckResponse struct {
// Service health status
//
// Any of "ok", "degraded", "unhealthy".
Status HealthCheckResponseStatus `json:"status,required"`
// Current server timestamp (ISO)
Timestamp time.Time `json:"timestamp,required" format:"date-time"`
// API version
Version string `json:"version,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Status respjson.Field
Timestamp respjson.Field
Version respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (HealthCheckResponse) RawJSON ¶
func (r HealthCheckResponse) RawJSON() string
Returns the unmodified JSON received from the API
func (*HealthCheckResponse) UnmarshalJSON ¶
func (r *HealthCheckResponse) UnmarshalJSON(data []byte) error
type HealthCheckResponseStatus ¶
type HealthCheckResponseStatus string
Service health status
const ( HealthCheckResponseStatusOk HealthCheckResponseStatus = "ok" HealthCheckResponseStatusDegraded HealthCheckResponseStatus = "degraded" HealthCheckResponseStatusUnhealthy HealthCheckResponseStatus = "unhealthy" )
type HealthService ¶
type HealthService struct {
Options []option.RequestOption
}
HealthService contains methods and other services that help with interacting with the midbound-cloud API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewHealthService method instead.
func NewHealthService ¶
func NewHealthService(opts ...option.RequestOption) (r HealthService)
NewHealthService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*HealthService) Check ¶
func (r *HealthService) Check(ctx context.Context, opts ...option.RequestOption) (res *HealthCheckResponse, err error)
Returns the current health status of the API
type IdentityEnrichedWebhookEvent ¶
type IdentityEnrichedWebhookEvent struct {
// Unique event identifier
ID string `json:"id,required"`
// Unix timestamp (milliseconds) when the event was created
Created int64 `json:"created,required"`
Data IdentityEnrichedWebhookEventData `json:"data,required"`
// Event type identifier
Type constant.IdentityEnriched `json:"type,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEvent) RawJSON ¶
func (r IdentityEnrichedWebhookEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEvent) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEvent) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventData ¶
type IdentityEnrichedWebhookEventData struct {
Attribution IdentityEnrichedWebhookEventDataAttribution `json:"attribution,required"`
CompaniesEnriched float64 `json:"companiesEnriched,required"`
Enrichment IdentityEnrichedWebhookEventDataEnrichment `json:"enrichment,required"`
Query IdentityEnrichedWebhookEventDataQuery `json:"query,required"`
Session IdentityEnrichedWebhookEventDataSession `json:"session,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Attribution respjson.Field
CompaniesEnriched respjson.Field
Enrichment respjson.Field
Query respjson.Field
Session respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventData) RawJSON ¶
func (r IdentityEnrichedWebhookEventData) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventData) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventData) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataAttribution ¶
type IdentityEnrichedWebhookEventDataAttribution struct {
PixelID string `json:"pixelId,required"`
// Any of "jNNdd", "OMzN4".
Prid string `json:"prid,required"`
SessionID string `json:"sessionId,required"`
// Any of "website".
Type string `json:"type,required"`
Vid string `json:"vid,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataAttribution) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataAttribution) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataAttribution) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataAttribution) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichment ¶
type IdentityEnrichedWebhookEventDataEnrichment struct {
Companies []IdentityEnrichedWebhookEventDataEnrichmentCompany `json:"companies,required"`
Person IdentityEnrichedWebhookEventDataEnrichmentPerson `json:"person,required"`
EmailValidations []IdentityEnrichedWebhookEventDataEnrichmentEmailValidation `json:"emailValidations"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Companies respjson.Field
Person respjson.Field
EmailValidations respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichment) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichment) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichment) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichment) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompany ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompany struct {
// Any of "full".
Type string `json:"_type,required"`
EnrichedAt string `json:"enrichedAt,required"`
Name string `json:"name,required"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Address IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
EstimatedRevenue IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue `json:"estimatedRevenue,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Funding IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding `json:"funding,nullable"`
Headcount IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount `json:"headcount,nullable"`
Industry string `json:"industry,nullable"`
LinkedinFollowers IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers `json:"linkedinFollowers,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Seo IdentityEnrichedWebhookEventDataEnrichmentCompanySeo `json:"seo,nullable"`
Specialties []string `json:"specialties"`
Taxonomy IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy `json:"taxonomy,nullable"`
Website string `json:"website,nullable" format:"uri"`
WebTraffic IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic `json:"webTraffic,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
EnrichedAt respjson.Field
Name respjson.Field
Provider respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
EstimatedRevenue respjson.Field
FoundedYear respjson.Field
Funding respjson.Field
Headcount respjson.Field
Industry respjson.Field
LinkedinFollowers respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Seo respjson.Field
Specialties respjson.Field
Taxonomy respjson.Field
Website respjson.Field
WebTraffic respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompany) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompany) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompany) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue struct {
Currency string `json:"currency"`
Max float64 `json:"max,nullable"`
Min float64 `json:"min,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Currency respjson.Field
Max respjson.Field
Min respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding struct {
DaysSinceLastRound float64 `json:"daysSinceLastRound,nullable"`
Investors []string `json:"investors"`
LastRoundAmountUsd float64 `json:"lastRoundAmountUsd,nullable"`
LastRoundType string `json:"lastRoundType,nullable"`
TotalRaisedUsd float64 `json:"totalRaisedUsd,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DaysSinceLastRound respjson.Field
Investors respjson.Field
LastRoundAmountUsd respjson.Field
LastRoundType respjson.Field
TotalRaisedUsd respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount struct {
Growth IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth `json:"growth,nullable"`
Total float64 `json:"total,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Growth respjson.Field
Total respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth struct {
Mom float64 `json:"mom,nullable"`
Qoq float64 `json:"qoq,nullable"`
Yoy float64 `json:"yoy,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Mom respjson.Field
Qoq respjson.Field
Yoy respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers struct {
Count float64 `json:"count,nullable"`
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
YoyGrowthPercent float64 `json:"yoyGrowthPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Count respjson.Field
MomGrowthPercent respjson.Field
QoqGrowthPercent respjson.Field
YoyGrowthPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanySeo ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanySeo struct {
AverageAdRank float64 `json:"averageAdRank,nullable"`
AverageOrganicRank float64 `json:"averageOrganicRank,nullable"`
MonthlyAdsSpend float64 `json:"monthlyAdsSpend,nullable"`
MonthlyOrganicClicks float64 `json:"monthlyOrganicClicks,nullable"`
MonthlyOrganicValue float64 `json:"monthlyOrganicValue,nullable"`
MonthlyPaidClicks float64 `json:"monthlyPaidClicks,nullable"`
TotalOrganicKeywords float64 `json:"totalOrganicKeywords,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
AverageAdRank respjson.Field
AverageOrganicRank respjson.Field
MonthlyAdsSpend respjson.Field
MonthlyOrganicClicks respjson.Field
MonthlyOrganicValue respjson.Field
MonthlyPaidClicks respjson.Field
TotalOrganicKeywords respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanySeo) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanySeo) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy struct {
LinkedinIndustry string `json:"linkedinIndustry,nullable"`
LinkedinSpecialties []string `json:"linkedinSpecialties"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
LinkedinIndustry respjson.Field
LinkedinSpecialties respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic struct {
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
MonthlyVisitors float64 `json:"monthlyVisitors,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
TrafficSources IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources `json:"trafficSources,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
MomGrowthPercent respjson.Field
MonthlyVisitors respjson.Field
QoqGrowthPercent respjson.Field
TrafficSources respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources ¶
type IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources struct {
DirectPercent float64 `json:"directPercent,nullable"`
PaidReferralPercent float64 `json:"paidReferralPercent,nullable"`
ReferralPercent float64 `json:"referralPercent,nullable"`
SearchPercent float64 `json:"searchPercent,nullable"`
SocialPercent float64 `json:"socialPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DirectPercent respjson.Field
PaidReferralPercent respjson.Field
ReferralPercent respjson.Field
SearchPercent respjson.Field
SocialPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentEmailValidation ¶
type IdentityEnrichedWebhookEventDataEnrichmentEmailValidation struct {
Email string `json:"email,required"`
Error IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError `json:"error,required"`
Provider string `json:"provider,required"`
// Any of "valid", "invalid", "catch_all", "valid_catch_all".
Validity string `json:"validity,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Email respjson.Field
Error respjson.Field
Provider respjson.Field
Validity respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentEmailValidation) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentEmailValidation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError ¶
type IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError struct {
Code string `json:"code,required"`
Message string `json:"message,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Message respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPerson ¶
type IdentityEnrichedWebhookEventDataEnrichmentPerson struct {
EnrichedAt string `json:"enrichedAt,required"`
LinkedinURL string `json:"linkedinUrl,required" format:"uri"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Connections float64 `json:"connections,nullable"`
Education []IdentityEnrichedWebhookEventDataEnrichmentPersonEducation `json:"education"`
Email string `json:"email,nullable" format:"email"`
Employments []IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment `json:"employments"`
Experience []IdentityEnrichedWebhookEventDataEnrichmentPersonExperience `json:"experience"`
FirstName string `json:"firstName,nullable"`
FullName string `json:"fullName,nullable"`
Headline string `json:"headline,nullable"`
Languages []string `json:"languages"`
LastName string `json:"lastName,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
Location IdentityEnrichedWebhookEventDataEnrichmentPersonLocation `json:"location,nullable"`
ProfilePictureURL string `json:"profilePictureUrl,nullable" format:"uri"`
Skills []string `json:"skills"`
Summary string `json:"summary,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
EnrichedAt respjson.Field
LinkedinURL respjson.Field
Provider respjson.Field
Connections respjson.Field
Education respjson.Field
Email respjson.Field
Employments respjson.Field
Experience respjson.Field
FirstName respjson.Field
FullName respjson.Field
Headline respjson.Field
Languages respjson.Field
LastName respjson.Field
LinkedinID respjson.Field
Location respjson.Field
ProfilePictureURL respjson.Field
Skills respjson.Field
Summary respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPerson) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPerson) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPerson) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPerson) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEducation ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEducation struct {
InstituteName string `json:"instituteName,required"`
Degree string `json:"degree,nullable"`
EndDate string `json:"endDate,nullable"`
FieldOfStudy string `json:"fieldOfStudy,nullable"`
InstituteLinkedinID string `json:"instituteLinkedinId,nullable"`
InstituteLogoURL string `json:"instituteLogoUrl,nullable" format:"uri"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
InstituteName respjson.Field
Degree respjson.Field
EndDate respjson.Field
FieldOfStudy respjson.Field
InstituteLinkedinID respjson.Field
InstituteLogoURL respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEducation) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEducation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment struct {
Company IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany `json:"company,required"`
Title string `json:"title,required"`
Description string `json:"description,nullable"`
EndDate string `json:"endDate,nullable"`
Location string `json:"location,nullable"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Company respjson.Field
Title respjson.Field
Description respjson.Field
EndDate respjson.Field
Location respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany struct {
// Any of "full".
Type string `json:"_type,required"`
EnrichedAt string `json:"enrichedAt,required"`
Name string `json:"name,required"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Address IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
EstimatedRevenue IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue `json:"estimatedRevenue,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Funding IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding `json:"funding,nullable"`
Headcount IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount `json:"headcount,nullable"`
Industry string `json:"industry,nullable"`
LinkedinFollowers IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers `json:"linkedinFollowers,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Seo IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo `json:"seo,nullable"`
Specialties []string `json:"specialties"`
Taxonomy IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy `json:"taxonomy,nullable"`
Website string `json:"website,nullable" format:"uri"`
WebTraffic IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic `json:"webTraffic,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
EnrichedAt respjson.Field
Name respjson.Field
Provider respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
EstimatedRevenue respjson.Field
FoundedYear respjson.Field
Funding respjson.Field
Headcount respjson.Field
Industry respjson.Field
LinkedinFollowers respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Seo respjson.Field
Specialties respjson.Field
Taxonomy respjson.Field
Website respjson.Field
WebTraffic respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue struct {
Currency string `json:"currency"`
Max float64 `json:"max,nullable"`
Min float64 `json:"min,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Currency respjson.Field
Max respjson.Field
Min respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding struct {
DaysSinceLastRound float64 `json:"daysSinceLastRound,nullable"`
Investors []string `json:"investors"`
LastRoundAmountUsd float64 `json:"lastRoundAmountUsd,nullable"`
LastRoundType string `json:"lastRoundType,nullable"`
TotalRaisedUsd float64 `json:"totalRaisedUsd,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DaysSinceLastRound respjson.Field
Investors respjson.Field
LastRoundAmountUsd respjson.Field
LastRoundType respjson.Field
TotalRaisedUsd respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount struct {
Growth IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth `json:"growth,nullable"`
Total float64 `json:"total,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Growth respjson.Field
Total respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth struct {
Mom float64 `json:"mom,nullable"`
Qoq float64 `json:"qoq,nullable"`
Yoy float64 `json:"yoy,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Mom respjson.Field
Qoq respjson.Field
Yoy respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers struct {
Count float64 `json:"count,nullable"`
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
YoyGrowthPercent float64 `json:"yoyGrowthPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Count respjson.Field
MomGrowthPercent respjson.Field
QoqGrowthPercent respjson.Field
YoyGrowthPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo struct {
AverageAdRank float64 `json:"averageAdRank,nullable"`
AverageOrganicRank float64 `json:"averageOrganicRank,nullable"`
MonthlyAdsSpend float64 `json:"monthlyAdsSpend,nullable"`
MonthlyOrganicClicks float64 `json:"monthlyOrganicClicks,nullable"`
MonthlyOrganicValue float64 `json:"monthlyOrganicValue,nullable"`
MonthlyPaidClicks float64 `json:"monthlyPaidClicks,nullable"`
TotalOrganicKeywords float64 `json:"totalOrganicKeywords,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
AverageAdRank respjson.Field
AverageOrganicRank respjson.Field
MonthlyAdsSpend respjson.Field
MonthlyOrganicClicks respjson.Field
MonthlyOrganicValue respjson.Field
MonthlyPaidClicks respjson.Field
TotalOrganicKeywords respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy struct {
LinkedinIndustry string `json:"linkedinIndustry,nullable"`
LinkedinSpecialties []string `json:"linkedinSpecialties"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
LinkedinIndustry respjson.Field
LinkedinSpecialties respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic struct {
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
MonthlyVisitors float64 `json:"monthlyVisitors,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
TrafficSources IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources `json:"trafficSources,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
MomGrowthPercent respjson.Field
MonthlyVisitors respjson.Field
QoqGrowthPercent respjson.Field
TrafficSources respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources struct {
DirectPercent float64 `json:"directPercent,nullable"`
PaidReferralPercent float64 `json:"paidReferralPercent,nullable"`
ReferralPercent float64 `json:"referralPercent,nullable"`
SearchPercent float64 `json:"searchPercent,nullable"`
SocialPercent float64 `json:"socialPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DirectPercent respjson.Field
PaidReferralPercent respjson.Field
ReferralPercent respjson.Field
SearchPercent respjson.Field
SocialPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperience ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperience struct {
Company IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany `json:"company,required"`
Title string `json:"title,required"`
Description string `json:"description,nullable"`
EndDate string `json:"endDate,nullable"`
Location string `json:"location,nullable"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Company respjson.Field
Title respjson.Field
Description respjson.Field
EndDate respjson.Field
Location respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonExperience) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonExperience) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany struct {
// Any of "basic".
Type string `json:"_type,required"`
Name string `json:"name,required"`
Address IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Industry string `json:"industry,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Website string `json:"website,nullable" format:"uri"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
Name respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
FoundedYear respjson.Field
Industry respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Website respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataEnrichmentPersonLocation ¶
type IdentityEnrichedWebhookEventDataEnrichmentPersonLocation struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Raw string `json:"raw,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Raw respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataEnrichmentPersonLocation) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataEnrichmentPersonLocation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataQuery ¶
type IdentityEnrichedWebhookEventDataQuery struct {
// Any of "linkedinUrl".
Match string `json:"match,required"`
// Any of "person".
Type string `json:"type,required"`
Value string `json:"value,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Match respjson.Field
Type respjson.Field
Value respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataQuery) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataQuery) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataQuery) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataQuery) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSession ¶
type IdentityEnrichedWebhookEventDataSession struct {
CreatedAt float64 `json:"createdAt,required"`
EndedAt float64 `json:"endedAt,required"`
Fbclid string `json:"fbclid,required"`
Gclid string `json:"gclid,required"`
LandingPage string `json:"landingPage,required"`
LandingTitle string `json:"landingTitle,required"`
Network IdentityEnrichedWebhookEventDataSessionNetwork `json:"network,required"`
Pid string `json:"pid,required"`
Referrer string `json:"referrer,required"`
Screen IdentityEnrichedWebhookEventDataSessionScreen `json:"screen,required"`
Sid string `json:"sid,required"`
Tenant string `json:"tenant,required"`
Timezone string `json:"timezone,required"`
UserAgent string `json:"userAgent,required"`
Utm IdentityEnrichedWebhookEventDataSessionUtm `json:"utm,required"`
Vid string `json:"vid,required"`
Options map[string]any `json:"options"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSession) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSession) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSession) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSession) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSessionNetwork ¶
type IdentityEnrichedWebhookEventDataSessionNetwork struct {
Asn IdentityEnrichedWebhookEventDataSessionNetworkAsn `json:"asn,required"`
BotManagement IdentityEnrichedWebhookEventDataSessionNetworkBotManagement `json:"botManagement,required"`
City string `json:"city,required"`
Colo string `json:"colo,required"`
Continent string `json:"continent,required"`
Country string `json:"country,required"`
IP string `json:"ip,required"`
IsEu bool `json:"isEU,required"`
Latitude string `json:"latitude,required"`
Longitude string `json:"longitude,required"`
MetroCode string `json:"metroCode,required"`
PostalCode string `json:"postalCode,required"`
Region string `json:"region,required"`
RegionCode string `json:"regionCode,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSessionNetwork) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSessionNetwork) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSessionNetwork) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSessionNetwork) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSessionNetworkAsn ¶
type IdentityEnrichedWebhookEventDataSessionNetworkAsn struct {
Code float64 `json:"code,required"`
Name string `json:"name,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Name respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSessionNetworkAsn) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSessionNetworkAsn) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSessionNetworkBotManagement ¶
type IdentityEnrichedWebhookEventDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy,required"`
Score float64 `json:"score,required"`
VerifiedBot bool `json:"verifiedBot,required"`
VerifiedBotCategory string `json:"verifiedBotCategory,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSessionNetworkBotManagement) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSessionNetworkBotManagement) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSessionScreen ¶
type IdentityEnrichedWebhookEventDataSessionScreen struct {
Height float64 `json:"height,required"`
Width float64 `json:"width,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Height respjson.Field
Width respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSessionScreen) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSessionScreen) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSessionScreen) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSessionScreen) UnmarshalJSON(data []byte) error
type IdentityEnrichedWebhookEventDataSessionUtm ¶
type IdentityEnrichedWebhookEventDataSessionUtm struct {
Campaign string `json:"campaign,required"`
Content string `json:"content,required"`
Medium string `json:"medium,required"`
Source string `json:"source,required"`
Term string `json:"term,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityEnrichedWebhookEventDataSessionUtm) RawJSON ¶
func (r IdentityEnrichedWebhookEventDataSessionUtm) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityEnrichedWebhookEventDataSessionUtm) UnmarshalJSON ¶
func (r *IdentityEnrichedWebhookEventDataSessionUtm) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEvent ¶
type IdentityQualifiedWebhookEvent struct {
// Unique event identifier
ID string `json:"id,required"`
// Unix timestamp (milliseconds) when the event was created
Created int64 `json:"created,required"`
Data IdentityQualifiedWebhookEventData `json:"data,required"`
// Event type identifier
Type constant.IdentityQualified `json:"type,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEvent) RawJSON ¶
func (r IdentityQualifiedWebhookEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEvent) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEvent) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventData ¶
type IdentityQualifiedWebhookEventData struct {
Attribution IdentityQualifiedWebhookEventDataAttribution `json:"attribution,required"`
Identity IdentityQualifiedWebhookEventDataIdentity `json:"identity,required"`
Session IdentityQualifiedWebhookEventDataSession `json:"session,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Attribution respjson.Field
Identity respjson.Field
Session respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventData) RawJSON ¶
func (r IdentityQualifiedWebhookEventData) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventData) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventData) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataAttribution ¶
type IdentityQualifiedWebhookEventDataAttribution struct {
PixelID string `json:"pixelId,required"`
// Any of "jNNdd", "OMzN4".
Prid string `json:"prid,required"`
SessionID string `json:"sessionId,required"`
// Any of "website".
Type string `json:"type,required"`
Vid string `json:"vid,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataAttribution) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataAttribution) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataAttribution) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataAttribution) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataIdentity ¶
type IdentityQualifiedWebhookEventDataIdentity struct {
Demographics IdentityQualifiedWebhookEventDataIdentityDemographics `json:"demographics,required"`
Emails []IdentityQualifiedWebhookEventDataIdentityEmail `json:"emails,required"`
LinkedinURL string `json:"linkedinUrl,required"`
Location IdentityQualifiedWebhookEventDataIdentityLocation `json:"location,required"`
Phones []string `json:"phones,required"`
Professional IdentityQualifiedWebhookEventDataIdentityProfessional `json:"professional,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Demographics respjson.Field
Emails respjson.Field
LinkedinURL respjson.Field
Location respjson.Field
Phones respjson.Field
Professional respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataIdentity) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataIdentity) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataIdentity) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataIdentity) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataIdentityDemographics ¶
type IdentityQualifiedWebhookEventDataIdentityDemographics struct {
FirstName string `json:"firstName,required"`
HasChildren bool `json:"hasChildren,required"`
IsHomeowner bool `json:"isHomeowner,required"`
IsMarried bool `json:"isMarried,required"`
LastName string `json:"lastName,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
FirstName respjson.Field
HasChildren respjson.Field
IsHomeowner respjson.Field
IsMarried respjson.Field
LastName respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataIdentityDemographics) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataIdentityDemographics) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataIdentityDemographics) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataIdentityDemographics) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataIdentityEmail ¶
type IdentityQualifiedWebhookEventDataIdentityEmail struct {
// Any of "personal", "professional".
Type string `json:"type,required"`
Value string `json:"value,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
Value respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataIdentityEmail) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataIdentityEmail) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataIdentityEmail) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataIdentityEmail) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataIdentityLocation ¶
type IdentityQualifiedWebhookEventDataIdentityLocation struct {
City string `json:"city,required"`
Country string `json:"country,required"`
State string `json:"state,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
City respjson.Field
Country respjson.Field
State respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataIdentityLocation) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataIdentityLocation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataIdentityLocation) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataIdentityLocation) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataIdentityProfessional ¶
type IdentityQualifiedWebhookEventDataIdentityProfessional struct {
CompanyName string `json:"companyName,required"`
JobTitle string `json:"jobTitle,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CompanyName respjson.Field
JobTitle respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataIdentityProfessional) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataIdentityProfessional) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataIdentityProfessional) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataIdentityProfessional) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSession ¶
type IdentityQualifiedWebhookEventDataSession struct {
CreatedAt float64 `json:"createdAt,required"`
EndedAt float64 `json:"endedAt,required"`
Fbclid string `json:"fbclid,required"`
Gclid string `json:"gclid,required"`
LandingPage string `json:"landingPage,required"`
LandingTitle string `json:"landingTitle,required"`
Network IdentityQualifiedWebhookEventDataSessionNetwork `json:"network,required"`
Pid string `json:"pid,required"`
Referrer string `json:"referrer,required"`
Screen IdentityQualifiedWebhookEventDataSessionScreen `json:"screen,required"`
Sid string `json:"sid,required"`
Tenant string `json:"tenant,required"`
Timezone string `json:"timezone,required"`
UserAgent string `json:"userAgent,required"`
Utm IdentityQualifiedWebhookEventDataSessionUtm `json:"utm,required"`
Vid string `json:"vid,required"`
Options map[string]any `json:"options"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSession) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSession) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSession) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSession) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSessionNetwork ¶
type IdentityQualifiedWebhookEventDataSessionNetwork struct {
Asn IdentityQualifiedWebhookEventDataSessionNetworkAsn `json:"asn,required"`
BotManagement IdentityQualifiedWebhookEventDataSessionNetworkBotManagement `json:"botManagement,required"`
City string `json:"city,required"`
Colo string `json:"colo,required"`
Continent string `json:"continent,required"`
Country string `json:"country,required"`
IP string `json:"ip,required"`
IsEu bool `json:"isEU,required"`
Latitude string `json:"latitude,required"`
Longitude string `json:"longitude,required"`
MetroCode string `json:"metroCode,required"`
PostalCode string `json:"postalCode,required"`
Region string `json:"region,required"`
RegionCode string `json:"regionCode,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSessionNetwork) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSessionNetwork) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSessionNetwork) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSessionNetwork) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSessionNetworkAsn ¶
type IdentityQualifiedWebhookEventDataSessionNetworkAsn struct {
Code float64 `json:"code,required"`
Name string `json:"name,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Name respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSessionNetworkAsn) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSessionNetworkAsn) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSessionNetworkBotManagement ¶
type IdentityQualifiedWebhookEventDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy,required"`
Score float64 `json:"score,required"`
VerifiedBot bool `json:"verifiedBot,required"`
VerifiedBotCategory string `json:"verifiedBotCategory,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSessionNetworkBotManagement) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSessionNetworkBotManagement) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSessionScreen ¶
type IdentityQualifiedWebhookEventDataSessionScreen struct {
Height float64 `json:"height,required"`
Width float64 `json:"width,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Height respjson.Field
Width respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSessionScreen) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSessionScreen) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSessionScreen) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSessionScreen) UnmarshalJSON(data []byte) error
type IdentityQualifiedWebhookEventDataSessionUtm ¶
type IdentityQualifiedWebhookEventDataSessionUtm struct {
Campaign string `json:"campaign,required"`
Content string `json:"content,required"`
Medium string `json:"medium,required"`
Source string `json:"source,required"`
Term string `json:"term,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityQualifiedWebhookEventDataSessionUtm) RawJSON ¶
func (r IdentityQualifiedWebhookEventDataSessionUtm) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityQualifiedWebhookEventDataSessionUtm) UnmarshalJSON ¶
func (r *IdentityQualifiedWebhookEventDataSessionUtm) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEvent ¶
type IdentityResolvedWebhookEvent struct {
// Unique event identifier
ID string `json:"id,required"`
// Unix timestamp (milliseconds) when the event was created
Created int64 `json:"created,required"`
Data IdentityResolvedWebhookEventData `json:"data,required"`
// Event type identifier
Type constant.IdentityResolved `json:"type,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEvent) RawJSON ¶
func (r IdentityResolvedWebhookEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEvent) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEvent) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventData ¶
type IdentityResolvedWebhookEventData struct {
Attribution IdentityResolvedWebhookEventDataAttribution `json:"attribution,required"`
Identity IdentityResolvedWebhookEventDataIdentity `json:"identity,required"`
Session IdentityResolvedWebhookEventDataSession `json:"session,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Attribution respjson.Field
Identity respjson.Field
Session respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventData) RawJSON ¶
func (r IdentityResolvedWebhookEventData) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventData) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventData) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataAttribution ¶
type IdentityResolvedWebhookEventDataAttribution struct {
PixelID string `json:"pixelId,required"`
// Any of "jNNdd", "OMzN4".
Prid string `json:"prid,required"`
SessionID string `json:"sessionId,required"`
// Any of "website".
Type string `json:"type,required"`
Vid string `json:"vid,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataAttribution) RawJSON ¶
func (r IdentityResolvedWebhookEventDataAttribution) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataAttribution) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataAttribution) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataIdentity ¶
type IdentityResolvedWebhookEventDataIdentity struct {
Demographics IdentityResolvedWebhookEventDataIdentityDemographics `json:"demographics,required"`
Emails []IdentityResolvedWebhookEventDataIdentityEmail `json:"emails,required"`
LinkedinURL string `json:"linkedinUrl,required"`
Location IdentityResolvedWebhookEventDataIdentityLocation `json:"location,required"`
Phones []string `json:"phones,required"`
Professional IdentityResolvedWebhookEventDataIdentityProfessional `json:"professional,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Demographics respjson.Field
Emails respjson.Field
LinkedinURL respjson.Field
Location respjson.Field
Phones respjson.Field
Professional respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataIdentity) RawJSON ¶
func (r IdentityResolvedWebhookEventDataIdentity) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataIdentity) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataIdentity) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataIdentityDemographics ¶
type IdentityResolvedWebhookEventDataIdentityDemographics struct {
FirstName string `json:"firstName,required"`
HasChildren bool `json:"hasChildren,required"`
IsHomeowner bool `json:"isHomeowner,required"`
IsMarried bool `json:"isMarried,required"`
LastName string `json:"lastName,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
FirstName respjson.Field
HasChildren respjson.Field
IsHomeowner respjson.Field
IsMarried respjson.Field
LastName respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataIdentityDemographics) RawJSON ¶
func (r IdentityResolvedWebhookEventDataIdentityDemographics) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataIdentityDemographics) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataIdentityDemographics) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataIdentityEmail ¶
type IdentityResolvedWebhookEventDataIdentityEmail struct {
// Any of "personal", "professional".
Type string `json:"type,required"`
Value string `json:"value,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
Value respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataIdentityEmail) RawJSON ¶
func (r IdentityResolvedWebhookEventDataIdentityEmail) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataIdentityEmail) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataIdentityEmail) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataIdentityLocation ¶
type IdentityResolvedWebhookEventDataIdentityLocation struct {
City string `json:"city,required"`
Country string `json:"country,required"`
State string `json:"state,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
City respjson.Field
Country respjson.Field
State respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataIdentityLocation) RawJSON ¶
func (r IdentityResolvedWebhookEventDataIdentityLocation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataIdentityLocation) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataIdentityLocation) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataIdentityProfessional ¶
type IdentityResolvedWebhookEventDataIdentityProfessional struct {
CompanyName string `json:"companyName,required"`
JobTitle string `json:"jobTitle,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CompanyName respjson.Field
JobTitle respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataIdentityProfessional) RawJSON ¶
func (r IdentityResolvedWebhookEventDataIdentityProfessional) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataIdentityProfessional) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataIdentityProfessional) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSession ¶
type IdentityResolvedWebhookEventDataSession struct {
CreatedAt float64 `json:"createdAt,required"`
EndedAt float64 `json:"endedAt,required"`
Fbclid string `json:"fbclid,required"`
Gclid string `json:"gclid,required"`
LandingPage string `json:"landingPage,required"`
LandingTitle string `json:"landingTitle,required"`
Network IdentityResolvedWebhookEventDataSessionNetwork `json:"network,required"`
Pid string `json:"pid,required"`
Referrer string `json:"referrer,required"`
Screen IdentityResolvedWebhookEventDataSessionScreen `json:"screen,required"`
Sid string `json:"sid,required"`
Tenant string `json:"tenant,required"`
Timezone string `json:"timezone,required"`
UserAgent string `json:"userAgent,required"`
Utm IdentityResolvedWebhookEventDataSessionUtm `json:"utm,required"`
Vid string `json:"vid,required"`
Options map[string]any `json:"options"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSession) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSession) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSession) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSession) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSessionNetwork ¶
type IdentityResolvedWebhookEventDataSessionNetwork struct {
Asn IdentityResolvedWebhookEventDataSessionNetworkAsn `json:"asn,required"`
BotManagement IdentityResolvedWebhookEventDataSessionNetworkBotManagement `json:"botManagement,required"`
City string `json:"city,required"`
Colo string `json:"colo,required"`
Continent string `json:"continent,required"`
Country string `json:"country,required"`
IP string `json:"ip,required"`
IsEu bool `json:"isEU,required"`
Latitude string `json:"latitude,required"`
Longitude string `json:"longitude,required"`
MetroCode string `json:"metroCode,required"`
PostalCode string `json:"postalCode,required"`
Region string `json:"region,required"`
RegionCode string `json:"regionCode,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSessionNetwork) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSessionNetwork) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSessionNetwork) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSessionNetwork) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSessionNetworkAsn ¶
type IdentityResolvedWebhookEventDataSessionNetworkAsn struct {
Code float64 `json:"code,required"`
Name string `json:"name,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Name respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSessionNetworkAsn) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSessionNetworkAsn) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSessionNetworkBotManagement ¶
type IdentityResolvedWebhookEventDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy,required"`
Score float64 `json:"score,required"`
VerifiedBot bool `json:"verifiedBot,required"`
VerifiedBotCategory string `json:"verifiedBotCategory,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSessionNetworkBotManagement) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSessionNetworkBotManagement) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSessionScreen ¶
type IdentityResolvedWebhookEventDataSessionScreen struct {
Height float64 `json:"height,required"`
Width float64 `json:"width,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Height respjson.Field
Width respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSessionScreen) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSessionScreen) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSessionScreen) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSessionScreen) UnmarshalJSON(data []byte) error
type IdentityResolvedWebhookEventDataSessionUtm ¶
type IdentityResolvedWebhookEventDataSessionUtm struct {
Campaign string `json:"campaign,required"`
Content string `json:"content,required"`
Medium string `json:"medium,required"`
Source string `json:"source,required"`
Term string `json:"term,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityResolvedWebhookEventDataSessionUtm) RawJSON ¶
func (r IdentityResolvedWebhookEventDataSessionUtm) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityResolvedWebhookEventDataSessionUtm) UnmarshalJSON ¶
func (r *IdentityResolvedWebhookEventDataSessionUtm) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEvent ¶
type IdentitySessionFinalizedWebhookEvent struct {
// Unique event identifier
ID string `json:"id,required"`
// Unix timestamp (milliseconds) when the event was created
Created int64 `json:"created,required"`
Data IdentitySessionFinalizedWebhookEventData `json:"data,required"`
// Event type identifier
Type constant.IdentitySessionFinalized `json:"type,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEvent) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEvent) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEvent) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventData ¶
type IdentitySessionFinalizedWebhookEventData struct {
Enrichment IdentitySessionFinalizedWebhookEventDataEnrichment `json:"enrichment,required"`
EventCount float64 `json:"eventCount,required"`
FinalizedAt float64 `json:"finalizedAt,required"`
Session IdentitySessionFinalizedWebhookEventDataSession `json:"session,required"`
SessionEndedAt float64 `json:"sessionEndedAt,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Enrichment respjson.Field
EventCount respjson.Field
FinalizedAt respjson.Field
Session respjson.Field
SessionEndedAt respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventData) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventData) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventData) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventData) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichment ¶
type IdentitySessionFinalizedWebhookEventDataEnrichment struct {
Companies []IdentitySessionFinalizedWebhookEventDataEnrichmentCompany `json:"companies,required"`
Person IdentitySessionFinalizedWebhookEventDataEnrichmentPerson `json:"person,required"`
EmailValidations []IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation `json:"emailValidations"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Companies respjson.Field
Person respjson.Field
EmailValidations respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichment) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichment) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichment) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichment) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompany ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompany struct {
// Any of "full".
Type string `json:"_type,required"`
EnrichedAt string `json:"enrichedAt,required"`
Name string `json:"name,required"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Address IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
EstimatedRevenue IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue `json:"estimatedRevenue,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Funding IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding `json:"funding,nullable"`
Headcount IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount `json:"headcount,nullable"`
Industry string `json:"industry,nullable"`
LinkedinFollowers IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers `json:"linkedinFollowers,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Seo IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo `json:"seo,nullable"`
Specialties []string `json:"specialties"`
Taxonomy IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy `json:"taxonomy,nullable"`
Website string `json:"website,nullable" format:"uri"`
WebTraffic IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic `json:"webTraffic,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
EnrichedAt respjson.Field
Name respjson.Field
Provider respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
EstimatedRevenue respjson.Field
FoundedYear respjson.Field
Funding respjson.Field
Headcount respjson.Field
Industry respjson.Field
LinkedinFollowers respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Seo respjson.Field
Specialties respjson.Field
Taxonomy respjson.Field
Website respjson.Field
WebTraffic respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompany) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompany) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompany) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue struct {
Currency string `json:"currency"`
Max float64 `json:"max,nullable"`
Min float64 `json:"min,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Currency respjson.Field
Max respjson.Field
Min respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding struct {
DaysSinceLastRound float64 `json:"daysSinceLastRound,nullable"`
Investors []string `json:"investors"`
LastRoundAmountUsd float64 `json:"lastRoundAmountUsd,nullable"`
LastRoundType string `json:"lastRoundType,nullable"`
TotalRaisedUsd float64 `json:"totalRaisedUsd,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DaysSinceLastRound respjson.Field
Investors respjson.Field
LastRoundAmountUsd respjson.Field
LastRoundType respjson.Field
TotalRaisedUsd respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount struct {
Growth IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth `json:"growth,nullable"`
Total float64 `json:"total,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Growth respjson.Field
Total respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth struct {
Mom float64 `json:"mom,nullable"`
Qoq float64 `json:"qoq,nullable"`
Yoy float64 `json:"yoy,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Mom respjson.Field
Qoq respjson.Field
Yoy respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers struct {
Count float64 `json:"count,nullable"`
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
YoyGrowthPercent float64 `json:"yoyGrowthPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Count respjson.Field
MomGrowthPercent respjson.Field
QoqGrowthPercent respjson.Field
YoyGrowthPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo struct {
AverageAdRank float64 `json:"averageAdRank,nullable"`
AverageOrganicRank float64 `json:"averageOrganicRank,nullable"`
MonthlyAdsSpend float64 `json:"monthlyAdsSpend,nullable"`
MonthlyOrganicClicks float64 `json:"monthlyOrganicClicks,nullable"`
MonthlyOrganicValue float64 `json:"monthlyOrganicValue,nullable"`
MonthlyPaidClicks float64 `json:"monthlyPaidClicks,nullable"`
TotalOrganicKeywords float64 `json:"totalOrganicKeywords,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
AverageAdRank respjson.Field
AverageOrganicRank respjson.Field
MonthlyAdsSpend respjson.Field
MonthlyOrganicClicks respjson.Field
MonthlyOrganicValue respjson.Field
MonthlyPaidClicks respjson.Field
TotalOrganicKeywords respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy struct {
LinkedinIndustry string `json:"linkedinIndustry,nullable"`
LinkedinSpecialties []string `json:"linkedinSpecialties"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
LinkedinIndustry respjson.Field
LinkedinSpecialties respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic struct {
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
MonthlyVisitors float64 `json:"monthlyVisitors,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
TrafficSources IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources `json:"trafficSources,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
MomGrowthPercent respjson.Field
MonthlyVisitors respjson.Field
QoqGrowthPercent respjson.Field
TrafficSources respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources struct {
DirectPercent float64 `json:"directPercent,nullable"`
PaidReferralPercent float64 `json:"paidReferralPercent,nullable"`
ReferralPercent float64 `json:"referralPercent,nullable"`
SearchPercent float64 `json:"searchPercent,nullable"`
SocialPercent float64 `json:"socialPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DirectPercent respjson.Field
PaidReferralPercent respjson.Field
ReferralPercent respjson.Field
SearchPercent respjson.Field
SocialPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation struct {
Email string `json:"email,required"`
Error IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError `json:"error,required"`
Provider string `json:"provider,required"`
// Any of "valid", "invalid", "catch_all", "valid_catch_all".
Validity string `json:"validity,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Email respjson.Field
Error respjson.Field
Provider respjson.Field
Validity respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError struct {
Code string `json:"code,required"`
Message string `json:"message,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Message respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPerson ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPerson struct {
EnrichedAt string `json:"enrichedAt,required"`
LinkedinURL string `json:"linkedinUrl,required" format:"uri"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Connections float64 `json:"connections,nullable"`
Education []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation `json:"education"`
Email string `json:"email,nullable" format:"email"`
Employments []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment `json:"employments"`
Experience []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience `json:"experience"`
FirstName string `json:"firstName,nullable"`
FullName string `json:"fullName,nullable"`
Headline string `json:"headline,nullable"`
Languages []string `json:"languages"`
LastName string `json:"lastName,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
Location IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation `json:"location,nullable"`
ProfilePictureURL string `json:"profilePictureUrl,nullable" format:"uri"`
Skills []string `json:"skills"`
Summary string `json:"summary,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
EnrichedAt respjson.Field
LinkedinURL respjson.Field
Provider respjson.Field
Connections respjson.Field
Education respjson.Field
Email respjson.Field
Employments respjson.Field
Experience respjson.Field
FirstName respjson.Field
FullName respjson.Field
Headline respjson.Field
Languages respjson.Field
LastName respjson.Field
LinkedinID respjson.Field
Location respjson.Field
ProfilePictureURL respjson.Field
Skills respjson.Field
Summary respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPerson) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPerson) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPerson) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPerson) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation struct {
InstituteName string `json:"instituteName,required"`
Degree string `json:"degree,nullable"`
EndDate string `json:"endDate,nullable"`
FieldOfStudy string `json:"fieldOfStudy,nullable"`
InstituteLinkedinID string `json:"instituteLinkedinId,nullable"`
InstituteLogoURL string `json:"instituteLogoUrl,nullable" format:"uri"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
InstituteName respjson.Field
Degree respjson.Field
EndDate respjson.Field
FieldOfStudy respjson.Field
InstituteLinkedinID respjson.Field
InstituteLogoURL respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment struct {
Company IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany `json:"company,required"`
Title string `json:"title,required"`
Description string `json:"description,nullable"`
EndDate string `json:"endDate,nullable"`
Location string `json:"location,nullable"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Company respjson.Field
Title respjson.Field
Description respjson.Field
EndDate respjson.Field
Location respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany struct {
// Any of "full".
Type string `json:"_type,required"`
EnrichedAt string `json:"enrichedAt,required"`
Name string `json:"name,required"`
// Any of "xK9mP", "qR7nL".
Provider string `json:"provider,required"`
Address IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
EstimatedRevenue IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue `json:"estimatedRevenue,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Funding IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding `json:"funding,nullable"`
Headcount IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount `json:"headcount,nullable"`
Industry string `json:"industry,nullable"`
LinkedinFollowers IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers `json:"linkedinFollowers,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Seo IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo `json:"seo,nullable"`
Specialties []string `json:"specialties"`
Taxonomy IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy `json:"taxonomy,nullable"`
Website string `json:"website,nullable" format:"uri"`
WebTraffic IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic `json:"webTraffic,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
EnrichedAt respjson.Field
Name respjson.Field
Provider respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
EstimatedRevenue respjson.Field
FoundedYear respjson.Field
Funding respjson.Field
Headcount respjson.Field
Industry respjson.Field
LinkedinFollowers respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Seo respjson.Field
Specialties respjson.Field
Taxonomy respjson.Field
Website respjson.Field
WebTraffic respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue struct {
Currency string `json:"currency"`
Max float64 `json:"max,nullable"`
Min float64 `json:"min,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Currency respjson.Field
Max respjson.Field
Min respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding struct {
DaysSinceLastRound float64 `json:"daysSinceLastRound,nullable"`
Investors []string `json:"investors"`
LastRoundAmountUsd float64 `json:"lastRoundAmountUsd,nullable"`
LastRoundType string `json:"lastRoundType,nullable"`
TotalRaisedUsd float64 `json:"totalRaisedUsd,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DaysSinceLastRound respjson.Field
Investors respjson.Field
LastRoundAmountUsd respjson.Field
LastRoundType respjson.Field
TotalRaisedUsd respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount struct {
Growth IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth `json:"growth,nullable"`
Total float64 `json:"total,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Growth respjson.Field
Total respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth struct {
Mom float64 `json:"mom,nullable"`
Qoq float64 `json:"qoq,nullable"`
Yoy float64 `json:"yoy,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Mom respjson.Field
Qoq respjson.Field
Yoy respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers struct {
Count float64 `json:"count,nullable"`
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
YoyGrowthPercent float64 `json:"yoyGrowthPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Count respjson.Field
MomGrowthPercent respjson.Field
QoqGrowthPercent respjson.Field
YoyGrowthPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo struct {
AverageAdRank float64 `json:"averageAdRank,nullable"`
AverageOrganicRank float64 `json:"averageOrganicRank,nullable"`
MonthlyAdsSpend float64 `json:"monthlyAdsSpend,nullable"`
MonthlyOrganicClicks float64 `json:"monthlyOrganicClicks,nullable"`
MonthlyOrganicValue float64 `json:"monthlyOrganicValue,nullable"`
MonthlyPaidClicks float64 `json:"monthlyPaidClicks,nullable"`
TotalOrganicKeywords float64 `json:"totalOrganicKeywords,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
AverageAdRank respjson.Field
AverageOrganicRank respjson.Field
MonthlyAdsSpend respjson.Field
MonthlyOrganicClicks respjson.Field
MonthlyOrganicValue respjson.Field
MonthlyPaidClicks respjson.Field
TotalOrganicKeywords respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy struct {
LinkedinIndustry string `json:"linkedinIndustry,nullable"`
LinkedinSpecialties []string `json:"linkedinSpecialties"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
LinkedinIndustry respjson.Field
LinkedinSpecialties respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic struct {
MomGrowthPercent float64 `json:"momGrowthPercent,nullable"`
MonthlyVisitors float64 `json:"monthlyVisitors,nullable"`
QoqGrowthPercent float64 `json:"qoqGrowthPercent,nullable"`
TrafficSources IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources `json:"trafficSources,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
MomGrowthPercent respjson.Field
MonthlyVisitors respjson.Field
QoqGrowthPercent respjson.Field
TrafficSources respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources struct {
DirectPercent float64 `json:"directPercent,nullable"`
PaidReferralPercent float64 `json:"paidReferralPercent,nullable"`
ReferralPercent float64 `json:"referralPercent,nullable"`
SearchPercent float64 `json:"searchPercent,nullable"`
SocialPercent float64 `json:"socialPercent,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
DirectPercent respjson.Field
PaidReferralPercent respjson.Field
ReferralPercent respjson.Field
SearchPercent respjson.Field
SocialPercent respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience struct {
Company IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany `json:"company,required"`
Title string `json:"title,required"`
Description string `json:"description,nullable"`
EndDate string `json:"endDate,nullable"`
Location string `json:"location,nullable"`
StartDate string `json:"startDate,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Company respjson.Field
Title respjson.Field
Description respjson.Field
EndDate respjson.Field
Location respjson.Field
StartDate respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany struct {
// Any of "basic".
Type string `json:"_type,required"`
Name string `json:"name,required"`
Address IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress `json:"address,nullable"`
Description string `json:"description,nullable"`
Domain string `json:"domain,nullable"`
EmployeeCount float64 `json:"employeeCount,nullable"`
FoundedYear float64 `json:"foundedYear,nullable"`
Industry string `json:"industry,nullable"`
LinkedinID string `json:"linkedinId,nullable"`
LinkedinURL string `json:"linkedinUrl,nullable" format:"uri"`
LogoURL string `json:"logoUrl,nullable" format:"uri"`
Website string `json:"website,nullable" format:"uri"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Type respjson.Field
Name respjson.Field
Address respjson.Field
Description respjson.Field
Domain respjson.Field
EmployeeCount respjson.Field
FoundedYear respjson.Field
Industry respjson.Field
LinkedinID respjson.Field
LinkedinURL respjson.Field
LogoURL respjson.Field
Website respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation ¶
type IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation struct {
Country string `json:"country,nullable"`
CountryCode string `json:"countryCode,nullable"`
Locality string `json:"locality,nullable"`
PostalCode string `json:"postalCode,nullable"`
Raw string `json:"raw,nullable"`
Region string `json:"region,nullable"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Raw respjson.Field
Region respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSession ¶
type IdentitySessionFinalizedWebhookEventDataSession struct {
CreatedAt float64 `json:"createdAt,required"`
EndedAt float64 `json:"endedAt,required"`
Events []IdentitySessionFinalizedWebhookEventDataSessionEvent `json:"events,required"`
Fbclid string `json:"fbclid,required"`
Gclid string `json:"gclid,required"`
LandingPage string `json:"landingPage,required"`
LandingTitle string `json:"landingTitle,required"`
LastActivity float64 `json:"lastActivity,required"`
Network IdentitySessionFinalizedWebhookEventDataSessionNetwork `json:"network,required"`
Pid string `json:"pid,required"`
Referrer string `json:"referrer,required"`
Screen IdentitySessionFinalizedWebhookEventDataSessionScreen `json:"screen,required"`
Sid string `json:"sid,required"`
Tenant string `json:"tenant,required"`
Timezone string `json:"timezone,required"`
UserAgent string `json:"userAgent,required"`
Utm IdentitySessionFinalizedWebhookEventDataSessionUtm `json:"utm,required"`
Vid string `json:"vid,required"`
Enrichments []IdentitySessionFinalizedWebhookEventDataSessionEnrichment `json:"enrichments"`
Options map[string]any `json:"options"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Events respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
LastActivity respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Enrichments respjson.Field
Options respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSession) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSession) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSession) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSession) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionEnrichment ¶
type IdentitySessionFinalizedWebhookEventDataSessionEnrichment struct {
EnrichedAt float64 `json:"enrichedAt,required"`
EnrichmentData string `json:"enrichmentData,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
EnrichedAt respjson.Field
EnrichmentData respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionEnrichment) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionEnrichment) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionEnrichment) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionEnrichment) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionEvent ¶
type IdentitySessionFinalizedWebhookEventDataSessionEvent struct {
Outlink string `json:"outlink,required"`
Props map[string]any `json:"props,required"`
Ref string `json:"ref,required"`
Signal string `json:"signal,required"`
Title string `json:"title,required"`
Ts float64 `json:"ts,required"`
URL string `json:"url,required"`
V string `json:"v,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Outlink respjson.Field
Props respjson.Field
Ref respjson.Field
Signal respjson.Field
Title respjson.Field
Ts respjson.Field
URL respjson.Field
V respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionEvent) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionEvent) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionEvent) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionNetwork ¶
type IdentitySessionFinalizedWebhookEventDataSessionNetwork struct {
Asn IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn `json:"asn,required"`
BotManagement IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement `json:"botManagement,required"`
City string `json:"city,required"`
Colo string `json:"colo,required"`
Continent string `json:"continent,required"`
Country string `json:"country,required"`
IP string `json:"ip,required"`
IsEu bool `json:"isEU,required"`
Latitude string `json:"latitude,required"`
Longitude string `json:"longitude,required"`
MetroCode string `json:"metroCode,required"`
PostalCode string `json:"postalCode,required"`
Region string `json:"region,required"`
RegionCode string `json:"regionCode,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionNetwork) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionNetwork) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionNetwork) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionNetwork) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn ¶
type IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn struct {
Code float64 `json:"code,required"`
Name string `json:"name,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Name respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement ¶
type IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy,required"`
Score float64 `json:"score,required"`
VerifiedBot bool `json:"verifiedBot,required"`
VerifiedBotCategory string `json:"verifiedBotCategory,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionScreen ¶
type IdentitySessionFinalizedWebhookEventDataSessionScreen struct {
Height float64 `json:"height,required"`
Width float64 `json:"width,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Height respjson.Field
Width respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionScreen) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionScreen) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionScreen) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionScreen) UnmarshalJSON(data []byte) error
type IdentitySessionFinalizedWebhookEventDataSessionUtm ¶
type IdentitySessionFinalizedWebhookEventDataSessionUtm struct {
Campaign string `json:"campaign,required"`
Content string `json:"content,required"`
Medium string `json:"medium,required"`
Source string `json:"source,required"`
Term string `json:"term,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentitySessionFinalizedWebhookEventDataSessionUtm) RawJSON ¶
func (r IdentitySessionFinalizedWebhookEventDataSessionUtm) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentitySessionFinalizedWebhookEventDataSessionUtm) UnmarshalJSON ¶
func (r *IdentitySessionFinalizedWebhookEventDataSessionUtm) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEvent ¶
type IdentityValidatedWebhookEvent struct {
// Unique event identifier
ID string `json:"id,required"`
// Unix timestamp (milliseconds) when the event was created
Created int64 `json:"created,required"`
Data IdentityValidatedWebhookEventData `json:"data,required"`
// Event type identifier
Type constant.IdentityValidated `json:"type,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEvent) RawJSON ¶
func (r IdentityValidatedWebhookEvent) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEvent) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEvent) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventData ¶
type IdentityValidatedWebhookEventData struct {
Attribution IdentityValidatedWebhookEventDataAttribution `json:"attribution,required"`
Session IdentityValidatedWebhookEventDataSession `json:"session,required"`
Validations []IdentityValidatedWebhookEventDataValidation `json:"validations,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Attribution respjson.Field
Session respjson.Field
Validations respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventData) RawJSON ¶
func (r IdentityValidatedWebhookEventData) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventData) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventData) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataAttribution ¶
type IdentityValidatedWebhookEventDataAttribution struct {
PixelID string `json:"pixelId,required"`
// Any of "jNNdd", "OMzN4".
Prid string `json:"prid,required"`
SessionID string `json:"sessionId,required"`
// Any of "website".
Type string `json:"type,required"`
Vid string `json:"vid,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataAttribution) RawJSON ¶
func (r IdentityValidatedWebhookEventDataAttribution) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataAttribution) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataAttribution) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSession ¶
type IdentityValidatedWebhookEventDataSession struct {
CreatedAt float64 `json:"createdAt,required"`
EndedAt float64 `json:"endedAt,required"`
Fbclid string `json:"fbclid,required"`
Gclid string `json:"gclid,required"`
LandingPage string `json:"landingPage,required"`
LandingTitle string `json:"landingTitle,required"`
Network IdentityValidatedWebhookEventDataSessionNetwork `json:"network,required"`
Pid string `json:"pid,required"`
Referrer string `json:"referrer,required"`
Screen IdentityValidatedWebhookEventDataSessionScreen `json:"screen,required"`
Sid string `json:"sid,required"`
Tenant string `json:"tenant,required"`
Timezone string `json:"timezone,required"`
UserAgent string `json:"userAgent,required"`
Utm IdentityValidatedWebhookEventDataSessionUtm `json:"utm,required"`
Vid string `json:"vid,required"`
Options map[string]any `json:"options"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSession) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSession) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSession) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSession) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSessionNetwork ¶
type IdentityValidatedWebhookEventDataSessionNetwork struct {
Asn IdentityValidatedWebhookEventDataSessionNetworkAsn `json:"asn,required"`
BotManagement IdentityValidatedWebhookEventDataSessionNetworkBotManagement `json:"botManagement,required"`
City string `json:"city,required"`
Colo string `json:"colo,required"`
Continent string `json:"continent,required"`
Country string `json:"country,required"`
IP string `json:"ip,required"`
IsEu bool `json:"isEU,required"`
Latitude string `json:"latitude,required"`
Longitude string `json:"longitude,required"`
MetroCode string `json:"metroCode,required"`
PostalCode string `json:"postalCode,required"`
Region string `json:"region,required"`
RegionCode string `json:"regionCode,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSessionNetwork) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSessionNetwork) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSessionNetwork) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSessionNetwork) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSessionNetworkAsn ¶
type IdentityValidatedWebhookEventDataSessionNetworkAsn struct {
Code float64 `json:"code,required"`
Name string `json:"name,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Name respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSessionNetworkAsn) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSessionNetworkAsn) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSessionNetworkBotManagement ¶
type IdentityValidatedWebhookEventDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy,required"`
Score float64 `json:"score,required"`
VerifiedBot bool `json:"verifiedBot,required"`
VerifiedBotCategory string `json:"verifiedBotCategory,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSessionNetworkBotManagement) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSessionNetworkBotManagement) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSessionScreen ¶
type IdentityValidatedWebhookEventDataSessionScreen struct {
Height float64 `json:"height,required"`
Width float64 `json:"width,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Height respjson.Field
Width respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSessionScreen) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSessionScreen) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSessionScreen) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSessionScreen) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataSessionUtm ¶
type IdentityValidatedWebhookEventDataSessionUtm struct {
Campaign string `json:"campaign,required"`
Content string `json:"content,required"`
Medium string `json:"medium,required"`
Source string `json:"source,required"`
Term string `json:"term,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataSessionUtm) RawJSON ¶
func (r IdentityValidatedWebhookEventDataSessionUtm) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataSessionUtm) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataSessionUtm) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataValidation ¶
type IdentityValidatedWebhookEventDataValidation struct {
Email string `json:"email,required"`
Error IdentityValidatedWebhookEventDataValidationError `json:"error,required"`
Provider string `json:"provider,required"`
// Any of "valid", "invalid", "catch_all", "valid_catch_all".
Validity string `json:"validity,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Email respjson.Field
Error respjson.Field
Provider respjson.Field
Validity respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataValidation) RawJSON ¶
func (r IdentityValidatedWebhookEventDataValidation) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataValidation) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataValidation) UnmarshalJSON(data []byte) error
type IdentityValidatedWebhookEventDataValidationError ¶
type IdentityValidatedWebhookEventDataValidationError struct {
Code string `json:"code,required"`
Message string `json:"message,required"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
JSON struct {
Code respjson.Field
Message respjson.Field
ExtraFields map[string]respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
func (IdentityValidatedWebhookEventDataValidationError) RawJSON ¶
func (r IdentityValidatedWebhookEventDataValidationError) RawJSON() string
Returns the unmodified JSON received from the API
func (*IdentityValidatedWebhookEventDataValidationError) UnmarshalJSON ¶
func (r *IdentityValidatedWebhookEventDataValidationError) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnion ¶
type UnwrapUnsafeWebhookEventUnion struct {
ID string `json:"id"`
Created int64 `json:"created"`
// This field is a union of [IdentityResolvedWebhookEventData],
// [IdentityQualifiedWebhookEventData], [IdentityEnrichedWebhookEventData],
// [IdentityValidatedWebhookEventData], [IdentitySessionFinalizedWebhookEventData]
Data UnwrapUnsafeWebhookEventUnionData `json:"data"`
// Any of "identity.resolved", "identity.qualified", "identity.enriched",
// "identity.validated", "identity.session.finalized".
Type string `json:"type"`
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnion contains all possible properties and values from IdentityResolvedWebhookEvent, IdentityQualifiedWebhookEvent, IdentityEnrichedWebhookEvent, IdentityValidatedWebhookEvent, IdentitySessionFinalizedWebhookEvent.
Use the UnwrapUnsafeWebhookEventUnion.AsAny method to switch on the variant.
Use the methods beginning with 'As' to cast the union to one of its variants.
func (UnwrapUnsafeWebhookEventUnion) AsAny ¶
func (u UnwrapUnsafeWebhookEventUnion) AsAny() anyUnwrapUnsafeWebhookEvent
Use the following switch statement to find the correct variant
switch variant := UnwrapUnsafeWebhookEventUnion.AsAny().(type) {
case midboundcloud.IdentityResolvedWebhookEvent:
case midboundcloud.IdentityQualifiedWebhookEvent:
case midboundcloud.IdentityEnrichedWebhookEvent:
case midboundcloud.IdentityValidatedWebhookEvent:
case midboundcloud.IdentitySessionFinalizedWebhookEvent:
default:
fmt.Errorf("no variant present")
}
func (UnwrapUnsafeWebhookEventUnion) AsIdentityEnriched ¶
func (u UnwrapUnsafeWebhookEventUnion) AsIdentityEnriched() (v IdentityEnrichedWebhookEvent)
func (UnwrapUnsafeWebhookEventUnion) AsIdentityQualified ¶
func (u UnwrapUnsafeWebhookEventUnion) AsIdentityQualified() (v IdentityQualifiedWebhookEvent)
func (UnwrapUnsafeWebhookEventUnion) AsIdentityResolved ¶
func (u UnwrapUnsafeWebhookEventUnion) AsIdentityResolved() (v IdentityResolvedWebhookEvent)
func (UnwrapUnsafeWebhookEventUnion) AsIdentitySessionFinalized ¶
func (u UnwrapUnsafeWebhookEventUnion) AsIdentitySessionFinalized() (v IdentitySessionFinalizedWebhookEvent)
func (UnwrapUnsafeWebhookEventUnion) AsIdentityValidated ¶
func (u UnwrapUnsafeWebhookEventUnion) AsIdentityValidated() (v IdentityValidatedWebhookEvent)
func (UnwrapUnsafeWebhookEventUnion) RawJSON ¶
func (u UnwrapUnsafeWebhookEventUnion) RawJSON() string
Returns the unmodified JSON received from the API
func (*UnwrapUnsafeWebhookEventUnion) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnion) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionData ¶
type UnwrapUnsafeWebhookEventUnionData struct {
// This field is a union of [IdentityResolvedWebhookEventDataAttribution],
// [IdentityQualifiedWebhookEventDataAttribution],
// [IdentityEnrichedWebhookEventDataAttribution],
// [IdentityValidatedWebhookEventDataAttribution]
Attribution UnwrapUnsafeWebhookEventUnionDataAttribution `json:"attribution"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentity],
// [IdentityQualifiedWebhookEventDataIdentity]
Identity UnwrapUnsafeWebhookEventUnionDataIdentity `json:"identity"`
// This field is a union of [IdentityResolvedWebhookEventDataSession],
// [IdentityQualifiedWebhookEventDataSession],
// [IdentityEnrichedWebhookEventDataSession],
// [IdentityValidatedWebhookEventDataSession],
// [IdentitySessionFinalizedWebhookEventDataSession]
Session UnwrapUnsafeWebhookEventUnionDataSession `json:"session"`
// This field is from variant [IdentityEnrichedWebhookEventData].
CompaniesEnriched float64 `json:"companiesEnriched"`
// This field is a union of [IdentityEnrichedWebhookEventDataEnrichment],
// [IdentitySessionFinalizedWebhookEventDataEnrichment]
Enrichment UnwrapUnsafeWebhookEventUnionDataEnrichment `json:"enrichment"`
// This field is from variant [IdentityEnrichedWebhookEventData].
Query IdentityEnrichedWebhookEventDataQuery `json:"query"`
// This field is from variant [IdentityValidatedWebhookEventData].
Validations []IdentityValidatedWebhookEventDataValidation `json:"validations"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
EventCount float64 `json:"eventCount"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
FinalizedAt float64 `json:"finalizedAt"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
SessionEndedAt float64 `json:"sessionEndedAt"`
JSON struct {
Attribution respjson.Field
Identity respjson.Field
Session respjson.Field
CompaniesEnriched respjson.Field
Enrichment respjson.Field
Query respjson.Field
Validations respjson.Field
EventCount respjson.Field
FinalizedAt respjson.Field
SessionEndedAt respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionData is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionData provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionData) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionData) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataAttribution ¶
type UnwrapUnsafeWebhookEventUnionDataAttribution struct {
PixelID string `json:"pixelId"`
Prid string `json:"prid"`
SessionID string `json:"sessionId"`
Type string `json:"type"`
Vid string `json:"vid"`
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataAttribution is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataAttribution provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataAttribution) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataAttribution) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichment ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichment struct {
// This field is a union of [[]IdentityEnrichedWebhookEventDataEnrichmentCompany],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentCompany]
Companies UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies `json:"companies"`
// This field is a union of [IdentityEnrichedWebhookEventDataEnrichmentPerson],
// [IdentitySessionFinalizedWebhookEventDataEnrichmentPerson]
Person UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson `json:"person"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentEmailValidation],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation]
EmailValidations UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations `json:"emailValidations"`
JSON struct {
Companies respjson.Field
Person respjson.Field
EmailValidations respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichment is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichment provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataEnrichment) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichment) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentCompany] instead of an object.
OfIdentityEnrichedWebhookEventDataEnrichmentCompanies []IdentityEnrichedWebhookEventDataEnrichmentCompany `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentCompany] instead of an
// object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies []IdentitySessionFinalizedWebhookEventDataEnrichmentCompany `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentCompanies respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentCompanies OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies]
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentCompanies) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentEmailValidation] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations []IdentityEnrichedWebhookEventDataEnrichmentEmailValidation `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation] instead of
// an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations []IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations]
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentEmailValidations) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson struct {
EnrichedAt string `json:"enrichedAt"`
LinkedinURL string `json:"linkedinUrl"`
Provider string `json:"provider"`
Connections float64 `json:"connections"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEducation],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation]
Education UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation `json:"education"`
Email string `json:"email"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment]
Employments UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments `json:"employments"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonExperience],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience]
Experience UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience `json:"experience"`
FirstName string `json:"firstName"`
FullName string `json:"fullName"`
Headline string `json:"headline"`
Languages []string `json:"languages"`
LastName string `json:"lastName"`
LinkedinID string `json:"linkedinId"`
// This field is a union of
// [IdentityEnrichedWebhookEventDataEnrichmentPersonLocation],
// [IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation]
Location UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation `json:"location"`
ProfilePictureURL string `json:"profilePictureUrl"`
Skills []string `json:"skills"`
Summary string `json:"summary"`
JSON struct {
EnrichedAt respjson.Field
LinkedinURL respjson.Field
Provider respjson.Field
Connections respjson.Field
Education respjson.Field
Email respjson.Field
Employments respjson.Field
Experience respjson.Field
FirstName respjson.Field
FullName respjson.Field
Headline respjson.Field
Languages respjson.Field
LastName respjson.Field
LinkedinID respjson.Field
Location respjson.Field
ProfilePictureURL respjson.Field
Skills respjson.Field
Summary respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentPerson) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEducation] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray []IdentityEnrichedWebhookEventDataEnrichmentPersonEducation `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation] instead of
// an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray]
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEducation) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments []IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment] instead
// of an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments]
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonEmployments) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonExperience] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray []IdentityEnrichedWebhookEventDataEnrichmentPersonExperience `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience] instead
// of an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray]
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonExperience) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation ¶
type UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation struct {
Country string `json:"country"`
CountryCode string `json:"countryCode"`
Locality string `json:"locality"`
PostalCode string `json:"postalCode"`
Raw string `json:"raw"`
Region string `json:"region"`
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Raw respjson.Field
Region respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataEnrichmentPersonLocation) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataIdentity ¶
type UnwrapUnsafeWebhookEventUnionDataIdentity struct {
// This field is a union of [IdentityResolvedWebhookEventDataIdentityDemographics],
// [IdentityQualifiedWebhookEventDataIdentityDemographics]
Demographics UnwrapUnsafeWebhookEventUnionDataIdentityDemographics `json:"demographics"`
// This field is a union of [[]IdentityResolvedWebhookEventDataIdentityEmail],
// [[]IdentityQualifiedWebhookEventDataIdentityEmail]
Emails UnwrapUnsafeWebhookEventUnionDataIdentityEmails `json:"emails"`
LinkedinURL string `json:"linkedinUrl"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentityLocation],
// [IdentityQualifiedWebhookEventDataIdentityLocation]
Location UnwrapUnsafeWebhookEventUnionDataIdentityLocation `json:"location"`
Phones []string `json:"phones"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentityProfessional],
// [IdentityQualifiedWebhookEventDataIdentityProfessional]
Professional UnwrapUnsafeWebhookEventUnionDataIdentityProfessional `json:"professional"`
JSON struct {
Demographics respjson.Field
Emails respjson.Field
LinkedinURL respjson.Field
Location respjson.Field
Phones respjson.Field
Professional respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataIdentity is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataIdentity provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataIdentity) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataIdentity) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataIdentityDemographics ¶
type UnwrapUnsafeWebhookEventUnionDataIdentityDemographics struct {
FirstName string `json:"firstName"`
HasChildren bool `json:"hasChildren"`
IsHomeowner bool `json:"isHomeowner"`
IsMarried bool `json:"isMarried"`
LastName string `json:"lastName"`
JSON struct {
FirstName respjson.Field
HasChildren respjson.Field
IsHomeowner respjson.Field
IsMarried respjson.Field
LastName respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataIdentityDemographics is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataIdentityDemographics provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataIdentityDemographics) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataIdentityDemographics) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataIdentityEmails ¶
type UnwrapUnsafeWebhookEventUnionDataIdentityEmails struct {
// This field will be present if the value is a
// [[]IdentityResolvedWebhookEventDataIdentityEmail] instead of an object.
OfIdentityResolvedWebhookEventDataIdentityEmails []IdentityResolvedWebhookEventDataIdentityEmail `json:",inline"`
// This field will be present if the value is a
// [[]IdentityQualifiedWebhookEventDataIdentityEmail] instead of an object.
OfIdentityQualifiedWebhookEventDataIdentityEmails []IdentityQualifiedWebhookEventDataIdentityEmail `json:",inline"`
JSON struct {
OfIdentityResolvedWebhookEventDataIdentityEmails respjson.Field
OfIdentityQualifiedWebhookEventDataIdentityEmails respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataIdentityEmails is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataIdentityEmails provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityResolvedWebhookEventDataIdentityEmails OfIdentityQualifiedWebhookEventDataIdentityEmails]
func (*UnwrapUnsafeWebhookEventUnionDataIdentityEmails) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataIdentityEmails) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataIdentityLocation ¶
type UnwrapUnsafeWebhookEventUnionDataIdentityLocation struct {
City string `json:"city"`
Country string `json:"country"`
State string `json:"state"`
JSON struct {
City respjson.Field
Country respjson.Field
State respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataIdentityLocation is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataIdentityLocation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataIdentityLocation) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataIdentityLocation) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataIdentityProfessional ¶
type UnwrapUnsafeWebhookEventUnionDataIdentityProfessional struct {
CompanyName string `json:"companyName"`
JobTitle string `json:"jobTitle"`
JSON struct {
CompanyName respjson.Field
JobTitle respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataIdentityProfessional is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataIdentityProfessional provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataIdentityProfessional) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataIdentityProfessional) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSession ¶
type UnwrapUnsafeWebhookEventUnionDataSession struct {
CreatedAt float64 `json:"createdAt"`
EndedAt float64 `json:"endedAt"`
Fbclid string `json:"fbclid"`
Gclid string `json:"gclid"`
LandingPage string `json:"landingPage"`
LandingTitle string `json:"landingTitle"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionNetwork],
// [IdentityQualifiedWebhookEventDataSessionNetwork],
// [IdentityEnrichedWebhookEventDataSessionNetwork],
// [IdentityValidatedWebhookEventDataSessionNetwork],
// [IdentitySessionFinalizedWebhookEventDataSessionNetwork]
Network UnwrapUnsafeWebhookEventUnionDataSessionNetwork `json:"network"`
Pid string `json:"pid"`
Referrer string `json:"referrer"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionScreen],
// [IdentityQualifiedWebhookEventDataSessionScreen],
// [IdentityEnrichedWebhookEventDataSessionScreen],
// [IdentityValidatedWebhookEventDataSessionScreen],
// [IdentitySessionFinalizedWebhookEventDataSessionScreen]
Screen UnwrapUnsafeWebhookEventUnionDataSessionScreen `json:"screen"`
Sid string `json:"sid"`
Tenant string `json:"tenant"`
Timezone string `json:"timezone"`
UserAgent string `json:"userAgent"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionUtm],
// [IdentityQualifiedWebhookEventDataSessionUtm],
// [IdentityEnrichedWebhookEventDataSessionUtm],
// [IdentityValidatedWebhookEventDataSessionUtm],
// [IdentitySessionFinalizedWebhookEventDataSessionUtm]
Utm UnwrapUnsafeWebhookEventUnionDataSessionUtm `json:"utm"`
Vid string `json:"vid"`
Options any `json:"options"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
Events []IdentitySessionFinalizedWebhookEventDataSessionEvent `json:"events"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
LastActivity float64 `json:"lastActivity"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
Enrichments []IdentitySessionFinalizedWebhookEventDataSessionEnrichment `json:"enrichments"`
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
Events respjson.Field
LastActivity respjson.Field
Enrichments respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSession is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSession provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSession) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSession) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSessionNetwork ¶
type UnwrapUnsafeWebhookEventUnionDataSessionNetwork struct {
// This field is a union of [IdentityResolvedWebhookEventDataSessionNetworkAsn],
// [IdentityQualifiedWebhookEventDataSessionNetworkAsn],
// [IdentityEnrichedWebhookEventDataSessionNetworkAsn],
// [IdentityValidatedWebhookEventDataSessionNetworkAsn],
// [IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn]
Asn UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn `json:"asn"`
// This field is a union of
// [IdentityResolvedWebhookEventDataSessionNetworkBotManagement],
// [IdentityQualifiedWebhookEventDataSessionNetworkBotManagement],
// [IdentityEnrichedWebhookEventDataSessionNetworkBotManagement],
// [IdentityValidatedWebhookEventDataSessionNetworkBotManagement],
// [IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement]
BotManagement UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement `json:"botManagement"`
City string `json:"city"`
Colo string `json:"colo"`
Continent string `json:"continent"`
Country string `json:"country"`
IP string `json:"ip"`
IsEu bool `json:"isEU"`
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
MetroCode string `json:"metroCode"`
PostalCode string `json:"postalCode"`
Region string `json:"region"`
RegionCode string `json:"regionCode"`
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSessionNetwork is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSessionNetwork provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSessionNetwork) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSessionNetwork) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn ¶
type UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn struct {
Code float64 `json:"code"`
Name string `json:"name"`
JSON struct {
Code respjson.Field
Name respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement ¶
type UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy"`
Score float64 `json:"score"`
VerifiedBot bool `json:"verifiedBot"`
VerifiedBotCategory string `json:"verifiedBotCategory"`
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSessionScreen ¶
type UnwrapUnsafeWebhookEventUnionDataSessionScreen struct {
Height float64 `json:"height"`
Width float64 `json:"width"`
JSON struct {
Height respjson.Field
Width respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSessionScreen is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSessionScreen provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSessionScreen) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSessionScreen) UnmarshalJSON(data []byte) error
type UnwrapUnsafeWebhookEventUnionDataSessionUtm ¶
type UnwrapUnsafeWebhookEventUnionDataSessionUtm struct {
Campaign string `json:"campaign"`
Content string `json:"content"`
Medium string `json:"medium"`
Source string `json:"source"`
Term string `json:"term"`
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapUnsafeWebhookEventUnionDataSessionUtm is an implicit subunion of UnwrapUnsafeWebhookEventUnion. UnwrapUnsafeWebhookEventUnionDataSessionUtm provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapUnsafeWebhookEventUnion.
func (*UnwrapUnsafeWebhookEventUnionDataSessionUtm) UnmarshalJSON ¶
func (r *UnwrapUnsafeWebhookEventUnionDataSessionUtm) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnion ¶
type UnwrapWebhookEventUnion struct {
ID string `json:"id"`
Created int64 `json:"created"`
// This field is a union of [IdentityResolvedWebhookEventData],
// [IdentityQualifiedWebhookEventData], [IdentityEnrichedWebhookEventData],
// [IdentityValidatedWebhookEventData], [IdentitySessionFinalizedWebhookEventData]
Data UnwrapWebhookEventUnionData `json:"data"`
// Any of "identity.resolved", "identity.qualified", "identity.enriched",
// "identity.validated", "identity.session.finalized".
Type string `json:"type"`
JSON struct {
ID respjson.Field
Created respjson.Field
Data respjson.Field
Type respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnion contains all possible properties and values from IdentityResolvedWebhookEvent, IdentityQualifiedWebhookEvent, IdentityEnrichedWebhookEvent, IdentityValidatedWebhookEvent, IdentitySessionFinalizedWebhookEvent.
Use the UnwrapWebhookEventUnion.AsAny method to switch on the variant.
Use the methods beginning with 'As' to cast the union to one of its variants.
func (UnwrapWebhookEventUnion) AsAny ¶
func (u UnwrapWebhookEventUnion) AsAny() anyUnwrapWebhookEvent
Use the following switch statement to find the correct variant
switch variant := UnwrapWebhookEventUnion.AsAny().(type) {
case midboundcloud.IdentityResolvedWebhookEvent:
case midboundcloud.IdentityQualifiedWebhookEvent:
case midboundcloud.IdentityEnrichedWebhookEvent:
case midboundcloud.IdentityValidatedWebhookEvent:
case midboundcloud.IdentitySessionFinalizedWebhookEvent:
default:
fmt.Errorf("no variant present")
}
func (UnwrapWebhookEventUnion) AsIdentityEnriched ¶
func (u UnwrapWebhookEventUnion) AsIdentityEnriched() (v IdentityEnrichedWebhookEvent)
func (UnwrapWebhookEventUnion) AsIdentityQualified ¶
func (u UnwrapWebhookEventUnion) AsIdentityQualified() (v IdentityQualifiedWebhookEvent)
func (UnwrapWebhookEventUnion) AsIdentityResolved ¶
func (u UnwrapWebhookEventUnion) AsIdentityResolved() (v IdentityResolvedWebhookEvent)
func (UnwrapWebhookEventUnion) AsIdentitySessionFinalized ¶
func (u UnwrapWebhookEventUnion) AsIdentitySessionFinalized() (v IdentitySessionFinalizedWebhookEvent)
func (UnwrapWebhookEventUnion) AsIdentityValidated ¶
func (u UnwrapWebhookEventUnion) AsIdentityValidated() (v IdentityValidatedWebhookEvent)
func (UnwrapWebhookEventUnion) RawJSON ¶
func (u UnwrapWebhookEventUnion) RawJSON() string
Returns the unmodified JSON received from the API
func (*UnwrapWebhookEventUnion) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnion) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionData ¶
type UnwrapWebhookEventUnionData struct {
// This field is a union of [IdentityResolvedWebhookEventDataAttribution],
// [IdentityQualifiedWebhookEventDataAttribution],
// [IdentityEnrichedWebhookEventDataAttribution],
// [IdentityValidatedWebhookEventDataAttribution]
Attribution UnwrapWebhookEventUnionDataAttribution `json:"attribution"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentity],
// [IdentityQualifiedWebhookEventDataIdentity]
Identity UnwrapWebhookEventUnionDataIdentity `json:"identity"`
// This field is a union of [IdentityResolvedWebhookEventDataSession],
// [IdentityQualifiedWebhookEventDataSession],
// [IdentityEnrichedWebhookEventDataSession],
// [IdentityValidatedWebhookEventDataSession],
// [IdentitySessionFinalizedWebhookEventDataSession]
Session UnwrapWebhookEventUnionDataSession `json:"session"`
// This field is from variant [IdentityEnrichedWebhookEventData].
CompaniesEnriched float64 `json:"companiesEnriched"`
// This field is a union of [IdentityEnrichedWebhookEventDataEnrichment],
// [IdentitySessionFinalizedWebhookEventDataEnrichment]
Enrichment UnwrapWebhookEventUnionDataEnrichment `json:"enrichment"`
// This field is from variant [IdentityEnrichedWebhookEventData].
Query IdentityEnrichedWebhookEventDataQuery `json:"query"`
// This field is from variant [IdentityValidatedWebhookEventData].
Validations []IdentityValidatedWebhookEventDataValidation `json:"validations"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
EventCount float64 `json:"eventCount"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
FinalizedAt float64 `json:"finalizedAt"`
// This field is from variant [IdentitySessionFinalizedWebhookEventData].
SessionEndedAt float64 `json:"sessionEndedAt"`
JSON struct {
Attribution respjson.Field
Identity respjson.Field
Session respjson.Field
CompaniesEnriched respjson.Field
Enrichment respjson.Field
Query respjson.Field
Validations respjson.Field
EventCount respjson.Field
FinalizedAt respjson.Field
SessionEndedAt respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionData is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionData provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionData) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionData) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataAttribution ¶
type UnwrapWebhookEventUnionDataAttribution struct {
PixelID string `json:"pixelId"`
Prid string `json:"prid"`
SessionID string `json:"sessionId"`
Type string `json:"type"`
Vid string `json:"vid"`
JSON struct {
PixelID respjson.Field
Prid respjson.Field
SessionID respjson.Field
Type respjson.Field
Vid respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataAttribution is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataAttribution provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataAttribution) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataAttribution) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichment ¶
type UnwrapWebhookEventUnionDataEnrichment struct {
// This field is a union of [[]IdentityEnrichedWebhookEventDataEnrichmentCompany],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentCompany]
Companies UnwrapWebhookEventUnionDataEnrichmentCompanies `json:"companies"`
// This field is a union of [IdentityEnrichedWebhookEventDataEnrichmentPerson],
// [IdentitySessionFinalizedWebhookEventDataEnrichmentPerson]
Person UnwrapWebhookEventUnionDataEnrichmentPerson `json:"person"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentEmailValidation],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation]
EmailValidations UnwrapWebhookEventUnionDataEnrichmentEmailValidations `json:"emailValidations"`
JSON struct {
Companies respjson.Field
Person respjson.Field
EmailValidations respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichment is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichment provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataEnrichment) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichment) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentCompanies ¶
type UnwrapWebhookEventUnionDataEnrichmentCompanies struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentCompany] instead of an object.
OfIdentityEnrichedWebhookEventDataEnrichmentCompanies []IdentityEnrichedWebhookEventDataEnrichmentCompany `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentCompany] instead of an
// object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies []IdentitySessionFinalizedWebhookEventDataEnrichmentCompany `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentCompanies respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentCompanies is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentCompanies provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentCompanies OfIdentitySessionFinalizedWebhookEventDataEnrichmentCompanies]
func (*UnwrapWebhookEventUnionDataEnrichmentCompanies) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentCompanies) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentEmailValidations ¶
type UnwrapWebhookEventUnionDataEnrichmentEmailValidations struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentEmailValidation] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations []IdentityEnrichedWebhookEventDataEnrichmentEmailValidation `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation] instead of
// an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations []IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentEmailValidations is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentEmailValidations provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentEmailValidations OfIdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidations]
func (*UnwrapWebhookEventUnionDataEnrichmentEmailValidations) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentEmailValidations) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentPerson ¶
type UnwrapWebhookEventUnionDataEnrichmentPerson struct {
EnrichedAt string `json:"enrichedAt"`
LinkedinURL string `json:"linkedinUrl"`
Provider string `json:"provider"`
Connections float64 `json:"connections"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEducation],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation]
Education UnwrapWebhookEventUnionDataEnrichmentPersonEducation `json:"education"`
Email string `json:"email"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment]
Employments UnwrapWebhookEventUnionDataEnrichmentPersonEmployments `json:"employments"`
// This field is a union of
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonExperience],
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience]
Experience UnwrapWebhookEventUnionDataEnrichmentPersonExperience `json:"experience"`
FirstName string `json:"firstName"`
FullName string `json:"fullName"`
Headline string `json:"headline"`
Languages []string `json:"languages"`
LastName string `json:"lastName"`
LinkedinID string `json:"linkedinId"`
// This field is a union of
// [IdentityEnrichedWebhookEventDataEnrichmentPersonLocation],
// [IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation]
Location UnwrapWebhookEventUnionDataEnrichmentPersonLocation `json:"location"`
ProfilePictureURL string `json:"profilePictureUrl"`
Skills []string `json:"skills"`
Summary string `json:"summary"`
JSON struct {
EnrichedAt respjson.Field
LinkedinURL respjson.Field
Provider respjson.Field
Connections respjson.Field
Education respjson.Field
Email respjson.Field
Employments respjson.Field
Experience respjson.Field
FirstName respjson.Field
FullName respjson.Field
Headline respjson.Field
Languages respjson.Field
LastName respjson.Field
LinkedinID respjson.Field
Location respjson.Field
ProfilePictureURL respjson.Field
Skills respjson.Field
Summary respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentPerson is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentPerson provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataEnrichmentPerson) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentPerson) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentPersonEducation ¶
type UnwrapWebhookEventUnionDataEnrichmentPersonEducation struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEducation] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray []IdentityEnrichedWebhookEventDataEnrichmentPersonEducation `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation] instead of
// an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentPersonEducation is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentPersonEducation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonEducationArray OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducationArray]
func (*UnwrapWebhookEventUnionDataEnrichmentPersonEducation) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentPersonEducation) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentPersonEmployments ¶
type UnwrapWebhookEventUnionDataEnrichmentPersonEmployments struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments []IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment] instead
// of an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentPersonEmployments is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentPersonEmployments provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonEmployments OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployments]
func (*UnwrapWebhookEventUnionDataEnrichmentPersonEmployments) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentPersonEmployments) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentPersonExperience ¶
type UnwrapWebhookEventUnionDataEnrichmentPersonExperience struct {
// This field will be present if the value is a
// [[]IdentityEnrichedWebhookEventDataEnrichmentPersonExperience] instead of an
// object.
OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray []IdentityEnrichedWebhookEventDataEnrichmentPersonExperience `json:",inline"`
// This field will be present if the value is a
// [[]IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience] instead
// of an object.
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray []IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience `json:",inline"`
JSON struct {
OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray respjson.Field
OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentPersonExperience is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentPersonExperience provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityEnrichedWebhookEventDataEnrichmentPersonExperienceArray OfIdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceArray]
func (*UnwrapWebhookEventUnionDataEnrichmentPersonExperience) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentPersonExperience) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataEnrichmentPersonLocation ¶
type UnwrapWebhookEventUnionDataEnrichmentPersonLocation struct {
Country string `json:"country"`
CountryCode string `json:"countryCode"`
Locality string `json:"locality"`
PostalCode string `json:"postalCode"`
Raw string `json:"raw"`
Region string `json:"region"`
JSON struct {
Country respjson.Field
CountryCode respjson.Field
Locality respjson.Field
PostalCode respjson.Field
Raw respjson.Field
Region respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataEnrichmentPersonLocation is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataEnrichmentPersonLocation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataEnrichmentPersonLocation) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataEnrichmentPersonLocation) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataIdentity ¶
type UnwrapWebhookEventUnionDataIdentity struct {
// This field is a union of [IdentityResolvedWebhookEventDataIdentityDemographics],
// [IdentityQualifiedWebhookEventDataIdentityDemographics]
Demographics UnwrapWebhookEventUnionDataIdentityDemographics `json:"demographics"`
// This field is a union of [[]IdentityResolvedWebhookEventDataIdentityEmail],
// [[]IdentityQualifiedWebhookEventDataIdentityEmail]
Emails UnwrapWebhookEventUnionDataIdentityEmails `json:"emails"`
LinkedinURL string `json:"linkedinUrl"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentityLocation],
// [IdentityQualifiedWebhookEventDataIdentityLocation]
Location UnwrapWebhookEventUnionDataIdentityLocation `json:"location"`
Phones []string `json:"phones"`
// This field is a union of [IdentityResolvedWebhookEventDataIdentityProfessional],
// [IdentityQualifiedWebhookEventDataIdentityProfessional]
Professional UnwrapWebhookEventUnionDataIdentityProfessional `json:"professional"`
JSON struct {
Demographics respjson.Field
Emails respjson.Field
LinkedinURL respjson.Field
Location respjson.Field
Phones respjson.Field
Professional respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataIdentity is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataIdentity provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataIdentity) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataIdentity) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataIdentityDemographics ¶
type UnwrapWebhookEventUnionDataIdentityDemographics struct {
FirstName string `json:"firstName"`
HasChildren bool `json:"hasChildren"`
IsHomeowner bool `json:"isHomeowner"`
IsMarried bool `json:"isMarried"`
LastName string `json:"lastName"`
JSON struct {
FirstName respjson.Field
HasChildren respjson.Field
IsHomeowner respjson.Field
IsMarried respjson.Field
LastName respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataIdentityDemographics is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataIdentityDemographics provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataIdentityDemographics) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataIdentityDemographics) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataIdentityEmails ¶
type UnwrapWebhookEventUnionDataIdentityEmails struct {
// This field will be present if the value is a
// [[]IdentityResolvedWebhookEventDataIdentityEmail] instead of an object.
OfIdentityResolvedWebhookEventDataIdentityEmails []IdentityResolvedWebhookEventDataIdentityEmail `json:",inline"`
// This field will be present if the value is a
// [[]IdentityQualifiedWebhookEventDataIdentityEmail] instead of an object.
OfIdentityQualifiedWebhookEventDataIdentityEmails []IdentityQualifiedWebhookEventDataIdentityEmail `json:",inline"`
JSON struct {
OfIdentityResolvedWebhookEventDataIdentityEmails respjson.Field
OfIdentityQualifiedWebhookEventDataIdentityEmails respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataIdentityEmails is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataIdentityEmails provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
If the underlying value is not a json object, one of the following properties will be valid: OfIdentityResolvedWebhookEventDataIdentityEmails OfIdentityQualifiedWebhookEventDataIdentityEmails]
func (*UnwrapWebhookEventUnionDataIdentityEmails) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataIdentityEmails) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataIdentityLocation ¶
type UnwrapWebhookEventUnionDataIdentityLocation struct {
City string `json:"city"`
Country string `json:"country"`
State string `json:"state"`
JSON struct {
City respjson.Field
Country respjson.Field
State respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataIdentityLocation is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataIdentityLocation provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataIdentityLocation) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataIdentityLocation) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataIdentityProfessional ¶
type UnwrapWebhookEventUnionDataIdentityProfessional struct {
CompanyName string `json:"companyName"`
JobTitle string `json:"jobTitle"`
JSON struct {
CompanyName respjson.Field
JobTitle respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataIdentityProfessional is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataIdentityProfessional provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataIdentityProfessional) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataIdentityProfessional) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSession ¶
type UnwrapWebhookEventUnionDataSession struct {
CreatedAt float64 `json:"createdAt"`
EndedAt float64 `json:"endedAt"`
Fbclid string `json:"fbclid"`
Gclid string `json:"gclid"`
LandingPage string `json:"landingPage"`
LandingTitle string `json:"landingTitle"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionNetwork],
// [IdentityQualifiedWebhookEventDataSessionNetwork],
// [IdentityEnrichedWebhookEventDataSessionNetwork],
// [IdentityValidatedWebhookEventDataSessionNetwork],
// [IdentitySessionFinalizedWebhookEventDataSessionNetwork]
Network UnwrapWebhookEventUnionDataSessionNetwork `json:"network"`
Pid string `json:"pid"`
Referrer string `json:"referrer"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionScreen],
// [IdentityQualifiedWebhookEventDataSessionScreen],
// [IdentityEnrichedWebhookEventDataSessionScreen],
// [IdentityValidatedWebhookEventDataSessionScreen],
// [IdentitySessionFinalizedWebhookEventDataSessionScreen]
Screen UnwrapWebhookEventUnionDataSessionScreen `json:"screen"`
Sid string `json:"sid"`
Tenant string `json:"tenant"`
Timezone string `json:"timezone"`
UserAgent string `json:"userAgent"`
// This field is a union of [IdentityResolvedWebhookEventDataSessionUtm],
// [IdentityQualifiedWebhookEventDataSessionUtm],
// [IdentityEnrichedWebhookEventDataSessionUtm],
// [IdentityValidatedWebhookEventDataSessionUtm],
// [IdentitySessionFinalizedWebhookEventDataSessionUtm]
Utm UnwrapWebhookEventUnionDataSessionUtm `json:"utm"`
Vid string `json:"vid"`
Options any `json:"options"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
Events []IdentitySessionFinalizedWebhookEventDataSessionEvent `json:"events"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
LastActivity float64 `json:"lastActivity"`
// This field is from variant [IdentitySessionFinalizedWebhookEventDataSession].
Enrichments []IdentitySessionFinalizedWebhookEventDataSessionEnrichment `json:"enrichments"`
JSON struct {
CreatedAt respjson.Field
EndedAt respjson.Field
Fbclid respjson.Field
Gclid respjson.Field
LandingPage respjson.Field
LandingTitle respjson.Field
Network respjson.Field
Pid respjson.Field
Referrer respjson.Field
Screen respjson.Field
Sid respjson.Field
Tenant respjson.Field
Timezone respjson.Field
UserAgent respjson.Field
Utm respjson.Field
Vid respjson.Field
Options respjson.Field
Events respjson.Field
LastActivity respjson.Field
Enrichments respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSession is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSession provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSession) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSession) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSessionNetwork ¶
type UnwrapWebhookEventUnionDataSessionNetwork struct {
// This field is a union of [IdentityResolvedWebhookEventDataSessionNetworkAsn],
// [IdentityQualifiedWebhookEventDataSessionNetworkAsn],
// [IdentityEnrichedWebhookEventDataSessionNetworkAsn],
// [IdentityValidatedWebhookEventDataSessionNetworkAsn],
// [IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn]
Asn UnwrapWebhookEventUnionDataSessionNetworkAsn `json:"asn"`
// This field is a union of
// [IdentityResolvedWebhookEventDataSessionNetworkBotManagement],
// [IdentityQualifiedWebhookEventDataSessionNetworkBotManagement],
// [IdentityEnrichedWebhookEventDataSessionNetworkBotManagement],
// [IdentityValidatedWebhookEventDataSessionNetworkBotManagement],
// [IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement]
BotManagement UnwrapWebhookEventUnionDataSessionNetworkBotManagement `json:"botManagement"`
City string `json:"city"`
Colo string `json:"colo"`
Continent string `json:"continent"`
Country string `json:"country"`
IP string `json:"ip"`
IsEu bool `json:"isEU"`
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
MetroCode string `json:"metroCode"`
PostalCode string `json:"postalCode"`
Region string `json:"region"`
RegionCode string `json:"regionCode"`
JSON struct {
Asn respjson.Field
BotManagement respjson.Field
City respjson.Field
Colo respjson.Field
Continent respjson.Field
Country respjson.Field
IP respjson.Field
IsEu respjson.Field
Latitude respjson.Field
Longitude respjson.Field
MetroCode respjson.Field
PostalCode respjson.Field
Region respjson.Field
RegionCode respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSessionNetwork is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSessionNetwork provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSessionNetwork) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSessionNetwork) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSessionNetworkAsn ¶
type UnwrapWebhookEventUnionDataSessionNetworkAsn struct {
Code float64 `json:"code"`
Name string `json:"name"`
JSON struct {
Code respjson.Field
Name respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSessionNetworkAsn is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSessionNetworkAsn provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSessionNetworkAsn) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSessionNetworkAsn) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSessionNetworkBotManagement ¶
type UnwrapWebhookEventUnionDataSessionNetworkBotManagement struct {
CorporateProxy bool `json:"corporateProxy"`
Score float64 `json:"score"`
VerifiedBot bool `json:"verifiedBot"`
VerifiedBotCategory string `json:"verifiedBotCategory"`
JSON struct {
CorporateProxy respjson.Field
Score respjson.Field
VerifiedBot respjson.Field
VerifiedBotCategory respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSessionNetworkBotManagement is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSessionNetworkBotManagement provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSessionNetworkBotManagement) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSessionNetworkBotManagement) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSessionScreen ¶
type UnwrapWebhookEventUnionDataSessionScreen struct {
Height float64 `json:"height"`
Width float64 `json:"width"`
JSON struct {
Height respjson.Field
Width respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSessionScreen is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSessionScreen provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSessionScreen) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSessionScreen) UnmarshalJSON(data []byte) error
type UnwrapWebhookEventUnionDataSessionUtm ¶
type UnwrapWebhookEventUnionDataSessionUtm struct {
Campaign string `json:"campaign"`
Content string `json:"content"`
Medium string `json:"medium"`
Source string `json:"source"`
Term string `json:"term"`
JSON struct {
Campaign respjson.Field
Content respjson.Field
Medium respjson.Field
Source respjson.Field
Term respjson.Field
// contains filtered or unexported fields
} `json:"-"`
}
UnwrapWebhookEventUnionDataSessionUtm is an implicit subunion of UnwrapWebhookEventUnion. UnwrapWebhookEventUnionDataSessionUtm provides convenient access to the sub-properties of the union.
For type safety it is recommended to directly use a variant of the UnwrapWebhookEventUnion.
func (*UnwrapWebhookEventUnionDataSessionUtm) UnmarshalJSON ¶
func (r *UnwrapWebhookEventUnionDataSessionUtm) UnmarshalJSON(data []byte) error
type WebhookService ¶
type WebhookService struct {
Options []option.RequestOption
}
WebhookService contains methods and other services that help with interacting with the midbound-cloud API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewWebhookService method instead.
func NewWebhookService ¶
func NewWebhookService(opts ...option.RequestOption) (r WebhookService)
NewWebhookService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*WebhookService) Unwrap ¶
func (r *WebhookService) Unwrap(payload []byte, headers http.Header, opts ...option.RequestOption) (*UnwrapWebhookEventUnion, error)
func (*WebhookService) UnwrapUnsafe ¶
func (r *WebhookService) UnwrapUnsafe(payload []byte, opts ...option.RequestOption) (*UnwrapUnsafeWebhookEventUnion, error)
Directories
¶
| Path | Synopsis |
|---|---|
|
encoding/json
Package json implements encoding and decoding of JSON as defined in RFC 7159.
|
Package json implements encoding and decoding of JSON as defined in RFC 7159. |
|
encoding/json/shims
This package provides shims over Go 1.2{2,3} APIs which are missing from Go 1.22, and used by the Go 1.24 encoding/json package.
|
This package provides shims over Go 1.2{2,3} APIs which are missing from Go 1.22, and used by the Go 1.24 encoding/json package. |
|
packages
|
|
|
shared
|
|