dropbox-sign 1.0.0.pre.beta2301
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +78 -0
- data/LICENSE +21 -0
- data/README.md +333 -0
- data/Rakefile +10 -0
- data/bin/generate-examples.php +269 -0
- data/bin/php +16 -0
- data/bin/replace +11 -0
- data/bin/ruby +16 -0
- data/bin/scan_for +32 -0
- data/composer.json +10 -0
- data/composer.lock +246 -0
- data/docs/AccountApi.md +301 -0
- data/docs/AccountCreateRequest.md +13 -0
- data/docs/AccountCreateResponse.md +12 -0
- data/docs/AccountGetResponse.md +11 -0
- data/docs/AccountResponse.md +19 -0
- data/docs/AccountResponseQuotas.md +14 -0
- data/docs/AccountUpdateRequest.md +12 -0
- data/docs/AccountVerifyRequest.md +10 -0
- data/docs/AccountVerifyResponse.md +11 -0
- data/docs/AccountVerifyResponseAccount.md +10 -0
- data/docs/ApiAppApi.md +402 -0
- data/docs/ApiAppCreateRequest.md +16 -0
- data/docs/ApiAppGetResponse.md +11 -0
- data/docs/ApiAppListResponse.md +12 -0
- data/docs/ApiAppResponse.md +19 -0
- data/docs/ApiAppResponseOAuth.md +13 -0
- data/docs/ApiAppResponseOptions.md +10 -0
- data/docs/ApiAppResponseOwnerAccount.md +11 -0
- data/docs/ApiAppResponseWhiteLabelingOptions.md +23 -0
- data/docs/ApiAppUpdateRequest.md +16 -0
- data/docs/BulkSendJobApi.md +155 -0
- data/docs/BulkSendJobGetResponse.md +13 -0
- data/docs/BulkSendJobGetResponseSignatureRequests.md +33 -0
- data/docs/BulkSendJobListResponse.md +12 -0
- data/docs/BulkSendJobResponse.md +13 -0
- data/docs/BulkSendJobSendResponse.md +11 -0
- data/docs/EmbeddedApi.md +158 -0
- data/docs/EmbeddedEditUrlRequest.md +19 -0
- data/docs/EmbeddedEditUrlResponse.md +11 -0
- data/docs/EmbeddedEditUrlResponseEmbedded.md +11 -0
- data/docs/EmbeddedSignUrlResponse.md +11 -0
- data/docs/EmbeddedSignUrlResponseEmbedded.md +11 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseError.md +12 -0
- data/docs/EventCallbackRequest.md +13 -0
- data/docs/EventCallbackRequestEvent.md +13 -0
- data/docs/EventCallbackRequestEventMetadata.md +13 -0
- data/docs/FileResponse.md +11 -0
- data/docs/FileResponseDataUri.md +10 -0
- data/docs/ListInfoResponse.md +13 -0
- data/docs/OAuthApi.md +158 -0
- data/docs/OAuthTokenGenerateRequest.md +14 -0
- data/docs/OAuthTokenRefreshRequest.md +11 -0
- data/docs/OAuthTokenResponse.md +14 -0
- data/docs/ReportApi.md +83 -0
- data/docs/ReportCreateRequest.md +12 -0
- data/docs/ReportCreateResponse.md +11 -0
- data/docs/ReportResponse.md +13 -0
- data/docs/SignatureRequestApi.md +1377 -0
- data/docs/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.md +22 -0
- data/docs/SignatureRequestBulkSendWithTemplateRequest.md +22 -0
- data/docs/SignatureRequestCreateEmbeddedRequest.md +33 -0
- data/docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md +24 -0
- data/docs/SignatureRequestGetResponse.md +11 -0
- data/docs/SignatureRequestListResponse.md +12 -0
- data/docs/SignatureRequestRemindRequest.md +11 -0
- data/docs/SignatureRequestResponse.md +32 -0
- data/docs/SignatureRequestResponseAttachment.md +15 -0
- data/docs/SignatureRequestResponseCustomFieldBase.md +17 -0
- data/docs/SignatureRequestResponseCustomFieldCheckbox.md +11 -0
- data/docs/SignatureRequestResponseCustomFieldText.md +11 -0
- data/docs/SignatureRequestResponseCustomFieldTypeEnum.md +9 -0
- data/docs/SignatureRequestResponseDataBase.md +14 -0
- data/docs/SignatureRequestResponseDataTypeEnum.md +9 -0
- data/docs/SignatureRequestResponseDataValueCheckbox.md +11 -0
- data/docs/SignatureRequestResponseDataValueCheckboxMerge.md +11 -0
- data/docs/SignatureRequestResponseDataValueDateSigned.md +11 -0
- data/docs/SignatureRequestResponseDataValueDropdown.md +11 -0
- data/docs/SignatureRequestResponseDataValueInitials.md +11 -0
- data/docs/SignatureRequestResponseDataValueRadio.md +11 -0
- data/docs/SignatureRequestResponseDataValueSignature.md +11 -0
- data/docs/SignatureRequestResponseDataValueText.md +11 -0
- data/docs/SignatureRequestResponseDataValueTextMerge.md +11 -0
- data/docs/SignatureRequestResponseSignatures.md +28 -0
- data/docs/SignatureRequestSendRequest.md +34 -0
- data/docs/SignatureRequestSendWithTemplateRequest.md +25 -0
- data/docs/SignatureRequestUpdateRequest.md +13 -0
- data/docs/SubAttachment.md +13 -0
- data/docs/SubBulkSignerList.md +11 -0
- data/docs/SubBulkSignerListCustomField.md +11 -0
- data/docs/SubCC.md +11 -0
- data/docs/SubCustomField.md +17 -0
- data/docs/SubEditorOptions.md +11 -0
- data/docs/SubFieldOptions.md +10 -0
- data/docs/SubFormFieldGroup.md +12 -0
- data/docs/SubFormFieldRule.md +13 -0
- data/docs/SubFormFieldRuleAction.md +13 -0
- data/docs/SubFormFieldRuleTrigger.md +13 -0
- data/docs/SubFormFieldsPerDocumentBase.md +33 -0
- data/docs/SubFormFieldsPerDocumentCheckbox.md +12 -0
- data/docs/SubFormFieldsPerDocumentCheckboxMerge.md +10 -0
- data/docs/SubFormFieldsPerDocumentDateSigned.md +10 -0
- data/docs/SubFormFieldsPerDocumentDropdown.md +12 -0
- data/docs/SubFormFieldsPerDocumentHyperlink.md +12 -0
- data/docs/SubFormFieldsPerDocumentInitials.md +10 -0
- data/docs/SubFormFieldsPerDocumentRadio.md +12 -0
- data/docs/SubFormFieldsPerDocumentSignature.md +10 -0
- data/docs/SubFormFieldsPerDocumentText.md +17 -0
- data/docs/SubFormFieldsPerDocumentTextMerge.md +10 -0
- data/docs/SubFormFieldsPerDocumentTypeEnum.md +9 -0
- data/docs/SubMergeField.md +11 -0
- data/docs/SubOAuth.md +11 -0
- data/docs/SubOptions.md +10 -0
- data/docs/SubSignatureRequestGroupedSigners.md +12 -0
- data/docs/SubSignatureRequestSigner.md +15 -0
- data/docs/SubSignatureRequestTemplateSigner.md +15 -0
- data/docs/SubSigningOptions.md +16 -0
- data/docs/SubTeamResponse.md +11 -0
- data/docs/SubTemplateRole.md +11 -0
- data/docs/SubUnclaimedDraftSigner.md +12 -0
- data/docs/SubUnclaimedDraftTemplateSigner.md +12 -0
- data/docs/SubWhiteLabelingOptions.md +26 -0
- data/docs/TeamAddMemberRequest.md +12 -0
- data/docs/TeamApi.md +737 -0
- data/docs/TeamCreateRequest.md +10 -0
- data/docs/TeamGetInfoResponse.md +11 -0
- data/docs/TeamGetResponse.md +11 -0
- data/docs/TeamInfoResponse.md +14 -0
- data/docs/TeamInviteResponse.md +15 -0
- data/docs/TeamInvitesResponse.md +11 -0
- data/docs/TeamMemberResponse.md +12 -0
- data/docs/TeamMembersResponse.md +12 -0
- data/docs/TeamParentResponse.md +11 -0
- data/docs/TeamRemoveMemberRequest.md +14 -0
- data/docs/TeamResponse.md +12 -0
- data/docs/TeamSubTeamsResponse.md +12 -0
- data/docs/TeamUpdateRequest.md +10 -0
- data/docs/TemplateAddUserRequest.md +12 -0
- data/docs/TemplateApi.md +782 -0
- data/docs/TemplateCreateEmbeddedDraftRequest.md +34 -0
- data/docs/TemplateCreateEmbeddedDraftResponse.md +11 -0
- data/docs/TemplateCreateEmbeddedDraftResponseTemplate.md +13 -0
- data/docs/TemplateEditResponse.md +10 -0
- data/docs/TemplateGetResponse.md +11 -0
- data/docs/TemplateListResponse.md +12 -0
- data/docs/TemplateRemoveUserRequest.md +11 -0
- data/docs/TemplateResponse.md +24 -0
- data/docs/TemplateResponseAccount.md +15 -0
- data/docs/TemplateResponseAccountQuota.md +13 -0
- data/docs/TemplateResponseCCRole.md +10 -0
- data/docs/TemplateResponseCustomField.md +22 -0
- data/docs/TemplateResponseDocument.md +15 -0
- data/docs/TemplateResponseDocumentCustomField.md +25 -0
- data/docs/TemplateResponseDocumentFieldGroup.md +11 -0
- data/docs/TemplateResponseDocumentFormField.md +23 -0
- data/docs/TemplateResponseDocumentStaticField.md +19 -0
- data/docs/TemplateResponseFieldAvgTextLength.md +11 -0
- data/docs/TemplateResponseNamedFormField.md +23 -0
- data/docs/TemplateResponseSignerRole.md +11 -0
- data/docs/TemplateUpdateFilesRequest.md +15 -0
- data/docs/TemplateUpdateFilesResponse.md +10 -0
- data/docs/TemplateUpdateFilesResponseTemplate.md +11 -0
- data/docs/UnclaimedDraftApi.md +359 -0
- data/docs/UnclaimedDraftCreateEmbeddedRequest.md +45 -0
- data/docs/UnclaimedDraftCreateEmbeddedWithTemplateRequest.md +38 -0
- data/docs/UnclaimedDraftCreateRequest.md +33 -0
- data/docs/UnclaimedDraftCreateResponse.md +11 -0
- data/docs/UnclaimedDraftEditAndResendRequest.md +17 -0
- data/docs/UnclaimedDraftResponse.md +15 -0
- data/docs/WarningResponse.md +11 -0
- data/dropbox-sign.gemspec +38 -0
- data/examples/AccountCreate.rb +21 -0
- data/examples/AccountGet.rb +18 -0
- data/examples/AccountUpdate.rb +21 -0
- data/examples/AccountVerify.rb +21 -0
- data/examples/ApiAppCreate.rb +35 -0
- data/examples/ApiAppDelete.rb +20 -0
- data/examples/ApiAppGet.rb +20 -0
- data/examples/ApiAppList.rb +21 -0
- data/examples/ApiAppUpdate.rb +32 -0
- data/examples/BulkSendJobGet.rb +20 -0
- data/examples/BulkSendJobList.rb +21 -0
- data/examples/EmbeddedEditUrl.rb +24 -0
- data/examples/EmbeddedSignUrl.rb +20 -0
- data/examples/EventCallback.rb +32 -0
- data/examples/OauthTokenGenerate.rb +24 -0
- data/examples/OauthTokenRefresh.rb +21 -0
- data/examples/ReportCreate.rb +23 -0
- data/examples/SignatureRequestBulkCreateEmbeddedWithTemplate.rb +59 -0
- data/examples/SignatureRequestBulkSendWithTemplate.rb +58 -0
- data/examples/SignatureRequestCancel.rb +20 -0
- data/examples/SignatureRequestCreateEmbedded.rb +46 -0
- data/examples/SignatureRequestCreateEmbeddedWithTemplate.rb +39 -0
- data/examples/SignatureRequestFiles.rb +20 -0
- data/examples/SignatureRequestFilesAsDataUri.rb +20 -0
- data/examples/SignatureRequestFilesAsFileUrl.rb +20 -0
- data/examples/SignatureRequestGet.rb +20 -0
- data/examples/SignatureRequestList.rb +21 -0
- data/examples/SignatureRequestReleaseHold.rb +20 -0
- data/examples/SignatureRequestRemind.rb +23 -0
- data/examples/SignatureRequestRemove.rb +20 -0
- data/examples/SignatureRequestSend.rb +56 -0
- data/examples/SignatureRequestSendWithTemplate.rb +50 -0
- data/examples/SignatureRequestUpdate.rb +24 -0
- data/examples/TeamAddMember.rb +21 -0
- data/examples/TeamCreate.rb +21 -0
- data/examples/TeamDelete.rb +18 -0
- data/examples/TeamGet.rb +18 -0
- data/examples/TeamInfo.rb +18 -0
- data/examples/TeamInvites.rb +20 -0
- data/examples/TeamMembers.rb +20 -0
- data/examples/TeamRemoveMember.rb +22 -0
- data/examples/TeamSubTeams.rb +20 -0
- data/examples/TeamUpdate.rb +21 -0
- data/examples/TemplateAddUser.rb +23 -0
- data/examples/TemplateCreateEmbeddedDraft.rb +49 -0
- data/examples/TemplateDelete.rb +20 -0
- data/examples/TemplateFiles.rb +20 -0
- data/examples/TemplateFilesAsDataUri.rb +20 -0
- data/examples/TemplateFilesAsFileUrl.rb +20 -0
- data/examples/TemplateGet.rb +20 -0
- data/examples/TemplateList.rb +20 -0
- data/examples/TemplateRemoveUser.rb +23 -0
- data/examples/TemplateUpdateFiles.rb +23 -0
- data/examples/UnclaimedDraftCreate.rb +56 -0
- data/examples/UnclaimedDraftCreateEmbedded.rb +24 -0
- data/examples/UnclaimedDraftCreateEmbeddedWithTemplate.rb +35 -0
- data/examples/UnclaimedDraftEditAndResend.rb +24 -0
- data/lib/dropbox-sign/api/account_api.rb +446 -0
- data/lib/dropbox-sign/api/api_app_api.rb +504 -0
- data/lib/dropbox-sign/api/bulk_send_job_api.rb +213 -0
- data/lib/dropbox-sign/api/embedded_api.rb +234 -0
- data/lib/dropbox-sign/api/o_auth_api.rb +215 -0
- data/lib/dropbox-sign/api/report_api.rb +134 -0
- data/lib/dropbox-sign/api/signature_request_api.rb +1620 -0
- data/lib/dropbox-sign/api/team_api.rb +1011 -0
- data/lib/dropbox-sign/api/template_api.rb +1037 -0
- data/lib/dropbox-sign/api/unclaimed_draft_api.rb +467 -0
- data/lib/dropbox-sign/api_client.rb +417 -0
- data/lib/dropbox-sign/api_error.rb +60 -0
- data/lib/dropbox-sign/configuration.rb +303 -0
- data/lib/dropbox-sign/event_callback_helper.rb +54 -0
- data/lib/dropbox-sign/models/account_create_request.rb +285 -0
- data/lib/dropbox-sign/models/account_create_response.rb +270 -0
- data/lib/dropbox-sign/models/account_get_response.rb +261 -0
- data/lib/dropbox-sign/models/account_response.rb +343 -0
- data/lib/dropbox-sign/models/account_response_quotas.rb +296 -0
- data/lib/dropbox-sign/models/account_update_request.rb +271 -0
- data/lib/dropbox-sign/models/account_verify_request.rb +255 -0
- data/lib/dropbox-sign/models/account_verify_response.rb +261 -0
- data/lib/dropbox-sign/models/account_verify_response_account.rb +250 -0
- data/lib/dropbox-sign/models/api_app_create_request.rb +347 -0
- data/lib/dropbox-sign/models/api_app_get_response.rb +261 -0
- data/lib/dropbox-sign/models/api_app_list_response.rb +273 -0
- data/lib/dropbox-sign/models/api_app_response.rb +343 -0
- data/lib/dropbox-sign/models/api_app_response_o_auth.rb +283 -0
- data/lib/dropbox-sign/models/api_app_response_options.rb +251 -0
- data/lib/dropbox-sign/models/api_app_response_owner_account.rb +261 -0
- data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +367 -0
- data/lib/dropbox-sign/models/api_app_update_request.rb +324 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +282 -0
- data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +503 -0
- data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +273 -0
- data/lib/dropbox-sign/models/bulk_send_job_response.rb +282 -0
- data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_edit_url_request.rb +357 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +261 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response.rb +261 -0
- data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +261 -0
- data/lib/dropbox-sign/models/error_response.rb +254 -0
- data/lib/dropbox-sign/models/error_response_error.rb +281 -0
- data/lib/dropbox-sign/models/event_callback_request.rb +281 -0
- data/lib/dropbox-sign/models/event_callback_request_event.rb +334 -0
- data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +285 -0
- data/lib/dropbox-sign/models/file_response.rb +260 -0
- data/lib/dropbox-sign/models/file_response_data_uri.rb +250 -0
- data/lib/dropbox-sign/models/list_info_response.rb +282 -0
- data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +317 -0
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +272 -0
- data/lib/dropbox-sign/models/o_auth_token_response.rb +287 -0
- data/lib/dropbox-sign/models/report_create_request.rb +319 -0
- data/lib/dropbox-sign/models/report_create_response.rb +261 -0
- data/lib/dropbox-sign/models/report_response.rb +305 -0
- data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +445 -0
- data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +440 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +569 -0
- data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +475 -0
- data/lib/dropbox-sign/models/signature_request_get_response.rb +261 -0
- data/lib/dropbox-sign/models/signature_request_list_response.rb +273 -0
- data/lib/dropbox-sign/models/signature_request_remind_request.rb +265 -0
- data/lib/dropbox-sign/models/signature_request_response.rb +494 -0
- data/lib/dropbox-sign/models/signature_request_response_attachment.rb +323 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +316 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +272 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +272 -0
- data/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb +40 -0
- data/lib/dropbox-sign/models/signature_request_response_data_base.rb +326 -0
- data/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb +47 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +266 -0
- data/lib/dropbox-sign/models/signature_request_response_signatures.rb +446 -0
- data/lib/dropbox-sign/models/signature_request_send_request.rb +574 -0
- data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +480 -0
- data/lib/dropbox-sign/models/signature_request_update_request.rb +286 -0
- data/lib/dropbox-sign/models/sub_attachment.rb +292 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +264 -0
- data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +270 -0
- data/lib/dropbox-sign/models/sub_cc.rb +270 -0
- data/lib/dropbox-sign/models/sub_custom_field.rb +288 -0
- data/lib/dropbox-sign/models/sub_editor_options.rb +265 -0
- data/lib/dropbox-sign/models/sub_field_options.rb +290 -0
- data/lib/dropbox-sign/models/sub_form_field_group.rb +285 -0
- data/lib/dropbox-sign/models/sub_form_field_rule.rb +353 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +323 -0
- data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +326 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +435 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +287 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +308 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +292 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +292 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +364 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +262 -0
- data/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb +48 -0
- data/lib/dropbox-sign/models/sub_merge_field.rb +304 -0
- data/lib/dropbox-sign/models/sub_o_auth.rb +285 -0
- data/lib/dropbox-sign/models/sub_options.rb +253 -0
- data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +283 -0
- data/lib/dropbox-sign/models/sub_signature_request_signer.rb +369 -0
- data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +373 -0
- data/lib/dropbox-sign/models/sub_signing_options.rb +338 -0
- data/lib/dropbox-sign/models/sub_team_response.rb +260 -0
- data/lib/dropbox-sign/models/sub_template_role.rb +261 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +281 -0
- data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +285 -0
- data/lib/dropbox-sign/models/sub_white_labeling_options.rb +439 -0
- data/lib/dropbox-sign/models/team_add_member_request.rb +304 -0
- data/lib/dropbox-sign/models/team_create_request.rb +252 -0
- data/lib/dropbox-sign/models/team_get_info_response.rb +261 -0
- data/lib/dropbox-sign/models/team_get_response.rb +261 -0
- data/lib/dropbox-sign/models/team_info_response.rb +290 -0
- data/lib/dropbox-sign/models/team_invite_response.rb +300 -0
- data/lib/dropbox-sign/models/team_invites_response.rb +263 -0
- data/lib/dropbox-sign/models/team_member_response.rb +270 -0
- data/lib/dropbox-sign/models/team_members_response.rb +272 -0
- data/lib/dropbox-sign/models/team_parent_response.rb +261 -0
- data/lib/dropbox-sign/models/team_remove_member_request.rb +324 -0
- data/lib/dropbox-sign/models/team_response.rb +274 -0
- data/lib/dropbox-sign/models/team_sub_teams_response.rb +272 -0
- data/lib/dropbox-sign/models/team_update_request.rb +250 -0
- data/lib/dropbox-sign/models/template_add_user_request.rb +272 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +567 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +261 -0
- data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +283 -0
- data/lib/dropbox-sign/models/template_edit_response.rb +250 -0
- data/lib/dropbox-sign/models/template_get_response.rb +261 -0
- data/lib/dropbox-sign/models/template_list_response.rb +273 -0
- data/lib/dropbox-sign/models/template_remove_user_request.rb +260 -0
- data/lib/dropbox-sign/models/template_response.rb +410 -0
- data/lib/dropbox-sign/models/template_response_account.rb +299 -0
- data/lib/dropbox-sign/models/template_response_account_quota.rb +281 -0
- data/lib/dropbox-sign/models/template_response_cc_role.rb +250 -0
- data/lib/dropbox-sign/models/template_response_custom_field.rb +407 -0
- data/lib/dropbox-sign/models/template_response_document.rb +309 -0
- data/lib/dropbox-sign/models/template_response_document_custom_field.rb +438 -0
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +260 -0
- data/lib/dropbox-sign/models/template_response_document_form_field.rb +417 -0
- data/lib/dropbox-sign/models/template_response_document_static_field.rb +341 -0
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +261 -0
- data/lib/dropbox-sign/models/template_response_named_form_field.rb +383 -0
- data/lib/dropbox-sign/models/template_response_signer_role.rb +260 -0
- data/lib/dropbox-sign/models/template_update_files_request.rb +336 -0
- data/lib/dropbox-sign/models/template_update_files_response.rb +249 -0
- data/lib/dropbox-sign/models/template_update_files_response_template.rb +263 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +728 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +631 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +586 -0
- data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +261 -0
- data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +328 -0
- data/lib/dropbox-sign/models/unclaimed_draft_response.rb +305 -0
- data/lib/dropbox-sign/models/warning_response.rb +271 -0
- data/lib/dropbox-sign/version.rb +18 -0
- data/lib/dropbox-sign.rb +204 -0
- data/openapi-config.yaml +21 -0
- data/openapi-sdk.yaml +11080 -0
- data/run-build +53 -0
- data/spec/api/account_api_spec.rb +107 -0
- data/spec/api/api_app_api_spec.rb +95 -0
- data/spec/api/bulk_send_job_api_spec.rb +52 -0
- data/spec/api/embedded_api_spec.rb +55 -0
- data/spec/api/oauth_api_spec.rb +55 -0
- data/spec/api/report_api_spec.rb +38 -0
- data/spec/api/signature_request_api_spec.rb +263 -0
- data/spec/api/team_api_spec.rb +105 -0
- data/spec/api/template_api_spec.rb +147 -0
- data/spec/api/unclaimed_draft_api_spec.rb +95 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/event_callback_helper_spec.rb +22 -0
- data/spec/fixtures_spec.rb +59 -0
- data/spec/models/sub_form_fields_per_document_base_spec.rb +24 -0
- data/spec/spec_helper.rb +111 -0
- data/spec/test_utils.rb +19 -0
- data/templates/Gemfile.mustache +10 -0
- data/templates/README.mustache +133 -0
- data/templates/Rakefile.mustache +10 -0
- data/templates/api.mustache +283 -0
- data/templates/api_client.mustache +291 -0
- data/templates/api_client_faraday_partial.mustache +136 -0
- data/templates/api_client_spec.mustache +220 -0
- data/templates/api_client_typhoeus_partial.mustache +153 -0
- data/templates/api_doc.mustache +77 -0
- data/templates/api_error.mustache +52 -0
- data/templates/api_info.mustache +12 -0
- data/templates/api_test.mustache +47 -0
- data/templates/base_object.mustache +132 -0
- data/templates/configuration.mustache +372 -0
- data/templates/configuration_spec.mustache +34 -0
- data/templates/configuration_tls_faraday_partial.mustache +29 -0
- data/templates/configuration_tls_typhoeus_partial.mustache +34 -0
- data/templates/event_callback_helper.mustache +46 -0
- data/templates/gem.mustache +55 -0
- data/templates/gemspec.mustache +35 -0
- data/templates/git_push.sh.mustache +57 -0
- data/templates/gitignore.mustache +41 -0
- data/templates/model.mustache +29 -0
- data/templates/model_doc.mustache +12 -0
- data/templates/model_test.mustache +77 -0
- data/templates/partial_model_enum_class.mustache +20 -0
- data/templates/partial_model_generic.mustache +414 -0
- data/templates/partial_model_generic_doc.mustache +10 -0
- data/templates/partial_oneof_module.mustache +137 -0
- data/templates/partial_oneof_module_doc.mustache +92 -0
- data/templates/rspec.mustache +2 -0
- data/templates/rubocop.mustache +148 -0
- data/templates/spec_helper.mustache +103 -0
- data/templates/travis.mustache +14 -0
- data/templates/version.mustache +10 -0
- data/test_fixtures/AccountCreateRequest.json +7 -0
- data/test_fixtures/AccountCreateResponse.json +15 -0
- data/test_fixtures/AccountGetResponse.json +14 -0
- data/test_fixtures/AccountUpdateRequest.json +5 -0
- data/test_fixtures/AccountVerifyRequest.json +5 -0
- data/test_fixtures/AccountVerifyResponse.json +7 -0
- data/test_fixtures/ApiAppCreateRequest.json +35 -0
- data/test_fixtures/ApiAppGetResponse.json +27 -0
- data/test_fixtures/ApiAppListResponse.json +42 -0
- data/test_fixtures/ApiAppUpdateRequest.json +35 -0
- data/test_fixtures/BulkSendJobGetResponse.json +67 -0
- data/test_fixtures/BulkSendJobListResponse.json +24 -0
- data/test_fixtures/BulkSendJobSendResponse.json +10 -0
- data/test_fixtures/EmbeddedEditUrlRequest.json +28 -0
- data/test_fixtures/EmbeddedEditUrlResponse.json +8 -0
- data/test_fixtures/EmbeddedSignUrlResponse.json +8 -0
- data/test_fixtures/ErrorResponse.json +9 -0
- data/test_fixtures/EventCallbackHelper.json +50 -0
- data/test_fixtures/FileResponse.json +6 -0
- data/test_fixtures/OAuthTokenGenerateRequest.json +9 -0
- data/test_fixtures/OAuthTokenRefreshRequest.json +6 -0
- data/test_fixtures/OAuthTokenResponse.json +15 -0
- data/test_fixtures/ReportCreateRequest.json +10 -0
- data/test_fixtures/ReportCreateResponse.json +13 -0
- data/test_fixtures/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.json +67 -0
- data/test_fixtures/SignatureRequestBulkSendWithTemplateRequest.json +66 -0
- data/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +252 -0
- data/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json +60 -0
- data/test_fixtures/SignatureRequestGetResponse.json +146 -0
- data/test_fixtures/SignatureRequestListResponse.json +102 -0
- data/test_fixtures/SignatureRequestRemindRequest.json +5 -0
- data/test_fixtures/SignatureRequestSendRequest.json +463 -0
- data/test_fixtures/SignatureRequestSendWithTemplateRequest.json +48 -0
- data/test_fixtures/SignatureRequestUpdateRequest.json +7 -0
- data/test_fixtures/SubFormFieldsPerDocument.json +107 -0
- data/test_fixtures/TeamAddMemberRequest.json +6 -0
- data/test_fixtures/TeamCreateRequest.json +5 -0
- data/test_fixtures/TeamGetResponse.json +34 -0
- data/test_fixtures/TeamRemoveMemberRequest.json +7 -0
- data/test_fixtures/TeamUpdateRequest.json +5 -0
- data/test_fixtures/TemplateAddUserRequest.json +7 -0
- data/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +118 -0
- data/test_fixtures/TemplateCreateEmbeddedDraftResponse.json +9 -0
- data/test_fixtures/TemplateGetResponse.json +102 -0
- data/test_fixtures/TemplateListResponse.json +143 -0
- data/test_fixtures/TemplateRemoveUserRequest.json +6 -0
- data/test_fixtures/TemplateUpdateFilesRequest.json +11 -0
- data/test_fixtures/TemplateUpdateFilesResponse.json +7 -0
- data/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +134 -0
- data/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json +67 -0
- data/test_fixtures/UnclaimedDraftCreateRequest.json +119 -0
- data/test_fixtures/UnclaimedDraftCreateResponse.json +9 -0
- data/test_fixtures/UnclaimedDraftEditAndResendRequest.json +15 -0
- data/test_fixtures/bulk-send-sample.csv +3 -0
- data/test_fixtures/pdf-sample-2.pdf +0 -0
- data/test_fixtures/pdf-sample.pdf +0 -0
- data/vendor/autoload.php +7 -0
- data/vendor/bin/yaml-lint +117 -0
- data/vendor/composer/ClassLoader.php +572 -0
- data/vendor/composer/InstalledVersions.php +350 -0
- data/vendor/composer/LICENSE +21 -0
- data/vendor/composer/autoload_classmap.php +10 -0
- data/vendor/composer/autoload_files.php +11 -0
- data/vendor/composer/autoload_namespaces.php +9 -0
- data/vendor/composer/autoload_psr4.php +11 -0
- data/vendor/composer/autoload_real.php +80 -0
- data/vendor/composer/autoload_static.php +46 -0
- data/vendor/composer/installed.json +239 -0
- data/vendor/composer/installed.php +50 -0
- data/vendor/composer/platform_check.php +26 -0
- data/vendor/symfony/deprecation-contracts/.gitignore +3 -0
- data/vendor/symfony/deprecation-contracts/CHANGELOG.md +5 -0
- data/vendor/symfony/deprecation-contracts/LICENSE +19 -0
- data/vendor/symfony/deprecation-contracts/README.md +26 -0
- data/vendor/symfony/deprecation-contracts/composer.json +35 -0
- data/vendor/symfony/deprecation-contracts/function.php +27 -0
- data/vendor/symfony/polyfill-ctype/Ctype.php +232 -0
- data/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- data/vendor/symfony/polyfill-ctype/README.md +12 -0
- data/vendor/symfony/polyfill-ctype/bootstrap.php +50 -0
- data/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -0
- data/vendor/symfony/polyfill-ctype/composer.json +41 -0
- data/vendor/symfony/yaml/CHANGELOG.md +237 -0
- data/vendor/symfony/yaml/Command/LintCommand.php +289 -0
- data/vendor/symfony/yaml/Dumper.php +140 -0
- data/vendor/symfony/yaml/Escaper.php +95 -0
- data/vendor/symfony/yaml/Exception/DumpException.php +21 -0
- data/vendor/symfony/yaml/Exception/ExceptionInterface.php +21 -0
- data/vendor/symfony/yaml/Exception/ParseException.php +132 -0
- data/vendor/symfony/yaml/Exception/RuntimeException.php +21 -0
- data/vendor/symfony/yaml/Inline.php +812 -0
- data/vendor/symfony/yaml/LICENSE +19 -0
- data/vendor/symfony/yaml/Parser.php +1305 -0
- data/vendor/symfony/yaml/README.md +13 -0
- data/vendor/symfony/yaml/Resources/bin/yaml-lint +45 -0
- data/vendor/symfony/yaml/Tag/TaggedValue.php +38 -0
- data/vendor/symfony/yaml/Unescaper.php +132 -0
- data/vendor/symfony/yaml/Yaml.php +100 -0
- data/vendor/symfony/yaml/composer.json +42 -0
- metadata +650 -0
@@ -0,0 +1,463 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"allow_decline": true,
|
4
|
+
"allow_reassign": true,
|
5
|
+
"attachments": [
|
6
|
+
{
|
7
|
+
"name": "Attachment1",
|
8
|
+
"signer_index": 1,
|
9
|
+
"instructions": "Upload your Driver's License",
|
10
|
+
"required": true
|
11
|
+
}
|
12
|
+
],
|
13
|
+
"cc_email_addresses": [
|
14
|
+
"lawyer@dropboxsign.com",
|
15
|
+
"lawyer@example.com"
|
16
|
+
],
|
17
|
+
"client_id": "b6b8e7deaf8f0b95c029dca049356d4a2cf9710a",
|
18
|
+
"custom_fields": [
|
19
|
+
{
|
20
|
+
"name": "Cost",
|
21
|
+
"value": "$20,000",
|
22
|
+
"editor": "Client",
|
23
|
+
"required": true
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"field_options": {
|
27
|
+
"date_format": "DD - MM - YYYY"
|
28
|
+
},
|
29
|
+
"file_urls": [
|
30
|
+
"https://app.hellosign.com/docs/example_signature_request.pdf"
|
31
|
+
],
|
32
|
+
"form_field_groups": [
|
33
|
+
{
|
34
|
+
"group_id": "radio_group_1",
|
35
|
+
"group_label": "Radio Group 1",
|
36
|
+
"requirement": "require_0-1"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"form_field_rules": [
|
40
|
+
{
|
41
|
+
"id": "rule_1",
|
42
|
+
"trigger_operator": "AND",
|
43
|
+
"triggers": [
|
44
|
+
{
|
45
|
+
"id": "api_id_1",
|
46
|
+
"operator": "is",
|
47
|
+
"value": "foo"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"actions": [
|
51
|
+
{
|
52
|
+
"field_id": "api_id_2",
|
53
|
+
"hidden": true,
|
54
|
+
"type": "change-field-visibility"
|
55
|
+
}
|
56
|
+
]
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"id": "rule_2",
|
60
|
+
"trigger_operator": "AND",
|
61
|
+
"triggers": [
|
62
|
+
{
|
63
|
+
"id": "api_id_2",
|
64
|
+
"operator": "not",
|
65
|
+
"value": "bar"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"actions": [
|
69
|
+
{
|
70
|
+
"field_id": "api_id_3",
|
71
|
+
"hidden": true,
|
72
|
+
"type": "change-field-visibility"
|
73
|
+
}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"id": "rule_3",
|
78
|
+
"trigger_operator": "AND",
|
79
|
+
"triggers": [
|
80
|
+
{
|
81
|
+
"id": "api_id_3",
|
82
|
+
"operator": "any",
|
83
|
+
"values": [
|
84
|
+
"Option 1",
|
85
|
+
"Option 2"
|
86
|
+
]
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"actions": [
|
90
|
+
{
|
91
|
+
"group_id": "radio_group_1",
|
92
|
+
"hidden": true,
|
93
|
+
"type": "change-group-visibility"
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"form_fields_per_document": [
|
99
|
+
{
|
100
|
+
"document_index": 0,
|
101
|
+
"api_id": "api_id_1",
|
102
|
+
"name": "field_1",
|
103
|
+
"type": "text",
|
104
|
+
"x": 260,
|
105
|
+
"y": 315,
|
106
|
+
"width": 120,
|
107
|
+
"height": 30,
|
108
|
+
"required": true,
|
109
|
+
"signer": "1",
|
110
|
+
"page": 1
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"document_index": 0,
|
114
|
+
"api_id": "api_id_2",
|
115
|
+
"name": "field_2",
|
116
|
+
"type": "text",
|
117
|
+
"x": 260,
|
118
|
+
"y": 315,
|
119
|
+
"width": 120,
|
120
|
+
"height": 30,
|
121
|
+
"required": true,
|
122
|
+
"signer": "1",
|
123
|
+
"page": 1
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"document_index": 0,
|
127
|
+
"api_id": "api_id_3",
|
128
|
+
"name": "field_3",
|
129
|
+
"type": "dropdown",
|
130
|
+
"options": [
|
131
|
+
"Option 1",
|
132
|
+
"Option 2",
|
133
|
+
"Option 3"
|
134
|
+
],
|
135
|
+
"x": 260,
|
136
|
+
"y": 315,
|
137
|
+
"width": 120,
|
138
|
+
"height": 30,
|
139
|
+
"required": true,
|
140
|
+
"signer": "1",
|
141
|
+
"page": 1
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"document_index": 0,
|
145
|
+
"api_id": "api_id_4",
|
146
|
+
"name": "field_4",
|
147
|
+
"type": "text",
|
148
|
+
"x": 260,
|
149
|
+
"y": 315,
|
150
|
+
"width": 120,
|
151
|
+
"height": 30,
|
152
|
+
"required": true,
|
153
|
+
"signer": "1",
|
154
|
+
"page": 1
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"document_index": 0,
|
158
|
+
"api_id": "api_id_5",
|
159
|
+
"name": "field_5",
|
160
|
+
"type": "radio",
|
161
|
+
"group": "radio_group_1",
|
162
|
+
"is_checked": true,
|
163
|
+
"x": 112,
|
164
|
+
"y": 328,
|
165
|
+
"width": 100,
|
166
|
+
"height": 16,
|
167
|
+
"required": false,
|
168
|
+
"signer": "1"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"document_index": 0,
|
172
|
+
"api_id": "api_id_6",
|
173
|
+
"name": "field_6",
|
174
|
+
"type": "radio",
|
175
|
+
"group": "radio_group_1",
|
176
|
+
"is_checked": false,
|
177
|
+
"x": 112,
|
178
|
+
"y": 328,
|
179
|
+
"width": 100,
|
180
|
+
"height": 16,
|
181
|
+
"required": false,
|
182
|
+
"signer": "1"
|
183
|
+
}
|
184
|
+
],
|
185
|
+
"hide_text_tags": true,
|
186
|
+
"is_qualified_signature": false,
|
187
|
+
"message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
|
188
|
+
"metadata": {
|
189
|
+
"custom_id": 1234,
|
190
|
+
"custom_text": "NDA #9"
|
191
|
+
},
|
192
|
+
"signers": [
|
193
|
+
{
|
194
|
+
"email_address": "s1@example.com",
|
195
|
+
"name": "Signer 1",
|
196
|
+
"order": 0,
|
197
|
+
"sms_phone_number": "+14155550100",
|
198
|
+
"sms_phone_number_type": "delivery"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"email_address": "s2@example.com",
|
202
|
+
"name": "Signer 2",
|
203
|
+
"order": 1
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"email_address": "s3@example.com",
|
207
|
+
"name": "Signer 3",
|
208
|
+
"order": 2
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"email_address": "s4@example.com",
|
212
|
+
"name": "Signer 4",
|
213
|
+
"order": 3
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"signing_options": {
|
217
|
+
"draw": true,
|
218
|
+
"type": true,
|
219
|
+
"upload": true,
|
220
|
+
"phone": false,
|
221
|
+
"default_type": "draw"
|
222
|
+
},
|
223
|
+
"signing_redirect_url": "https://example.com/redirect",
|
224
|
+
"subject": "The NDA we talked about",
|
225
|
+
"test_mode": true,
|
226
|
+
"title": "NDA with Acme Co.",
|
227
|
+
"use_text_tags": true
|
228
|
+
},
|
229
|
+
"with_grouped_signers": {
|
230
|
+
"allow_decline": true,
|
231
|
+
"allow_reassign": true,
|
232
|
+
"attachments": [
|
233
|
+
{
|
234
|
+
"name": "Attachment1",
|
235
|
+
"signer_index": 1,
|
236
|
+
"instructions": "Upload your Driver's License",
|
237
|
+
"required": true
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"cc_email_addresses": [
|
241
|
+
"lawyer@dropboxsign.com",
|
242
|
+
"lawyer@example.com"
|
243
|
+
],
|
244
|
+
"client_id": "b6b8e7deaf8f0b95c029dca049356d4a2cf9710a",
|
245
|
+
"custom_fields": [
|
246
|
+
{
|
247
|
+
"name": "Cost",
|
248
|
+
"value": "$20,000",
|
249
|
+
"editor": "Client",
|
250
|
+
"required": true
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"field_options": {
|
254
|
+
"date_format": "DD - MM - YYYY"
|
255
|
+
},
|
256
|
+
"file_urls": [
|
257
|
+
"https://app.hellosign.com/docs/example_signature_request.pdf"
|
258
|
+
],
|
259
|
+
"form_field_groups": [
|
260
|
+
{
|
261
|
+
"group_id": "radio_group_1",
|
262
|
+
"group_label": "Radio Group 1",
|
263
|
+
"requirement": "require_0-1"
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"form_field_rules": [
|
267
|
+
{
|
268
|
+
"id": "rule_1",
|
269
|
+
"trigger_operator": "AND",
|
270
|
+
"triggers": [
|
271
|
+
{
|
272
|
+
"id": "api_id_1",
|
273
|
+
"operator": "is",
|
274
|
+
"value": "foo"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"actions": [
|
278
|
+
{
|
279
|
+
"field_id": "api_id_2",
|
280
|
+
"hidden": true,
|
281
|
+
"type": "change-field-visibility"
|
282
|
+
}
|
283
|
+
]
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"id": "rule_2",
|
287
|
+
"trigger_operator": "AND",
|
288
|
+
"triggers": [
|
289
|
+
{
|
290
|
+
"id": "api_id_2",
|
291
|
+
"operator": "not",
|
292
|
+
"value": "bar"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"actions": [
|
296
|
+
{
|
297
|
+
"field_id": "api_id_3",
|
298
|
+
"hidden": true,
|
299
|
+
"type": "change-field-visibility"
|
300
|
+
}
|
301
|
+
]
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"id": "rule_3",
|
305
|
+
"trigger_operator": "AND",
|
306
|
+
"triggers": [
|
307
|
+
{
|
308
|
+
"id": "api_id_3",
|
309
|
+
"operator": "any",
|
310
|
+
"values": [
|
311
|
+
"Option 1",
|
312
|
+
"Option 2"
|
313
|
+
]
|
314
|
+
}
|
315
|
+
],
|
316
|
+
"actions": [
|
317
|
+
{
|
318
|
+
"group_id": "radio_group_1",
|
319
|
+
"hidden": true,
|
320
|
+
"type": "change-group-visibility"
|
321
|
+
}
|
322
|
+
]
|
323
|
+
}
|
324
|
+
],
|
325
|
+
"form_fields_per_document": [
|
326
|
+
{
|
327
|
+
"document_index": 0,
|
328
|
+
"api_id": "api_id_1",
|
329
|
+
"name": "field_1",
|
330
|
+
"type": "text",
|
331
|
+
"x": 260,
|
332
|
+
"y": 315,
|
333
|
+
"width": 120,
|
334
|
+
"height": 30,
|
335
|
+
"required": true,
|
336
|
+
"signer": "1",
|
337
|
+
"page": 1
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"document_index": 0,
|
341
|
+
"api_id": "api_id_2",
|
342
|
+
"name": "field_2",
|
343
|
+
"type": "text",
|
344
|
+
"x": 260,
|
345
|
+
"y": 315,
|
346
|
+
"width": 120,
|
347
|
+
"height": 30,
|
348
|
+
"required": true,
|
349
|
+
"signer": "1",
|
350
|
+
"page": 1
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"document_index": 0,
|
354
|
+
"api_id": "api_id_3",
|
355
|
+
"name": "field_3",
|
356
|
+
"type": "dropdown",
|
357
|
+
"options": [
|
358
|
+
"Option 1",
|
359
|
+
"Option 2",
|
360
|
+
"Option 3"
|
361
|
+
],
|
362
|
+
"x": 260,
|
363
|
+
"y": 315,
|
364
|
+
"width": 120,
|
365
|
+
"height": 30,
|
366
|
+
"required": true,
|
367
|
+
"signer": "1",
|
368
|
+
"page": 1
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"document_index": 0,
|
372
|
+
"api_id": "api_id_4",
|
373
|
+
"name": "field_4",
|
374
|
+
"type": "text",
|
375
|
+
"x": 260,
|
376
|
+
"y": 315,
|
377
|
+
"width": 120,
|
378
|
+
"height": 30,
|
379
|
+
"required": true,
|
380
|
+
"signer": "1",
|
381
|
+
"page": 1
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"document_index": 0,
|
385
|
+
"api_id": "api_id_5",
|
386
|
+
"name": "field_5",
|
387
|
+
"type": "radio",
|
388
|
+
"group": "radio_group_1",
|
389
|
+
"is_checked": true,
|
390
|
+
"x": 112,
|
391
|
+
"y": 328,
|
392
|
+
"width": 100,
|
393
|
+
"height": 16,
|
394
|
+
"required": false,
|
395
|
+
"signer": "1"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"document_index": 0,
|
399
|
+
"api_id": "api_id_6",
|
400
|
+
"name": "field_6",
|
401
|
+
"type": "radio",
|
402
|
+
"group": "radio_group_1",
|
403
|
+
"is_checked": false,
|
404
|
+
"x": 112,
|
405
|
+
"y": 328,
|
406
|
+
"width": 100,
|
407
|
+
"height": 16,
|
408
|
+
"required": false,
|
409
|
+
"signer": "1"
|
410
|
+
}
|
411
|
+
],
|
412
|
+
"hide_text_tags": true,
|
413
|
+
"is_qualified_signature": false,
|
414
|
+
"message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
|
415
|
+
"metadata": {
|
416
|
+
"custom_id": 1234,
|
417
|
+
"custom_text": "NDA #9"
|
418
|
+
},
|
419
|
+
"grouped_signers": [
|
420
|
+
{
|
421
|
+
"group": "Group #1",
|
422
|
+
"order": 0,
|
423
|
+
"signers": [
|
424
|
+
{
|
425
|
+
"email_address": "jack@example.com",
|
426
|
+
"name": "Jack"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"email_address": "jill@example.com",
|
430
|
+
"name": "Jill"
|
431
|
+
}
|
432
|
+
]
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"group": "Group #2",
|
436
|
+
"order": 1,
|
437
|
+
"signers": [
|
438
|
+
{
|
439
|
+
"email_address": "bob@example.com",
|
440
|
+
"name": "Bob"
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"email_address": "charlie@example.com",
|
444
|
+
"name": "Charlie"
|
445
|
+
}
|
446
|
+
]
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"signing_options": {
|
450
|
+
"draw": true,
|
451
|
+
"type": true,
|
452
|
+
"upload": true,
|
453
|
+
"phone": false,
|
454
|
+
"default_type": "draw"
|
455
|
+
},
|
456
|
+
"signing_redirect_url": "https://example.com/redirect",
|
457
|
+
"subject": "The NDA we talked about",
|
458
|
+
"test_mode": true,
|
459
|
+
"title": "NDA with Acme Co.",
|
460
|
+
"use_text_tags": true
|
461
|
+
}
|
462
|
+
}
|
463
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"allow_decline": true,
|
4
|
+
"ccs": [
|
5
|
+
{
|
6
|
+
"role": "Accounting",
|
7
|
+
"email_address": "accounting@example.com"
|
8
|
+
}
|
9
|
+
],
|
10
|
+
"client_id": "b6b8e7deaf8f0b95c029dca049356d4a2cf9710a",
|
11
|
+
"custom_fields": [
|
12
|
+
{
|
13
|
+
"name": "Cost",
|
14
|
+
"value": "$20,000",
|
15
|
+
"editor": "Client",
|
16
|
+
"required": true
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"is_qualified_signature": false,
|
20
|
+
"message": "Glad we could come to an agreement.",
|
21
|
+
"metadata": {
|
22
|
+
"field1": "value1"
|
23
|
+
},
|
24
|
+
"signers": [
|
25
|
+
{
|
26
|
+
"role": "Client",
|
27
|
+
"name": "George",
|
28
|
+
"email_address": "george@example.com",
|
29
|
+
"sms_phone_number": "+14155550100",
|
30
|
+
"sms_phone_number_type": "delivery"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"signing_options": {
|
34
|
+
"draw": true,
|
35
|
+
"type": true,
|
36
|
+
"upload": true,
|
37
|
+
"phone": false,
|
38
|
+
"default_type": "draw"
|
39
|
+
},
|
40
|
+
"signing_redirect_url": "https://example.com/redirect",
|
41
|
+
"subject": "Purchase Order",
|
42
|
+
"template_ids": [
|
43
|
+
"c26b8a16784a872da37ea946b9ddec7c1e11dff6"
|
44
|
+
],
|
45
|
+
"test_mode": true,
|
46
|
+
"title": "NDA with Acme Co."
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
{
|
2
|
+
"SubFormFieldsPerDocumentCheckbox": {
|
3
|
+
"type": "checkbox",
|
4
|
+
"document_index": 0,
|
5
|
+
"api_id": "api_id_1",
|
6
|
+
"required": false,
|
7
|
+
"signer": "1",
|
8
|
+
"width": 100,
|
9
|
+
"height": 16,
|
10
|
+
"x": 112,
|
11
|
+
"y": 328,
|
12
|
+
"is_checked": false
|
13
|
+
},
|
14
|
+
"SubFormFieldsPerDocumentCheckboxMerge": {
|
15
|
+
"type" : "checkbox-merge",
|
16
|
+
"document_index": 0,
|
17
|
+
"api_id": "api_id_2",
|
18
|
+
"required": true,
|
19
|
+
"signer" : "1",
|
20
|
+
"width" : 100,
|
21
|
+
"height" : 16,
|
22
|
+
"x" : 112,
|
23
|
+
"y" : 328
|
24
|
+
},
|
25
|
+
"SubFormFieldsPerDocumentDropdown": {
|
26
|
+
"type" : "dropdown",
|
27
|
+
"document_index": 1,
|
28
|
+
"api_id": "api_id_3",
|
29
|
+
"required": false,
|
30
|
+
"signer": "1",
|
31
|
+
"width": 100,
|
32
|
+
"height": 16,
|
33
|
+
"x": 112,
|
34
|
+
"y": 328,
|
35
|
+
"options": ["foo"]
|
36
|
+
},
|
37
|
+
"SubFormFieldsPerDocumentHyperlink": {
|
38
|
+
"type" : "hyperlink",
|
39
|
+
"document_index": 1,
|
40
|
+
"api_id": "api_id_4",
|
41
|
+
"required": true,
|
42
|
+
"signer": "1",
|
43
|
+
"width": 100,
|
44
|
+
"height": 16,
|
45
|
+
"x": 112,
|
46
|
+
"y": 328,
|
47
|
+
"content": "Dropbox Sign",
|
48
|
+
"content_url": "https://dropboxsign.com"
|
49
|
+
},
|
50
|
+
"SubFormFieldsPerDocumentInitials": {
|
51
|
+
"type" : "initials",
|
52
|
+
"document_index": 0,
|
53
|
+
"api_id": "api_id_5",
|
54
|
+
"required": false,
|
55
|
+
"signer": "1",
|
56
|
+
"width": 100,
|
57
|
+
"height": 16,
|
58
|
+
"x": 112,
|
59
|
+
"y": 328
|
60
|
+
},
|
61
|
+
"SubFormFieldsPerDocumentRadio": {
|
62
|
+
"type" : "radio",
|
63
|
+
"document_index": 2,
|
64
|
+
"api_id": "api_id_6",
|
65
|
+
"required": false,
|
66
|
+
"signer": "1",
|
67
|
+
"width": 100,
|
68
|
+
"height": 16,
|
69
|
+
"x": 112,
|
70
|
+
"y": 328,
|
71
|
+
"group": "Radio Group",
|
72
|
+
"is_checked": false
|
73
|
+
},
|
74
|
+
"SubFormFieldsPerDocumentSignature": {
|
75
|
+
"type" : "signature",
|
76
|
+
"document_index": 3,
|
77
|
+
"api_id": "api_id_7",
|
78
|
+
"required": false,
|
79
|
+
"signer": "1",
|
80
|
+
"width": 100,
|
81
|
+
"height": 16,
|
82
|
+
"x": 112,
|
83
|
+
"y": 328
|
84
|
+
},
|
85
|
+
"SubFormFieldsPerDocumentText": {
|
86
|
+
"type" : "text",
|
87
|
+
"document_index": 0,
|
88
|
+
"api_id": "api_id_8",
|
89
|
+
"required": false,
|
90
|
+
"signer": "1",
|
91
|
+
"width": 100,
|
92
|
+
"height": 16,
|
93
|
+
"x": 112,
|
94
|
+
"y": 328
|
95
|
+
},
|
96
|
+
"SubFormFieldsPerDocumentTextMerge": {
|
97
|
+
"type" : "text-merge",
|
98
|
+
"document_index": 0,
|
99
|
+
"api_id": "api_id_9",
|
100
|
+
"required": false,
|
101
|
+
"signer": "1",
|
102
|
+
"width": 100,
|
103
|
+
"height": 16,
|
104
|
+
"x": 112,
|
105
|
+
"y": 328
|
106
|
+
}
|
107
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"default": {
|
3
|
+
"team": {
|
4
|
+
"name": "New Team Name",
|
5
|
+
"accounts": [
|
6
|
+
{
|
7
|
+
"account_id": "5008b25c7f67153e57d5a357b1687968068fb465",
|
8
|
+
"email_address": "me@dropboxsign.com",
|
9
|
+
"is_locked": false,
|
10
|
+
"is_paid_hs": true,
|
11
|
+
"is_paid_hf": false,
|
12
|
+
"quotas": {
|
13
|
+
"api_signature_requests_left": 1250
|
14
|
+
},
|
15
|
+
"role_code": "a"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"invited_accounts": [
|
19
|
+
{
|
20
|
+
"account_id": "8e239b5a50eac117fdd9a0e2359620aa57cb2463",
|
21
|
+
"email_address": "george@hellofax.com",
|
22
|
+
"is_locked": false,
|
23
|
+
"is_paid_hs": false,
|
24
|
+
"is_paid_hf": false,
|
25
|
+
"quotas": {
|
26
|
+
"templates_left": 0,
|
27
|
+
"documents_left": 3,
|
28
|
+
"api_signature_requests_left": 0
|
29
|
+
}
|
30
|
+
}
|
31
|
+
]
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|