Documentation ¶
Index ¶
- type AuditTrail
- type DocumentCC
- type DocumentCcDetails
- type DocumentProperties
- type DocumentReassign
- type DocumentSigner
- type DocumentSignerDetails
- type EmbeddedDocumentRequest
- func (e *EmbeddedDocumentRequest) GetFiles() []string
- func (e *EmbeddedDocumentRequest) GetMessage() string
- func (e *EmbeddedDocumentRequest) GetRedirectUrl() string
- func (e *EmbeddedDocumentRequest) GetRoles() []TemplateRole
- func (e *EmbeddedDocumentRequest) GetSigners() []DocumentSigner
- func (e *EmbeddedDocumentRequest) GetTemplateIds() []string
- func (e *EmbeddedDocumentRequest) GetTitle() string
- type EmbeddedSendCreated
- type EmbeddedSigningLink
- type EmbeddedTemplateCreated
- type ErrorResponse
- type Event
- type EventData
- type File
- type ReminderSettings
- type SenderCreateRequest
- type SenderCreated
- type SenderDetail
- type SenderIdentities
- type SenderIdentitiesResponse
- type SenderIdentityDetail
- type SenderUpdateRequest
- type TemplateRole
- func (s *TemplateRole) GetDefaultSignerEmail() string
- func (s *TemplateRole) GetDefaultSignerName() string
- func (s *TemplateRole) GetIndex() int
- func (s *TemplateRole) GetName() string
- func (s *TemplateRole) GetSignerOrder() int
- func (s *TemplateRole) GetSignerType() string
- func (tr *TemplateRole) Scan(value interface{}) error
- func (tr TemplateRole) Value() (driver.Value, error)
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditTrail ¶ added in v1.0.1
type DocumentCC ¶ added in v1.0.1
type DocumentCC struct {
EmailAddress string `json:"emailAddress"`
}
func (*DocumentCC) GetEmailAddress ¶ added in v1.0.1
func (s *DocumentCC) GetEmailAddress() string
type DocumentCcDetails ¶ added in v1.0.1
type DocumentCcDetails struct { EmailAddress string `json:"emailAddress"` UserId string `json:"userId"` IsViewed bool `json:"isViewed"` }
func (*DocumentCcDetails) GetEmailAddress ¶ added in v1.0.1
func (s *DocumentCcDetails) GetEmailAddress() string
type DocumentProperties ¶ added in v1.0.1
type DocumentProperties struct { DocumentId string `json:"documentId"` TemplateId string `json:"templateId,omitempty"` BrandId string `json:"brandId,omitempty"` MessageTitle string `json:"messageTitle,omitempty"` DocumentDescription string `json:"documentDescription,omitempty"` Status string `json:"status,omitempty"` Files []File `json:"files,omitempty"` SenderDetail SenderDetail `json:"senderDetail,omitempty"` SignerDetails []DocumentSignerDetails `json:"signerDetails,omitempty"` CcDetails []DocumentCcDetails `json:"ccDetails,omitempty"` ReminderSettings ReminderSettings `json:"reminderSettings,omitempty"` Reassign []DocumentReassign `json:"reassign,omitempty"` DocumentHistory []AuditTrail `json:"documentHistory,omitempty"` ActivityBy string `json:"activityBy,omitempty"` ActivityDate int `json:"activityDate,omitempty"` ActivityAction string `json:"activityAction,omitempty"` CreatedDate int `json:"createdDate,omitempty"` ExpiryDays int `json:"expiryDays,omitempty"` ExpiryDate int `json:"expiryDate,omitempty"` EnableSigningOrder bool `json:"enableSigningOrder,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` RevokeMessage string `json:"revokeMessage,omitempty"` DeclineMessage string `json:"declineMessage,omitempty"` ApplicationId string `json:"applicationId,omitempty"` Labels []string `json:"labels,omitempty"` DisableEmails bool `json:"disableEmails,omitempty"` EnablePrintAndSign bool `json:"enablePrintAndSign,omitempty"` EnableReassign bool `json:"enableReassign,omitempty"` DisableExpiryAlert bool `json:"disableExpiryAlert,omitempty"` HideDocumentId bool `json:"hideDocumentId,omitempty"` Roles []TemplateRole `json:"roles,omitempty,omitempty"` Description string `json:"description,omitempty"` DocumentTitle string `json:"documentTitle,omitempty"` DocumentMessage string `json:"documentMessage,omitempty"` Title string `json:"title,omitempty"` }
type DocumentReassign ¶ added in v1.0.1
type DocumentSigner ¶
type DocumentSigner struct { Name string `json:"name"` EmailAddress string `json:"emailAddress"` // PrivateMessage string `field:"PrivateMessage"` // AuthenticationCode string `field:"AuthenticationCode"` SignerOrder int `json:"signerOrder"` }
func (*DocumentSigner) GetEmailAddress ¶
func (s *DocumentSigner) GetEmailAddress() string
func (*DocumentSigner) GetName ¶
func (s *DocumentSigner) GetName() string
func (*DocumentSigner) GetSignerOrder ¶ added in v1.0.1
func (s *DocumentSigner) GetSignerOrder() int
type DocumentSignerDetails ¶ added in v1.0.1
type DocumentSignerDetails struct { SignerName string `json:"signerName"` SignerRole string `json:"signerRole"` SignerEmail string `json:"signerEmail"` Status string `json:"status"` IsAuthenticationFailed bool `json:"isAuthenticationFailed"` EnableEmailOTP bool `json:"enableEmailOTP"` IsDeliveryFailed bool `json:"isDeliveryFailed"` IsViewed bool `json:"isViewed"` Order int `json:"order"` SignerType string `json:"signerType"` IsReassigned bool `json:"isReassigned"` PrivateMessage string `json:"privateMessage"` FormFields []map[string]interface{} `json:"formFields"` HostEmail string `json:"hostEmail"` HostName string `json:"hostName"` }
type EmbeddedDocumentRequest ¶
type EmbeddedDocumentRequest struct { Title string `form_field:"Title"` Message string `form_field:"Message"` RedirectUrl string `form_field:"RedirectUrl"` Signers []DocumentSigner `form_field:"Signers"` Files []string `form_field:"Files"` EnableSigningOrder bool `form_field:"EnableSigningOrder"` SendViewOption string `form_field:"SendViewOption"` BrandId string `form_field:"BrandId"` OnBehalfOf string `form_field:"OnBehalfOf"` SendLinkValidTill string `form_field:"SendLinkValidTill"` ShowToolbar bool `form_field:"ShowToolbar"` ShowSaveButton bool `form_field:"ShowSaveButton"` ShowPreviewButton bool `form_field:"ShowPreviewButton"` ShowSendButton bool `form_field:"ShowSendButton"` EnableReassign bool `form_field:"EnableReassign"` EnablePrintAndSign bool `form_field:"EnablePrintAndSign"` UseTextTags bool `form_field:"UseTextTags"` DisableExpiryAlert bool `form_field:"DisableExpiryAlert"` EnableEmbeddedSigning bool `form_field:"EnableEmbeddedSigning"` HideDocumentId bool `form_field:"HideDocumentId"` DisableEmails bool `form_field:"DisableEmails"` ExpiryDays int `form_field:"ExpiryDays"` ReminderSettings ReminderSettings `form_field:"ReminderSettings"` Description string `form_field:"Description"` DocumentTitle string `form_field:"DocumentTitle"` DocumentMessage string `form_field:"DocumentMessage"` ViewOption string `form_field:"ViewOption"` AllowNewFiles bool `form_field:"AllowNewFiles"` AllowModifyFiles bool `form_field:"AllowModifyFiles"` LinkValidTill string `form_field:"LinkValidTill"` ShowTooltip bool `form_field:"ShowTooltip"` AutoDetectFields bool `form_field:"autoDetectFields"` AllowMessageEditing bool `form_field:"AllowMessageEditing"` Roles []TemplateRole `form_field:"Roles" json:"roles,omitempty"` TemplateIds []string `form_field:"templateIds"` }
func (*EmbeddedDocumentRequest) GetFiles ¶
func (e *EmbeddedDocumentRequest) GetFiles() []string
GetFile returns File
func (*EmbeddedDocumentRequest) GetMessage ¶
func (e *EmbeddedDocumentRequest) GetMessage() string
func (*EmbeddedDocumentRequest) GetRedirectUrl ¶
func (e *EmbeddedDocumentRequest) GetRedirectUrl() string
func (*EmbeddedDocumentRequest) GetRoles ¶ added in v1.1.13
func (e *EmbeddedDocumentRequest) GetRoles() []TemplateRole
func (*EmbeddedDocumentRequest) GetSigners ¶
func (e *EmbeddedDocumentRequest) GetSigners() []DocumentSigner
GetSignerRoles returns Signers
func (*EmbeddedDocumentRequest) GetTemplateIds ¶ added in v1.1.18
func (e *EmbeddedDocumentRequest) GetTemplateIds() []string
func (*EmbeddedDocumentRequest) GetTitle ¶
func (e *EmbeddedDocumentRequest) GetTitle() string
type EmbeddedSendCreated ¶
type EmbeddedSendCreated struct { DocumentId string `json:"documentId,omitempty"` SendUrl string `json:"sendUrl,omitempty"` }
func (*EmbeddedSendCreated) GetDocumentId ¶
func (e *EmbeddedSendCreated) GetDocumentId() string
GetDocumentId returns DocumentId
func (*EmbeddedSendCreated) GetSendUrl ¶
func (e *EmbeddedSendCreated) GetSendUrl() string
GetSendUrl returns SendUrl
type EmbeddedSigningLink ¶ added in v1.0.6
type EmbeddedSigningLink struct {
SignLink string `json:"signLink"`
}
func (*EmbeddedSigningLink) GetSignLink ¶ added in v1.0.6
func (s *EmbeddedSigningLink) GetSignLink() string
type EmbeddedTemplateCreated ¶ added in v1.1.13
type EmbeddedTemplateCreated struct { TemplateId string `json:"templateId,omitempty"` CreateUrl string `json:"createUrl,omitempty"` EditUrl string `json:"editUrl,omitempty"` }
func (*EmbeddedTemplateCreated) GetCreateUrl ¶ added in v1.1.13
func (e *EmbeddedTemplateCreated) GetCreateUrl() string
GetCreateUrl returns CreateUrl
func (*EmbeddedTemplateCreated) GetTemplateId ¶ added in v1.1.13
func (e *EmbeddedTemplateCreated) GetTemplateId() string
GetTemplateId returns TemplateId
type ErrorResponse ¶
type Event ¶ added in v1.0.4
type Event struct { Event *EventData `json:"event"` Data *DocumentProperties `json:"data"` }
type ReminderSettings ¶ added in v1.0.1
type SenderCreateRequest ¶ added in v1.1.5
type SenderCreated ¶ added in v1.1.5
type SenderCreated struct {
ID string `json:"senderIdentityId"`
}
type SenderDetail ¶ added in v1.0.1
type SenderIdentities ¶ added in v1.1.6
type SenderIdentities []SenderIdentityDetail
type SenderIdentitiesResponse ¶ added in v1.1.6
type SenderIdentitiesResponse struct { Result SenderIdentities `json:"result"` PageDetails map[string]interface{} `json:"pageDetails"` }
type SenderIdentityDetail ¶ added in v1.1.6
type SenderIdentityDetail struct { Status string `json:"status"` Name string `json:"name"` Email string `json:"email"` CreatedBy string `json:"createdBy"` ApprovedDate string `json:"approvedDate"` }
func (*SenderIdentityDetail) IsVerified ¶ added in v1.1.6
func (s *SenderIdentityDetail) IsVerified() bool
type SenderUpdateRequest ¶ added in v1.1.5
type SenderUpdateRequest struct {
Name string `json:"name"`
}
type TemplateRole ¶ added in v1.1.13
type TemplateRole struct { Name string `json:"name,omitempty"` Index int `json:"index,omitempty"` DefaultSignerName string `json:"defaultSignerName,omitempty"` DefaultSignerEmail string `json:"defaultSignerEmail,omitempty"` SignerOrder int `json:"signerOrder,omitempty"` SignerType string `json:"signerType,omitempty"` RoleIndex int `json:"roleIndex,omitempty"` SignerName string `json:"SignerName,omitempty"` SignerEmail string `json:"SignerEmail,omitempty"` PrivateMessage string `json:"privateMessage,omitempty"` AuthenticationCode string `json:"authenticationCode,omitempty"` EnableEmailOTP bool `json:"enableEmailOTP,omitempty"` SignerRole string `json:"signerRole,omitempty"` }
func (*TemplateRole) GetDefaultSignerEmail ¶ added in v1.1.14
func (s *TemplateRole) GetDefaultSignerEmail() string
func (*TemplateRole) GetDefaultSignerName ¶ added in v1.1.14
func (s *TemplateRole) GetDefaultSignerName() string
func (*TemplateRole) GetIndex ¶ added in v1.1.13
func (s *TemplateRole) GetIndex() int
func (*TemplateRole) GetName ¶ added in v1.1.13
func (s *TemplateRole) GetName() string
func (*TemplateRole) GetSignerOrder ¶ added in v1.1.14
func (s *TemplateRole) GetSignerOrder() int
func (*TemplateRole) GetSignerType ¶ added in v1.1.14
func (s *TemplateRole) GetSignerType() string
func (*TemplateRole) Scan ¶ added in v1.1.16
func (tr *TemplateRole) Scan(value interface{}) error
Implement a custom scanner for TemplateRole slice
Click to show internal directories.
Click to hide internal directories.