midboundcloud

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

README

Midbound Cloud Go API Library

Go Reference

The Midbound Cloud Go library provides convenient access to the Midbound Cloud REST API from applications written in Go.

It is generated with Stainless.

Installation

import (
	"github.com/Midbound/cloud-sdk-go" // imported as midboundcloud
)

Or to pin the version:

go get -u 'github.com/Midbound/cloud-sdk-go@v0.0.2'

Requirements

This library requires Go 1.22+.

Usage

The full API of this library can be found in api.md.

package main

import (
	"context"
	"fmt"

	"github.com/Midbound/cloud-sdk-go"
	"github.com/Midbound/cloud-sdk-go/option"
)

func main() {
	client := midboundcloud.NewClient(
		option.WithAPIKey("My API Key"),      // defaults to os.LookupEnv("MIDBOUND_CLOUD_API_KEY")
		option.WithEnvironmentEnvironment1(), // defaults to option.WithEnvironmentProduction()
	)
	response, err := client.Health.Check(context.TODO())
	if err != nil {
		panic(err.Error())
	}
	fmt.Printf("%+v\n", response.Status)
}

Request fields

The midboundcloud library uses the omitzero semantics from the Go 1.24+ encoding/json release for request fields.

Required primitive fields (int64, string, etc.) feature the tag `json:"...,required"`. These fields are always serialized, even their zero values.

Optional primitive types are wrapped in a param.Opt[T]. These fields can be set with the provided constructors, midboundcloud.String(string), midboundcloud.Int(int64), etc.

Any param.Opt[T], map, slice, struct or string enum uses the tag `json:"...,omitzero"`. Its zero value is considered omitted.

The param.IsOmitted(any) function can confirm the presence of any omitzero field.

p := midboundcloud.ExampleParams{
	ID:   "id_xxx",                    // required property
	Name: midboundcloud.String("..."), // optional property

	Point: midboundcloud.Point{
		X: 0,                    // required field will serialize as 0
		Y: midboundcloud.Int(1), // optional field will serialize as 1
		// ... omitted non-required fields will not be serialized
	},

	Origin: midboundcloud.Origin{}, // the zero value of [Origin] is considered omitted
}

To send null instead of a param.Opt[T], use param.Null[T](). To send null instead of a struct T, use param.NullStruct[T]().

p.Name = param.Null[string]()       // 'null' instead of string
p.Point = param.NullStruct[Point]() // 'null' instead of struct

param.IsNull(p.Name)  // true
param.IsNull(p.Point) // true

Request structs contain a .SetExtraFields(map[string]any) method which can send non-conforming fields in the request body. Extra fields overwrite any struct fields with a matching key. For security reasons, only use SetExtraFields with trusted data.

To send a custom value instead of a struct, use param.Override[T](value).

// In cases where the API specifies a given type,
// but you want to send something else, use [SetExtraFields]:
p.SetExtraFields(map[string]any{
	"x": 0.01, // send "x" as a float instead of int
})

// Send a number instead of an object
custom := param.Override[midboundcloud.FooParams](12)
Request unions

Unions are represented as a struct with fields prefixed by "Of" for each of its variants, only one field can be non-zero. The non-zero field will be serialized.

Sub-properties of the union can be accessed via methods on the union struct. These methods return a mutable pointer to the underlying data, if present.

// Only one field can be non-zero, use param.IsOmitted() to check if a field is set
type AnimalUnionParam struct {
	OfCat *Cat `json:",omitzero,inline`
	OfDog *Dog `json:",omitzero,inline`
}

animal := AnimalUnionParam{
	OfCat: &Cat{
		Name: "Whiskers",
		Owner: PersonParam{
			Address: AddressParam{Street: "3333 Coyote Hill Rd", Zip: 0},
		},
	},
}

// Mutating a field
if address := animal.GetOwner().GetAddress(); address != nil {
	address.ZipCode = 94304
}
Response objects

All fields in response structs are ordinary value types (not pointers or wrappers). Response structs also include a special JSON field containing metadata about each property.

