docusign_esign 3.2.1 → 3.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +11 -11
- data/README.md +7 -5
- data/docusign_esign-2.6.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +30 -3
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/accounts_api.rb +364 -1
- data/lib/docusign_esign/api/authentication_api.rb +2 -1
- data/lib/docusign_esign/api/billing_api.rb +51 -1
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +130 -7
- data/lib/docusign_esign/api/cloud_storage_api.rb +2 -1
- data/lib/docusign_esign/api/connect_api.rb +2 -1
- data/lib/docusign_esign/api/custom_tabs_api.rb +2 -1
- data/lib/docusign_esign/api/data_feed_api.rb +2 -1
- data/lib/docusign_esign/api/diagnostics_api.rb +2 -1
- data/lib/docusign_esign/api/email_archive_api.rb +14 -13
- data/lib/docusign_esign/api/envelopes_api.rb +352 -7
- data/lib/docusign_esign/api/folders_api.rb +2 -1
- data/lib/docusign_esign/api/groups_api.rb +2 -1
- data/lib/docusign_esign/api/notary_api.rb +2 -1
- data/lib/docusign_esign/api/organizations_api.rb +2 -1
- data/lib/docusign_esign/api/power_forms_api.rb +2 -1
- data/lib/docusign_esign/api/signing_groups_api.rb +2 -1
- data/lib/docusign_esign/api/templates_api.rb +2 -1
- data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
- data/lib/docusign_esign/api/users_api.rb +2 -1
- data/lib/docusign_esign/api/workspaces_api.rb +2 -1
- data/lib/{.DS_Store → docusign_esign/client/.DS_Store} +0 -0
- data/lib/docusign_esign/configuration.rb +3 -2
- data/lib/docusign_esign/models/access_code_format.rb +8 -11
- data/lib/docusign_esign/models/account_address.rb +8 -10
- data/lib/docusign_esign/models/account_billing_plan.rb +8 -10
- data/lib/docusign_esign/models/account_billing_plan_response.rb +8 -10
- data/lib/docusign_esign/models/account_identity_input_option.rb +8 -11
- data/lib/docusign_esign/models/account_identity_verification_response.rb +8 -11
- data/lib/docusign_esign/models/account_identity_verification_step.rb +8 -11
- data/lib/docusign_esign/models/account_identity_verification_workflow.rb +8 -11
- data/lib/docusign_esign/models/account_information.rb +9 -11
- data/lib/docusign_esign/models/account_minimum_password_length.rb +8 -11
- data/lib/docusign_esign/models/account_notification.rb +8 -11
- data/lib/docusign_esign/models/account_password_expire_password_days.rb +8 -11
- data/lib/docusign_esign/models/account_password_lockout_duration_minutes.rb +8 -11
- data/lib/docusign_esign/models/account_password_lockout_duration_type.rb +8 -11
- data/lib/docusign_esign/models/account_password_minimum_password_age_days.rb +8 -11
- data/lib/docusign_esign/models/account_password_questions_required.rb +8 -11
- data/lib/docusign_esign/models/account_password_rules.rb +8 -11
- data/lib/docusign_esign/models/account_password_strength_type.rb +8 -11
- data/lib/docusign_esign/models/account_password_strength_type_option.rb +8 -11
- data/lib/docusign_esign/models/account_role_settings.rb +8 -11
- data/lib/docusign_esign/models/account_seals.rb +8 -11
- data/lib/docusign_esign/models/account_settings_information.rb +19 -11
- data/lib/docusign_esign/models/account_shared_access.rb +8 -10
- data/lib/docusign_esign/models/account_signature_provider.rb +8 -11
- data/lib/docusign_esign/models/account_signature_provider_option.rb +8 -11
- data/lib/docusign_esign/models/account_signature_providers.rb +8 -11
- data/lib/docusign_esign/models/account_ui_settings.rb +8 -11
- data/lib/docusign_esign/models/add_on.rb +8 -10
- data/lib/docusign_esign/models/address_information.rb +20 -12
- data/lib/docusign_esign/models/address_information_input.rb +8 -10
- data/lib/docusign_esign/models/admin_message.rb +8 -11
- data/lib/docusign_esign/models/agent.rb +39 -11
- data/lib/docusign_esign/models/api_request_log.rb +8 -10
- data/lib/docusign_esign/models/api_request_logs_result.rb +8 -10
- data/lib/docusign_esign/models/app_store_product.rb +8 -10
- data/lib/docusign_esign/models/app_store_receipt.rb +8 -10
- data/lib/docusign_esign/models/approve.rb +8 -11
- data/lib/docusign_esign/models/ask_an_admin.rb +8 -11
- data/lib/docusign_esign/models/attachment.rb +8 -10
- data/lib/docusign_esign/models/authentication_method.rb +8 -10
- data/lib/docusign_esign/models/authentication_status.rb +8 -10
- data/lib/docusign_esign/models/bcc_email_address.rb +8 -10
- data/lib/docusign_esign/models/bcc_email_archive.rb +8 -11
- data/lib/docusign_esign/models/bcc_email_archive_history.rb +8 -11
- data/lib/docusign_esign/models/bcc_email_archive_history_list.rb +8 -11
- data/lib/docusign_esign/models/bcc_email_archive_list.rb +8 -11
- data/lib/docusign_esign/models/billing_charge.rb +8 -10
- data/lib/docusign_esign/models/billing_charge_response.rb +8 -10
- data/lib/docusign_esign/models/billing_discount.rb +8 -11
- data/lib/docusign_esign/models/billing_invoice.rb +8 -10
- data/lib/docusign_esign/models/billing_invoice_item.rb +8 -10
- data/lib/docusign_esign/models/billing_invoices_response.rb +8 -10
- data/lib/docusign_esign/models/billing_invoices_summary.rb +8 -11
- data/lib/docusign_esign/models/billing_payment.rb +8 -10
- data/lib/docusign_esign/models/billing_payment_item.rb +8 -10
- data/lib/docusign_esign/models/billing_payment_request.rb +8 -11
- data/lib/docusign_esign/models/billing_payment_response.rb +8 -10
- data/lib/docusign_esign/models/billing_payments_response.rb +8 -10
- data/lib/docusign_esign/models/billing_plan.rb +8 -10
- data/lib/docusign_esign/models/billing_plan_information.rb +8 -11
- data/lib/docusign_esign/models/billing_plan_preview.rb +8 -10
- data/lib/docusign_esign/models/billing_plan_response.rb +8 -10
- data/lib/docusign_esign/models/billing_plan_update_response.rb +8 -10
- data/lib/docusign_esign/models/billing_plans_response.rb +8 -10
- data/lib/docusign_esign/models/billing_price.rb +8 -11
- data/lib/docusign_esign/models/brand.rb +8 -11
- data/lib/docusign_esign/models/brand_email_content.rb +8 -11
- data/lib/docusign_esign/models/brand_link.rb +8 -11
- data/lib/docusign_esign/models/brand_logos.rb +8 -11
- data/lib/docusign_esign/models/brand_request.rb +8 -11
- data/lib/docusign_esign/models/brand_resource_urls.rb +8 -11
- data/lib/docusign_esign/models/brand_resources.rb +8 -11
- data/lib/docusign_esign/models/brand_resources_list.rb +8 -11
- data/lib/docusign_esign/models/brands_request.rb +8 -11
- data/lib/docusign_esign/models/brands_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_envelope.rb +8 -11
- data/lib/docusign_esign/models/bulk_envelope_status.rb +8 -11
- data/lib/docusign_esign/models/bulk_envelopes_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipient.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipient_signature_provider.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipient_tab_label.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipients_request.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipients_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipients_summary_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_recipients_update_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
- data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
- data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
- data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
- data/lib/docusign_esign/models/bulk_send_request.rb +8 -11
- data/lib/docusign_esign/models/bulk_send_response.rb +40 -13
- data/lib/docusign_esign/models/bulk_send_test_response.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_copy.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_copy_custom_field.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_copy_tab.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_list.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_list_summaries.rb +8 -11
- data/lib/docusign_esign/models/bulk_sending_list_summary.rb +8 -11
- data/lib/docusign_esign/models/captive_recipient.rb +8 -11
- data/lib/docusign_esign/models/captive_recipient_information.rb +8 -11
- data/lib/docusign_esign/models/carbon_copy.rb +30 -12
- data/lib/docusign_esign/models/certified_delivery.rb +30 -12
- data/lib/docusign_esign/models/checkbox.rb +8 -11
- data/lib/docusign_esign/models/chunked_upload_part.rb +8 -11
- data/lib/docusign_esign/models/chunked_upload_request.rb +8 -11
- data/lib/docusign_esign/models/chunked_upload_response.rb +8 -11
- data/lib/docusign_esign/models/cloud_storage_provider.rb +8 -11
- data/lib/docusign_esign/models/cloud_storage_providers.rb +8 -11
- data/lib/docusign_esign/models/comment.rb +8 -11
- data/lib/docusign_esign/models/comment_history_result.rb +8 -11
- data/lib/docusign_esign/models/comment_publish.rb +9 -12
- data/lib/docusign_esign/models/comment_thread.rb +8 -11
- data/lib/docusign_esign/models/comments_publish.rb +8 -11
- data/lib/docusign_esign/models/company.rb +8 -11
- data/lib/docusign_esign/models/composite_template.rb +8 -11
- data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
- data/lib/docusign_esign/models/connect_config_results.rb +8 -11
- data/lib/docusign_esign/models/connect_custom_configuration.rb +8 -11
- data/lib/docusign_esign/models/connect_debug_log.rb +8 -11
- data/lib/docusign_esign/models/connect_event_data.rb +8 -11
- data/lib/docusign_esign/models/connect_failure_filter.rb +8 -11
- data/lib/docusign_esign/models/connect_failure_result.rb +8 -11
- data/lib/docusign_esign/models/connect_failure_results.rb +8 -11
- data/lib/docusign_esign/models/connect_log.rb +8 -11
- data/lib/docusign_esign/models/connect_logs.rb +8 -11
- data/lib/docusign_esign/models/connect_salesforce_field.rb +8 -11
- data/lib/docusign_esign/models/connect_salesforce_object.rb +8 -11
- data/lib/docusign_esign/models/connect_user_object.rb +8 -11
- data/lib/docusign_esign/models/console_view_request.rb +8 -11
- data/lib/docusign_esign/models/consumer_disclosure.rb +8 -11
- data/lib/docusign_esign/models/contact.rb +8 -11
- data/lib/docusign_esign/models/contact_get_response.rb +8 -11
- data/lib/docusign_esign/models/contact_mod_request.rb +8 -11
- data/lib/docusign_esign/models/contact_phone_number.rb +8 -11
- data/lib/docusign_esign/models/contact_update_response.rb +8 -11
- data/lib/docusign_esign/models/correct_view_request.rb +8 -11
- data/lib/docusign_esign/models/country.rb +8 -11
- data/lib/docusign_esign/models/credit_card_information.rb +8 -11
- data/lib/docusign_esign/models/credit_card_types.rb +8 -11
- data/lib/docusign_esign/models/currency_feature_set_price.rb +8 -11
- data/lib/docusign_esign/models/currency_plan_price.rb +8 -11
- data/lib/docusign_esign/models/custom_field.rb +8 -11
- data/lib/docusign_esign/models/custom_fields.rb +8 -10
- data/lib/docusign_esign/models/custom_fields_envelope.rb +8 -11
- data/lib/docusign_esign/models/custom_settings_information.rb +8 -11
- data/lib/docusign_esign/models/date.rb +8 -11
- data/lib/docusign_esign/models/date_signed.rb +8 -11
- data/lib/docusign_esign/models/date_stamp_properties.rb +8 -11
- data/lib/docusign_esign/models/decline.rb +8 -11
- data/lib/docusign_esign/models/diagnostics_settings_information.rb +8 -11
- data/lib/docusign_esign/models/direct_debit_processor_information.rb +8 -11
- data/lib/docusign_esign/models/dob_information_input.rb +8 -10
- data/lib/docusign_esign/models/document.rb +9 -86
- data/lib/docusign_esign/models/document_fields_information.rb +8 -11
- data/lib/docusign_esign/models/document_html_collapsible_display_settings.rb +8 -11
- data/lib/docusign_esign/models/document_html_definition.rb +8 -11
- data/lib/docusign_esign/models/document_html_definition_original.rb +8 -11
- data/lib/docusign_esign/models/document_html_definition_originals.rb +8 -11
- data/lib/docusign_esign/models/document_html_definitions.rb +8 -11
- data/lib/docusign_esign/models/document_html_display_anchor.rb +8 -11
- data/lib/docusign_esign/models/document_html_display_settings.rb +8 -11
- data/lib/docusign_esign/models/document_template.rb +8 -11
- data/lib/docusign_esign/models/document_template_list.rb +8 -11
- data/lib/docusign_esign/models/document_visibility.rb +8 -11
- data/lib/docusign_esign/models/document_visibility_list.rb +8 -11
- data/lib/docusign_esign/models/downgrad_request_billing_info_response.rb +194 -0
- data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +8 -11
- data/lib/docusign_esign/models/downgrade_plan_update_response.rb +8 -11
- data/lib/docusign_esign/models/draw.rb +8 -11
- data/lib/docusign_esign/models/e_note_configuration.rb +19 -12
- data/lib/docusign_esign/models/editor.rb +39 -12
- data/lib/docusign_esign/models/email.rb +8 -11
- data/lib/docusign_esign/models/email_address.rb +8 -11
- data/lib/docusign_esign/models/email_settings.rb +8 -10
- data/lib/docusign_esign/models/envelope.rb +19 -13
- data/lib/docusign_esign/models/envelope_attachment.rb +8 -11
- data/lib/docusign_esign/models/envelope_attachments_request.rb +8 -11
- data/lib/docusign_esign/models/envelope_attachments_result.rb +8 -11
- data/lib/docusign_esign/models/envelope_audit_event.rb +8 -11
- data/lib/docusign_esign/models/envelope_audit_event_response.rb +8 -11
- data/lib/docusign_esign/models/envelope_definition.rb +19 -13
- data/lib/docusign_esign/models/envelope_document.rb +8 -11
- data/lib/docusign_esign/models/envelope_documents_result.rb +8 -11
- data/lib/docusign_esign/models/envelope_event.rb +8 -11
- data/lib/docusign_esign/models/envelope_form_data.rb +8 -11
- data/lib/docusign_esign/models/envelope_id.rb +8 -11
- data/lib/docusign_esign/models/envelope_ids_request.rb +8 -11
- data/lib/docusign_esign/models/envelope_metadata.rb +8 -11
- data/lib/docusign_esign/models/envelope_notification_request.rb +8 -11
- data/lib/docusign_esign/models/envelope_purge_configuration.rb +8 -11
- data/lib/docusign_esign/models/envelope_summary.rb +8 -11
- data/lib/docusign_esign/models/envelope_template.rb +19 -13
- data/lib/docusign_esign/models/envelope_template_results.rb +8 -11
- data/lib/docusign_esign/models/envelope_transaction_status.rb +8 -11
- data/lib/docusign_esign/models/envelope_transfer_rule.rb +8 -11
- data/lib/docusign_esign/models/envelope_transfer_rule_information.rb +8 -11
- data/lib/docusign_esign/models/envelope_transfer_rule_request.rb +8 -11
- data/lib/docusign_esign/models/envelope_update_summary.rb +8 -11
- data/lib/docusign_esign/models/envelopes_information.rb +8 -11
- data/lib/docusign_esign/models/error_details.rb +8 -10
- data/lib/docusign_esign/models/event_notification.rb +8 -10
- data/lib/docusign_esign/models/event_result.rb +8 -11
- data/lib/docusign_esign/models/expirations.rb +8 -10
- data/lib/docusign_esign/models/external_doc_service_error_details.rb +8 -11
- data/lib/docusign_esign/models/external_document_sources.rb +8 -11
- data/lib/docusign_esign/models/external_file.rb +8 -11
- data/lib/docusign_esign/models/external_folder.rb +8 -11
- data/lib/docusign_esign/models/favorite_templates_content_item.rb +8 -11
- data/lib/docusign_esign/models/favorite_templates_info.rb +8 -11
- data/lib/docusign_esign/models/feature_available_metadata.rb +8 -11
- data/lib/docusign_esign/models/feature_set.rb +8 -11
- data/lib/docusign_esign/models/file_type.rb +8 -11
- data/lib/docusign_esign/models/file_type_list.rb +8 -11
- data/lib/docusign_esign/models/filter.rb +8 -11
- data/lib/docusign_esign/models/first_name.rb +8 -11
- data/lib/docusign_esign/models/folder.rb +8 -11
- data/lib/docusign_esign/models/folder_item_response.rb +8 -11
- data/lib/docusign_esign/models/folder_item_v2.rb +8 -11
- data/lib/docusign_esign/models/folder_items_response.rb +8 -11
- data/lib/docusign_esign/models/folder_shared_item.rb +8 -11
- data/lib/docusign_esign/models/folders_request.rb +8 -11
- data/lib/docusign_esign/models/folders_response.rb +8 -11
- data/lib/docusign_esign/models/forgotten_password_information.rb +8 -10
- data/lib/docusign_esign/models/form_data_item.rb +8 -11
- data/lib/docusign_esign/models/formula_tab.rb +8 -11
- data/lib/docusign_esign/models/full_name.rb +8 -11
- data/lib/docusign_esign/models/graphics_context.rb +8 -11
- data/lib/docusign_esign/models/group.rb +8 -11
- data/lib/docusign_esign/models/group_information.rb +8 -11
- data/lib/docusign_esign/models/id_check_configuration.rb +8 -11
- data/lib/docusign_esign/models/id_check_information_input.rb +8 -10
- data/lib/docusign_esign/models/id_check_security_step.rb +8 -11
- data/lib/docusign_esign/models/in_person_signer.rb +18 -12
- data/lib/docusign_esign/models/initial_here.rb +8 -11
- data/lib/docusign_esign/models/inline_template.rb +8 -11
- data/lib/docusign_esign/models/integrated_user_info_list.rb +8 -11
- data/lib/docusign_esign/models/intermediary.rb +39 -12
- data/lib/docusign_esign/models/jurisdiction.rb +8 -11
- data/lib/docusign_esign/models/last_name.rb +8 -11
- data/lib/docusign_esign/models/list.rb +8 -11
- data/lib/docusign_esign/models/list_custom_field.rb +8 -11
- data/lib/docusign_esign/models/list_item.rb +8 -11
- data/lib/docusign_esign/models/locale_policy.rb +8 -11
- data/lib/docusign_esign/models/locale_policy_tab.rb +8 -11
- data/lib/docusign_esign/models/lock_information.rb +8 -11
- data/lib/docusign_esign/models/lock_request.rb +8 -11
- data/lib/docusign_esign/models/login_account.rb +8 -11
- data/lib/docusign_esign/models/login_information.rb +8 -11
- data/lib/docusign_esign/models/match_box.rb +8 -11
- data/lib/docusign_esign/models/member_group_shared_item.rb +8 -11
- data/lib/docusign_esign/models/member_shared_items.rb +8 -11
- data/lib/docusign_esign/models/merge_field.rb +8 -10
- data/lib/docusign_esign/models/mobile_notifier_configuration.rb +8 -11
- data/lib/docusign_esign/models/mobile_notifier_configuration_information.rb +8 -11
- data/lib/docusign_esign/models/money.rb +8 -11
- data/lib/docusign_esign/models/name_value.rb +8 -11
- data/lib/docusign_esign/models/new_account_definition.rb +8 -11
- data/lib/docusign_esign/models/new_account_summary.rb +8 -11
- data/lib/docusign_esign/models/new_user.rb +19 -12
- data/lib/docusign_esign/models/new_users_definition.rb +8 -11
- data/lib/docusign_esign/models/new_users_summary.rb +8 -11
- data/lib/docusign_esign/models/notarize.rb +8 -11
- data/lib/docusign_esign/models/notary.rb +8 -11
- data/lib/docusign_esign/models/notary_host.rb +18 -12
- data/lib/docusign_esign/models/notary_journal.rb +8 -11
- data/lib/docusign_esign/models/notary_journal_credible_witness.rb +8 -11
- data/lib/docusign_esign/models/notary_journal_list.rb +8 -11
- data/lib/docusign_esign/models/notary_journal_meta_data.rb +8 -11
- data/lib/docusign_esign/models/notary_jurisdiction.rb +8 -11
- data/lib/docusign_esign/models/notary_jurisdiction_list.rb +8 -11
- data/lib/docusign_esign/models/notary_result.rb +8 -11
- data/lib/docusign_esign/models/note.rb +8 -11
- data/lib/docusign_esign/models/notification.rb +8 -10
- data/lib/docusign_esign/models/notification_default_settings.rb +8 -11
- data/lib/docusign_esign/models/notification_defaults.rb +8 -11
- data/lib/docusign_esign/models/number.rb +8 -11
- data/lib/docusign_esign/models/oauth_access.rb +8 -11
- data/lib/docusign_esign/models/offline_attributes.rb +8 -10
- data/lib/docusign_esign/models/page.rb +8 -10
- data/lib/docusign_esign/models/page_images.rb +8 -11
- data/lib/docusign_esign/models/page_request.rb +8 -11
- data/lib/docusign_esign/models/path_extended_element.rb +8 -11
- data/lib/docusign_esign/models/pay_pal_legacy_settings.rb +8 -11
- data/lib/docusign_esign/models/payment_details.rb +8 -11
- data/lib/docusign_esign/models/payment_gateway_account.rb +22 -13
- data/lib/docusign_esign/models/payment_gateway_account_setting.rb +8 -11
- data/lib/docusign_esign/models/payment_gateway_accounts_info.rb +8 -11
- data/lib/docusign_esign/models/payment_line_item.rb +8 -11
- data/lib/docusign_esign/models/payment_method_with_options.rb +8 -11
- data/lib/docusign_esign/models/payment_processor_information.rb +8 -11
- data/lib/docusign_esign/models/permission_profile.rb +8 -11
- data/lib/docusign_esign/models/permission_profile_information.rb +8 -11
- data/lib/docusign_esign/models/plan_information.rb +8 -10
- data/lib/docusign_esign/models/poly_line.rb +8 -11
- data/lib/docusign_esign/models/poly_line_overlay.rb +8 -11
- data/lib/docusign_esign/models/power_form.rb +8 -11
- data/lib/docusign_esign/models/power_form_form_data_envelope.rb +8 -11
- data/lib/docusign_esign/models/power_form_form_data_recipient.rb +8 -11
- data/lib/docusign_esign/models/power_form_recipient.rb +8 -11
- data/lib/docusign_esign/models/power_form_senders_response.rb +8 -11
- data/lib/docusign_esign/models/power_forms_form_data_response.rb +8 -11
- data/lib/docusign_esign/models/power_forms_request.rb +8 -11
- data/lib/docusign_esign/models/power_forms_response.rb +8 -11
- data/lib/docusign_esign/models/proof_service_resource_token.rb +21 -14
- data/lib/docusign_esign/models/proof_service_view_link.rb +8 -11
- data/lib/docusign_esign/models/property_metadata.rb +8 -11
- data/lib/docusign_esign/models/province.rb +8 -11
- data/lib/docusign_esign/models/provisioning_information.rb +8 -11
- data/lib/docusign_esign/models/purchased_envelopes_information.rb +8 -11
- data/lib/docusign_esign/models/radio.rb +8 -11
- data/lib/docusign_esign/models/radio_group.rb +8 -11
- data/lib/docusign_esign/models/recipient_additional_notification.rb +213 -0
- data/lib/docusign_esign/models/recipient_attachment.rb +8 -11
- data/lib/docusign_esign/models/recipient_domain.rb +8 -11
- data/lib/docusign_esign/models/recipient_email_notification.rb +8 -11
- data/lib/docusign_esign/models/recipient_event.rb +8 -11
- data/lib/docusign_esign/models/recipient_form_data.rb +8 -11
- data/lib/docusign_esign/models/recipient_group.rb +207 -0
- data/lib/docusign_esign/models/recipient_identity_input_option.rb +8 -11
- data/lib/docusign_esign/models/recipient_identity_phone_number.rb +8 -11
- data/lib/docusign_esign/models/recipient_identity_verification.rb +8 -11
- data/lib/docusign_esign/models/recipient_names_response.rb +8 -11
- data/lib/docusign_esign/models/recipient_option.rb +225 -0
- data/lib/docusign_esign/models/recipient_phone_authentication.rb +8 -10
- data/lib/docusign_esign/models/recipient_phone_number.rb +213 -0
- data/lib/docusign_esign/models/recipient_preview_request.rb +8 -11
- data/lib/docusign_esign/models/recipient_proof_file.rb +8 -11
- data/lib/docusign_esign/models/recipient_routing.rb +184 -0
- data/lib/docusign_esign/models/recipient_rules.rb +187 -0
- data/lib/docusign_esign/models/recipient_signature_information.rb +8 -10
- data/lib/docusign_esign/models/recipient_signature_provider.rb +8 -11
- data/lib/docusign_esign/models/recipient_signature_provider_options.rb +8 -11
- data/lib/docusign_esign/models/recipient_sms_authentication.rb +8 -10
- data/lib/docusign_esign/models/recipient_update_response.rb +8 -11
- data/lib/docusign_esign/models/recipient_view_request.rb +33 -12
- data/lib/docusign_esign/models/recipients.rb +8 -10
- data/lib/docusign_esign/models/recipients_update_summary.rb +8 -11
- data/lib/docusign_esign/models/referral_information.rb +8 -10
- data/lib/docusign_esign/models/reminders.rb +8 -10
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
- data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
- data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
- data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
- data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
- data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
- data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
- data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
- data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
- data/lib/docusign_esign/models/resource_information.rb +8 -11
- data/lib/docusign_esign/models/return_url_request.rb +8 -11
- data/lib/docusign_esign/models/seal_identifier.rb +8 -11
- data/lib/docusign_esign/models/seal_sign.rb +18 -12
- data/lib/docusign_esign/models/seat_discount.rb +8 -11
- data/lib/docusign_esign/models/sender_email_notifications.rb +19 -12
- data/lib/docusign_esign/models/server_template.rb +8 -11
- data/lib/docusign_esign/models/service_information.rb +8 -11
- data/lib/docusign_esign/models/service_version.rb +8 -11
- data/lib/docusign_esign/models/settings_metadata.rb +8 -11
- data/lib/docusign_esign/models/shared_item.rb +8 -11
- data/lib/docusign_esign/models/sign_here.rb +8 -11
- data/lib/docusign_esign/models/signature_provider_required_option.rb +8 -11
- data/lib/docusign_esign/models/signature_type.rb +8 -11
- data/lib/docusign_esign/models/signer.rb +30 -12
- data/lib/docusign_esign/models/signer_attachment.rb +8 -11
- data/lib/docusign_esign/models/signer_email_notifications.rb +8 -10
- data/lib/docusign_esign/models/signing_group.rb +8 -11
- data/lib/docusign_esign/models/signing_group_information.rb +8 -11
- data/lib/docusign_esign/models/signing_group_user.rb +8 -11
- data/lib/docusign_esign/models/signing_group_users.rb +8 -11
- data/lib/docusign_esign/models/smart_contract_information.rb +8 -11
- data/lib/docusign_esign/models/smart_section.rb +8 -11
- data/lib/docusign_esign/models/smart_section_anchor_position.rb +8 -11
- data/lib/docusign_esign/models/smart_section_collapsible_display_settings.rb +8 -11
- data/lib/docusign_esign/models/smart_section_display_settings.rb +8 -11
- data/lib/docusign_esign/models/social_account_information.rb +8 -11
- data/lib/docusign_esign/models/social_authentication.rb +8 -11
- data/lib/docusign_esign/models/ssn.rb +8 -11
- data/lib/docusign_esign/models/ssn4_information_input.rb +8 -11
- data/lib/docusign_esign/models/ssn9_information_input.rb +8 -11
- data/lib/docusign_esign/models/stamp.rb +8 -11
- data/lib/docusign_esign/models/supported_languages.rb +8 -11
- data/lib/docusign_esign/models/tab_account_settings.rb +8 -11
- data/lib/docusign_esign/models/tab_group.rb +8 -11
- data/lib/docusign_esign/models/tab_metadata.rb +39 -12
- data/lib/docusign_esign/models/tab_metadata_list.rb +8 -11
- data/lib/docusign_esign/models/tabs.rb +8 -11
- data/lib/docusign_esign/models/template_custom_fields.rb +8 -11
- data/lib/docusign_esign/models/template_document_visibility_list.rb +8 -11
- data/lib/docusign_esign/models/template_documents_result.rb +8 -11
- data/lib/docusign_esign/models/template_information.rb +8 -11
- data/lib/docusign_esign/models/template_match.rb +8 -11
- data/lib/docusign_esign/models/template_notification_request.rb +8 -11
- data/lib/docusign_esign/models/template_recipients.rb +8 -11
- data/lib/docusign_esign/models/template_role.rb +8 -11
- data/lib/docusign_esign/models/template_shared_item.rb +8 -11
- data/lib/docusign_esign/models/template_summary.rb +8 -11
- data/lib/docusign_esign/models/template_tabs.rb +8 -11
- data/lib/docusign_esign/models/template_update_summary.rb +8 -11
- data/lib/docusign_esign/models/text.rb +8 -11
- data/lib/docusign_esign/models/text_custom_field.rb +8 -11
- data/lib/docusign_esign/models/title.rb +8 -11
- data/lib/docusign_esign/models/usage_history.rb +8 -10
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -13
- data/lib/docusign_esign/models/user_info.rb +8 -11
- data/lib/docusign_esign/models/user_info_list.rb +8 -11
- data/lib/docusign_esign/models/user_information.rb +8 -11
- data/lib/docusign_esign/models/user_information_list.rb +8 -11
- data/lib/docusign_esign/models/user_password_information.rb +8 -11
- data/lib/docusign_esign/models/user_password_rules.rb +8 -11
- data/lib/docusign_esign/models/user_profile.rb +8 -11
- data/lib/docusign_esign/models/user_settings_information.rb +8 -11
- data/lib/docusign_esign/models/user_shared_item.rb +8 -11
- data/lib/docusign_esign/models/user_signature.rb +8 -11
- data/lib/docusign_esign/models/user_signature_definition.rb +8 -11
- data/lib/docusign_esign/models/user_signatures_information.rb +8 -11
- data/lib/docusign_esign/models/user_social_id_result.rb +8 -11
- data/lib/docusign_esign/models/users_response.rb +8 -11
- data/lib/docusign_esign/models/view.rb +8 -11
- data/lib/docusign_esign/models/view_url.rb +8 -11
- data/lib/docusign_esign/models/watermark.rb +8 -11
- data/lib/docusign_esign/models/witness.rb +30 -12
- data/lib/docusign_esign/models/workflow.rb +207 -0
- data/lib/docusign_esign/models/workflow_step.rb +254 -0
- data/lib/docusign_esign/models/workspace.rb +8 -10
- data/lib/docusign_esign/models/workspace_folder_contents.rb +8 -10
- data/lib/docusign_esign/models/workspace_item.rb +8 -10
- data/lib/docusign_esign/models/workspace_item_list.rb +8 -10
- data/lib/docusign_esign/models/workspace_list.rb +8 -10
- data/lib/docusign_esign/models/workspace_settings.rb +8 -11
- data/lib/docusign_esign/models/workspace_user.rb +8 -10
- data/lib/docusign_esign/models/workspace_user_authorization.rb +8 -10
- data/lib/docusign_esign/models/zip.rb +8 -11
- data/lib/docusign_esign/version.rb +2 -1
- data/tests/Gemfile.lock +10 -10
- metadata +59 -31
@@ -6,18 +6,17 @@
|
|
6
6
|
OpenAPI spec version: v2.1
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
9
10
|
|
10
11
|
=end
|
11
12
|
|
12
13
|
require 'date'
|
13
14
|
|
14
15
|
module DocuSign_eSign
|
15
|
-
|
16
16
|
class ViewUrl
|
17
17
|
# The view URL to be navigated to.
|
18
18
|
attr_accessor :url
|
19
19
|
|
20
|
-
|
21
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
21
|
def self.attribute_map
|
23
22
|
{
|
@@ -38,25 +37,24 @@ module DocuSign_eSign
|
|
38
37
|
return unless attributes.is_a?(Hash)
|
39
38
|
|
40
39
|
# convert string to symbol for hash key
|
41
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
40
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
42
41
|
|
43
42
|
if attributes.has_key?(:'url')
|
44
43
|
self.url = attributes[:'url']
|
45
44
|
end
|
46
|
-
|
47
45
|
end
|
48
46
|
|
49
47
|
# Show invalid properties with the reasons. Usually used together with valid?
|
50
|
-
# @return Array for valid
|
48
|
+
# @return Array for valid properties with the reasons
|
51
49
|
def list_invalid_properties
|
52
50
|
invalid_properties = Array.new
|
53
|
-
|
51
|
+
invalid_properties
|
54
52
|
end
|
55
53
|
|
56
54
|
# Check to see if the all the properties in the model are valid
|
57
55
|
# @return true if the model is valid
|
58
56
|
def valid?
|
59
|
-
|
57
|
+
true
|
60
58
|
end
|
61
59
|
|
62
60
|
# Checks equality by comparing each attribute.
|
@@ -86,10 +84,10 @@ module DocuSign_eSign
|
|
86
84
|
return nil unless attributes.is_a?(Hash)
|
87
85
|
self.class.swagger_types.each_pair do |key, type|
|
88
86
|
if type =~ /\AArray<(.*)>/i
|
89
|
-
# check to ensure the input is an array given that the
|
87
|
+
# check to ensure the input is an array given that the attribute
|
90
88
|
# is documented as an array but the input is not
|
91
89
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
92
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
90
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
93
91
|
end
|
94
92
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
95
93
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -171,7 +169,7 @@ module DocuSign_eSign
|
|
171
169
|
# @return [Hash] Returns the value in the form of hash
|
172
170
|
def _to_hash(value)
|
173
171
|
if value.is_a?(Array)
|
174
|
-
value.compact.map{ |v| _to_hash(v) }
|
172
|
+
value.compact.map { |v| _to_hash(v) }
|
175
173
|
elsif value.is_a?(Hash)
|
176
174
|
{}.tap do |hash|
|
177
175
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -184,5 +182,4 @@ module DocuSign_eSign
|
|
184
182
|
end
|
185
183
|
|
186
184
|
end
|
187
|
-
|
188
185
|
end
|
@@ -6,13 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v2.1
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
9
10
|
|
10
11
|
=end
|
11
12
|
|
12
13
|
require 'date'
|
13
14
|
|
14
15
|
module DocuSign_eSign
|
15
|
-
|
16
16
|
class Watermark
|
17
17
|
#
|
18
18
|
attr_accessor :display_angle
|
@@ -41,7 +41,6 @@ module DocuSign_eSign
|
|
41
41
|
#
|
42
42
|
attr_accessor :watermark_text
|
43
43
|
|
44
|
-
|
45
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
45
|
def self.attribute_map
|
47
46
|
{
|
@@ -78,7 +77,7 @@ module DocuSign_eSign
|
|
78
77
|
return unless attributes.is_a?(Hash)
|
79
78
|
|
80
79
|
# convert string to symbol for hash key
|
81
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
80
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
82
81
|
|
83
82
|
if attributes.has_key?(:'displayAngle')
|
84
83
|
self.display_angle = attributes[:'displayAngle']
|
@@ -115,20 +114,19 @@ module DocuSign_eSign
|
|
115
114
|
if attributes.has_key?(:'watermarkText')
|
116
115
|
self.watermark_text = attributes[:'watermarkText']
|
117
116
|
end
|
118
|
-
|
119
117
|
end
|
120
118
|
|
121
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
122
|
-
# @return Array for valid
|
120
|
+
# @return Array for valid properties with the reasons
|
123
121
|
def list_invalid_properties
|
124
122
|
invalid_properties = Array.new
|
125
|
-
|
123
|
+
invalid_properties
|
126
124
|
end
|
127
125
|
|
128
126
|
# Check to see if the all the properties in the model are valid
|
129
127
|
# @return true if the model is valid
|
130
128
|
def valid?
|
131
|
-
|
129
|
+
true
|
132
130
|
end
|
133
131
|
|
134
132
|
# Checks equality by comparing each attribute.
|
@@ -166,10 +164,10 @@ module DocuSign_eSign
|
|
166
164
|
return nil unless attributes.is_a?(Hash)
|
167
165
|
self.class.swagger_types.each_pair do |key, type|
|
168
166
|
if type =~ /\AArray<(.*)>/i
|
169
|
-
# check to ensure the input is an array given that the
|
167
|
+
# check to ensure the input is an array given that the attribute
|
170
168
|
# is documented as an array but the input is not
|
171
169
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
172
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
170
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
173
171
|
end
|
174
172
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
175
173
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -251,7 +249,7 @@ module DocuSign_eSign
|
|
251
249
|
# @return [Hash] Returns the value in the form of hash
|
252
250
|
def _to_hash(value)
|
253
251
|
if value.is_a?(Array)
|
254
|
-
value.compact.map{ |v| _to_hash(v) }
|
252
|
+
value.compact.map { |v| _to_hash(v) }
|
255
253
|
elsif value.is_a?(Hash)
|
256
254
|
{}.tap do |hash|
|
257
255
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -264,5 +262,4 @@ module DocuSign_eSign
|
|
264
262
|
end
|
265
263
|
|
266
264
|
end
|
267
|
-
|
268
265
|
end
|
@@ -6,13 +6,13 @@
|
|
6
6
|
OpenAPI spec version: v2.1
|
7
7
|
Contact: devcenter@docusign.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
9
10
|
|
10
11
|
=end
|
11
12
|
|
12
13
|
require 'date'
|
13
14
|
|
14
15
|
module DocuSign_eSign
|
15
|
-
|
16
16
|
class Witness
|
17
17
|
# If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.
|
18
18
|
attr_accessor :access_code
|
@@ -22,6 +22,11 @@ module DocuSign_eSign
|
|
22
22
|
# This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.
|
23
23
|
attr_accessor :add_access_code_to_email
|
24
24
|
|
25
|
+
#
|
26
|
+
attr_accessor :additional_notifications
|
27
|
+
|
28
|
+
attr_accessor :additional_notifications_metadata
|
29
|
+
|
25
30
|
#
|
26
31
|
attr_accessor :agent_can_edit_email
|
27
32
|
|
@@ -257,13 +262,14 @@ module DocuSign_eSign
|
|
257
262
|
#
|
258
263
|
attr_accessor :witness_for_guid
|
259
264
|
|
260
|
-
|
261
265
|
# Attribute mapping from ruby-style variable name to JSON key.
|
262
266
|
def self.attribute_map
|
263
267
|
{
|
264
268
|
:'access_code' => :'accessCode',
|
265
269
|
:'access_code_metadata' => :'accessCodeMetadata',
|
266
270
|
:'add_access_code_to_email' => :'addAccessCodeToEmail',
|
271
|
+
:'additional_notifications' => :'additionalNotifications',
|
272
|
+
:'additional_notifications_metadata' => :'additionalNotificationsMetadata',
|
267
273
|
:'agent_can_edit_email' => :'agentCanEditEmail',
|
268
274
|
:'agent_can_edit_name' => :'agentCanEditName',
|
269
275
|
:'allow_system_override_for_locked_recipient' => :'allowSystemOverrideForLockedRecipient',
|
@@ -360,6 +366,8 @@ module DocuSign_eSign
|
|
360
366
|
:'access_code' => :'String',
|
361
367
|
:'access_code_metadata' => :'PropertyMetadata',
|
362
368
|
:'add_access_code_to_email' => :'String',
|
369
|
+
:'additional_notifications' => :'Array<RecipientAdditionalNotification>',
|
370
|
+
:'additional_notifications_metadata' => :'PropertyMetadata',
|
363
371
|
:'agent_can_edit_email' => :'String',
|
364
372
|
:'agent_can_edit_name' => :'String',
|
365
373
|
:'allow_system_override_for_locked_recipient' => :'String',
|
@@ -456,7 +464,7 @@ module DocuSign_eSign
|
|
456
464
|
return unless attributes.is_a?(Hash)
|
457
465
|
|
458
466
|
# convert string to symbol for hash key
|
459
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
467
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
460
468
|
|
461
469
|
if attributes.has_key?(:'accessCode')
|
462
470
|
self.access_code = attributes[:'accessCode']
|
@@ -470,6 +478,16 @@ module DocuSign_eSign
|
|
470
478
|
self.add_access_code_to_email = attributes[:'addAccessCodeToEmail']
|
471
479
|
end
|
472
480
|
|
481
|
+
if attributes.has_key?(:'additionalNotifications')
|
482
|
+
if (value = attributes[:'additionalNotifications']).is_a?(Array)
|
483
|
+
self.additional_notifications = value
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
if attributes.has_key?(:'additionalNotificationsMetadata')
|
488
|
+
self.additional_notifications_metadata = attributes[:'additionalNotificationsMetadata']
|
489
|
+
end
|
490
|
+
|
473
491
|
if attributes.has_key?(:'agentCanEditEmail')
|
474
492
|
self.agent_can_edit_email = attributes[:'agentCanEditEmail']
|
475
493
|
end
|
@@ -833,20 +851,19 @@ module DocuSign_eSign
|
|
833
851
|
if attributes.has_key?(:'witnessForGuid')
|
834
852
|
self.witness_for_guid = attributes[:'witnessForGuid']
|
835
853
|
end
|
836
|
-
|
837
854
|
end
|
838
855
|
|
839
856
|
# Show invalid properties with the reasons. Usually used together with valid?
|
840
|
-
# @return Array for valid
|
857
|
+
# @return Array for valid properties with the reasons
|
841
858
|
def list_invalid_properties
|
842
859
|
invalid_properties = Array.new
|
843
|
-
|
860
|
+
invalid_properties
|
844
861
|
end
|
845
862
|
|
846
863
|
# Check to see if the all the properties in the model are valid
|
847
864
|
# @return true if the model is valid
|
848
865
|
def valid?
|
849
|
-
|
866
|
+
true
|
850
867
|
end
|
851
868
|
|
852
869
|
# Checks equality by comparing each attribute.
|
@@ -857,6 +874,8 @@ module DocuSign_eSign
|
|
857
874
|
access_code == o.access_code &&
|
858
875
|
access_code_metadata == o.access_code_metadata &&
|
859
876
|
add_access_code_to_email == o.add_access_code_to_email &&
|
877
|
+
additional_notifications == o.additional_notifications &&
|
878
|
+
additional_notifications_metadata == o.additional_notifications_metadata &&
|
860
879
|
agent_can_edit_email == o.agent_can_edit_email &&
|
861
880
|
agent_can_edit_name == o.agent_can_edit_name &&
|
862
881
|
allow_system_override_for_locked_recipient == o.allow_system_override_for_locked_recipient &&
|
@@ -955,7 +974,7 @@ module DocuSign_eSign
|
|
955
974
|
# Calculates hash code according to all attributes.
|
956
975
|
# @return [Fixnum] Hash code
|
957
976
|
def hash
|
958
|
-
[access_code, access_code_metadata, add_access_code_to_email, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, offline_attributes, phone_authentication, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id, witness_for, witness_for_guid].hash
|
977
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, additional_notifications_metadata, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, offline_attributes, phone_authentication, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id, witness_for, witness_for_guid].hash
|
959
978
|
end
|
960
979
|
|
961
980
|
# Builds the object from hash
|
@@ -965,10 +984,10 @@ module DocuSign_eSign
|
|
965
984
|
return nil unless attributes.is_a?(Hash)
|
966
985
|
self.class.swagger_types.each_pair do |key, type|
|
967
986
|
if type =~ /\AArray<(.*)>/i
|
968
|
-
# check to ensure the input is an array given that the
|
987
|
+
# check to ensure the input is an array given that the attribute
|
969
988
|
# is documented as an array but the input is not
|
970
989
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
971
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
990
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
972
991
|
end
|
973
992
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
974
993
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -1050,7 +1069,7 @@ module DocuSign_eSign
|
|
1050
1069
|
# @return [Hash] Returns the value in the form of hash
|
1051
1070
|
def _to_hash(value)
|
1052
1071
|
if value.is_a?(Array)
|
1053
|
-
value.compact.map{ |v| _to_hash(v) }
|
1072
|
+
value.compact.map { |v| _to_hash(v) }
|
1054
1073
|
elsif value.is_a?(Hash)
|
1055
1074
|
{}.tap do |hash|
|
1056
1075
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -1063,5 +1082,4 @@ module DocuSign_eSign
|
|
1063
1082
|
end
|
1064
1083
|
|
1065
1084
|
end
|
1066
|
-
|
1067
1085
|
end
|
@@ -0,0 +1,207 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.1
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module DocuSign_eSign
|
16
|
+
class Workflow
|
17
|
+
#
|
18
|
+
attr_accessor :current_workflow_step_id
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :workflow_status
|
22
|
+
|
23
|
+
#
|
24
|
+
attr_accessor :workflow_steps
|
25
|
+
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
+
def self.attribute_map
|
28
|
+
{
|
29
|
+
:'current_workflow_step_id' => :'currentWorkflowStepId',
|
30
|
+
:'workflow_status' => :'workflowStatus',
|
31
|
+
:'workflow_steps' => :'workflowSteps'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.swagger_types
|
37
|
+
{
|
38
|
+
:'current_workflow_step_id' => :'String',
|
39
|
+
:'workflow_status' => :'String',
|
40
|
+
:'workflow_steps' => :'Array<WorkflowStep>'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
return unless attributes.is_a?(Hash)
|
48
|
+
|
49
|
+
# convert string to symbol for hash key
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
|
+
|
52
|
+
if attributes.has_key?(:'currentWorkflowStepId')
|
53
|
+
self.current_workflow_step_id = attributes[:'currentWorkflowStepId']
|
54
|
+
end
|
55
|
+
|
56
|
+
if attributes.has_key?(:'workflowStatus')
|
57
|
+
self.workflow_status = attributes[:'workflowStatus']
|
58
|
+
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'workflowSteps')
|
61
|
+
if (value = attributes[:'workflowSteps']).is_a?(Array)
|
62
|
+
self.workflow_steps = value
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
invalid_properties = Array.new
|
71
|
+
invalid_properties
|
72
|
+
end
|
73
|
+
|
74
|
+
# Check to see if the all the properties in the model are valid
|
75
|
+
# @return true if the model is valid
|
76
|
+
def valid?
|
77
|
+
true
|
78
|
+
end
|
79
|
+
|
80
|
+
# Checks equality by comparing each attribute.
|
81
|
+
# @param [Object] Object to be compared
|
82
|
+
def ==(o)
|
83
|
+
return true if self.equal?(o)
|
84
|
+
self.class == o.class &&
|
85
|
+
current_workflow_step_id == o.current_workflow_step_id &&
|
86
|
+
workflow_status == o.workflow_status &&
|
87
|
+
workflow_steps == o.workflow_steps
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def eql?(o)
|
93
|
+
self == o
|
94
|
+
end
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Fixnum] Hash code
|
98
|
+
def hash
|
99
|
+
[current_workflow_step_id, workflow_status, workflow_steps].hash
|
100
|
+
end
|
101
|
+
|
102
|
+
# Builds the object from hash
|
103
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
104
|
+
# @return [Object] Returns the model itself
|
105
|
+
def build_from_hash(attributes)
|
106
|
+
return nil unless attributes.is_a?(Hash)
|
107
|
+
self.class.swagger_types.each_pair do |key, type|
|
108
|
+
if type =~ /\AArray<(.*)>/i
|
109
|
+
# check to ensure the input is an array given that the attribute
|
110
|
+
# is documented as an array but the input is not
|
111
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
112
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
113
|
+
end
|
114
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
115
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
116
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
117
|
+
end
|
118
|
+
|
119
|
+
self
|
120
|
+
end
|
121
|
+
|
122
|
+
# Deserializes the data based on type
|
123
|
+
# @param string type Data type
|
124
|
+
# @param string value Value to be deserialized
|
125
|
+
# @return [Object] Deserialized data
|
126
|
+
def _deserialize(type, value)
|
127
|
+
case type.to_sym
|
128
|
+
when :DateTime
|
129
|
+
DateTime.parse(value)
|
130
|
+
when :Date
|
131
|
+
Date.parse(value)
|
132
|
+
when :String
|
133
|
+
value.to_s
|
134
|
+
when :Integer
|
135
|
+
value.to_i
|
136
|
+
when :Float
|
137
|
+
value.to_f
|
138
|
+
when :BOOLEAN
|
139
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
140
|
+
true
|
141
|
+
else
|
142
|
+
false
|
143
|
+
end
|
144
|
+
when :Object
|
145
|
+
# generic object (usually a Hash), return directly
|
146
|
+
value
|
147
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
148
|
+
inner_type = Regexp.last_match[:inner_type]
|
149
|
+
value.map { |v| _deserialize(inner_type, v) }
|
150
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
151
|
+
k_type = Regexp.last_match[:k_type]
|
152
|
+
v_type = Regexp.last_match[:v_type]
|
153
|
+
{}.tap do |hash|
|
154
|
+
value.each do |k, v|
|
155
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
else # model
|
159
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
160
|
+
temp_model.build_from_hash(value)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
# Returns the string representation of the object
|
165
|
+
# @return [String] String presentation of the object
|
166
|
+
def to_s
|
167
|
+
to_hash.to_s
|
168
|
+
end
|
169
|
+
|
170
|
+
# to_body is an alias to to_hash (backward compatibility)
|
171
|
+
# @return [Hash] Returns the object in the form of hash
|
172
|
+
def to_body
|
173
|
+
to_hash
|
174
|
+
end
|
175
|
+
|
176
|
+
# Returns the object in the form of hash
|
177
|
+
# @return [Hash] Returns the object in the form of hash
|
178
|
+
def to_hash
|
179
|
+
hash = {}
|
180
|
+
self.class.attribute_map.each_pair do |attr, param|
|
181
|
+
value = self.send(attr)
|
182
|
+
next if value.nil?
|
183
|
+
hash[param] = _to_hash(value)
|
184
|
+
end
|
185
|
+
hash
|
186
|
+
end
|
187
|
+
|
188
|
+
# Outputs non-array value in the form of hash
|
189
|
+
# For object, use to_hash. Otherwise, just return the value
|
190
|
+
# @param [Object] value Any valid value
|
191
|
+
# @return [Hash] Returns the value in the form of hash
|
192
|
+
def _to_hash(value)
|
193
|
+
if value.is_a?(Array)
|
194
|
+
value.compact.map { |v| _to_hash(v) }
|
195
|
+
elsif value.is_a?(Hash)
|
196
|
+
{}.tap do |hash|
|
197
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
198
|
+
end
|
199
|
+
elsif value.respond_to? :to_hash
|
200
|
+
value.to_hash
|
201
|
+
else
|
202
|
+
value
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
end
|
207
|
+
end
|