Documentation
¶
Overview ¶
Davinci Admin API GO Client
This package is go client to be used for interacting with PingOne DaVinci Administrative APIs. Use cases include: - Creating Connections - Importing Flows
Index ¶
- Constants
- Variables
- func Diff(x, y interface{}, cmpOpts ExportCmpOpts, opts ...cmp.Option) string
- func Equal(x, y interface{}, cmpOpts ExportCmpOpts, opts ...cmp.Option) bool
- func Marshal(v any, opts ExportCmpOpts) (bytes []byte, err error)
- func Unmarshal(bytes []byte, v any, opts ExportCmpOpts) (err error)
- func ValidExport(data []byte, cmpOpts ExportCmpOpts) (err error)
- func ValidFlowExport(data []byte, cmpOpts ExportCmpOpts) (err error)
- func ValidFlowInfoExport(data []byte, cmpOpts ExportCmpOpts) (err error)
- func ValidFlowsExport(data []byte, cmpOpts ExportCmpOpts) (err error)
- func ValidFlowsInfoExport(data []byte, cmpOpts ExportCmpOpts) (err error)
- type APIClient
- func (c *APIClient) CreateApplication(companyId string, appName string) (*App, error)
- func (c *APIClient) CreateApplicationWithResponse(companyId string, appName string) (*App, *http.Response, error)
- func (c *APIClient) CreateConnection(companyId string, payload *Connection) (*Connection, error)
- func (c *APIClient) CreateConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
- func (c *APIClient) CreateFlow(companyId string, payload interface{}) (*Flow, error)
- func (c *APIClient) CreateFlowPolicy(companyId string, appId string, policy Policy) (*App, error)
- func (c *APIClient) CreateFlowPolicyWithResponse(companyId string, appId string, policy Policy) (*App, *http.Response, error)
- func (c *APIClient) CreateFlowWithJson(companyId string, payloadJson *string) (*Flow, error)deprecated
- func (c *APIClient) CreateFlowWithJsonWithResponse(companyId string, payloadJson *string) (*Flow, *http.Response, error)deprecated
- func (c *APIClient) CreateFlowWithResponse(companyId string, payload interface{}) (*Flow, *http.Response, error)
- func (c *APIClient) CreateInitializedApplication(companyId string, payload *AppUpdate) (*App, error)
- func (c *APIClient) CreateInitializedApplicationWithResponse(companyId string, payload *AppUpdate) (*App, *http.Response, error)
- func (c *APIClient) CreateInitializedConnection(companyId string, payload *Connection) (*Connection, error)
- func (c *APIClient) CreateInitializedConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
- func (c *APIClient) CreateVariable(companyId string, variable *VariablePayload) (map[string]Variable, error)
- func (c *APIClient) CreateVariableWithResponse(companyId string, variable *VariablePayload) (map[string]Variable, *http.Response, error)
- func (c *APIClient) DeleteApplication(companyId string, appId string) (*Message, error)
- func (c *APIClient) DeleteApplicationWithResponse(companyId string, appId string) (*Message, *http.Response, error)
- func (c *APIClient) DeleteConnection(companyId string, connectionId string) (*Message, error)
- func (c *APIClient) DeleteConnectionWithResponse(companyId string, connectionId string) (*Message, *http.Response, error)
- func (c *APIClient) DeleteFlow(companyId string, flowId string) (*Message, error)
- func (c *APIClient) DeleteFlowPolicy(companyId string, appId string, policyId string) (*Message, error)
- func (c *APIClient) DeleteFlowPolicyWithResponse(companyId string, appId string, policyId string) (*Message, *http.Response, error)
- func (c *APIClient) DeleteFlowVersion(companyId string, flowId string, flowVersionId string) (*Message, error)
- func (c *APIClient) DeleteFlowVersionWithResponse(companyId string, flowId string, flowVersionId string) (*Message, *http.Response, error)
- func (c *APIClient) DeleteFlowWithResponse(companyId string, flowId string) (*Message, *http.Response, error)
- func (c *APIClient) DeleteVariable(companyId string, variableName string) (*Message, error)
- func (c *APIClient) DeleteVariableWithResponse(companyId string, variableName string) (*Message, *http.Response, error)
- func (c *APIClient) DeployFlow(companyId string, flowId string) (*Message, error)
- func (c *APIClient) DeployFlowWithResponse(companyId string, flowId string) (*Message, *http.Response, error)
- func (c *APIClient) DoSignIn(targetCompanyId *string) error
- func (c *APIClient) ReadApplication(companyId string, appId string) (*App, error)
- func (c *APIClient) ReadApplicationWithResponse(companyId string, appId string) (*App, *http.Response, error)
- func (c *APIClient) ReadApplications(companyId string, args *Params) ([]App, error)
- func (c *APIClient) ReadApplicationsWithResponse(companyId string, args *Params) ([]App, *http.Response, error)
- func (c *APIClient) ReadConnection(companyId string, connectionId string) (*Connection, error)
- func (c *APIClient) ReadConnectionWithResponse(companyId string, connectionId string) (*Connection, *http.Response, error)
- func (c *APIClient) ReadConnections(companyId string, args *Params) ([]Connection, error)
- func (c *APIClient) ReadConnectionsWithResponse(companyId string, args *Params) ([]Connection, *http.Response, error)
- func (c *APIClient) ReadConnector(companyId string, connectorId string) (*Connector, error)
- func (c *APIClient) ReadConnectorWithResponse(companyId string, connectorId string) (*Connector, *http.Response, error)
- func (c *APIClient) ReadConnectors(companyId *string, args *Params) ([]Connector, error)
- func (c *APIClient) ReadConnectorsWithResponse(companyId string, args *Params) ([]Connector, *http.Response, error)
- func (c *APIClient) ReadEnvironment(companyId string) (*Environment, error)
- func (c *APIClient) ReadEnvironmentWithResponse(companyId string) (*Environment, *http.Response, error)
- func (c *APIClient) ReadEnvironments() (*Environments, error)
- func (c *APIClient) ReadEnvironmentsWithResponse() (*Environments, *http.Response, error)
- func (c *APIClient) ReadEnvironmentstats(companyId string) (*EnvironmentStats, error)
- func (c *APIClient) ReadEnvironmentstatsWithResponse(companyId string) (*EnvironmentStats, *http.Response, error)
- func (c *APIClient) ReadFlow(companyId string, flowId string) (*FlowInfo, error)
- func (c *APIClient) ReadFlowVersion(companyId string, flowId string, flowVersion *string) (*FlowInfo, error)
- func (c *APIClient) ReadFlowVersionOptionalVariableWithResponse(companyId string, flowId string, flowVersion *string, ...) (*FlowInfo, *http.Response, error)
- func (c *APIClient) ReadFlowVersionWithResponse(companyId string, flowId string, flowVersion *string) (*FlowInfo, *http.Response, error)
- func (c *APIClient) ReadFlowWithResponse(companyId string, flowId string) (*FlowInfo, *http.Response, error)
- func (c *APIClient) ReadFlows(companyId string, args *Params) ([]Flow, error)
- func (c *APIClient) ReadFlowsWithResponse(companyId string, args *Params) ([]Flow, *http.Response, error)
- func (c *APIClient) ReadVariable(companyId string, variableName string) (map[string]Variable, error)
- func (c *APIClient) ReadVariableWithResponse(companyId string, variableName string) (map[string]Variable, *http.Response, error)
- func (c *APIClient) ReadVariables(companyId string, args *Params) (map[string]Variable, error)
- func (c *APIClient) ReadVariablesWithResponse(companyId string, args *Params) (map[string]Variable, *http.Response, error)
- func (c *APIClient) SetEnvironment(companyId string) (*Message, error)
- func (c *APIClient) SetEnvironmentWithResponse(companyId string) (*Message, *http.Response, error)
- func (c *APIClient) SignInSSO(targetEnvironmentID *string) (*AuthResponse, error)
- func (c *APIClient) SignInSSOWithResponse(targetEnvironmentID *string) (*AuthResponse, *http.Response, error)
- func (c *APIClient) UpdateApplication(companyId string, payload *AppUpdate) (*App, error)
- func (c *APIClient) UpdateApplicationWithResponse(companyId string, payload *AppUpdate) (*App, *http.Response, error)
- func (c *APIClient) UpdateConnection(companyId string, payload *Connection) (*Connection, error)
- func (c *APIClient) UpdateConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
- func (c *APIClient) UpdateFlow(companyId string, flowId string, payload interface{}) (*Flow, error)
- func (c *APIClient) UpdateFlowPolicy(companyId string, appId string, policy Policy) (*App, error)
- func (c *APIClient) UpdateFlowPolicyWithResponse(companyId string, appId string, policy Policy) (*App, *http.Response, error)
- func (c *APIClient) UpdateFlowWithJson(companyId string, payloadJson *string, flowId string) (*Flow, error)deprecated
- func (c *APIClient) UpdateFlowWithJsonWithResponse(companyId string, payloadJson *string, flowId string) (*Flow, *http.Response, error)deprecated
- func (c *APIClient) UpdateFlowWithResponse(companyId string, flowId string, payload interface{}) (*Flow, *http.Response, error)
- func (c *APIClient) UpdateVariable(companyId string, variable *VariablePayload) (map[string]Variable, error)
- func (c *APIClient) UpdateVariableWithResponse(companyId string, variable *VariablePayload) (map[string]Variable, *http.Response, error)
- type APIKeys
- type AccountConfigViewItems
- type AdditionalProperties
- type App
- type AppUpdate
- type Apps
- type AuthP1SSO
- type AuthResponse
- type AuthStruct
- type AuthTypeDropdown
- type AuthorizationEndpoint
- type BearerToken
- type Callback
- type Client
- type ClientID
- type ClientInput
- type ClientSecret
- type Code
- type CodecContext
- type Companies
- type Connection
- type ConnectionProperty
- type Connector
- type ConnectorAccountConfigView
- type ConnectorCapabilities
- type ConnectorCategories
- type ConnectorFlowConfigView
- type ConnectorFlowSections
- type ConnectorLoose
- type ConnectorMetadata
- type ConnectorMetadataColors
- type ConnectorMetadataLogos
- type ConnectorProperty
- type ConnectorPropertyLoose
- type ConnectorSections
- type CreatedCustomer
- type CustomAttributes
- type CustomAttributesValue
- type CustomAuth
- type CustomAuthProperties
- type Customer
- type CustomerCreate
- type CustomerUpdate
- type Customers
- type Data
- type DecoderContext
- func (o DecoderContext) Decode(bytes []byte, v any) (err error)
- func (o DecoderContext) GetDecoder(valueType reflect.Type) (ValueDecoder, error)
- func (o DecoderContext) GetOpts() ExportCmpOpts
- func (o *DecoderContext) InitDecoders()
- func (o DecoderContext) LookupDecoderByKind(valueKind reflect.Kind) (ValueDecoder, bool)
- func (o DecoderContext) LookupDecoderByType(valueType reflect.Type) (ValueDecoder, bool)
- type DiffTypeError
- type DvHttpError
- type DvHttpRequest
- type DvHttpResponse
- type Edge
- type EdgeData
- type Elements
- type Email
- type EncoderContext
- func (o EncoderContext) Encode(v any) (bytes []byte, err error)
- func (o EncoderContext) GetEncoder(valueType reflect.Type) (ValueEncoder, error)
- func (o EncoderContext) GetOpts() ExportCmpOpts
- func (o *EncoderContext) InitEncoders()
- func (o EncoderContext) LookupEncoderByKind(valueKind reflect.Kind) (ValueEncoder, bool)
- func (o EncoderContext) LookupEncoderByType(valueType reflect.Type) (ValueEncoder, bool)
- type Environment
- type EnvironmentStats
- type Environments
- type EpochTime
- type EquatesEmptyTypeError
- type ErrorResponse
- type ExportCmpOpts
- type ExportNodeCmpOpts
- type ExportNodeVariablesCmpOpts
- type FirstName
- type Flow
- type FlowConfigViewItems
- type FlowConfiguration
- type FlowEnvironmentMetadata
- type FlowImport
- type FlowInfo
- type FlowMetadata
- type FlowUpdate
- type FlowUpdateConfiguration
- type FlowVariable
- type FlowVariableFields
- type FlowVersionMetadata
- type Flows
- type FlowsImport
- type FlowsInfo
- type Form
- type FormData
- type FormDataValue
- type FormObj
- type GraphData
- type IssuerURL
- type JSONCodec
- type LabelValue
- type LastName
- type LoginResponse
- type LogosCanvas
- type MapCodec
- type Mapping
- type Marshaler
- type MaxFlowDefinitionsExceededTypeError
- type Message
- type Metadata
- type MinFlowDefinitionsExceededTypeError
- type MissingRequiredFlowFieldsTypeError
- type Name
- type Node
- type NodeData
- type Oauth
- type OauthValues
- type Options
- type OutputSchema
- type Pan
- type Params
- type Placeholder
- type Policy
- type PolicyFlow
- type Position
- type Properties
- type ProviderName
- type PtrCodec
- type ReadApp
- type Renderer
- type ReturnToURL
- type Role
- type RoleCreate
- type RoleCreateResponse
- type RoleUpdate
- type SDKInterfaceFunc
- type SSOAuthenticationResponse
- type SSOAuthenticationResponseEmbedded
- type SSOAuthenticationResponseEmbeddedUser
- type SSOAuthenticationResponseLinks
- type SSOAuthenticationResponseSession
- type Saml
- type SamlValues
- type SaveFlowVariable
- type SaveFlowVariables
- type Scope
- type Self
- type SkRedirectURI
- type SkSdkToken
- type SliceCodec
- type StructCodec
- type SubFlowID
- type SubFlowProperties
- type SubFlowValue
- type SubFlowVersionID
- type SubFlowVersionIDValue
- func (o SubFlowVersionIDValue) MarshalDavinci(_ ExportCmpOpts) ([]byte, error)
- func (o SubFlowVersionIDValue) MarshalJSON() ([]byte, error)
- func (o *SubFlowVersionIDValue) UnmarshalDavinci(bytes []byte, _ ExportCmpOpts) (err error)
- func (o *SubFlowVersionIDValue) UnmarshalJSON(bytes []byte) (err error)
- type TokenEndpoint
- type Trigger
- type UnknownAdditionalFieldsTypeError
- type Unmarshaler
- type UpdateAnnotationProperties
- type UserConnectorAttributeMapping
- type UserConnectorAttributeMappingPlaceholder
- type UserConnectorAttributeMappingValue
- type UserInfoEndpoint
- type UserPools
- type UserPortal
- type UserPortalValues
- type Username
- type ValueDecoder
- type ValueEncoder
- type Values
- type Variable
- type VariablePayload
- type VariablesValueInterface
Constants ¶
const ( DV_ERROR_CODE_INVALID_TOKEN_FOR_ENVIRONMENT = 1998 // Token does validate, but not for the target environment, indicating a re-auth is needed DV_ERROR_CODE_INVALID_TOKEN = 1999 // Token does not validate at all DV_ERROR_CODE_APPLICATION_NOT_FOUND = 3004 // Application not found DV_ERROR_CODE_ERROR_CREATING_CONNECTOR = 7001 // Error creating connector DV_ERROR_CODE_CONNECTION_NOT_FOUND = 7005 // Connector not found DV_ERROR_CODE_FLOW_NOT_FOUND = -1 )
Variables ¶
var ( ErrInvalidJson = errors.New("Invalid JSON") ErrEmptyFlow = errors.New("Flow JSON is empty") ErrNoFlowDefinition = errors.New("No flow definition found in flow export array. Expecting exactly one flow definition") ErrMissingSaveVariableValues = errors.New("Save flow variable nodes present but missing variable values") )
Functions ¶
func Diff ¶ added in v0.1.0
func Diff(x, y interface{}, cmpOpts ExportCmpOpts, opts ...cmp.Option) string
func Equal ¶ added in v0.1.0
func Equal(x, y interface{}, cmpOpts ExportCmpOpts, opts ...cmp.Option) bool
func Unmarshal ¶ added in v0.1.0
func Unmarshal(bytes []byte, v any, opts ExportCmpOpts) (err error)
func ValidExport ¶ added in v0.1.0
func ValidExport(data []byte, cmpOpts ExportCmpOpts) (err error)
func ValidFlowExport ¶ added in v0.1.0
func ValidFlowExport(data []byte, cmpOpts ExportCmpOpts) (err error)
func ValidFlowInfoExport ¶ added in v0.1.0
func ValidFlowInfoExport(data []byte, cmpOpts ExportCmpOpts) (err error)
func ValidFlowsExport ¶ added in v0.6.0
func ValidFlowsExport(data []byte, cmpOpts ExportCmpOpts) (err error)
func ValidFlowsInfoExport ¶ added in v0.1.0
func ValidFlowsInfoExport(data []byte, cmpOpts ExportCmpOpts) (err error)
Types ¶
type APIClient ¶
type APIClient struct { HostURL string PingOneRegion string HTTPClient *http.Client Token string Auth AuthStruct PingOneSSOEnvId string AuthRefresh bool UserAgent string // contains filtered or unexported fields }
func NewClient ¶
func NewClient(inputs *ClientInput) (*APIClient, error)
func (*APIClient) CreateApplication ¶
func (*APIClient) CreateApplicationWithResponse ¶ added in v0.1.0
func (*APIClient) CreateConnection ¶
func (c *APIClient) CreateConnection(companyId string, payload *Connection) (*Connection, error)
Create a bare connection, properties can be added _after_ creation
func (*APIClient) CreateConnectionWithResponse ¶ added in v0.1.0
func (c *APIClient) CreateConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
func (*APIClient) CreateFlow ¶ added in v0.1.0
func (*APIClient) CreateFlowPolicy ¶ added in v0.0.30
func (*APIClient) CreateFlowPolicyWithResponse ¶ added in v0.1.0
func (*APIClient) CreateFlowWithResponse ¶ added in v0.1.0
func (c *APIClient) CreateFlowWithResponse(companyId string, payload interface{}) (*Flow, *http.Response, error)
CreateFlowWithResponse creates a flow with the given payload and returns the created flow. The payload can be a string (or *string) of JSON, or a FlowsImport, FlowImport, or Flow object
func (*APIClient) CreateInitializedApplication ¶
func (c *APIClient) CreateInitializedApplication(companyId string, payload *AppUpdate) (*App, error)
CreateInitializedApplication is useful when creating an application with flow policy. Takes an app payload and calls: - CreateApplication - UpdateApplication - CreateFlowPolicy Deprecated
func (*APIClient) CreateInitializedApplicationWithResponse ¶ added in v0.1.0
func (c *APIClient) CreateInitializedApplicationWithResponse(companyId string, payload *AppUpdate) (*App, *http.Response, error)
Deprecated
func (*APIClient) CreateInitializedConnection ¶
func (c *APIClient) CreateInitializedConnection(companyId string, payload *Connection) (*Connection, error)
Create a connection and fill connection properties
Sample minimal payload:
&Connection{ ConnectorID: "fooConnector" Name: "Foo Connector" Properties: Properties{ "foo": struct { Value string `json:"value"` }{"bar"} } }
func (*APIClient) CreateInitializedConnectionWithResponse ¶ added in v0.1.0
func (c *APIClient) CreateInitializedConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
func (*APIClient) CreateVariable ¶ added in v0.0.27
func (*APIClient) CreateVariableWithResponse ¶ added in v0.1.0
func (*APIClient) DeleteApplication ¶
Deletes an application based on applicationId
func (*APIClient) DeleteApplicationWithResponse ¶ added in v0.1.0
func (*APIClient) DeleteConnection ¶
Deletes a connection based on ConnectionId
func (*APIClient) DeleteConnectionWithResponse ¶ added in v0.1.0
func (*APIClient) DeleteFlow ¶
ReadFlows only accepts Limit as a param
func (*APIClient) DeleteFlowPolicy ¶ added in v0.0.30
func (c *APIClient) DeleteFlowPolicy(companyId string, appId string, policyId string) (*Message, error)
Deletes an application based on applicationId
func (*APIClient) DeleteFlowPolicyWithResponse ¶ added in v0.1.0
func (*APIClient) DeleteFlowVersion ¶ added in v0.7.0
func (*APIClient) DeleteFlowVersionWithResponse ¶ added in v0.7.0
func (*APIClient) DeleteFlowWithResponse ¶ added in v0.1.0
func (*APIClient) DeleteVariable ¶ added in v0.0.27
func (*APIClient) DeleteVariableWithResponse ¶ added in v0.1.0
func (*APIClient) DeployFlow ¶
ReadFlows only accepts Limit as a param
func (*APIClient) DeployFlowWithResponse ¶ added in v0.1.0
func (*APIClient) ReadApplication ¶
func (*APIClient) ReadApplicationWithResponse ¶ added in v0.1.0
func (*APIClient) ReadApplications ¶
ReadFlows only accepts Limit as a param
func (*APIClient) ReadApplicationsWithResponse ¶ added in v0.1.0
func (*APIClient) ReadConnection ¶
func (c *APIClient) ReadConnection(companyId string, connectionId string) (*Connection, error)
Gets single connections based on ConnectionId
func (*APIClient) ReadConnectionWithResponse ¶ added in v0.1.0
func (*APIClient) ReadConnections ¶
func (c *APIClient) ReadConnections(companyId string, args *Params) ([]Connection, error)
Gets array of all connections for the provided company
func (*APIClient) ReadConnectionsWithResponse ¶ added in v0.1.0
func (*APIClient) ReadConnector ¶ added in v0.0.49
Gets single connections based on ConnectionId
func (*APIClient) ReadConnectorWithResponse ¶ added in v0.1.0
func (*APIClient) ReadConnectors ¶ added in v0.0.49
Gets array of all connectors for the provided company
func (*APIClient) ReadConnectorsWithResponse ¶ added in v0.1.0
func (*APIClient) ReadEnvironment ¶
func (c *APIClient) ReadEnvironment(companyId string) (*Environment, error)
func (*APIClient) ReadEnvironmentWithResponse ¶ added in v0.1.0
func (*APIClient) ReadEnvironments ¶
func (c *APIClient) ReadEnvironments() (*Environments, error)
Returns list of Environments (auth required)
func (*APIClient) ReadEnvironmentsWithResponse ¶ added in v0.1.0
func (c *APIClient) ReadEnvironmentsWithResponse() (*Environments, *http.Response, error)
func (*APIClient) ReadEnvironmentstats ¶
func (c *APIClient) ReadEnvironmentstats(companyId string) (*EnvironmentStats, error)
func (*APIClient) ReadEnvironmentstatsWithResponse ¶ added in v0.1.0
func (*APIClient) ReadFlow ¶
ReadFlow performs a GET with no other parameters to get the latest version of the flow
func (*APIClient) ReadFlowVersion ¶ added in v0.0.46
func (c *APIClient) ReadFlowVersion(companyId string, flowId string, flowVersion *string) (*FlowInfo, error)
ReadFlowVersion is like ReadFlow, but appends a version query parameter. When called with no version, this returns what a flow export produces. version should be a string version of the version number, or nil for latest.
func (*APIClient) ReadFlowVersionOptionalVariableWithResponse ¶ added in v0.4.0
func (c *APIClient) ReadFlowVersionOptionalVariableWithResponse(companyId string, flowId string, flowVersion *string, includeVariableValues bool) (*FlowInfo, *http.Response, error)
ReadFlowVersionOptionalVariableWithResponse is like ReadFlowVersionWithResponse but also accepts option to include variable values
func (*APIClient) ReadFlowVersionWithResponse ¶ added in v0.1.0
func (*APIClient) ReadFlowWithResponse ¶ added in v0.1.0
func (*APIClient) ReadFlowsWithResponse ¶ added in v0.1.0
func (*APIClient) ReadVariable ¶ added in v0.0.27
func (*APIClient) ReadVariableWithResponse ¶ added in v0.1.0
func (*APIClient) ReadVariables ¶ added in v0.0.27
func (*APIClient) ReadVariablesWithResponse ¶ added in v0.1.0
func (*APIClient) SetEnvironment ¶
func (*APIClient) SetEnvironmentWithResponse ¶ added in v0.1.0
func (*APIClient) SignInSSO ¶
func (c *APIClient) SignInSSO(targetEnvironmentID *string) (*AuthResponse, error)
func (*APIClient) SignInSSOWithResponse ¶ added in v0.1.0
func (*APIClient) UpdateApplication ¶
UpdateApplication - Update all fields of an application besides Policies. Policies should be updated via UpdatePolicy
func (*APIClient) UpdateApplicationWithResponse ¶ added in v0.1.0
func (*APIClient) UpdateConnection ¶
func (c *APIClient) UpdateConnection(companyId string, payload *Connection) (*Connection, error)
Update existing connection properties.
Sample minimal payload:
&Connection{ ConnectionID: "foo-123" Properties: Properties{ "foo": struct { Value string `json:"value"` }{"bar"} } }
func (*APIClient) UpdateConnectionWithResponse ¶ added in v0.1.0
func (c *APIClient) UpdateConnectionWithResponse(companyId string, payload *Connection) (*Connection, *http.Response, error)
func (*APIClient) UpdateFlow ¶ added in v0.1.0
Only specific fields are supported during update: - GraphData - InputSchema - CurrentVersion - Name
func (*APIClient) UpdateFlowPolicy ¶ added in v0.0.30
func (*APIClient) UpdateFlowPolicyWithResponse ¶ added in v0.1.0
func (*APIClient) UpdateFlowWithJsonWithResponse
deprecated
added in
v0.1.0
func (*APIClient) UpdateFlowWithResponse ¶ added in v0.1.0
func (*APIClient) UpdateVariable ¶ added in v0.0.27
func (c *APIClient) UpdateVariable(companyId string, variable *VariablePayload) (map[string]Variable, error)
UpdateVariable can update fields besides Name and Context
func (*APIClient) UpdateVariableWithResponse ¶ added in v0.1.0
type AccountConfigViewItems ¶ added in v0.0.49
type AccountConfigViewItems struct {
PropertyName *string `json:"propertyName,omitempty" davinci:"propertyName,config,omitempty"`
}
type AdditionalProperties ¶ added in v0.1.0
type AdditionalProperties map[string]interface{}
type App ¶
type App struct { CompanyID *string `json:"companyId,omitempty"` Name string `json:"name"` CustomerID *string `json:"customerId,omitempty"` APIKeys *APIKeys `json:"apiKeys,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` UserPools []UserPools `json:"userPools,omitempty"` Oauth *Oauth `json:"oauth,omitempty"` Saml *Saml `json:"saml,omitempty"` Flows []interface{} `json:"flows,omitempty"` Policies []Policy `json:"policies,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` APIKeyEnabled *bool `json:"apiKeyEnabled,omitempty"` AppID *string `json:"appId,omitempty"` UserPortal *UserPortal `json:"userPortal,omitempty"` }
type AppUpdate ¶
type AppUpdate struct { Name string `json:"name"` Oauth *Oauth `json:"oauth,omitempty"` Saml *Saml `json:"saml,omitempty"` Flows []interface{} `json:"flows,omitempty"` Policies []Policy `json:"policies,omitempty"` APIKeyEnabled bool `json:"apiKeyEnabled"` AppID *string `json:"appId,omitempty"` UserPortal *UserPortal `json:"userPortal,omitempty"` }
type AuthResponse ¶
type AuthStruct ¶
type AuthTypeDropdown ¶ added in v0.0.37
type AuthTypeDropdown struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Options []Options `json:"options,omitempty" davinci:"options,config,omitempty"` Enum []string `json:"enum,omitempty" davinci:"enum,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type AuthorizationEndpoint ¶ added in v0.0.37
type AuthorizationEndpoint struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type BearerToken ¶ added in v0.0.37
type BearerToken struct { PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type Callback ¶
type Callback struct { InteractionID string `json:"interactionId"` CompanyID string `json:"companyId"` ConnectionID string `json:"connectionId"` ConnectorID string `json:"connectorId"` ID string `json:"id"` CapabilityName string `json:"capabilityName"` AccessToken string `json:"access_token"` TokenType string `json:"token_type"` ExpiresIn int `json:"expires_in"` IDToken string `json:"id_token"` Success bool `json:"success"` InteractionToken string `json:"interactionToken"` }
type ClientID ¶ added in v0.0.37
type ClientID struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type ClientInput ¶
type ClientSecret ¶ added in v0.0.37
type ClientSecret struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` HashedVisibility *bool `json:"hashedVisibility,omitempty" davinci:"hashedVisibility,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type Code ¶ added in v0.0.37
type Code struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Language *string `json:"language,omitempty" davinci:"language,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type CodecContext ¶ added in v0.1.0
type CodecContext interface {
GetOpts() ExportCmpOpts
}
type Connection ¶
type Connection struct { AdditionalProperties map[string]interface{} `json:"additionalProperties,omitempty"` CustomerID *string `json:"customerId,omitempty"` ConnectorID *string `json:"connectorId,omitempty"` Name *string `json:"name,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` Properties map[string]ConnectionProperty `json:"properties,omitempty"` UpdatedDate *EpochTime `json:"updatedDate,omitempty"` ConnectionID *string `json:"connectionId,omitempty"` CompanyID *string `json:"companyId,omitempty"` }
func (Connection) MarshalJSON ¶ added in v0.2.0
func (o Connection) MarshalJSON() ([]byte, error)
func (Connection) ToMap ¶ added in v0.2.0
func (o Connection) ToMap() (map[string]interface{}, error)
func (*Connection) UnmarshalJSON ¶ added in v0.2.0
func (o *Connection) UnmarshalJSON(bytes []byte) (err error)
type ConnectionProperty ¶ added in v0.2.0
type ConnectionProperty struct { AdditionalProperties map[string]interface{} `json:"additionalProperties,omitempty"` CompanyId *string `json:"companyId,omitempty"` ConstructItems []string `json:"constructItems,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` CustomerId *string `json:"customerId,omitempty"` DisplayName *string `json:"displayName,omitempty"` Info *string `json:"info,omitempty"` Placeholder *string `json:"placeholder,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty"` Properties map[string]ConnectionProperty `json:"properties,omitempty"` Required *bool `json:"required,omitempty"` Sections []string `json:"sections,omitempty"` Secure *bool `json:"secure,omitempty"` Type *string `json:"type,omitempty"` Value interface{} `json:"value,omitempty"` }
func (ConnectionProperty) MarshalJSON ¶ added in v0.2.0
func (o ConnectionProperty) MarshalJSON() ([]byte, error)
func (ConnectionProperty) ToMap ¶ added in v0.2.0
func (o ConnectionProperty) ToMap() (map[string]interface{}, error)
func (*ConnectionProperty) UnmarshalJSON ¶ added in v0.2.0
func (o *ConnectionProperty) UnmarshalJSON(bytes []byte) (err error)
type Connector ¶ added in v0.0.49
type Connector struct { AccountConfigView *ConnectorAccountConfigView `json:"accountConfigView,omitempty" davinci:"accountConfigView,config,omitempty"` Capabilities *ConnectorCapabilities `json:"capabilities,omitempty" davinci:"capabilities,config,omitempty"` CompanyID *string `json:"companyId,omitempty" davinci:"companyId,environmentmetadata,omitempty"` ConnectorCategories []ConnectorCategories `json:"connectorCategories,omitempty" davinci:"connectorCategories,config,omitempty"` ConnectorType *string `json:"connectorType,omitempty" davinci:"connectorType,config,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty" davinci:"createdDate,config,omitempty"` CustomerID *string `json:"customerId,omitempty" davinci:"customerId,environmentmetadata,omitempty"` Description *string `json:"description,omitempty" davinci:"description,config,omitempty"` FlowSections []ConnectorFlowSections `json:"flowSections,omitempty" davinci:"flowSections,config,omitempty"` ManifestVersion *string `json:"manifestVersion,omitempty" davinci:"manifestVersion,config,omitempty"` Metadata *ConnectorMetadata `json:"metadata,omitempty" davinci:"metadata,config,omitempty"` Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` Properties map[string]ConnectorProperty `json:"properties,omitempty" davinci:"properties,config,omitempty"` Sections []ConnectorSections `json:"sections,omitempty" davinci:"sections,config,omitempty"` Status *string `json:"status,omitempty" davinci:"status,config,omitempty"` UpdatedDate *EpochTime `json:"updatedDate,omitempty" davinci:"updatedDate,config,omitempty"` ConnectorID *string `json:"connectorId,omitempty" davinci:"connectorId,config,omitempty"` }
type ConnectorAccountConfigView ¶ added in v0.0.49
type ConnectorAccountConfigView struct {
Items []AccountConfigViewItems `json:"items,omitempty" davinci:"items,config,omitempty"`
}
type ConnectorCapabilities ¶ added in v0.0.49
type ConnectorCapabilities struct {
UpdateAnnotationProperties *UpdateAnnotationProperties `json:"updateAnnotationProperties,omitempty" davinci:"updateAnnotationProperties,config,omitempty"`
}
type ConnectorCategories ¶ added in v0.0.49
type ConnectorFlowConfigView ¶ added in v0.0.49
type ConnectorFlowConfigView struct {
Items []FlowConfigViewItems `json:"items,omitempty" davinci:"items,config,omitempty"`
}
type ConnectorFlowSections ¶ added in v0.0.49
type ConnectorLoose ¶ added in v0.0.49
type ConnectorLoose struct { AccountConfigView *ConnectorAccountConfigView `json:"accountConfigView,omitempty" davinci:"accountConfigView,config,omitempty"` Capabilities *ConnectorCapabilities `json:"capabilities,omitempty" davinci:"capabilities,config,omitempty"` CompanyID *string `json:"companyId,omitempty" davinci:"companyId,config,omitempty"` ConnectorCategories []ConnectorCategories `json:"connectorCategories,omitempty" davinci:"connectorCategories,config,omitempty"` ConnectorType *string `json:"connectorType,omitempty" davinci:"connectorType,config,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty" davinci:"createdDate,config,omitempty"` CustomerID *string `json:"customerId,omitempty" davinci:"customerId,config,omitempty"` Description *string `json:"description,omitempty" davinci:"description,config,omitempty"` FlowSections []ConnectorFlowSections `json:"flowSections,omitempty" davinci:"flowSections,config,omitempty"` ManifestVersion *string `json:"manifestVersion,omitempty" davinci:"manifestVersion,config,omitempty"` Metadata *ConnectorMetadata `json:"metadata,omitempty" davinci:"metadata,config,omitempty"` Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` Properties map[string]ConnectorPropertyLoose `json:"properties,omitempty" davinci:"properties,config,omitempty"` Sections []ConnectorSections `json:"sections,omitempty" davinci:"sections,config,omitempty"` Status *string `json:"status,omitempty" davinci:"status,config,omitempty"` UpdatedDate *EpochTime `json:"updatedDate,omitempty" davinci:"updatedDate,config,omitempty"` ConnectorID *string `json:"connectorId,omitempty" davinci:"connectorId,config,omitempty"` }
Connector Config for read all CONNECTORS.
type ConnectorMetadata ¶ added in v0.0.49
type ConnectorMetadata struct { SkType *string `json:"skType,omitempty" davinci:"skType,config,omitempty"` Colors *ConnectorMetadataColors `json:"colors,omitempty" davinci:"colors,config,omitempty"` Logos *ConnectorMetadataLogos `json:"logos,omitempty" davinci:"logos,config,omitempty"` }
type ConnectorMetadataColors ¶ added in v0.0.49
type ConnectorMetadataLogos ¶ added in v0.0.49
type ConnectorMetadataLogos struct {
Canvas *LogosCanvas `json:"canvas,omitempty" davinci:"canvas,config,omitempty"`
}
type ConnectorProperty ¶ added in v0.0.49
type ConnectorProperty struct { Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty" davinci:"createdDate,config,omitempty"` CustomerID *string `json:"customerId,omitempty" davinci:"customerId,environmentmetadata,omitempty"` CompanyID *string `json:"companyId,omitempty" davinci:"companyId,environmentmetadata,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` }
type ConnectorPropertyLoose ¶ added in v0.0.49
type ConnectorPropertyLoose struct { Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty" davinci:"createdDate,config,omitempty"` CustomerID *string `json:"customerId,omitempty" davinci:"customerId,config,omitempty"` CompanyID *string `json:"companyId,omitempty" davinci:"companyId,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Info interface{} `json:"info,omitempty" davinci:"info,config,omitempty"` }
type ConnectorSections ¶ added in v0.0.49
type CreatedCustomer ¶
type CreatedCustomer struct { Email string `json:"email"` CompanyID string `json:"companyId"` ClientID interface{} `json:"clientId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` PhoneNumber interface{} `json:"phoneNumber"` CreatedByCustomerID string `json:"createdByCustomerId"` CreatedByCompanyID string `json:"createdByCompanyId"` EmailVerified bool `json:"emailVerified"` Companies []Companies `json:"companies"` Salt string `json:"salt"` HashedPassword string `json:"hashedPassword"` Status string `json:"status"` CustomerType string `json:"customerType"` CreatedDate EpochTime `json:"createdDate"` EmailVerifiedDate EpochTime `json:"emailVerifiedDate"` PasswordHistory []struct { HashedPassword string `json:"hashedPassword"` Salt string `json:"salt"` AddedDate EpochTime `json:"addedDate"` } `json:"passwordHistory"` SkUserID string `json:"skUserId"` LastLogin int64 `json:"lastLogin"` FailedLogin struct { RetryCount int `json:"retryCount"` FirstFailedTimestamp EpochTime `json:"firstFailedTimestamp"` } `json:"failedLogin"` CustomerID string `json:"customerId"` }
type CustomAttributes ¶ added in v0.0.37
type CustomAttributes struct { Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` Sections []string `json:"sections,omitempty" davinci:"sections,config,omitempty"` Value []CustomAttributesValue `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder []Placeholder `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type CustomAttributesValue ¶ added in v0.0.37
type CustomAttributesValue struct { Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` Description *string `json:"description,omitempty" davinci:"description,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` Value interface{} `json:"value,omitempty" davinci:"value,config,omitempty"` MinLength *string `json:"minLength,omitempty" davinci:"minLength,config,omitempty"` MaxLength *string `json:"maxLength,omitempty" davinci:"maxLength,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` AttributeType *string `json:"attributeType,omitempty" davinci:"attributeType,config,omitempty"` }
type CustomAuth ¶ added in v0.0.37
type CustomAuth struct {
Properties *CustomAuthProperties `json:"properties,omitempty" davinci:"properties,config,omitempty"`
}
CustomAuth is a field of the Properties struct but is kept separate because the structure is known. This is used to unmarshal the properties["customAuth"] field of a connection response.
type CustomAuthProperties ¶ added in v0.0.37
type CustomAuthProperties struct { ProviderName *ProviderName `json:"providerName,omitempty" davinci:"providerName,config,omitempty"` AuthTypeDropdown *AuthTypeDropdown `json:"authTypeDropdown,omitempty" davinci:"authTypeDropdown,config,omitempty"` SkRedirectURI *SkRedirectURI `json:"skRedirectUri,omitempty" davinci:"skRedirectUri,config,omitempty"` IssuerURL *IssuerURL `json:"issuerUrl,omitempty" davinci:"issuerUrl,config,omitempty"` AuthorizationEndpoint *AuthorizationEndpoint `json:"authorizationEndpoint,omitempty" davinci:"authorizationEndpoint,config,omitempty"` TokenEndpoint *TokenEndpoint `json:"tokenEndpoint,omitempty" davinci:"tokenEndpoint,config,omitempty"` BearerToken *BearerToken `json:"bearerToken,omitempty" davinci:"bearerToken,config,omitempty"` UserInfoEndpoint *UserInfoEndpoint `json:"userInfoEndpoint,omitempty" davinci:"userInfoEndpoint,config,omitempty"` ClientID *ClientID `json:"clientId,omitempty" davinci:"clientId,config,omitempty"` ClientSecret *ClientSecret `json:"clientSecret,omitempty" davinci:"clientSecret,config,omitempty"` Scope *Scope `json:"scope,omitempty" davinci:"scope,config,omitempty"` Code *Code `json:"code,omitempty" davinci:"code,config,omitempty"` UserConnectorAttributeMapping *UserConnectorAttributeMapping `json:"userConnectorAttributeMapping,omitempty" davinci:"userConnectorAttributeMapping,config,omitempty"` CustomAttributes *CustomAttributes `json:"customAttributes,omitempty" davinci:"customAttributes,config,omitempty"` ReturnToURL *ReturnToURL `json:"returnToUrl,omitempty" davinci:"returnToUrl,config,omitempty"` }
type Customer ¶
type Customer struct { Email string `json:"email"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Companies []struct { CompanyID string `json:"companyId"` Roles []string `json:"roles"` } `json:"companies"` CustomerType string `json:"customerType"` CreatedByCustomerID string `json:"createdByCustomerId"` CreatedByCompanyID string `json:"createdByCompanyId"` CompanyID string `json:"companyId"` EmailVerified bool `json:"emailVerified"` CreatedDate EpochTime `json:"createdDate"` LastLogin int64 `json:"lastLogin"` SkUserID *string `json:"skUserId,omitempty"` CustomerID string `json:"customerId"` ClientID *string `json:"clientId,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` Status *string `json:"status,omitempty"` EmailVerifiedDate *EpochTime `json:"emailVerifiedDate,omitempty"` }
type CustomerCreate ¶
type CustomerUpdate ¶
type Data ¶ added in v0.0.32
type Data struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model CapabilityName *string `json:"capabilityName,omitempty" davinci:"capabilityName,config,omitempty"` ConnectionID *string `json:"connectionId,omitempty" davinci:"connectionId,config,omitempty"` ConnectorID *string `json:"connectorId,omitempty" davinci:"connectorId,config,omitempty"` ID *string `json:"id,omitempty" davinci:"id,config,omitempty"` Label *string `json:"label,omitempty" davinci:"label,config,omitempty"` MultiValueSourceId *string `json:"multiValueSourceId,omitempty" davinci:"multiValueSourceId,config,omitempty"` Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` NodeType *string `json:"nodeType,omitempty" davinci:"nodeType,config,omitempty"` Properties *Properties `json:"properties" davinci:"properties,*"` Source *string `json:"source,omitempty" davinci:"source,config,omitempty"` Status *string `json:"status,omitempty" davinci:"status,config,omitempty"` Target *string `json:"target,omitempty" davinci:"target,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` }
func (Data) MarshalJSON ¶ added in v0.1.0
func (*Data) UnmarshalJSON ¶ added in v0.1.0
type DecoderContext ¶ added in v0.1.0
type DecoderContext struct { KindDecoders map[reflect.Kind]ValueDecoder Opts ExportCmpOpts // contains filtered or unexported fields }
func NewDecoderContext ¶ added in v0.1.0
func NewDecoderContext(opts ExportCmpOpts) *DecoderContext
func (DecoderContext) Decode ¶ added in v0.1.0
func (o DecoderContext) Decode(bytes []byte, v any) (err error)
func (DecoderContext) GetDecoder ¶ added in v0.1.0
func (o DecoderContext) GetDecoder(valueType reflect.Type) (ValueDecoder, error)
func (DecoderContext) GetOpts ¶ added in v0.1.0
func (o DecoderContext) GetOpts() ExportCmpOpts
func (*DecoderContext) InitDecoders ¶ added in v0.1.0
func (o *DecoderContext) InitDecoders()
func (DecoderContext) LookupDecoderByKind ¶ added in v0.1.0
func (o DecoderContext) LookupDecoderByKind(valueKind reflect.Kind) (ValueDecoder, bool)
func (DecoderContext) LookupDecoderByType ¶ added in v0.1.0
func (o DecoderContext) LookupDecoderByType(valueType reflect.Type) (ValueDecoder, bool)
type DiffTypeError ¶ added in v0.5.0
type DiffTypeError struct {
Diff string
}
type DvHttpError ¶
type DvHttpRequest ¶
type DvHttpResponse ¶
type Edge ¶ added in v0.1.0
type Edge struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Data *Data `json:"data,omitempty" davinci:"data,*,omitempty"` Position *Position `json:"position,omitempty" davinci:"position,*,omitempty"` Group *string `json:"group,omitempty" davinci:"group,designercue,omitempty"` Removed *bool `json:"removed,omitempty" davinci:"removed,designercue,omitempty"` Selected *bool `json:"selected,omitempty" davinci:"selected,designercue,omitempty"` Selectable *bool `json:"selectable,omitempty" davinci:"selectable,designercue,omitempty"` Locked *bool `json:"locked,omitempty" davinci:"locked,designercue,omitempty"` Grabbable *bool `json:"grabbable,omitempty" davinci:"grabbable,designercue,omitempty"` Pannable *bool `json:"pannable,omitempty" davinci:"pannable,designercue,omitempty"` Classes *string `json:"classes,omitempty" davinci:"classes,config,omitempty"` }
func (Edge) MarshalJSON ¶ added in v0.1.0
func (*Edge) UnmarshalJSON ¶ added in v0.1.0
type EdgeData ¶ added in v0.0.37
type EdgeData struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model CapabilityName *string `json:"capabilityName,omitempty" davinci:"capabilityName,config,omitempty"` ConnectionID *string `json:"connectionId,omitempty" davinci:"connectionId,config,omitempty"` ConnectorID *string `json:"connectorId,omitempty" davinci:"connectorId,config,omitempty"` ID *string `json:"id,omitempty" davinci:"id,config,omitempty"` Label *string `json:"label,omitempty" davinci:"label,config,omitempty"` MultiValueSourceId *string `json:"multiValueSourceId,omitempty" davinci:"multiValueSourceId,config,omitempty"` Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` NodeType *string `json:"nodeType,omitempty" davinci:"nodeType,config,omitempty"` Properties *Properties `json:"properties,omitempty" davinci:"properties,*,omitempty"` Source *string `json:"source,omitempty" davinci:"source,config,omitempty"` Status *string `json:"status,omitempty" davinci:"status,config,omitempty"` Target *string `json:"target,omitempty" davinci:"target,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` }
func (EdgeData) MarshalJSON ¶ added in v0.1.0
func (*EdgeData) UnmarshalJSON ¶ added in v0.1.0
type Elements ¶ added in v0.0.32
type Elements struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Nodes []Node `json:"nodes,omitempty" davinci:"nodes,*,omitempty"` Edges []Edge `json:"edges,omitempty" davinci:"edges,*,omitempty"` }
func (Elements) MarshalJSON ¶ added in v0.1.0
func (*Elements) UnmarshalJSON ¶ added in v0.1.0
type Email ¶ added in v0.0.37
type Email struct {
Value1 string `json:"value1,omitempty" davinci:"value1,config,omitempty"`
}
type EncoderContext ¶ added in v0.1.0
type EncoderContext struct { KindEncoders map[reflect.Kind]ValueEncoder Opts ExportCmpOpts // contains filtered or unexported fields }
func NewEncoderContext ¶ added in v0.1.0
func NewEncoderContext(opts ExportCmpOpts) *EncoderContext
func (EncoderContext) Encode ¶ added in v0.1.0
func (o EncoderContext) Encode(v any) (bytes []byte, err error)
func (EncoderContext) GetEncoder ¶ added in v0.1.0
func (o EncoderContext) GetEncoder(valueType reflect.Type) (ValueEncoder, error)
func (EncoderContext) GetOpts ¶ added in v0.1.0
func (o EncoderContext) GetOpts() ExportCmpOpts
func (*EncoderContext) InitEncoders ¶ added in v0.1.0
func (o *EncoderContext) InitEncoders()
func (EncoderContext) LookupEncoderByKind ¶ added in v0.1.0
func (o EncoderContext) LookupEncoderByKind(valueKind reflect.Kind) (ValueEncoder, bool)
func (EncoderContext) LookupEncoderByType ¶ added in v0.1.0
func (o EncoderContext) LookupEncoderByType(valueType reflect.Type) (ValueEncoder, bool)
type Environment ¶
type Environment struct { CreatedByCustomerID string `json:"createdByCustomerId"` CreatedByCompanyID string `json:"createdByCompanyId"` Name string `json:"name"` CompanyType string `json:"companyType"` EntitlementTemplate string `json:"entitlementTemplate"` EntitlementProps struct { } `json:"entitlementProps"` SecurityType string `json:"securityType"` JwtKeys struct { Jwks struct { Keys []struct { Kty string `json:"kty"` Kid string `json:"kid"` N string `json:"n"` E string `json:"e"` Alg string `json:"alg"` Use string `json:"use"` } `json:"keys"` } `json:"jwks"` } `json:"jwtKeys"` SamlKeys struct { PublicKey string `json:"publicKey"` Cert string `json:"cert"` } `json:"samlKeys"` Properties struct { PngIcon struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"pngIcon"` SvgIcon struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"svgIcon"` SvgViewBox struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"svgViewBox"` IconOpacity struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value float64 `json:"value"` } `json:"iconOpacity"` BackgroundColor struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"backgroundColor"` TextColor struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"textColor"` IconColor struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"iconColor"` ArcColor struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"arcColor"` ArcProgressColor struct { DisplayName string `json:"displayName"` DataType string `json:"dataType"` PreferredControlType string `json:"preferredControlType"` Value string `json:"value"` } `json:"arcProgressColor"` } `json:"properties"` CreatedDate EpochTime `json:"createdDate"` Entitlement struct { Company struct { CreateAdditional bool `json:"createAdditional"` } `json:"company"` Connectors struct { Whitelist []string `json:"whitelist"` //TODO // Blacklist []string `json:"blacklist"` Blacklist interface{} `json:"blacklist"` } `json:"connectors"` Connections struct { Total int `json:"total"` MaxNumberOfConnectionsPerConnector struct { ConnectorID string `json:"connectorId"` Total int `json:"total"` } `json:"maxNumberOfConnectionsPerConnector"` } `json:"connections"` Flows struct { Enabled bool `json:"enabled"` Total int `json:"total"` Expires int64 `json:"expires"` } `json:"flows"` Attributes struct { Enabled bool `json:"enabled"` Total int `json:"total"` } `json:"attributes"` Apps struct { Total int `json:"total"` } `json:"apps"` Users struct { Total int `json:"total"` TotalCredentialsPerUser int `json:"totalCredentialsPerUser"` } `json:"users"` Expires int64 `json:"expires"` } `json:"entitlement"` CompanyID string `json:"companyId"` }
type EnvironmentStats ¶
type EnvironmentStats struct { TableStats []struct { Flows int `json:"Flows"` Connections int `json:"Connections"` Apps int `json:"Apps"` Customers int `json:"Customers"` Constructs int `json:"Constructs"` Users int `json:"Users"` Events int `json:"Events"` ID struct { CompanyID string `json:"companyId"` Ts int64 `json:"ts"` } `json:"_id"` } `json:"tableStats"` PopularFlows []struct { Key string `json:"key"` DocCount int `json:"doc_count"` Name *string `json:"name,omitempty"` } `json:"popularFlows"` RunningFlowsCount []struct { KeyAsString time.Time `json:"key_as_string"` Key int64 `json:"key"` DocCount int `json:"doc_count"` } `json:"runningFlowsCount"` EventOutcomesCount []interface{} `json:"eventOutcomesCount"` AllFlows []string `json:"allFlows"` }
type Environments ¶
type Environments struct { CustomerID string `json:"customerId"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Email string `json:"email"` PhoneNumber string `json:"phoneNumber"` CompanyID string `json:"companyId"` Companies []Companies `json:"companies"` ClientID *string `json:"clientId,omitempty"` CreatedDate EpochTime `json:"createdDate"` }
type EpochTime ¶ added in v0.1.0
func NewEpochTime ¶ added in v0.1.0
func (EpochTime) MarshalJSON ¶ added in v0.1.0
func (*EpochTime) UnmarshalJSON ¶ added in v0.1.0
type EquatesEmptyTypeError ¶ added in v0.5.0
type EquatesEmptyTypeError DiffTypeError
func (*EquatesEmptyTypeError) Error ¶ added in v0.5.0
func (e *EquatesEmptyTypeError) Error() string
type ErrorResponse ¶ added in v0.1.0
type ErrorResponse struct { Cause string `json:"cause"` LogLevel string `json:"logLevel"` ServiceName string `json:"serviceName"` Message string `json:"message"` ErrorMessage string `json:"errorMessage"` Success bool `json:"success"` HttpResponseCode int `json:"httpResponseCode"` Code int `json:"code"` }
func (ErrorResponse) Error ¶ added in v0.1.0
func (e ErrorResponse) Error() string
type ExportCmpOpts ¶ added in v0.1.0
type ExportNodeCmpOpts ¶ added in v0.5.0
type ExportNodeCmpOpts struct {
VariablesConnector *ExportNodeVariablesCmpOpts
}
type ExportNodeVariablesCmpOpts ¶ added in v0.5.0
type ExportNodeVariablesCmpOpts struct {
ExpectVariableValues bool
}
type FirstName ¶ added in v0.0.37
type FirstName struct {
Value1 string `json:"value1,omitempty" davinci:"value1,config,omitempty"`
}
type Flow ¶
type Flow struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model FlowConfiguration FlowEnvironmentMetadata FlowMetadata FlowVersionMetadata }
func (Flow) MarshalJSON ¶ added in v0.1.0
func (*Flow) UnmarshalDavinci ¶ added in v0.1.0
func (o *Flow) UnmarshalDavinci(bytes []byte, opts ExportCmpOpts) (err error)
func (*Flow) UnmarshalJSON ¶ added in v0.1.0
type FlowConfigViewItems ¶ added in v0.0.49
type FlowConfigViewItems struct {
PropertyName *string `json:"propertyName,omitempty" davinci:"propertyName,config,omitempty"`
}
type FlowConfiguration ¶ added in v0.1.0
type FlowConfiguration struct { FlowUpdateConfiguration FlowColor *string `json:"flowColor,omitempty" davinci:"flowColor,designercue,omitempty"` }
type FlowEnvironmentMetadata ¶ added in v0.1.0
type FlowEnvironmentMetadata struct { CompanyID string `json:"companyId" davinci:"companyId,environmentmetadata"` CreatedDate EpochTime `json:"createdDate" davinci:"createdDate,environmentmetadata"` CustomerID string `json:"customerId" davinci:"customerId,environmentmetadata"` FlowID string `json:"flowId" davinci:"flowId,environmentmetadata"` ParentFlowID *string `json:"parentFlowId,omitempty" davinci:"parentFlowId,environmentmetadata,omitempty"` }
type FlowImport ¶
type FlowImport struct { Name *string `json:"name,omitempty" davinci:"name,flowmetadata,omitempty"` Description *string `json:"description,omitempty" davinci:"description,flowmetadata,omitempty"` FlowInfo *Flow `json:"flowInfo,omitempty" davinci:"flowInfo,*,omitempty"` FlowNameMapping map[string]string `json:"flowNameMapping,omitempty" davinci:"flowNameMapping,*,omitempty"` }
type FlowMetadata ¶ added in v0.1.0
type FlowMetadata struct { AuthTokenExpireIds []interface{} `json:"authTokenExpireIds" davinci:"authTokenExpireIds,flowmetadata"` Connections []interface{} `json:"connections,omitempty" davinci:"connections,flowmetadata,omitempty"` ConnectorIds []string `json:"connectorIds" davinci:"connectorIds,flowmetadata"` Description *string `json:"description,omitempty" davinci:"description,flowmetadata,omitempty"` EnabledGraphData interface{} `json:"enabledGraphData,omitempty" davinci:"enabledGraphData,flowmetadata,omitempty"` FunctionConnectionID interface{} `json:"functionConnectionId,omitempty" davinci:"functionConnectionId,flowmetadata,omitempty"` InputSchemaCompiled interface{} `json:"inputSchemaCompiled,omitempty" davinci:"inputSchemaCompiled,flowmetadata,omitempty"` IsInputSchemaSaved *bool `json:"isInputSchemaSaved,omitempty" davinci:"isInputSchemaSaved,flowmetadata,omitempty"` IsOutputSchemaSaved bool `json:"isOutputSchemaSaved" davinci:"isOutputSchemaSaved,flowmetadata"` Name string `json:"name" davinci:"name,flowmetadata"` Orx *string `json:"orx,omitempty" davinci:"orx,flowmetadata,omitempty"` OutputSchemaCompiled *OutputSchema `json:"outputSchemaCompiled,omitempty" davinci:"outputSchemaCompiled,*,omitempty"` //compiled is used in exported flow json, must be converted to JUST output when updating flow. Timeouts interface{} `json:"timeouts,omitempty" davinci:"timeouts,flowmetadata,omitempty"` Variables []FlowVariable `json:"variables,omitempty" davinci:"variables,*,omitempty"` }
type FlowUpdate ¶ added in v0.0.44
type FlowUpdate struct { FlowUpdateConfiguration CurrentVersion *int32 `json:"currentVersion,omitempty" davinci:"currentVersion,versionmetadata,omitempty"` Name *string `json:"name,omitempty" davinci:"name,flowmetadata"` Description *string `json:"description,omitempty" davinci:"description,flowmetadata,omitempty"` }
Used specifically for PUTs to existing flows.
type FlowUpdateConfiguration ¶ added in v0.1.0
type FlowUpdateConfiguration struct { GraphData *GraphData `json:"graphData,omitempty" davinci:"graphData,*,omitempty"` InputSchema []interface{} `json:"inputSchema,omitempty" davinci:"inputSchema,config,omitempty"` OutputSchema *OutputSchema `json:"outputSchema,omitempty" davinci:"outputSchema,*,omitempty"` Settings interface{} `json:"settings,omitempty" davinci:"settings,config,omitempty"` Trigger *Trigger `json:"trigger,omitempty" davinci:"trigger,*,omitempty"` }
type FlowVariable ¶ added in v0.0.46
type FlowVariable struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model ID *string `json:"id,omitempty" davinci:"id,environmentmetadata,omitempty"` CompanyID *string `json:"companyId,omitempty" davinci:"companyId,environmentmetadata,omitempty"` Context *string `json:"context,omitempty" davinci:"context,config,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty" davinci:"createdDate,flowvariables,omitempty"` CustomerID *string `json:"customerId,omitempty" davinci:"customerId,environmentmetadata,omitempty"` Fields *FlowVariableFields `json:"fields,omitempty" davinci:"fields,*,omitempty"` FlowID *string `json:"flowId,omitempty" davinci:"flowId,environmentmetadata,omitempty"` Key *float64 `json:"key,omitempty" davinci:"key,flowmetadata,omitempty"` Label *string `json:"label,omitempty" davinci:"label,flowvariables,omitempty"` Name string `json:"name" davinci:"name,config"` Type string `json:"type" davinci:"type,config"` UpdatedDate *EpochTime `json:"updatedDate,omitempty" davinci:"updatedDate,flowvariables,omitempty"` Value interface{} `json:"value,omitempty" davinci:"value,flowvariables,omitempty"` Visibility *string `json:"visibility,omitempty" davinci:"visibility,flowvariables,omitempty"` }
func (FlowVariable) MarshalJSON ¶ added in v0.1.0
func (o FlowVariable) MarshalJSON() ([]byte, error)
func (FlowVariable) ToMap ¶ added in v0.1.0
func (o FlowVariable) ToMap() (map[string]interface{}, error)
func (*FlowVariable) UnmarshalJSON ¶ added in v0.1.0
func (o *FlowVariable) UnmarshalJSON(bytes []byte) (err error)
type FlowVariableFields ¶ added in v0.0.46
type FlowVariableFields struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,flowvariables,omitempty"` Mutable *bool `json:"mutable,omitempty" davinci:"mutable,flowvariables,omitempty"` Value interface{} `json:"value,omitempty" davinci:"value,flowvariables,omitempty"` Min *int32 `json:"min,omitempty" davinci:"min,flowvariables,omitempty"` Max *int32 `json:"max,omitempty" davinci:"max,flowvariables,omitempty"` }
func (FlowVariableFields) MarshalJSON ¶ added in v0.1.0
func (o FlowVariableFields) MarshalJSON() ([]byte, error)
func (FlowVariableFields) ToMap ¶ added in v0.1.0
func (o FlowVariableFields) ToMap() (map[string]interface{}, error)
func (*FlowVariableFields) UnmarshalJSON ¶ added in v0.1.0
func (o *FlowVariableFields) UnmarshalJSON(bytes []byte) (err error)
type FlowVersionMetadata ¶ added in v0.1.0
type FlowVersionMetadata struct { CurrentVersion *int32 `json:"currentVersion,omitempty" davinci:"currentVersion,versionmetadata,omitempty"` DeployedDate *EpochTime `json:"deployedDate,omitempty" davinci:"deployedDate,versionmetadata,omitempty"` FlowStatus string `json:"flowStatus" davinci:"flowStatus,versionmetadata"` PublishedVersion *int32 `json:"publishedVersion,omitempty" davinci:"publishedVersion,versionmetadata,omitempty"` SavedDate EpochTime `json:"savedDate" davinci:"savedDate,versionmetadata"` UpdatedDate *EpochTime `json:"updatedDate,omitempty" davinci:"updatedDate,versionmetadata,omitempty"` VersionID int32 `json:"versionId" davinci:"versionId,versionmetadata"` VersionInfo interface{} `json:"versionInfo,omitempty" davinci:"versionInfo,versionmetadata,omitempty"` }
type Flows ¶ added in v0.0.31
type Flows struct {
Flow []Flow `json:"flows,omitempty" davinci:"flows,*"`
}
type FlowsImport ¶ added in v0.0.31
type FlowsImport struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` FlowInfo *Flows `json:"flowInfo,omitempty"` FlowNameMapping map[string]string `json:"flowNameMapping,omitempty"` }
func ParseFlowsImportJson ¶ added in v0.0.32
func ParseFlowsImportJson(payload string) (*FlowsImport, error)
type FlowsInfo ¶
type FlowsInfo struct {
Flow []Flow `json:"flowsInfo,omitempty" davinci:"flowsInfo,*"`
}
type Form ¶ added in v0.6.1
func (Form) MarshalDavinci ¶ added in v0.6.1
func (o Form) MarshalDavinci(_ ExportCmpOpts) ([]byte, error)
func (Form) MarshalJSON ¶ added in v0.6.1
func (*Form) UnmarshalDavinci ¶ added in v0.6.1
func (o *Form) UnmarshalDavinci(bytes []byte, _ ExportCmpOpts) (err error)
func (*Form) UnmarshalJSON ¶ added in v0.6.1
type FormData ¶ added in v0.6.1
type FormData struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Value []FormDataValue `json:"value,omitempty" davinci:"value,config,omitempty"` }
func (FormData) MarshalJSON ¶ added in v0.6.1
func (*FormData) UnmarshalJSON ¶ added in v0.6.1
type FormDataValue ¶ added in v0.6.1
type FormDataValue struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Key *string `json:"key,omitempty" davinci:"key,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` }
func (FormDataValue) MarshalJSON ¶ added in v0.6.1
func (o FormDataValue) MarshalJSON() ([]byte, error)
func (FormDataValue) ToMap ¶ added in v0.6.1
func (o FormDataValue) ToMap() (map[string]interface{}, error)
func (*FormDataValue) UnmarshalJSON ¶ added in v0.6.1
func (o *FormDataValue) UnmarshalJSON(bytes []byte) (err error)
type FormObj ¶ added in v0.6.1
type FormObj struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` }
func (FormObj) MarshalJSON ¶ added in v0.6.1
func (*FormObj) UnmarshalJSON ¶ added in v0.6.1
type GraphData ¶
type GraphData struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model BoxSelectionEnabled *bool `json:"boxSelectionEnabled,omitempty" davinci:"boxSelectionEnabled,designercue,omitempty"` Data *Data `json:"data,omitempty" davinci:"data,*,omitempty"` Elements *Elements `json:"elements,omitempty" davinci:"elements,*,omitempty"` MaxZoom *float64 `json:"maxZoom,omitempty" davinci:"maxZoom,designercue,omitempty"` MinZoom *float64 `json:"minZoom,omitempty" davinci:"minZoom,designercue,omitempty"` Pan *Pan `json:"pan,omitempty" davinci:"pan,*,omitempty"` PanningEnabled *bool `json:"panningEnabled,omitempty" davinci:"panningEnabled,designercue,omitempty"` Renderer *Renderer `json:"renderer,omitempty" davinci:"renderer,*,omitempty"` UserPanningEnabled *bool `json:"userPanningEnabled,omitempty" davinci:"userPanningEnabled,designercue,omitempty"` UserZoomingEnabled *bool `json:"userZoomingEnabled,omitempty" davinci:"userZoomingEnabled,designercue,omitempty"` Zoom *int32 `json:"zoom,omitempty" davinci:"zoom,designercue,omitempty"` ZoomingEnabled *bool `json:"zoomingEnabled,omitempty" davinci:"zoomingEnabled,designercue,omitempty"` }
func (GraphData) MarshalJSON ¶ added in v0.1.0
func (*GraphData) UnmarshalJSON ¶ added in v0.1.0
type IssuerURL ¶ added in v0.0.37
type IssuerURL struct { PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type JSONCodec ¶ added in v0.1.0
type JSONCodec struct{}
func (JSONCodec) DecodeValue ¶ added in v0.1.0
func (JSONCodec) EncodeValue ¶ added in v0.1.0
type LabelValue ¶ added in v0.1.0
type LabelValue struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Label *string `json:"label,omitempty" davinci:"label,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` }
func (LabelValue) MarshalJSON ¶ added in v0.1.0
func (o LabelValue) MarshalJSON() ([]byte, error)
func (LabelValue) ToMap ¶ added in v0.1.0
func (o LabelValue) ToMap() (map[string]interface{}, error)
func (*LabelValue) UnmarshalJSON ¶ added in v0.1.0
func (o *LabelValue) UnmarshalJSON(bytes []byte) (err error)
type LastName ¶ added in v0.0.37
type LastName struct {
Value1 string `json:"value1,omitempty" davinci:"value1,config,omitempty"`
}
type LoginResponse ¶
type LoginResponse struct { AccessToken string `json:"access_token"` TokenType string `json:"token_type"` MfaRequired bool `json:"mfaRequired"` Status string `json:"status"` CustomerID string `json:"customerId"` AppConfig bool `json:"appConfig"` SkSdkToken SkSdkToken `json:"skSdkToken"` FlowPolicyID string `json:"flowPolicyId"` CompanyID string `json:"companyId"` SelectedCompany string `json:"selectedCompany"` }
type LogosCanvas ¶ added in v0.0.49
type LogosCanvas struct {
ImageFileName *string `json:"imageFileName,omitempty" davinci:"imageFileName,config,omitempty"`
}
type MapCodec ¶ added in v0.1.0
type MapCodec struct {
// contains filtered or unexported fields
}
func (MapCodec) DecodeValue ¶ added in v0.1.0
func (MapCodec) EncodeValue ¶ added in v0.1.0
type Mapping ¶ added in v0.0.37
type Mapping struct { Username *Username `json:"username,omitempty" davinci:"username,config,omitempty"` FirstName *FirstName `json:"firstName,omitempty" davinci:"firstName,config,omitempty"` LastName *LastName `json:"lastName,omitempty" davinci:"lastName,config,omitempty"` Name *Name `json:"name,omitempty" davinci:"name,config,omitempty"` Email *Email `json:"email,omitempty" davinci:"email,config,omitempty"` }
type Marshaler ¶ added in v0.1.0
type Marshaler interface {
MarshalDavinci(ExportCmpOpts) ([]byte, error)
}
type MaxFlowDefinitionsExceededTypeError ¶ added in v0.5.0
type MaxFlowDefinitionsExceededTypeError struct {
Max int
}
func (*MaxFlowDefinitionsExceededTypeError) Error ¶ added in v0.5.0
func (e *MaxFlowDefinitionsExceededTypeError) Error() string
type MinFlowDefinitionsExceededTypeError ¶ added in v0.5.0
type MinFlowDefinitionsExceededTypeError struct {
Min int
}
func (*MinFlowDefinitionsExceededTypeError) Error ¶ added in v0.5.0
func (e *MinFlowDefinitionsExceededTypeError) Error() string
type MissingRequiredFlowFieldsTypeError ¶ added in v0.5.0
type MissingRequiredFlowFieldsTypeError DiffTypeError
func (*MissingRequiredFlowFieldsTypeError) Error ¶ added in v0.5.0
func (e *MissingRequiredFlowFieldsTypeError) Error() string
type Name ¶ added in v0.0.37
type Name struct {
Value1 string `json:"value1,omitempty" davinci:"value1,config,omitempty"`
}
type Node ¶ added in v0.1.0
type Node struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Data *NodeData `json:"data,omitempty" davinci:"data,*,omitempty"` Position *Position `json:"position,omitempty" davinci:"position,*,omitempty"` Group string `json:"group" davinci:"group,designercue"` Removed bool `json:"removed" davinci:"removed,designercue"` Selected bool `json:"selected" davinci:"selected,designercue"` Selectable bool `json:"selectable" davinci:"selectable,designercue"` Locked bool `json:"locked" davinci:"locked,designercue"` Grabbable bool `json:"grabbable" davinci:"grabbable,designercue"` Pannable bool `json:"pannable" davinci:"pannable,designercue"` Classes string `json:"classes" davinci:"classes,config"` }
func (Node) MarshalJSON ¶ added in v0.1.0
func (*Node) UnmarshalJSON ¶ added in v0.1.0
type NodeData ¶ added in v0.0.37
type NodeData struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model CapabilityName *string `json:"capabilityName,omitempty" davinci:"capabilityName,config,omitempty"` ConnectionID *string `json:"connectionId,omitempty" davinci:"connectionId,config,omitempty"` ConnectorID *string `json:"connectorId,omitempty" davinci:"connectorId,config,omitempty"` ID *string `json:"id,omitempty" davinci:"id,config,omitempty"` Label *string `json:"label,omitempty" davinci:"label,config,omitempty"` Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` NodeType *string `json:"nodeType,omitempty" davinci:"nodeType,config,omitempty"` Properties *Properties `json:"properties" davinci:"properties,*"` Source *string `json:"source,omitempty" davinci:"source,config,omitempty"` Status *string `json:"status,omitempty" davinci:"status,config,omitempty"` Target *string `json:"target,omitempty" davinci:"target,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` }
func (NodeData) MarshalJSON ¶ added in v0.1.0
func (*NodeData) UnmarshalJSON ¶ added in v0.1.0
type Oauth ¶
type Oauth struct { Enabled bool `json:"enabled"` Values *OauthValues `json:"values,omitempty"` }
type OauthValues ¶
type OauthValues struct { Enabled bool `json:"enabled"` ClientSecret *string `json:"clientSecret,omitempty"` RedirectUris []string `json:"redirectUris,omitempty"` LogoutUris []string `json:"logoutUris,omitempty"` AllowedScopes []string `json:"allowedScopes,omitempty"` AllowedGrants []string `json:"allowedGrants,omitempty"` EnforceSignedRequestOpenid *bool `json:"enforceSignedRequestOpenid,omitempty"` SpjwksUrl *string `json:"spjwksUrl,omitempty"` SpJwksOpenid *string `json:"spJwksOpenid,omitempty"` }
type OutputSchema ¶ added in v0.0.44
type OutputSchema struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Output interface{} `json:"output,omitempty" davinci:"output,config,omitempty"` }
func (OutputSchema) MarshalJSON ¶ added in v0.1.0
func (o OutputSchema) MarshalJSON() ([]byte, error)
func (OutputSchema) ToMap ¶ added in v0.1.0
func (o OutputSchema) ToMap() (map[string]interface{}, error)
func (*OutputSchema) UnmarshalJSON ¶ added in v0.1.0
func (o *OutputSchema) UnmarshalJSON(bytes []byte) (err error)
type Pan ¶ added in v0.0.32
type Pan struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model X *float64 `json:"x,omitempty" davinci:"x,designercue,omitempty"` Y *float64 `json:"y,omitempty" davinci:"y,designercue,omitempty"` }
func (Pan) MarshalJSON ¶ added in v0.1.0
func (*Pan) UnmarshalJSON ¶ added in v0.1.0
type Params ¶
func (Params) QueryParams ¶
type Placeholder ¶ added in v0.0.37
type Placeholder struct { Name *string `json:"name,omitempty" davinci:"name,config,omitempty"` Description *string `json:"description,omitempty" davinci:"description,config,omitempty"` Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` Value interface{} `json:"value,omitempty" davinci:"value,config,omitempty"` MinLength *string `json:"minLength,omitempty" davinci:"minLength,config,omitempty"` MaxLength *string `json:"maxLength,omitempty" davinci:"maxLength,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` AttributeType *string `json:"attributeType,omitempty" davinci:"attributeType,config,omitempty"` }
type PolicyFlow ¶ added in v0.0.30
type Position ¶ added in v0.0.32
type Position struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model X *float64 `json:"x,omitempty" davinci:"x,designercue,omitempty"` Y *float64 `json:"y,omitempty" davinci:"y,designercue,omitempty"` }
func (Position) MarshalJSON ¶ added in v0.1.0
func (*Position) UnmarshalJSON ¶ added in v0.1.0
type Properties ¶
type Properties struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Form *Form `json:"form,omitempty" davinci:"form,config,omitempty"` FormData *FormData `json:"formData,omitempty" davinci:"formData,config,omitempty"` SubFlowID *SubFlowID `json:"subFlowId,omitempty" davinci:"subFlowId,config,omitempty"` SubFlowVersionID *SubFlowVersionID `json:"subFlowVersionId,omitempty" davinci:"subFlowVersionId,config,omitempty"` SaveFlowVariables *SaveFlowVariables `json:"saveFlowVariables,omitempty" davinci:"saveFlowVariables,*,omitempty"` SaveVariables *SaveFlowVariables `json:"saveVariables,omitempty" davinci:"saveVariables,*,omitempty"` }
func (Properties) MarshalJSON ¶ added in v0.1.0
func (o Properties) MarshalJSON() ([]byte, error)
func (Properties) ToMap ¶ added in v0.1.0
func (o Properties) ToMap() (map[string]interface{}, error)
func (*Properties) UnmarshalJSON ¶ added in v0.1.0
func (o *Properties) UnmarshalJSON(bytes []byte) (err error)
type ProviderName ¶ added in v0.0.37
type ProviderName struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` }
type PtrCodec ¶ added in v0.1.0
type PtrCodec struct {
// contains filtered or unexported fields
}
func (PtrCodec) DecodeValue ¶ added in v0.1.0
func (PtrCodec) EncodeValue ¶ added in v0.1.0
type Renderer ¶ added in v0.0.32
type Renderer struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Name *string `json:"name,omitempty" davinci:"name,designercue,omitempty"` }
func (Renderer) MarshalJSON ¶ added in v0.1.0
func (*Renderer) UnmarshalJSON ¶ added in v0.1.0
type ReturnToURL ¶ added in v0.0.37
type ReturnToURL struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Info *string `json:"info,omitempty" davinci:"info,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type Role ¶
type Role struct { ID struct { Name *string `json:"name,omitempty"` CompanyID *string `json:"companyId,omitempty"` } `json:"_id,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` Description *string `json:"description,omitempty"` Policy []struct { Resource *string `json:"resource,omitempty"` Actions []struct { Action *string `json:"action,omitempty"` Allow *bool `json:"allow,omitempty"` } `json:"actions,omitempty"` } `json:"policy,omitempty"` }
TODO: Cleanup roles
type RoleCreate ¶
type RoleCreate struct {
Name string `json:"name"`
}
type RoleCreateResponse ¶
type RoleUpdate ¶
type SSOAuthenticationResponse ¶ added in v0.0.55
type SSOAuthenticationResponse struct { Links SSOAuthenticationResponseLinks `json:"_links,omitempty"` ID *string `json:"id,omitempty"` Session *SSOAuthenticationResponseSession `json:"session,omitempty"` ResumeURL *string `json:"resumeUrl,omitempty"` Status *string `json:"status,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` ExpiresAt time.Time `json:"expiresAt,omitempty"` Embedded SSOAuthenticationResponseEmbedded `json:"_embedded,omitempty"` }
type SSOAuthenticationResponseEmbedded ¶ added in v0.0.55
type SSOAuthenticationResponseEmbedded struct {
User *SSOAuthenticationResponseEmbeddedUser `json:"user,omitempty"`
}
type SSOAuthenticationResponseEmbeddedUser ¶ added in v0.0.55
type SSOAuthenticationResponseLinks ¶ added in v0.0.55
type SSOAuthenticationResponseLinks struct {
Self *Self `json:"self,omitempty"`
}
type SSOAuthenticationResponseSession ¶ added in v0.0.55
type SSOAuthenticationResponseSession struct {
ID *string `json:"id,omitempty"`
}
type Saml ¶
type Saml struct {
Values *SamlValues `json:"values,omitempty"`
}
type SamlValues ¶
type SaveFlowVariable ¶ added in v0.5.0
type SaveFlowVariable struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Key *float64 `json:"key,omitempty" davinci:"key,config,omitempty"` Label *string `json:"label,omitempty" davinci:"label,config,omitempty"` Name string `json:"name" davinci:"name,config"` Type string `json:"type" davinci:"type,config"` Value interface{} `json:"value,omitempty" davinci:"value,config,omitempty"` NameDefault *string `json:"nameDefault,omitempty" davinci:"nameDefault,config,omitempty"` }
func (SaveFlowVariable) MarshalJSON ¶ added in v0.5.0
func (o SaveFlowVariable) MarshalJSON() ([]byte, error)
func (SaveFlowVariable) ToMap ¶ added in v0.5.0
func (o SaveFlowVariable) ToMap() (map[string]interface{}, error)
func (*SaveFlowVariable) UnmarshalJSON ¶ added in v0.5.0
func (o *SaveFlowVariable) UnmarshalJSON(bytes []byte) (err error)
type SaveFlowVariables ¶ added in v0.1.0
type SaveFlowVariables struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Value []SaveFlowVariable `json:"value,omitempty" davinci:"value,*,omitempty"` }
func (SaveFlowVariables) MarshalJSON ¶ added in v0.1.0
func (o SaveFlowVariables) MarshalJSON() ([]byte, error)
func (SaveFlowVariables) ToMap ¶ added in v0.1.0
func (o SaveFlowVariables) ToMap() (map[string]interface{}, error)
func (*SaveFlowVariables) UnmarshalJSON ¶ added in v0.1.0
func (o *SaveFlowVariables) UnmarshalJSON(bytes []byte) (err error)
type Scope ¶ added in v0.0.37
type Scope struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type SkRedirectURI ¶ added in v0.0.37
type SkRedirectURI struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Disabled *bool `json:"disabled,omitempty" davinci:"disabled,config,omitempty"` InitializeValue *string `json:"initializeValue,omitempty" davinci:"initializeValue,config,omitempty"` CopyToClip *bool `json:"copyToClip,omitempty" davinci:"copyToClip,config,omitempty"` }
type SkSdkToken ¶
type SliceCodec ¶ added in v0.1.0
type SliceCodec struct {
// contains filtered or unexported fields
}
func (SliceCodec) DecodeValue ¶ added in v0.1.0
func (d SliceCodec) DecodeValue(data []byte, v reflect.Value) error
func (SliceCodec) EncodeValue ¶ added in v0.1.0
func (d SliceCodec) EncodeValue(v reflect.Value) ([]byte, error)
func (SliceCodec) String ¶ added in v0.1.0
func (SliceCodec) String() string
type StructCodec ¶ added in v0.1.0
type StructCodec struct {
// contains filtered or unexported fields
}
func (StructCodec) DecodeValue ¶ added in v0.1.0
func (d StructCodec) DecodeValue(data []byte, v reflect.Value) error
func (StructCodec) EncodeValue ¶ added in v0.1.0
func (d StructCodec) EncodeValue(v reflect.Value) ([]byte, error)
func (StructCodec) String ¶ added in v0.1.0
func (StructCodec) String() string
type SubFlowID ¶ added in v0.0.32
type SubFlowID struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Value *SubFlowValue `json:"value,omitempty" davinci:"value,*,omitempty"` }
func (SubFlowID) MarshalJSON ¶ added in v0.1.0
func (*SubFlowID) UnmarshalJSON ¶ added in v0.1.0
type SubFlowProperties ¶ added in v0.0.32
type SubFlowProperties struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model SubFlowID *SubFlowID `json:"subFlowId,omitempty" davinci:"subFlowId,*,omitempty"` SubFlowProperties *SubFlowProperties `json:"subFlowVersionId,omitempty" davinci:"subFlowVersionId,*,omitempty"` }
func (SubFlowProperties) MarshalJSON ¶ added in v0.1.0
func (o SubFlowProperties) MarshalJSON() ([]byte, error)
func (SubFlowProperties) ToMap ¶ added in v0.1.0
func (o SubFlowProperties) ToMap() (map[string]interface{}, error)
func (*SubFlowProperties) UnmarshalJSON ¶ added in v0.1.0
func (o *SubFlowProperties) UnmarshalJSON(bytes []byte) (err error)
type SubFlowValue ¶ added in v0.0.32
type SubFlowValue LabelValue
type SubFlowVersionID ¶ added in v0.0.32
type SubFlowVersionID struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model Value *SubFlowVersionIDValue `json:"value,omitempty" davinci:"value,*,omitempty"` }
func (SubFlowVersionID) MarshalJSON ¶ added in v0.1.0
func (o SubFlowVersionID) MarshalJSON() ([]byte, error)
func (SubFlowVersionID) ToMap ¶ added in v0.1.0
func (o SubFlowVersionID) ToMap() (map[string]interface{}, error)
func (*SubFlowVersionID) UnmarshalJSON ¶ added in v0.1.0
func (o *SubFlowVersionID) UnmarshalJSON(bytes []byte) (err error)
type SubFlowVersionIDValue ¶ added in v0.1.0
func (SubFlowVersionIDValue) MarshalDavinci ¶ added in v0.1.0
func (o SubFlowVersionIDValue) MarshalDavinci(_ ExportCmpOpts) ([]byte, error)
func (SubFlowVersionIDValue) MarshalJSON ¶ added in v0.1.0
func (o SubFlowVersionIDValue) MarshalJSON() ([]byte, error)
func (*SubFlowVersionIDValue) UnmarshalDavinci ¶ added in v0.1.0
func (o *SubFlowVersionIDValue) UnmarshalDavinci(bytes []byte, _ ExportCmpOpts) (err error)
func (*SubFlowVersionIDValue) UnmarshalJSON ¶ added in v0.1.0
func (o *SubFlowVersionIDValue) UnmarshalJSON(bytes []byte) (err error)
type TokenEndpoint ¶ added in v0.0.37
type TokenEndpoint struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value *string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type Trigger ¶ added in v0.0.42
type Trigger struct { AdditionalProperties map[string]interface{} `json:"-" davinci:"-,unmappedproperties"` // used to capture all other properties that are not explicitly defined in the model TriggerType *string `json:"type,omitempty" davinci:"type,config,omitempty"` }
func (Trigger) MarshalJSON ¶ added in v0.1.0
func (*Trigger) UnmarshalJSON ¶ added in v0.1.0
type UnknownAdditionalFieldsTypeError ¶ added in v0.5.0
type UnknownAdditionalFieldsTypeError DiffTypeError
func (*UnknownAdditionalFieldsTypeError) Error ¶ added in v0.5.0
func (e *UnknownAdditionalFieldsTypeError) Error() string
type Unmarshaler ¶ added in v0.1.0
type Unmarshaler interface {
UnmarshalDavinci([]byte, ExportCmpOpts) error
}
type UpdateAnnotationProperties ¶ added in v0.0.49
type UpdateAnnotationProperties struct { Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` Title *string `json:"title,omitempty" davinci:"title,config,omitempty"` SubTitle *string `json:"subTitle,omitempty" davinci:"subTitle,config,omitempty"` UserViews []interface{} `json:"userViews,omitempty" davinci:"userViews,config,omitempty"` FlowConfigView *ConnectorFlowConfigView `json:"flowConfigView,omitempty" davinci:"flowConfigView,config,omitempty"` }
type UserConnectorAttributeMapping ¶ added in v0.0.37
type UserConnectorAttributeMapping struct { Type *string `json:"type,omitempty" davinci:"type,config,omitempty"` DisplayName interface{} `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` NewMappingAllowed *bool `json:"newMappingAllowed,omitempty" davinci:"newMappingAllowed,config,omitempty"` Title1 interface{} `json:"title1,omitempty" davinci:"title1,config,omitempty"` Title2 interface{} `json:"title2,omitempty" davinci:"title2,config,omitempty"` Sections []string `json:"sections,omitempty" davinci:"sections,config,omitempty"` Value *UserConnectorAttributeMappingValue `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder *UserConnectorAttributeMappingPlaceholder `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type UserConnectorAttributeMappingPlaceholder ¶ added in v0.0.37
type UserConnectorAttributeMappingValue ¶ added in v0.0.37
type UserInfoEndpoint ¶ added in v0.0.37
type UserInfoEndpoint struct { DisplayName *string `json:"displayName,omitempty" davinci:"displayName,config,omitempty"` PreferredControlType *string `json:"preferredControlType,omitempty" davinci:"preferredControlType,config,omitempty"` Required *bool `json:"required,omitempty" davinci:"required,config,omitempty"` Value []string `json:"value,omitempty" davinci:"value,config,omitempty"` Placeholder []string `json:"placeholder,omitempty" davinci:"placeholder,config,omitempty"` }
type UserPortal ¶
type UserPortal struct {
Values *UserPortalValues `json:"values"`
}
type UserPortalValues ¶
type UserPortalValues struct { UpTitle string `json:"upTitle"` AddAuthMethodTitle string `json:"addAuthMethodTitle"` FlowTimeoutInSeconds int `json:"flowTimeoutInSeconds"` CredentialPageTitle string `json:"credentialPageTitle"` CredentialPageSubTitle string `json:"credentialPageSubTitle"` ShowUserInfo bool `json:"showUserInfo"` ShowMfaButton bool `json:"showMfaButton"` ShowVariables bool `json:"showVariables"` ShowLogoutButton bool `json:"showLogoutButton"` NameAuthMethodTitle string `json:"nameAuthMethodTitle"` NameConfirmButtonText string `json:"nameConfirmButtonText"` UpdateMessage string `json:"updateMessage"` UpdateBodyMessage string `json:"updateBodyMessage"` RemoveAuthMethodTitle string `json:"removeAuthMethodTitle"` RemoveMessage string `json:"removeMessage"` RemoveBodyMessage string `json:"removeBodyMessage"` RemoveConfirmButtonText string `json:"removeConfirmButtonText"` RemoveCancelButtonText string `json:"removeCancelButtonText"` }
type Username ¶ added in v0.0.37
type Username struct {
Value1 string `json:"value1,omitempty" davinci:"value1,config,omitempty"`
}
type ValueDecoder ¶ added in v0.1.0
func NewJSONDecoder ¶ added in v0.1.0
func NewJSONDecoder() ValueDecoder
func NewMapDecoder ¶ added in v0.1.0
func NewMapDecoder(dCtx *DecoderContext) ValueDecoder
func NewPtrDecoder ¶ added in v0.1.0
func NewPtrDecoder(dCtx *DecoderContext) ValueDecoder
func NewSliceDecoder ¶ added in v0.1.0
func NewSliceDecoder(dCtx *DecoderContext) ValueDecoder
func NewStructDecoder ¶ added in v0.1.0
func NewStructDecoder(dCtx *DecoderContext) ValueDecoder
type ValueEncoder ¶ added in v0.1.0
func NewJSONEncoder ¶ added in v0.1.0
func NewJSONEncoder() ValueEncoder
func NewMapEncoder ¶ added in v0.1.0
func NewMapEncoder(eCtx *EncoderContext) ValueEncoder
func NewPtrEncoder ¶ added in v0.1.0
func NewPtrEncoder(eCtx *EncoderContext) ValueEncoder
func NewSliceEncoder ¶ added in v0.1.0
func NewSliceEncoder(eCtx *EncoderContext) ValueEncoder
func NewStructEncoder ¶ added in v0.1.0
func NewStructEncoder(eCtx *EncoderContext) ValueEncoder
type Values ¶
type Values struct { Enabled bool `json:"enabled"` ClientSecret *string `json:"clientSecret,omitempty"` RedirectUris []string `json:"redirectUris,omitempty"` LogoutUris []interface{} `json:"logoutUris,omitempty"` AllowedScopes []string `json:"allowedScopes,omitempty"` AllowedGrants []string `json:"allowedGrants,omitempty"` }
type Variable ¶ added in v0.0.27
type Variable struct { Context *string `json:"context,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` CustomerID *string `json:"customerId,omitempty"` Type *string `json:"type,omitempty"` Visibility *string `json:"visibility,omitempty"` CompanyID *string `json:"companyId,omitempty"` TotalCount *int `json:"totalCount,omitempty"` DisplayName *string `json:"displayName,omitempty"` Value interface{} `json:"value,omitempty"` Mutable *bool `json:"mutable,omitempty"` Min *int `json:"min,omitempty"` Max *int `json:"max,omitempty"` }
type VariablePayload ¶ added in v0.0.27
type VariablePayload struct { Name *string `json:"name,omitempty"` //Description in UI, displayName in API Description *string `json:"displayName,omitempty"` FlowId *string `json:"flowId,omitempty"` Context string `json:"context,omitempty" validate:"oneof=company flowInstance user flow"` Type string `json:"type"` Value *string `json:"value,omitempty"` Mutable *bool `json:"mutable,omitempty"` Min *int `json:"min,omitempty"` Max *int `json:"max,omitempty"` }
type VariablesValueInterface ¶ added in v0.0.46
type VariablesValueInterface struct { Context *string `json:"context,omitempty"` CreatedDate *EpochTime `json:"createdDate,omitempty"` CustomerID *string `json:"customerId,omitempty"` Type *string `json:"type,omitempty"` Visibility *string `json:"visibility,omitempty"` CompanyID *string `json:"companyId,omitempty"` TotalCount *int `json:"totalCount,omitempty"` DisplayName *string `json:"displayName,omitempty"` Value interface{} `json:"value,omitempty"` Mutable *bool `json:"mutable,omitempty"` Min *int `json:"min,omitempty"` Max *int `json:"max,omitempty"` }
Source Files
¶
- applications.go
- auth.go
- client.go
- codec.go
- codec_json.go
- codec_map.go
- codec_ptr.go
- codec_slice.go
- codec_struct.go
- connections.go
- connectors.go
- decoder_context.go
- encoder_context.go
- environments.go
- flow_equality.go
- flow_valid.go
- flowpolicies.go
- flows.go
- marshal.go
- models.go
- models_apps.go
- models_connection.go
- models_connection_property.go
- models_connectors.go
- models_data.go
- models_edge.go
- models_edge_data.go
- models_elements.go
- models_epochtime.go
- models_flow.go
- models_flow_variable.go
- models_flow_variable_fields.go
- models_flows.go
- models_form.go
- models_formdata.go
- models_formdata_value.go
- models_formobj.go
- models_graph_data.go
- models_label_value.go
- models_node.go
- models_node_data.go
- models_output_schema.go
- models_pan.go
- models_position.go
- models_properties.go
- models_renderer.go
- models_save_flow_variable.go
- models_save_flow_variables.go
- models_sub_flow_id.go
- models_sub_flow_properties.go
- models_sub_flow_value.go
- models_sub_flow_version_id.go
- models_sub_flow_version_id_value.go
- models_trigger.go
- unmarshal.go
- variables.go