openapi

package
v0.0.0-...-527fea4 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 5 Imported by: 0

README

OpenAPI Definitions

This package contains Go types generated from the Ampersand OpenAPI spec (api/api.yaml) defined in https://github.com/amp-labs/openapi.

Generated files

  • api.gen.go — Go types generated from the components/schemas in api/api.yaml.
  • commit.json — the openapi commit these types were generated from.

Automation

These types are kept in sync automatically:

  1. A push to main in the openapi repo that touches api/** fires a repository_dispatch (gen-openapi-types) at this repo.
  2. The gen-openapi-types workflow regenerates api.gen.go and opens a PR on an auto/openapi-* branch.
  3. auto-approve-openapi approves that PR when the diff is limited to the generated files.

Regenerating manually

Install oapi-codegen if you haven't:

go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.7.1

Regenerate against the openapi main branch:

make gen/main

Or against a specific commit:

make gen OPENAPI_COMMIT_ID=<commit-hash>

The api.yaml spec uses cross-file $refs, so generation reads the fully dereferenced api/generated/api.json that the openapi repo publishes (rather than api/api.yaml directly).

Documentation

Overview

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.

Index

Constants

View Source
const (
	APIKeyHeaderScopes aPIKeyHeaderContextKey = "APIKeyHeader.Scopes"
	BearerScopes       bearerContextKey       = "Bearer.Scopes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptInvite200JSONResponseBodyOrgRolePrincipalType

type AcceptInvite200JSONResponseBodyOrgRolePrincipalType string

AcceptInvite200JSONResponseBodyOrgRolePrincipalType defines parameters for AcceptInvite.

const (
	AcceptInvite200JSONResponseBodyOrgRolePrincipalTypeBuilder AcceptInvite200JSONResponseBodyOrgRolePrincipalType = "builder"
	AcceptInvite200JSONResponseBodyOrgRolePrincipalTypeTeam    AcceptInvite200JSONResponseBodyOrgRolePrincipalType = "team"
)

Defines values for AcceptInvite200JSONResponseBodyOrgRolePrincipalType.

func (AcceptInvite200JSONResponseBodyOrgRolePrincipalType) Valid

Valid indicates whether the value is a known member of the AcceptInvite200JSONResponseBodyOrgRolePrincipalType enum.

type AcceptInvite200JSONResponseBodyProjectRolesPrincipalType

type AcceptInvite200JSONResponseBodyProjectRolesPrincipalType string

AcceptInvite200JSONResponseBodyProjectRolesPrincipalType defines parameters for AcceptInvite.

const (
	AcceptInvite200JSONResponseBodyProjectRolesPrincipalTypeBuilder AcceptInvite200JSONResponseBodyProjectRolesPrincipalType = "builder"
	AcceptInvite200JSONResponseBodyProjectRolesPrincipalTypeTeam    AcceptInvite200JSONResponseBodyProjectRolesPrincipalType = "team"
)

Defines values for AcceptInvite200JSONResponseBodyProjectRolesPrincipalType.

func (AcceptInvite200JSONResponseBodyProjectRolesPrincipalType) Valid

Valid indicates whether the value is a known member of the AcceptInvite200JSONResponseBodyProjectRolesPrincipalType enum.

type AcceptInviteJSONBody

type AcceptInviteJSONBody struct {
	// InvitedEmail The email address that the invite was sent to
	InvitedEmail string `json:"invitedEmail"`
}

AcceptInviteJSONBody defines parameters for AcceptInvite.

type AcceptInviteJSONRequestBody

type AcceptInviteJSONRequestBody AcceptInviteJSONBody

AcceptInviteJSONRequestBody defines body for AcceptInvite for application/json ContentType.

type AddUserToOrgJSONBody

type AddUserToOrgJSONBody struct {
	// BuilderId The ID of the builder to add to the organization
	BuilderId string `json:"builderId"`
}

AddUserToOrgJSONBody defines parameters for AddUserToOrg.

type AddUserToOrgJSONRequestBody

type AddUserToOrgJSONRequestBody AddUserToOrgJSONBody

AddUserToOrgJSONRequestBody defines body for AddUserToOrg for application/json ContentType.

type ApiKey

type ApiKey struct {
	// Active Whether the API key is active.
	Active *bool `json:"active,omitempty"`

	// Key The API key.
	Key string `json:"key"`

	// Label A short name for the API key.
	Label string `json:"label"`

	// ProjectId The project ID.
	ProjectId string `json:"projectId"`

	// Scopes The scopes for the API key.
	Scopes []string `json:"scopes"`
}

ApiKey defines model for ApiKey.

type ApiKeyRequest

type ApiKeyRequest struct {
	// Label A short name for the API key.
	Label string `json:"label"`

	// Scopes The scopes for the API key.
	Scopes *[]string `json:"scopes,omitempty"`
}

ApiKeyRequest defines model for ApiKeyRequest.

type ApiKeyScopes

type ApiKeyScopes = []string

ApiKeyScopes The scopes for the API key.

type AssociationDefinition

type AssociationDefinition struct {
	// AssociationType High-level association variety (e.g., 'foreignKey', 'lookup', 'ref')
	AssociationType string `json:"associationType"`

	// Cardinality Association cardinality from the referencing field's perspective
	Cardinality *string `json:"cardinality,omitempty"`

	// Labels UI labels for an association
	Labels *struct {
		// Plural Plural display label
		Plural *string `json:"plural,omitempty"`

		// Singular Singular display label
		Singular *string `json:"singular,omitempty"`
	} `json:"labels,omitempty"`

	// OnDelete Behavior upon foreign object deletion
	OnDelete *string `json:"onDelete,omitempty"`

	// Required If true, a referenced record must exist
	Required *bool `json:"required,omitempty"`

	// ReverseLookupFieldName Optional inverse relationship/property name exposed on the target object
	ReverseLookupFieldName *string `json:"reverseLookupFieldName,omitempty"`

	// TargetField Name of the referenced field on the target object
	TargetField *string `json:"targetField,omitempty"`

	// TargetObject Name of the referenced/parent object
	TargetObject string `json:"targetObject"`
}

AssociationDefinition Relationship information for a field to another object

type AssociationLabels

type AssociationLabels struct {
	// Plural Plural display label
	Plural *string `json:"plural,omitempty"`

	// Singular Singular display label
	Singular *string `json:"singular,omitempty"`
}

AssociationLabels UI labels for an association

type BackfillProgress

type BackfillProgress struct {
	// CreateTime When the backfill operation started.
	CreateTime *time.Time `json:"createTime,omitempty"`

	// InstallationId The installation ID.
	InstallationId string `json:"installationId"`

	// ObjectName The object being synced (e.g., contact, account).
	ObjectName string `json:"objectName"`

	// OperationId The ID of the backfill operation.
	OperationId string `json:"operationId"`

	// RecordsEstimatedTotal The estimated total number of records to process. Only present for Salesforce and HubSpot; other connectors omit this field.
	RecordsEstimatedTotal *int `json:"recordsEstimatedTotal,omitempty"`

	// RecordsProcessed The number of records processed so far. Updates as more records are read during the backfill.
	RecordsProcessed int `json:"recordsProcessed"`

	// UpdateTime When progress was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

BackfillProgress defines model for BackfillProgress.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeAuto      BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "auto"
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeOnRequest BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 defines parameters for BatchUpsertIntegrations.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 defines parameters for BatchUpsertIntegrations.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAutoAll BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 defines parameters for BatchUpsertIntegrations.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 defines parameters for BatchUpsertIntegrations.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled defines parameters for BatchUpsertIntegrations.

const (
	BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item

type BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item defines parameters for BatchUpsertIntegrations.

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 returns the union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 returns the union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item

type BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item defines parameters for BatchUpsertIntegrations.

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 returns the union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

AsBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 returns the union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

FromBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

MergeBatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided BatchUpsertIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*BatchUpsertIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type BatchUpsertIntegrationsJSONBody

type BatchUpsertIntegrationsJSONBody struct {
	// SourceYaml A YAML string that defines the integrations.
	SourceYaml *string `json:"sourceYaml,omitempty"`

	// SourceZipUrl URL of where a zip of the source files can be downloaded (e.g. Google Cloud Storage URL).
	SourceZipUrl *string `json:"sourceZipUrl,omitempty"`
}

BatchUpsertIntegrationsJSONBody defines parameters for BatchUpsertIntegrations.

type BatchUpsertIntegrationsJSONRequestBody

type BatchUpsertIntegrationsJSONRequestBody BatchUpsertIntegrationsJSONBody

BatchUpsertIntegrationsJSONRequestBody defines body for BatchUpsertIntegrations for application/json ContentType.

type BatchUpsertIntegrationsParams

type BatchUpsertIntegrationsParams struct {
	// Destructive Defaults to false. This flag controls whether to perform destructive actions when deploying integrations, like pausing all read actions for an object that was removed in the latest revision.
	Destructive *bool `form:"destructive,omitempty" json:"destructive,omitempty"`
}

BatchUpsertIntegrationsParams defines parameters for BatchUpsertIntegrations.

type BillingAccount

type BillingAccount struct {
	// BillingProvider The billing provider that this account is associated with.
	BillingProvider string `json:"billingProvider"`

	// BillingProviderRef The ID used by the billing provider to identify the account.
	BillingProviderRef string `json:"billingProviderRef"`

	// CreateTime The time the billing account was created.
	CreateTime *time.Time `json:"createTime,omitempty"`

	// DisplayName The display name of the billing account.
	DisplayName string `json:"displayName"`

	// Id The billing account ID.
	Id string `json:"id"`

	// UpdateTime The time the billing account was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

BillingAccount defines model for BillingAccount.

type Builder

type Builder struct {
	// CreateTime The time that the builder joined Ampersand.
	CreateTime time.Time `json:"createTime"`
	FirstName  *string   `json:"firstName,omitempty"`
	FullName   *string   `json:"fullName,omitempty"`

	// Id The builder ID.
	Id string `json:"id"`

	// IdpProvider The identity provider
	IdpProvider string `json:"idpProvider"`

	// IdpRef ID used by the identity provider
	IdpRef       string  `json:"idpRef"`
	LastName     *string `json:"lastName,omitempty"`
	PrimaryEmail *string `json:"primaryEmail,omitempty"`
}

Builder defines model for Builder.

type BuilderInfo

type BuilderInfo struct {
	Builder struct {
		// CreateTime The time that the builder joined Ampersand.
		CreateTime time.Time `json:"createTime"`
		FirstName  *string   `json:"firstName,omitempty"`
		FullName   *string   `json:"fullName,omitempty"`

		// Id The builder ID.
		Id string `json:"id"`

		// IdpProvider The identity provider
		IdpProvider string `json:"idpProvider"`

		// IdpRef ID used by the identity provider
		IdpRef       string  `json:"idpRef"`
		LastName     *string `json:"lastName,omitempty"`
		PrimaryEmail *string `json:"primaryEmail,omitempty"`
	} `json:"builder"`
	OrgRole *struct {
		Org struct {
			// CreateTime The time at which the organization was created.
			CreateTime time.Time `json:"createTime"`

			// DefaultTeamId The ID of the Everyone team for the org.
			DefaultTeamId string `json:"defaultTeamId"`

			// Id The organization ID.
			Id string `json:"id"`

			// Label The organization label.
			Label string `json:"label"`

			// UpdateTime The time the organization was updated.
			UpdateTime *time.Time `json:"updateTime,omitempty"`
		} `json:"org"`

		// PrincipalId The ID of the team or builder.
		PrincipalId string `json:"principalId"`

		// PrincipalType The type of the principal.
		PrincipalType BuilderInfoOrgRolePrincipalType `json:"principalType"`

		// Role The role of the builder in the org.
		Role string `json:"role"`
	} `json:"orgRole,omitempty"`

	// ProjectRoles A map of project IDs to project roles for the builder.
	ProjectRoles map[string]struct {
		// PrincipalId The ID of the team or builder.
		PrincipalId string `json:"principalId"`

		// PrincipalType The type of the principal.
		PrincipalType BuilderInfoProjectRolesPrincipalType `json:"principalType"`
		Project       struct {
			// AppName The display name of the application, shown to end users during the connection flow.
			AppName string `json:"appName"`

			// CreateTime The time the project was created.
			CreateTime time.Time `json:"createTime"`

			// Entitlements Plan-based feature flags for the project. These are managed by Ampersand and cannot be set via the API.
			Entitlements *struct {
				// BrandingRemoval Controls whether Ampersand branding is removed from the embeddable UI components.
				BrandingRemoval struct {
					// Value True if Ampersand branding has been removed for this project.
					Value bool `json:"value"`
				} `json:"brandingRemoval,omitempty"`

				// LogRetentionDays The number of days that logs are retained for this project.
				LogRetentionDays struct {
					// Value The log retention period for this project, in days.
					Value int `json:"value"`
				} `json:"logRetentionDays,omitempty"`
			} `json:"entitlements,omitempty"`

			// Id The unique identifier for the project.
			Id string `json:"id"`

			// Name The unique name for the project.
			Name string `json:"name"`

			// OrgId The ID of the organization that this project belongs to.
			OrgId string `json:"orgId"`

			// UpdateTime The time the project was updated.
			UpdateTime *time.Time `json:"updateTime,omitempty"`
		} `json:"project"`

		// Role The role of the builder in the project.
		Role string `json:"role"`
	} `json:"projectRoles"`
}

BuilderInfo defines model for BuilderInfo.

type BuilderInfoOrgRolePrincipalType

type BuilderInfoOrgRolePrincipalType string

BuilderInfoOrgRolePrincipalType The type of the principal.

const (
	BuilderInfoOrgRolePrincipalTypeBuilder BuilderInfoOrgRolePrincipalType = "builder"
	BuilderInfoOrgRolePrincipalTypeTeam    BuilderInfoOrgRolePrincipalType = "team"
)

Defines values for BuilderInfoOrgRolePrincipalType.

func (BuilderInfoOrgRolePrincipalType) Valid

Valid indicates whether the value is a known member of the BuilderInfoOrgRolePrincipalType enum.

type BuilderInfoProjectRolesPrincipalType

type BuilderInfoProjectRolesPrincipalType string

BuilderInfoProjectRolesPrincipalType The type of the principal.

const (
	BuilderInfoProjectRolesPrincipalTypeBuilder BuilderInfoProjectRolesPrincipalType = "builder"
	BuilderInfoProjectRolesPrincipalTypeTeam    BuilderInfoProjectRolesPrincipalType = "team"
)

Defines values for BuilderInfoProjectRolesPrincipalType.

func (BuilderInfoProjectRolesPrincipalType) Valid

Valid indicates whether the value is a known member of the BuilderInfoProjectRolesPrincipalType enum.

type CheckClaimedDomainParams

type CheckClaimedDomainParams struct {
	// Domain Accepts an email address, domain name, or URL. The domain will be automatically extracted: for emails, the portion after @ is used (e.g., "user@example.com" becomes "example.com"); for URLs, the hostname is extracted (e.g., "https://www.example.com" becomes "example.com").
	Domain string `form:"domain" json:"domain"`
}

CheckClaimedDomainParams defines parameters for CheckClaimedDomain.

type ClaimDomainJSONBody

type ClaimDomainJSONBody struct {
	// Domain Accepts an email address, domain name, or URL. The domain will be automatically extracted: for emails, the portion after @ is used (e.g., "user@example.com" becomes "example.com"); for URLs, the hostname is extracted (e.g., "https://www.example.com" becomes "example.com").
	Domain string `json:"domain"`

	// ParentId ID of the parent entity claiming the domain
	ParentId string `json:"parentId"`

	// ParentType Type of the parent entity
	ParentType string `json:"parentType"`
}

ClaimDomainJSONBody defines parameters for ClaimDomain.

type ClaimDomainJSONRequestBody

type ClaimDomainJSONRequestBody ClaimDomainJSONBody

ClaimDomainJSONRequestBody defines body for ClaimDomain for application/json ContentType.

type ClaimedDomainResponse

type ClaimedDomainResponse struct {
	// Domain The normalized domain name
	Domain string `json:"domain"`

	// Id Unique identifier for the claimed domain
	Id string `json:"id"`

	// ParentId ID of the parent entity that claimed the domain
	ParentId string `json:"parentId"`

	// ParentType Type of the parent entity that claimed the domain
	ParentType string `json:"parentType"`
}

ClaimedDomainResponse defines model for ClaimedDomainResponse.

type Config

type Config struct {
	Content struct {
		// Provider The SaaS API that we are integrating with.
		Provider string `json:"provider"`
		Proxy    *struct {
			Enabled *bool `json:"enabled,omitempty"`
		} `json:"proxy,omitempty"`
		Read *struct {
			Objects map[string]struct {
				Backfill *struct {
					DefaultPeriod struct {
						// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
						Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

						// FullHistory If true, backfill all history. Required if days is not set.
						FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
					} `json:"defaultPeriod"`

					// FieldFilters Filters to apply only during backfill. Multiple conditions are joined by AND. Use this when you want different filter behavior for backfill vs. incremental reads.
					FieldFilters []struct {
						// FieldName The name of the field to filter on.
						FieldName string `json:"fieldName"`

						// Operator The comparison operator.
						Operator ConfigContentReadObjectsBackfillFieldFiltersOperator `json:"operator"`

						// Value The value to filter on. Allowed types are string, boolean, and number.
						Value interface{} `json:"value,omitempty"`
					} `json:"fieldFilters,omitempty"`
				} `json:"backfill,omitempty"`

				// Destination The name of the destination that the result should be sent to.
				Destination string `json:"destination,omitempty"`

				// Disabled If this flag is set to true, scheduled reads associated with this object will be paused, and on-demand reads will not be allowed.
				Disabled *bool `json:"disabled,omitempty"`

				// DynamicMappingsInput An array containing all available dynamic field and value mappings for this installation, provided by the InstallIntegration component. This array represents the complete set of possible mappings, regardless of which ones are currently selected. The actual selected mappings are stored separately in the selectedFieldMappings property.
				DynamicMappingsInput *[]struct {
					// FieldName The name of the field in SaaS provider, if present, then we will not prompt the user to map the field.
					FieldName *string `json:"fieldName,omitempty"`

					// MapToDisplayName Optional display name of the field to show the user in the mapping UI.
					MapToDisplayName *string `json:"mapToDisplayName,omitempty"`

					// MapToName The name of the field in your application.
					MapToName string `json:"mapToName"`

					// MappedValues If you would like the user to map a set of possible values, this is the list of possible values of the field in your application.
					MappedValues *[]struct {
						MappedDisplayValue string `json:"mappedDisplayValue"`
						MappedValue        string `json:"mappedValue"`
					} `json:"mappedValues,omitempty"`

					// Prompt Optional prompt to show the user in the mapping UI.
					Prompt *string `json:"prompt,omitempty"`
				} `json:"dynamicMappingsInput,omitempty"`

				// FieldFilters Filters to apply when reading records during incremental reads and backfill. Multiple conditions are joined by AND. Each field can only have one condition.
				FieldFilters []struct {
					// FieldName The name of the field to filter on.
					FieldName string `json:"fieldName"`

					// Operator The comparison operator.
					Operator ConfigContentReadObjectsFieldFiltersOperator `json:"operator"`

					// Value The value to filter on. Allowed types are string, boolean, and number.
					Value interface{} `json:"value,omitempty"`
				} `json:"fieldFilters,omitempty"`

				// ObjectName The name of the object to read from.
				ObjectName string `json:"objectName" validate:"required"`

				// Schedule The schedule for reading the object, in cron syntax.
				Schedule string `json:"schedule,omitempty"`

				// SelectedFieldMappings This is a map of mapToNames to field names. (A mapTo name is the name the builder wants to map a field to when it lands in their destination.)
				SelectedFieldMappings map[string]string `json:"selectedFieldMappings"`

				// SelectedFields This is a map of field names to booleans indicating whether they should be read. If a field is already included in `selectedFieldMappings`, it does not need to be included here.
				SelectedFields map[string]bool `json:"selectedFields"`

				// SelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.
				SelectedFieldsAuto *ConfigContentReadObjectsSelectedFieldsAuto `json:"selectedFieldsAuto,omitempty"`

				// SelectedValueMappings This is a map of field names to their value mappings.
				SelectedValueMappings map[string]map[string]string `json:"selectedValueMappings,omitempty"`
			} `json:"objects"`
		} `json:"read,omitempty"`
		Subscribe *struct {
			Objects map[string]struct {
				CreateEvent *struct {
					// Enabled Conditions to enable create events.
					Enabled ConfigContentSubscribeObjectsCreateEventEnabled `json:"enabled" validate:"oneof=always never"`
				} `json:"createEvent,omitempty"`
				DeleteEvent *struct {
					// Enabled Conditions to enable delete events.
					Enabled ConfigContentSubscribeObjectsDeleteEventEnabled `json:"enabled" validate:"oneof=always never"`
				} `json:"deleteEvent,omitempty"`

				// Destination The name of the destination that the result should be sent to.
				Destination string `json:"destination"`

				// InheritFieldsAndMappings Whether to inherit fields and mappings from the read config.
				InheritFieldsAndMappings bool `json:"inheritFieldsAndMappings"`

				// ObjectName The name of the object to subscribe to.
				ObjectName  string    `json:"objectName" validate:"required"`
				OtherEvents *[]string `json:"otherEvents,omitempty"`
				UpdateEvent *struct {
					// Enabled Conditions to enable update events.
					Enabled ConfigContentSubscribeObjectsUpdateEventEnabled `json:"enabled" validate:"oneof=always never"`

					// RequiredWatchFields The fields that should be watched.
					RequiredWatchFields *[]string `json:"requiredWatchFields,omitempty"`

					// WatchFieldsAuto Whether to watch fields all fields automatically.
					WatchFieldsAuto *ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
				} `json:"updateEvent,omitempty"`
			} `json:"objects"`
		} `json:"subscribe,omitempty"`
		Write *struct {
			Objects *map[string]struct {
				DeletionSettings *struct {
					// Enabled Whether deletion is enabled for this object
					Enabled bool `json:"enabled"`
				} `json:"deletionSettings,omitempty"`

				// ObjectName The name of the object to write to.
				ObjectName string `json:"objectName" validate:"required"`

				// SelectedFieldSettings This is a map of field names to their settings.
				SelectedFieldSettings map[string]struct {
					// Default Only use one of stringValue, integerValue, booleanValue.
					Default *struct {
						// BooleanValue The default boolean value to apply to a field
						BooleanValue *bool `json:"booleanValue,omitempty"`

						// IntegerValue The default integer value to apply to a field
						IntegerValue *int `json:"integerValue,omitempty"`

						// StringValue The default string value to apply to a field
						StringValue *string `json:"stringValue,omitempty"`
					} `json:"default,omitempty"`

					// WriteOnCreate Whether the default value should be applied when creating a record.
					WriteOnCreate ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate `json:"writeOnCreate,omitempty"`

					// WriteOnUpdate Whether the default value should be applied when updating a record.
					// - always: Always write to the field on update
					// - never: Never write to the field on update
					// - ifEmpty: Only write to the field if it's currently empty (unset or empty string).
					WriteOnUpdate ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate `json:"writeOnUpdate,omitempty"`
				} `json:"selectedFieldSettings,omitempty"`

				// SelectedValueDefaults This is a map of field names to default values. These values will be used when writing to the object.
				// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
				SelectedValueDefaults map[string]any `json:"selectedValueDefaults,omitempty"`
			} `json:"objects,omitempty"`
		} `json:"write,omitempty"`
	} `json:"content"`

	// CreateTime The time the config was created.
	CreateTime time.Time `json:"createTime"`

	// CreatedBy The person who created the config, in the format of "consumer:{consumer-id}" or "builder:{builder-id}".
	CreatedBy string `json:"createdBy"`

	// Id The config ID.
	Id string `json:"id"`

	// RevisionId The ID of the revision that was current when this config was created or last updated.
	RevisionId string `json:"revisionId"`
}

Config defines model for Config.

type ConfigContentReadObjectsBackfillFieldFiltersOperator

type ConfigContentReadObjectsBackfillFieldFiltersOperator string

ConfigContentReadObjectsBackfillFieldFiltersOperator The comparison operator.

const (
	ConfigContentReadObjectsBackfillFieldFiltersOperatorEq ConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for ConfigContentReadObjectsBackfillFieldFiltersOperator.

func (ConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type ConfigContentReadObjectsFieldFiltersOperator

type ConfigContentReadObjectsFieldFiltersOperator string

ConfigContentReadObjectsFieldFiltersOperator The comparison operator.

const (
	ConfigContentReadObjectsFieldFiltersOperatorEq ConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for ConfigContentReadObjectsFieldFiltersOperator.

func (ConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ConfigContentReadObjectsFieldFiltersOperator enum.

type ConfigContentReadObjectsSelectedFieldsAuto

type ConfigContentReadObjectsSelectedFieldsAuto string

ConfigContentReadObjectsSelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.

const (
	ConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll ConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for ConfigContentReadObjectsSelectedFieldsAuto.

func (ConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the ConfigContentReadObjectsSelectedFieldsAuto enum.

type ConfigContentSubscribeObjectsCreateEventEnabled

type ConfigContentSubscribeObjectsCreateEventEnabled string

ConfigContentSubscribeObjectsCreateEventEnabled Conditions to enable create events.

const (
	ConfigContentSubscribeObjectsCreateEventEnabledAlways ConfigContentSubscribeObjectsCreateEventEnabled = "always"
	ConfigContentSubscribeObjectsCreateEventEnabledNever  ConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for ConfigContentSubscribeObjectsCreateEventEnabled.

func (ConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the ConfigContentSubscribeObjectsCreateEventEnabled enum.

type ConfigContentSubscribeObjectsDeleteEventEnabled

type ConfigContentSubscribeObjectsDeleteEventEnabled string

ConfigContentSubscribeObjectsDeleteEventEnabled Conditions to enable delete events.

const (
	ConfigContentSubscribeObjectsDeleteEventEnabledAlways ConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	ConfigContentSubscribeObjectsDeleteEventEnabledNever  ConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for ConfigContentSubscribeObjectsDeleteEventEnabled.

func (ConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the ConfigContentSubscribeObjectsDeleteEventEnabled enum.

type ConfigContentSubscribeObjectsUpdateEventEnabled

type ConfigContentSubscribeObjectsUpdateEventEnabled string

ConfigContentSubscribeObjectsUpdateEventEnabled Conditions to enable update events.

const (
	ConfigContentSubscribeObjectsUpdateEventEnabledAlways ConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	ConfigContentSubscribeObjectsUpdateEventEnabledNever  ConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for ConfigContentSubscribeObjectsUpdateEventEnabled.

func (ConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the ConfigContentSubscribeObjectsUpdateEventEnabled enum.

type ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto Whether to watch fields all fields automatically.

const (
	ConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the ConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate Whether the default value should be applied when creating a record.

const (
	ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the ConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate Whether the default value should be applied when updating a record. - always: Always write to the field on update - never: Never write to the field on update - ifEmpty: Only write to the field if it's currently empty (unset or empty string).

const (
	ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the ConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type Connection

type Connection struct {
	// ApiKey The API key used while making the connection.
	ApiKey *string `json:"apiKey,omitempty"`

	// AuthScheme The authentication scheme used for this connection.
	AuthScheme ConnectionAuthScheme `json:"authScheme"`
	Consumer   struct {
		// ConsumerName The name of the consumer.
		ConsumerName string `json:"consumerName"`

		// ConsumerRef The consumer reference.
		ConsumerRef string `json:"consumerRef"`

		// CreateTime The time the consumer was created.
		CreateTime time.Time `json:"createTime"`

		// ProjectId The Ampersand project ID.
		ProjectId string `json:"projectId"`

		// UpdateTime The time the consumer was last updated.
		UpdateTime *time.Time `json:"updateTime,omitempty"`
	} `json:"consumer"`

	// CreateTime The time the connection was created.
	CreateTime time.Time `json:"createTime"`
	Group      struct {
		// CreateTime The time the group was created.
		CreateTime time.Time `json:"createTime"`

		// GroupName The name of the user group that has access to this installation.
		GroupName string `json:"groupName"`

		// GroupRef The ID of the user group that has access to this installation.
		GroupRef string `json:"groupRef"`

		// ProjectId The Ampersand project ID.
		ProjectId string `json:"projectId"`

		// UpdateTime The time the group was last updated.
		UpdateTime *time.Time `json:"updateTime,omitempty"`
	} `json:"group"`

	// Id The connection ID.
	Id                      string `json:"id"`
	Oauth2AuthorizationCode *struct {
		// AccessToken The access token for the connection.
		AccessToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"accessToken,omitempty"`

		// RefreshToken The refresh token to use for the connection.
		RefreshToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"refreshToken,omitempty"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2AuthorizationCode,omitempty"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// Provider The SaaS provider that this Connection is for.
	Provider    string `json:"provider"`
	ProviderApp *struct {
		// ClientId The OAuth client ID for this app.
		ClientId string `json:"clientId"`

		// CreateTime The time the provider app was created.
		CreateTime time.Time `json:"createTime"`

		// ExternalRef The ID used by the provider to identify the app (optional).
		ExternalRef *string `json:"externalRef,omitempty"`

		// Id The provider app ID.
		Id string `json:"id"`

		// Metadata Provider-specific configuration that extends the standard OAuth flow.
		Metadata *struct {
			// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
			AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

			// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
			ProviderParams *map[string]string `json:"providerParams,omitempty"`
		} `json:"metadata,omitempty"`

		// ProjectId The Ampersand project ID.
		ProjectId string `json:"projectId"`

		// Provider The SaaS provider that this app connects to.
		Provider string `json:"provider"`

		// Scopes The OAuth scopes for this app.
		Scopes *[]string `json:"scopes,omitempty"`

		// UpdateTime The time the provider app was updated.
		UpdateTime *time.Time `json:"updateTime,omitempty"`
	} `json:"providerApp,omitempty"`

	// ProviderConsumerRef If available, the ID that Salesforce/Hubspot uses to identify this user (e.g. Salesforce has IDs in the form of https://login.salesforce.com/id/00D4x0000019CQTEA2/0054x000000orJ4AA)
	ProviderConsumerRef *string `json:"providerConsumerRef,omitempty"`
	ProviderMetadata    *map[string]struct {
		// DisplayName The human-readable name for the field
		DisplayName *string `json:"displayName,omitempty"`

		// Source The source of the metadata field
		Source ConnectionProviderMetadataSource `json:"source"`

		// Value The value of the metadata field
		Value string `json:"value"`
	} `json:"providerMetadata,omitempty"`

	// ProviderWorkspaceRef If available, the identifier for the provider workspace (e.g. the Salesforce subdomain)
	ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`

	// Status The status of the connection.
	// - `created`: The connection has just been created or the access token was just refreshed.
	// - `working`: The connection has successfully been used to make a request.
	// - `bad_credentials`: The connection encountered credential-related issues when making a request, or when attempting to refresh the access token.
	Status ConnectionStatus `json:"status"`

	// UpdateTime The time the connection was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Connection defines model for Connection.

type ConnectionAuthScheme

type ConnectionAuthScheme string

ConnectionAuthScheme The authentication scheme used for this connection.

const (
	ConnectionAuthSchemeApiKey                      ConnectionAuthScheme = "apiKey"
	ConnectionAuthSchemeBasic                       ConnectionAuthScheme = "basic"
	ConnectionAuthSchemeNone                        ConnectionAuthScheme = "none"
	ConnectionAuthSchemeOauth2authorizationCode     ConnectionAuthScheme = "oauth2/authorizationCode"
	ConnectionAuthSchemeOauth2authorizationCodePKCE ConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	ConnectionAuthSchemeOauth2clientCredentials     ConnectionAuthScheme = "oauth2/clientCredentials"
	ConnectionAuthSchemeOauth2password              ConnectionAuthScheme = "oauth2/password"
)

Defines values for ConnectionAuthScheme.

func (ConnectionAuthScheme) Valid

func (e ConnectionAuthScheme) Valid() bool

Valid indicates whether the value is a known member of the ConnectionAuthScheme enum.

type ConnectionProviderMetadataSource

type ConnectionProviderMetadataSource string

ConnectionProviderMetadataSource The source of the metadata field

const (
	ConnectionProviderMetadataSourceInput    ConnectionProviderMetadataSource = "input"
	ConnectionProviderMetadataSourceProvider ConnectionProviderMetadataSource = "provider"
	ConnectionProviderMetadataSourceToken    ConnectionProviderMetadataSource = "token"
)

Defines values for ConnectionProviderMetadataSource.

func (ConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the ConnectionProviderMetadataSource enum.

type ConnectionRequest

type ConnectionRequest struct {
	// ApiKey The API key to use for the connection.
	ApiKey    *string `json:"apiKey,omitempty"`
	BasicAuth *struct {
		// Password The password to use for the connection.
		Password string `json:"password"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"basicAuth,omitempty"`

	// ConsumerName The name of the consumer that has access to this installation.
	ConsumerName *string `json:"consumerName,omitempty"`

	// ConsumerRef The consumer reference.
	ConsumerRef *string `json:"consumerRef,omitempty"`

	// CustomAuth Values used for custom auth input variables. Most values are strings (API keys, tokens, etc.), but structured values like arrays are also accepted — for example, googleWorkspaceDelegation sends a `scopes` array alongside the service account key.
	CustomAuth *map[string]interface{} `json:"customAuth,omitempty"`

	// GroupName The name of the user group that has access to this installation.
	GroupName *string `json:"groupName,omitempty"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef                *string `json:"groupRef,omitempty"`
	Oauth2AuthorizationCode *struct {
		// AccessToken The access token for the connection.
		AccessToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"accessToken,omitempty"`

		// RefreshToken The refresh token to use for the connection.
		RefreshToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"refreshToken,omitempty"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2AuthorizationCode,omitempty"`
	Oauth2ClientCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2ClientCredentials,omitempty"`
	Oauth2PasswordCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Password The password to use for the connection.
		Password string `json:"password"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"oauth2PasswordCredentials,omitempty"`

	// Provider The provider name (e.g. "salesforce", "hubspot")
	Provider         *string `json:"provider,omitempty"`
	ProviderMetadata *map[string]struct {
		// DisplayName The human-readable name for the field
		DisplayName *string `json:"displayName,omitempty"`

		// Source The source of the metadata field
		Source ConnectionRequestProviderMetadataSource `json:"source"`

		// Value The value of the metadata field
		Value string `json:"value"`
	} `json:"providerMetadata,omitempty"`

	// ProviderWorkspaceRef The ID of the provider workspace that this connection belongs to.
	ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
}

ConnectionRequest defines model for ConnectionRequest.

type ConnectionRequestProviderMetadataSource

type ConnectionRequestProviderMetadataSource string

ConnectionRequestProviderMetadataSource The source of the metadata field

const (
	ConnectionRequestProviderMetadataSourceInput    ConnectionRequestProviderMetadataSource = "input"
	ConnectionRequestProviderMetadataSourceProvider ConnectionRequestProviderMetadataSource = "provider"
	ConnectionRequestProviderMetadataSourceToken    ConnectionRequestProviderMetadataSource = "token"
)

Defines values for ConnectionRequestProviderMetadataSource.

func (ConnectionRequestProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the ConnectionRequestProviderMetadataSource enum.

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus The status of the connection. - `created`: The connection has just been created or the access token was just refreshed. - `working`: The connection has successfully been used to make a request. - `bad_credentials`: The connection encountered credential-related issues when making a request, or when attempting to refresh the access token.

const (
	ConnectionStatusBadCredentials ConnectionStatus = "bad_credentials"
	ConnectionStatusCreated        ConnectionStatus = "created"
	ConnectionStatusWorking        ConnectionStatus = "working"
)

Defines values for ConnectionStatus.

func (ConnectionStatus) Valid

func (e ConnectionStatus) Valid() bool

Valid indicates whether the value is a known member of the ConnectionStatus enum.

type Consumer

type Consumer struct {
	// ConsumerName The name of the consumer.
	ConsumerName string `json:"consumerName"`

	// ConsumerRef The consumer reference.
	ConsumerRef string `json:"consumerRef"`

	// CreateTime The time the consumer was created.
	CreateTime time.Time `json:"createTime"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// UpdateTime The time the consumer was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Consumer defines model for Consumer.

type CreateApiKeyJSONBody

type CreateApiKeyJSONBody struct {
	// Label A short name for the API key.
	Label string `json:"label"`

	// Scopes The scopes for the API key.
	Scopes *[]string `json:"scopes,omitempty"`
}

CreateApiKeyJSONBody defines parameters for CreateApiKey.

type CreateApiKeyJSONRequestBody

type CreateApiKeyJSONRequestBody CreateApiKeyJSONBody

CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.

type CreateBillingAccountSessionJSONBody

type CreateBillingAccountSessionJSONBody struct {
	// RedirectUrl The URL to redirect to once a portal session is exited.
	RedirectUrl string `json:"redirectUrl"`

	// Timeout The number of seconds before the portal session expires.
	Timeout *int `json:"timeout,omitempty"`
}

CreateBillingAccountSessionJSONBody defines parameters for CreateBillingAccountSession.

type CreateBillingAccountSessionJSONRequestBody

type CreateBillingAccountSessionJSONRequestBody CreateBillingAccountSessionJSONBody

CreateBillingAccountSessionJSONRequestBody defines body for CreateBillingAccountSession for application/json ContentType.

type CreateDestinationJSONBody

type CreateDestinationJSONBody struct {
	Metadata struct {
		// Bucket The name of the S3 bucket to write objects to.
		Bucket string `json:"bucket,omitempty"`

		// EndpointUrl The endpoint URL for the Kinesis stream.
		EndpointUrl string `json:"endpointUrl,omitempty"`

		// Headers Additional headers to add when Ampersand sends a webhook message
		Headers *map[string]string `json:"headers,omitempty"`

		// KeyTemplate The template for the S3 object key to use when writing objects (a JMESPath template). If omitted, the key defaults to the message timestamp followed by the message ID.
		KeyTemplate string `json:"keyTemplate,omitempty"`

		// PartitionKeyTemplate The template for the partition key to use when sending events to Kinesis (a JMESPath template)
		PartitionKeyTemplate string `json:"partitionKeyTemplate,omitempty"`

		// Region The AWS region where the Kinesis or S3 destination is hosted.
		Region string `json:"region,omitempty"`

		// StorageClass The S3 storage class for written objects. Defaults to STANDARD. Common values include STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, GLACIER_IR, and DEEP_ARCHIVE.
		StorageClass string `json:"storageClass,omitempty"`

		// StreamName The name of the Kinesis stream to send events to.
		StreamName string `json:"streamName,omitempty"`

		// Url Webhook URL, must start with "https://".
		Url *string `json:"url,omitempty"`
	} `json:"metadata"`

	// Name Name for the new destination. Must be unique within the project and can only contain letters, numbers and dashes.
	Name string `json:"name"`

	// Secrets Secrets for the destination.
	Secrets *struct {
		// AwsKeyId The AWS access key ID for the Kinesis or S3 destination.
		AwsKeyId string `json:"awsKeyId,omitempty"`

		// AwsSecretKey The AWS secret access key for the Kinesis or S3 destination.
		AwsSecretKey string `json:"awsSecretKey,omitempty"`

		// AwsSessionToken The AWS session token for the Kinesis or S3 destination.
		AwsSessionToken string `json:"awsSessionToken,omitempty"`
	} `json:"secrets,omitempty"`

	// Type The type of the destination.
	Type CreateDestinationJSONBodyType `json:"type"`
}

CreateDestinationJSONBody defines parameters for CreateDestination.

type CreateDestinationJSONBodyType

type CreateDestinationJSONBodyType string

CreateDestinationJSONBodyType defines parameters for CreateDestination.

const (
	Kinesis CreateDestinationJSONBodyType = "kinesis"
	S3      CreateDestinationJSONBodyType = "s3"
	Webhook CreateDestinationJSONBodyType = "webhook"
)

Defines values for CreateDestinationJSONBodyType.

func (CreateDestinationJSONBodyType) Valid

Valid indicates whether the value is a known member of the CreateDestinationJSONBodyType enum.

type CreateDestinationJSONRequestBody

type CreateDestinationJSONRequestBody CreateDestinationJSONBody

CreateDestinationJSONRequestBody defines body for CreateDestination for application/json ContentType.

type CreateEventTopicRoute201JSONResponseBodyEventType

type CreateEventTopicRoute201JSONResponseBodyEventType string

CreateEventTopicRoute201JSONResponseBodyEventType defines parameters for CreateEventTopicRoute.

const (
	CreateEventTopicRoute201JSONResponseBodyEventTypeConnectionCreated          CreateEventTopicRoute201JSONResponseBodyEventType = "connection.created"
	CreateEventTopicRoute201JSONResponseBodyEventTypeConnectionDeleted          CreateEventTopicRoute201JSONResponseBodyEventType = "connection.deleted"
	CreateEventTopicRoute201JSONResponseBodyEventTypeConnectionError            CreateEventTopicRoute201JSONResponseBodyEventType = "connection.error"
	CreateEventTopicRoute201JSONResponseBodyEventTypeConnectionRefreshed        CreateEventTopicRoute201JSONResponseBodyEventType = "connection.refreshed"
	CreateEventTopicRoute201JSONResponseBodyEventTypeConnectionUpdated          CreateEventTopicRoute201JSONResponseBodyEventType = "connection.updated"
	CreateEventTopicRoute201JSONResponseBodyEventTypeDestinationWebhookDisabled CreateEventTopicRoute201JSONResponseBodyEventType = "destination.webhook.disabled"
	CreateEventTopicRoute201JSONResponseBodyEventTypeInstallationCreated        CreateEventTopicRoute201JSONResponseBodyEventType = "installation.created"
	CreateEventTopicRoute201JSONResponseBodyEventTypeInstallationDeleted        CreateEventTopicRoute201JSONResponseBodyEventType = "installation.deleted"
	CreateEventTopicRoute201JSONResponseBodyEventTypeInstallationUpdated        CreateEventTopicRoute201JSONResponseBodyEventType = "installation.updated"
	CreateEventTopicRoute201JSONResponseBodyEventTypeReadBackfillDone           CreateEventTopicRoute201JSONResponseBodyEventType = "read.backfill.done"
	CreateEventTopicRoute201JSONResponseBodyEventTypeReadSchedulePaused         CreateEventTopicRoute201JSONResponseBodyEventType = "read.schedule.paused"
	CreateEventTopicRoute201JSONResponseBodyEventTypeReadTriggeredDone          CreateEventTopicRoute201JSONResponseBodyEventType = "read.triggered.done"
	CreateEventTopicRoute201JSONResponseBodyEventTypeReadTriggeredError         CreateEventTopicRoute201JSONResponseBodyEventType = "read.triggered.error"
	CreateEventTopicRoute201JSONResponseBodyEventTypeSubscribeCreateError       CreateEventTopicRoute201JSONResponseBodyEventType = "subscribe.create.error"
	CreateEventTopicRoute201JSONResponseBodyEventTypeWriteAsyncDone             CreateEventTopicRoute201JSONResponseBodyEventType = "write.async.done"
)

Defines values for CreateEventTopicRoute201JSONResponseBodyEventType.

func (CreateEventTopicRoute201JSONResponseBodyEventType) Valid

Valid indicates whether the value is a known member of the CreateEventTopicRoute201JSONResponseBodyEventType enum.

type CreateEventTopicRouteJSONBody

type CreateEventTopicRouteJSONBody struct {
	// EventType The type of notification event.
	EventType CreateEventTopicRouteJSONBodyEventType `json:"eventType"`

	// TopicId The ID of the topic to route events to.
	TopicId string `json:"topicId"`
}

CreateEventTopicRouteJSONBody defines parameters for CreateEventTopicRoute.

type CreateEventTopicRouteJSONBodyEventType

type CreateEventTopicRouteJSONBodyEventType string

CreateEventTopicRouteJSONBodyEventType defines parameters for CreateEventTopicRoute.

const (
	CreateEventTopicRouteJSONBodyEventTypeConnectionCreated          CreateEventTopicRouteJSONBodyEventType = "connection.created"
	CreateEventTopicRouteJSONBodyEventTypeConnectionDeleted          CreateEventTopicRouteJSONBodyEventType = "connection.deleted"
	CreateEventTopicRouteJSONBodyEventTypeConnectionError            CreateEventTopicRouteJSONBodyEventType = "connection.error"
	CreateEventTopicRouteJSONBodyEventTypeConnectionRefreshed        CreateEventTopicRouteJSONBodyEventType = "connection.refreshed"
	CreateEventTopicRouteJSONBodyEventTypeConnectionUpdated          CreateEventTopicRouteJSONBodyEventType = "connection.updated"
	CreateEventTopicRouteJSONBodyEventTypeDestinationWebhookDisabled CreateEventTopicRouteJSONBodyEventType = "destination.webhook.disabled"
	CreateEventTopicRouteJSONBodyEventTypeInstallationCreated        CreateEventTopicRouteJSONBodyEventType = "installation.created"
	CreateEventTopicRouteJSONBodyEventTypeInstallationDeleted        CreateEventTopicRouteJSONBodyEventType = "installation.deleted"
	CreateEventTopicRouteJSONBodyEventTypeInstallationUpdated        CreateEventTopicRouteJSONBodyEventType = "installation.updated"
	CreateEventTopicRouteJSONBodyEventTypeReadBackfillDone           CreateEventTopicRouteJSONBodyEventType = "read.backfill.done"
	CreateEventTopicRouteJSONBodyEventTypeReadSchedulePaused         CreateEventTopicRouteJSONBodyEventType = "read.schedule.paused"
	CreateEventTopicRouteJSONBodyEventTypeReadTriggeredDone          CreateEventTopicRouteJSONBodyEventType = "read.triggered.done"
	CreateEventTopicRouteJSONBodyEventTypeReadTriggeredError         CreateEventTopicRouteJSONBodyEventType = "read.triggered.error"
	CreateEventTopicRouteJSONBodyEventTypeSubscribeCreateError       CreateEventTopicRouteJSONBodyEventType = "subscribe.create.error"
	CreateEventTopicRouteJSONBodyEventTypeWriteAsyncDone             CreateEventTopicRouteJSONBodyEventType = "write.async.done"
)

Defines values for CreateEventTopicRouteJSONBodyEventType.

func (CreateEventTopicRouteJSONBodyEventType) Valid

Valid indicates whether the value is a known member of the CreateEventTopicRouteJSONBodyEventType enum.

type CreateEventTopicRouteJSONRequestBody

type CreateEventTopicRouteJSONRequestBody CreateEventTopicRouteJSONBody

CreateEventTopicRouteJSONRequestBody defines body for CreateEventTopicRoute for application/json ContentType.

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type CreateInstallation201JSONResponseBodyConnectionAuthScheme

type CreateInstallation201JSONResponseBodyConnectionAuthScheme string

CreateInstallation201JSONResponseBodyConnectionAuthScheme defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeApiKey                      CreateInstallation201JSONResponseBodyConnectionAuthScheme = "apiKey"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeBasic                       CreateInstallation201JSONResponseBodyConnectionAuthScheme = "basic"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeNone                        CreateInstallation201JSONResponseBodyConnectionAuthScheme = "none"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     CreateInstallation201JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE CreateInstallation201JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     CreateInstallation201JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	CreateInstallation201JSONResponseBodyConnectionAuthSchemeOauth2password              CreateInstallation201JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for CreateInstallation201JSONResponseBodyConnectionAuthScheme.

func (CreateInstallation201JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConnectionAuthScheme enum.

type CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource

type CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource string

CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConnectionProviderMetadataSourceInput    CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource = "input"
	CreateInstallation201JSONResponseBodyConnectionProviderMetadataSourceProvider CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource = "provider"
	CreateInstallation201JSONResponseBodyConnectionProviderMetadataSourceToken    CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource.

func (CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConnectionProviderMetadataSource enum.

type CreateInstallation201JSONResponseBodyConnectionStatus

type CreateInstallation201JSONResponseBodyConnectionStatus string

CreateInstallation201JSONResponseBodyConnectionStatus defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyConnectionStatusBadCredentials CreateInstallation201JSONResponseBodyConnectionStatus = "bad_credentials"
	CreateInstallation201JSONResponseBodyConnectionStatusCreated        CreateInstallation201JSONResponseBodyConnectionStatus = "created"
	CreateInstallation201JSONResponseBodyConnectionStatusWorking        CreateInstallation201JSONResponseBodyConnectionStatus = "working"
)

Defines values for CreateInstallation201JSONResponseBodyConnectionStatus.

func (CreateInstallation201JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyConnectionStatus enum.

type CreateInstallation201JSONResponseBodyHealthStatus

type CreateInstallation201JSONResponseBodyHealthStatus string

CreateInstallation201JSONResponseBodyHealthStatus defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyHealthStatusHealthy   CreateInstallation201JSONResponseBodyHealthStatus = "healthy"
	CreateInstallation201JSONResponseBodyHealthStatusUnhealthy CreateInstallation201JSONResponseBodyHealthStatus = "unhealthy"
)

Defines values for CreateInstallation201JSONResponseBodyHealthStatus.

func (CreateInstallation201JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyHealthStatus enum.

type CreateInstallation201JSONResponseBodyLastOperationStatus

type CreateInstallation201JSONResponseBodyLastOperationStatus string

CreateInstallation201JSONResponseBodyLastOperationStatus defines parameters for CreateInstallation.

const (
	CreateInstallation201JSONResponseBodyLastOperationStatusFailure    CreateInstallation201JSONResponseBodyLastOperationStatus = "failure"
	CreateInstallation201JSONResponseBodyLastOperationStatusInProgress CreateInstallation201JSONResponseBodyLastOperationStatus = "in_progress"
	CreateInstallation201JSONResponseBodyLastOperationStatusSuccess    CreateInstallation201JSONResponseBodyLastOperationStatus = "success"
)

Defines values for CreateInstallation201JSONResponseBodyLastOperationStatus.

func (CreateInstallation201JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the CreateInstallation201JSONResponseBodyLastOperationStatus enum.

type CreateInstallationJSONBody

type CreateInstallationJSONBody struct {
	// Config The config of the installation.
	Config struct {
		// Content The content of the config.
		Content struct {
			// Provider The SaaS API that we are integrating with.
			Provider string `json:"provider"`
			Proxy    *struct {
				Enabled *bool `json:"enabled,omitempty"`
			} `json:"proxy,omitempty"`
			Read *struct {
				Objects map[string]struct {
					Backfill *struct {
						DefaultPeriod struct {
							// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
							Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

							// FullHistory If true, backfill all history. Required if days is not set.
							FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
						} `json:"defaultPeriod"`

						// FieldFilters Filters to apply only during backfill. Multiple conditions are joined by AND. Use this when you want different filter behavior for backfill vs. incremental reads.
						FieldFilters []struct {
							// FieldName The name of the field to filter on.
							FieldName string `json:"fieldName"`

							// Operator The comparison operator.
							Operator CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator `json:"operator"`

							// Value The value to filter on. Allowed types are string, boolean, and number.
							Value interface{} `json:"value,omitempty"`
						} `json:"fieldFilters,omitempty"`
					} `json:"backfill,omitempty"`

					// Destination The name of the destination that the result should be sent to.
					Destination string `json:"destination,omitempty"`

					// Disabled If this flag is set to true, scheduled reads associated with this object will be paused, and on-demand reads will not be allowed.
					Disabled *bool `json:"disabled,omitempty"`

					// DynamicMappingsInput An array containing all available dynamic field and value mappings for this installation, provided by the InstallIntegration component. This array represents the complete set of possible mappings, regardless of which ones are currently selected. The actual selected mappings are stored separately in the selectedFieldMappings property.
					DynamicMappingsInput *[]struct {
						// FieldName The name of the field in SaaS provider, if present, then we will not prompt the user to map the field.
						FieldName *string `json:"fieldName,omitempty"`

						// MapToDisplayName Optional display name of the field to show the user in the mapping UI.
						MapToDisplayName *string `json:"mapToDisplayName,omitempty"`

						// MapToName The name of the field in your application.
						MapToName string `json:"mapToName"`

						// MappedValues If you would like the user to map a set of possible values, this is the list of possible values of the field in your application.
						MappedValues *[]struct {
							MappedDisplayValue string `json:"mappedDisplayValue"`
							MappedValue        string `json:"mappedValue"`
						} `json:"mappedValues,omitempty"`

						// Prompt Optional prompt to show the user in the mapping UI.
						Prompt *string `json:"prompt,omitempty"`
					} `json:"dynamicMappingsInput,omitempty"`

					// FieldFilters Filters to apply when reading records during incremental reads and backfill. Multiple conditions are joined by AND. Each field can only have one condition.
					FieldFilters []struct {
						// FieldName The name of the field to filter on.
						FieldName string `json:"fieldName"`

						// Operator The comparison operator.
						Operator CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator `json:"operator"`

						// Value The value to filter on. Allowed types are string, boolean, and number.
						Value interface{} `json:"value,omitempty"`
					} `json:"fieldFilters,omitempty"`

					// ObjectName The name of the object to read from.
					ObjectName string `json:"objectName" validate:"required"`

					// Schedule The schedule for reading the object, in cron syntax.
					Schedule string `json:"schedule,omitempty"`

					// SelectedFieldMappings This is a map of mapToNames to field names. (A mapTo name is the name the builder wants to map a field to when it lands in their destination.)
					SelectedFieldMappings map[string]string `json:"selectedFieldMappings"`

					// SelectedFields This is a map of field names to booleans indicating whether they should be read. If a field is already included in `selectedFieldMappings`, it does not need to be included here.
					SelectedFields map[string]bool `json:"selectedFields"`

					// SelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.
					SelectedFieldsAuto *CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto `json:"selectedFieldsAuto,omitempty"`

					// SelectedValueMappings This is a map of field names to their value mappings.
					SelectedValueMappings map[string]map[string]string `json:"selectedValueMappings,omitempty"`
				} `json:"objects"`
			} `json:"read,omitempty"`
			Subscribe *struct {
				Objects map[string]struct {
					CreateEvent *struct {
						// Enabled Conditions to enable create events.
						Enabled CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled `json:"enabled" validate:"oneof=always never"`
					} `json:"createEvent,omitempty"`
					DeleteEvent *struct {
						// Enabled Conditions to enable delete events.
						Enabled CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled `json:"enabled" validate:"oneof=always never"`
					} `json:"deleteEvent,omitempty"`

					// Destination The name of the destination that the result should be sent to.
					Destination string `json:"destination"`

					// InheritFieldsAndMappings Whether to inherit fields and mappings from the read config.
					InheritFieldsAndMappings bool `json:"inheritFieldsAndMappings"`

					// ObjectName The name of the object to subscribe to.
					ObjectName  string    `json:"objectName" validate:"required"`
					OtherEvents *[]string `json:"otherEvents,omitempty"`
					UpdateEvent *struct {
						// Enabled Conditions to enable update events.
						Enabled CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled `json:"enabled" validate:"oneof=always never"`

						// RequiredWatchFields The fields that should be watched.
						RequiredWatchFields *[]string `json:"requiredWatchFields,omitempty"`

						// WatchFieldsAuto Whether to watch fields all fields automatically.
						WatchFieldsAuto *CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
					} `json:"updateEvent,omitempty"`
				} `json:"objects"`
			} `json:"subscribe,omitempty"`
			Write *struct {
				Objects *map[string]struct {
					DeletionSettings *struct {
						// Enabled Whether deletion is enabled for this object
						Enabled bool `json:"enabled"`
					} `json:"deletionSettings,omitempty"`

					// ObjectName The name of the object to write to.
					ObjectName string `json:"objectName" validate:"required"`

					// SelectedFieldSettings This is a map of field names to their settings.
					SelectedFieldSettings map[string]struct {
						// Default Only use one of stringValue, integerValue, booleanValue.
						Default *struct {
							// BooleanValue The default boolean value to apply to a field
							BooleanValue *bool `json:"booleanValue,omitempty"`

							// IntegerValue The default integer value to apply to a field
							IntegerValue *int `json:"integerValue,omitempty"`

							// StringValue The default string value to apply to a field
							StringValue *string `json:"stringValue,omitempty"`
						} `json:"default,omitempty"`

						// WriteOnCreate Whether the default value should be applied when creating a record.
						WriteOnCreate CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate `json:"writeOnCreate,omitempty"`

						// WriteOnUpdate Whether the default value should be applied when updating a record.
						// - always: Always write to the field on update
						// - never: Never write to the field on update
						// - ifEmpty: Only write to the field if it's currently empty (unset or empty string).
						WriteOnUpdate CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate `json:"writeOnUpdate,omitempty"`
					} `json:"selectedFieldSettings,omitempty"`

					// SelectedValueDefaults This is a map of field names to default values. These values will be used when writing to the object.
					// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
					SelectedValueDefaults map[string]any `json:"selectedValueDefaults,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"write,omitempty"`
		} `json:"content"`

		// CreatedBy The person who created the config, in the format of "consumer:{consumer-id}", "builder:{builder-id}", or "api:{api-caller}".
		CreatedBy *string `json:"createdBy,omitempty"`

		// RevisionId Deprecated: This field will be automatically set to the latest revision.
		// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
		RevisionId *string `json:"revisionId,omitempty"`
	} `json:"config"`

	// ConnectionId The ID of the SaaS connection tied to this installation. If omitted the default connection for this group will be used.
	ConnectionId *string `json:"connectionId,omitempty"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef string `json:"groupRef"`
}

CreateInstallationJSONBody defines parameters for CreateInstallation.

type CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator

type CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator string

CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperatorEq CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator.

func (CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentReadObjectsFieldFiltersOperator enum.

type CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto

type CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto string

CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto.

func (CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled

type CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled string

CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabledAlways CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabledNever  CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled

type CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled string

CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled

type CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled string

CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for CreateInstallation.

const (
	CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the CreateInstallationJSONBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type CreateInstallationJSONRequestBody

type CreateInstallationJSONRequestBody CreateInstallationJSONBody

CreateInstallationJSONRequestBody defines body for CreateInstallation for application/json ContentType.

type CreateInstallationParams

type CreateInstallationParams struct {
	// SkipSampling When `true`, skips the sample read that validates the installation's read configuration against the provider before saving. Defaults to `false`.
	SkipSampling *bool `form:"skipSampling,omitempty" json:"skipSampling,omitempty"`
}

CreateInstallationParams defines parameters for CreateInstallation.

type CreateIntegrationJSONBody

type CreateIntegrationJSONBody struct {
	LatestRevision struct {
		Content struct {
			DisplayName string `json:"displayName,omitempty"`
			Module      string `json:"module,omitempty"`
			Name        string `json:"name"`
			Provider    string `json:"provider"`
			Proxy       *struct {
				Enabled *bool `json:"enabled,omitempty"`

				// UseModule Default is false. If this is set to true, the base URL for the proxy action will be the module's base URL. Otherwise, it is assumed that the base URL is the provider's root base URL.
				UseModule *bool `json:"useModule,omitempty"`
			} `json:"proxy,omitempty"`
			Read *struct {
				Objects *[]struct {
					Backfill *struct {
						DefaultPeriod struct {
							// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
							Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

							// FullHistory If true, backfill all history. Required if days is not set.
							FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
						} `json:"defaultPeriod"`
					} `json:"backfill,omitempty"`
					Delivery *struct {
						// Mode The data delivery mode for this object. If not specified, defaults to automatic.
						Mode *CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode `json:"mode,omitempty"`

						// PageSize The number of records to receive per data delivery.
						PageSize *int `json:"pageSize,omitempty"`
					} `json:"delivery,omitempty"`
					Destination string `json:"destination"`

					// Enabled If set to `always`, the integration will automatically install upon user connection and skip the user field selection step.
					Enabled CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled `json:"enabled,omitempty"`

					// MapToDisplayName A display name to map to.
					MapToDisplayName string `json:"mapToDisplayName,omitempty"`

					// MapToName An object name to map to.
					MapToName          string                                                                               `json:"mapToName,omitempty"`
					ObjectName         string                                                                               `json:"objectName"`
					OptionalFields     *[]CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item `json:"optionalFields,omitempty"`
					OptionalFieldsAuto *CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto         `json:"optionalFieldsAuto,omitempty"`
					RequiredFields     *[]CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item `json:"requiredFields,omitempty"`
					Schedule           string                                                                               `json:"schedule"`
				} `json:"objects,omitempty"`
			} `json:"read,omitempty"`
			Subscribe *struct {
				Objects *[]struct {
					AssociationChangeEvent *struct {
						// Enabled If always, the integration will subscribe to association change events.
						Enabled *CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled `json:"enabled,omitempty"`

						// IncludeFullRecords If true, the integration will include full records in the event payload.
						IncludeFullRecords *bool `json:"includeFullRecords,omitempty"`
					} `json:"associationChangeEvent,omitempty"`
					CreateEvent *struct {
						// Enabled If always, the integration will subscribe to create events by default.
						Enabled *CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled `json:"enabled,omitempty"`
					} `json:"createEvent,omitempty"`
					DeleteEvent *struct {
						// Enabled If always, the integration will subscribe to delete events by default.
						Enabled *CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled `json:"enabled,omitempty"`
					} `json:"deleteEvent,omitempty"`
					Destination string `json:"destination"`

					// InheritFieldsAndMapping If true, the integration will inherit the fields and mapping from the read object.
					InheritFieldsAndMapping bool      `json:"inheritFieldsAndMapping,omitempty"`
					ObjectName              string    `json:"objectName"`
					OtherEvents             *[]string `json:"otherEvents,omitempty"`
					UpdateEvent             *struct {
						// Enabled If always, the integration will subscribe to update events by default.
						Enabled             *CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled `json:"enabled,omitempty"`
						RequiredWatchFields *[]string                                                                         `json:"requiredWatchFields,omitempty"`

						// WatchFieldsAuto If `all`, the integration will watch all fields for updates. If `selected`, the integration will watch only the fields that are selected by the user. If `inheritFieldsAndMapping` is true for Subscribe action, the integration will watch the selected fields from read action that are selected by the user.
						WatchFieldsAuto *CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
					} `json:"updateEvent,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"subscribe,omitempty"`

			// WatchSchema Configuration for monitoring provider schema changes.
			WatchSchema *struct {
				// AllObjects Schema change event configuration for all objects in the integration.
				AllObjects struct {
					// FieldChanged Configuration for detecting when fields are changed.
					FieldChanged *struct {
						// Enabled If always, the integration will monitor for field changes by default.
						Enabled CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled `json:"enabled"`
					} `json:"fieldChanged,omitempty"`

					// FieldCreated Configuration for detecting when new fields are created.
					FieldCreated *struct {
						// Enabled If always, the integration will monitor for new fields by default.
						Enabled CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled `json:"enabled"`
					} `json:"fieldCreated,omitempty"`

					// FieldDeleted Configuration for detecting when fields are deleted.
					FieldDeleted *struct {
						// Enabled If always, the integration will monitor for deleted fields by default.
						Enabled CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled `json:"enabled"`
					} `json:"fieldDeleted,omitempty"`
				} `json:"allObjects"`

				// Destination The destination to send schema change notifications to.
				Destination string `json:"destination"`

				// Schedule Cron schedule for checking schema changes. Minimum frequency is once per hour. Defaults to once a day.
				Schedule string `json:"schedule,omitempty"`
			} `json:"watchSchema,omitempty"`
			Write *struct {
				Objects *[]struct {
					// InheritMapping If true, the write object will inherit the mapping from the read object. If false, the write object will have no mapping.
					InheritMapping *bool  `json:"inheritMapping,omitempty"`
					ObjectName     string `json:"objectName"`

					// ValueDefaults Configuration to set default write values for object fields.
					ValueDefaults *struct {
						// AllowAnyFields If true, users can set default values for any field.
						AllowAnyFields *bool `json:"allowAnyFields,omitempty"`
					} `json:"valueDefaults,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"write,omitempty"`
		} `json:"content"`

		// SpecVersion The spec version string.
		SpecVersion string `json:"specVersion"`
	} `json:"latestRevision"`

	// Name The integration name.
	Name string `json:"name"`

	// Provider The provider name (e.g. "salesforce", "hubspot")
	Provider string `json:"provider"`
}

CreateIntegrationJSONBody defines parameters for CreateIntegration.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode string

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryModeAuto      CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode = "auto"
	CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryModeOnRequest CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode.

func (CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentReadObjectsDeliveryMode enum.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled string

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentReadObjectsEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0 defines parameters for CreateIntegration.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1 defines parameters for CreateIntegration.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto string

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAutoAll CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto.

func (CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFieldsAuto enum.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0 defines parameters for CreateIntegration.

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

type CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1 defines parameters for CreateIntegration.

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled string

CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled string

CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled string

CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled string

CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled defines parameters for CreateIntegration.

const (
	CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the CreateIntegrationJSONBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item

type CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item defines parameters for CreateIntegration.

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0 returns the union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1 returns the union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields0

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsOptionalFields1

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item

type CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item defines parameters for CreateIntegration.

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0 returns the union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

AsCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1 returns the union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

FromCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

func (CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields0

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

MergeCreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided CreateIntegrationJSONBodyLatestRevisionContentReadObjectsRequiredFields1

func (*CreateIntegrationJSONBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type CreateIntegrationJSONRequestBody

type CreateIntegrationJSONRequestBody CreateIntegrationJSONBody

CreateIntegrationJSONRequestBody defines body for CreateIntegration for application/json ContentType.

type CreateJWTKeyJSONBody

type CreateJWTKeyJSONBody struct {
	// Algorithm The cryptographic JWT signing algorithm (currently only RS256 is supported)
	Algorithm CreateJWTKeyJSONBodyAlgorithm `json:"algorithm"`

	// Label Human-readable label for the JWT key
	Label string `json:"label"`

	// PublicKeyPem RSA public key in PEM format for JWT signature verification
	PublicKeyPem string `json:"publicKeyPem"`
}

CreateJWTKeyJSONBody defines parameters for CreateJWTKey.

type CreateJWTKeyJSONBodyAlgorithm

type CreateJWTKeyJSONBodyAlgorithm string

CreateJWTKeyJSONBodyAlgorithm defines parameters for CreateJWTKey.

const (
	CreateJWTKeyJSONBodyAlgorithmRS256 CreateJWTKeyJSONBodyAlgorithm = "RS256"
)

Defines values for CreateJWTKeyJSONBodyAlgorithm.

func (CreateJWTKeyJSONBodyAlgorithm) Valid

Valid indicates whether the value is a known member of the CreateJWTKeyJSONBodyAlgorithm enum.

type CreateJWTKeyJSONRequestBody

type CreateJWTKeyJSONRequestBody CreateJWTKeyJSONBody

CreateJWTKeyJSONRequestBody defines body for CreateJWTKey for application/json ContentType.

type CreateJWTKeyRequest

type CreateJWTKeyRequest struct {
	// Algorithm The cryptographic JWT signing algorithm (currently only RS256 is supported)
	Algorithm CreateJWTKeyRequestAlgorithm `json:"algorithm"`

	// Label Human-readable label for the JWT key
	Label string `json:"label"`

	// PublicKeyPem RSA public key in PEM format for JWT signature verification
	PublicKeyPem string `json:"publicKeyPem"`
}

CreateJWTKeyRequest defines model for CreateJWTKeyRequest.

type CreateJWTKeyRequestAlgorithm

type CreateJWTKeyRequestAlgorithm string

CreateJWTKeyRequestAlgorithm The cryptographic JWT signing algorithm (currently only RS256 is supported)

const (
	CreateJWTKeyRequestAlgorithmRS256 CreateJWTKeyRequestAlgorithm = "RS256"
)

Defines values for CreateJWTKeyRequestAlgorithm.

func (CreateJWTKeyRequestAlgorithm) Valid

Valid indicates whether the value is a known member of the CreateJWTKeyRequestAlgorithm enum.

type CreateOrgInvite201JSONResponseBodyParentType

type CreateOrgInvite201JSONResponseBodyParentType string

CreateOrgInvite201JSONResponseBodyParentType defines parameters for CreateOrgInvite.

const (
	CreateOrgInvite201JSONResponseBodyParentTypeOrg CreateOrgInvite201JSONResponseBodyParentType = "org"
)

Defines values for CreateOrgInvite201JSONResponseBodyParentType.

func (CreateOrgInvite201JSONResponseBodyParentType) Valid

Valid indicates whether the value is a known member of the CreateOrgInvite201JSONResponseBodyParentType enum.

type CreateOrgInvite201JSONResponseBodyStatus

type CreateOrgInvite201JSONResponseBodyStatus string

CreateOrgInvite201JSONResponseBodyStatus defines parameters for CreateOrgInvite.

const (
	CreateOrgInvite201JSONResponseBodyStatusAccepted CreateOrgInvite201JSONResponseBodyStatus = "accepted"
	CreateOrgInvite201JSONResponseBodyStatusExpired  CreateOrgInvite201JSONResponseBodyStatus = "expired"
	CreateOrgInvite201JSONResponseBodyStatusPending  CreateOrgInvite201JSONResponseBodyStatus = "pending"
	CreateOrgInvite201JSONResponseBodyStatusRevoked  CreateOrgInvite201JSONResponseBodyStatus = "revoked"
)

Defines values for CreateOrgInvite201JSONResponseBodyStatus.

func (CreateOrgInvite201JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the CreateOrgInvite201JSONResponseBodyStatus enum.

type CreateOrgInviteJSONBody

type CreateOrgInviteJSONBody struct {
	// Email The email address of the user to invite.
	Email string `json:"email"`
}

CreateOrgInviteJSONBody defines parameters for CreateOrgInvite.

type CreateOrgInviteJSONRequestBody

type CreateOrgInviteJSONRequestBody CreateOrgInviteJSONBody

CreateOrgInviteJSONRequestBody defines body for CreateOrgInvite for application/json ContentType.

type CreateOrgJSONBody

type CreateOrgJSONBody struct {
	// Label The organization label.
	Label string `json:"label"`
}

CreateOrgJSONBody defines parameters for CreateOrg.

type CreateOrgJSONRequestBody

type CreateOrgJSONRequestBody CreateOrgJSONBody

CreateOrgJSONRequestBody defines body for CreateOrg for application/json ContentType.

type CreateProjectJSONBody

type CreateProjectJSONBody struct {
	// AppName The display name of your application, shown to end users during the connection flow.
	AppName string `json:"appName"`

	// Name The unique name for the project. Must contain only letters, numbers, and hyphens. Values are normalized to lowercase on save.
	Name string `json:"name"`

	// OrgId The ID of the organization this project belongs to. Obtain this from the Ampersand Dashboard or by calling `GET /orgs`.
	OrgId string `json:"orgId"`
}

CreateProjectJSONBody defines parameters for CreateProject.

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody CreateProjectJSONBody

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProviderAppJSONBody

type CreateProviderAppJSONBody struct {
	// ClientId The OAuth client ID for this app.
	ClientId string `json:"clientId"`

	// ClientSecret The OAuth client secret for this app.
	ClientSecret string `json:"clientSecret"`

	// ExternalRef The ID used by the provider to identify the app (optional).
	ExternalRef *string `json:"externalRef,omitempty"`

	// Metadata Provider-specific configuration that extends the standard OAuth flow.
	Metadata *struct {
		// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
		AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

		// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
		ProviderParams *map[string]string `json:"providerParams,omitempty"`
	} `json:"metadata,omitempty"`

	// Provider The SaaS provider that this app connects to.
	Provider string `json:"provider"`

	// Scopes The OAuth scopes for this app.
	Scopes *[]string `json:"scopes,omitempty"`
}

CreateProviderAppJSONBody defines parameters for CreateProviderApp.

type CreateProviderAppJSONRequestBody

type CreateProviderAppJSONRequestBody CreateProviderAppJSONBody

CreateProviderAppJSONRequestBody defines body for CreateProviderApp for application/json ContentType.

type CreateRevisionJSONBody

type CreateRevisionJSONBody struct {
	// SourceYaml The source YAML file that defines the revision.
	SourceYaml *string `json:"sourceYaml,omitempty"`

	// SourceZipUrl URL of where a zip of the source files can be downloaded (e.g. Google Cloud Storage URL).
	SourceZipUrl *string `json:"sourceZipUrl,omitempty"`
}

CreateRevisionJSONBody defines parameters for CreateRevision.

type CreateRevisionJSONRequestBody

type CreateRevisionJSONRequestBody CreateRevisionJSONBody

CreateRevisionJSONRequestBody defines body for CreateRevision for application/json ContentType.

type CreateRevisionParams

type CreateRevisionParams struct {
	// Destructive Defaults to false. This flag controls whether to perform destructive actions when deploying integrations, like pausing all read actions for an object that was removed in the latest revision.
	Destructive *bool `form:"destructive,omitempty" json:"destructive,omitempty"`
}

CreateRevisionParams defines parameters for CreateRevision.

type CreateTopicDestinationRouteJSONBody

type CreateTopicDestinationRouteJSONBody struct {
	// DestinationId The ID of the destination.
	DestinationId string `json:"destinationId"`

	// TopicId The ID of the topic.
	TopicId string `json:"topicId"`
}

CreateTopicDestinationRouteJSONBody defines parameters for CreateTopicDestinationRoute.

type CreateTopicDestinationRouteJSONRequestBody

type CreateTopicDestinationRouteJSONRequestBody CreateTopicDestinationRouteJSONBody

CreateTopicDestinationRouteJSONRequestBody defines body for CreateTopicDestinationRoute for application/json ContentType.

type CreateTopicJSONBody

type CreateTopicJSONBody struct {
	// Name The name of the topic. Must contain only letters, numbers, and dashes.
	Name string `json:"name"`
}

CreateTopicJSONBody defines parameters for CreateTopic.

type CreateTopicJSONRequestBody

type CreateTopicJSONRequestBody CreateTopicJSONBody

CreateTopicJSONRequestBody defines body for CreateTopic for application/json ContentType.

type Destination

type Destination struct {
	// CreateTime The time the destination was created.
	CreateTime time.Time `json:"createTime"`

	// Id The destination ID.
	Id       string `json:"id"`
	Metadata struct {
		// Bucket The name of the S3 bucket
		Bucket *string `json:"bucket,omitempty"`

		// Headers Additional headers to add when Ampersand sends a webhook message
		Headers *map[string]string `json:"headers,omitempty"`

		// KeyTemplate JMESPath template for generating S3 object keys
		KeyTemplate *string `json:"keyTemplate,omitempty"`

		// PartitionKeyTemplate Template for generating partition keys
		PartitionKeyTemplate *string `json:"partitionKeyTemplate,omitempty"`

		// Region The AWS region for the destination
		Region *string `json:"region,omitempty"`

		// StorageClass The S3 storage class for written objects (defaults to STANDARD)
		StorageClass *string `json:"storageClass,omitempty"`

		// StreamName The name of the Kinesis stream
		StreamName *string `json:"streamName,omitempty"`

		// Url Webhook URL
		Url *string `json:"url,omitempty"`
	} `json:"metadata"`

	// Name User-defined name for the destination.
	Name string `json:"name"`

	// Type The type of the destination.
	Type string `json:"type"`

	// UpdateTime The time the destination was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Destination defines model for Destination.

type DestinationWithSecrets

type DestinationWithSecrets struct {
	// CreateTime The time the destination was created.
	CreateTime time.Time `json:"createTime"`

	// Id The destination ID.
	Id       string `json:"id"`
	Metadata struct {
		// Bucket The name of the S3 bucket
		Bucket *string `json:"bucket,omitempty"`

		// Headers Additional headers to add when Ampersand sends a webhook message
		Headers *map[string]string `json:"headers,omitempty"`

		// KeyTemplate JMESPath template for generating S3 object keys
		KeyTemplate *string `json:"keyTemplate,omitempty"`

		// PartitionKeyTemplate Template for generating partition keys
		PartitionKeyTemplate *string `json:"partitionKeyTemplate,omitempty"`

		// Region The AWS region for the destination
		Region *string `json:"region,omitempty"`

		// StorageClass The S3 storage class for written objects (defaults to STANDARD)
		StorageClass *string `json:"storageClass,omitempty"`

		// StreamName The name of the Kinesis stream
		StreamName *string `json:"streamName,omitempty"`

		// Url Webhook URL
		Url *string `json:"url,omitempty"`
	} `json:"metadata"`

	// Name User-defined name for the destination.
	Name string `json:"name"`

	// Secrets Destination secrets (only included when includeSecrets is true)
	Secrets *struct {
		// WebhookSigningKey Webhook signing key for the destination (only included for webhook destinations)
		WebhookSigningKey *string `json:"webhookSigningKey,omitempty"`
	} `json:"secrets,omitempty"`

	// Type The type of the destination.
	Type string `json:"type"`

	// UpdateTime The time the destination was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

DestinationWithSecrets Destination object with secrets field (returned by getDestination when includeSecrets is true)

type FieldDefinition

type FieldDefinition struct {
	// Association Relationship information for a field to another object
	Association *struct {
		// AssociationType High-level association variety (e.g., 'foreignKey', 'lookup', 'ref')
		AssociationType string `json:"associationType"`

		// Cardinality Association cardinality from the referencing field's perspective
		Cardinality *string `json:"cardinality,omitempty"`

		// Labels UI labels for an association
		Labels *struct {
			// Plural Plural display label
			Plural *string `json:"plural,omitempty"`

			// Singular Singular display label
			Singular *string `json:"singular,omitempty"`
		} `json:"labels,omitempty"`

		// OnDelete Behavior upon foreign object deletion
		OnDelete *string `json:"onDelete,omitempty"`

		// Required If true, a referenced record must exist
		Required *bool `json:"required,omitempty"`

		// ReverseLookupFieldName Optional inverse relationship/property name exposed on the target object
		ReverseLookupFieldName *string `json:"reverseLookupFieldName,omitempty"`

		// TargetField Name of the referenced field on the target object
		TargetField *string `json:"targetField,omitempty"`

		// TargetObject Name of the referenced/parent object
		TargetObject string `json:"targetObject"`
	} `json:"association,omitempty"`

	// Description Optional description of the field
	Description *string `json:"description,omitempty"`

	// DisplayName The human-readable name of the field
	DisplayName string `json:"displayName"`

	// FieldName The identifier of the field
	FieldName string `json:"fieldName"`

	// Indexed Indicates if the field should be indexed for faster search
	Indexed *bool `json:"indexed,omitempty"`

	// NumericOptions Additional options for numeric fields
	NumericOptions *struct {
		// DefaultValue Default value for the field
		DefaultValue *float32 `json:"defaultValue,omitempty"`

		// Max Maximum value for numeric fields
		Max *float32 `json:"max,omitempty"`

		// Min Minimum value for numeric fields
		Min *float32 `json:"min,omitempty"`

		// Precision Total number of digits (for decimal types)
		Precision *int `json:"precision,omitempty"`

		// Scale Number of digits to the right of the decimal point (for decimal types)
		Scale *int `json:"scale,omitempty"`
	} `json:"numericOptions,omitempty"`

	// Required Indicates if the field is required
	Required *bool `json:"required,omitempty"`

	// StringOptions Additional options for string fields
	StringOptions *struct {
		// DefaultValue Default value for the field
		DefaultValue *string `json:"defaultValue,omitempty"`

		// Length Maximum length of the string field
		Length *int `json:"length,omitempty"`

		// Pattern Regex pattern that the string field value must match
		Pattern *string `json:"pattern,omitempty"`

		// Values List of allowed values for enum fields
		Values *[]string `json:"values,omitempty"`

		// ValuesRestricted Indicates if the field value must be limited to what's in Values
		ValuesRestricted *bool `json:"valuesRestricted,omitempty"`
	} `json:"stringOptions,omitempty"`

	// Unique Indicates if the field must be unique across all records
	Unique *bool `json:"unique,omitempty"`

	// ValueType The data type of the field. Valid values are string, boolean, date, datetime, singleSelect, multiSelect, int, float, reference
	ValueType string `json:"valueType"`
}

FieldDefinition Field definition for creating or updating custom fields

type FieldUpsertResult

type FieldUpsertResult struct {
	// Action Action taken (create, update, none)
	Action string `json:"action"`

	// FieldName Name of the field
	FieldName string `json:"fieldName"`

	// Metadata Provider-specific metadata about the field
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Warnings Warnings that occurred during the upsert operation
	Warnings *[]string `json:"warnings,omitempty"`
}

FieldUpsertResult Result of an upsert operation for a single field

type GenerateConnection201JSONResponseBodyAuthScheme

type GenerateConnection201JSONResponseBodyAuthScheme string

GenerateConnection201JSONResponseBodyAuthScheme defines parameters for GenerateConnection.

const (
	GenerateConnection201JSONResponseBodyAuthSchemeApiKey                      GenerateConnection201JSONResponseBodyAuthScheme = "apiKey"
	GenerateConnection201JSONResponseBodyAuthSchemeBasic                       GenerateConnection201JSONResponseBodyAuthScheme = "basic"
	GenerateConnection201JSONResponseBodyAuthSchemeNone                        GenerateConnection201JSONResponseBodyAuthScheme = "none"
	GenerateConnection201JSONResponseBodyAuthSchemeOauth2authorizationCode     GenerateConnection201JSONResponseBodyAuthScheme = "oauth2/authorizationCode"
	GenerateConnection201JSONResponseBodyAuthSchemeOauth2authorizationCodePKCE GenerateConnection201JSONResponseBodyAuthScheme = "oauth2/authorizationCodePKCE"
	GenerateConnection201JSONResponseBodyAuthSchemeOauth2clientCredentials     GenerateConnection201JSONResponseBodyAuthScheme = "oauth2/clientCredentials"
	GenerateConnection201JSONResponseBodyAuthSchemeOauth2password              GenerateConnection201JSONResponseBodyAuthScheme = "oauth2/password"
)

Defines values for GenerateConnection201JSONResponseBodyAuthScheme.

func (GenerateConnection201JSONResponseBodyAuthScheme) Valid

Valid indicates whether the value is a known member of the GenerateConnection201JSONResponseBodyAuthScheme enum.

type GenerateConnection201JSONResponseBodyProviderMetadataSource

type GenerateConnection201JSONResponseBodyProviderMetadataSource string

GenerateConnection201JSONResponseBodyProviderMetadataSource defines parameters for GenerateConnection.

const (
	GenerateConnection201JSONResponseBodyProviderMetadataSourceInput    GenerateConnection201JSONResponseBodyProviderMetadataSource = "input"
	GenerateConnection201JSONResponseBodyProviderMetadataSourceProvider GenerateConnection201JSONResponseBodyProviderMetadataSource = "provider"
	GenerateConnection201JSONResponseBodyProviderMetadataSourceToken    GenerateConnection201JSONResponseBodyProviderMetadataSource = "token"
)

Defines values for GenerateConnection201JSONResponseBodyProviderMetadataSource.

func (GenerateConnection201JSONResponseBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the GenerateConnection201JSONResponseBodyProviderMetadataSource enum.

type GenerateConnection201JSONResponseBodyStatus

type GenerateConnection201JSONResponseBodyStatus string

GenerateConnection201JSONResponseBodyStatus defines parameters for GenerateConnection.

const (
	GenerateConnection201JSONResponseBodyStatusBadCredentials GenerateConnection201JSONResponseBodyStatus = "bad_credentials"
	GenerateConnection201JSONResponseBodyStatusCreated        GenerateConnection201JSONResponseBodyStatus = "created"
	GenerateConnection201JSONResponseBodyStatusWorking        GenerateConnection201JSONResponseBodyStatus = "working"
)

Defines values for GenerateConnection201JSONResponseBodyStatus.

func (GenerateConnection201JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GenerateConnection201JSONResponseBodyStatus enum.

type GenerateConnectionJSONBody

type GenerateConnectionJSONBody struct {
	// ApiKey The API key to use for the connection.
	ApiKey    *string `json:"apiKey,omitempty"`
	BasicAuth *struct {
		// Password The password to use for the connection.
		Password string `json:"password"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"basicAuth,omitempty"`

	// ConsumerName The name of the consumer that has access to this installation.
	ConsumerName *string `json:"consumerName,omitempty"`

	// ConsumerRef The consumer reference.
	ConsumerRef string `json:"consumerRef"`

	// CustomAuth Values used for custom auth input variables. Most values are strings (API keys, tokens, etc.), but structured values like arrays are also accepted — for example, googleWorkspaceDelegation sends a `scopes` array alongside the service account key.
	CustomAuth *map[string]interface{} `json:"customAuth,omitempty"`

	// GroupName The name of the user group that has access to this installation.
	GroupName *string `json:"groupName,omitempty"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef                string `json:"groupRef"`
	Oauth2AuthorizationCode *struct {
		// AccessToken The access token for the connection.
		AccessToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"accessToken,omitempty"`

		// RefreshToken The refresh token to use for the connection.
		RefreshToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"refreshToken,omitempty"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2AuthorizationCode,omitempty"`
	Oauth2ClientCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2ClientCredentials,omitempty"`
	Oauth2PasswordCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Password The password to use for the connection.
		Password string `json:"password"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"oauth2PasswordCredentials,omitempty"`

	// Provider The provider name (e.g. "salesforce", "hubspot")
	Provider         string `json:"provider"`
	ProviderMetadata *map[string]struct {
		// DisplayName The human-readable name for the field
		DisplayName *string `json:"displayName,omitempty"`

		// Source The source of the metadata field
		Source GenerateConnectionJSONBodyProviderMetadataSource `json:"source"`

		// Value The value of the metadata field
		Value string `json:"value"`
	} `json:"providerMetadata,omitempty"`

	// ProviderWorkspaceRef The ID of the provider workspace that this connection belongs to.
	ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
}

GenerateConnectionJSONBody defines parameters for GenerateConnection.

type GenerateConnectionJSONBodyProviderMetadataSource

type GenerateConnectionJSONBodyProviderMetadataSource string

GenerateConnectionJSONBodyProviderMetadataSource defines parameters for GenerateConnection.

const (
	GenerateConnectionJSONBodyProviderMetadataSourceInput    GenerateConnectionJSONBodyProviderMetadataSource = "input"
	GenerateConnectionJSONBodyProviderMetadataSourceProvider GenerateConnectionJSONBodyProviderMetadataSource = "provider"
	GenerateConnectionJSONBodyProviderMetadataSourceToken    GenerateConnectionJSONBodyProviderMetadataSource = "token"
)

Defines values for GenerateConnectionJSONBodyProviderMetadataSource.

func (GenerateConnectionJSONBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the GenerateConnectionJSONBodyProviderMetadataSource enum.

type GenerateConnectionJSONRequestBody

type GenerateConnectionJSONRequestBody GenerateConnectionJSONBody

GenerateConnectionJSONRequestBody defines body for GenerateConnection for application/json ContentType.

type GenerateConnectionRequest

type GenerateConnectionRequest struct {
	// ApiKey The API key to use for the connection.
	ApiKey    *string `json:"apiKey,omitempty"`
	BasicAuth *struct {
		// Password The password to use for the connection.
		Password string `json:"password"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"basicAuth,omitempty"`

	// ConsumerName The name of the consumer that has access to this installation.
	ConsumerName *string `json:"consumerName,omitempty"`

	// ConsumerRef The consumer reference.
	ConsumerRef string `json:"consumerRef"`

	// CustomAuth Values used for custom auth input variables. Most values are strings (API keys, tokens, etc.), but structured values like arrays are also accepted — for example, googleWorkspaceDelegation sends a `scopes` array alongside the service account key.
	CustomAuth *map[string]interface{} `json:"customAuth,omitempty"`

	// GroupName The name of the user group that has access to this installation.
	GroupName *string `json:"groupName,omitempty"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef                string `json:"groupRef"`
	Oauth2AuthorizationCode *struct {
		// AccessToken The access token for the connection.
		AccessToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"accessToken,omitempty"`

		// RefreshToken The refresh token to use for the connection.
		RefreshToken *struct {
			ExpiresAt *time.Time `json:"expiresAt,omitempty"`
			IssuedAt  *time.Time `json:"issuedAt,omitempty"`
			Token     string     `json:"token"`
		} `json:"refreshToken,omitempty"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2AuthorizationCode,omitempty"`
	Oauth2ClientCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"oauth2ClientCredentials,omitempty"`
	Oauth2PasswordCredentials *struct {
		// ClientId The client ID to use for the connection.
		ClientId string `json:"clientId"`

		// ClientSecret The client secret to use for the connection.
		ClientSecret string `json:"clientSecret"`

		// Password The password to use for the connection.
		Password string `json:"password"`

		// Scopes The scopes for the tokens.
		Scopes *[]string `json:"scopes,omitempty"`

		// Username The username to use for the connection.
		Username string `json:"username"`
	} `json:"oauth2PasswordCredentials,omitempty"`

	// Provider The provider name (e.g. "salesforce", "hubspot")
	Provider         string `json:"provider"`
	ProviderMetadata *map[string]struct {
		// DisplayName The human-readable name for the field
		DisplayName *string `json:"displayName,omitempty"`

		// Source The source of the metadata field
		Source GenerateConnectionRequestProviderMetadataSource `json:"source"`

		// Value The value of the metadata field
		Value string `json:"value"`
	} `json:"providerMetadata,omitempty"`

	// ProviderWorkspaceRef The ID of the provider workspace that this connection belongs to.
	ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
}

GenerateConnectionRequest defines model for GenerateConnectionRequest.

type GenerateConnectionRequestProviderMetadataSource

type GenerateConnectionRequestProviderMetadataSource string

GenerateConnectionRequestProviderMetadataSource The source of the metadata field

const (
	GenerateConnectionRequestProviderMetadataSourceInput    GenerateConnectionRequestProviderMetadataSource = "input"
	GenerateConnectionRequestProviderMetadataSourceProvider GenerateConnectionRequestProviderMetadataSource = "provider"
	GenerateConnectionRequestProviderMetadataSourceToken    GenerateConnectionRequestProviderMetadataSource = "token"
)

Defines values for GenerateConnectionRequestProviderMetadataSource.

func (GenerateConnectionRequestProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the GenerateConnectionRequestProviderMetadataSource enum.

type GetConnection200JSONResponseBodyAuthScheme

type GetConnection200JSONResponseBodyAuthScheme string

GetConnection200JSONResponseBodyAuthScheme defines parameters for GetConnection.

const (
	GetConnection200JSONResponseBodyAuthSchemeApiKey                      GetConnection200JSONResponseBodyAuthScheme = "apiKey"
	GetConnection200JSONResponseBodyAuthSchemeBasic                       GetConnection200JSONResponseBodyAuthScheme = "basic"
	GetConnection200JSONResponseBodyAuthSchemeNone                        GetConnection200JSONResponseBodyAuthScheme = "none"
	GetConnection200JSONResponseBodyAuthSchemeOauth2authorizationCode     GetConnection200JSONResponseBodyAuthScheme = "oauth2/authorizationCode"
	GetConnection200JSONResponseBodyAuthSchemeOauth2authorizationCodePKCE GetConnection200JSONResponseBodyAuthScheme = "oauth2/authorizationCodePKCE"
	GetConnection200JSONResponseBodyAuthSchemeOauth2clientCredentials     GetConnection200JSONResponseBodyAuthScheme = "oauth2/clientCredentials"
	GetConnection200JSONResponseBodyAuthSchemeOauth2password              GetConnection200JSONResponseBodyAuthScheme = "oauth2/password"
)

Defines values for GetConnection200JSONResponseBodyAuthScheme.

func (GetConnection200JSONResponseBodyAuthScheme) Valid

Valid indicates whether the value is a known member of the GetConnection200JSONResponseBodyAuthScheme enum.

type GetConnection200JSONResponseBodyProviderMetadataSource

type GetConnection200JSONResponseBodyProviderMetadataSource string

GetConnection200JSONResponseBodyProviderMetadataSource defines parameters for GetConnection.

const (
	GetConnection200JSONResponseBodyProviderMetadataSourceInput    GetConnection200JSONResponseBodyProviderMetadataSource = "input"
	GetConnection200JSONResponseBodyProviderMetadataSourceProvider GetConnection200JSONResponseBodyProviderMetadataSource = "provider"
	GetConnection200JSONResponseBodyProviderMetadataSourceToken    GetConnection200JSONResponseBodyProviderMetadataSource = "token"
)

Defines values for GetConnection200JSONResponseBodyProviderMetadataSource.

func (GetConnection200JSONResponseBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the GetConnection200JSONResponseBodyProviderMetadataSource enum.

type GetConnection200JSONResponseBodyStatus

type GetConnection200JSONResponseBodyStatus string

GetConnection200JSONResponseBodyStatus defines parameters for GetConnection.

const (
	GetConnection200JSONResponseBodyStatusBadCredentials GetConnection200JSONResponseBodyStatus = "bad_credentials"
	GetConnection200JSONResponseBodyStatusCreated        GetConnection200JSONResponseBodyStatus = "created"
	GetConnection200JSONResponseBodyStatusWorking        GetConnection200JSONResponseBodyStatus = "working"
)

Defines values for GetConnection200JSONResponseBodyStatus.

func (GetConnection200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GetConnection200JSONResponseBodyStatus enum.

type GetConnectionParams

type GetConnectionParams struct {
	// IncludeCreds Whether to include credentials for `oauth2AuthorizationCode` in the response. If true, `accessToken` and `scopes` are included. To include `refreshToken` as well, set `includeRefreshToken` to true. Default is false.
	IncludeCreds *bool `form:"includeCreds,omitempty" json:"includeCreds,omitempty"`

	// IncludeRefreshToken Whether to include `refreshToken` for `oauth2AuthorizationCode` credentials in the response (along with `accessToken` and `scopes`). If true, the `includeCreds` query parameter will be ignored. Default is false.
	IncludeRefreshToken *bool `form:"includeRefreshToken,omitempty" json:"includeRefreshToken,omitempty"`

	// Refresh Whether to refresh the access token. If value is `ifExpired`, the access token will be refreshed only if it has expired. If value is `force`, the access token will be refreshed regardless of its expiration.
	Refresh *GetConnectionParamsRefresh `form:"refresh,omitempty" json:"refresh,omitempty"`
}

GetConnectionParams defines parameters for GetConnection.

type GetConnectionParamsRefresh

type GetConnectionParamsRefresh string

GetConnectionParamsRefresh defines parameters for GetConnection.

const (
	Force     GetConnectionParamsRefresh = "force"
	IfExpired GetConnectionParamsRefresh = "ifExpired"
)

Defines values for GetConnectionParamsRefresh.

func (GetConnectionParamsRefresh) Valid

func (e GetConnectionParamsRefresh) Valid() bool

Valid indicates whether the value is a known member of the GetConnectionParamsRefresh enum.

type GetDestinationParams

type GetDestinationParams struct {
	// IncludeSecrets Include secrets in the response
	IncludeSecrets *bool `form:"includeSecrets,omitempty" json:"includeSecrets,omitempty"`

	// Rotate Rotate the destination secrets
	Rotate *bool `form:"rotate,omitempty" json:"rotate,omitempty"`
}

GetDestinationParams defines parameters for GetDestination.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType

type GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType string

GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType defines parameters for GetHydratedRevision.

const (
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeBoolean      GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "boolean"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeDate         GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "date"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeDatetime     GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "datetime"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeFloat        GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "float"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeInt          GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "int"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeMultiSelect  GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "multiSelect"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeOther        GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "other"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeReference    GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "reference"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeSingleSelect GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "singleSelect"
	GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueTypeString       GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType = "string"
)

Defines values for GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType.

func (GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType) Valid

Valid indicates whether the value is a known member of the GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFieldsMetadataValueType enum.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto

type GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto string

GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto defines parameters for GetHydratedRevision.

const (
	GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAutoAll GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto.

func (GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFieldsAuto enum.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

type GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

type GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1 defines parameters for GetHydratedRevision.

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item struct {
	// contains filtered or unexported fields
}

GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item defines parameters for GetHydratedRevision.

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) MarshalJSON

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsAllFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_AllFields_Item) UnmarshalJSON

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item defines parameters for GetHydratedRevision.

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsOptionalFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item

type GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item defines parameters for GetHydratedRevision.

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) AsGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

AsGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1 returns the union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item as a GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) FromGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

FromGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1 overwrites any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item as the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

func (GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields0

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

MergeGetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1 performs a merge with any union data inside the GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item, using the provided GetHydratedRevision200JSONResponseBodyContentReadObjectsRequiredFields1

func (*GetHydratedRevision200JSONResponseBody_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type GetHydratedRevisionParams

type GetHydratedRevisionParams struct {
	// ConnectionId The ID of the consumer's connection to the SaaS provider. This connection's credentials are used to fetch field metadata from the provider's API.
	ConnectionId string `form:"connectionId" json:"connectionId"`
}

GetHydratedRevisionParams defines parameters for GetHydratedRevision.

type GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type GetInstallation200JSONResponseBodyConnectionAuthScheme

type GetInstallation200JSONResponseBodyConnectionAuthScheme string

GetInstallation200JSONResponseBodyConnectionAuthScheme defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConnectionAuthSchemeApiKey                      GetInstallation200JSONResponseBodyConnectionAuthScheme = "apiKey"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeBasic                       GetInstallation200JSONResponseBodyConnectionAuthScheme = "basic"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeNone                        GetInstallation200JSONResponseBodyConnectionAuthScheme = "none"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     GetInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE GetInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     GetInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	GetInstallation200JSONResponseBodyConnectionAuthSchemeOauth2password              GetInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for GetInstallation200JSONResponseBodyConnectionAuthScheme.

func (GetInstallation200JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConnectionAuthScheme enum.

type GetInstallation200JSONResponseBodyConnectionProviderMetadataSource

type GetInstallation200JSONResponseBodyConnectionProviderMetadataSource string

GetInstallation200JSONResponseBodyConnectionProviderMetadataSource defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConnectionProviderMetadataSourceInput    GetInstallation200JSONResponseBodyConnectionProviderMetadataSource = "input"
	GetInstallation200JSONResponseBodyConnectionProviderMetadataSourceProvider GetInstallation200JSONResponseBodyConnectionProviderMetadataSource = "provider"
	GetInstallation200JSONResponseBodyConnectionProviderMetadataSourceToken    GetInstallation200JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for GetInstallation200JSONResponseBodyConnectionProviderMetadataSource.

func (GetInstallation200JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConnectionProviderMetadataSource enum.

type GetInstallation200JSONResponseBodyConnectionStatus

type GetInstallation200JSONResponseBodyConnectionStatus string

GetInstallation200JSONResponseBodyConnectionStatus defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyConnectionStatusBadCredentials GetInstallation200JSONResponseBodyConnectionStatus = "bad_credentials"
	GetInstallation200JSONResponseBodyConnectionStatusCreated        GetInstallation200JSONResponseBodyConnectionStatus = "created"
	GetInstallation200JSONResponseBodyConnectionStatusWorking        GetInstallation200JSONResponseBodyConnectionStatus = "working"
)

Defines values for GetInstallation200JSONResponseBodyConnectionStatus.

func (GetInstallation200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyConnectionStatus enum.

type GetInstallation200JSONResponseBodyHealthStatus

type GetInstallation200JSONResponseBodyHealthStatus string

GetInstallation200JSONResponseBodyHealthStatus defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyHealthStatusHealthy   GetInstallation200JSONResponseBodyHealthStatus = "healthy"
	GetInstallation200JSONResponseBodyHealthStatusUnhealthy GetInstallation200JSONResponseBodyHealthStatus = "unhealthy"
)

Defines values for GetInstallation200JSONResponseBodyHealthStatus.

func (GetInstallation200JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyHealthStatus enum.

type GetInstallation200JSONResponseBodyLastOperationStatus

type GetInstallation200JSONResponseBodyLastOperationStatus string

GetInstallation200JSONResponseBodyLastOperationStatus defines parameters for GetInstallation.

const (
	GetInstallation200JSONResponseBodyLastOperationStatusFailure    GetInstallation200JSONResponseBodyLastOperationStatus = "failure"
	GetInstallation200JSONResponseBodyLastOperationStatusInProgress GetInstallation200JSONResponseBodyLastOperationStatus = "in_progress"
	GetInstallation200JSONResponseBodyLastOperationStatusSuccess    GetInstallation200JSONResponseBodyLastOperationStatus = "success"
)

Defines values for GetInstallation200JSONResponseBodyLastOperationStatus.

func (GetInstallation200JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the GetInstallation200JSONResponseBodyLastOperationStatus enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode string

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeAuto      GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "auto"
	GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeOnRequest GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode.

func (GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 defines parameters for GetIntegration.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 defines parameters for GetIntegration.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto string

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAutoAll GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto.

func (GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 defines parameters for GetIntegration.

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

type GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 defines parameters for GetIntegration.

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled defines parameters for GetIntegration.

const (
	GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the GetIntegration200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item

type GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item defines parameters for GetIntegration.

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 returns the union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 returns the union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item

type GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item defines parameters for GetIntegration.

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 returns the union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

AsGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 returns the union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

FromGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

MergeGetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided GetIntegration200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*GetIntegration200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type GetJWTKey200JSONResponseBodyAlgorithm

type GetJWTKey200JSONResponseBodyAlgorithm string

GetJWTKey200JSONResponseBodyAlgorithm defines parameters for GetJWTKey.

const (
	GetJWTKey200JSONResponseBodyAlgorithmRSA GetJWTKey200JSONResponseBodyAlgorithm = "RSA"
)

Defines values for GetJWTKey200JSONResponseBodyAlgorithm.

func (GetJWTKey200JSONResponseBodyAlgorithm) Valid

Valid indicates whether the value is a known member of the GetJWTKey200JSONResponseBodyAlgorithm enum.

type GetMyInfo200JSONResponseBodyOrgRolePrincipalType

type GetMyInfo200JSONResponseBodyOrgRolePrincipalType string

GetMyInfo200JSONResponseBodyOrgRolePrincipalType defines parameters for GetMyInfo.

const (
	GetMyInfo200JSONResponseBodyOrgRolePrincipalTypeBuilder GetMyInfo200JSONResponseBodyOrgRolePrincipalType = "builder"
	GetMyInfo200JSONResponseBodyOrgRolePrincipalTypeTeam    GetMyInfo200JSONResponseBodyOrgRolePrincipalType = "team"
)

Defines values for GetMyInfo200JSONResponseBodyOrgRolePrincipalType.

func (GetMyInfo200JSONResponseBodyOrgRolePrincipalType) Valid

Valid indicates whether the value is a known member of the GetMyInfo200JSONResponseBodyOrgRolePrincipalType enum.

type GetMyInfo200JSONResponseBodyProjectRolesPrincipalType

type GetMyInfo200JSONResponseBodyProjectRolesPrincipalType string

GetMyInfo200JSONResponseBodyProjectRolesPrincipalType defines parameters for GetMyInfo.

const (
	GetMyInfo200JSONResponseBodyProjectRolesPrincipalTypeBuilder GetMyInfo200JSONResponseBodyProjectRolesPrincipalType = "builder"
	GetMyInfo200JSONResponseBodyProjectRolesPrincipalTypeTeam    GetMyInfo200JSONResponseBodyProjectRolesPrincipalType = "team"
)

Defines values for GetMyInfo200JSONResponseBodyProjectRolesPrincipalType.

func (GetMyInfo200JSONResponseBodyProjectRolesPrincipalType) Valid

Valid indicates whether the value is a known member of the GetMyInfo200JSONResponseBodyProjectRolesPrincipalType enum.

type GetObjectMetadataForConnection200JSONResponseBodyFieldsValueType

type GetObjectMetadataForConnection200JSONResponseBodyFieldsValueType string

GetObjectMetadataForConnection200JSONResponseBodyFieldsValueType defines parameters for GetObjectMetadataForConnection.

func (GetObjectMetadataForConnection200JSONResponseBodyFieldsValueType) Valid

Valid indicates whether the value is a known member of the GetObjectMetadataForConnection200JSONResponseBodyFieldsValueType enum.

type GetObjectMetadataForConnectionParams

type GetObjectMetadataForConnectionParams struct {
	// GroupRef The ID of the user group whose connection should be used to fetch the metadata.
	GroupRef string `form:"groupRef" json:"groupRef"`

	// ExcludeReadOnly Excludes fields where `ReadOnly` is `true` from the response.
	ExcludeReadOnly *bool `form:"excludeReadOnly,omitempty" json:"excludeReadOnly,omitempty"`
}

GetObjectMetadataForConnectionParams defines parameters for GetObjectMetadataForConnection.

type GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType

type GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType string

GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType defines parameters for GetObjectMetadataForInstallation.

const (
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeBoolean      GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "boolean"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeDate         GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "date"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeDatetime     GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "datetime"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeFloat        GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "float"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeInt          GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "int"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeMultiSelect  GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "multiSelect"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeOther        GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "other"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeReference    GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "reference"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeSingleSelect GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "singleSelect"
	GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueTypeString       GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType = "string"
)

Defines values for GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType.

func (GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType) Valid

Valid indicates whether the value is a known member of the GetObjectMetadataForInstallation200JSONResponseBodyFieldsValueType enum.

type GetObjectMetadataForInstallationParams

type GetObjectMetadataForInstallationParams struct {
	// GroupRef The ID of the user group that has access to this installation.
	GroupRef string `form:"groupRef" json:"groupRef"`

	// ExcludeReadOnly Excludes fields where `ReadOnly` is `true` from the response.
	ExcludeReadOnly *bool `form:"excludeReadOnly,omitempty" json:"excludeReadOnly,omitempty"`
}

GetObjectMetadataForInstallationParams defines parameters for GetObjectMetadataForInstallation.

type GetOrgInvite200JSONResponseBodyParentType

type GetOrgInvite200JSONResponseBodyParentType string

GetOrgInvite200JSONResponseBodyParentType defines parameters for GetOrgInvite.

const (
	GetOrgInvite200JSONResponseBodyParentTypeOrg GetOrgInvite200JSONResponseBodyParentType = "org"
)

Defines values for GetOrgInvite200JSONResponseBodyParentType.

func (GetOrgInvite200JSONResponseBodyParentType) Valid

Valid indicates whether the value is a known member of the GetOrgInvite200JSONResponseBodyParentType enum.

type GetOrgInvite200JSONResponseBodyStatus

type GetOrgInvite200JSONResponseBodyStatus string

GetOrgInvite200JSONResponseBodyStatus defines parameters for GetOrgInvite.

const (
	GetOrgInvite200JSONResponseBodyStatusAccepted GetOrgInvite200JSONResponseBodyStatus = "accepted"
	GetOrgInvite200JSONResponseBodyStatusExpired  GetOrgInvite200JSONResponseBodyStatus = "expired"
	GetOrgInvite200JSONResponseBodyStatusPending  GetOrgInvite200JSONResponseBodyStatus = "pending"
	GetOrgInvite200JSONResponseBodyStatusRevoked  GetOrgInvite200JSONResponseBodyStatus = "revoked"
)

Defines values for GetOrgInvite200JSONResponseBodyStatus.

func (GetOrgInvite200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GetOrgInvite200JSONResponseBodyStatus enum.

type GetProjectParams

type GetProjectParams struct {
	// IncludeEntitlements If true, the response includes the project's entitlements (plan-based feature flags). Defaults to false.
	IncludeEntitlements *bool `form:"includeEntitlements,omitempty" json:"includeEntitlements,omitempty"`
}

GetProjectParams defines parameters for GetProject.

type GetProvider200JSONResponseBodyApiKeyOptsAttachmentType

type GetProvider200JSONResponseBodyApiKeyOptsAttachmentType string

GetProvider200JSONResponseBodyApiKeyOptsAttachmentType defines parameters for GetProvider.

const (
	GetProvider200JSONResponseBodyApiKeyOptsAttachmentTypeHeader GetProvider200JSONResponseBodyApiKeyOptsAttachmentType = "header"
	GetProvider200JSONResponseBodyApiKeyOptsAttachmentTypeQuery  GetProvider200JSONResponseBodyApiKeyOptsAttachmentType = "query"
)

Defines values for GetProvider200JSONResponseBodyApiKeyOptsAttachmentType.

func (GetProvider200JSONResponseBodyApiKeyOptsAttachmentType) Valid

Valid indicates whether the value is a known member of the GetProvider200JSONResponseBodyApiKeyOptsAttachmentType enum.

type GetProvider200JSONResponseBodyAuthType

type GetProvider200JSONResponseBodyAuthType string

GetProvider200JSONResponseBodyAuthType defines parameters for GetProvider.

const (
	GetProvider200JSONResponseBodyAuthTypeApiKey GetProvider200JSONResponseBodyAuthType = "apiKey"
	GetProvider200JSONResponseBodyAuthTypeBasic  GetProvider200JSONResponseBodyAuthType = "basic"
	GetProvider200JSONResponseBodyAuthTypeCustom GetProvider200JSONResponseBodyAuthType = "custom"
	GetProvider200JSONResponseBodyAuthTypeJwt    GetProvider200JSONResponseBodyAuthType = "jwt"
	GetProvider200JSONResponseBodyAuthTypeNone   GetProvider200JSONResponseBodyAuthType = "none"
	GetProvider200JSONResponseBodyAuthTypeOauth2 GetProvider200JSONResponseBodyAuthType = "oauth2"
)

Defines values for GetProvider200JSONResponseBodyAuthType.

func (GetProvider200JSONResponseBodyAuthType) Valid

Valid indicates whether the value is a known member of the GetProvider200JSONResponseBodyAuthType enum.

type GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed

type GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed string

GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed defines parameters for GetProvider.

const (
	GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsedPasswordField GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed = "password"
	GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsedUsernameField GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed = "username"
)

Defines values for GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed.

func (GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed) Valid

Valid indicates whether the value is a known member of the GetProvider200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed enum.

type GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType

type GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType string

GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType defines parameters for GetProvider.

const (
	GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentTypeAccessTokenHeaderAttachment GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType = "accessTokenHeaderAttachment"
)

Defines values for GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType.

func (GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType) Valid

Valid indicates whether the value is a known member of the GetProvider200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType enum.

type GetProvider200JSONResponseBodyOauth2OptsGrantType

type GetProvider200JSONResponseBodyOauth2OptsGrantType string

GetProvider200JSONResponseBodyOauth2OptsGrantType defines parameters for GetProvider.

const (
	GetProvider200JSONResponseBodyOauth2OptsGrantTypeAuthorizationCode     GetProvider200JSONResponseBodyOauth2OptsGrantType = "authorizationCode"
	GetProvider200JSONResponseBodyOauth2OptsGrantTypeAuthorizationCodePKCE GetProvider200JSONResponseBodyOauth2OptsGrantType = "authorizationCodePKCE"
	GetProvider200JSONResponseBodyOauth2OptsGrantTypeClientCredentials     GetProvider200JSONResponseBodyOauth2OptsGrantType = "clientCredentials"
	GetProvider200JSONResponseBodyOauth2OptsGrantTypePassword              GetProvider200JSONResponseBodyOauth2OptsGrantType = "password"
)

Defines values for GetProvider200JSONResponseBodyOauth2OptsGrantType.

func (GetProvider200JSONResponseBodyOauth2OptsGrantType) Valid

Valid indicates whether the value is a known member of the GetProvider200JSONResponseBodyOauth2OptsGrantType enum.

type Group

type Group struct {
	// CreateTime The time the group was created.
	CreateTime time.Time `json:"createTime"`

	// GroupName The name of the user group that has access to this installation.
	GroupName string `json:"groupName"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef string `json:"groupRef"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// UpdateTime The time the group was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Group defines model for Group.

type HydratedRevision

type HydratedRevision struct {
	Content struct {
		DisplayName string `json:"displayName,omitempty"`
		Module      string `json:"module,omitempty"`
		Name        string `json:"name"`
		Provider    string `json:"provider"`
		Proxy       *struct {
			Enabled *bool `json:"enabled,omitempty"`

			// UseModule Default is false. If this is set to true, the base URL for the proxy action will be the module's base URL. Otherwise, it is assumed that the base URL is the provider's root base URL.
			UseModule *bool `json:"useModule,omitempty"`
		} `json:"proxy,omitempty"`
		Read *struct {
			Objects *[]struct {
				// AllFields This is a list of all fields on the object for a particular SaaS instance, including their display names. Prefer using allFieldsMetadata instead.
				// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
				AllFields *[]HydratedRevision_Content_Read_Objects_AllFields_Item `json:"allFields,omitempty"`

				// AllFieldsMetadata This is a map of all fields on the object including their metadata (such as display name and type), the keys of the map are the field names.
				AllFieldsMetadata *map[string]struct {
					// DisplayName The display name of the field from the provider API.
					DisplayName string `json:"displayName"`

					// FieldName The name of the field from the provider API.
					FieldName string `json:"fieldName"`

					// IsCustom Whether the field is custom field.
					IsCustom *bool `json:"isCustom,omitempty"`

					// IsRequired Whether the field is required when creating a new record.
					IsRequired *bool `json:"isRequired,omitempty"`

					// ProviderType Raw field type from the provider API.
					ProviderType string `json:"providerType,omitempty"`

					// ReadOnly Whether the field is read-only.
					ReadOnly *bool `json:"readOnly,omitempty"`

					// ReferenceTo The list of object types this field references. Only applicable if the providerType is a lookup/reference field.
					ReferenceTo []string `json:"referenceTo,omitempty"`

					// ValueType A normalized field type
					ValueType HydratedRevisionContentReadObjectsAllFieldsMetadataValueType `json:"valueType,omitempty"`

					// Values If the valueType is singleSelect or multiSelect, this is a list of possible values
					Values []struct {
						// DisplayValue The human-readable display value
						DisplayValue string `json:"displayValue"`

						// Value The internal value used by the system
						Value string `json:"value"`
					} `json:"values,omitempty"`
				} `json:"allFieldsMetadata,omitempty"`
				Backfill *struct {
					DefaultPeriod struct {
						// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
						Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

						// FullHistory If true, backfill all history. Required if days is not set.
						FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
					} `json:"defaultPeriod"`
				} `json:"backfill,omitempty"`
				Destination string `json:"destination"`
				DisplayName string `json:"displayName"`

				// Error Error message if there was an issue hydrating this object.
				Error string `json:"error,omitempty"`

				// MapToDisplayName A display name to map to.
				MapToDisplayName string `json:"mapToDisplayName,omitempty"`

				// MapToName An object name to map to.
				MapToName          string                                                       `json:"mapToName,omitempty"`
				ObjectName         string                                                       `json:"objectName"`
				OptionalFields     *[]HydratedRevision_Content_Read_Objects_OptionalFields_Item `json:"optionalFields,omitempty"`
				OptionalFieldsAuto *HydratedRevisionContentReadObjectsOptionalFieldsAuto        `json:"optionalFieldsAuto,omitempty"`
				RequiredFields     *[]HydratedRevision_Content_Read_Objects_RequiredFields_Item `json:"requiredFields,omitempty"`
				Schedule           string                                                       `json:"schedule"`
			} `json:"objects,omitempty"`
		} `json:"read,omitempty"`
		Write *struct {
			Objects *[]struct {
				DisplayName string `json:"displayName"`
				ObjectName  string `json:"objectName"`

				// ValueDefaults Configuration to set default write values for object fields.
				ValueDefaults *struct {
					// AllowAnyFields If true, users can set default values for any field.
					AllowAnyFields *bool `json:"allowAnyFields,omitempty"`
				} `json:"valueDefaults,omitempty"`
			} `json:"objects,omitempty"`
		} `json:"write,omitempty"`
	} `json:"content"`

	// CreateTime The time the revision was created.
	CreateTime time.Time `json:"createTime"`

	// Id The revision ID.
	Id string `json:"id"`

	// SpecVersion The spec version string.
	SpecVersion string `json:"specVersion"`
}

HydratedRevision defines model for HydratedRevision.

type HydratedRevisionContentReadObjectsAllFields0

type HydratedRevisionContentReadObjectsAllFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

HydratedRevisionContentReadObjectsAllFields0 defines model for .

type HydratedRevisionContentReadObjectsAllFields1

type HydratedRevisionContentReadObjectsAllFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

HydratedRevisionContentReadObjectsAllFields1 defines model for .

type HydratedRevisionContentReadObjectsAllFieldsMetadataValueType

type HydratedRevisionContentReadObjectsAllFieldsMetadataValueType string

HydratedRevisionContentReadObjectsAllFieldsMetadataValueType A normalized field type

const (
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeBoolean      HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "boolean"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeDate         HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "date"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeDatetime     HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "datetime"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeFloat        HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "float"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeInt          HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "int"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeMultiSelect  HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "multiSelect"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeOther        HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "other"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeReference    HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "reference"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeSingleSelect HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "singleSelect"
	HydratedRevisionContentReadObjectsAllFieldsMetadataValueTypeString       HydratedRevisionContentReadObjectsAllFieldsMetadataValueType = "string"
)

Defines values for HydratedRevisionContentReadObjectsAllFieldsMetadataValueType.

func (HydratedRevisionContentReadObjectsAllFieldsMetadataValueType) Valid

Valid indicates whether the value is a known member of the HydratedRevisionContentReadObjectsAllFieldsMetadataValueType enum.

type HydratedRevisionContentReadObjectsOptionalFields0

type HydratedRevisionContentReadObjectsOptionalFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

HydratedRevisionContentReadObjectsOptionalFields0 defines model for .

type HydratedRevisionContentReadObjectsOptionalFields1

type HydratedRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

HydratedRevisionContentReadObjectsOptionalFields1 defines model for .

type HydratedRevisionContentReadObjectsOptionalFieldsAuto

type HydratedRevisionContentReadObjectsOptionalFieldsAuto string

HydratedRevisionContentReadObjectsOptionalFieldsAuto defines model for HydratedRevision.Content.Read.Objects.OptionalFieldsAuto.

const (
	HydratedRevisionContentReadObjectsOptionalFieldsAutoAll HydratedRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for HydratedRevisionContentReadObjectsOptionalFieldsAuto.

func (HydratedRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the HydratedRevisionContentReadObjectsOptionalFieldsAuto enum.

type HydratedRevisionContentReadObjectsRequiredFields0

type HydratedRevisionContentReadObjectsRequiredFields0 struct {
	DisplayName string `json:"displayName"`
	FieldName   string `json:"fieldName"`

	// MapToDisplayName The display name to map to in the destination.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to in the destination.
	MapToName string `json:"mapToName,omitempty"`
}

HydratedRevisionContentReadObjectsRequiredFields0 defines model for .

type HydratedRevisionContentReadObjectsRequiredFields1

type HydratedRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

HydratedRevisionContentReadObjectsRequiredFields1 defines model for .

type HydratedRevision_Content_Read_Objects_AllFields_Item

type HydratedRevision_Content_Read_Objects_AllFields_Item struct {
	// contains filtered or unexported fields
}

HydratedRevision_Content_Read_Objects_AllFields_Item defines model for HydratedRevision.Content.Read.Objects.AllFields.Item.

func (HydratedRevision_Content_Read_Objects_AllFields_Item) AsHydratedRevisionContentReadObjectsAllFields0

AsHydratedRevisionContentReadObjectsAllFields0 returns the union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item as a HydratedRevisionContentReadObjectsAllFields0

func (HydratedRevision_Content_Read_Objects_AllFields_Item) AsHydratedRevisionContentReadObjectsAllFields1

AsHydratedRevisionContentReadObjectsAllFields1 returns the union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item as a HydratedRevisionContentReadObjectsAllFields1

func (*HydratedRevision_Content_Read_Objects_AllFields_Item) FromHydratedRevisionContentReadObjectsAllFields0

FromHydratedRevisionContentReadObjectsAllFields0 overwrites any union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item as the provided HydratedRevisionContentReadObjectsAllFields0

func (*HydratedRevision_Content_Read_Objects_AllFields_Item) FromHydratedRevisionContentReadObjectsAllFields1

FromHydratedRevisionContentReadObjectsAllFields1 overwrites any union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item as the provided HydratedRevisionContentReadObjectsAllFields1

func (HydratedRevision_Content_Read_Objects_AllFields_Item) MarshalJSON

func (*HydratedRevision_Content_Read_Objects_AllFields_Item) MergeHydratedRevisionContentReadObjectsAllFields0

MergeHydratedRevisionContentReadObjectsAllFields0 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item, using the provided HydratedRevisionContentReadObjectsAllFields0

func (*HydratedRevision_Content_Read_Objects_AllFields_Item) MergeHydratedRevisionContentReadObjectsAllFields1

MergeHydratedRevisionContentReadObjectsAllFields1 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_AllFields_Item, using the provided HydratedRevisionContentReadObjectsAllFields1

func (*HydratedRevision_Content_Read_Objects_AllFields_Item) UnmarshalJSON

type HydratedRevision_Content_Read_Objects_OptionalFields_Item

type HydratedRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

HydratedRevision_Content_Read_Objects_OptionalFields_Item defines model for HydratedRevision.Content.Read.Objects.OptionalFields.Item.

func (HydratedRevision_Content_Read_Objects_OptionalFields_Item) AsHydratedRevisionContentReadObjectsOptionalFields0

AsHydratedRevisionContentReadObjectsOptionalFields0 returns the union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item as a HydratedRevisionContentReadObjectsOptionalFields0

func (HydratedRevision_Content_Read_Objects_OptionalFields_Item) AsHydratedRevisionContentReadObjectsOptionalFields1

AsHydratedRevisionContentReadObjectsOptionalFields1 returns the union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item as a HydratedRevisionContentReadObjectsOptionalFields1

func (*HydratedRevision_Content_Read_Objects_OptionalFields_Item) FromHydratedRevisionContentReadObjectsOptionalFields0

FromHydratedRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item as the provided HydratedRevisionContentReadObjectsOptionalFields0

func (*HydratedRevision_Content_Read_Objects_OptionalFields_Item) FromHydratedRevisionContentReadObjectsOptionalFields1

FromHydratedRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item as the provided HydratedRevisionContentReadObjectsOptionalFields1

func (HydratedRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*HydratedRevision_Content_Read_Objects_OptionalFields_Item) MergeHydratedRevisionContentReadObjectsOptionalFields0

MergeHydratedRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item, using the provided HydratedRevisionContentReadObjectsOptionalFields0

func (*HydratedRevision_Content_Read_Objects_OptionalFields_Item) MergeHydratedRevisionContentReadObjectsOptionalFields1

MergeHydratedRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_OptionalFields_Item, using the provided HydratedRevisionContentReadObjectsOptionalFields1

func (*HydratedRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type HydratedRevision_Content_Read_Objects_RequiredFields_Item

type HydratedRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

HydratedRevision_Content_Read_Objects_RequiredFields_Item defines model for HydratedRevision.Content.Read.Objects.RequiredFields.Item.

func (HydratedRevision_Content_Read_Objects_RequiredFields_Item) AsHydratedRevisionContentReadObjectsRequiredFields0

AsHydratedRevisionContentReadObjectsRequiredFields0 returns the union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item as a HydratedRevisionContentReadObjectsRequiredFields0

func (HydratedRevision_Content_Read_Objects_RequiredFields_Item) AsHydratedRevisionContentReadObjectsRequiredFields1

AsHydratedRevisionContentReadObjectsRequiredFields1 returns the union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item as a HydratedRevisionContentReadObjectsRequiredFields1

func (*HydratedRevision_Content_Read_Objects_RequiredFields_Item) FromHydratedRevisionContentReadObjectsRequiredFields0

FromHydratedRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item as the provided HydratedRevisionContentReadObjectsRequiredFields0

func (*HydratedRevision_Content_Read_Objects_RequiredFields_Item) FromHydratedRevisionContentReadObjectsRequiredFields1

FromHydratedRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item as the provided HydratedRevisionContentReadObjectsRequiredFields1

func (HydratedRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*HydratedRevision_Content_Read_Objects_RequiredFields_Item) MergeHydratedRevisionContentReadObjectsRequiredFields0

MergeHydratedRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item, using the provided HydratedRevisionContentReadObjectsRequiredFields0

func (*HydratedRevision_Content_Read_Objects_RequiredFields_Item) MergeHydratedRevisionContentReadObjectsRequiredFields1

MergeHydratedRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the HydratedRevision_Content_Read_Objects_RequiredFields_Item, using the provided HydratedRevisionContentReadObjectsRequiredFields1

func (*HydratedRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type Installation

type Installation struct {
	Config struct {
		Content struct {
			// Provider The SaaS API that we are integrating with.
			Provider string `json:"provider"`
			Proxy    *struct {
				Enabled *bool `json:"enabled,omitempty"`
			} `json:"proxy,omitempty"`
			Read *struct {
				Objects map[string]struct {
					Backfill *struct {
						DefaultPeriod struct {
							// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
							Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

							// FullHistory If true, backfill all history. Required if days is not set.
							FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
						} `json:"defaultPeriod"`

						// FieldFilters Filters to apply only during backfill. Multiple conditions are joined by AND. Use this when you want different filter behavior for backfill vs. incremental reads.
						FieldFilters []struct {
							// FieldName The name of the field to filter on.
							FieldName string `json:"fieldName"`

							// Operator The comparison operator.
							Operator InstallationConfigContentReadObjectsBackfillFieldFiltersOperator `json:"operator"`

							// Value The value to filter on. Allowed types are string, boolean, and number.
							Value interface{} `json:"value,omitempty"`
						} `json:"fieldFilters,omitempty"`
					} `json:"backfill,omitempty"`

					// Destination The name of the destination that the result should be sent to.
					Destination string `json:"destination,omitempty"`

					// Disabled If this flag is set to true, scheduled reads associated with this object will be paused, and on-demand reads will not be allowed.
					Disabled *bool `json:"disabled,omitempty"`

					// DynamicMappingsInput An array containing all available dynamic field and value mappings for this installation, provided by the InstallIntegration component. This array represents the complete set of possible mappings, regardless of which ones are currently selected. The actual selected mappings are stored separately in the selectedFieldMappings property.
					DynamicMappingsInput *[]struct {
						// FieldName The name of the field in SaaS provider, if present, then we will not prompt the user to map the field.
						FieldName *string `json:"fieldName,omitempty"`

						// MapToDisplayName Optional display name of the field to show the user in the mapping UI.
						MapToDisplayName *string `json:"mapToDisplayName,omitempty"`

						// MapToName The name of the field in your application.
						MapToName string `json:"mapToName"`

						// MappedValues If you would like the user to map a set of possible values, this is the list of possible values of the field in your application.
						MappedValues *[]struct {
							MappedDisplayValue string `json:"mappedDisplayValue"`
							MappedValue        string `json:"mappedValue"`
						} `json:"mappedValues,omitempty"`

						// Prompt Optional prompt to show the user in the mapping UI.
						Prompt *string `json:"prompt,omitempty"`
					} `json:"dynamicMappingsInput,omitempty"`

					// FieldFilters Filters to apply when reading records during incremental reads and backfill. Multiple conditions are joined by AND. Each field can only have one condition.
					FieldFilters []struct {
						// FieldName The name of the field to filter on.
						FieldName string `json:"fieldName"`

						// Operator The comparison operator.
						Operator InstallationConfigContentReadObjectsFieldFiltersOperator `json:"operator"`

						// Value The value to filter on. Allowed types are string, boolean, and number.
						Value interface{} `json:"value,omitempty"`
					} `json:"fieldFilters,omitempty"`

					// ObjectName The name of the object to read from.
					ObjectName string `json:"objectName" validate:"required"`

					// Schedule The schedule for reading the object, in cron syntax.
					Schedule string `json:"schedule,omitempty"`

					// SelectedFieldMappings This is a map of mapToNames to field names. (A mapTo name is the name the builder wants to map a field to when it lands in their destination.)
					SelectedFieldMappings map[string]string `json:"selectedFieldMappings"`

					// SelectedFields This is a map of field names to booleans indicating whether they should be read. If a field is already included in `selectedFieldMappings`, it does not need to be included here.
					SelectedFields map[string]bool `json:"selectedFields"`

					// SelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.
					SelectedFieldsAuto *InstallationConfigContentReadObjectsSelectedFieldsAuto `json:"selectedFieldsAuto,omitempty"`

					// SelectedValueMappings This is a map of field names to their value mappings.
					SelectedValueMappings map[string]map[string]string `json:"selectedValueMappings,omitempty"`
				} `json:"objects"`
			} `json:"read,omitempty"`
			Subscribe *struct {
				Objects map[string]struct {
					CreateEvent *struct {
						// Enabled Conditions to enable create events.
						Enabled InstallationConfigContentSubscribeObjectsCreateEventEnabled `json:"enabled" validate:"oneof=always never"`
					} `json:"createEvent,omitempty"`
					DeleteEvent *struct {
						// Enabled Conditions to enable delete events.
						Enabled InstallationConfigContentSubscribeObjectsDeleteEventEnabled `json:"enabled" validate:"oneof=always never"`
					} `json:"deleteEvent,omitempty"`

					// Destination The name of the destination that the result should be sent to.
					Destination string `json:"destination"`

					// InheritFieldsAndMappings Whether to inherit fields and mappings from the read config.
					InheritFieldsAndMappings bool `json:"inheritFieldsAndMappings"`

					// ObjectName The name of the object to subscribe to.
					ObjectName  string    `json:"objectName" validate:"required"`
					OtherEvents *[]string `json:"otherEvents,omitempty"`
					UpdateEvent *struct {
						// Enabled Conditions to enable update events.
						Enabled InstallationConfigContentSubscribeObjectsUpdateEventEnabled `json:"enabled" validate:"oneof=always never"`

						// RequiredWatchFields The fields that should be watched.
						RequiredWatchFields *[]string `json:"requiredWatchFields,omitempty"`

						// WatchFieldsAuto Whether to watch fields all fields automatically.
						WatchFieldsAuto *InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
					} `json:"updateEvent,omitempty"`
				} `json:"objects"`
			} `json:"subscribe,omitempty"`
			Write *struct {
				Objects *map[string]struct {
					DeletionSettings *struct {
						// Enabled Whether deletion is enabled for this object
						Enabled bool `json:"enabled"`
					} `json:"deletionSettings,omitempty"`

					// ObjectName The name of the object to write to.
					ObjectName string `json:"objectName" validate:"required"`

					// SelectedFieldSettings This is a map of field names to their settings.
					SelectedFieldSettings map[string]struct {
						// Default Only use one of stringValue, integerValue, booleanValue.
						Default *struct {
							// BooleanValue The default boolean value to apply to a field
							BooleanValue *bool `json:"booleanValue,omitempty"`

							// IntegerValue The default integer value to apply to a field
							IntegerValue *int `json:"integerValue,omitempty"`

							// StringValue The default string value to apply to a field
							StringValue *string `json:"stringValue,omitempty"`
						} `json:"default,omitempty"`

						// WriteOnCreate Whether the default value should be applied when creating a record.
						WriteOnCreate InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate `json:"writeOnCreate,omitempty"`

						// WriteOnUpdate Whether the default value should be applied when updating a record.
						// - always: Always write to the field on update
						// - never: Never write to the field on update
						// - ifEmpty: Only write to the field if it's currently empty (unset or empty string).
						WriteOnUpdate InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate `json:"writeOnUpdate,omitempty"`
					} `json:"selectedFieldSettings,omitempty"`

					// SelectedValueDefaults This is a map of field names to default values. These values will be used when writing to the object.
					// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
					SelectedValueDefaults map[string]any `json:"selectedValueDefaults,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"write,omitempty"`
		} `json:"content"`

		// CreateTime The time the config was created.
		CreateTime time.Time `json:"createTime"`

		// CreatedBy The person who created the config, in the format of "consumer:{consumer-id}" or "builder:{builder-id}".
		CreatedBy string `json:"createdBy"`

		// Id The config ID.
		Id string `json:"id"`

		// RevisionId The ID of the revision that was current when this config was created or last updated.
		RevisionId string `json:"revisionId"`
	} `json:"config"`
	Connection struct {
		// ApiKey The API key used while making the connection.
		ApiKey *string `json:"apiKey,omitempty"`

		// AuthScheme The authentication scheme used for this connection.
		AuthScheme InstallationConnectionAuthScheme `json:"authScheme"`
		Consumer   struct {
			// ConsumerName The name of the consumer.
			ConsumerName string `json:"consumerName"`

			// ConsumerRef The consumer reference.
			ConsumerRef string `json:"consumerRef"`

			// CreateTime The time the consumer was created.
			CreateTime time.Time `json:"createTime"`

			// ProjectId The Ampersand project ID.
			ProjectId string `json:"projectId"`

			// UpdateTime The time the consumer was last updated.
			UpdateTime *time.Time `json:"updateTime,omitempty"`
		} `json:"consumer"`

		// CreateTime The time the connection was created.
		CreateTime time.Time `json:"createTime"`
		Group      struct {
			// CreateTime The time the group was created.
			CreateTime time.Time `json:"createTime"`

			// GroupName The name of the user group that has access to this installation.
			GroupName string `json:"groupName"`

			// GroupRef The ID of the user group that has access to this installation.
			GroupRef string `json:"groupRef"`

			// ProjectId The Ampersand project ID.
			ProjectId string `json:"projectId"`

			// UpdateTime The time the group was last updated.
			UpdateTime *time.Time `json:"updateTime,omitempty"`
		} `json:"group"`

		// Id The connection ID.
		Id                      string `json:"id"`
		Oauth2AuthorizationCode *struct {
			// AccessToken The access token for the connection.
			AccessToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"accessToken,omitempty"`

			// RefreshToken The refresh token to use for the connection.
			RefreshToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"refreshToken,omitempty"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`
		} `json:"oauth2AuthorizationCode,omitempty"`

		// ProjectId The Ampersand project ID.
		ProjectId string `json:"projectId"`

		// Provider The SaaS provider that this Connection is for.
		Provider    string `json:"provider"`
		ProviderApp *struct {
			// ClientId The OAuth client ID for this app.
			ClientId string `json:"clientId"`

			// CreateTime The time the provider app was created.
			CreateTime time.Time `json:"createTime"`

			// ExternalRef The ID used by the provider to identify the app (optional).
			ExternalRef *string `json:"externalRef,omitempty"`

			// Id The provider app ID.
			Id string `json:"id"`

			// Metadata Provider-specific configuration that extends the standard OAuth flow.
			Metadata *struct {
				// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
				AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

				// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
				ProviderParams *map[string]string `json:"providerParams,omitempty"`
			} `json:"metadata,omitempty"`

			// ProjectId The Ampersand project ID.
			ProjectId string `json:"projectId"`

			// Provider The SaaS provider that this app connects to.
			Provider string `json:"provider"`

			// Scopes The OAuth scopes for this app.
			Scopes *[]string `json:"scopes,omitempty"`

			// UpdateTime The time the provider app was updated.
			UpdateTime *time.Time `json:"updateTime,omitempty"`
		} `json:"providerApp,omitempty"`

		// ProviderConsumerRef If available, the ID that Salesforce/Hubspot uses to identify this user (e.g. Salesforce has IDs in the form of https://login.salesforce.com/id/00D4x0000019CQTEA2/0054x000000orJ4AA)
		ProviderConsumerRef *string `json:"providerConsumerRef,omitempty"`
		ProviderMetadata    *map[string]struct {
			// DisplayName The human-readable name for the field
			DisplayName *string `json:"displayName,omitempty"`

			// Source The source of the metadata field
			Source InstallationConnectionProviderMetadataSource `json:"source"`

			// Value The value of the metadata field
			Value string `json:"value"`
		} `json:"providerMetadata,omitempty"`

		// ProviderWorkspaceRef If available, the identifier for the provider workspace (e.g. the Salesforce subdomain)
		ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`

		// Status The status of the connection.
		// - `created`: The connection has just been created or the access token was just refreshed.
		// - `working`: The connection has successfully been used to make a request.
		// - `bad_credentials`: The connection encountered credential-related issues when making a request, or when attempting to refresh the access token.
		Status InstallationConnectionStatus `json:"status"`

		// UpdateTime The time the connection was last updated.
		UpdateTime *time.Time `json:"updateTime,omitempty"`
	} `json:"connection"`

	// CreateTime The time the installation was created.
	CreateTime time.Time `json:"createTime"`

	// CreatedBy The person who did the installation, in the format of "consumer:{consumer-id}".
	CreatedBy string `json:"createdBy"`
	Group     *struct {
		// CreateTime The time the group was created.
		CreateTime time.Time `json:"createTime"`

		// GroupName The name of the user group that has access to this installation.
		GroupName string `json:"groupName"`

		// GroupRef The ID of the user group that has access to this installation.
		GroupRef string `json:"groupRef"`

		// ProjectId The Ampersand project ID.
		ProjectId string `json:"projectId"`

		// UpdateTime The time the group was last updated.
		UpdateTime *time.Time `json:"updateTime,omitempty"`
	} `json:"group,omitempty"`

	// HealthStatus The health status of the installation.
	HealthStatus InstallationHealthStatus `json:"healthStatus"`

	// Id The installation ID.
	Id string `json:"id"`

	// IntegrationId The integration ID.
	IntegrationId string `json:"integrationId"`

	// LastOperationStatus The status of the latest operation for this installation.
	LastOperationStatus *InstallationLastOperationStatus `json:"lastOperationStatus,omitempty"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// UpdateTime The time the installation was last updated with a new config.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Installation defines model for Installation.

type InstallationConfigContentReadObjectsBackfillFieldFiltersOperator

type InstallationConfigContentReadObjectsBackfillFieldFiltersOperator string

InstallationConfigContentReadObjectsBackfillFieldFiltersOperator The comparison operator.

const (
	InstallationConfigContentReadObjectsBackfillFieldFiltersOperatorEq InstallationConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for InstallationConfigContentReadObjectsBackfillFieldFiltersOperator.

func (InstallationConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type InstallationConfigContentReadObjectsFieldFiltersOperator

type InstallationConfigContentReadObjectsFieldFiltersOperator string

InstallationConfigContentReadObjectsFieldFiltersOperator The comparison operator.

const (
	InstallationConfigContentReadObjectsFieldFiltersOperatorEq InstallationConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for InstallationConfigContentReadObjectsFieldFiltersOperator.

func (InstallationConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentReadObjectsFieldFiltersOperator enum.

type InstallationConfigContentReadObjectsSelectedFieldsAuto

type InstallationConfigContentReadObjectsSelectedFieldsAuto string

InstallationConfigContentReadObjectsSelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.

const (
	InstallationConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll InstallationConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for InstallationConfigContentReadObjectsSelectedFieldsAuto.

func (InstallationConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentReadObjectsSelectedFieldsAuto enum.

type InstallationConfigContentSubscribeObjectsCreateEventEnabled

type InstallationConfigContentSubscribeObjectsCreateEventEnabled string

InstallationConfigContentSubscribeObjectsCreateEventEnabled Conditions to enable create events.

const (
	InstallationConfigContentSubscribeObjectsCreateEventEnabledAlways InstallationConfigContentSubscribeObjectsCreateEventEnabled = "always"
	InstallationConfigContentSubscribeObjectsCreateEventEnabledNever  InstallationConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for InstallationConfigContentSubscribeObjectsCreateEventEnabled.

func (InstallationConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentSubscribeObjectsCreateEventEnabled enum.

type InstallationConfigContentSubscribeObjectsDeleteEventEnabled

type InstallationConfigContentSubscribeObjectsDeleteEventEnabled string

InstallationConfigContentSubscribeObjectsDeleteEventEnabled Conditions to enable delete events.

const (
	InstallationConfigContentSubscribeObjectsDeleteEventEnabledAlways InstallationConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	InstallationConfigContentSubscribeObjectsDeleteEventEnabledNever  InstallationConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for InstallationConfigContentSubscribeObjectsDeleteEventEnabled.

func (InstallationConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentSubscribeObjectsDeleteEventEnabled enum.

type InstallationConfigContentSubscribeObjectsUpdateEventEnabled

type InstallationConfigContentSubscribeObjectsUpdateEventEnabled string

InstallationConfigContentSubscribeObjectsUpdateEventEnabled Conditions to enable update events.

const (
	InstallationConfigContentSubscribeObjectsUpdateEventEnabledAlways InstallationConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	InstallationConfigContentSubscribeObjectsUpdateEventEnabledNever  InstallationConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for InstallationConfigContentSubscribeObjectsUpdateEventEnabled.

func (InstallationConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentSubscribeObjectsUpdateEventEnabled enum.

type InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto Whether to watch fields all fields automatically.

const (
	InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate Whether the default value should be applied when creating a record.

const (
	InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate Whether the default value should be applied when updating a record. - always: Always write to the field on update - never: Never write to the field on update - ifEmpty: Only write to the field if it's currently empty (unset or empty string).

const (
	InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the InstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type InstallationConnectionAuthScheme

type InstallationConnectionAuthScheme string

InstallationConnectionAuthScheme The authentication scheme used for this connection.

const (
	InstallationConnectionAuthSchemeApiKey                      InstallationConnectionAuthScheme = "apiKey"
	InstallationConnectionAuthSchemeBasic                       InstallationConnectionAuthScheme = "basic"
	InstallationConnectionAuthSchemeNone                        InstallationConnectionAuthScheme = "none"
	InstallationConnectionAuthSchemeOauth2authorizationCode     InstallationConnectionAuthScheme = "oauth2/authorizationCode"
	InstallationConnectionAuthSchemeOauth2authorizationCodePKCE InstallationConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	InstallationConnectionAuthSchemeOauth2clientCredentials     InstallationConnectionAuthScheme = "oauth2/clientCredentials"
	InstallationConnectionAuthSchemeOauth2password              InstallationConnectionAuthScheme = "oauth2/password"
)

Defines values for InstallationConnectionAuthScheme.

func (InstallationConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the InstallationConnectionAuthScheme enum.

type InstallationConnectionProviderMetadataSource

type InstallationConnectionProviderMetadataSource string

InstallationConnectionProviderMetadataSource The source of the metadata field

const (
	InstallationConnectionProviderMetadataSourceInput    InstallationConnectionProviderMetadataSource = "input"
	InstallationConnectionProviderMetadataSourceProvider InstallationConnectionProviderMetadataSource = "provider"
	InstallationConnectionProviderMetadataSourceToken    InstallationConnectionProviderMetadataSource = "token"
)

Defines values for InstallationConnectionProviderMetadataSource.

func (InstallationConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the InstallationConnectionProviderMetadataSource enum.

type InstallationConnectionStatus

type InstallationConnectionStatus string

InstallationConnectionStatus The status of the connection. - `created`: The connection has just been created or the access token was just refreshed. - `working`: The connection has successfully been used to make a request. - `bad_credentials`: The connection encountered credential-related issues when making a request, or when attempting to refresh the access token.

const (
	InstallationConnectionStatusBadCredentials InstallationConnectionStatus = "bad_credentials"
	InstallationConnectionStatusCreated        InstallationConnectionStatus = "created"
	InstallationConnectionStatusWorking        InstallationConnectionStatus = "working"
)

Defines values for InstallationConnectionStatus.

func (InstallationConnectionStatus) Valid

Valid indicates whether the value is a known member of the InstallationConnectionStatus enum.

type InstallationHealthStatus

type InstallationHealthStatus string

InstallationHealthStatus The health status of the installation.

const (
	InstallationHealthStatusHealthy   InstallationHealthStatus = "healthy"
	InstallationHealthStatusUnhealthy InstallationHealthStatus = "unhealthy"
)

Defines values for InstallationHealthStatus.

func (InstallationHealthStatus) Valid

func (e InstallationHealthStatus) Valid() bool

Valid indicates whether the value is a known member of the InstallationHealthStatus enum.

type InstallationLastOperationStatus

type InstallationLastOperationStatus string

InstallationLastOperationStatus The status of the latest operation for this installation.

const (
	InstallationLastOperationStatusFailure    InstallationLastOperationStatus = "failure"
	InstallationLastOperationStatusInProgress InstallationLastOperationStatus = "in_progress"
	InstallationLastOperationStatusSuccess    InstallationLastOperationStatus = "success"
)

Defines values for InstallationLastOperationStatus.

func (InstallationLastOperationStatus) Valid

Valid indicates whether the value is a known member of the InstallationLastOperationStatus enum.

type Integration

type Integration struct {
	// CreateTime The time the integration was created.
	CreateTime time.Time `json:"createTime"`

	// Id The integration ID.
	Id             string `json:"id"`
	LatestRevision struct {
		Content struct {
			DisplayName string `json:"displayName,omitempty"`
			Module      string `json:"module,omitempty"`
			Name        string `json:"name"`
			Provider    string `json:"provider"`
			Proxy       *struct {
				Enabled *bool `json:"enabled,omitempty"`

				// UseModule Default is false. If this is set to true, the base URL for the proxy action will be the module's base URL. Otherwise, it is assumed that the base URL is the provider's root base URL.
				UseModule *bool `json:"useModule,omitempty"`
			} `json:"proxy,omitempty"`
			Read *struct {
				Objects *[]struct {
					Backfill *struct {
						DefaultPeriod struct {
							// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
							Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

							// FullHistory If true, backfill all history. Required if days is not set.
							FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
						} `json:"defaultPeriod"`
					} `json:"backfill,omitempty"`
					Delivery *struct {
						// Mode The data delivery mode for this object. If not specified, defaults to automatic.
						Mode *IntegrationLatestRevisionContentReadObjectsDeliveryMode `json:"mode,omitempty"`

						// PageSize The number of records to receive per data delivery.
						PageSize *int `json:"pageSize,omitempty"`
					} `json:"delivery,omitempty"`
					Destination string `json:"destination"`

					// Enabled If set to `always`, the integration will automatically install upon user connection and skip the user field selection step.
					Enabled IntegrationLatestRevisionContentReadObjectsEnabled `json:"enabled,omitempty"`

					// MapToDisplayName A display name to map to.
					MapToDisplayName string `json:"mapToDisplayName,omitempty"`

					// MapToName An object name to map to.
					MapToName          string                                                                 `json:"mapToName,omitempty"`
					ObjectName         string                                                                 `json:"objectName"`
					OptionalFields     *[]Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item `json:"optionalFields,omitempty"`
					OptionalFieldsAuto *IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto         `json:"optionalFieldsAuto,omitempty"`
					RequiredFields     *[]Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item `json:"requiredFields,omitempty"`
					Schedule           string                                                                 `json:"schedule"`
				} `json:"objects,omitempty"`
			} `json:"read,omitempty"`
			Subscribe *struct {
				Objects *[]struct {
					AssociationChangeEvent *struct {
						// Enabled If always, the integration will subscribe to association change events.
						Enabled *IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled `json:"enabled,omitempty"`

						// IncludeFullRecords If true, the integration will include full records in the event payload.
						IncludeFullRecords *bool `json:"includeFullRecords,omitempty"`
					} `json:"associationChangeEvent,omitempty"`
					CreateEvent *struct {
						// Enabled If always, the integration will subscribe to create events by default.
						Enabled *IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled `json:"enabled,omitempty"`
					} `json:"createEvent,omitempty"`
					DeleteEvent *struct {
						// Enabled If always, the integration will subscribe to delete events by default.
						Enabled *IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled `json:"enabled,omitempty"`
					} `json:"deleteEvent,omitempty"`
					Destination string `json:"destination"`

					// InheritFieldsAndMapping If true, the integration will inherit the fields and mapping from the read object.
					InheritFieldsAndMapping bool      `json:"inheritFieldsAndMapping,omitempty"`
					ObjectName              string    `json:"objectName"`
					OtherEvents             *[]string `json:"otherEvents,omitempty"`
					UpdateEvent             *struct {
						// Enabled If always, the integration will subscribe to update events by default.
						Enabled             *IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled `json:"enabled,omitempty"`
						RequiredWatchFields *[]string                                                           `json:"requiredWatchFields,omitempty"`

						// WatchFieldsAuto If `all`, the integration will watch all fields for updates. If `selected`, the integration will watch only the fields that are selected by the user. If `inheritFieldsAndMapping` is true for Subscribe action, the integration will watch the selected fields from read action that are selected by the user.
						WatchFieldsAuto *IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
					} `json:"updateEvent,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"subscribe,omitempty"`

			// WatchSchema Configuration for monitoring provider schema changes.
			WatchSchema *struct {
				// AllObjects Schema change event configuration for all objects in the integration.
				AllObjects struct {
					// FieldChanged Configuration for detecting when fields are changed.
					FieldChanged *struct {
						// Enabled If always, the integration will monitor for field changes by default.
						Enabled IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled `json:"enabled"`
					} `json:"fieldChanged,omitempty"`

					// FieldCreated Configuration for detecting when new fields are created.
					FieldCreated *struct {
						// Enabled If always, the integration will monitor for new fields by default.
						Enabled IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled `json:"enabled"`
					} `json:"fieldCreated,omitempty"`

					// FieldDeleted Configuration for detecting when fields are deleted.
					FieldDeleted *struct {
						// Enabled If always, the integration will monitor for deleted fields by default.
						Enabled IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled `json:"enabled"`
					} `json:"fieldDeleted,omitempty"`
				} `json:"allObjects"`

				// Destination The destination to send schema change notifications to.
				Destination string `json:"destination"`

				// Schedule Cron schedule for checking schema changes. Minimum frequency is once per hour. Defaults to once a day.
				Schedule string `json:"schedule,omitempty"`
			} `json:"watchSchema,omitempty"`
			Write *struct {
				Objects *[]struct {
					// InheritMapping If true, the write object will inherit the mapping from the read object. If false, the write object will have no mapping.
					InheritMapping *bool  `json:"inheritMapping,omitempty"`
					ObjectName     string `json:"objectName"`

					// ValueDefaults Configuration to set default write values for object fields.
					ValueDefaults *struct {
						// AllowAnyFields If true, users can set default values for any field.
						AllowAnyFields *bool `json:"allowAnyFields,omitempty"`
					} `json:"valueDefaults,omitempty"`
				} `json:"objects,omitempty"`
			} `json:"write,omitempty"`
		} `json:"content"`

		// CreateTime The time the revision was created.
		CreateTime time.Time `json:"createTime"`

		// Id The revision ID.
		Id string `json:"id"`

		// SpecVersion The spec version string.
		SpecVersion string `json:"specVersion"`
	} `json:"latestRevision"`

	// Name The integration name.
	Name string `json:"name"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// Provider The SaaS provider that this integration connects to.
	Provider string `json:"provider"`

	// UpdateTime The time the integration was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Integration defines model for Integration.

type IntegrationLatestRevisionContentReadObjectsDeliveryMode

type IntegrationLatestRevisionContentReadObjectsDeliveryMode string

IntegrationLatestRevisionContentReadObjectsDeliveryMode The data delivery mode for this object. If not specified, defaults to automatic.

const (
	IntegrationLatestRevisionContentReadObjectsDeliveryModeAuto      IntegrationLatestRevisionContentReadObjectsDeliveryMode = "auto"
	IntegrationLatestRevisionContentReadObjectsDeliveryModeOnRequest IntegrationLatestRevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for IntegrationLatestRevisionContentReadObjectsDeliveryMode.

func (IntegrationLatestRevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentReadObjectsDeliveryMode enum.

type IntegrationLatestRevisionContentReadObjectsEnabled

type IntegrationLatestRevisionContentReadObjectsEnabled string

IntegrationLatestRevisionContentReadObjectsEnabled If set to `always`, the integration will automatically install upon user connection and skip the user field selection step.

const (
	IntegrationLatestRevisionContentReadObjectsEnabledAlways IntegrationLatestRevisionContentReadObjectsEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentReadObjectsEnabled.

func (IntegrationLatestRevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentReadObjectsEnabled enum.

type IntegrationLatestRevisionContentReadObjectsOptionalFields0

type IntegrationLatestRevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

IntegrationLatestRevisionContentReadObjectsOptionalFields0 defines model for .

type IntegrationLatestRevisionContentReadObjectsOptionalFields1

type IntegrationLatestRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

IntegrationLatestRevisionContentReadObjectsOptionalFields1 defines model for .

type IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto

type IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto string

IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto defines model for Integration.LatestRevision.Content.Read.Objects.OptionalFieldsAuto.

const (
	IntegrationLatestRevisionContentReadObjectsOptionalFieldsAutoAll IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto.

func (IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentReadObjectsOptionalFieldsAuto enum.

type IntegrationLatestRevisionContentReadObjectsRequiredFields0

type IntegrationLatestRevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

IntegrationLatestRevisionContentReadObjectsRequiredFields0 defines model for .

type IntegrationLatestRevisionContentReadObjectsRequiredFields1

type IntegrationLatestRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

IntegrationLatestRevisionContentReadObjectsRequiredFields1 defines model for .

type IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled

type IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled string

IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled If always, the integration will subscribe to association change events.

const (
	IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled

type IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled string

IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled If always, the integration will subscribe to create events by default.

const (
	IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabledAlways IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled.

func (IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentSubscribeObjectsCreateEventEnabled enum.

type IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled

type IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled string

IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled If always, the integration will subscribe to delete events by default.

const (
	IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabledAlways IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled.

func (IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentSubscribeObjectsDeleteEventEnabled enum.

type IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled

type IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled string

IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled If always, the integration will subscribe to update events by default.

const (
	IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabledAlways IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled.

func (IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentSubscribeObjectsUpdateEventEnabled enum.

type IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto If `all`, the integration will watch all fields for updates. If `selected`, the integration will watch only the fields that are selected by the user. If `inheritFieldsAndMapping` is true for Subscribe action, the integration will watch the selected fields from read action that are selected by the user.

const (
	IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled If always, the integration will monitor for field changes by default.

const (
	IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled If always, the integration will monitor for new fields by default.

const (
	IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled If always, the integration will monitor for deleted fields by default.

const (
	IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the IntegrationLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item

type Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item defines model for Integration.LatestRevision.Content.Read.Objects.OptionalFields.Item.

func (Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsIntegrationLatestRevisionContentReadObjectsOptionalFields0

AsIntegrationLatestRevisionContentReadObjectsOptionalFields0 returns the union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item as a IntegrationLatestRevisionContentReadObjectsOptionalFields0

func (Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsIntegrationLatestRevisionContentReadObjectsOptionalFields1

AsIntegrationLatestRevisionContentReadObjectsOptionalFields1 returns the union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item as a IntegrationLatestRevisionContentReadObjectsOptionalFields1

func (*Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromIntegrationLatestRevisionContentReadObjectsOptionalFields0

FromIntegrationLatestRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided IntegrationLatestRevisionContentReadObjectsOptionalFields0

func (*Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromIntegrationLatestRevisionContentReadObjectsOptionalFields1

FromIntegrationLatestRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided IntegrationLatestRevisionContentReadObjectsOptionalFields1

func (Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeIntegrationLatestRevisionContentReadObjectsOptionalFields0

MergeIntegrationLatestRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided IntegrationLatestRevisionContentReadObjectsOptionalFields0

func (*Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeIntegrationLatestRevisionContentReadObjectsOptionalFields1

MergeIntegrationLatestRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided IntegrationLatestRevisionContentReadObjectsOptionalFields1

func (*Integration_LatestRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item

type Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item defines model for Integration.LatestRevision.Content.Read.Objects.RequiredFields.Item.

func (Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsIntegrationLatestRevisionContentReadObjectsRequiredFields0

AsIntegrationLatestRevisionContentReadObjectsRequiredFields0 returns the union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item as a IntegrationLatestRevisionContentReadObjectsRequiredFields0

func (Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsIntegrationLatestRevisionContentReadObjectsRequiredFields1

AsIntegrationLatestRevisionContentReadObjectsRequiredFields1 returns the union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item as a IntegrationLatestRevisionContentReadObjectsRequiredFields1

func (*Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromIntegrationLatestRevisionContentReadObjectsRequiredFields0

FromIntegrationLatestRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided IntegrationLatestRevisionContentReadObjectsRequiredFields0

func (*Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromIntegrationLatestRevisionContentReadObjectsRequiredFields1

FromIntegrationLatestRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided IntegrationLatestRevisionContentReadObjectsRequiredFields1

func (Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeIntegrationLatestRevisionContentReadObjectsRequiredFields0

MergeIntegrationLatestRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided IntegrationLatestRevisionContentReadObjectsRequiredFields0

func (*Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeIntegrationLatestRevisionContentReadObjectsRequiredFields1

MergeIntegrationLatestRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided IntegrationLatestRevisionContentReadObjectsRequiredFields1

func (*Integration_LatestRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type Invite

type Invite struct {
	// CreateTime The time the invite was created.
	CreateTime time.Time `json:"createTime"`

	// Id The invite ID.
	Id string `json:"id"`

	// InvitedEmail The email address of the person invited.
	InvitedEmail string `json:"invitedEmail"`

	// ParentId The ID of the parent (e.g. org ID).
	ParentId string `json:"parentId"`

	// ParentType The type of entity that the person is invited to.
	ParentType InviteParentType `json:"parentType"`

	// Status The status of the invite.
	Status InviteStatus `json:"status"`

	// UpdateTime The time the invite was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Invite defines model for Invite.

type InviteParentType

type InviteParentType string

InviteParentType The type of entity that the person is invited to.

const (
	InviteParentTypeOrg InviteParentType = "org"
)

Defines values for InviteParentType.

func (InviteParentType) Valid

func (e InviteParentType) Valid() bool

Valid indicates whether the value is a known member of the InviteParentType enum.

type InviteStatus

type InviteStatus string

InviteStatus The status of the invite.

const (
	InviteStatusAccepted InviteStatus = "accepted"
	InviteStatusExpired  InviteStatus = "expired"
	InviteStatusPending  InviteStatus = "pending"
	InviteStatusRevoked  InviteStatus = "revoked"
)

Defines values for InviteStatus.

func (InviteStatus) Valid

func (e InviteStatus) Valid() bool

Valid indicates whether the value is a known member of the InviteStatus enum.

type JSONPatchOperation

type JSONPatchOperation struct {
	// Op The operation to perform.
	// - "add": Adds a new field or replaces an existing one at the specified path
	// - "remove": Removes the field at the specified path
	// - "replace": Replaces the value at the specified path
	Op JSONPatchOperationOp `json:"op"`

	// Path JSON Pointer path to the field to operate on (RFC 6901).
	// All paths must start with "/" (e.g., "/schedule", "/selectedFields/phone").
	Path string `json:"path"`

	// Value The value to set for add/replace operations.
	// Not used for remove operations.
	Value interface{} `json:"value,omitempty"`
}

JSONPatchOperation Represents a single JSON Patch operation (RFC 6902). Only supports add, remove, and replace operations for config updates.

type JSONPatchOperationOp

type JSONPatchOperationOp string

JSONPatchOperationOp The operation to perform. - "add": Adds a new field or replaces an existing one at the specified path - "remove": Removes the field at the specified path - "replace": Replaces the value at the specified path

const (
	JSONPatchOperationOpAdd     JSONPatchOperationOp = "add"
	JSONPatchOperationOpRemove  JSONPatchOperationOp = "remove"
	JSONPatchOperationOpReplace JSONPatchOperationOp = "replace"
)

Defines values for JSONPatchOperationOp.

func (JSONPatchOperationOp) Valid

func (e JSONPatchOperationOp) Valid() bool

Valid indicates whether the value is a known member of the JSONPatchOperationOp enum.

type JWTKey

type JWTKey struct {
	// Active Whether the JWT key is currently active and can be used for verification
	Active bool `json:"active"`

	// Algorithm The cryptographic algorithm used
	Algorithm JWTKeyAlgorithm `json:"algorithm"`

	// CreateTime Timestamp when the JWT key was created
	CreateTime time.Time `json:"createTime"`

	// Id Unique identifier for the JWT key
	Id openapi_types.UUID `json:"id"`

	// Label Human-readable name for the JWT key
	Label string `json:"label"`

	// ProjectId The project this JWT key belongs to
	ProjectId openapi_types.UUID `json:"projectId"`

	// PublicKeyPem RSA public key in PEM format
	PublicKeyPem string `json:"publicKeyPem"`

	// UpdateTime Timestamp when the JWT key was last updated
	UpdateTime time.Time `json:"updateTime"`
}

JWTKey defines model for JWTKey.

type JWTKeyAlgorithm

type JWTKeyAlgorithm string

JWTKeyAlgorithm The cryptographic algorithm used

const (
	JWTKeyAlgorithmRSA JWTKeyAlgorithm = "RSA"
)

Defines values for JWTKeyAlgorithm.

func (JWTKeyAlgorithm) Valid

func (e JWTKeyAlgorithm) Valid() bool

Valid indicates whether the value is a known member of the JWTKeyAlgorithm enum.

type JWTKeyResponse

type JWTKeyResponse struct {
	// Kid The unique key identifier (key ID) for the created JWT key
	Kid openapi_types.UUID `json:"kid"`
}

JWTKeyResponse defines model for JWTKeyResponse.

type ListApiKeysParams

type ListApiKeysParams struct {
	// Active Whether to include only active API keys. If false, all API keys are included.
	Active *bool `form:"active,omitempty" json:"active,omitempty"`
}

ListApiKeysParams defines parameters for ListApiKeys.

type ListConnections200JSONResponseBodyAuthScheme

type ListConnections200JSONResponseBodyAuthScheme string

ListConnections200JSONResponseBodyAuthScheme defines parameters for ListConnections.

const (
	ListConnections200JSONResponseBodyAuthSchemeApiKey                      ListConnections200JSONResponseBodyAuthScheme = "apiKey"
	ListConnections200JSONResponseBodyAuthSchemeBasic                       ListConnections200JSONResponseBodyAuthScheme = "basic"
	ListConnections200JSONResponseBodyAuthSchemeNone                        ListConnections200JSONResponseBodyAuthScheme = "none"
	ListConnections200JSONResponseBodyAuthSchemeOauth2authorizationCode     ListConnections200JSONResponseBodyAuthScheme = "oauth2/authorizationCode"
	ListConnections200JSONResponseBodyAuthSchemeOauth2authorizationCodePKCE ListConnections200JSONResponseBodyAuthScheme = "oauth2/authorizationCodePKCE"
	ListConnections200JSONResponseBodyAuthSchemeOauth2clientCredentials     ListConnections200JSONResponseBodyAuthScheme = "oauth2/clientCredentials"
	ListConnections200JSONResponseBodyAuthSchemeOauth2password              ListConnections200JSONResponseBodyAuthScheme = "oauth2/password"
)

Defines values for ListConnections200JSONResponseBodyAuthScheme.

func (ListConnections200JSONResponseBodyAuthScheme) Valid

Valid indicates whether the value is a known member of the ListConnections200JSONResponseBodyAuthScheme enum.

type ListConnections200JSONResponseBodyProviderMetadataSource

type ListConnections200JSONResponseBodyProviderMetadataSource string

ListConnections200JSONResponseBodyProviderMetadataSource defines parameters for ListConnections.

const (
	ListConnections200JSONResponseBodyProviderMetadataSourceInput    ListConnections200JSONResponseBodyProviderMetadataSource = "input"
	ListConnections200JSONResponseBodyProviderMetadataSourceProvider ListConnections200JSONResponseBodyProviderMetadataSource = "provider"
	ListConnections200JSONResponseBodyProviderMetadataSourceToken    ListConnections200JSONResponseBodyProviderMetadataSource = "token"
)

Defines values for ListConnections200JSONResponseBodyProviderMetadataSource.

func (ListConnections200JSONResponseBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the ListConnections200JSONResponseBodyProviderMetadataSource enum.

type ListConnections200JSONResponseBodyStatus

type ListConnections200JSONResponseBodyStatus string

ListConnections200JSONResponseBodyStatus defines parameters for ListConnections.

const (
	ListConnections200JSONResponseBodyStatusBadCredentials ListConnections200JSONResponseBodyStatus = "bad_credentials"
	ListConnections200JSONResponseBodyStatusCreated        ListConnections200JSONResponseBodyStatus = "created"
	ListConnections200JSONResponseBodyStatusWorking        ListConnections200JSONResponseBodyStatus = "working"
)

Defines values for ListConnections200JSONResponseBodyStatus.

func (ListConnections200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the ListConnections200JSONResponseBodyStatus enum.

type ListConnectionsParams

type ListConnectionsParams struct {
	// Provider The provider name (e.g. "salesforce", "hubspot")
	Provider *string `form:"provider,omitempty" json:"provider,omitempty"`

	// GroupRef The ID of the user group that has access to this installation.
	GroupRef *string `form:"groupRef,omitempty" json:"groupRef,omitempty"`

	// ConsumerRef The consumer reference.
	ConsumerRef *string `form:"consumerRef,omitempty" json:"consumerRef,omitempty"`
}

ListConnectionsParams defines parameters for ListConnections.

type ListEventTopicRoutes200JSONResponseBodyEventType

type ListEventTopicRoutes200JSONResponseBodyEventType string

ListEventTopicRoutes200JSONResponseBodyEventType defines parameters for ListEventTopicRoutes.

const (
	ListEventTopicRoutes200JSONResponseBodyEventTypeConnectionCreated          ListEventTopicRoutes200JSONResponseBodyEventType = "connection.created"
	ListEventTopicRoutes200JSONResponseBodyEventTypeConnectionDeleted          ListEventTopicRoutes200JSONResponseBodyEventType = "connection.deleted"
	ListEventTopicRoutes200JSONResponseBodyEventTypeConnectionError            ListEventTopicRoutes200JSONResponseBodyEventType = "connection.error"
	ListEventTopicRoutes200JSONResponseBodyEventTypeConnectionRefreshed        ListEventTopicRoutes200JSONResponseBodyEventType = "connection.refreshed"
	ListEventTopicRoutes200JSONResponseBodyEventTypeConnectionUpdated          ListEventTopicRoutes200JSONResponseBodyEventType = "connection.updated"
	ListEventTopicRoutes200JSONResponseBodyEventTypeDestinationWebhookDisabled ListEventTopicRoutes200JSONResponseBodyEventType = "destination.webhook.disabled"
	ListEventTopicRoutes200JSONResponseBodyEventTypeInstallationCreated        ListEventTopicRoutes200JSONResponseBodyEventType = "installation.created"
	ListEventTopicRoutes200JSONResponseBodyEventTypeInstallationDeleted        ListEventTopicRoutes200JSONResponseBodyEventType = "installation.deleted"
	ListEventTopicRoutes200JSONResponseBodyEventTypeInstallationUpdated        ListEventTopicRoutes200JSONResponseBodyEventType = "installation.updated"
	ListEventTopicRoutes200JSONResponseBodyEventTypeReadBackfillDone           ListEventTopicRoutes200JSONResponseBodyEventType = "read.backfill.done"
	ListEventTopicRoutes200JSONResponseBodyEventTypeReadSchedulePaused         ListEventTopicRoutes200JSONResponseBodyEventType = "read.schedule.paused"
	ListEventTopicRoutes200JSONResponseBodyEventTypeReadTriggeredDone          ListEventTopicRoutes200JSONResponseBodyEventType = "read.triggered.done"
	ListEventTopicRoutes200JSONResponseBodyEventTypeReadTriggeredError         ListEventTopicRoutes200JSONResponseBodyEventType = "read.triggered.error"
	ListEventTopicRoutes200JSONResponseBodyEventTypeSubscribeCreateError       ListEventTopicRoutes200JSONResponseBodyEventType = "subscribe.create.error"
	ListEventTopicRoutes200JSONResponseBodyEventTypeWriteAsyncDone             ListEventTopicRoutes200JSONResponseBodyEventType = "write.async.done"
)

Defines values for ListEventTopicRoutes200JSONResponseBodyEventType.

func (ListEventTopicRoutes200JSONResponseBodyEventType) Valid

Valid indicates whether the value is a known member of the ListEventTopicRoutes200JSONResponseBodyEventType enum.

type ListEventTopicRoutesParams

type ListEventTopicRoutesParams struct {
	// TopicId Filter by topic ID.
	TopicId *string `form:"topicId,omitempty" json:"topicId,omitempty"`

	// EventType Filter by notification event type.
	EventType *ListEventTopicRoutesParamsEventType `form:"eventType,omitempty" json:"eventType,omitempty"`
}

ListEventTopicRoutesParams defines parameters for ListEventTopicRoutes.

type ListEventTopicRoutesParamsEventType

type ListEventTopicRoutesParamsEventType string

ListEventTopicRoutesParamsEventType defines parameters for ListEventTopicRoutes.

const (
	ListEventTopicRoutesParamsEventTypeConnectionCreated          ListEventTopicRoutesParamsEventType = "connection.created"
	ListEventTopicRoutesParamsEventTypeConnectionDeleted          ListEventTopicRoutesParamsEventType = "connection.deleted"
	ListEventTopicRoutesParamsEventTypeConnectionError            ListEventTopicRoutesParamsEventType = "connection.error"
	ListEventTopicRoutesParamsEventTypeConnectionRefreshed        ListEventTopicRoutesParamsEventType = "connection.refreshed"
	ListEventTopicRoutesParamsEventTypeConnectionUpdated          ListEventTopicRoutesParamsEventType = "connection.updated"
	ListEventTopicRoutesParamsEventTypeDestinationWebhookDisabled ListEventTopicRoutesParamsEventType = "destination.webhook.disabled"
	ListEventTopicRoutesParamsEventTypeInstallationCreated        ListEventTopicRoutesParamsEventType = "installation.created"
	ListEventTopicRoutesParamsEventTypeInstallationDeleted        ListEventTopicRoutesParamsEventType = "installation.deleted"
	ListEventTopicRoutesParamsEventTypeInstallationUpdated        ListEventTopicRoutesParamsEventType = "installation.updated"
	ListEventTopicRoutesParamsEventTypeReadBackfillDone           ListEventTopicRoutesParamsEventType = "read.backfill.done"
	ListEventTopicRoutesParamsEventTypeReadSchedulePaused         ListEventTopicRoutesParamsEventType = "read.schedule.paused"
	ListEventTopicRoutesParamsEventTypeReadTriggeredDone          ListEventTopicRoutesParamsEventType = "read.triggered.done"
	ListEventTopicRoutesParamsEventTypeReadTriggeredError         ListEventTopicRoutesParamsEventType = "read.triggered.error"
	ListEventTopicRoutesParamsEventTypeSubscribeCreateError       ListEventTopicRoutesParamsEventType = "subscribe.create.error"
	ListEventTopicRoutesParamsEventTypeWriteAsyncDone             ListEventTopicRoutesParamsEventType = "write.async.done"
)

Defines values for ListEventTopicRoutesParamsEventType.

func (ListEventTopicRoutesParamsEventType) Valid

Valid indicates whether the value is a known member of the ListEventTopicRoutesParamsEventType enum.

type ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type ListInstallations200JSONResponseBodyConnectionAuthScheme

type ListInstallations200JSONResponseBodyConnectionAuthScheme string

ListInstallations200JSONResponseBodyConnectionAuthScheme defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConnectionAuthSchemeApiKey                      ListInstallations200JSONResponseBodyConnectionAuthScheme = "apiKey"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeBasic                       ListInstallations200JSONResponseBodyConnectionAuthScheme = "basic"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeNone                        ListInstallations200JSONResponseBodyConnectionAuthScheme = "none"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     ListInstallations200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE ListInstallations200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     ListInstallations200JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	ListInstallations200JSONResponseBodyConnectionAuthSchemeOauth2password              ListInstallations200JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for ListInstallations200JSONResponseBodyConnectionAuthScheme.

func (ListInstallations200JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConnectionAuthScheme enum.

type ListInstallations200JSONResponseBodyConnectionProviderMetadataSource

type ListInstallations200JSONResponseBodyConnectionProviderMetadataSource string

ListInstallations200JSONResponseBodyConnectionProviderMetadataSource defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConnectionProviderMetadataSourceInput    ListInstallations200JSONResponseBodyConnectionProviderMetadataSource = "input"
	ListInstallations200JSONResponseBodyConnectionProviderMetadataSourceProvider ListInstallations200JSONResponseBodyConnectionProviderMetadataSource = "provider"
	ListInstallations200JSONResponseBodyConnectionProviderMetadataSourceToken    ListInstallations200JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for ListInstallations200JSONResponseBodyConnectionProviderMetadataSource.

func (ListInstallations200JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConnectionProviderMetadataSource enum.

type ListInstallations200JSONResponseBodyConnectionStatus

type ListInstallations200JSONResponseBodyConnectionStatus string

ListInstallations200JSONResponseBodyConnectionStatus defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyConnectionStatusBadCredentials ListInstallations200JSONResponseBodyConnectionStatus = "bad_credentials"
	ListInstallations200JSONResponseBodyConnectionStatusCreated        ListInstallations200JSONResponseBodyConnectionStatus = "created"
	ListInstallations200JSONResponseBodyConnectionStatusWorking        ListInstallations200JSONResponseBodyConnectionStatus = "working"
)

Defines values for ListInstallations200JSONResponseBodyConnectionStatus.

func (ListInstallations200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyConnectionStatus enum.

type ListInstallations200JSONResponseBodyHealthStatus

type ListInstallations200JSONResponseBodyHealthStatus string

ListInstallations200JSONResponseBodyHealthStatus defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyHealthStatusHealthy   ListInstallations200JSONResponseBodyHealthStatus = "healthy"
	ListInstallations200JSONResponseBodyHealthStatusUnhealthy ListInstallations200JSONResponseBodyHealthStatus = "unhealthy"
)

Defines values for ListInstallations200JSONResponseBodyHealthStatus.

func (ListInstallations200JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyHealthStatus enum.

type ListInstallations200JSONResponseBodyLastOperationStatus

type ListInstallations200JSONResponseBodyLastOperationStatus string

ListInstallations200JSONResponseBodyLastOperationStatus defines parameters for ListInstallations.

const (
	ListInstallations200JSONResponseBodyLastOperationStatusFailure    ListInstallations200JSONResponseBodyLastOperationStatus = "failure"
	ListInstallations200JSONResponseBodyLastOperationStatusInProgress ListInstallations200JSONResponseBodyLastOperationStatus = "in_progress"
	ListInstallations200JSONResponseBodyLastOperationStatusSuccess    ListInstallations200JSONResponseBodyLastOperationStatus = "success"
)

Defines values for ListInstallations200JSONResponseBodyLastOperationStatus.

func (ListInstallations200JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the ListInstallations200JSONResponseBodyLastOperationStatus enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme

type ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme string

ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeApiKey                      ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "apiKey"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeBasic                       ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "basic"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeNone                        ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "none"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	ListInstallationsForProject200JSONResponseBodyConnectionAuthSchemeOauth2password              ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme.

func (ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConnectionAuthScheme enum.

type ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource

type ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource string

ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSourceInput    ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource = "input"
	ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSourceProvider ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource = "provider"
	ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSourceToken    ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource.

func (ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConnectionProviderMetadataSource enum.

type ListInstallationsForProject200JSONResponseBodyConnectionStatus

type ListInstallationsForProject200JSONResponseBodyConnectionStatus string

ListInstallationsForProject200JSONResponseBodyConnectionStatus defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyConnectionStatusBadCredentials ListInstallationsForProject200JSONResponseBodyConnectionStatus = "bad_credentials"
	ListInstallationsForProject200JSONResponseBodyConnectionStatusCreated        ListInstallationsForProject200JSONResponseBodyConnectionStatus = "created"
	ListInstallationsForProject200JSONResponseBodyConnectionStatusWorking        ListInstallationsForProject200JSONResponseBodyConnectionStatus = "working"
)

Defines values for ListInstallationsForProject200JSONResponseBodyConnectionStatus.

func (ListInstallationsForProject200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyConnectionStatus enum.

type ListInstallationsForProject200JSONResponseBodyHealthStatus

type ListInstallationsForProject200JSONResponseBodyHealthStatus string

ListInstallationsForProject200JSONResponseBodyHealthStatus defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyHealthStatusHealthy   ListInstallationsForProject200JSONResponseBodyHealthStatus = "healthy"
	ListInstallationsForProject200JSONResponseBodyHealthStatusUnhealthy ListInstallationsForProject200JSONResponseBodyHealthStatus = "unhealthy"
)

Defines values for ListInstallationsForProject200JSONResponseBodyHealthStatus.

func (ListInstallationsForProject200JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyHealthStatus enum.

type ListInstallationsForProject200JSONResponseBodyLastOperationStatus

type ListInstallationsForProject200JSONResponseBodyLastOperationStatus string

ListInstallationsForProject200JSONResponseBodyLastOperationStatus defines parameters for ListInstallationsForProject.

const (
	ListInstallationsForProject200JSONResponseBodyLastOperationStatusFailure    ListInstallationsForProject200JSONResponseBodyLastOperationStatus = "failure"
	ListInstallationsForProject200JSONResponseBodyLastOperationStatusInProgress ListInstallationsForProject200JSONResponseBodyLastOperationStatus = "in_progress"
	ListInstallationsForProject200JSONResponseBodyLastOperationStatusSuccess    ListInstallationsForProject200JSONResponseBodyLastOperationStatus = "success"
)

Defines values for ListInstallationsForProject200JSONResponseBodyLastOperationStatus.

func (ListInstallationsForProject200JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the ListInstallationsForProject200JSONResponseBodyLastOperationStatus enum.

type ListInstallationsForProjectParams

type ListInstallationsForProjectParams struct {
	// GroupRef The ID that your app uses to identify a group of users (e.g. an org ID, workspace ID, or team ID). When provided, only returns installations belonging to this group.
	GroupRef *string `form:"groupRef,omitempty" json:"groupRef,omitempty"`
}

ListInstallationsForProjectParams defines parameters for ListInstallationsForProject.

type ListInstallationsParams

type ListInstallationsParams struct {
	// GroupRef The ID that your app uses to identify a group of users (e.g. an org ID, workspace ID, or team ID). When provided, only returns installations belonging to this group.
	GroupRef *string `form:"groupRef,omitempty" json:"groupRef,omitempty"`
}

ListInstallationsParams defines parameters for ListInstallations.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode string

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeAuto      ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "auto"
	ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryModeOnRequest ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsDeliveryMode enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 defines parameters for ListIntegrations.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 defines parameters for ListIntegrations.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto string

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAutoAll ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFieldsAuto enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 defines parameters for ListIntegrations.

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

type ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 defines parameters for ListIntegrations.

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsCreateEventEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsDeleteEventEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled defines parameters for ListIntegrations.

const (
	ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the ListIntegrations200JSONResponseBodyLatestRevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item

type ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item defines parameters for ListIntegrations.

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 returns the union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 returns the union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as a ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item as the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields0

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item, using the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsOptionalFields1

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item

type ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item defines parameters for ListIntegrations.

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 returns the union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

AsListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 returns the union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as a ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

FromListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item as the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields0

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

MergeListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item, using the provided ListIntegrations200JSONResponseBodyLatestRevisionContentReadObjectsRequiredFields1

func (*ListIntegrations200JSONResponseBody_LatestRevision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type ListJWTKeys200JSONResponseBodyAlgorithm

type ListJWTKeys200JSONResponseBodyAlgorithm string

ListJWTKeys200JSONResponseBodyAlgorithm defines parameters for ListJWTKeys.

const (
	ListJWTKeys200JSONResponseBodyAlgorithmRSA ListJWTKeys200JSONResponseBodyAlgorithm = "RSA"
)

Defines values for ListJWTKeys200JSONResponseBodyAlgorithm.

func (ListJWTKeys200JSONResponseBodyAlgorithm) Valid

Valid indicates whether the value is a known member of the ListJWTKeys200JSONResponseBodyAlgorithm enum.

type ListJWTKeysParams

type ListJWTKeysParams struct {
	// Active Filter to only return active JWT keys
	Active *bool `form:"active,omitempty" json:"active,omitempty"`
}

ListJWTKeysParams defines parameters for ListJWTKeys.

type ListOperationLogs200JSONResponseBody_Message

type ListOperationLogs200JSONResponseBody_Message struct {
	// Details The details of the log.
	Details *map[string]string `json:"details,omitempty"`

	// Error The error message, if there has been an error.
	Error *string `json:"error,omitempty"`

	// Msg The use-readable message.
	Msg string `json:"msg"`

	// OperationId The operation ID.
	OperationId          *string                `json:"operation_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ListOperationLogs200JSONResponseBody_Message defines parameters for ListOperationLogs.

func (ListOperationLogs200JSONResponseBody_Message) Get

func (a ListOperationLogs200JSONResponseBody_Message) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ListOperationLogs200JSONResponseBody_Message. Returns the specified element and whether it was found

func (ListOperationLogs200JSONResponseBody_Message) MarshalJSON

Override default JSON handling for ListOperationLogs200JSONResponseBody_Message to handle AdditionalProperties

func (*ListOperationLogs200JSONResponseBody_Message) Set

func (a *ListOperationLogs200JSONResponseBody_Message) Set(fieldName string, value interface{})

Setter for additional properties for ListOperationLogs200JSONResponseBody_Message

func (*ListOperationLogs200JSONResponseBody_Message) UnmarshalJSON

Override default JSON handling for ListOperationLogs200JSONResponseBody_Message to handle AdditionalProperties

type ListOperationsParams

type ListOperationsParams struct {
	// PageSize The number of operations to return.
	PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`

	// PageToken A cursor that can be passed to paginate through multiple pages of operations.
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

ListOperationsParams defines parameters for ListOperations.

type ListOrgInvites200JSONResponseBodyParentType

type ListOrgInvites200JSONResponseBodyParentType string

ListOrgInvites200JSONResponseBodyParentType defines parameters for ListOrgInvites.

const (
	ListOrgInvites200JSONResponseBodyParentTypeOrg ListOrgInvites200JSONResponseBodyParentType = "org"
)

Defines values for ListOrgInvites200JSONResponseBodyParentType.

func (ListOrgInvites200JSONResponseBodyParentType) Valid

Valid indicates whether the value is a known member of the ListOrgInvites200JSONResponseBodyParentType enum.

type ListOrgInvites200JSONResponseBodyStatus

type ListOrgInvites200JSONResponseBodyStatus string

ListOrgInvites200JSONResponseBodyStatus defines parameters for ListOrgInvites.

const (
	ListOrgInvites200JSONResponseBodyStatusAccepted ListOrgInvites200JSONResponseBodyStatus = "accepted"
	ListOrgInvites200JSONResponseBodyStatusExpired  ListOrgInvites200JSONResponseBodyStatus = "expired"
	ListOrgInvites200JSONResponseBodyStatusPending  ListOrgInvites200JSONResponseBodyStatus = "pending"
	ListOrgInvites200JSONResponseBodyStatusRevoked  ListOrgInvites200JSONResponseBodyStatus = "revoked"
)

Defines values for ListOrgInvites200JSONResponseBodyStatus.

func (ListOrgInvites200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the ListOrgInvites200JSONResponseBodyStatus enum.

type ListProviders200JSONResponseBodyApiKeyOptsAttachmentType

type ListProviders200JSONResponseBodyApiKeyOptsAttachmentType string

ListProviders200JSONResponseBodyApiKeyOptsAttachmentType defines parameters for ListProviders.

const (
	ListProviders200JSONResponseBodyApiKeyOptsAttachmentTypeHeader ListProviders200JSONResponseBodyApiKeyOptsAttachmentType = "header"
	ListProviders200JSONResponseBodyApiKeyOptsAttachmentTypeQuery  ListProviders200JSONResponseBodyApiKeyOptsAttachmentType = "query"
)

Defines values for ListProviders200JSONResponseBodyApiKeyOptsAttachmentType.

func (ListProviders200JSONResponseBodyApiKeyOptsAttachmentType) Valid

Valid indicates whether the value is a known member of the ListProviders200JSONResponseBodyApiKeyOptsAttachmentType enum.

type ListProviders200JSONResponseBodyAuthType

type ListProviders200JSONResponseBodyAuthType string

ListProviders200JSONResponseBodyAuthType defines parameters for ListProviders.

const (
	ListProviders200JSONResponseBodyAuthTypeApiKey ListProviders200JSONResponseBodyAuthType = "apiKey"
	ListProviders200JSONResponseBodyAuthTypeBasic  ListProviders200JSONResponseBodyAuthType = "basic"
	ListProviders200JSONResponseBodyAuthTypeCustom ListProviders200JSONResponseBodyAuthType = "custom"
	ListProviders200JSONResponseBodyAuthTypeJwt    ListProviders200JSONResponseBodyAuthType = "jwt"
	ListProviders200JSONResponseBodyAuthTypeNone   ListProviders200JSONResponseBodyAuthType = "none"
	ListProviders200JSONResponseBodyAuthTypeOauth2 ListProviders200JSONResponseBodyAuthType = "oauth2"
)

Defines values for ListProviders200JSONResponseBodyAuthType.

func (ListProviders200JSONResponseBodyAuthType) Valid

Valid indicates whether the value is a known member of the ListProviders200JSONResponseBodyAuthType enum.

type ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed

type ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed string

ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed defines parameters for ListProviders.

const (
	ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsedPasswordField ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed = "password"
	ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsedUsernameField ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed = "username"
)

Defines values for ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed.

func (ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed) Valid

Valid indicates whether the value is a known member of the ListProviders200JSONResponseBodyBasicOptsApiKeyAsBasicOptsFieldUsed enum.

type ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType

type ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType string

ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType defines parameters for ListProviders.

const (
	ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentTypeAccessTokenHeaderAttachment ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType = "accessTokenHeaderAttachment"
)

Defines values for ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType.

func (ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType) Valid

Valid indicates whether the value is a known member of the ListProviders200JSONResponseBodyOauth2OptsAccessTokenOptsAttachmentType enum.

type ListProviders200JSONResponseBodyOauth2OptsGrantType

type ListProviders200JSONResponseBodyOauth2OptsGrantType string

ListProviders200JSONResponseBodyOauth2OptsGrantType defines parameters for ListProviders.

const (
	ListProviders200JSONResponseBodyOauth2OptsGrantTypeAuthorizationCode     ListProviders200JSONResponseBodyOauth2OptsGrantType = "authorizationCode"
	ListProviders200JSONResponseBodyOauth2OptsGrantTypeAuthorizationCodePKCE ListProviders200JSONResponseBodyOauth2OptsGrantType = "authorizationCodePKCE"
	ListProviders200JSONResponseBodyOauth2OptsGrantTypeClientCredentials     ListProviders200JSONResponseBodyOauth2OptsGrantType = "clientCredentials"
	ListProviders200JSONResponseBodyOauth2OptsGrantTypePassword              ListProviders200JSONResponseBodyOauth2OptsGrantType = "password"
)

Defines values for ListProviders200JSONResponseBodyOauth2OptsGrantType.

func (ListProviders200JSONResponseBodyOauth2OptsGrantType) Valid

Valid indicates whether the value is a known member of the ListProviders200JSONResponseBodyOauth2OptsGrantType enum.

type ListTopicDestinationRoutesParams

type ListTopicDestinationRoutesParams struct {
	// TopicId Filter by topic ID.
	TopicId *string `form:"topicId,omitempty" json:"topicId,omitempty"`

	// DestinationId Filter by destination ID.
	DestinationId *string `form:"destinationId,omitempty" json:"destinationId,omitempty"`
}

ListTopicDestinationRoutesParams defines parameters for ListTopicDestinationRoutes.

type Log

type Log struct {
	// Message The log message object.
	Message Log_Message `json:"message"`

	// Severity The severity of the log.
	Severity string `json:"severity"`

	// Timestamp The time the log was created.
	Timestamp string `json:"timestamp"`
}

Log defines model for Log.

type Log_Message

type Log_Message struct {
	// Details The details of the log.
	Details *map[string]string `json:"details,omitempty"`

	// Error The error message, if there has been an error.
	Error *string `json:"error,omitempty"`

	// Msg The use-readable message.
	Msg string `json:"msg"`

	// OperationId The operation ID.
	OperationId          *string                `json:"operation_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Log_Message The log message object.

func (Log_Message) Get

func (a Log_Message) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Log_Message. Returns the specified element and whether it was found

func (Log_Message) MarshalJSON

func (a Log_Message) MarshalJSON() ([]byte, error)

Override default JSON handling for Log_Message to handle AdditionalProperties

func (*Log_Message) Set

func (a *Log_Message) Set(fieldName string, value interface{})

Setter for additional properties for Log_Message

func (*Log_Message) UnmarshalJSON

func (a *Log_Message) UnmarshalJSON(b []byte) error

Override default JSON handling for Log_Message to handle AdditionalProperties

type NotificationEventTopicRoute

type NotificationEventTopicRoute struct {
	// CreateTime The time when the event-topic route was created.
	CreateTime time.Time `json:"createTime"`

	// EventType The type of notification event.
	EventType NotificationEventTopicRouteEventType `json:"eventType"`

	// Id The event-topic route ID.
	Id string `json:"id"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// TopicId The ID of the topic to route events to.
	TopicId string `json:"topicId"`

	// UpdateTime The time when the event-topic route was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

NotificationEventTopicRoute defines model for NotificationEventTopicRoute.

type NotificationEventTopicRouteEventType

type NotificationEventTopicRouteEventType string

NotificationEventTopicRouteEventType The type of notification event.

const (
	NotificationEventTopicRouteEventTypeConnectionCreated          NotificationEventTopicRouteEventType = "connection.created"
	NotificationEventTopicRouteEventTypeConnectionDeleted          NotificationEventTopicRouteEventType = "connection.deleted"
	NotificationEventTopicRouteEventTypeConnectionError            NotificationEventTopicRouteEventType = "connection.error"
	NotificationEventTopicRouteEventTypeConnectionRefreshed        NotificationEventTopicRouteEventType = "connection.refreshed"
	NotificationEventTopicRouteEventTypeConnectionUpdated          NotificationEventTopicRouteEventType = "connection.updated"
	NotificationEventTopicRouteEventTypeDestinationWebhookDisabled NotificationEventTopicRouteEventType = "destination.webhook.disabled"
	NotificationEventTopicRouteEventTypeInstallationCreated        NotificationEventTopicRouteEventType = "installation.created"
	NotificationEventTopicRouteEventTypeInstallationDeleted        NotificationEventTopicRouteEventType = "installation.deleted"
	NotificationEventTopicRouteEventTypeInstallationUpdated        NotificationEventTopicRouteEventType = "installation.updated"
	NotificationEventTopicRouteEventTypeReadBackfillDone           NotificationEventTopicRouteEventType = "read.backfill.done"
	NotificationEventTopicRouteEventTypeReadSchedulePaused         NotificationEventTopicRouteEventType = "read.schedule.paused"
	NotificationEventTopicRouteEventTypeReadTriggeredDone          NotificationEventTopicRouteEventType = "read.triggered.done"
	NotificationEventTopicRouteEventTypeReadTriggeredError         NotificationEventTopicRouteEventType = "read.triggered.error"
	NotificationEventTopicRouteEventTypeSubscribeCreateError       NotificationEventTopicRouteEventType = "subscribe.create.error"
	NotificationEventTopicRouteEventTypeWriteAsyncDone             NotificationEventTopicRouteEventType = "write.async.done"
)

Defines values for NotificationEventTopicRouteEventType.

func (NotificationEventTopicRouteEventType) Valid

Valid indicates whether the value is a known member of the NotificationEventTopicRouteEventType enum.

type NotificationEventType

type NotificationEventType string

NotificationEventType The type of notification event.

const (
	NotificationEventTypeConnectionCreated          NotificationEventType = "connection.created"
	NotificationEventTypeConnectionDeleted          NotificationEventType = "connection.deleted"
	NotificationEventTypeConnectionError            NotificationEventType = "connection.error"
	NotificationEventTypeConnectionRefreshed        NotificationEventType = "connection.refreshed"
	NotificationEventTypeConnectionUpdated          NotificationEventType = "connection.updated"
	NotificationEventTypeDestinationWebhookDisabled NotificationEventType = "destination.webhook.disabled"
	NotificationEventTypeInstallationCreated        NotificationEventType = "installation.created"
	NotificationEventTypeInstallationDeleted        NotificationEventType = "installation.deleted"
	NotificationEventTypeInstallationUpdated        NotificationEventType = "installation.updated"
	NotificationEventTypeReadBackfillDone           NotificationEventType = "read.backfill.done"
	NotificationEventTypeReadSchedulePaused         NotificationEventType = "read.schedule.paused"
	NotificationEventTypeReadTriggeredDone          NotificationEventType = "read.triggered.done"
	NotificationEventTypeReadTriggeredError         NotificationEventType = "read.triggered.error"
	NotificationEventTypeSubscribeCreateError       NotificationEventType = "subscribe.create.error"
	NotificationEventTypeWriteAsyncDone             NotificationEventType = "write.async.done"
)

Defines values for NotificationEventType.

func (NotificationEventType) Valid

func (e NotificationEventType) Valid() bool

Valid indicates whether the value is a known member of the NotificationEventType enum.

type NumericFieldOptions

type NumericFieldOptions struct {
	// DefaultValue Default value for the field
	DefaultValue *float32 `json:"defaultValue,omitempty"`

	// Max Maximum value for numeric fields
	Max *float32 `json:"max,omitempty"`

	// Min Minimum value for numeric fields
	Min *float32 `json:"min,omitempty"`

	// Precision Total number of digits (for decimal types)
	Precision *int `json:"precision,omitempty"`

	// Scale Number of digits to the right of the decimal point (for decimal types)
	Scale *int `json:"scale,omitempty"`
}

NumericFieldOptions Additional options for numeric fields

type Oauth2AuthorizationCode

type Oauth2AuthorizationCode struct {
	// AccessToken The access token for the connection.
	AccessToken *struct {
		ExpiresAt *time.Time `json:"expiresAt,omitempty"`
		IssuedAt  *time.Time `json:"issuedAt,omitempty"`
		Token     string     `json:"token"`
	} `json:"accessToken,omitempty"`

	// RefreshToken The refresh token to use for the connection.
	RefreshToken *struct {
		ExpiresAt *time.Time `json:"expiresAt,omitempty"`
		IssuedAt  *time.Time `json:"issuedAt,omitempty"`
		Token     string     `json:"token"`
	} `json:"refreshToken,omitempty"`

	// Scopes The scopes for the tokens.
	Scopes *[]string `json:"scopes,omitempty"`
}

Oauth2AuthorizationCode defines model for Oauth2AuthorizationCode.

type Oauth2AuthorizationCodeTokensOnly

type Oauth2AuthorizationCodeTokensOnly struct {
	// AccessToken The access token for the connection.
	AccessToken *struct {
		ExpiresAt *time.Time `json:"expiresAt,omitempty"`
		IssuedAt  *time.Time `json:"issuedAt,omitempty"`
		Token     string     `json:"token"`
	} `json:"accessToken,omitempty"`

	// RefreshToken The refresh token to use for the connection.
	RefreshToken *struct {
		ExpiresAt *time.Time `json:"expiresAt,omitempty"`
		IssuedAt  *time.Time `json:"issuedAt,omitempty"`
		Token     string     `json:"token"`
	} `json:"refreshToken,omitempty"`

	// Scopes The scopes for the tokens.
	Scopes *[]string `json:"scopes,omitempty"`
}

Oauth2AuthorizationCodeTokensOnly defines model for Oauth2AuthorizationCodeTokensOnly.

type OauthConnectJSONBody

type OauthConnectJSONBody struct {
	// ConsumerName The display name for the consumer. Defaults to consumerRef if not provided.
	ConsumerName *string `json:"consumerName,omitempty"`

	// ConsumerRef The ID that your app uses to identify the user whose SaaS credential will be used for this OAuth flow.
	ConsumerRef string `json:"consumerRef"`

	// EnableCSRFProtection This boolean flag is used by the UI library internally. Set it to false or omit it when manually calling this API.
	EnableCSRFProtection *bool `json:"enableCSRFProtection,omitempty"`

	// GroupName The display name for the group. Defaults to groupRef if not provided.
	GroupName *string `json:"groupName,omitempty"`

	// GroupRef Your application's identifier for the organization or workspace that this connection belongs to (e.g. an org ID or team ID).
	GroupRef string `json:"groupRef"`

	// ProjectIdOrName The Ampersand project ID or project name.
	ProjectIdOrName string `json:"projectIdOrName"`

	// Provider The provider that this app connects to.
	Provider string `json:"provider"`

	// ProviderAppId ID of the provider app, returned from the [Create Provider App endpoint](https://docs.withampersand.com/reference/provider-apps/create-provider-app). If omitted, the default provider app that was set up on the Ampersand Dashboard is assumed.
	ProviderAppId *string `json:"providerAppId,omitempty"`

	// ProviderMetadata Additional provider-specific metadata required by certain providers (e.g., account ID for NetSuite). See provider documentation for which fields are needed.
	ProviderMetadata *map[string]struct {
		// DisplayName The human-readable name for the field
		DisplayName *string `json:"displayName,omitempty"`

		// Source The source of the metadata field
		Source OauthConnectJSONBodyProviderMetadataSource `json:"source"`

		// Value The value of the metadata field
		Value string `json:"value"`
	} `json:"providerMetadata,omitempty"`

	// ProviderWorkspaceRef The identifier for the provider workspace (e.g. the Salesforce subdomain).
	ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
}

OauthConnectJSONBody defines parameters for OauthConnect.

type OauthConnectJSONBodyProviderMetadataSource

type OauthConnectJSONBodyProviderMetadataSource string

OauthConnectJSONBodyProviderMetadataSource defines parameters for OauthConnect.

const (
	OauthConnectJSONBodyProviderMetadataSourceInput    OauthConnectJSONBodyProviderMetadataSource = "input"
	OauthConnectJSONBodyProviderMetadataSourceProvider OauthConnectJSONBodyProviderMetadataSource = "provider"
	OauthConnectJSONBodyProviderMetadataSourceToken    OauthConnectJSONBodyProviderMetadataSource = "token"
)

Defines values for OauthConnectJSONBodyProviderMetadataSource.

func (OauthConnectJSONBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the OauthConnectJSONBodyProviderMetadataSource enum.

type OauthConnectJSONRequestBody

type OauthConnectJSONRequestBody OauthConnectJSONBody

OauthConnectJSONRequestBody defines body for OauthConnect for application/json ContentType.

type ObjectMetadata

type ObjectMetadata struct {
	// DisplayName Human-readable name of the object
	DisplayName *string `json:"displayName,omitempty"`

	// Fields Map of field metadata keyed by field name
	Fields map[string]struct {
		// DisplayName The display name of the field from the provider API.
		DisplayName string `json:"displayName"`

		// FieldName The name of the field from the provider API.
		FieldName string `json:"fieldName"`

		// IsCustom Whether the field is custom field.
		IsCustom *bool `json:"isCustom,omitempty"`

		// IsRequired Whether the field is required when creating a new record.
		IsRequired *bool `json:"isRequired,omitempty"`

		// ProviderType Raw field type from the provider API.
		ProviderType string `json:"providerType,omitempty"`

		// ReadOnly Whether the field is read-only.
		ReadOnly *bool `json:"readOnly,omitempty"`

		// ReferenceTo The list of object types this field references. Only applicable if the providerType is a lookup/reference field.
		ReferenceTo []string `json:"referenceTo,omitempty"`

		// ValueType A normalized field type
		ValueType ObjectMetadataFieldsValueType `json:"valueType,omitempty"`

		// Values If the valueType is singleSelect or multiSelect, this is a list of possible values
		Values []struct {
			// DisplayValue The human-readable display value
			DisplayValue string `json:"displayValue"`

			// Value The internal value used by the system
			Value string `json:"value"`
		} `json:"values,omitempty"`
	} `json:"fields"`

	// MappedObjectName The mapped name of the object as defined in your integration config, if a mapping was applied. Only present when using the installation-scoped metadata endpoint.
	MappedObjectName *string `json:"mappedObjectName,omitempty"`

	// Name The provider name of the object
	Name string `json:"name"`
}

ObjectMetadata defines model for ObjectMetadata.

type ObjectMetadataFieldsValueType

type ObjectMetadataFieldsValueType string

ObjectMetadataFieldsValueType A normalized field type

const (
	ObjectMetadataFieldsValueTypeBoolean      ObjectMetadataFieldsValueType = "boolean"
	ObjectMetadataFieldsValueTypeDate         ObjectMetadataFieldsValueType = "date"
	ObjectMetadataFieldsValueTypeDatetime     ObjectMetadataFieldsValueType = "datetime"
	ObjectMetadataFieldsValueTypeFloat        ObjectMetadataFieldsValueType = "float"
	ObjectMetadataFieldsValueTypeInt          ObjectMetadataFieldsValueType = "int"
	ObjectMetadataFieldsValueTypeMultiSelect  ObjectMetadataFieldsValueType = "multiSelect"
	ObjectMetadataFieldsValueTypeOther        ObjectMetadataFieldsValueType = "other"
	ObjectMetadataFieldsValueTypeReference    ObjectMetadataFieldsValueType = "reference"
	ObjectMetadataFieldsValueTypeSingleSelect ObjectMetadataFieldsValueType = "singleSelect"
	ObjectMetadataFieldsValueTypeString       ObjectMetadataFieldsValueType = "string"
)

Defines values for ObjectMetadataFieldsValueType.

func (ObjectMetadataFieldsValueType) Valid

Valid indicates whether the value is a known member of the ObjectMetadataFieldsValueType enum.

type Operation

type Operation struct {
	// ActionType The type of action that was performed (`read`, `write`, or `subscribe`).
	ActionType string `json:"actionType"`

	// ConfigId The config ID.
	ConfigId string `json:"configId"`

	// CreateTime The time the operation was created.
	CreateTime *time.Time `json:"createTime,omitempty"`

	// Id Unique identifier for this operation. Use this to fetch operation details or list logs for debugging.
	Id string `json:"id"`

	// InstallationId The Ampersand installation ID (customer instance) that this operation ran for.
	InstallationId string `json:"installationId"`

	// IntegrationId The integration ID.
	IntegrationId string `json:"integrationId"`

	// Metadata Additional operation details (e.g. objects, retry info, read progress, successfulRecordIds).
	Metadata *struct {
		Objects *[]string `json:"objects,omitempty"`

		// Progress Read progress for the operation, reporting records processed and, where available, the estimated total. Present for all read operations.
		Progress *struct {
			InstallationId *string `json:"installationId,omitempty"`
			ObjectName     *string `json:"objectName,omitempty"`
			OperationId    *string `json:"operationId,omitempty"`

			// RecordsEstimatedTotal Only present for some providers (e.g. Salesforce, HubSpot).
			RecordsEstimatedTotal *int `json:"recordsEstimatedTotal,omitempty"`
			RecordsProcessed      *int `json:"recordsProcessed,omitempty"`
		} `json:"progress,omitempty"`
		Retry *struct {
			Attempts     *int       `json:"attempts,omitempty"`
			LastAttempt  *time.Time `json:"lastAttempt,omitempty"`
			LastNotified *time.Time `json:"lastNotified,omitempty"`
		} `json:"retry,omitempty"`

		// SuccessfulRecordIds Provider-assigned IDs of successfully created or updated records. Only present for write operations.
		SuccessfulRecordIds *[]string `json:"successfulRecordIds,omitempty"`
	} `json:"metadata,omitempty"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// Result A human-readable summary of what the operation accomplished. Examples: `[contact] No new data found`, `Batch write completed (3 succeeded, 1 failed)`. May be absent.
	Result *string `json:"result,omitempty"`

	// Status The status of the operation.
	// - `success`: The operation completed successfully
	// - `failure`: The operation failed
	// - `in_progress`: The operation is currently running
	Status string `json:"status"`
}

Operation defines model for Operation.

type Org

type Org struct {
	// CreateTime The time at which the organization was created.
	CreateTime time.Time `json:"createTime"`

	// DefaultTeamId The ID of the Everyone team for the org.
	DefaultTeamId string `json:"defaultTeamId"`

	// Id The organization ID.
	Id string `json:"id"`

	// Label The organization label.
	Label string `json:"label"`

	// UpdateTime The time the organization was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Org defines model for Org.

type PaginationInfo

type PaginationInfo struct {
	// Done If set to true, this is the last page of results for the given operation. There are no more results & there will be no nextPageToken sent when done is true.
	Done bool `json:"done"`

	// NextPageToken If present, set this value against your 'pageToken' query parameter in the next API call, which will retrieve the next set of results.
	NextPageToken *string `json:"nextPageToken,omitempty"`
}

PaginationInfo defines model for PaginationInfo.

type PatchApiKeyRequest

type PatchApiKeyRequest struct {
	ApiKey struct {
		// Active Whether the API key is active.
		Active *bool `json:"active,omitempty"`

		// Label A short name for the API key.
		Label *string `json:"label,omitempty"`

		// Scopes The scopes for the API key.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"apiKey"`

	// UpdateMask Array of field paths specifying which fields to update. Allowed values include:
	// - active
	// - label
	// - scopes
	UpdateMask []string `json:"updateMask"`
}

PatchApiKeyRequest defines model for PatchApiKeyRequest.

type PatchJWTKeyRequest

type PatchJWTKeyRequest struct {
	// JwtKey Object containing the fields to update with their new values
	JwtKey PatchJWTKeyRequest_JwtKey `json:"jwtKey"`

	// UpdateMask List of field paths to update (currently supports 'active' and 'name')
	UpdateMask []PatchJWTKeyRequestUpdateMask `json:"updateMask"`
}

PatchJWTKeyRequest defines model for PatchJWTKeyRequest.

type PatchJWTKeyRequestUpdateMask

type PatchJWTKeyRequestUpdateMask string

PatchJWTKeyRequestUpdateMask defines model for PatchJWTKeyRequest.UpdateMask.

const (
	PatchJWTKeyRequestUpdateMaskActive PatchJWTKeyRequestUpdateMask = "active"
	PatchJWTKeyRequestUpdateMaskLabel  PatchJWTKeyRequestUpdateMask = "label"
)

Defines values for PatchJWTKeyRequestUpdateMask.

func (PatchJWTKeyRequestUpdateMask) Valid

Valid indicates whether the value is a known member of the PatchJWTKeyRequestUpdateMask enum.

type PatchJWTKeyRequest_JwtKey

type PatchJWTKeyRequest_JwtKey struct {
	// Active New active status for the JWT key
	Active *bool `json:"active,omitempty"`

	// Label New label for the JWT key
	Label                *string                `json:"label,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PatchJWTKeyRequest_JwtKey Object containing the fields to update with their new values

func (PatchJWTKeyRequest_JwtKey) Get

func (a PatchJWTKeyRequest_JwtKey) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PatchJWTKeyRequest_JwtKey. Returns the specified element and whether it was found

func (PatchJWTKeyRequest_JwtKey) MarshalJSON

func (a PatchJWTKeyRequest_JwtKey) MarshalJSON() ([]byte, error)

Override default JSON handling for PatchJWTKeyRequest_JwtKey to handle AdditionalProperties

func (*PatchJWTKeyRequest_JwtKey) Set

func (a *PatchJWTKeyRequest_JwtKey) Set(fieldName string, value interface{})

Setter for additional properties for PatchJWTKeyRequest_JwtKey

func (*PatchJWTKeyRequest_JwtKey) UnmarshalJSON

func (a *PatchJWTKeyRequest_JwtKey) UnmarshalJSON(b []byte) error

Override default JSON handling for PatchJWTKeyRequest_JwtKey to handle AdditionalProperties

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme

type PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme string

PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeApiKey                      PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "apiKey"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeBasic                       PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "basic"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeNone                        PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "none"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	PatchObjectConfigContent200JSONResponseBodyConnectionAuthSchemeOauth2password              PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme.

func (PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConnectionAuthScheme enum.

type PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource

type PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource string

PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSourceInput    PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource = "input"
	PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSourceProvider PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource = "provider"
	PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSourceToken    PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource.

func (PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConnectionProviderMetadataSource enum.

type PatchObjectConfigContent200JSONResponseBodyConnectionStatus

type PatchObjectConfigContent200JSONResponseBodyConnectionStatus string

PatchObjectConfigContent200JSONResponseBodyConnectionStatus defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContent200JSONResponseBodyConnectionStatusBadCredentials PatchObjectConfigContent200JSONResponseBodyConnectionStatus = "bad_credentials"
	PatchObjectConfigContent200JSONResponseBodyConnectionStatusCreated        PatchObjectConfigContent200JSONResponseBodyConnectionStatus = "created"
	PatchObjectConfigContent200JSONResponseBodyConnectionStatusWorking        PatchObjectConfigContent200JSONResponseBodyConnectionStatus = "working"
)

Defines values for PatchObjectConfigContent200JSONResponseBodyConnectionStatus.

func (PatchObjectConfigContent200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyConnectionStatus enum.

type PatchObjectConfigContent200JSONResponseBodyHealthStatus

type PatchObjectConfigContent200JSONResponseBodyHealthStatus string

PatchObjectConfigContent200JSONResponseBodyHealthStatus defines parameters for PatchObjectConfigContent.

Defines values for PatchObjectConfigContent200JSONResponseBodyHealthStatus.

func (PatchObjectConfigContent200JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyHealthStatus enum.

type PatchObjectConfigContent200JSONResponseBodyLastOperationStatus

type PatchObjectConfigContent200JSONResponseBodyLastOperationStatus string

PatchObjectConfigContent200JSONResponseBodyLastOperationStatus defines parameters for PatchObjectConfigContent.

Defines values for PatchObjectConfigContent200JSONResponseBodyLastOperationStatus.

func (PatchObjectConfigContent200JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContent200JSONResponseBodyLastOperationStatus enum.

type PatchObjectConfigContentJSONBody

type PatchObjectConfigContentJSONBody struct {
	// contains filtered or unexported fields
}

PatchObjectConfigContentJSONBody defines parameters for PatchObjectConfigContent.

func (PatchObjectConfigContentJSONBody) AsPatchObjectConfigContentJSONBody0

func (t PatchObjectConfigContentJSONBody) AsPatchObjectConfigContentJSONBody0() (PatchObjectConfigContentJSONBody0, error)

AsPatchObjectConfigContentJSONBody0 returns the union data inside the PatchObjectConfigContentJSONBody as a PatchObjectConfigContentJSONBody0

func (PatchObjectConfigContentJSONBody) AsPatchObjectConfigContentJSONBody1

func (t PatchObjectConfigContentJSONBody) AsPatchObjectConfigContentJSONBody1() (PatchObjectConfigContentJSONBody1, error)

AsPatchObjectConfigContentJSONBody1 returns the union data inside the PatchObjectConfigContentJSONBody as a PatchObjectConfigContentJSONBody1

func (*PatchObjectConfigContentJSONBody) FromPatchObjectConfigContentJSONBody0

func (t *PatchObjectConfigContentJSONBody) FromPatchObjectConfigContentJSONBody0(v PatchObjectConfigContentJSONBody0) error

FromPatchObjectConfigContentJSONBody0 overwrites any union data inside the PatchObjectConfigContentJSONBody as the provided PatchObjectConfigContentJSONBody0

func (*PatchObjectConfigContentJSONBody) FromPatchObjectConfigContentJSONBody1

func (t *PatchObjectConfigContentJSONBody) FromPatchObjectConfigContentJSONBody1(v PatchObjectConfigContentJSONBody1) error

FromPatchObjectConfigContentJSONBody1 overwrites any union data inside the PatchObjectConfigContentJSONBody as the provided PatchObjectConfigContentJSONBody1

func (PatchObjectConfigContentJSONBody) MarshalJSON

func (t PatchObjectConfigContentJSONBody) MarshalJSON() ([]byte, error)

func (*PatchObjectConfigContentJSONBody) MergePatchObjectConfigContentJSONBody0

func (t *PatchObjectConfigContentJSONBody) MergePatchObjectConfigContentJSONBody0(v PatchObjectConfigContentJSONBody0) error

MergePatchObjectConfigContentJSONBody0 performs a merge with any union data inside the PatchObjectConfigContentJSONBody, using the provided PatchObjectConfigContentJSONBody0

func (*PatchObjectConfigContentJSONBody) MergePatchObjectConfigContentJSONBody1

func (t *PatchObjectConfigContentJSONBody) MergePatchObjectConfigContentJSONBody1(v PatchObjectConfigContentJSONBody1) error

MergePatchObjectConfigContentJSONBody1 performs a merge with any union data inside the PatchObjectConfigContentJSONBody, using the provided PatchObjectConfigContentJSONBody1

func (*PatchObjectConfigContentJSONBody) UnmarshalJSON

func (t *PatchObjectConfigContentJSONBody) UnmarshalJSON(b []byte) error

type PatchObjectConfigContentJSONBody0

type PatchObjectConfigContentJSONBody0 struct {
	// Action The action type for the object config (read, subscribe, or write).
	Action PatchObjectConfigContentJSONBody0Action `json:"action"`

	// Changes Array of JSON Patch operations to apply.
	Changes []struct {
		// Op The operation to perform.
		// - "add": Adds a new field or replaces an existing one at the specified path
		// - "remove": Removes the field at the specified path
		// - "replace": Replaces the value at the specified path
		Op PatchObjectConfigContentJSONBody0ChangesOp `json:"op"`

		// Path JSON Pointer path to the field to operate on (RFC 6901).
		// All paths must start with "/" (e.g., "/schedule", "/selectedFields/phone").
		Path string `json:"path"`

		// Value The value to set for add/replace operations.
		// Not used for remove operations.
		Value interface{} `json:"value,omitempty"`
	} `json:"changes"`

	// GroupRef The ID of the user group that has access to this installation.
	// Either groupRef or installationId must be provided.
	GroupRef string `json:"groupRef"`
}

PatchObjectConfigContentJSONBody0 defines parameters for PatchObjectConfigContent.

type PatchObjectConfigContentJSONBody0Action

type PatchObjectConfigContentJSONBody0Action string

PatchObjectConfigContentJSONBody0Action defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContentJSONBody0ActionRead      PatchObjectConfigContentJSONBody0Action = "read"
	PatchObjectConfigContentJSONBody0ActionSubscribe PatchObjectConfigContentJSONBody0Action = "subscribe"
	PatchObjectConfigContentJSONBody0ActionWrite     PatchObjectConfigContentJSONBody0Action = "write"
)

Defines values for PatchObjectConfigContentJSONBody0Action.

func (PatchObjectConfigContentJSONBody0Action) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContentJSONBody0Action enum.

type PatchObjectConfigContentJSONBody0ChangesOp

type PatchObjectConfigContentJSONBody0ChangesOp string

PatchObjectConfigContentJSONBody0ChangesOp defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContentJSONBody0ChangesOpAdd     PatchObjectConfigContentJSONBody0ChangesOp = "add"
	PatchObjectConfigContentJSONBody0ChangesOpRemove  PatchObjectConfigContentJSONBody0ChangesOp = "remove"
	PatchObjectConfigContentJSONBody0ChangesOpReplace PatchObjectConfigContentJSONBody0ChangesOp = "replace"
)

Defines values for PatchObjectConfigContentJSONBody0ChangesOp.

func (PatchObjectConfigContentJSONBody0ChangesOp) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContentJSONBody0ChangesOp enum.

type PatchObjectConfigContentJSONBody1

type PatchObjectConfigContentJSONBody1 struct {
	// Action The action type for the object config (read, subscribe, or write).
	Action PatchObjectConfigContentJSONBody1Action `json:"action"`

	// Changes Array of JSON Patch operations to apply.
	Changes []struct {
		// Op The operation to perform.
		// - "add": Adds a new field or replaces an existing one at the specified path
		// - "remove": Removes the field at the specified path
		// - "replace": Replaces the value at the specified path
		Op PatchObjectConfigContentJSONBody1ChangesOp `json:"op"`

		// Path JSON Pointer path to the field to operate on (RFC 6901).
		// All paths must start with "/" (e.g., "/schedule", "/selectedFields/phone").
		Path string `json:"path"`

		// Value The value to set for add/replace operations.
		// Not used for remove operations.
		Value interface{} `json:"value,omitempty"`
	} `json:"changes"`

	// InstallationId The installation ID.
	// Either groupRef or installationId must be provided.
	InstallationId string `json:"installationId"`
}

PatchObjectConfigContentJSONBody1 defines parameters for PatchObjectConfigContent.

type PatchObjectConfigContentJSONBody1Action

type PatchObjectConfigContentJSONBody1Action string

PatchObjectConfigContentJSONBody1Action defines parameters for PatchObjectConfigContent.

const (
	PatchObjectConfigContentJSONBody1ActionRead      PatchObjectConfigContentJSONBody1Action = "read"
	PatchObjectConfigContentJSONBody1ActionSubscribe PatchObjectConfigContentJSONBody1Action = "subscribe"
	PatchObjectConfigContentJSONBody1ActionWrite     PatchObjectConfigContentJSONBody1Action = "write"
)

Defines values for PatchObjectConfigContentJSONBody1Action.

func (PatchObjectConfigContentJSONBody1Action) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContentJSONBody1Action enum.

type PatchObjectConfigContentJSONBody1ChangesOp

type PatchObjectConfigContentJSONBody1ChangesOp string

PatchObjectConfigContentJSONBody1ChangesOp defines parameters for PatchObjectConfigContent.

Defines values for PatchObjectConfigContentJSONBody1ChangesOp.

func (PatchObjectConfigContentJSONBody1ChangesOp) Valid

Valid indicates whether the value is a known member of the PatchObjectConfigContentJSONBody1ChangesOp enum.

type PatchObjectConfigContentJSONRequestBody

type PatchObjectConfigContentJSONRequestBody PatchObjectConfigContentJSONBody

PatchObjectConfigContentJSONRequestBody defines body for PatchObjectConfigContent for application/json ContentType.

type Project

type Project struct {
	// AppName The display name of the application, shown to end users during the connection flow.
	AppName string `json:"appName"`

	// CreateTime The time the project was created.
	CreateTime time.Time `json:"createTime"`

	// Entitlements Plan-based feature flags for the project. These are managed by Ampersand and cannot be set via the API.
	Entitlements *struct {
		// BrandingRemoval Controls whether Ampersand branding is removed from the embeddable UI components.
		BrandingRemoval struct {
			// Value True if Ampersand branding has been removed for this project.
			Value bool `json:"value"`
		} `json:"brandingRemoval,omitempty"`

		// LogRetentionDays The number of days that logs are retained for this project.
		LogRetentionDays struct {
			// Value The log retention period for this project, in days.
			Value int `json:"value"`
		} `json:"logRetentionDays,omitempty"`
	} `json:"entitlements,omitempty"`

	// Id The unique identifier for the project.
	Id string `json:"id"`

	// Name The unique name for the project.
	Name string `json:"name"`

	// OrgId The ID of the organization that this project belongs to.
	OrgId string `json:"orgId"`

	// UpdateTime The time the project was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Project defines model for Project.

type ProviderApp

type ProviderApp struct {
	// ClientId The OAuth client ID for this app.
	ClientId string `json:"clientId"`

	// CreateTime The time the provider app was created.
	CreateTime time.Time `json:"createTime"`

	// ExternalRef The ID used by the provider to identify the app (optional).
	ExternalRef *string `json:"externalRef,omitempty"`

	// Id The provider app ID.
	Id string `json:"id"`

	// Metadata Provider-specific configuration that extends the standard OAuth flow.
	Metadata *struct {
		// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
		AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

		// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
		ProviderParams *map[string]string `json:"providerParams,omitempty"`
	} `json:"metadata,omitempty"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// Provider The SaaS provider that this app connects to.
	Provider string `json:"provider"`

	// Scopes The OAuth scopes for this app.
	Scopes *[]string `json:"scopes,omitempty"`

	// UpdateTime The time the provider app was updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

ProviderApp defines model for ProviderApp.

type ProviderAppMetadata

type ProviderAppMetadata struct {
	// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
	AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

	// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
	ProviderParams *map[string]string `json:"providerParams,omitempty"`
}

ProviderAppMetadata Provider-specific configuration that extends the standard OAuth flow.

type ProviderMetadata

type ProviderMetadata map[string]struct {
	// DisplayName The human-readable name for the field
	DisplayName *string `json:"displayName,omitempty"`

	// Source The source of the metadata field
	Source ProviderMetadataSource `json:"source"`

	// Value The value of the metadata field
	Value string `json:"value"`
}

ProviderMetadata defines model for ProviderMetadata.

type ProviderMetadataInfo

type ProviderMetadataInfo struct {
	// DisplayName The human-readable name for the field
	DisplayName *string `json:"displayName,omitempty"`

	// Source The source of the metadata field
	Source ProviderMetadataInfoSource `json:"source"`

	// Value The value of the metadata field
	Value string `json:"value"`
}

ProviderMetadataInfo defines model for ProviderMetadataInfo.

type ProviderMetadataInfoSource

type ProviderMetadataInfoSource string

ProviderMetadataInfoSource The source of the metadata field

const (
	ProviderMetadataInfoSourceInput    ProviderMetadataInfoSource = "input"
	ProviderMetadataInfoSourceProvider ProviderMetadataInfoSource = "provider"
	ProviderMetadataInfoSourceToken    ProviderMetadataInfoSource = "token"
)

Defines values for ProviderMetadataInfoSource.

func (ProviderMetadataInfoSource) Valid

func (e ProviderMetadataInfoSource) Valid() bool

Valid indicates whether the value is a known member of the ProviderMetadataInfoSource enum.

type ProviderMetadataSource

type ProviderMetadataSource string

ProviderMetadataSource The source of the metadata field

const (
	ProviderMetadataSourceInput    ProviderMetadataSource = "input"
	ProviderMetadataSourceProvider ProviderMetadataSource = "provider"
	ProviderMetadataSourceToken    ProviderMetadataSource = "token"
)

Defines values for ProviderMetadataSource.

func (ProviderMetadataSource) Valid

func (e ProviderMetadataSource) Valid() bool

Valid indicates whether the value is a known member of the ProviderMetadataSource enum.

type Revision

type Revision struct {
	Content struct {
		DisplayName string `json:"displayName,omitempty"`
		Module      string `json:"module,omitempty"`
		Name        string `json:"name"`
		Provider    string `json:"provider"`
		Proxy       *struct {
			Enabled *bool `json:"enabled,omitempty"`

			// UseModule Default is false. If this is set to true, the base URL for the proxy action will be the module's base URL. Otherwise, it is assumed that the base URL is the provider's root base URL.
			UseModule *bool `json:"useModule,omitempty"`
		} `json:"proxy,omitempty"`
		Read *struct {
			Objects *[]struct {
				Backfill *struct {
					DefaultPeriod struct {
						// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
						Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

						// FullHistory If true, backfill all history. Required if days is not set.
						FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
					} `json:"defaultPeriod"`
				} `json:"backfill,omitempty"`
				Delivery *struct {
					// Mode The data delivery mode for this object. If not specified, defaults to automatic.
					Mode *RevisionContentReadObjectsDeliveryMode `json:"mode,omitempty"`

					// PageSize The number of records to receive per data delivery.
					PageSize *int `json:"pageSize,omitempty"`
				} `json:"delivery,omitempty"`
				Destination string `json:"destination"`

				// Enabled If set to `always`, the integration will automatically install upon user connection and skip the user field selection step.
				Enabled RevisionContentReadObjectsEnabled `json:"enabled,omitempty"`

				// MapToDisplayName A display name to map to.
				MapToDisplayName string `json:"mapToDisplayName,omitempty"`

				// MapToName An object name to map to.
				MapToName          string                                               `json:"mapToName,omitempty"`
				ObjectName         string                                               `json:"objectName"`
				OptionalFields     *[]Revision_Content_Read_Objects_OptionalFields_Item `json:"optionalFields,omitempty"`
				OptionalFieldsAuto *RevisionContentReadObjectsOptionalFieldsAuto        `json:"optionalFieldsAuto,omitempty"`
				RequiredFields     *[]Revision_Content_Read_Objects_RequiredFields_Item `json:"requiredFields,omitempty"`
				Schedule           string                                               `json:"schedule"`
			} `json:"objects,omitempty"`
		} `json:"read,omitempty"`
		Subscribe *struct {
			Objects *[]struct {
				AssociationChangeEvent *struct {
					// Enabled If always, the integration will subscribe to association change events.
					Enabled *RevisionContentSubscribeObjectsAssociationChangeEventEnabled `json:"enabled,omitempty"`

					// IncludeFullRecords If true, the integration will include full records in the event payload.
					IncludeFullRecords *bool `json:"includeFullRecords,omitempty"`
				} `json:"associationChangeEvent,omitempty"`
				CreateEvent *struct {
					// Enabled If always, the integration will subscribe to create events by default.
					Enabled *RevisionContentSubscribeObjectsCreateEventEnabled `json:"enabled,omitempty"`
				} `json:"createEvent,omitempty"`
				DeleteEvent *struct {
					// Enabled If always, the integration will subscribe to delete events by default.
					Enabled *RevisionContentSubscribeObjectsDeleteEventEnabled `json:"enabled,omitempty"`
				} `json:"deleteEvent,omitempty"`
				Destination string `json:"destination"`

				// InheritFieldsAndMapping If true, the integration will inherit the fields and mapping from the read object.
				InheritFieldsAndMapping bool      `json:"inheritFieldsAndMapping,omitempty"`
				ObjectName              string    `json:"objectName"`
				OtherEvents             *[]string `json:"otherEvents,omitempty"`
				UpdateEvent             *struct {
					// Enabled If always, the integration will subscribe to update events by default.
					Enabled             *RevisionContentSubscribeObjectsUpdateEventEnabled `json:"enabled,omitempty"`
					RequiredWatchFields *[]string                                          `json:"requiredWatchFields,omitempty"`

					// WatchFieldsAuto If `all`, the integration will watch all fields for updates. If `selected`, the integration will watch only the fields that are selected by the user. If `inheritFieldsAndMapping` is true for Subscribe action, the integration will watch the selected fields from read action that are selected by the user.
					WatchFieldsAuto *RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
				} `json:"updateEvent,omitempty"`
			} `json:"objects,omitempty"`
		} `json:"subscribe,omitempty"`

		// WatchSchema Configuration for monitoring provider schema changes.
		WatchSchema *struct {
			// AllObjects Schema change event configuration for all objects in the integration.
			AllObjects struct {
				// FieldChanged Configuration for detecting when fields are changed.
				FieldChanged *struct {
					// Enabled If always, the integration will monitor for field changes by default.
					Enabled RevisionContentWatchSchemaAllObjectsFieldChangedEnabled `json:"enabled"`
				} `json:"fieldChanged,omitempty"`

				// FieldCreated Configuration for detecting when new fields are created.
				FieldCreated *struct {
					// Enabled If always, the integration will monitor for new fields by default.
					Enabled RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled `json:"enabled"`
				} `json:"fieldCreated,omitempty"`

				// FieldDeleted Configuration for detecting when fields are deleted.
				FieldDeleted *struct {
					// Enabled If always, the integration will monitor for deleted fields by default.
					Enabled RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled `json:"enabled"`
				} `json:"fieldDeleted,omitempty"`
			} `json:"allObjects"`

			// Destination The destination to send schema change notifications to.
			Destination string `json:"destination"`

			// Schedule Cron schedule for checking schema changes. Minimum frequency is once per hour. Defaults to once a day.
			Schedule string `json:"schedule,omitempty"`
		} `json:"watchSchema,omitempty"`
		Write *struct {
			Objects *[]struct {
				// InheritMapping If true, the write object will inherit the mapping from the read object. If false, the write object will have no mapping.
				InheritMapping *bool  `json:"inheritMapping,omitempty"`
				ObjectName     string `json:"objectName"`

				// ValueDefaults Configuration to set default write values for object fields.
				ValueDefaults *struct {
					// AllowAnyFields If true, users can set default values for any field.
					AllowAnyFields *bool `json:"allowAnyFields,omitempty"`
				} `json:"valueDefaults,omitempty"`
			} `json:"objects,omitempty"`
		} `json:"write,omitempty"`
	} `json:"content"`

	// CreateTime The time the revision was created.
	CreateTime time.Time `json:"createTime"`

	// Id The revision ID.
	Id string `json:"id"`

	// SpecVersion The spec version string.
	SpecVersion string `json:"specVersion"`
}

Revision defines model for Revision.

type RevisionContentReadObjectsDeliveryMode

type RevisionContentReadObjectsDeliveryMode string

RevisionContentReadObjectsDeliveryMode The data delivery mode for this object. If not specified, defaults to automatic.

const (
	RevisionContentReadObjectsDeliveryModeAuto      RevisionContentReadObjectsDeliveryMode = "auto"
	RevisionContentReadObjectsDeliveryModeOnRequest RevisionContentReadObjectsDeliveryMode = "onRequest"
)

Defines values for RevisionContentReadObjectsDeliveryMode.

func (RevisionContentReadObjectsDeliveryMode) Valid

Valid indicates whether the value is a known member of the RevisionContentReadObjectsDeliveryMode enum.

type RevisionContentReadObjectsEnabled

type RevisionContentReadObjectsEnabled string

RevisionContentReadObjectsEnabled If set to `always`, the integration will automatically install upon user connection and skip the user field selection step.

const (
	RevisionContentReadObjectsEnabledAlways RevisionContentReadObjectsEnabled = "always"
)

Defines values for RevisionContentReadObjectsEnabled.

func (RevisionContentReadObjectsEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentReadObjectsEnabled enum.

type RevisionContentReadObjectsOptionalFields0

type RevisionContentReadObjectsOptionalFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

RevisionContentReadObjectsOptionalFields0 defines model for .

type RevisionContentReadObjectsOptionalFields1

type RevisionContentReadObjectsOptionalFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

RevisionContentReadObjectsOptionalFields1 defines model for .

type RevisionContentReadObjectsOptionalFieldsAuto

type RevisionContentReadObjectsOptionalFieldsAuto string

RevisionContentReadObjectsOptionalFieldsAuto defines model for Revision.Content.Read.Objects.OptionalFieldsAuto.

const (
	RevisionContentReadObjectsOptionalFieldsAutoAll RevisionContentReadObjectsOptionalFieldsAuto = "all"
)

Defines values for RevisionContentReadObjectsOptionalFieldsAuto.

func (RevisionContentReadObjectsOptionalFieldsAuto) Valid

Valid indicates whether the value is a known member of the RevisionContentReadObjectsOptionalFieldsAuto enum.

type RevisionContentReadObjectsRequiredFields0

type RevisionContentReadObjectsRequiredFields0 struct {
	FieldName string `json:"fieldName"`

	// MapToDisplayName The display name to map to.
	MapToDisplayName string `json:"mapToDisplayName,omitempty"`

	// MapToName The field name to map to.
	MapToName string `json:"mapToName,omitempty"`
}

RevisionContentReadObjectsRequiredFields0 defines model for .

type RevisionContentReadObjectsRequiredFields1

type RevisionContentReadObjectsRequiredFields1 struct {
	Default          *string `json:"default,omitempty"`
	MapToDisplayName *string `json:"mapToDisplayName,omitempty"`
	MapToName        string  `json:"mapToName"`
	Prompt           *string `json:"prompt,omitempty"`
}

RevisionContentReadObjectsRequiredFields1 defines model for .

type RevisionContentSubscribeObjectsAssociationChangeEventEnabled

type RevisionContentSubscribeObjectsAssociationChangeEventEnabled string

RevisionContentSubscribeObjectsAssociationChangeEventEnabled If always, the integration will subscribe to association change events.

const (
	RevisionContentSubscribeObjectsAssociationChangeEventEnabledAlways RevisionContentSubscribeObjectsAssociationChangeEventEnabled = "always"
)

Defines values for RevisionContentSubscribeObjectsAssociationChangeEventEnabled.

func (RevisionContentSubscribeObjectsAssociationChangeEventEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentSubscribeObjectsAssociationChangeEventEnabled enum.

type RevisionContentSubscribeObjectsCreateEventEnabled

type RevisionContentSubscribeObjectsCreateEventEnabled string

RevisionContentSubscribeObjectsCreateEventEnabled If always, the integration will subscribe to create events by default.

const (
	RevisionContentSubscribeObjectsCreateEventEnabledAlways RevisionContentSubscribeObjectsCreateEventEnabled = "always"
)

Defines values for RevisionContentSubscribeObjectsCreateEventEnabled.

func (RevisionContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentSubscribeObjectsCreateEventEnabled enum.

type RevisionContentSubscribeObjectsDeleteEventEnabled

type RevisionContentSubscribeObjectsDeleteEventEnabled string

RevisionContentSubscribeObjectsDeleteEventEnabled If always, the integration will subscribe to delete events by default.

const (
	RevisionContentSubscribeObjectsDeleteEventEnabledAlways RevisionContentSubscribeObjectsDeleteEventEnabled = "always"
)

Defines values for RevisionContentSubscribeObjectsDeleteEventEnabled.

func (RevisionContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentSubscribeObjectsDeleteEventEnabled enum.

type RevisionContentSubscribeObjectsUpdateEventEnabled

type RevisionContentSubscribeObjectsUpdateEventEnabled string

RevisionContentSubscribeObjectsUpdateEventEnabled If always, the integration will subscribe to update events by default.

const (
	RevisionContentSubscribeObjectsUpdateEventEnabledAlways RevisionContentSubscribeObjectsUpdateEventEnabled = "always"
)

Defines values for RevisionContentSubscribeObjectsUpdateEventEnabled.

func (RevisionContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentSubscribeObjectsUpdateEventEnabled enum.

type RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto

type RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto string

RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto If `all`, the integration will watch all fields for updates. If `selected`, the integration will watch only the fields that are selected by the user. If `inheritFieldsAndMapping` is true for Subscribe action, the integration will watch the selected fields from read action that are selected by the user.

const (
	RevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoAll      RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
	RevisionContentSubscribeObjectsUpdateEventWatchFieldsAutoSelected RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto = "selected"
)

Defines values for RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the RevisionContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type RevisionContentWatchSchemaAllObjectsFieldChangedEnabled

type RevisionContentWatchSchemaAllObjectsFieldChangedEnabled string

RevisionContentWatchSchemaAllObjectsFieldChangedEnabled If always, the integration will monitor for field changes by default.

const (
	RevisionContentWatchSchemaAllObjectsFieldChangedEnabledAlways RevisionContentWatchSchemaAllObjectsFieldChangedEnabled = "always"
)

Defines values for RevisionContentWatchSchemaAllObjectsFieldChangedEnabled.

func (RevisionContentWatchSchemaAllObjectsFieldChangedEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentWatchSchemaAllObjectsFieldChangedEnabled enum.

type RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled

type RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled string

RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled If always, the integration will monitor for new fields by default.

const (
	RevisionContentWatchSchemaAllObjectsFieldCreatedEnabledAlways RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled = "always"
)

Defines values for RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled.

func (RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentWatchSchemaAllObjectsFieldCreatedEnabled enum.

type RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled

type RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled string

RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled If always, the integration will monitor for deleted fields by default.

const (
	RevisionContentWatchSchemaAllObjectsFieldDeletedEnabledAlways RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled = "always"
)

Defines values for RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled.

func (RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled) Valid

Valid indicates whether the value is a known member of the RevisionContentWatchSchemaAllObjectsFieldDeletedEnabled enum.

type Revision_Content_Read_Objects_OptionalFields_Item

type Revision_Content_Read_Objects_OptionalFields_Item struct {
	// contains filtered or unexported fields
}

Revision_Content_Read_Objects_OptionalFields_Item defines model for Revision.Content.Read.Objects.OptionalFields.Item.

func (Revision_Content_Read_Objects_OptionalFields_Item) AsRevisionContentReadObjectsOptionalFields0

AsRevisionContentReadObjectsOptionalFields0 returns the union data inside the Revision_Content_Read_Objects_OptionalFields_Item as a RevisionContentReadObjectsOptionalFields0

func (Revision_Content_Read_Objects_OptionalFields_Item) AsRevisionContentReadObjectsOptionalFields1

AsRevisionContentReadObjectsOptionalFields1 returns the union data inside the Revision_Content_Read_Objects_OptionalFields_Item as a RevisionContentReadObjectsOptionalFields1

func (*Revision_Content_Read_Objects_OptionalFields_Item) FromRevisionContentReadObjectsOptionalFields0

FromRevisionContentReadObjectsOptionalFields0 overwrites any union data inside the Revision_Content_Read_Objects_OptionalFields_Item as the provided RevisionContentReadObjectsOptionalFields0

func (*Revision_Content_Read_Objects_OptionalFields_Item) FromRevisionContentReadObjectsOptionalFields1

FromRevisionContentReadObjectsOptionalFields1 overwrites any union data inside the Revision_Content_Read_Objects_OptionalFields_Item as the provided RevisionContentReadObjectsOptionalFields1

func (Revision_Content_Read_Objects_OptionalFields_Item) MarshalJSON

func (*Revision_Content_Read_Objects_OptionalFields_Item) MergeRevisionContentReadObjectsOptionalFields0

func (t *Revision_Content_Read_Objects_OptionalFields_Item) MergeRevisionContentReadObjectsOptionalFields0(v RevisionContentReadObjectsOptionalFields0) error

MergeRevisionContentReadObjectsOptionalFields0 performs a merge with any union data inside the Revision_Content_Read_Objects_OptionalFields_Item, using the provided RevisionContentReadObjectsOptionalFields0

func (*Revision_Content_Read_Objects_OptionalFields_Item) MergeRevisionContentReadObjectsOptionalFields1

func (t *Revision_Content_Read_Objects_OptionalFields_Item) MergeRevisionContentReadObjectsOptionalFields1(v RevisionContentReadObjectsOptionalFields1) error

MergeRevisionContentReadObjectsOptionalFields1 performs a merge with any union data inside the Revision_Content_Read_Objects_OptionalFields_Item, using the provided RevisionContentReadObjectsOptionalFields1

func (*Revision_Content_Read_Objects_OptionalFields_Item) UnmarshalJSON

type Revision_Content_Read_Objects_RequiredFields_Item

type Revision_Content_Read_Objects_RequiredFields_Item struct {
	// contains filtered or unexported fields
}

Revision_Content_Read_Objects_RequiredFields_Item defines model for Revision.Content.Read.Objects.RequiredFields.Item.

func (Revision_Content_Read_Objects_RequiredFields_Item) AsRevisionContentReadObjectsRequiredFields0

AsRevisionContentReadObjectsRequiredFields0 returns the union data inside the Revision_Content_Read_Objects_RequiredFields_Item as a RevisionContentReadObjectsRequiredFields0

func (Revision_Content_Read_Objects_RequiredFields_Item) AsRevisionContentReadObjectsRequiredFields1

AsRevisionContentReadObjectsRequiredFields1 returns the union data inside the Revision_Content_Read_Objects_RequiredFields_Item as a RevisionContentReadObjectsRequiredFields1

func (*Revision_Content_Read_Objects_RequiredFields_Item) FromRevisionContentReadObjectsRequiredFields0

FromRevisionContentReadObjectsRequiredFields0 overwrites any union data inside the Revision_Content_Read_Objects_RequiredFields_Item as the provided RevisionContentReadObjectsRequiredFields0

func (*Revision_Content_Read_Objects_RequiredFields_Item) FromRevisionContentReadObjectsRequiredFields1

FromRevisionContentReadObjectsRequiredFields1 overwrites any union data inside the Revision_Content_Read_Objects_RequiredFields_Item as the provided RevisionContentReadObjectsRequiredFields1

func (Revision_Content_Read_Objects_RequiredFields_Item) MarshalJSON

func (*Revision_Content_Read_Objects_RequiredFields_Item) MergeRevisionContentReadObjectsRequiredFields0

func (t *Revision_Content_Read_Objects_RequiredFields_Item) MergeRevisionContentReadObjectsRequiredFields0(v RevisionContentReadObjectsRequiredFields0) error

MergeRevisionContentReadObjectsRequiredFields0 performs a merge with any union data inside the Revision_Content_Read_Objects_RequiredFields_Item, using the provided RevisionContentReadObjectsRequiredFields0

func (*Revision_Content_Read_Objects_RequiredFields_Item) MergeRevisionContentReadObjectsRequiredFields1

func (t *Revision_Content_Read_Objects_RequiredFields_Item) MergeRevisionContentReadObjectsRequiredFields1(v RevisionContentReadObjectsRequiredFields1) error

MergeRevisionContentReadObjectsRequiredFields1 performs a merge with any union data inside the Revision_Content_Read_Objects_RequiredFields_Item, using the provided RevisionContentReadObjectsRequiredFields1

func (*Revision_Content_Read_Objects_RequiredFields_Item) UnmarshalJSON

type SignedUrl

type SignedUrl struct {
	// Bucket The bucket (will match the bucket part of the url).
	Bucket string `json:"bucket"`

	// Path The path (will match the path part of the url).
	Path string `json:"path"`

	// Url The signed URL to upload the zip file to.
	Url string `json:"url"`
}

SignedUrl defines model for SignedUrl.

type StringFieldOptions

type StringFieldOptions struct {
	// DefaultValue Default value for the field
	DefaultValue *string `json:"defaultValue,omitempty"`

	// Length Maximum length of the string field
	Length *int `json:"length,omitempty"`

	// Pattern Regex pattern that the string field value must match
	Pattern *string `json:"pattern,omitempty"`

	// Values List of allowed values for enum fields
	Values *[]string `json:"values,omitempty"`

	// ValuesRestricted Indicates if the field value must be limited to what's in Values
	ValuesRestricted *bool `json:"valuesRestricted,omitempty"`
}

StringFieldOptions Additional options for string fields

type Topic

type Topic struct {
	// CreateTime The time when the topic was created.
	CreateTime time.Time `json:"createTime"`

	// Id The topic ID.
	Id string `json:"id"`

	// Name The name of the topic. Must contain only letters, numbers, and dashes.
	Name string `json:"name"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// UpdateTime The time when the topic was last updated.
	UpdateTime *time.Time `json:"updateTime,omitempty"`
}

Topic defines model for Topic.

type TopicDestinationRoute

type TopicDestinationRoute struct {
	// CreateTime The time when the topic destination route was created.
	CreateTime time.Time `json:"createTime"`

	// DestinationId The ID of the destination.
	DestinationId string `json:"destinationId"`

	// Id The topic destination route ID.
	Id string `json:"id"`

	// ProjectId The Ampersand project ID.
	ProjectId string `json:"projectId"`

	// TopicId The ID of the topic.
	TopicId string `json:"topicId"`
}

TopicDestinationRoute defines model for TopicDestinationRoute.

type UpdateApiKeyJSONBody

type UpdateApiKeyJSONBody struct {
	ApiKey struct {
		// Active Whether the API key is active.
		Active *bool `json:"active,omitempty"`

		// Label A short name for the API key.
		Label *string `json:"label,omitempty"`

		// Scopes The scopes for the API key.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"apiKey"`

	// UpdateMask Array of field paths specifying which fields to update. Allowed values include:
	// - active
	// - label
	// - scopes
	UpdateMask []string `json:"updateMask"`
}

UpdateApiKeyJSONBody defines parameters for UpdateApiKey.

type UpdateApiKeyJSONRequestBody

type UpdateApiKeyJSONRequestBody UpdateApiKeyJSONBody

UpdateApiKeyJSONRequestBody defines body for UpdateApiKey for application/json ContentType.

type UpdateConnection200JSONResponseBodyAuthScheme

type UpdateConnection200JSONResponseBodyAuthScheme string

UpdateConnection200JSONResponseBodyAuthScheme defines parameters for UpdateConnection.

const (
	UpdateConnection200JSONResponseBodyAuthSchemeApiKey                      UpdateConnection200JSONResponseBodyAuthScheme = "apiKey"
	UpdateConnection200JSONResponseBodyAuthSchemeBasic                       UpdateConnection200JSONResponseBodyAuthScheme = "basic"
	UpdateConnection200JSONResponseBodyAuthSchemeNone                        UpdateConnection200JSONResponseBodyAuthScheme = "none"
	UpdateConnection200JSONResponseBodyAuthSchemeOauth2authorizationCode     UpdateConnection200JSONResponseBodyAuthScheme = "oauth2/authorizationCode"
	UpdateConnection200JSONResponseBodyAuthSchemeOauth2authorizationCodePKCE UpdateConnection200JSONResponseBodyAuthScheme = "oauth2/authorizationCodePKCE"
	UpdateConnection200JSONResponseBodyAuthSchemeOauth2clientCredentials     UpdateConnection200JSONResponseBodyAuthScheme = "oauth2/clientCredentials"
	UpdateConnection200JSONResponseBodyAuthSchemeOauth2password              UpdateConnection200JSONResponseBodyAuthScheme = "oauth2/password"
)

Defines values for UpdateConnection200JSONResponseBodyAuthScheme.

func (UpdateConnection200JSONResponseBodyAuthScheme) Valid

Valid indicates whether the value is a known member of the UpdateConnection200JSONResponseBodyAuthScheme enum.

type UpdateConnection200JSONResponseBodyProviderMetadataSource

type UpdateConnection200JSONResponseBodyProviderMetadataSource string

UpdateConnection200JSONResponseBodyProviderMetadataSource defines parameters for UpdateConnection.

const (
	UpdateConnection200JSONResponseBodyProviderMetadataSourceInput    UpdateConnection200JSONResponseBodyProviderMetadataSource = "input"
	UpdateConnection200JSONResponseBodyProviderMetadataSourceProvider UpdateConnection200JSONResponseBodyProviderMetadataSource = "provider"
	UpdateConnection200JSONResponseBodyProviderMetadataSourceToken    UpdateConnection200JSONResponseBodyProviderMetadataSource = "token"
)

Defines values for UpdateConnection200JSONResponseBodyProviderMetadataSource.

func (UpdateConnection200JSONResponseBodyProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the UpdateConnection200JSONResponseBodyProviderMetadataSource enum.

type UpdateConnection200JSONResponseBodyStatus

type UpdateConnection200JSONResponseBodyStatus string

UpdateConnection200JSONResponseBodyStatus defines parameters for UpdateConnection.

const (
	UpdateConnection200JSONResponseBodyStatusBadCredentials UpdateConnection200JSONResponseBodyStatus = "bad_credentials"
	UpdateConnection200JSONResponseBodyStatusCreated        UpdateConnection200JSONResponseBodyStatus = "created"
	UpdateConnection200JSONResponseBodyStatusWorking        UpdateConnection200JSONResponseBodyStatus = "working"
)

Defines values for UpdateConnection200JSONResponseBodyStatus.

func (UpdateConnection200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the UpdateConnection200JSONResponseBodyStatus enum.

type UpdateConnectionJSONBody

type UpdateConnectionJSONBody struct {
	Connection struct {
		// ApiKey The API key to use for the connection.
		ApiKey    *string `json:"apiKey,omitempty"`
		BasicAuth *struct {
			// Password The password to use for the connection.
			Password string `json:"password"`

			// Username The username to use for the connection.
			Username string `json:"username"`
		} `json:"basicAuth,omitempty"`

		// ConsumerName The name of the consumer that has access to this installation.
		ConsumerName *string `json:"consumerName,omitempty"`

		// ConsumerRef The consumer reference.
		ConsumerRef *string `json:"consumerRef,omitempty"`

		// CustomAuth Values used for custom auth input variables. Most values are strings (API keys, tokens, etc.), but structured values like arrays are also accepted — for example, googleWorkspaceDelegation sends a `scopes` array alongside the service account key.
		CustomAuth *map[string]interface{} `json:"customAuth,omitempty"`

		// GroupName The name of the user group that has access to this installation.
		GroupName *string `json:"groupName,omitempty"`

		// GroupRef The ID of the user group that has access to this installation.
		GroupRef                *string `json:"groupRef,omitempty"`
		Oauth2AuthorizationCode *struct {
			// AccessToken The access token for the connection.
			AccessToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"accessToken,omitempty"`

			// RefreshToken The refresh token to use for the connection.
			RefreshToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"refreshToken,omitempty"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`
		} `json:"oauth2AuthorizationCode,omitempty"`
		Oauth2ClientCredentials *struct {
			// ClientId The client ID to use for the connection.
			ClientId string `json:"clientId"`

			// ClientSecret The client secret to use for the connection.
			ClientSecret string `json:"clientSecret"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`
		} `json:"oauth2ClientCredentials,omitempty"`
		Oauth2PasswordCredentials *struct {
			// ClientId The client ID to use for the connection.
			ClientId string `json:"clientId"`

			// ClientSecret The client secret to use for the connection.
			ClientSecret string `json:"clientSecret"`

			// Password The password to use for the connection.
			Password string `json:"password"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`

			// Username The username to use for the connection.
			Username string `json:"username"`
		} `json:"oauth2PasswordCredentials,omitempty"`

		// Provider The provider name (e.g. "salesforce", "hubspot")
		Provider         *string `json:"provider,omitempty"`
		ProviderMetadata *map[string]struct {
			// DisplayName The human-readable name for the field
			DisplayName *string `json:"displayName,omitempty"`

			// Source The source of the metadata field
			Source UpdateConnectionJSONBodyConnectionProviderMetadataSource `json:"source"`

			// Value The value of the metadata field
			Value string `json:"value"`
		} `json:"providerMetadata,omitempty"`

		// ProviderWorkspaceRef The ID of the provider workspace that this connection belongs to.
		ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
	} `json:"connection"`

	// UpdateMask Fields to update. Each entry must have a corresponding value in `connection`. Credential fields (`apiKey`, `basicAuth`, `oauth2ClientCredentials`, `oauth2PasswordCredentials`) must match the connection's existing auth scheme.
	UpdateMask []UpdateConnectionJSONBodyUpdateMask `json:"updateMask"`
}

UpdateConnectionJSONBody defines parameters for UpdateConnection.

type UpdateConnectionJSONBodyConnectionProviderMetadataSource

type UpdateConnectionJSONBodyConnectionProviderMetadataSource string

UpdateConnectionJSONBodyConnectionProviderMetadataSource defines parameters for UpdateConnection.

const (
	UpdateConnectionJSONBodyConnectionProviderMetadataSourceInput    UpdateConnectionJSONBodyConnectionProviderMetadataSource = "input"
	UpdateConnectionJSONBodyConnectionProviderMetadataSourceProvider UpdateConnectionJSONBodyConnectionProviderMetadataSource = "provider"
	UpdateConnectionJSONBodyConnectionProviderMetadataSourceToken    UpdateConnectionJSONBodyConnectionProviderMetadataSource = "token"
)

Defines values for UpdateConnectionJSONBodyConnectionProviderMetadataSource.

func (UpdateConnectionJSONBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the UpdateConnectionJSONBodyConnectionProviderMetadataSource enum.

type UpdateConnectionJSONBodyUpdateMask

type UpdateConnectionJSONBodyUpdateMask string

UpdateConnectionJSONBodyUpdateMask defines parameters for UpdateConnection.

const (
	UpdateConnectionJSONBodyUpdateMaskApiKey                    UpdateConnectionJSONBodyUpdateMask = "apiKey"
	UpdateConnectionJSONBodyUpdateMaskBasicAuth                 UpdateConnectionJSONBodyUpdateMask = "basicAuth"
	UpdateConnectionJSONBodyUpdateMaskOauth2ClientCredentials   UpdateConnectionJSONBodyUpdateMask = "oauth2ClientCredentials"
	UpdateConnectionJSONBodyUpdateMaskOauth2PasswordCredentials UpdateConnectionJSONBodyUpdateMask = "oauth2PasswordCredentials"
	UpdateConnectionJSONBodyUpdateMaskProviderMetadata          UpdateConnectionJSONBodyUpdateMask = "providerMetadata"
	UpdateConnectionJSONBodyUpdateMaskProviderWorkspaceRef      UpdateConnectionJSONBodyUpdateMask = "providerWorkspaceRef"
)

Defines values for UpdateConnectionJSONBodyUpdateMask.

func (UpdateConnectionJSONBodyUpdateMask) Valid

Valid indicates whether the value is a known member of the UpdateConnectionJSONBodyUpdateMask enum.

type UpdateConnectionJSONRequestBody

type UpdateConnectionJSONRequestBody UpdateConnectionJSONBody

UpdateConnectionJSONRequestBody defines body for UpdateConnection for application/json ContentType.

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	Connection struct {
		// ApiKey The API key to use for the connection.
		ApiKey    *string `json:"apiKey,omitempty"`
		BasicAuth *struct {
			// Password The password to use for the connection.
			Password string `json:"password"`

			// Username The username to use for the connection.
			Username string `json:"username"`
		} `json:"basicAuth,omitempty"`

		// ConsumerName The name of the consumer that has access to this installation.
		ConsumerName *string `json:"consumerName,omitempty"`

		// ConsumerRef The consumer reference.
		ConsumerRef *string `json:"consumerRef,omitempty"`

		// CustomAuth Values used for custom auth input variables. Most values are strings (API keys, tokens, etc.), but structured values like arrays are also accepted — for example, googleWorkspaceDelegation sends a `scopes` array alongside the service account key.
		CustomAuth *map[string]interface{} `json:"customAuth,omitempty"`

		// GroupName The name of the user group that has access to this installation.
		GroupName *string `json:"groupName,omitempty"`

		// GroupRef The ID of the user group that has access to this installation.
		GroupRef                *string `json:"groupRef,omitempty"`
		Oauth2AuthorizationCode *struct {
			// AccessToken The access token for the connection.
			AccessToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"accessToken,omitempty"`

			// RefreshToken The refresh token to use for the connection.
			RefreshToken *struct {
				ExpiresAt *time.Time `json:"expiresAt,omitempty"`
				IssuedAt  *time.Time `json:"issuedAt,omitempty"`
				Token     string     `json:"token"`
			} `json:"refreshToken,omitempty"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`
		} `json:"oauth2AuthorizationCode,omitempty"`
		Oauth2ClientCredentials *struct {
			// ClientId The client ID to use for the connection.
			ClientId string `json:"clientId"`

			// ClientSecret The client secret to use for the connection.
			ClientSecret string `json:"clientSecret"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`
		} `json:"oauth2ClientCredentials,omitempty"`
		Oauth2PasswordCredentials *struct {
			// ClientId The client ID to use for the connection.
			ClientId string `json:"clientId"`

			// ClientSecret The client secret to use for the connection.
			ClientSecret string `json:"clientSecret"`

			// Password The password to use for the connection.
			Password string `json:"password"`

			// Scopes The scopes for the tokens.
			Scopes *[]string `json:"scopes,omitempty"`

			// Username The username to use for the connection.
			Username string `json:"username"`
		} `json:"oauth2PasswordCredentials,omitempty"`

		// Provider The provider name (e.g. "salesforce", "hubspot")
		Provider         *string `json:"provider,omitempty"`
		ProviderMetadata *map[string]struct {
			// DisplayName The human-readable name for the field
			DisplayName *string `json:"displayName,omitempty"`

			// Source The source of the metadata field
			Source UpdateConnectionRequestConnectionProviderMetadataSource `json:"source"`

			// Value The value of the metadata field
			Value string `json:"value"`
		} `json:"providerMetadata,omitempty"`

		// ProviderWorkspaceRef The ID of the provider workspace that this connection belongs to.
		ProviderWorkspaceRef *string `json:"providerWorkspaceRef,omitempty"`
	} `json:"connection"`

	// UpdateMask Fields to update. Each entry must have a corresponding value in `connection`. Credential fields (`apiKey`, `basicAuth`, `oauth2ClientCredentials`, `oauth2PasswordCredentials`) must match the connection's existing auth scheme.
	UpdateMask []UpdateConnectionRequestUpdateMask `json:"updateMask"`
}

UpdateConnectionRequest Specify which fields to update in `updateMask` and provide corresponding values in `connection`. Fields in `connection` not listed in `updateMask` are ignored.

type UpdateConnectionRequestConnectionProviderMetadataSource

type UpdateConnectionRequestConnectionProviderMetadataSource string

UpdateConnectionRequestConnectionProviderMetadataSource The source of the metadata field

const (
	UpdateConnectionRequestConnectionProviderMetadataSourceInput    UpdateConnectionRequestConnectionProviderMetadataSource = "input"
	UpdateConnectionRequestConnectionProviderMetadataSourceProvider UpdateConnectionRequestConnectionProviderMetadataSource = "provider"
	UpdateConnectionRequestConnectionProviderMetadataSourceToken    UpdateConnectionRequestConnectionProviderMetadataSource = "token"
)

Defines values for UpdateConnectionRequestConnectionProviderMetadataSource.

func (UpdateConnectionRequestConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the UpdateConnectionRequestConnectionProviderMetadataSource enum.

type UpdateConnectionRequestUpdateMask

type UpdateConnectionRequestUpdateMask string

UpdateConnectionRequestUpdateMask defines model for UpdateConnectionRequest.UpdateMask.

const (
	UpdateConnectionRequestUpdateMaskApiKey                    UpdateConnectionRequestUpdateMask = "apiKey"
	UpdateConnectionRequestUpdateMaskBasicAuth                 UpdateConnectionRequestUpdateMask = "basicAuth"
	UpdateConnectionRequestUpdateMaskOauth2ClientCredentials   UpdateConnectionRequestUpdateMask = "oauth2ClientCredentials"
	UpdateConnectionRequestUpdateMaskOauth2PasswordCredentials UpdateConnectionRequestUpdateMask = "oauth2PasswordCredentials"
	UpdateConnectionRequestUpdateMaskProviderMetadata          UpdateConnectionRequestUpdateMask = "providerMetadata"
	UpdateConnectionRequestUpdateMaskProviderWorkspaceRef      UpdateConnectionRequestUpdateMask = "providerWorkspaceRef"
)

Defines values for UpdateConnectionRequestUpdateMask.

func (UpdateConnectionRequestUpdateMask) Valid

Valid indicates whether the value is a known member of the UpdateConnectionRequestUpdateMask enum.

type UpdateDestinationJSONBody

type UpdateDestinationJSONBody struct {
	Destination struct {
		Metadata *struct {
			// Bucket The name of the S3 bucket to write objects to.
			Bucket *string `json:"bucket,omitempty"`

			// EndpointUrl The endpoint URL for the Kinesis stream.
			EndpointUrl *string `json:"endpointUrl,omitempty"`

			// Headers Additional headers to add when Ampersand sends a webhook message
			Headers *map[string]string `json:"headers,omitempty"`

			// KeyTemplate The template for the S3 object key to use when writing objects (a JMESPath template). If omitted, the key defaults to the message timestamp followed by the message ID.
			KeyTemplate *string `json:"keyTemplate,omitempty"`

			// PartitionKeyTemplate The template for the partition key to use when sending events to Kinesis (a JMESPath template)
			PartitionKeyTemplate *string `json:"partitionKeyTemplate,omitempty"`

			// Region The AWS region where the Kinesis or S3 destination is hosted.
			Region *string `json:"region,omitempty"`

			// StorageClass The S3 storage class for written objects. Defaults to STANDARD. Common values include STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, GLACIER_IR, and DEEP_ARCHIVE.
			StorageClass *string `json:"storageClass,omitempty"`

			// StreamName The name of the Kinesis stream to send events to.
			StreamName *string `json:"streamName,omitempty"`

			// Url Webhook URL
			Url *string `json:"url,omitempty"`
		} `json:"metadata,omitempty"`

		// Name User-friendly name for the destination
		Name *string `json:"name,omitempty"`

		// Secrets Secrets for the destination.
		Secrets *struct {
			// AwsKeyId The AWS access key ID for the Kinesis or S3 destination.
			AwsKeyId *string `json:"awsKeyId,omitempty"`

			// AwsSecretKey The AWS secret access key for the Kinesis or S3 destination.
			AwsSecretKey *string `json:"awsSecretKey,omitempty"`

			// AwsSessionToken The AWS session token for the Kinesis or S3 destination.
			AwsSessionToken *string `json:"awsSessionToken,omitempty"`
		} `json:"secrets,omitempty"`
	} `json:"destination"`

	// UpdateMask Array of field paths specifying which fields to update. Allowed values include:
	// - name
	// - metadata.url
	// - metadata.headers
	// - metadata.region
	// - metadata.streamName
	// - metadata.endpointUrl
	// - metadata.partitionKeyTemplate
	// - metadata.bucket
	// - metadata.keyTemplate
	// - metadata.storageClass
	// - secrets.awsKeyId
	// - secrets.awsSecretKey
	// - secrets.awsSessionToken
	UpdateMask []string `json:"updateMask"`
}

UpdateDestinationJSONBody defines parameters for UpdateDestination.

type UpdateDestinationJSONRequestBody

type UpdateDestinationJSONRequestBody UpdateDestinationJSONBody

UpdateDestinationJSONRequestBody defines body for UpdateDestination for application/json ContentType.

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator string

UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperatorEq UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator.

func (UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator string

UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperatorEq UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator.

func (UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentReadObjectsFieldFiltersOperator enum.

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto

type UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto string

UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto.

func (UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentReadObjectsSelectedFieldsAuto enum.

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled string

UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledAlways UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "always"
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabledNever  UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled.

func (UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsCreateEventEnabled enum.

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled string

UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledAlways UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabledNever  UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled.

func (UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsDeleteEventEnabled enum.

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled string

UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledAlways UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabledNever  UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled.

func (UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventEnabled enum.

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type UpdateInstallation200JSONResponseBodyConnectionAuthScheme

type UpdateInstallation200JSONResponseBodyConnectionAuthScheme string

UpdateInstallation200JSONResponseBodyConnectionAuthScheme defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeApiKey                      UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "apiKey"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeBasic                       UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "basic"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeNone                        UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "none"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCode     UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCode"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeOauth2authorizationCodePKCE UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/authorizationCodePKCE"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeOauth2clientCredentials     UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/clientCredentials"
	UpdateInstallation200JSONResponseBodyConnectionAuthSchemeOauth2password              UpdateInstallation200JSONResponseBodyConnectionAuthScheme = "oauth2/password"
)

Defines values for UpdateInstallation200JSONResponseBodyConnectionAuthScheme.

func (UpdateInstallation200JSONResponseBodyConnectionAuthScheme) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConnectionAuthScheme enum.

type UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource

type UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource string

UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSourceInput    UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource = "input"
	UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSourceProvider UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource = "provider"
	UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSourceToken    UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource = "token"
)

Defines values for UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource.

func (UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConnectionProviderMetadataSource enum.

type UpdateInstallation200JSONResponseBodyConnectionStatus

type UpdateInstallation200JSONResponseBodyConnectionStatus string

UpdateInstallation200JSONResponseBodyConnectionStatus defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyConnectionStatusBadCredentials UpdateInstallation200JSONResponseBodyConnectionStatus = "bad_credentials"
	UpdateInstallation200JSONResponseBodyConnectionStatusCreated        UpdateInstallation200JSONResponseBodyConnectionStatus = "created"
	UpdateInstallation200JSONResponseBodyConnectionStatusWorking        UpdateInstallation200JSONResponseBodyConnectionStatus = "working"
)

Defines values for UpdateInstallation200JSONResponseBodyConnectionStatus.

func (UpdateInstallation200JSONResponseBodyConnectionStatus) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyConnectionStatus enum.

type UpdateInstallation200JSONResponseBodyHealthStatus

type UpdateInstallation200JSONResponseBodyHealthStatus string

UpdateInstallation200JSONResponseBodyHealthStatus defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyHealthStatusHealthy   UpdateInstallation200JSONResponseBodyHealthStatus = "healthy"
	UpdateInstallation200JSONResponseBodyHealthStatusUnhealthy UpdateInstallation200JSONResponseBodyHealthStatus = "unhealthy"
)

Defines values for UpdateInstallation200JSONResponseBodyHealthStatus.

func (UpdateInstallation200JSONResponseBodyHealthStatus) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyHealthStatus enum.

type UpdateInstallation200JSONResponseBodyLastOperationStatus

type UpdateInstallation200JSONResponseBodyLastOperationStatus string

UpdateInstallation200JSONResponseBodyLastOperationStatus defines parameters for UpdateInstallation.

const (
	UpdateInstallation200JSONResponseBodyLastOperationStatusFailure    UpdateInstallation200JSONResponseBodyLastOperationStatus = "failure"
	UpdateInstallation200JSONResponseBodyLastOperationStatusInProgress UpdateInstallation200JSONResponseBodyLastOperationStatus = "in_progress"
	UpdateInstallation200JSONResponseBodyLastOperationStatusSuccess    UpdateInstallation200JSONResponseBodyLastOperationStatus = "success"
)

Defines values for UpdateInstallation200JSONResponseBodyLastOperationStatus.

func (UpdateInstallation200JSONResponseBodyLastOperationStatus) Valid

Valid indicates whether the value is a known member of the UpdateInstallation200JSONResponseBodyLastOperationStatus enum.

type UpdateInstallationJSONBody

type UpdateInstallationJSONBody struct {
	// Installation The installation fields to update. Only fields whose paths are listed in `updateMask` will be
	// applied; all other fields in this object are ignored.
	Installation struct {
		// Config The config of the installation.
		Config *struct {
			// Content The content of the config.
			Content *struct {
				// Provider The SaaS API that we are integrating with.
				Provider *string `json:"provider,omitempty"`
				Proxy    *struct {
					Enabled *bool `json:"enabled,omitempty"`
				} `json:"proxy,omitempty"`
				Read *struct {
					// Objects This is a map of object names to their configuration.
					Objects *map[string]struct {
						Backfill *struct {
							DefaultPeriod struct {
								// Days Number of days in past to backfill from. 0 is no backfill. e.g) if 10, then backfill last 10 days of data. Required if fullHistory is not set.
								Days *int `json:"days,omitempty" validate:"required_without=FullHistory,omitempty,min=0"`

								// FullHistory If true, backfill all history. Required if days is not set.
								FullHistory *bool `json:"fullHistory,omitempty" validate:"required_without=Days"`
							} `json:"defaultPeriod"`

							// FieldFilters Filters to apply only during backfill. Multiple conditions are joined by AND. Use this when you want different filter behavior for backfill vs. incremental reads.
							FieldFilters []struct {
								// FieldName The name of the field to filter on.
								FieldName string `json:"fieldName"`

								// Operator The comparison operator.
								Operator UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator `json:"operator"`

								// Value The value to filter on. Allowed types are string, boolean, and number.
								Value interface{} `json:"value,omitempty"`
							} `json:"fieldFilters,omitempty"`
						} `json:"backfill,omitempty"`

						// Destination The name of the destination that the result should be sent to.
						Destination string `json:"destination,omitempty"`

						// Disabled If this flag is set to true, scheduled reads associated with this object will be paused, and on-demand reads will not be allowed.
						Disabled *bool `json:"disabled,omitempty"`

						// DynamicMappingsInput An array containing all available dynamic field and value mappings for this installation, provided by the InstallIntegration component. This array represents the complete set of possible mappings, regardless of which ones are currently selected. The actual selected mappings are stored separately in the selectedFieldMappings property.
						DynamicMappingsInput *[]struct {
							// FieldName The name of the field in SaaS provider, if present, then we will not prompt the user to map the field.
							FieldName *string `json:"fieldName,omitempty"`

							// MapToDisplayName Optional display name of the field to show the user in the mapping UI.
							MapToDisplayName *string `json:"mapToDisplayName,omitempty"`

							// MapToName The name of the field in your application.
							MapToName string `json:"mapToName"`

							// MappedValues If you would like the user to map a set of possible values, this is the list of possible values of the field in your application.
							MappedValues *[]struct {
								MappedDisplayValue string `json:"mappedDisplayValue"`
								MappedValue        string `json:"mappedValue"`
							} `json:"mappedValues,omitempty"`

							// Prompt Optional prompt to show the user in the mapping UI.
							Prompt *string `json:"prompt,omitempty"`
						} `json:"dynamicMappingsInput,omitempty"`

						// FieldFilters Filters to apply when reading records during incremental reads and backfill. Multiple conditions are joined by AND. Each field can only have one condition.
						FieldFilters []struct {
							// FieldName The name of the field to filter on.
							FieldName string `json:"fieldName"`

							// Operator The comparison operator.
							Operator UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator `json:"operator"`

							// Value The value to filter on. Allowed types are string, boolean, and number.
							Value interface{} `json:"value,omitempty"`
						} `json:"fieldFilters,omitempty"`

						// ObjectName The name of the object to read from.
						ObjectName *string `json:"objectName,omitempty" validate:"required"`

						// Schedule The schedule for reading the object, in cron syntax.
						Schedule string `json:"schedule,omitempty"`

						// SelectedFieldMappings This is a map of mapToNames to field names. (A mapTo name is the name the builder wants to map a field to when it lands in their destination.)
						SelectedFieldMappings *map[string]string `json:"selectedFieldMappings,omitempty"`

						// SelectedFields This is a map of field names to booleans indicating whether they should be read. If a field is already included in `selectedFieldMappings`, it does not need to be included here.
						SelectedFields *map[string]bool `json:"selectedFields,omitempty"`

						// SelectedFieldsAuto If selectedFieldsAuto is set to all, all fields will be read.
						SelectedFieldsAuto *UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto `json:"selectedFieldsAuto,omitempty"`

						// SelectedValueMappings This is a map of field names to their value mappings.
						SelectedValueMappings map[string]map[string]string `json:"selectedValueMappings,omitempty"`
					} `json:"objects,omitempty"`
				} `json:"read,omitempty"`
				Subscribe *struct {
					Objects *map[string]struct {
						CreateEvent *struct {
							// Enabled Conditions to enable create events.
							Enabled UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled `json:"enabled" validate:"oneof=always never"`
						} `json:"createEvent,omitempty"`
						DeleteEvent *struct {
							// Enabled Conditions to enable delete events.
							Enabled UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled `json:"enabled" validate:"oneof=always never"`
						} `json:"deleteEvent,omitempty"`

						// Destination The name of the destination that the result should be sent to.
						Destination string `json:"destination"`

						// InheritFieldsAndMappings Whether to inherit fields and mappings from the read config.
						InheritFieldsAndMappings bool `json:"inheritFieldsAndMappings"`

						// ObjectName The name of the object to subscribe to.
						ObjectName  string    `json:"objectName" validate:"required"`
						OtherEvents *[]string `json:"otherEvents,omitempty"`
						UpdateEvent *struct {
							// Enabled Conditions to enable update events.
							Enabled UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled `json:"enabled" validate:"oneof=always never"`

							// RequiredWatchFields The fields that should be watched.
							RequiredWatchFields *[]string `json:"requiredWatchFields,omitempty"`

							// WatchFieldsAuto Whether to watch fields all fields automatically.
							WatchFieldsAuto *UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto `json:"watchFieldsAuto,omitempty"`
						} `json:"updateEvent,omitempty"`
					} `json:"objects,omitempty"`
				} `json:"subscribe,omitempty"`
				Write *struct {
					// Objects This is a map of object names to their configuration.
					Objects *map[string]struct {
						DeletionSettings *struct {
							// Enabled Whether deletion is enabled for this object
							Enabled bool `json:"enabled"`
						} `json:"deletionSettings,omitempty"`

						// ObjectName The name of the object to write to.
						ObjectName string `json:"objectName" validate:"required"`

						// SelectedFieldSettings This is a map of field names to their settings.
						SelectedFieldSettings map[string]struct {
							// Default Only use one of stringValue, integerValue, booleanValue.
							Default *struct {
								// BooleanValue The default boolean value to apply to a field
								BooleanValue *bool `json:"booleanValue,omitempty"`

								// IntegerValue The default integer value to apply to a field
								IntegerValue *int `json:"integerValue,omitempty"`

								// StringValue The default string value to apply to a field
								StringValue *string `json:"stringValue,omitempty"`
							} `json:"default,omitempty"`

							// WriteOnCreate Whether the default value should be applied when creating a record.
							WriteOnCreate UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate `json:"writeOnCreate,omitempty"`

							// WriteOnUpdate Whether the default value should be applied when updating a record.
							// - always: Always write to the field on update
							// - never: Never write to the field on update
							// - ifEmpty: Only write to the field if it's currently empty (unset or empty string).
							WriteOnUpdate UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate `json:"writeOnUpdate,omitempty"`
						} `json:"selectedFieldSettings,omitempty"`

						// SelectedValueDefaults This is a map of field names to default values. These values will be used when writing to the object.
						// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
						SelectedValueDefaults map[string]any `json:"selectedValueDefaults,omitempty"`
					} `json:"objects,omitempty"`
				} `json:"write,omitempty"`
			} `json:"content,omitempty"`

			// CreatedBy The person who created the config, in the format of "consumer:{consumer-id}" or "builder:{builder-id}".
			CreatedBy *string `json:"createdBy,omitempty"`

			// RevisionId Deprecated: This field will be automatically set to the latest revision ID.
			// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
			RevisionId *string `json:"revisionId,omitempty"`
		} `json:"config,omitempty"`

		// ConnectionId The ID of the SaaS connection tied to this installation.
		ConnectionId *string `json:"connectionId,omitempty"`
	} `json:"installation"`

	// UpdateMask Array of field paths specifying which fields to update. Each path must have a corresponding value in the `installation` object. A field included in `installation` but not listed here will be ignored. Allowed values:
	// - `connectionId` - switch the SaaS connection tied to this installation.
	// - `config.createdBy` - change the attribution for who created this config.
	// - `config.content.read.objects.<objectName>` - replace the read config for a single object (e.g. `config.content.read.objects.contacts`).
	// - `config.content.write.objects.<objectName>` - replace the write config for a single object.
	// - `config.content.write.objects` - replace the entire write objects map.
	// - `config.content.subscribe.objects.<objectName>` - replace the subscribe config for a single object.
	// - `config.content.subscribe.objects` - replace the entire subscribe objects map.
	// - `config.content.proxy.enabled` - enable or disable the proxy.
	//
	// Replace `<objectName>` with the provider object name (e.g. `contacts`, `leads`, `accounts`).
	UpdateMask []string `json:"updateMask"`
}

UpdateInstallationJSONBody defines parameters for UpdateInstallation.

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator string

UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperatorEq UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator = "eq"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator.

func (UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentReadObjectsBackfillFieldFiltersOperator enum.

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator string

UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperatorEq UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator = "eq"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator.

func (UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentReadObjectsFieldFiltersOperator enum.

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto

type UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto string

UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAutoSelectedFieldsAll UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto = "all"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto.

func (UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentReadObjectsSelectedFieldsAuto enum.

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled string

UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabledAlways UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled = "always"
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabledNever  UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled = "never"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled.

func (UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsCreateEventEnabled enum.

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled string

UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabledAlways UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled = "always"
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabledNever  UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled = "never"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled.

func (UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsDeleteEventEnabled enum.

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled string

UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabledAlways UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled = "always"
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabledNever  UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled = "never"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled.

func (UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventEnabled enum.

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto

type UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto string

UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAutoAll UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto = "all"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto.

func (UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentSubscribeObjectsUpdateEventWatchFieldsAuto enum.

type UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate

type UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate string

UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateAlways UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "always"
	UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreateNever  UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate = "never"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate.

func (UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnCreate enum.

type UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate

type UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate string

UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate defines parameters for UpdateInstallation.

const (
	UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateAlways  UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "always"
	UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateIfEmpty UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "ifEmpty"
	UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdateNever   UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate = "never"
)

Defines values for UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate.

func (UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate) Valid

Valid indicates whether the value is a known member of the UpdateInstallationJSONBodyInstallationConfigContentWriteObjectsSelectedFieldSettingsWriteOnUpdate enum.

type UpdateInstallationJSONRequestBody

type UpdateInstallationJSONRequestBody UpdateInstallationJSONBody

UpdateInstallationJSONRequestBody defines body for UpdateInstallation for application/json ContentType.

type UpdateInstallationParams

type UpdateInstallationParams struct {
	// SkipSampling When `true`, skips the sample read that validates the installation's read configuration against the provider before saving. Defaults to `false`.
	SkipSampling *bool `form:"skipSampling,omitempty" json:"skipSampling,omitempty"`
}

UpdateInstallationParams defines parameters for UpdateInstallation.

type UpdateJWTKey200JSONResponseBodyAlgorithm

type UpdateJWTKey200JSONResponseBodyAlgorithm string

UpdateJWTKey200JSONResponseBodyAlgorithm defines parameters for UpdateJWTKey.

const (
	UpdateJWTKey200JSONResponseBodyAlgorithmRSA UpdateJWTKey200JSONResponseBodyAlgorithm = "RSA"
)

Defines values for UpdateJWTKey200JSONResponseBodyAlgorithm.

func (UpdateJWTKey200JSONResponseBodyAlgorithm) Valid

Valid indicates whether the value is a known member of the UpdateJWTKey200JSONResponseBodyAlgorithm enum.

type UpdateJWTKeyJSONBody

type UpdateJWTKeyJSONBody struct {
	// JwtKey Object containing the fields to update with their new values
	JwtKey UpdateJWTKeyJSONBody_JwtKey `json:"jwtKey"`

	// UpdateMask List of field paths to update (currently supports 'active' and 'name')
	UpdateMask []UpdateJWTKeyJSONBodyUpdateMask `json:"updateMask"`
}

UpdateJWTKeyJSONBody defines parameters for UpdateJWTKey.

type UpdateJWTKeyJSONBodyUpdateMask

type UpdateJWTKeyJSONBodyUpdateMask string

UpdateJWTKeyJSONBodyUpdateMask defines parameters for UpdateJWTKey.

const (
	UpdateJWTKeyJSONBodyUpdateMaskActive UpdateJWTKeyJSONBodyUpdateMask = "active"
	UpdateJWTKeyJSONBodyUpdateMaskLabel  UpdateJWTKeyJSONBodyUpdateMask = "label"
)

Defines values for UpdateJWTKeyJSONBodyUpdateMask.

func (UpdateJWTKeyJSONBodyUpdateMask) Valid

Valid indicates whether the value is a known member of the UpdateJWTKeyJSONBodyUpdateMask enum.

type UpdateJWTKeyJSONBody_JwtKey

type UpdateJWTKeyJSONBody_JwtKey struct {
	// Active New active status for the JWT key
	Active *bool `json:"active,omitempty"`

	// Label New label for the JWT key
	Label                *string                `json:"label,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

UpdateJWTKeyJSONBody_JwtKey defines parameters for UpdateJWTKey.

func (UpdateJWTKeyJSONBody_JwtKey) Get

func (a UpdateJWTKeyJSONBody_JwtKey) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for UpdateJWTKeyJSONBody_JwtKey. Returns the specified element and whether it was found

func (UpdateJWTKeyJSONBody_JwtKey) MarshalJSON

func (a UpdateJWTKeyJSONBody_JwtKey) MarshalJSON() ([]byte, error)

Override default JSON handling for UpdateJWTKeyJSONBody_JwtKey to handle AdditionalProperties

func (*UpdateJWTKeyJSONBody_JwtKey) Set

func (a *UpdateJWTKeyJSONBody_JwtKey) Set(fieldName string, value interface{})

Setter for additional properties for UpdateJWTKeyJSONBody_JwtKey

func (*UpdateJWTKeyJSONBody_JwtKey) UnmarshalJSON

func (a *UpdateJWTKeyJSONBody_JwtKey) UnmarshalJSON(b []byte) error

Override default JSON handling for UpdateJWTKeyJSONBody_JwtKey to handle AdditionalProperties

type UpdateJWTKeyJSONRequestBody

type UpdateJWTKeyJSONRequestBody UpdateJWTKeyJSONBody

UpdateJWTKeyJSONRequestBody defines body for UpdateJWTKey for application/json ContentType.

type UpdateMask

type UpdateMask = []string

UpdateMask Array of field paths specifying which fields to update. Uses dot notation for nested fields (e.g., "config.revision", "metadata.tags").

**Field Path Rules:** - Use dot notation for nested objects: `parent.child.field` - Escape special characters: `field\.with\.dots`, `field\:with\:colons` - Array elements not directly addressable - Object names can be specified directly (e.g., "config.content.read.objects.contacts") - The * operator in paths like "config.content.read.objects.*" allows you to specify any object name

  • Example: "config.content.read.objects.*" pattern allows "config.content.read.objects.contacts", "config.content.read.objects.leads", etc.

type UpdateOrgJSONBody

type UpdateOrgJSONBody struct {
	Org struct {
		// Label The organization label.
		Label *string `json:"label,omitempty"`
	} `json:"org"`

	// UpdateMask Array of field paths specifying which fields to update. Allowed values include:
	// - label
	UpdateMask []string `json:"updateMask"`
}

UpdateOrgJSONBody defines parameters for UpdateOrg.

type UpdateOrgJSONRequestBody

type UpdateOrgJSONRequestBody UpdateOrgJSONBody

UpdateOrgJSONRequestBody defines body for UpdateOrg for application/json ContentType.

type UpdateProjectJSONBody

type UpdateProjectJSONBody struct {
	// Project The project fields to update. Only fields whose paths are listed in `updateMask`
	// will be applied; all other fields in this object are ignored.
	Project struct {
		// AppName The display name of the application, shown to end users during the connection flow.
		AppName *string `json:"appName,omitempty"`

		// Name The unique name for the project. Must be unique within the organization.
		Name *string `json:"name,omitempty"`
	} `json:"project"`

	// UpdateMask Array of field paths specifying which fields to update. Each path must have a
	// corresponding value in the `project` object. A field included in `project` but
	// not listed here will be ignored. Allowed values:
	// - `appName` - the display name of the application, shown to end users during the connection flow.
	// - `name` - the unique project identifier (must be unique within your organization).
	UpdateMask []string `json:"updateMask"`
}

UpdateProjectJSONBody defines parameters for UpdateProject.

type UpdateProjectJSONRequestBody

type UpdateProjectJSONRequestBody UpdateProjectJSONBody

UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.

type UpdateProviderAppJSONBody

type UpdateProviderAppJSONBody struct {
	// ProviderApp The provider app fields to update. (Only include the fields you'd like to update.)
	ProviderApp struct {
		// ClientId The OAuth client ID for this app.
		ClientId *string `json:"clientId,omitempty"`

		// ClientSecret The OAuth client secret for this app.
		ClientSecret *string `json:"clientSecret,omitempty"`

		// ExternalRef The ID used by the provider to identify the app (optional).
		ExternalRef *string `json:"externalRef,omitempty"`

		// Metadata Provider-specific configuration that extends the standard OAuth flow.
		Metadata *struct {
			// AuthQueryParams Additional query parameters to include in the OAuth authorization URL (e.g., optional_scope for HubSpot).
			AuthQueryParams *map[string][]string `json:"authQueryParams,omitempty"`

			// ProviderParams Provider-specific string values keyed by names (e.g., packageInstallURL for Salesforce, gcpProjectId and gcpPubSubTopicName for Gmail).
			ProviderParams *map[string]string `json:"providerParams,omitempty"`
		} `json:"metadata,omitempty"`

		// Provider The SaaS provider that this app connects to.
		Provider *string `json:"provider,omitempty"`

		// Scopes The OAuth scopes for this app.
		Scopes *[]string `json:"scopes,omitempty"`
	} `json:"providerApp"`

	// UpdateMask Array of field paths specifying which fields to update. Allowed values include:
	// - externalRef
	// - clientId
	// - clientSecret
	// - provider
	// - scopes
	// - metadata
	UpdateMask []string `json:"updateMask"`
}

UpdateProviderAppJSONBody defines parameters for UpdateProviderApp.

type UpdateProviderAppJSONRequestBody

type UpdateProviderAppJSONRequestBody UpdateProviderAppJSONBody

UpdateProviderAppJSONRequestBody defines body for UpdateProviderApp for application/json ContentType.

type UpdateTopicJSONBody

type UpdateTopicJSONBody struct {
	// Name A human-readable name for the topic.
	Name string `json:"name"`
}

UpdateTopicJSONBody defines parameters for UpdateTopic.

type UpdateTopicJSONRequestBody

type UpdateTopicJSONRequestBody UpdateTopicJSONBody

UpdateTopicJSONRequestBody defines body for UpdateTopic for application/json ContentType.

type UpsertMetadataForConnectionJSONBody

type UpsertMetadataForConnectionJSONBody struct {
	// Fields Maps object names to field definitions
	Fields map[string][]struct {
		// Association Relationship information for a field to another object
		Association *struct {
			// AssociationType High-level association variety (e.g., 'foreignKey', 'lookup', 'ref')
			AssociationType string `json:"associationType"`

			// Cardinality Association cardinality from the referencing field's perspective
			Cardinality *string `json:"cardinality,omitempty"`

			// Labels UI labels for an association
			Labels *struct {
				// Plural Plural display label
				Plural *string `json:"plural,omitempty"`

				// Singular Singular display label
				Singular *string `json:"singular,omitempty"`
			} `json:"labels,omitempty"`

			// OnDelete Behavior upon foreign object deletion
			OnDelete *string `json:"onDelete,omitempty"`

			// Required If true, a referenced record must exist
			Required *bool `json:"required,omitempty"`

			// ReverseLookupFieldName Optional inverse relationship/property name exposed on the target object
			ReverseLookupFieldName *string `json:"reverseLookupFieldName,omitempty"`

			// TargetField Name of the referenced field on the target object
			TargetField *string `json:"targetField,omitempty"`

			// TargetObject Name of the referenced/parent object
			TargetObject string `json:"targetObject"`
		} `json:"association,omitempty"`

		// Description Optional description of the field
		Description *string `json:"description,omitempty"`

		// DisplayName The human-readable name of the field
		DisplayName string `json:"displayName"`

		// FieldName The identifier of the field
		FieldName string `json:"fieldName"`

		// Indexed Indicates if the field should be indexed for faster search
		Indexed *bool `json:"indexed,omitempty"`

		// NumericOptions Additional options for numeric fields
		NumericOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *float32 `json:"defaultValue,omitempty"`

			// Max Maximum value for numeric fields
			Max *float32 `json:"max,omitempty"`

			// Min Minimum value for numeric fields
			Min *float32 `json:"min,omitempty"`

			// Precision Total number of digits (for decimal types)
			Precision *int `json:"precision,omitempty"`

			// Scale Number of digits to the right of the decimal point (for decimal types)
			Scale *int `json:"scale,omitempty"`
		} `json:"numericOptions,omitempty"`

		// Required Indicates if the field is required
		Required *bool `json:"required,omitempty"`

		// StringOptions Additional options for string fields
		StringOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *string `json:"defaultValue,omitempty"`

			// Length Maximum length of the string field
			Length *int `json:"length,omitempty"`

			// Pattern Regex pattern that the string field value must match
			Pattern *string `json:"pattern,omitempty"`

			// Values List of allowed values for enum fields
			Values *[]string `json:"values,omitempty"`

			// ValuesRestricted Indicates if the field value must be limited to what's in Values
			ValuesRestricted *bool `json:"valuesRestricted,omitempty"`
		} `json:"stringOptions,omitempty"`

		// Unique Indicates if the field must be unique across all records
		Unique *bool `json:"unique,omitempty"`

		// ValueType The data type of the field. Valid values are string, boolean, date, datetime, singleSelect, multiSelect, int, float, reference
		ValueType string `json:"valueType"`
	} `json:"fields"`

	// GroupRef The ID that your app uses to identify the group of users for this request.
	GroupRef string `json:"groupRef"`
}

UpsertMetadataForConnectionJSONBody defines parameters for UpsertMetadataForConnection.

type UpsertMetadataForConnectionJSONRequestBody

type UpsertMetadataForConnectionJSONRequestBody UpsertMetadataForConnectionJSONBody

UpsertMetadataForConnectionJSONRequestBody defines body for UpsertMetadataForConnection for application/json ContentType.

type UpsertMetadataForInstallationJSONBody

type UpsertMetadataForInstallationJSONBody struct {
	// Fields Maps object names to field definitions
	Fields map[string][]struct {
		// Association Relationship information for a field to another object
		Association *struct {
			// AssociationType High-level association variety (e.g., 'foreignKey', 'lookup', 'ref')
			AssociationType string `json:"associationType"`

			// Cardinality Association cardinality from the referencing field's perspective
			Cardinality *string `json:"cardinality,omitempty"`

			// Labels UI labels for an association
			Labels *struct {
				// Plural Plural display label
				Plural *string `json:"plural,omitempty"`

				// Singular Singular display label
				Singular *string `json:"singular,omitempty"`
			} `json:"labels,omitempty"`

			// OnDelete Behavior upon foreign object deletion
			OnDelete *string `json:"onDelete,omitempty"`

			// Required If true, a referenced record must exist
			Required *bool `json:"required,omitempty"`

			// ReverseLookupFieldName Optional inverse relationship/property name exposed on the target object
			ReverseLookupFieldName *string `json:"reverseLookupFieldName,omitempty"`

			// TargetField Name of the referenced field on the target object
			TargetField *string `json:"targetField,omitempty"`

			// TargetObject Name of the referenced/parent object
			TargetObject string `json:"targetObject"`
		} `json:"association,omitempty"`

		// Description Optional description of the field
		Description *string `json:"description,omitempty"`

		// DisplayName The human-readable name of the field
		DisplayName string `json:"displayName"`

		// FieldName The identifier of the field
		FieldName string `json:"fieldName"`

		// Indexed Indicates if the field should be indexed for faster search
		Indexed *bool `json:"indexed,omitempty"`

		// NumericOptions Additional options for numeric fields
		NumericOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *float32 `json:"defaultValue,omitempty"`

			// Max Maximum value for numeric fields
			Max *float32 `json:"max,omitempty"`

			// Min Minimum value for numeric fields
			Min *float32 `json:"min,omitempty"`

			// Precision Total number of digits (for decimal types)
			Precision *int `json:"precision,omitempty"`

			// Scale Number of digits to the right of the decimal point (for decimal types)
			Scale *int `json:"scale,omitempty"`
		} `json:"numericOptions,omitempty"`

		// Required Indicates if the field is required
		Required *bool `json:"required,omitempty"`

		// StringOptions Additional options for string fields
		StringOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *string `json:"defaultValue,omitempty"`

			// Length Maximum length of the string field
			Length *int `json:"length,omitempty"`

			// Pattern Regex pattern that the string field value must match
			Pattern *string `json:"pattern,omitempty"`

			// Values List of allowed values for enum fields
			Values *[]string `json:"values,omitempty"`

			// ValuesRestricted Indicates if the field value must be limited to what's in Values
			ValuesRestricted *bool `json:"valuesRestricted,omitempty"`
		} `json:"stringOptions,omitempty"`

		// Unique Indicates if the field must be unique across all records
		Unique *bool `json:"unique,omitempty"`

		// ValueType The data type of the field. Valid values are string, boolean, date, datetime, singleSelect, multiSelect, int, float, reference
		ValueType string `json:"valueType"`
	} `json:"fields"`

	// GroupRef The ID that your app uses to identify the group of users for this request.
	GroupRef string `json:"groupRef"`
}

UpsertMetadataForInstallationJSONBody defines parameters for UpsertMetadataForInstallation.

type UpsertMetadataForInstallationJSONRequestBody

type UpsertMetadataForInstallationJSONRequestBody UpsertMetadataForInstallationJSONBody

UpsertMetadataForInstallationJSONRequestBody defines body for UpsertMetadataForInstallation for application/json ContentType.

type UpsertMetadataRequest

type UpsertMetadataRequest struct {
	// Fields Maps object names to field definitions
	Fields map[string][]struct {
		// Association Relationship information for a field to another object
		Association *struct {
			// AssociationType High-level association variety (e.g., 'foreignKey', 'lookup', 'ref')
			AssociationType string `json:"associationType"`

			// Cardinality Association cardinality from the referencing field's perspective
			Cardinality *string `json:"cardinality,omitempty"`

			// Labels UI labels for an association
			Labels *struct {
				// Plural Plural display label
				Plural *string `json:"plural,omitempty"`

				// Singular Singular display label
				Singular *string `json:"singular,omitempty"`
			} `json:"labels,omitempty"`

			// OnDelete Behavior upon foreign object deletion
			OnDelete *string `json:"onDelete,omitempty"`

			// Required If true, a referenced record must exist
			Required *bool `json:"required,omitempty"`

			// ReverseLookupFieldName Optional inverse relationship/property name exposed on the target object
			ReverseLookupFieldName *string `json:"reverseLookupFieldName,omitempty"`

			// TargetField Name of the referenced field on the target object
			TargetField *string `json:"targetField,omitempty"`

			// TargetObject Name of the referenced/parent object
			TargetObject string `json:"targetObject"`
		} `json:"association,omitempty"`

		// Description Optional description of the field
		Description *string `json:"description,omitempty"`

		// DisplayName The human-readable name of the field
		DisplayName string `json:"displayName"`

		// FieldName The identifier of the field
		FieldName string `json:"fieldName"`

		// Indexed Indicates if the field should be indexed for faster search
		Indexed *bool `json:"indexed,omitempty"`

		// NumericOptions Additional options for numeric fields
		NumericOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *float32 `json:"defaultValue,omitempty"`

			// Max Maximum value for numeric fields
			Max *float32 `json:"max,omitempty"`

			// Min Minimum value for numeric fields
			Min *float32 `json:"min,omitempty"`

			// Precision Total number of digits (for decimal types)
			Precision *int `json:"precision,omitempty"`

			// Scale Number of digits to the right of the decimal point (for decimal types)
			Scale *int `json:"scale,omitempty"`
		} `json:"numericOptions,omitempty"`

		// Required Indicates if the field is required
		Required *bool `json:"required,omitempty"`

		// StringOptions Additional options for string fields
		StringOptions *struct {
			// DefaultValue Default value for the field
			DefaultValue *string `json:"defaultValue,omitempty"`

			// Length Maximum length of the string field
			Length *int `json:"length,omitempty"`

			// Pattern Regex pattern that the string field value must match
			Pattern *string `json:"pattern,omitempty"`

			// Values List of allowed values for enum fields
			Values *[]string `json:"values,omitempty"`

			// ValuesRestricted Indicates if the field value must be limited to what's in Values
			ValuesRestricted *bool `json:"valuesRestricted,omitempty"`
		} `json:"stringOptions,omitempty"`

		// Unique Indicates if the field must be unique across all records
		Unique *bool `json:"unique,omitempty"`

		// ValueType The data type of the field. Valid values are string, boolean, date, datetime, singleSelect, multiSelect, int, float, reference
		ValueType string `json:"valueType"`
	} `json:"fields"`

	// GroupRef The ID that your app uses to identify the group of users for this request.
	GroupRef string `json:"groupRef"`
}

UpsertMetadataRequest Request payload for upserting metadata (fields only)

type UpsertMetadataResponse

type UpsertMetadataResponse struct {
	// Fields Maps object name -> field name -> upsert result
	Fields map[string]map[string]struct {
		// Action Action taken (create, update, none)
		Action string `json:"action"`

		// FieldName Name of the field
		FieldName string `json:"fieldName"`

		// Metadata Provider-specific metadata about the field
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Warnings Warnings that occurred during the upsert operation
		Warnings *[]string `json:"warnings,omitempty"`
	} `json:"fields"`

	// Success Indicates if the upsert operation was successful
	Success bool `json:"success"`
}

UpsertMetadataResponse Response containing results for all created/updated fields

type WebhookHeaders

type WebhookHeaders map[string]string

WebhookHeaders Additional headers to add when Ampersand sends a webhook message

Jump to

Keyboard shortcuts

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