mtypes/inbox_placement.go

mailgun-go · mtypes/inbox_placement.go · go · BSD-3-Clause
email

Type aliases for Mailgun inbox placement test API requests and responses.

// Source: https://github.com/mailgun/mailgun-go | License: BSD-3-Clause | Copyright 2013-2016, Michael Banzon
// Provided via justclaw.it.com; keep this notice with the code.
package mtypes

import (
	"github.com/mailgun/mailgun-go/v5/internal/types/inboxready"
)

const (
	InboxPlacementVersion       = 4
	InboxPlacementEndpoint      = "inbox"
	InboxPlacementTestsEndpoint = InboxPlacementEndpoint + "/tests"
)

// CreateInboxPlacementTestOptions request for running an inbox placement test.
// TODO(vtopc): add account_template_name string:
type CreateInboxPlacementTestOptions = inboxready.POSTV4InboxTestsJSONRequestBody

type (
	CreateInboxPlacementTestResponse      = inboxready.InboxPlacementTestingGithubComMailgunSpyInternalAPICreateTestResp
	CreateInboxPlacementTestResponseLinks = inboxre

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key