Documentation ¶
Overview ¶
Package templates implements the DocuSign SDK category Templates.
Use the Templates category to manage your account's templates.
This section shows you how to perform the following tasks:
* Create, list, get, update, and delete templates. * Manage the notification and group sharing settings for templates. * Fetch and rotate pages from a document used by a template.
You can create templates either programmatically or through the DocuSign web interface and then used by your application.
Service Api documentation may be found at: https://developers.docusign.com/docs/esign-rest-api/reference/Templates Usage example:
import ( "github.com/jfcote87/esign" "github.com/jfcote87/esign/v2.1/model" ) ... templatesService := templates.New(esignCredential)
Index ¶
- type BulkRecipientsDeleteOp
- type BulkRecipientsListOp
- type CreateOp
- type CustomFieldsCreateOp
- type CustomFieldsDeleteOp
- type CustomFieldsListOp
- type CustomFieldsUpdateOp
- type DeleteDocumentPageOp
- type DeleteGroupShareOp
- type DocumentFieldsCreateOp
- type DocumentFieldsDeleteOp
- type DocumentFieldsListOp
- type DocumentFieldsUpdateOp
- type DocumentHTMLDefinitionsListOp
- type DocumentResponsiveHTMLPreviewCreateOp
- type DocumentTabsCreateOp
- type DocumentTabsDeleteOp
- type DocumentTabsGetByPageOp
- type DocumentTabsGetOp
- type DocumentTabsUpdateOp
- type DocumentVisibilityGetOp
- type DocumentVisibilityUpdateListOp
- type DocumentVisibilityUpdateOp
- type DocumentsDeleteOp
- type DocumentsGetOp
- type DocumentsListOp
- type DocumentsUpdateListOp
- type DocumentsUpdateOp
- type GetDocumentPageImageOp
- func (op *GetDocumentPageImageOp) Do(ctx context.Context) (*esign.Download, error)
- func (op *GetDocumentPageImageOp) Dpi(val int) *GetDocumentPageImageOp
- func (op *GetDocumentPageImageOp) MaxHeight(val int) *GetDocumentPageImageOp
- func (op *GetDocumentPageImageOp) MaxWidth(val int) *GetDocumentPageImageOp
- func (op *GetDocumentPageImageOp) ShowChanges() *GetDocumentPageImageOp
- type GetNotificationSettingsOp
- type GetOp
- type GetPageImagesOp
- func (op *GetPageImagesOp) Count(val int) *GetPageImagesOp
- func (op *GetPageImagesOp) Do(ctx context.Context) (*model.PageImages, error)
- func (op *GetPageImagesOp) Dpi(val int) *GetPageImagesOp
- func (op *GetPageImagesOp) MaxHeight(val int) *GetPageImagesOp
- func (op *GetPageImagesOp) MaxWidth(val int) *GetPageImagesOp
- func (op *GetPageImagesOp) Nocache() *GetPageImagesOp
- func (op *GetPageImagesOp) ShowChanges() *GetPageImagesOp
- func (op *GetPageImagesOp) StartPosition(val int) *GetPageImagesOp
- type HTMLDefinitionsListOp
- type ListOp
- func (op *ListOp) Count(val int) *ListOp
- func (op *ListOp) CreatedFromDate(val string) *ListOp
- func (op *ListOp) CreatedToDate(val string) *ListOp
- func (op *ListOp) Do(ctx context.Context) (*model.EnvelopeTemplateResults, error)
- func (op *ListOp) FolderIds(val ...string) *ListOp
- func (op *ListOp) FolderTypes(val string) *ListOp
- func (op *ListOp) FromDate(val time.Time) *ListOp
- func (op *ListOp) Include(val ...string) *ListOp
- func (op *ListOp) IsDeletedTemplateOnly(val string) *ListOp
- func (op *ListOp) IsDownload(val string) *ListOp
- func (op *ListOp) ModifiedFromDate(val time.Time) *ListOp
- func (op *ListOp) ModifiedToDate(val time.Time) *ListOp
- func (op *ListOp) Order(val string) *ListOp
- func (op *ListOp) OrderBy(val string) *ListOp
- func (op *ListOp) SearchFields(val string) *ListOp
- func (op *ListOp) SearchText(val string) *ListOp
- func (op *ListOp) SharedByMe(val string) *ListOp
- func (op *ListOp) StartPosition(val int) *ListOp
- func (op *ListOp) TemplateIds(val string) *ListOp
- func (op *ListOp) ToDate(val time.Time) *ListOp
- func (op *ListOp) UsedFromDate(val time.Time) *ListOp
- func (op *ListOp) UsedToDate(val time.Time) *ListOp
- func (op *ListOp) UserFilter(val string) *ListOp
- func (op *ListOp) UserID(val string) *ListOp
- type LocksCreateOp
- type LocksDeleteOp
- type LocksGetOp
- type LocksUpdateOp
- type RecipientTabsCreateOp
- type RecipientTabsDeleteOp
- type RecipientTabsListOp
- type RecipientTabsUpdateOp
- type RecipientsCreateOp
- type RecipientsCreateTemplateRecipientPreviewOp
- type RecipientsDeleteListOp
- type RecipientsDeleteOp
- type RecipientsListOp
- type RecipientsUpdateOp
- type ResponsiveHTMLPreviewCreateOp
- type RotateDocumentPageOp
- type Service
- func (s *Service) BulkRecipientsDelete(recipientID string, templateID string) *BulkRecipientsDeleteOp
- func (s *Service) BulkRecipientsList(recipientID string, templateID string) *BulkRecipientsListOp
- func (s *Service) Create(envelopeTemplate *model.EnvelopeTemplate, uploads ...*esign.UploadFile) *CreateOp
- func (s *Service) CustomFieldsCreate(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsCreateOp
- func (s *Service) CustomFieldsDelete(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsDeleteOp
- func (s *Service) CustomFieldsList(templateID string) *CustomFieldsListOp
- func (s *Service) CustomFieldsUpdate(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsUpdateOp
- func (s *Service) DeleteDocumentPage(documentID string, pageNumber string, templateID string, ...) *DeleteDocumentPageOp
- func (s *Service) DeleteGroupShare(templateID string, templatePart string, ...) *DeleteGroupShareOp
- func (s *Service) DocumentFieldsCreate(documentID string, templateID string, ...) *DocumentFieldsCreateOp
- func (s *Service) DocumentFieldsDelete(documentID string, templateID string, ...) *DocumentFieldsDeleteOp
- func (s *Service) DocumentFieldsList(documentID string, templateID string) *DocumentFieldsListOp
- func (s *Service) DocumentFieldsUpdate(documentID string, templateID string, ...) *DocumentFieldsUpdateOp
- func (s *Service) DocumentHTMLDefinitionsList(documentID string, templateID string) *DocumentHTMLDefinitionsListOp
- func (s *Service) DocumentResponsiveHTMLPreviewCreate(documentID string, templateID string, ...) *DocumentResponsiveHTMLPreviewCreateOp
- func (s *Service) DocumentTabsCreate(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsCreateOp
- func (s *Service) DocumentTabsDelete(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsDeleteOp
- func (s *Service) DocumentTabsGet(documentID string, templateID string) *DocumentTabsGetOp
- func (s *Service) DocumentTabsGetByPage(documentID string, pageNumber string, templateID string) *DocumentTabsGetByPageOp
- func (s *Service) DocumentTabsUpdate(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsUpdateOp
- func (s *Service) DocumentVisibilityGet(recipientID string, templateID string) *DocumentVisibilityGetOp
- func (s *Service) DocumentVisibilityUpdate(recipientID string, templateID string, ...) *DocumentVisibilityUpdateOp
- func (s *Service) DocumentVisibilityUpdateList(templateID string, ...) *DocumentVisibilityUpdateListOp
- func (s *Service) DocumentsDelete(templateID string, envelopeDefinition *model.EnvelopeDefinition) *DocumentsDeleteOp
- func (s *Service) DocumentsGet(documentID string, templateID string) *DocumentsGetOp
- func (s *Service) DocumentsList(templateID string) *DocumentsListOp
- func (s *Service) DocumentsUpdate(documentID string, templateID string, ...) *DocumentsUpdateOp
- func (s *Service) DocumentsUpdateList(templateID string, envelopeDefinition *model.EnvelopeDefinition) *DocumentsUpdateListOp
- func (s *Service) Get(templateID string) *GetOp
- func (s *Service) GetDocumentPageImage(documentID string, pageNumber string, templateID string) *GetDocumentPageImageOp
- func (s *Service) GetNotificationSettings(templateID string) *GetNotificationSettingsOp
- func (s *Service) GetPageImages(documentID string, templateID string) *GetPageImagesOp
- func (s *Service) HTMLDefinitionsList(templateID string) *HTMLDefinitionsListOp
- func (s *Service) List() *ListOp
- func (s *Service) LocksCreate(templateID string, lockRequest *model.LockRequest) *LocksCreateOp
- func (s *Service) LocksDelete(templateID string, lockRequest *model.LockRequest) *LocksDeleteOp
- func (s *Service) LocksGet(templateID string) *LocksGetOp
- func (s *Service) LocksUpdate(templateID string, lockRequest *model.LockRequest) *LocksUpdateOp
- func (s *Service) RecipientTabsCreate(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsCreateOp
- func (s *Service) RecipientTabsDelete(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsDeleteOp
- func (s *Service) RecipientTabsList(recipientID string, templateID string) *RecipientTabsListOp
- func (s *Service) RecipientTabsUpdate(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsUpdateOp
- func (s *Service) RecipientsCreate(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsCreateOp
- func (s *Service) RecipientsCreateTemplateRecipientPreview(templateID string, recipientPreviewRequest *model.RecipientPreviewRequest) *RecipientsCreateTemplateRecipientPreviewOp
- func (s *Service) RecipientsDelete(recipientID string, templateID string, ...) *RecipientsDeleteOp
- func (s *Service) RecipientsDeleteList(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsDeleteListOp
- func (s *Service) RecipientsList(templateID string) *RecipientsListOp
- func (s *Service) RecipientsUpdate(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsUpdateOp
- func (s *Service) ResponsiveHTMLPreviewCreate(templateID string, documentHTMLDefinition *model.DocumentHTMLDefinition) *ResponsiveHTMLPreviewCreateOp
- func (s *Service) RotateDocumentPage(documentID string, pageNumber string, templateID string, ...) *RotateDocumentPageOp
- func (s *Service) Update(templateID string, envelopeTemplate *model.EnvelopeTemplate) *UpdateOp
- func (s *Service) UpdateGroupShare(templateID string, templatePart string, ...) *UpdateGroupShareOp
- func (s *Service) UpdateNotificationSettings(templateID string, ...) *UpdateNotificationSettingsOp
- func (s *Service) ViewsCreateEdit(templateID string, returnURLRequest *model.ReturnURLRequest) *ViewsCreateEditOp
- type UpdateGroupShareOp
- type UpdateNotificationSettingsOp
- type UpdateOp
- type ViewsCreateEditOp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkRecipientsDeleteOp ¶
BulkRecipientsDeleteOp implements DocuSign API SDK Templates::deleteBulkRecipients
func (*BulkRecipientsDeleteOp) Do ¶
func (op *BulkRecipientsDeleteOp) Do(ctx context.Context) (*model.BulkRecipientsUpdateResponse, error)
Do executes the op. A nil context will return error.
type BulkRecipientsListOp ¶
BulkRecipientsListOp implements DocuSign API SDK Templates::listBulkRecipients
func (*BulkRecipientsListOp) Do ¶
func (op *BulkRecipientsListOp) Do(ctx context.Context) (*model.BulkRecipientsResponse, error)
Do executes the op. A nil context will return error.
func (*BulkRecipientsListOp) IncludeTabs ¶
func (op *BulkRecipientsListOp) IncludeTabs() *BulkRecipientsListOp
IncludeTabs when **true,** the tab information associated with the recipient is included in the response. If you do not specify this parameter, the effect is the default behavior (**false**).
func (*BulkRecipientsListOp) StartPosition ¶
func (op *BulkRecipientsListOp) StartPosition(val int) *BulkRecipientsListOp
StartPosition is the zero-based index of the result from which to start returning results.
Use with `count` to limit the number of results.
The default value is `0`.
type CustomFieldsCreateOp ¶
CustomFieldsCreateOp implements DocuSign API SDK Templates::createCustomFields
func (*CustomFieldsCreateOp) Do ¶
func (op *CustomFieldsCreateOp) Do(ctx context.Context) (*model.CustomFields, error)
Do executes the op. A nil context will return error.
type CustomFieldsDeleteOp ¶
CustomFieldsDeleteOp implements DocuSign API SDK Templates::deleteCustomFields
func (*CustomFieldsDeleteOp) Do ¶
func (op *CustomFieldsDeleteOp) Do(ctx context.Context) (*model.CustomFields, error)
Do executes the op. A nil context will return error.
type CustomFieldsListOp ¶
CustomFieldsListOp implements DocuSign API SDK Templates::listCustomFields
func (*CustomFieldsListOp) Do ¶
func (op *CustomFieldsListOp) Do(ctx context.Context) (*model.CustomFields, error)
Do executes the op. A nil context will return error.
type CustomFieldsUpdateOp ¶
CustomFieldsUpdateOp implements DocuSign API SDK Templates::updateCustomFields
func (*CustomFieldsUpdateOp) Do ¶
func (op *CustomFieldsUpdateOp) Do(ctx context.Context) (*model.CustomFields, error)
Do executes the op. A nil context will return error.
type DeleteDocumentPageOp ¶
DeleteDocumentPageOp implements DocuSign API SDK Templates::deleteDocumentPage
type DeleteGroupShareOp ¶
DeleteGroupShareOp implements DocuSign API SDK Templates::deleteGroupShare
func (*DeleteGroupShareOp) Do ¶
func (op *DeleteGroupShareOp) Do(ctx context.Context) (*model.GroupInformation, error)
Do executes the op. A nil context will return error.
type DocumentFieldsCreateOp ¶
DocumentFieldsCreateOp implements DocuSign API SDK Templates::createDocumentFields
func (*DocumentFieldsCreateOp) Do ¶
func (op *DocumentFieldsCreateOp) Do(ctx context.Context) (*model.DocumentFieldsInformation, error)
Do executes the op. A nil context will return error.
type DocumentFieldsDeleteOp ¶
DocumentFieldsDeleteOp implements DocuSign API SDK Templates::deleteDocumentFields
func (*DocumentFieldsDeleteOp) Do ¶
func (op *DocumentFieldsDeleteOp) Do(ctx context.Context) (*model.DocumentFieldsInformation, error)
Do executes the op. A nil context will return error.
type DocumentFieldsListOp ¶
DocumentFieldsListOp implements DocuSign API SDK Templates::listDocumentFields
func (*DocumentFieldsListOp) Do ¶
func (op *DocumentFieldsListOp) Do(ctx context.Context) (*model.DocumentFieldsInformation, error)
Do executes the op. A nil context will return error.
type DocumentFieldsUpdateOp ¶
DocumentFieldsUpdateOp implements DocuSign API SDK Templates::updateDocumentFields
func (*DocumentFieldsUpdateOp) Do ¶
func (op *DocumentFieldsUpdateOp) Do(ctx context.Context) (*model.DocumentFieldsInformation, error)
Do executes the op. A nil context will return error.
type DocumentHTMLDefinitionsListOp ¶ added in v0.10.0
DocumentHTMLDefinitionsListOp implements DocuSign API SDK Templates::getTemplateDocumentHtmlDefinitions
func (*DocumentHTMLDefinitionsListOp) Do ¶ added in v0.10.0
func (op *DocumentHTMLDefinitionsListOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitionOriginals, error)
Do executes the op. A nil context will return error.
type DocumentResponsiveHTMLPreviewCreateOp ¶ added in v0.10.0
DocumentResponsiveHTMLPreviewCreateOp implements DocuSign API SDK Templates::createTemplateDocumentResponsiveHtmlPreview
func (*DocumentResponsiveHTMLPreviewCreateOp) Do ¶ added in v0.10.0
func (op *DocumentResponsiveHTMLPreviewCreateOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitions, error)
Do executes the op. A nil context will return error.
type DocumentTabsCreateOp ¶ added in v0.10.0
DocumentTabsCreateOp implements DocuSign API SDK Templates::postDocumentTabs
type DocumentTabsDeleteOp ¶ added in v0.10.0
DocumentTabsDeleteOp implements DocuSign API SDK Templates::deleteDocumentTabs
type DocumentTabsGetByPageOp ¶
DocumentTabsGetByPageOp implements DocuSign API SDK Templates::getPageTabs
type DocumentTabsGetOp ¶
DocumentTabsGetOp implements DocuSign API SDK Templates::getDocumentTabs
func (*DocumentTabsGetOp) PageNumbers ¶
func (op *DocumentTabsGetOp) PageNumbers(val string) *DocumentTabsGetOp
PageNumbers filters for tabs that occur on the pages that you specify. Enter as a comma-separated list of page Guids.
Example: `page_numbers=2,6`
type DocumentTabsUpdateOp ¶ added in v0.10.0
DocumentTabsUpdateOp implements DocuSign API SDK Templates::putDocumentTabs
type DocumentVisibilityGetOp ¶ added in v0.10.0
DocumentVisibilityGetOp implements DocuSign API SDK Templates::getTemplateRecipientDocumentVisibility
func (*DocumentVisibilityGetOp) Do ¶ added in v0.10.0
func (op *DocumentVisibilityGetOp) Do(ctx context.Context) (*model.DocumentVisibilityList, error)
Do executes the op. A nil context will return error.
type DocumentVisibilityUpdateListOp ¶ added in v0.10.0
DocumentVisibilityUpdateListOp implements DocuSign API SDK Templates::updateTemplateRecipientsDocumentVisibility
func (*DocumentVisibilityUpdateListOp) Do ¶ added in v0.10.0
func (op *DocumentVisibilityUpdateListOp) Do(ctx context.Context) (*model.TemplateDocumentVisibilityList, error)
Do executes the op. A nil context will return error.
type DocumentVisibilityUpdateOp ¶ added in v0.10.0
DocumentVisibilityUpdateOp implements DocuSign API SDK Templates::updateTemplateRecipientDocumentVisibility
func (*DocumentVisibilityUpdateOp) Do ¶ added in v0.10.0
func (op *DocumentVisibilityUpdateOp) Do(ctx context.Context) (*model.TemplateDocumentVisibilityList, error)
Do executes the op. A nil context will return error.
type DocumentsDeleteOp ¶
DocumentsDeleteOp implements DocuSign API SDK Templates::deleteDocuments
func (*DocumentsDeleteOp) Do ¶
func (op *DocumentsDeleteOp) Do(ctx context.Context) (*model.TemplateDocumentsResult, error)
Do executes the op. A nil context will return error.
type DocumentsGetOp ¶
DocumentsGetOp implements DocuSign API SDK Templates::getDocument
func (*DocumentsGetOp) Encrypt ¶
func (op *DocumentsGetOp) Encrypt() *DocumentsGetOp
Encrypt when **true,** the PDF bytes returned in the response are encrypted for all the key managers configured on your DocuSign account. You can decrypt the documents by using the Key Manager DecryptDocument API method. For more information about Key Manager, see the DocuSign Security Appliance Installation Guide that your organization received from DocuSign.
func (*DocumentsGetOp) ShowChanges ¶
func (op *DocumentsGetOp) ShowChanges() *DocumentsGetOp
ShowChanges when **true,** any document fields that a recipient changed are highlighted in yellow in the returned PDF document, and optional signatures or initials are outlined in red.
type DocumentsListOp ¶
DocumentsListOp implements DocuSign API SDK Templates::listDocuments
func (*DocumentsListOp) Do ¶
func (op *DocumentsListOp) Do(ctx context.Context) (*model.TemplateDocumentsResult, error)
Do executes the op. A nil context will return error.
func (*DocumentsListOp) IncludeTabs ¶
func (op *DocumentsListOp) IncludeTabs(val string) *DocumentsListOp
IncludeTabs reserved for DocuSign.
type DocumentsUpdateListOp ¶
DocumentsUpdateListOp implements DocuSign API SDK Templates::updateDocuments
func (*DocumentsUpdateListOp) Do ¶
func (op *DocumentsUpdateListOp) Do(ctx context.Context) (*model.TemplateDocumentsResult, error)
Do executes the op. A nil context will return error.
type DocumentsUpdateOp ¶
DocumentsUpdateOp implements DocuSign API SDK Templates::updateDocument
func (*DocumentsUpdateOp) Do ¶
func (op *DocumentsUpdateOp) Do(ctx context.Context) (*model.EnvelopeDocument, error)
Do executes the op. A nil context will return error.
func (*DocumentsUpdateOp) IsEnvelopeDefinition ¶
func (op *DocumentsUpdateOp) IsEnvelopeDefinition() *DocumentsUpdateOp
IsEnvelopeDefinition set the call query parameter is_envelope_definition
type GetDocumentPageImageOp ¶
GetDocumentPageImageOp implements DocuSign API SDK Templates::getDocumentPageImage
func (*GetDocumentPageImageOp) Dpi ¶
func (op *GetDocumentPageImageOp) Dpi(val int) *GetDocumentPageImageOp
Dpi is the number of dots per inch (DPI) for the resulting images. Valid values are 1-310 DPI. The default value is 94.
func (*GetDocumentPageImageOp) MaxHeight ¶
func (op *GetDocumentPageImageOp) MaxHeight(val int) *GetDocumentPageImageOp
MaxHeight sets the maximum height of the returned images in pixels.
func (*GetDocumentPageImageOp) MaxWidth ¶
func (op *GetDocumentPageImageOp) MaxWidth(val int) *GetDocumentPageImageOp
MaxWidth sets the maximum width of the returned images in pixels.
func (*GetDocumentPageImageOp) ShowChanges ¶
func (op *GetDocumentPageImageOp) ShowChanges() *GetDocumentPageImageOp
ShowChanges set the call query parameter show_changes
type GetNotificationSettingsOp ¶
GetNotificationSettingsOp implements DocuSign API SDK Templates::getNotificationSettings
func (*GetNotificationSettingsOp) Do ¶
func (op *GetNotificationSettingsOp) Do(ctx context.Context) (*model.Notification, error)
Do executes the op. A nil context will return error.
type GetOp ¶
GetOp implements DocuSign API SDK Templates::get
func (*GetOp) Include ¶
Include is a comma-separated list of additional template attributes to include in the response. Valid values are:
- `powerforms`: Includes information about PowerForms. - `tabs`: Includes information about tabs. - `documents`: Includes information about documents. - `favorite_template_status`: : Includes the template `favoritedByMe` property in the response. **Note:** You can mark a template as a favorite only in eSignature v2.1.
type GetPageImagesOp ¶
GetPageImagesOp implements DocuSign API SDK Templates::getDocumentPageImages
func (*GetPageImagesOp) Count ¶
func (op *GetPageImagesOp) Count(val int) *GetPageImagesOp
Count is the maximum number of results to return.
func (*GetPageImagesOp) Do ¶
func (op *GetPageImagesOp) Do(ctx context.Context) (*model.PageImages, error)
Do executes the op. A nil context will return error.
func (*GetPageImagesOp) Dpi ¶
func (op *GetPageImagesOp) Dpi(val int) *GetPageImagesOp
Dpi is the number of dots per inch (DPI) for the resulting images. Valid values are 1-310 DPI. The default value is 94.
func (*GetPageImagesOp) MaxHeight ¶
func (op *GetPageImagesOp) MaxHeight(val int) *GetPageImagesOp
MaxHeight sets the maximum height of the returned images in pixels.
func (*GetPageImagesOp) MaxWidth ¶
func (op *GetPageImagesOp) MaxWidth(val int) *GetPageImagesOp
MaxWidth sets the maximum width of the returned images in pixels.
func (*GetPageImagesOp) Nocache ¶
func (op *GetPageImagesOp) Nocache() *GetPageImagesOp
Nocache when **true,** using cache is disabled and image information is retrieved from a database. **True** is the default value.
func (*GetPageImagesOp) ShowChanges ¶
func (op *GetPageImagesOp) ShowChanges() *GetPageImagesOp
ShowChanges when **true,** changes display in the user interface.
func (*GetPageImagesOp) StartPosition ¶
func (op *GetPageImagesOp) StartPosition(val int) *GetPageImagesOp
StartPosition is the position within the total result set from which to start returning values. The value **thumbnail** may be used to return the page image.
type HTMLDefinitionsListOp ¶ added in v0.10.0
HTMLDefinitionsListOp implements DocuSign API SDK Templates::getTemplateHtmlDefinitions
func (*HTMLDefinitionsListOp) Do ¶ added in v0.10.0
func (op *HTMLDefinitionsListOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitionOriginals, error)
Do executes the op. A nil context will return error.
type ListOp ¶
ListOp implements DocuSign API SDK Templates::ListTemplates
func (*ListOp) Count ¶
Count is the maximum number of results to return.
Use `start_position` to specify the number of results to skip.
func (*ListOp) CreatedFromDate ¶
CreatedFromDate lists templates created on or after this date.
func (*ListOp) CreatedToDate ¶
CreatedToDate lists templates modified before this date.
func (*ListOp) FolderTypes ¶
FolderTypes is the type of folder to return templates for. Possible values are:
- `templates`: Templates in the **My Templates** folder. Templates in the **Shared Templates** and **All Template** folders (if the request ID from and Admin) are excluded.
- `templates_root`: Templates in the root level of the **My Templates** folder, but not in an actual folder. Note that the **My Templates** folder is not a real folder.
- `recylebin`: Templates that have been deleted.
func (*ListOp) FromDate ¶
FromDate start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created.
func (*ListOp) Include ¶
Include is a comma-separated list of additional template attributes to include in the response. Valid values are:
- `powerforms`: Includes details about the PowerForms associated with the templates. - `documents`: Includes information about template documents. - `folders`: Includes information about the folder that holds the template. - `favorite_template_status`: Includes the template `favoritedByMe` property. **Note:** You can mark a template as a favorite only in eSignature v2.1. - `advanced_templates`: Includes information about advanced templates. - `recipients`: Includes information about template recipients. - `custom_fields`: Includes information about template custom fields. - `notifications`: Includes information about the notification settings for templates.
func (*ListOp) IsDeletedTemplateOnly ¶ added in v0.10.0
IsDeletedTemplateOnly set the call query parameter is_deleted_template_only
func (*ListOp) IsDownload ¶
IsDownload when **true,** downloads the templates listed in `template_ids` as a collection of JSON definitions in a single zip file.
The `Content-Disposition` header is set in the response. The value of the header provides the filename of the file.
The default is **false.**
**Note:** This parameter only works when you specify a list of templates in the `template_ids` parameter.
func (*ListOp) ModifiedFromDate ¶
ModifiedFromDate lists templates modified on or after this date.
func (*ListOp) ModifiedToDate ¶
ModifiedToDate lists templates modified before this date.
func (*ListOp) Order ¶
Order specifies the sort order of the search results. Valid values are:
- `asc`: Ascending (A to Z) - `desc`: Descending (Z to A)
func (*ListOp) OrderBy ¶
OrderBy specifies how the search results are listed. Valid values are:
- `name`: template name - `modified`: date/time template was last modified - `used`: date/time the template was last used.
func (*ListOp) SearchFields ¶
SearchFields is a comma-separated list of additional template properties to search.
- `sender`: Include sender name and email in the search. - `recipients`: Include recipient names and emails in the search. - `envelope`: Not used in template searches.
func (*ListOp) SearchText ¶
SearchText is the text to use to search the names of templates.
Limit: 48 characters.
func (*ListOp) SharedByMe ¶
SharedByMe when **true,** the response only includes templates shared by the user. If false, the response only returns template not shared by the user. If not specified, the response is not affected.
func (*ListOp) StartPosition ¶
StartPosition is the zero-based index of the result from which to start returning results.
Use with `count` to limit the number of results.
The default value is `0`.
func (*ListOp) TemplateIds ¶
TemplateIds is a comma-separated list of template IDs to download. This value is valid only when `is_download` is **true.**
func (*ListOp) ToDate ¶
ToDate is the end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned.
**Note:** If this property is null, the value defaults to the current date.
func (*ListOp) UsedFromDate ¶
UsedFromDate start of the search date range. Only returns templates used or edited on or after this date/time. If no value is specified, there is no limit on the earliest date used.
func (*ListOp) UsedToDate ¶
UsedToDate end of the search date range. Only returns templates used or edited up to this date/time. If no value is provided, this defaults to the current date.
func (*ListOp) UserFilter ¶
UserFilter filters the templates in the response. Valid values are:
- `owned_by_me`: Results include only templates owned by the user. - `shared_with_me`: Results include only templates owned by the user. - `all`: Results include all templates owned or shared with the user.
type LocksCreateOp ¶
LocksCreateOp implements DocuSign API SDK Templates::createLock
func (*LocksCreateOp) Do ¶
func (op *LocksCreateOp) Do(ctx context.Context) (*model.LockInformation, error)
Do executes the op. A nil context will return error.
type LocksDeleteOp ¶
LocksDeleteOp implements DocuSign API SDK Templates::deleteLock
func (*LocksDeleteOp) Do ¶
func (op *LocksDeleteOp) Do(ctx context.Context) (*model.LockInformation, error)
Do executes the op. A nil context will return error.
type LocksGetOp ¶
LocksGetOp implements DocuSign API SDK Templates::getLock
func (*LocksGetOp) Do ¶
func (op *LocksGetOp) Do(ctx context.Context) (*model.LockInformation, error)
Do executes the op. A nil context will return error.
type LocksUpdateOp ¶
LocksUpdateOp implements DocuSign API SDK Templates::updateLock
func (*LocksUpdateOp) Do ¶
func (op *LocksUpdateOp) Do(ctx context.Context) (*model.LockInformation, error)
Do executes the op. A nil context will return error.
type RecipientTabsCreateOp ¶
RecipientTabsCreateOp implements DocuSign API SDK Templates::createTabs
type RecipientTabsDeleteOp ¶
RecipientTabsDeleteOp implements DocuSign API SDK Templates::deleteTabs
type RecipientTabsListOp ¶
RecipientTabsListOp implements DocuSign API SDK Templates::listTabs
func (*RecipientTabsListOp) IncludeAnchorTabLocations ¶
func (op *RecipientTabsListOp) IncludeAnchorTabLocations() *RecipientTabsListOp
IncludeAnchorTabLocations when **true,** all tabs with anchor tab properties are included in the response. The default value is **false.**
func (*RecipientTabsListOp) IncludeMetadata ¶
func (op *RecipientTabsListOp) IncludeMetadata(val string) *RecipientTabsListOp
IncludeMetadata when **true,** the response includes metadata indicating which properties are editable.
type RecipientTabsUpdateOp ¶
RecipientTabsUpdateOp implements DocuSign API SDK Templates::updateTabs
type RecipientsCreateOp ¶
RecipientsCreateOp implements DocuSign API SDK Templates::createRecipients
func (*RecipientsCreateOp) Do ¶
func (op *RecipientsCreateOp) Do(ctx context.Context) (*model.Recipients, error)
Do executes the op. A nil context will return error.
func (*RecipientsCreateOp) ResendEnvelope ¶
func (op *RecipientsCreateOp) ResendEnvelope() *RecipientsCreateOp
ResendEnvelope when **true,** resends the envelope to the recipients that you specify in the request body. Use this parameter to resend the envelope to a recipient who deleted the original email notification.
**Note:** Correcting an envelope is a different process. DocuSign always resends an envelope when you correct it, regardless of the value that you enter here.
type RecipientsCreateTemplateRecipientPreviewOp ¶ added in v0.10.0
RecipientsCreateTemplateRecipientPreviewOp implements DocuSign API SDK Templates::createTemplateRecipientPreview
type RecipientsDeleteListOp ¶
RecipientsDeleteListOp implements DocuSign API SDK Templates::deleteRecipients
func (*RecipientsDeleteListOp) Do ¶
func (op *RecipientsDeleteListOp) Do(ctx context.Context) (*model.Recipients, error)
Do executes the op. A nil context will return error.
type RecipientsDeleteOp ¶
RecipientsDeleteOp implements DocuSign API SDK Templates::deleteRecipient
func (*RecipientsDeleteOp) Do ¶
func (op *RecipientsDeleteOp) Do(ctx context.Context) (*model.Recipients, error)
Do executes the op. A nil context will return error.
type RecipientsListOp ¶
RecipientsListOp implements DocuSign API SDK Templates::listRecipients
func (*RecipientsListOp) Do ¶
func (op *RecipientsListOp) Do(ctx context.Context) (*model.Recipients, error)
Do executes the op. A nil context will return error.
func (*RecipientsListOp) IncludeAnchorTabLocations ¶
func (op *RecipientsListOp) IncludeAnchorTabLocations() *RecipientsListOp
IncludeAnchorTabLocations when **true** and `include_tabs` is set to **true,** all tabs with anchor tab properties are included in the response.
func (*RecipientsListOp) IncludeExtended ¶
func (op *RecipientsListOp) IncludeExtended() *RecipientsListOp
IncludeExtended when **true,** the extended properties are included in the response.
func (*RecipientsListOp) IncludeTabs ¶
func (op *RecipientsListOp) IncludeTabs() *RecipientsListOp
IncludeTabs when **true,** the tab information associated with the recipient is included in the response.
type RecipientsUpdateOp ¶
RecipientsUpdateOp implements DocuSign API SDK Templates::updateRecipients
func (*RecipientsUpdateOp) Do ¶
func (op *RecipientsUpdateOp) Do(ctx context.Context) (*model.RecipientsUpdateSummary, error)
Do executes the op. A nil context will return error.
func (*RecipientsUpdateOp) ResendEnvelope ¶
func (op *RecipientsUpdateOp) ResendEnvelope() *RecipientsUpdateOp
ResendEnvelope when **true,** resends the envelope to the recipients that you specify in the request body. Use this parameter to resend the envelope to a recipient who deleted the original email notification.
**Note:** Correcting an envelope is a different process. DocuSign always resends an envelope when you correct it, regardless of the value that you enter here.
type ResponsiveHTMLPreviewCreateOp ¶ added in v0.10.0
ResponsiveHTMLPreviewCreateOp implements DocuSign API SDK Templates::createTemplateResponsiveHtmlPreview
func (*ResponsiveHTMLPreviewCreateOp) Do ¶ added in v0.10.0
func (op *ResponsiveHTMLPreviewCreateOp) Do(ctx context.Context) (*model.DocumentHTMLDefinitions, error)
Do executes the op. A nil context will return error.
type RotateDocumentPageOp ¶
RotateDocumentPageOp implements DocuSign API SDK Templates::rotateDocumentPage
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements DocuSign Templates API operations
func New ¶
func New(cred esign.Credential) *Service
New initializes a templates service using cred to authorize ops.
func (*Service) BulkRecipientsDelete ¶
func (s *Service) BulkRecipientsDelete(recipientID string, templateID string) *BulkRecipientsDeleteOp
BulkRecipientsDelete deletes the bulk recipient list on a template.
SDK Method Templates::deleteBulkRecipients
func (*Service) BulkRecipientsList ¶
func (s *Service) BulkRecipientsList(recipientID string, templateID string) *BulkRecipientsListOp
BulkRecipientsList gets the bulk recipient file from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatebulkrecipients/list
SDK Method Templates::listBulkRecipients
func (*Service) Create ¶
func (s *Service) Create(envelopeTemplate *model.EnvelopeTemplate, uploads ...*esign.UploadFile) *CreateOp
Create creates one or more templates. If any uploads[x].Reader is an io.ReadCloser(s), Do() will always close Reader.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/create
SDK Method Templates::createTemplate
func (*Service) CustomFieldsCreate ¶
func (s *Service) CustomFieldsCreate(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsCreateOp
CustomFieldsCreate creates custom document fields in an existing template document.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/create
SDK Method Templates::createCustomFields
func (*Service) CustomFieldsDelete ¶
func (s *Service) CustomFieldsDelete(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsDeleteOp
CustomFieldsDelete deletes envelope custom fields in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/delete
SDK Method Templates::deleteCustomFields
func (*Service) CustomFieldsList ¶
func (s *Service) CustomFieldsList(templateID string) *CustomFieldsListOp
CustomFieldsList gets the custom document fields from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/list
SDK Method Templates::listCustomFields
func (*Service) CustomFieldsUpdate ¶
func (s *Service) CustomFieldsUpdate(templateID string, templateCustomFields *model.TemplateCustomFields) *CustomFieldsUpdateOp
CustomFieldsUpdate updates envelope custom fields in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatecustomfields/update
SDK Method Templates::updateCustomFields
func (*Service) DeleteDocumentPage ¶
func (s *Service) DeleteDocumentPage(documentID string, pageNumber string, templateID string, pageRequest *model.PageRequest) *DeleteDocumentPageOp
DeleteDocumentPage deletes a page from a document in an template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/deletedocumentpage
SDK Method Templates::deleteDocumentPage
func (*Service) DeleteGroupShare ¶
func (s *Service) DeleteGroupShare(templateID string, templatePart string, groupInformation *model.GroupInformation) *DeleteGroupShareOp
DeleteGroupShare removes a member group's sharing permissions for a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/deletegroupshare
SDK Method Templates::deleteGroupShare
func (*Service) DocumentFieldsCreate ¶
func (s *Service) DocumentFieldsCreate(documentID string, templateID string, documentFieldsInformation *model.DocumentFieldsInformation) *DocumentFieldsCreateOp
DocumentFieldsCreate creates custom document fields in an existing template document.
SDK Method Templates::createDocumentFields
func (*Service) DocumentFieldsDelete ¶
func (s *Service) DocumentFieldsDelete(documentID string, templateID string, documentFieldsInformation *model.DocumentFieldsInformation) *DocumentFieldsDeleteOp
DocumentFieldsDelete deletes custom document fields from an existing template document.
SDK Method Templates::deleteDocumentFields
func (*Service) DocumentFieldsList ¶
func (s *Service) DocumentFieldsList(documentID string, templateID string) *DocumentFieldsListOp
DocumentFieldsList gets the custom document fields for a an existing template document.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocumentfields/list
SDK Method Templates::listDocumentFields
func (*Service) DocumentFieldsUpdate ¶
func (s *Service) DocumentFieldsUpdate(documentID string, templateID string, documentFieldsInformation *model.DocumentFieldsInformation) *DocumentFieldsUpdateOp
DocumentFieldsUpdate updates existing custom document fields in an existing template document.
SDK Method Templates::updateDocumentFields
func (*Service) DocumentHTMLDefinitionsList ¶ added in v0.10.0
func (s *Service) DocumentHTMLDefinitionsList(documentID string, templateID string) *DocumentHTMLDefinitionsListOp
DocumentHTMLDefinitionsList gets the Original HTML Definition used to generate the Responsive HTML for a given document in a template.
SDK Method Templates::getTemplateDocumentHtmlDefinitions
func (*Service) DocumentResponsiveHTMLPreviewCreate ¶ added in v0.10.0
func (s *Service) DocumentResponsiveHTMLPreviewCreate(documentID string, templateID string, documentHTMLDefinition *model.DocumentHTMLDefinition) *DocumentResponsiveHTMLPreviewCreateOp
DocumentResponsiveHTMLPreviewCreate creates a preview of the responsive version of a template document.
SDK Method Templates::createTemplateDocumentResponsiveHtmlPreview
func (*Service) DocumentTabsCreate ¶ added in v0.10.0
func (s *Service) DocumentTabsCreate(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsCreateOp
DocumentTabsCreate adds tabs to a document in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocumenttabs/create
SDK Method Templates::postDocumentTabs
func (*Service) DocumentTabsDelete ¶ added in v0.10.0
func (s *Service) DocumentTabsDelete(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsDeleteOp
DocumentTabsDelete deletes tabs from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocumenttabs/delete
SDK Method Templates::deleteDocumentTabs
func (*Service) DocumentTabsGet ¶
func (s *Service) DocumentTabsGet(documentID string, templateID string) *DocumentTabsGetOp
DocumentTabsGet returns tabs on a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocumenttabs/get
SDK Method Templates::getDocumentTabs
func (*Service) DocumentTabsGetByPage ¶
func (s *Service) DocumentTabsGetByPage(documentID string, pageNumber string, templateID string) *DocumentTabsGetByPageOp
DocumentTabsGetByPage returns tabs on the specified page.
SDK Method Templates::getPageTabs
func (*Service) DocumentTabsUpdate ¶ added in v0.10.0
func (s *Service) DocumentTabsUpdate(documentID string, templateID string, templateTabs *model.TemplateTabs) *DocumentTabsUpdateOp
DocumentTabsUpdate updates the tabs for a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocumenttabs/update
SDK Method Templates::putDocumentTabs
func (*Service) DocumentVisibilityGet ¶ added in v0.10.0
func (s *Service) DocumentVisibilityGet(recipientID string, templateID string) *DocumentVisibilityGetOp
DocumentVisibilityGet returns document visibility for a template recipient
SDK Method Templates::getTemplateRecipientDocumentVisibility
func (*Service) DocumentVisibilityUpdate ¶ added in v0.10.0
func (s *Service) DocumentVisibilityUpdate(recipientID string, templateID string, templateDocumentVisibilityList *model.TemplateDocumentVisibilityList) *DocumentVisibilityUpdateOp
DocumentVisibilityUpdate updates document visibility for a template recipient
SDK Method Templates::updateTemplateRecipientDocumentVisibility
func (*Service) DocumentVisibilityUpdateList ¶ added in v0.10.0
func (s *Service) DocumentVisibilityUpdateList(templateID string, templateDocumentVisibilityList *model.TemplateDocumentVisibilityList) *DocumentVisibilityUpdateListOp
DocumentVisibilityUpdateList updates document visibility for template recipients
SDK Method Templates::updateTemplateRecipientsDocumentVisibility
func (*Service) DocumentsDelete ¶
func (s *Service) DocumentsDelete(templateID string, envelopeDefinition *model.EnvelopeDefinition) *DocumentsDeleteOp
DocumentsDelete deletes documents from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocuments/delete
SDK Method Templates::deleteDocuments
func (*Service) DocumentsGet ¶
func (s *Service) DocumentsGet(documentID string, templateID string) *DocumentsGetOp
DocumentsGet gets PDF documents from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocuments/get
SDK Method Templates::getDocument
func (*Service) DocumentsList ¶
func (s *Service) DocumentsList(templateID string) *DocumentsListOp
DocumentsList gets a list of documents associated with a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocuments/list
SDK Method Templates::listDocuments
func (*Service) DocumentsUpdate ¶
func (s *Service) DocumentsUpdate(documentID string, templateID string, envelopeDefinition *model.EnvelopeDefinition) *DocumentsUpdateOp
DocumentsUpdate updates a template document.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocuments/update
SDK Method Templates::updateDocument
func (*Service) DocumentsUpdateList ¶
func (s *Service) DocumentsUpdateList(templateID string, envelopeDefinition *model.EnvelopeDefinition) *DocumentsUpdateListOp
DocumentsUpdateList adds documents to a template document.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatedocuments/updatelist
SDK Method Templates::updateDocuments
func (*Service) Get ¶
Get gets a specific template associated with a specified account.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/get
SDK Method Templates::get
func (*Service) GetDocumentPageImage ¶
func (s *Service) GetDocumentPageImage(documentID string, pageNumber string, templateID string) *GetDocumentPageImageOp
GetDocumentPageImage gets a page image from a template for display.
SDK Method Templates::getDocumentPageImage
func (*Service) GetNotificationSettings ¶
func (s *Service) GetNotificationSettings(templateID string) *GetNotificationSettingsOp
GetNotificationSettings gets template notification information.
SDK Method Templates::getNotificationSettings
func (*Service) GetPageImages ¶
func (s *Service) GetPageImages(documentID string, templateID string) *GetPageImagesOp
GetPageImages returns document page images based on input.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/getpageimages
SDK Method Templates::getDocumentPageImages
func (*Service) HTMLDefinitionsList ¶ added in v0.10.0
func (s *Service) HTMLDefinitionsList(templateID string) *HTMLDefinitionsListOp
HTMLDefinitionsList gets the Original HTML Definition used to generate the Responsive HTML for the template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatehtmldefinitions/list
SDK Method Templates::getTemplateHtmlDefinitions
func (*Service) List ¶
List gets the list of templates.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/list
SDK Method Templates::ListTemplates
func (*Service) LocksCreate ¶
func (s *Service) LocksCreate(templateID string, lockRequest *model.LockRequest) *LocksCreateOp
LocksCreate locks a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatelocks/create
SDK Method Templates::createLock
func (*Service) LocksDelete ¶
func (s *Service) LocksDelete(templateID string, lockRequest *model.LockRequest) *LocksDeleteOp
LocksDelete deletes a template lock.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatelocks/delete
SDK Method Templates::deleteLock
func (*Service) LocksGet ¶
func (s *Service) LocksGet(templateID string) *LocksGetOp
LocksGet gets template lock information.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatelocks/get
SDK Method Templates::getLock
func (*Service) LocksUpdate ¶
func (s *Service) LocksUpdate(templateID string, lockRequest *model.LockRequest) *LocksUpdateOp
LocksUpdate updates a template lock.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templatelocks/update
SDK Method Templates::updateLock
func (*Service) RecipientTabsCreate ¶
func (s *Service) RecipientTabsCreate(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsCreateOp
RecipientTabsCreate adds tabs for a recipient.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipienttabs/create
SDK Method Templates::createTabs
func (*Service) RecipientTabsDelete ¶
func (s *Service) RecipientTabsDelete(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsDeleteOp
RecipientTabsDelete deletes the tabs associated with a recipient in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipienttabs/delete
SDK Method Templates::deleteTabs
func (*Service) RecipientTabsList ¶
func (s *Service) RecipientTabsList(recipientID string, templateID string) *RecipientTabsListOp
RecipientTabsList gets the tabs information for a signer or sign-in-person recipient in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipienttabs/list
SDK Method Templates::listTabs
func (*Service) RecipientTabsUpdate ¶
func (s *Service) RecipientTabsUpdate(recipientID string, templateID string, templateTabs *model.TemplateTabs) *RecipientTabsUpdateOp
RecipientTabsUpdate updates the tabs for a recipient.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipienttabs/update
SDK Method Templates::updateTabs
func (*Service) RecipientsCreate ¶
func (s *Service) RecipientsCreate(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsCreateOp
RecipientsCreate adds tabs for a recipient.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipients/create
SDK Method Templates::createRecipients
func (*Service) RecipientsCreateTemplateRecipientPreview ¶ added in v0.10.0
func (s *Service) RecipientsCreateTemplateRecipientPreview(templateID string, recipientPreviewRequest *model.RecipientPreviewRequest) *RecipientsCreateTemplateRecipientPreviewOp
RecipientsCreateTemplateRecipientPreview creates a template recipient preview.
SDK Method Templates::createTemplateRecipientPreview
func (*Service) RecipientsDelete ¶
func (s *Service) RecipientsDelete(recipientID string, templateID string, templateRecipients *model.TemplateRecipients) *RecipientsDeleteOp
RecipientsDelete deletes the specified recipient file from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipients/delete
SDK Method Templates::deleteRecipient
func (*Service) RecipientsDeleteList ¶
func (s *Service) RecipientsDeleteList(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsDeleteListOp
RecipientsDeleteList deletes recipients from a template.
SDK Method Templates::deleteRecipients
func (*Service) RecipientsList ¶
func (s *Service) RecipientsList(templateID string) *RecipientsListOp
RecipientsList gets recipient information from a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipients/list
SDK Method Templates::listRecipients
func (*Service) RecipientsUpdate ¶
func (s *Service) RecipientsUpdate(templateID string, templateRecipients *model.TemplateRecipients) *RecipientsUpdateOp
RecipientsUpdate updates recipients in a template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templaterecipients/update
SDK Method Templates::updateRecipients
func (*Service) ResponsiveHTMLPreviewCreate ¶ added in v0.10.0
func (s *Service) ResponsiveHTMLPreviewCreate(templateID string, documentHTMLDefinition *model.DocumentHTMLDefinition) *ResponsiveHTMLPreviewCreateOp
ResponsiveHTMLPreviewCreate creates a preview of the responsive versions of all of the documents associated with a template.
SDK Method Templates::createTemplateResponsiveHtmlPreview
func (*Service) RotateDocumentPage ¶
func (s *Service) RotateDocumentPage(documentID string, pageNumber string, templateID string, pageRequest *model.PageRequest) *RotateDocumentPageOp
RotateDocumentPage rotates page image from a template for display.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/rotatedocumentpage
SDK Method Templates::rotateDocumentPage
func (*Service) Update ¶
func (s *Service) Update(templateID string, envelopeTemplate *model.EnvelopeTemplate) *UpdateOp
Update updates an existing template.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/update
SDK Method Templates::update
func (*Service) UpdateGroupShare ¶
func (s *Service) UpdateGroupShare(templateID string, templatePart string, groupInformation *model.GroupInformation) *UpdateGroupShareOp
UpdateGroupShare shares a template with a group.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templates/updategroupshare
SDK Method Templates::updateGroupShare
func (*Service) UpdateNotificationSettings ¶
func (s *Service) UpdateNotificationSettings(templateID string, templateNotificationRequest *model.TemplateNotificationRequest) *UpdateNotificationSettingsOp
UpdateNotificationSettings updates the notification structure for an existing template.
SDK Method Templates::updateNotificationSettings
func (*Service) ViewsCreateEdit ¶
func (s *Service) ViewsCreateEdit(templateID string, returnURLRequest *model.ReturnURLRequest) *ViewsCreateEditOp
ViewsCreateEdit gets a URL for a template edit view.
https://developers.docusign.com/docs/esign-rest-api/reference/templates/templateviews/createedit
SDK Method Templates::createEditView
type UpdateGroupShareOp ¶
UpdateGroupShareOp implements DocuSign API SDK Templates::updateGroupShare
func (*UpdateGroupShareOp) Do ¶
func (op *UpdateGroupShareOp) Do(ctx context.Context) (*model.GroupInformation, error)
Do executes the op. A nil context will return error.
type UpdateNotificationSettingsOp ¶
UpdateNotificationSettingsOp implements DocuSign API SDK Templates::updateNotificationSettings
func (*UpdateNotificationSettingsOp) Do ¶
func (op *UpdateNotificationSettingsOp) Do(ctx context.Context) (*model.Notification, error)
Do executes the op. A nil context will return error.