type Animal struct {
	Name   string `json:"name,nullable"`
	Owners int    `json:"owners"`
	Age    int    `json:"age"`
	JSON   struct {
		Name        respjson.Field
		Owner       respjson.Field
		Age         respjson.Field
		ExtraFields map[string]respjson.Field
	} `json:"-"`
}

To handle optional data, use the .Valid() method on the JSON field. .Valid() returns true if a field is not null, not present, or couldn't be marshaled.

If .Valid() is false, the corresponding field will simply be its zero value.

raw := `{"owners": 1, "name": null}`

var res Animal
json.Unmarshal([]byte(raw), &res)

// Accessing regular fields

res.Owners // 1
res.Name   // ""
res.Age    // 0

// Optional field checks

res.JSON.Owners.Valid() // true
res.JSON.Name.Valid()   // false
res.JSON.Age.Valid()    // false

// Raw JSON values

res.JSON.Owners.Raw()                  // "1"
res.JSON.Name.Raw() == "null"          // true
res.JSON.Name.Raw() == respjson.Null   // true
res.JSON.Age.Raw() == ""               // true
res.JSON.Age.Raw() == respjson.Omitted // true

These .JSON structs also include an ExtraFields map containing any properties in the json response that were not specified in the struct. This can be useful for API features not yet present in the SDK.

body := res.JSON.ExtraFields["my_unexpected_field"].Raw()
Response Unions

In responses, unions are represented by a flattened struct containing all possible fields from each of the object variants. To convert it to a variant use the .AsFooVariant() method or the .AsAny() method if present.

If a response value union contains primitive values, primitive fields will be alongside the properties but prefixed with Of and feature the tag json:"...,inline".

type AnimalUnion struct {
	// From variants [Dog], [Cat]
	Owner Person `json:"owner"`
	// From variant [Dog]
	DogBreed string `json:"dog_breed"`
	// From variant [Cat]
	CatBreed string `json:"cat_breed"`
	// ...

	JSON struct {
		Owner respjson.Field
		// ...
	} `json:"-"`
}

// If animal variant
if animal.Owner.Address.ZipCode == "" {
	panic("missing zip code")
}

// Switch on the variant
switch variant := animal.AsAny().(type) {
case Dog:
case Cat:
default:
	panic("unexpected type")
}
RequestOptions

This library uses the functional options pattern. Functions defined in the option package return a RequestOption, which is a closure that mutates a RequestConfig. These options can be supplied to the client or at individual requests. For example:

client := midboundcloud.NewClient(
	// Adds a header to every request made by the client
	option.WithHeader("X-Some-Header", "custom_header_info"),
)

client.Health.Check(context.TODO(), ...,
	// Override the header
	option.WithHeader("X-Some-Header", "some_other_custom_header_info"),
	// Add an undocumented field to the request body, using sjson syntax
	option.WithJSONSet("some.json.path", map[string]string{"my": "object"}),
)

The request option option.WithDebugLog(nil) may be helpful while debugging.

See the full list of request options.

Pagination

This library provides some conveniences for working with paginated list endpoints.

You can use .ListAutoPaging() methods to iterate through items across all pages:

Or you can use simple .List() methods to fetch a single page and receive a standard response object with additional helper methods like .GetNextPage(), e.g.:

Errors

When the API returns a non-success status code, we return an error with type *midboundcloud.Error. This contains the StatusCode, *http.Request, and *http.Response values of the request, as well as the JSON of the error body (much like other response objects in the SDK).

To handle errors, we recommend that you use the errors.As pattern:

_, err := client.Health.Check(context.TODO())
if err != nil {
	var apierr *midboundcloud.Error
	if errors.As(err, &apierr) {
		println(string(apierr.DumpRequest(true)))  // Prints the serialized HTTP request
		println(string(apierr.DumpResponse(true))) // Prints the serialized HTTP response
	}
	panic(err.Error()) // GET "/health": 400 Bad Request { ... }
}

When other errors occur, they are returned unwrapped; for example, if HTTP transport fails, you might receive *url.Error wrapping *net.OpError.

Timeouts

Requests do not time out by default; use context to configure a timeout for a request lifecycle.

Note that if a request is retried, the context timeout does not start over. To set a per-retry timeout, use option.WithRequestTimeout().

