dropbox-sign 1.0.0.pre.beta2301 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -9
- data/bin/check-clean-git-status +15 -0
- data/examples/EventCallback.rb +1 -4
- data/lib/dropbox-sign/models/account_create_request.rb +4 -0
- data/lib/dropbox-sign/models/account_create_response.rb +3 -0
- data/lib/dropbox-sign/models/account_get_response.rb +2 -0
- data/lib/dropbox-sign/models/account_response.rb +10 -0
- data/lib/dropbox-sign/models/account_response_quotas.rb +5 -0
- data/lib/dropbox-sign/models/account_update_request.rb +3 -0
- data/lib/dropbox-sign/models/account_verify_request.rb +1 -0
- data/lib/dropbox-sign/models/account_verify_response.rb +2 -0
- data/lib/dropbox-sign/models/account_verify_response_account.rb +1 -0
- data/lib/dropbox-sign/models/api_app_create_request.rb +7 -0
- data/lib/dropbox-sign/models/api_app_get_response.rb +2 -0
- data/lib/dropbox-sign/models/api_app_list_response.rb +3 -0
- data/lib/dropbox-sign/models/api_app_response.rb +10 -0
- data/lib/dropbox-sign/models/api_app_response_o_auth.rb +4 -0
- data/lib/dropbox-sign/models/api_app_response_options.rb +1 -0
- data/lib/dropbox-sign/models/api_app_response_owner_account.rb +2 -0
- data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +14 -0
- data/lib/dropbox-sign/models/api_app_update_request.rb +7 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +4 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +24 -0
- data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +3 -0
- data/lib/dropbox-sign/models/bulk_send_job_response.rb +4 -0
- data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +2 -0
- data/lib/dropbox-sign/models/embedded_edit_url_request.rb +10 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response.rb +2 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +2 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response.rb +2 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +2 -0
- data/lib/dropbox-sign/models/error_response.rb +1 -0
- data/lib/dropbox-sign/models/error_response_error.rb +3 -0
- data/lib/dropbox-sign/models/event_callback_request.rb +4 -0
- data/lib/dropbox-sign/models/event_callback_request_event.rb +4 -0
- data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +4 -0
- data/lib/dropbox-sign/models/file_response.rb +2 -0
- data/lib/dropbox-sign/models/file_response_data_uri.rb +1 -0
- data/lib/dropbox-sign/models/list_info_response.rb +4 -0
- data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +5 -0
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +2 -0
- data/lib/dropbox-sign/models/o_auth_token_response.rb +5 -0
- data/lib/dropbox-sign/models/report_create_request.rb +3 -0
- data/lib/dropbox-sign/models/report_create_response.rb +2 -0
- data/lib/dropbox-sign/models/report_response.rb +4 -0
- data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +13 -0
- data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +13 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +24 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +15 -0
- data/lib/dropbox-sign/models/signature_request_get_response.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_list_response.rb +3 -0
- data/lib/dropbox-sign/models/signature_request_remind_request.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response.rb +23 -0
- data/lib/dropbox-sign/models/signature_request_response_attachment.rb +6 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +5 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_base.rb +5 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +2 -0
- data/lib/dropbox-sign/models/signature_request_response_signatures.rb +19 -0
- data/lib/dropbox-sign/models/signature_request_send_request.rb +25 -0
- data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +16 -0
- data/lib/dropbox-sign/models/signature_request_update_request.rb +4 -0
- data/lib/dropbox-sign/models/sub_attachment.rb +4 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +2 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +2 -0
- data/lib/dropbox-sign/models/sub_cc.rb +2 -0
- data/lib/dropbox-sign/models/sub_custom_field.rb +4 -0
- data/lib/dropbox-sign/models/sub_editor_options.rb +2 -0
- data/lib/dropbox-sign/models/sub_field_options.rb +1 -0
- data/lib/dropbox-sign/models/sub_form_field_group.rb +3 -0
- data/lib/dropbox-sign/models/sub_form_field_rule.rb +4 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +4 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +4 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +11 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +3 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +1 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +1 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +3 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +3 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +1 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +3 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +1 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +8 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +1 -0
- data/lib/dropbox-sign/models/sub_merge_field.rb +2 -0
- data/lib/dropbox-sign/models/sub_o_auth.rb +2 -0
- data/lib/dropbox-sign/models/sub_options.rb +1 -0
- data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +3 -0
- data/lib/dropbox-sign/models/sub_signature_request_signer.rb +6 -0
- data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +6 -0
- data/lib/dropbox-sign/models/sub_signing_options.rb +5 -0
- data/lib/dropbox-sign/models/sub_team_response.rb +2 -0
- data/lib/dropbox-sign/models/sub_template_role.rb +2 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +3 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +3 -0
- data/lib/dropbox-sign/models/sub_white_labeling_options.rb +15 -0
- data/lib/dropbox-sign/models/team_add_member_request.rb +3 -0
- data/lib/dropbox-sign/models/team_create_request.rb +1 -0
- data/lib/dropbox-sign/models/team_get_info_response.rb +2 -0
- data/lib/dropbox-sign/models/team_get_response.rb +2 -0
- data/lib/dropbox-sign/models/team_info_response.rb +5 -0
- data/lib/dropbox-sign/models/team_invite_response.rb +6 -0
- data/lib/dropbox-sign/models/team_invites_response.rb +2 -0
- data/lib/dropbox-sign/models/team_member_response.rb +3 -0
- data/lib/dropbox-sign/models/team_members_response.rb +3 -0
- data/lib/dropbox-sign/models/team_parent_response.rb +2 -0
- data/lib/dropbox-sign/models/team_remove_member_request.rb +5 -0
- data/lib/dropbox-sign/models/team_response.rb +3 -0
- data/lib/dropbox-sign/models/team_sub_teams_response.rb +3 -0
- data/lib/dropbox-sign/models/team_update_request.rb +1 -0
- data/lib/dropbox-sign/models/template_add_user_request.rb +3 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +25 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +2 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +4 -0
- data/lib/dropbox-sign/models/template_edit_response.rb +1 -0
- data/lib/dropbox-sign/models/template_get_response.rb +2 -0
- data/lib/dropbox-sign/models/template_list_response.rb +3 -0
- data/lib/dropbox-sign/models/template_remove_user_request.rb +2 -0
- data/lib/dropbox-sign/models/template_response.rb +15 -0
- data/lib/dropbox-sign/models/template_response_account.rb +6 -0
- data/lib/dropbox-sign/models/template_response_account_quota.rb +4 -0
- data/lib/dropbox-sign/models/template_response_cc_role.rb +1 -0
- data/lib/dropbox-sign/models/template_response_custom_field.rb +13 -0
- data/lib/dropbox-sign/models/template_response_document.rb +6 -0
- data/lib/dropbox-sign/models/template_response_document_custom_field.rb +16 -0
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -0
- data/lib/dropbox-sign/models/template_response_document_form_field.rb +14 -0
- data/lib/dropbox-sign/models/template_response_document_static_field.rb +10 -0
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +2 -0
- data/lib/dropbox-sign/models/template_response_named_form_field.rb +14 -0
- data/lib/dropbox-sign/models/template_response_signer_role.rb +2 -0
- data/lib/dropbox-sign/models/template_update_files_request.rb +6 -0
- data/lib/dropbox-sign/models/template_update_files_response.rb +1 -0
- data/lib/dropbox-sign/models/template_update_files_response_template.rb +2 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +36 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +29 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +24 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +2 -0
- data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +8 -0
- data/lib/dropbox-sign/models/unclaimed_draft_response.rb +6 -0
- data/lib/dropbox-sign/models/warning_response.rb +2 -0
- data/lib/dropbox-sign/version.rb +1 -1
- data/openapi-config.yaml +3 -1
- data/openapi-sdk.yaml +1 -0
- data/spec/models/sub_form_fields_per_document_base_spec.rb +24 -0
- data/templates/README.mustache +3 -5
- data/templates/partial_model_generic.mustache +1 -0
- metadata +5 -4
@@ -19,21 +19,27 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamInviteResponse
|
21
21
|
# Email address of the user invited to this team.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :email_address
|
23
24
|
|
24
25
|
# Id of the team.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :team_id
|
26
28
|
|
27
29
|
# Role of the user invited to this team.
|
30
|
+
# @return [String]
|
28
31
|
attr_accessor :role
|
29
32
|
|
30
33
|
# Timestamp when the invitation was sent.
|
34
|
+
# @return [Integer]
|
31
35
|
attr_accessor :sent_at
|
32
36
|
|
33
37
|
# Timestamp when the invitation was redeemed.
|
38
|
+
# @return [Integer]
|
34
39
|
attr_accessor :redeemed_at
|
35
40
|
|
36
41
|
# Timestamp when the invitation is expiring.
|
42
|
+
# @return [Integer]
|
37
43
|
attr_accessor :expires_at
|
38
44
|
|
39
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,8 +19,10 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamInvitesResponse
|
21
21
|
# Contains a list of team invites and their roles.
|
22
|
+
# @return [Array<TeamInviteResponse>]
|
22
23
|
attr_accessor :team_invites
|
23
24
|
|
25
|
+
# @return [Array<WarningResponse>]
|
24
26
|
attr_accessor :warnings
|
25
27
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,12 +19,15 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamMemberResponse
|
21
21
|
# Account id of the team member.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :account_id
|
23
24
|
|
24
25
|
# Email address of the team member.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :email_address
|
26
28
|
|
27
29
|
# The specific role a member has on the team.
|
30
|
+
# @return [String]
|
28
31
|
attr_accessor :role
|
29
32
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,10 +19,13 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamMembersResponse
|
21
21
|
# Contains a list of team members and their roles for a specific team.
|
22
|
+
# @return [Array<TeamMemberResponse>]
|
22
23
|
attr_accessor :team_members
|
23
24
|
|
25
|
+
# @return [ListInfoResponse]
|
24
26
|
attr_accessor :list_info
|
25
27
|
|
28
|
+
# @return [Array<WarningResponse>]
|
26
29
|
attr_accessor :warnings
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -20,9 +20,11 @@ module Dropbox::Sign
|
|
20
20
|
# Information about the parent team if a team has one, set to `null` otherwise.
|
21
21
|
class TeamParentResponse
|
22
22
|
# The id of a team
|
23
|
+
# @return [String]
|
23
24
|
attr_accessor :team_id
|
24
25
|
|
25
26
|
# The name of a team
|
27
|
+
# @return [String]
|
26
28
|
attr_accessor :name
|
27
29
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,18 +19,23 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamRemoveMemberRequest
|
21
21
|
# **account_id** or **email_address** is required. If both are provided, the account id prevails. Account id to remove from your Team.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :account_id
|
23
24
|
|
24
25
|
# **account_id** or **email_address** is required. If both are provided, the account id prevails. Email address of the Account to remove from your Team.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :email_address
|
26
28
|
|
27
29
|
# The email address of an Account on this Team to receive all documents, templates, and API apps (if applicable) from the removed Account. If not provided, and on an Enterprise plan, this data will remain with the removed Account. **Note**: Only available for Enterprise plans.
|
30
|
+
# @return [String]
|
28
31
|
attr_accessor :new_owner_email_address
|
29
32
|
|
30
33
|
# Id of the new Team.
|
34
|
+
# @return [String]
|
31
35
|
attr_accessor :new_team_id
|
32
36
|
|
33
37
|
# A new role member will take in a new Team. **Note**: This parameter is used only if `new_team_id` is provided.
|
38
|
+
# @return [String]
|
34
39
|
attr_accessor :new_role
|
35
40
|
|
36
41
|
class EnumAttributeValidator
|
@@ -20,11 +20,14 @@ module Dropbox::Sign
|
|
20
20
|
# Contains information about your team and its members
|
21
21
|
class TeamResponse
|
22
22
|
# The name of your Team
|
23
|
+
# @return [String]
|
23
24
|
attr_accessor :name
|
24
25
|
|
26
|
+
# @return [Array<AccountResponse>]
|
25
27
|
attr_accessor :accounts
|
26
28
|
|
27
29
|
# A list of all Accounts that have an outstanding invitation to join your Team. Note that this response is a subset of the response parameters found in `GET /account`.
|
30
|
+
# @return [Array<AccountResponse>]
|
28
31
|
attr_accessor :invited_accounts
|
29
32
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,10 +19,13 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TeamSubTeamsResponse
|
21
21
|
# Contains a list with sub teams.
|
22
|
+
# @return [Array<SubTeamResponse>]
|
22
23
|
attr_accessor :sub_teams
|
23
24
|
|
25
|
+
# @return [ListInfoResponse]
|
24
26
|
attr_accessor :list_info
|
25
27
|
|
28
|
+
# @return [Array<WarningResponse>]
|
26
29
|
attr_accessor :warnings
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,12 +19,15 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateAddUserRequest
|
21
21
|
# The id of the Account to give access to the Template. <b>Note</b> The account id prevails if email address is also provided.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :account_id
|
23
24
|
|
24
25
|
# The email address of the Account to give access to the Template. <b>Note</b> The account id prevails if it is also provided.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :email_address
|
26
28
|
|
27
29
|
# If set to `true`, the user does not receive an email notification when a template has been shared with them. Defaults to `false`.
|
30
|
+
# @return [Boolean]
|
28
31
|
attr_accessor :skip_notification
|
29
32
|
|
30
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,76 +19,101 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateCreateEmbeddedDraftRequest
|
21
21
|
# Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :client_id
|
23
24
|
|
24
25
|
# Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
|
26
|
+
# @return [Array<File>]
|
25
27
|
attr_accessor :files
|
26
28
|
|
27
29
|
# Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both.
|
30
|
+
# @return [Array<String>]
|
28
31
|
attr_accessor :file_urls
|
29
32
|
|
30
33
|
# This allows the requester to specify whether the user is allowed to provide email addresses to CC when creating a template.
|
34
|
+
# @return [Boolean]
|
31
35
|
attr_accessor :allow_ccs
|
32
36
|
|
33
37
|
# Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **Note**: Only available for Premium plan and higher.
|
38
|
+
# @return [Boolean]
|
34
39
|
attr_accessor :allow_reassign
|
35
40
|
|
36
41
|
# A list describing the attachments
|
42
|
+
# @return [Array<SubAttachment>]
|
37
43
|
attr_accessor :attachments
|
38
44
|
|
39
45
|
# The CC roles that must be assigned when using the template to send a signature request
|
46
|
+
# @return [Array<String>]
|
40
47
|
attr_accessor :cc_roles
|
41
48
|
|
49
|
+
# @return [SubEditorOptions]
|
42
50
|
attr_accessor :editor_options
|
43
51
|
|
52
|
+
# @return [SubFieldOptions]
|
44
53
|
attr_accessor :field_options
|
45
54
|
|
46
55
|
# Provide users the ability to review/edit the template signer roles.
|
56
|
+
# @return [Boolean]
|
47
57
|
attr_accessor :force_signer_roles
|
48
58
|
|
49
59
|
# Provide users the ability to review/edit the template subject and message.
|
60
|
+
# @return [Boolean]
|
50
61
|
attr_accessor :force_subject_message
|
51
62
|
|
52
63
|
# Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`.
|
64
|
+
# @return [Array<SubFormFieldGroup>]
|
53
65
|
attr_accessor :form_field_groups
|
54
66
|
|
55
67
|
# Conditional Logic rules for fields defined in `form_fields_per_document`.
|
68
|
+
# @return [Array<SubFormFieldRule>]
|
56
69
|
attr_accessor :form_field_rules
|
57
70
|
|
58
71
|
# The fields that should appear on the document, expressed as an array of objects. (We're currently fixing a bug where this property only accepts a two-dimensional array. You can read about it here: <a href=\"/docs/openapi/form-fields-per-document\" target=\"_blank\">Using Form Fields per Document</a>.) **NOTE**: Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge`
|
72
|
+
# @return [Array<SubFormFieldsPerDocumentBase>]
|
59
73
|
attr_accessor :form_fields_per_document
|
60
74
|
|
61
75
|
# Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document.
|
76
|
+
# @return [Array<SubMergeField>]
|
62
77
|
attr_accessor :merge_fields
|
63
78
|
|
64
79
|
# The default template email message.
|
80
|
+
# @return [String]
|
65
81
|
attr_accessor :message
|
66
82
|
|
67
83
|
# Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request. Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long.
|
84
|
+
# @return [Hash<String, Object>]
|
68
85
|
attr_accessor :metadata
|
69
86
|
|
70
87
|
# This allows the requester to enable the editor/preview experience. - `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience.
|
88
|
+
# @return [Boolean]
|
71
89
|
attr_accessor :show_preview
|
72
90
|
|
73
91
|
# When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden.
|
92
|
+
# @return [Boolean]
|
74
93
|
attr_accessor :show_progress_stepper
|
75
94
|
|
76
95
|
# An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
|
96
|
+
# @return [Array<SubTemplateRole>]
|
77
97
|
attr_accessor :signer_roles
|
78
98
|
|
79
99
|
# Disables the \"Me (Now)\" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`.
|
100
|
+
# @return [Boolean]
|
80
101
|
attr_accessor :skip_me_now
|
81
102
|
|
82
103
|
# The template title (alias).
|
104
|
+
# @return [String]
|
83
105
|
attr_accessor :subject
|
84
106
|
|
85
107
|
# Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`.
|
108
|
+
# @return [Boolean]
|
86
109
|
attr_accessor :test_mode
|
87
110
|
|
88
111
|
# The title you want to assign to the SignatureRequest.
|
112
|
+
# @return [String]
|
89
113
|
attr_accessor :title
|
90
114
|
|
91
115
|
# Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).
|
116
|
+
# @return [Boolean]
|
92
117
|
attr_accessor :use_preexisting_fields
|
93
118
|
|
94
119
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -18,9 +18,11 @@ end
|
|
18
18
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateCreateEmbeddedDraftResponse
|
21
|
+
# @return [TemplateCreateEmbeddedDraftResponseTemplate]
|
21
22
|
attr_accessor :template
|
22
23
|
|
23
24
|
# A list of warnings.
|
25
|
+
# @return [Array<WarningResponse>]
|
24
26
|
attr_accessor :warnings
|
25
27
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -20,15 +20,19 @@ module Dropbox::Sign
|
|
20
20
|
# Template object with parameters: `template_id`, `edit_url`, `expires_at`.
|
21
21
|
class TemplateCreateEmbeddedDraftResponseTemplate
|
22
22
|
# The id of the Template.
|
23
|
+
# @return [String]
|
23
24
|
attr_accessor :template_id
|
24
25
|
|
25
26
|
# Link to edit the template.
|
27
|
+
# @return [String]
|
26
28
|
attr_accessor :edit_url
|
27
29
|
|
28
30
|
# When the link expires.
|
31
|
+
# @return [Integer]
|
29
32
|
attr_accessor :expires_at
|
30
33
|
|
31
34
|
# A list of warnings.
|
35
|
+
# @return [Array<WarningResponse>]
|
32
36
|
attr_accessor :warnings
|
33
37
|
|
34
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -18,9 +18,11 @@ end
|
|
18
18
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateGetResponse
|
21
|
+
# @return [TemplateResponse]
|
21
22
|
attr_accessor :template
|
22
23
|
|
23
24
|
# A list of warnings.
|
25
|
+
# @return [Array<WarningResponse>]
|
24
26
|
attr_accessor :warnings
|
25
27
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,11 +19,14 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateListResponse
|
21
21
|
# List of templates that the API caller has access to.
|
22
|
+
# @return [Array<TemplateResponse>]
|
22
23
|
attr_accessor :templates
|
23
24
|
|
25
|
+
# @return [ListInfoResponse]
|
24
26
|
attr_accessor :list_info
|
25
27
|
|
26
28
|
# A list of warnings.
|
29
|
+
# @return [Array<WarningResponse>]
|
27
30
|
attr_accessor :warnings
|
28
31
|
|
29
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,9 +19,11 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateRemoveUserRequest
|
21
21
|
# The id or email address of the Account to remove access to the Template. The account id prevails if both are provided.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :account_id
|
23
24
|
|
24
25
|
# The id or email address of the Account to remove access to the Template. The account id prevails if both are provided.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :email_address
|
26
28
|
|
27
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -20,48 +20,63 @@ module Dropbox::Sign
|
|
20
20
|
# Contains information about the templates you and your team have created.
|
21
21
|
class TemplateResponse
|
22
22
|
# The id of the Template.
|
23
|
+
# @return [String]
|
23
24
|
attr_accessor :template_id
|
24
25
|
|
25
26
|
# The title of the Template. This will also be the default subject of the message sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
|
27
|
+
# @return [String]
|
26
28
|
attr_accessor :title
|
27
29
|
|
28
30
|
# The default message that will be sent to signers when using this Template to send a SignatureRequest. This can be overridden when sending the SignatureRequest.
|
31
|
+
# @return [String]
|
29
32
|
attr_accessor :message
|
30
33
|
|
31
34
|
# Time the template was last updated.
|
35
|
+
# @return [Integer]
|
32
36
|
attr_accessor :updated_at
|
33
37
|
|
34
38
|
# `true` if this template was created using an embedded flow, `false` if it was created on our website.
|
39
|
+
# @return [Boolean, nil]
|
35
40
|
attr_accessor :is_embedded
|
36
41
|
|
37
42
|
# `true` if you are the owner of this template, `false` if it's been shared with you by a team member.
|
43
|
+
# @return [Boolean, nil]
|
38
44
|
attr_accessor :is_creator
|
39
45
|
|
40
46
|
# Indicates whether edit rights have been granted to you by the owner (always `true` if that's you).
|
47
|
+
# @return [Boolean, nil]
|
41
48
|
attr_accessor :can_edit
|
42
49
|
|
43
50
|
# Indicates whether the template is locked. If `true`, then the template was created outside your quota and can only be used in `test_mode`. If `false`, then the template is within your quota and can be used to create signature requests.
|
51
|
+
# @return [Boolean, nil]
|
44
52
|
attr_accessor :is_locked
|
45
53
|
|
46
54
|
# The metadata attached to the template.
|
55
|
+
# @return [Object]
|
47
56
|
attr_accessor :metadata
|
48
57
|
|
49
58
|
# An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template.
|
59
|
+
# @return [Array<TemplateResponseSignerRole>]
|
50
60
|
attr_accessor :signer_roles
|
51
61
|
|
52
62
|
# An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
|
63
|
+
# @return [Array<TemplateResponseCCRole>]
|
53
64
|
attr_accessor :cc_roles
|
54
65
|
|
55
66
|
# An array describing each document associated with this Template. Includes form field data for each document.
|
67
|
+
# @return [Array<TemplateResponseDocument>]
|
56
68
|
attr_accessor :documents
|
57
69
|
|
58
70
|
# An array of Custom Field objects.
|
71
|
+
# @return [Array<TemplateResponseCustomField>, nil]
|
59
72
|
attr_accessor :custom_fields
|
60
73
|
|
61
74
|
# Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.
|
75
|
+
# @return [Array<TemplateResponseNamedFormField>, nil]
|
62
76
|
attr_accessor :named_form_fields
|
63
77
|
|
64
78
|
# An array of the Accounts that can use this Template.
|
79
|
+
# @return [Array<TemplateResponseAccount>, nil]
|
65
80
|
attr_accessor :accounts
|
66
81
|
|
67
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,20 +19,26 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateResponseAccount
|
21
21
|
# The id of the Account.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :account_id
|
23
24
|
|
24
25
|
# The email address associated with the Account.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :email_address
|
26
28
|
|
27
29
|
# Returns `true` if the user has been locked out of their account by a team admin.
|
30
|
+
# @return [Boolean]
|
28
31
|
attr_accessor :is_locked
|
29
32
|
|
30
33
|
# Returns `true` if the user has a paid Dropbox Sign account.
|
34
|
+
# @return [Boolean]
|
31
35
|
attr_accessor :is_paid_hs
|
32
36
|
|
33
37
|
# Returns `true` if the user has a paid HelloFax account.
|
38
|
+
# @return [Boolean]
|
34
39
|
attr_accessor :is_paid_hf
|
35
40
|
|
41
|
+
# @return [TemplateResponseAccountQuota]
|
36
42
|
attr_accessor :quotas
|
37
43
|
|
38
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -20,15 +20,19 @@ module Dropbox::Sign
|
|
20
20
|
# An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.
|
21
21
|
class TemplateResponseAccountQuota
|
22
22
|
# API templates remaining.
|
23
|
+
# @return [Integer]
|
23
24
|
attr_accessor :templates_left
|
24
25
|
|
25
26
|
# API signature requests remaining.
|
27
|
+
# @return [Integer]
|
26
28
|
attr_accessor :api_signature_requests_left
|
27
29
|
|
28
30
|
# Signature requests remaining.
|
31
|
+
# @return [Integer]
|
29
32
|
attr_accessor :documents_left
|
30
33
|
|
31
34
|
# SMS verifications remaining.
|
35
|
+
# @return [Integer]
|
32
36
|
attr_accessor :sms_verifications_left
|
33
37
|
|
34
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,41 +19,54 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateResponseCustomField
|
21
21
|
# The name of the Custom Field.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :name
|
23
24
|
|
24
25
|
# The type of this Custom Field. Only `text` and `checkbox` are currently supported.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :type
|
26
28
|
|
27
29
|
# The horizontal offset in pixels for this form field.
|
30
|
+
# @return [Integer]
|
28
31
|
attr_accessor :x
|
29
32
|
|
30
33
|
# The vertical offset in pixels for this form field.
|
34
|
+
# @return [Integer]
|
31
35
|
attr_accessor :y
|
32
36
|
|
33
37
|
# The width in pixels of this form field.
|
38
|
+
# @return [Integer]
|
34
39
|
attr_accessor :width
|
35
40
|
|
36
41
|
# The height in pixels of this form field.
|
42
|
+
# @return [Integer]
|
37
43
|
attr_accessor :height
|
38
44
|
|
39
45
|
# Boolean showing whether or not this field is required.
|
46
|
+
# @return [Boolean]
|
40
47
|
attr_accessor :required
|
41
48
|
|
42
49
|
# The unique ID for this field.
|
50
|
+
# @return [String]
|
43
51
|
attr_accessor :api_id
|
44
52
|
|
45
53
|
# The name of the group this field is in. If this field is not a group, this defaults to `null`.
|
54
|
+
# @return [String, nil]
|
46
55
|
attr_accessor :group
|
47
56
|
|
57
|
+
# @return [TemplateResponseFieldAvgTextLength]
|
48
58
|
attr_accessor :avg_text_length
|
49
59
|
|
50
60
|
# Whether this form field is multiline text.
|
61
|
+
# @return [Boolean, nil]
|
51
62
|
attr_accessor :is_multiline
|
52
63
|
|
53
64
|
# Original font size used in this form field's text.
|
65
|
+
# @return [Integer, nil]
|
54
66
|
attr_accessor :original_font_size
|
55
67
|
|
56
68
|
# Font family used in this form field's text.
|
69
|
+
# @return [String, nil]
|
57
70
|
attr_accessor :font_family
|
58
71
|
|
59
72
|
class EnumAttributeValidator
|
@@ -19,21 +19,27 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateResponseDocument
|
21
21
|
# Name of the associated file.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :name
|
23
24
|
|
24
25
|
# Document ordering, the lowest index is displayed first and the highest last (0-based indexing).
|
26
|
+
# @return [Integer]
|
25
27
|
attr_accessor :index
|
26
28
|
|
27
29
|
# An array of Form Field Group objects.
|
30
|
+
# @return [Array<TemplateResponseDocumentFieldGroup>]
|
28
31
|
attr_accessor :field_groups
|
29
32
|
|
30
33
|
# An array of Form Field objects containing the name and type of each named textbox and checkmark field.
|
34
|
+
# @return [Array<TemplateResponseDocumentFormField>]
|
31
35
|
attr_accessor :form_fields
|
32
36
|
|
33
37
|
# An array of Document Custom Field objects.
|
38
|
+
# @return [Array<TemplateResponseDocumentCustomField>]
|
34
39
|
attr_accessor :custom_fields
|
35
40
|
|
36
41
|
# An array describing static overlay fields. <b>Note</b> only available for certain subscriptions.
|
42
|
+
# @return [Array<TemplateResponseDocumentStaticField>, nil]
|
37
43
|
attr_accessor :static_fields
|
38
44
|
|
39
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -19,49 +19,65 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateResponseDocumentCustomField
|
21
21
|
# The name of the Custom Field.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :name
|
23
24
|
|
24
25
|
# The type of this Custom Field. Only `text` and `checkbox` are currently supported.
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :type
|
26
28
|
|
27
29
|
# The signer of the Custom Field.
|
30
|
+
# @return [String]
|
28
31
|
attr_accessor :signer
|
29
32
|
|
30
33
|
# The horizontal offset in pixels for this form field.
|
34
|
+
# @return [Integer]
|
31
35
|
attr_accessor :x
|
32
36
|
|
33
37
|
# The vertical offset in pixels for this form field.
|
38
|
+
# @return [Integer]
|
34
39
|
attr_accessor :y
|
35
40
|
|
36
41
|
# The width in pixels of this form field.
|
42
|
+
# @return [Integer]
|
37
43
|
attr_accessor :width
|
38
44
|
|
39
45
|
# The height in pixels of this form field.
|
46
|
+
# @return [Integer]
|
40
47
|
attr_accessor :height
|
41
48
|
|
42
49
|
# Boolean showing whether or not this field is required.
|
50
|
+
# @return [Boolean]
|
43
51
|
attr_accessor :required
|
44
52
|
|
45
53
|
# The unique ID for this field.
|
54
|
+
# @return [String]
|
46
55
|
attr_accessor :api_id
|
47
56
|
|
48
57
|
# The name of the group this field is in. If this field is not a group, this defaults to `null`.
|
58
|
+
# @return [String, nil]
|
49
59
|
attr_accessor :group
|
50
60
|
|
61
|
+
# @return [TemplateResponseFieldAvgTextLength]
|
51
62
|
attr_accessor :avg_text_length
|
52
63
|
|
53
64
|
# Whether this form field is multiline text.
|
65
|
+
# @return [Boolean, nil]
|
54
66
|
attr_accessor :is_multiline
|
55
67
|
|
56
68
|
# Original font size used in this form field's text.
|
69
|
+
# @return [Integer, nil]
|
57
70
|
attr_accessor :original_font_size
|
58
71
|
|
59
72
|
# Font family used in this form field's text.
|
73
|
+
# @return [String, nil]
|
60
74
|
attr_accessor :font_family
|
61
75
|
|
62
76
|
# Deprecated. Use `form_fields` inside the [documents](https://developers.hellosign.com/api/reference/operation/templateGet/#!c=200&path=template/documents&t=response) array instead.
|
77
|
+
# @return [Object, nil]
|
63
78
|
attr_accessor :named_form_fields
|
64
79
|
|
80
|
+
# @return [String, nil]
|
65
81
|
attr_accessor :reusable_form_id
|
66
82
|
|
67
83
|
class EnumAttributeValidator
|
@@ -19,9 +19,11 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
class TemplateResponseDocumentFieldGroup
|
21
21
|
# The name of the form field group.
|
22
|
+
# @return [String]
|
22
23
|
attr_accessor :name
|
23
24
|
|
24
25
|
# The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).
|
26
|
+
# @return [String]
|
25
27
|
attr_accessor :rule
|
26
28
|
|
27
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|