// This sets the timeout for the request, including all the retries.
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
defer cancel()
client.Health.Check(
	ctx,
	// This sets the per-retry timeout
	option.WithRequestTimeout(20*time.Second),
)
File uploads

Request parameters that correspond to file uploads in multipart requests are typed as io.Reader. The contents of the io.Reader will by default be sent as a multipart form part with the file name of "anonymous_file" and content-type of "application/octet-stream".

The file name and content-type can be customized by implementing Name() string or ContentType() string on the run-time type of io.Reader. Note that os.File implements Name() string, so a file returned by os.Open will be sent with the file name on disk.

We also provide a helper midboundcloud.File(reader io.Reader, filename string, contentType string) which can be used to wrap any io.Reader with the appropriate file name and content type.

Retries

Certain errors will be automatically retried 2 times by default, with a short exponential backoff. We retry by default all connection errors, 408 Request Timeout, 409 Conflict, 429 Rate Limit, and >=500 Internal errors.

You can use the WithMaxRetries option to configure or disable this:

// Configure the default for all requests:
client := midboundcloud.NewClient(
	option.WithMaxRetries(0), // default is 2
)

// Override per-request:
client.Health.Check(context.TODO(), option.WithMaxRetries(5))
Accessing raw response data (e.g. response headers)

You can access the raw HTTP response data by using the option.WithResponseInto() request option. This is useful when you need to examine response headers, status codes, or other details.

// Create a variable to store the HTTP response
var response *http.Response
response, err := client.Health.Check(context.TODO(), option.WithResponseInto(&response))
if err != nil {
	// handle error
}
fmt.Printf("%+v\n", response)

fmt.Printf("Status Code: %d\n", response.StatusCode)
fmt.Printf("Headers: %+#v\n", response.Header)
Making custom/undocumented requests

This library is typed for convenient access to the documented API. If you need to access undocumented endpoints, params, or response properties, the library can still be used.

Undocumented endpoints

To make requests to undocumented endpoints, you can use client.Get, client.Post, and other HTTP verbs. RequestOptions on the client, such as retries, will be respected when making these requests.

var (
    // params can be an io.Reader, a []byte, an encoding/json serializable object,
    // or a "…Params" struct defined in this library.
    params map[string]any

    // result can be an []byte, *http.Response, a encoding/json deserializable object,
    // or a model defined in this library.
    result *http.Response
)
err := client.Post(context.Background(), "/unspecified", params, &result)
if err != nil {
    …
}
Undocumented request params

To make requests using undocumented parameters, you may use either the option.WithQuerySet() or the option.WithJSONSet() methods.

params := FooNewParams{
    ID:   "id_xxxx",
    Data: FooNewParamsData{
        FirstName: midboundcloud.String("John"),
    },
}
client.Foo.New(context.Background(), params, option.WithJSONSet("data.last_name", "Doe"))
Undocumented response properties

To access undocumented response properties, you may either access the raw JSON of the response as a string with result.JSON.RawJSON(), or get the raw JSON of a particular field on the result with result.JSON.Foo.Raw().

Any fields that are not present on the response struct will be saved and can be accessed by result.JSON.ExtraFields() which returns the extra fields as a map[string]Field.

Middleware

We provide option.WithMiddleware which applies the given middleware to requests.

func Logger(req *http.Request, next option.MiddlewareNext) (res *http.Response, err error) {
	// Before the request
	start := time.Now()
	LogReq(req)

	// Forward the request to the next handler
	res, err = next(req)

	// Handle stuff after the request
	end := time.Now()
	LogRes(res, err, start - end)

    return res, err
}

client := midboundcloud.NewClient(
	option.WithMiddleware(Logger),
)

When multiple middlewares are provided as variadic arguments, the middlewares are applied left to right. If option.WithMiddleware is given multiple times, for example first in the client then the method, the middleware in the client will run first and the middleware given in the method will run next.

You may also replace the default http.Client with option.WithHTTPClient(client). Only one http client is accepted (this overwrites any previous client) and receives requests after any middleware has been applied.

Semantic versioning

This package generally follows SemVer conventions, though certain backwards-incompatible changes may be released as minor versions:

  1. Changes to library internals which are technically public but not intended or documented for external use. (Please open a GitHub issue to let us know if you are relying on such internals.)
  2. Changes that we do not expect to impact the vast majority of users in practice.

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an issue with questions, bugs, or suggestions.

Contributing

See the contributing documentation.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) param.Opt[bool]

func BoolPtr

func BoolPtr(v bool) *bool

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 File

func File(rdr io.Reader, filename string, contentType string) file

func Float

func Float(f float64) param.Opt[float64]

func FloatPtr

func FloatPtr(v float64) *float64

func Int

func Int(i int64) param.Opt[int64]

func IntPtr

func IntPtr(v int64) *int64

func Opt

func Opt[T comparable](v T) param.Opt[T]

func Ptr

func Ptr[T any](v T) *T

func String

func String(s string) param.Opt[string]

func StringPtr

func StringPtr(v string) *string

func Time

func Time(t time.Time) param.Opt[time.Time]

func TimePtr

func TimePtr(v time.Time) *time.Time

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.

func (*Client) Post

func (r *Client) Post(ctx context.Context, path string, params any, res any, opts ...option.RequestOption) error

Post makes a POST request with the given URL, params, and optionally deserializes to a response. See [Execute] documentation on the params and response.

func (*Client) Put

func (r *Client) Put(ctx context.Context, path string, params any, res any, opts ...option.RequestOption) error

Put makes a PUT request with the given URL, params, and optionally deserializes to a response. See [Execute] documentation on the params and response.

type Error

type Error = apierror.Error

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

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

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPerson) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataSessionNetwork) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataSessionNetworkAsn) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityEnrichedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON

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

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

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

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

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataIdentityDemographics) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataIdentityEmail) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataIdentityLocation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataIdentityProfessional) UnmarshalJSON

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

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataSessionNetwork) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataSessionNetworkAsn) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityQualifiedWebhookEventDataSessionScreen) UnmarshalJSON

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

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

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

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataIdentityDemographics) UnmarshalJSON

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

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataIdentityLocation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataIdentityProfessional) UnmarshalJSON

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

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataSessionNetwork) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataSessionNetworkAsn) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityResolvedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON

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

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

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

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

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichment) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyEstimatedRevenue) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyFunding) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcount) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyHeadcountGrowth) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyLinkedinFollowers) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanySeo) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyTaxonomy) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTraffic) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentCompanyWebTrafficTrafficSources) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentEmailValidationError) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPerson) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEducation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmployment) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyEstimatedRevenue) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyFunding) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcount) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyHeadcountGrowth) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyLinkedinFollowers) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanySeo) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyTaxonomy) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTraffic) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonEmploymentCompanyWebTrafficTrafficSources) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperience) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompany) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonExperienceCompanyAddress) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataEnrichmentPersonLocation) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSession) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionEnrichment) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionEvent) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionNetwork) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionNetworkAsn) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionScreen) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentitySessionFinalizedWebhookEventDataSessionUtm) UnmarshalJSON

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

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

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityValidatedWebhookEventDataSessionNetwork) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityValidatedWebhookEventDataSessionNetworkAsn) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityValidatedWebhookEventDataSessionNetworkBotManagement) UnmarshalJSON

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

Returns the unmodified JSON received from the API

func (*IdentityValidatedWebhookEventDataSessionScreen) UnmarshalJSON

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

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

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

Returns the unmodified JSON received from the API

func (*IdentityValidatedWebhookEventDataValidationError) UnmarshalJSON

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 (UnwrapUnsafeWebhookEventUnion) AsIdentityQualified

func (UnwrapUnsafeWebhookEventUnion) AsIdentityResolved

func (UnwrapUnsafeWebhookEventUnion) AsIdentitySessionFinalized

func (u UnwrapUnsafeWebhookEventUnion) AsIdentitySessionFinalized() (v IdentitySessionFinalizedWebhookEvent)

func (UnwrapUnsafeWebhookEventUnion) AsIdentityValidated

func (UnwrapUnsafeWebhookEventUnion) RawJSON

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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