ZOHOCRMSDK8_0 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/src/ZOHOCRMSDK8_0.rb +1619 -0
- data/src/com/zoho/api/authenticator/oauth_token.rb +433 -0
- data/src/com/zoho/api/authenticator/store/db_store.rb +279 -0
- data/src/com/zoho/api/authenticator/store/file_store.rb +277 -0
- data/src/com/zoho/api/authenticator/store/token_store.rb +31 -0
- data/src/com/zoho/api/authenticator/token.rb +14 -0
- data/src/com/zoho/api/logger/sdk_logger.rb +64 -0
- data/src/com/zoho/crm/api/apis/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/apis/apis_operations.rb +40 -0
- data/src/com/zoho/crm/api/apis/operation_types.rb +120 -0
- data/src/com/zoho/crm/api/apis/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/apis/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/apis/supported_api.rb +82 -0
- data/src/com/zoho/crm/api/appointment_preference/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/appointment_preference/action_response.rb +12 -0
- data/src/com/zoho/crm/api/appointment_preference/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/appointment_preference/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/appointment_preference/appointment_preference.rb +159 -0
- data/src/com/zoho/crm/api/appointment_preference/appointment_preference_operations.rb +65 -0
- data/src/com/zoho/crm/api/appointment_preference/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/appointment_preference/deal_record_configuration.rb +101 -0
- data/src/com/zoho/crm/api/appointment_preference/field.rb +82 -0
- data/src/com/zoho/crm/api/appointment_preference/field_mappings.rb +102 -0
- data/src/com/zoho/crm/api/appointment_preference/layout.rb +82 -0
- data/src/com/zoho/crm/api/appointment_preference/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/appointment_preference/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/appointment_preference/success_response.rb +123 -0
- data/src/com/zoho/crm/api/assignment_rules/action_response.rb +12 -0
- data/src/com/zoho/crm/api/assignment_rules/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/assignment_rules/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/assignment_rules/assignment_rules.rb +235 -0
- data/src/com/zoho/crm/api/assignment_rules/assignment_rules_operations.rb +75 -0
- data/src/com/zoho/crm/api/assignment_rules/default_assignee.rb +82 -0
- data/src/com/zoho/crm/api/assignment_rules/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/assignment_rules/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/assignment_rules/success_response.rb +123 -0
- data/src/com/zoho/crm/api/assignment_rules/user.rb +122 -0
- data/src/com/zoho/crm/api/associate_email/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/associate_email/action_response.rb +12 -0
- data/src/com/zoho/crm/api/associate_email/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/associate_email/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/associate_email/associate_email.rb +273 -0
- data/src/com/zoho/crm/api/associate_email/associate_email_operations.rb +49 -0
- data/src/com/zoho/crm/api/associate_email/attachments.rb +63 -0
- data/src/com/zoho/crm/api/associate_email/available.rb +101 -0
- data/src/com/zoho/crm/api/associate_email/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/associate_email/from.rb +82 -0
- data/src/com/zoho/crm/api/associate_email/linked_record.rb +82 -0
- data/src/com/zoho/crm/api/associate_email/module_map.rb +82 -0
- data/src/com/zoho/crm/api/associate_email/record.rb +101 -0
- data/src/com/zoho/crm/api/associate_email/success_response.rb +123 -0
- data/src/com/zoho/crm/api/associate_email/to.rb +82 -0
- data/src/com/zoho/crm/api/attachments/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/attachments/action_response.rb +12 -0
- data/src/com/zoho/crm/api/attachments/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/attachments/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/attachments/attachment.rb +463 -0
- data/src/com/zoho/crm/api/attachments/attachments_operations.rb +247 -0
- data/src/com/zoho/crm/api/attachments/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/attachments/info.rb +177 -0
- data/src/com/zoho/crm/api/attachments/owner.rb +101 -0
- data/src/com/zoho/crm/api/attachments/parent_id.rb +82 -0
- data/src/com/zoho/crm/api/attachments/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/attachments/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/attachments/success_response.rb +123 -0
- data/src/com/zoho/crm/api/audit_log_export/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/audit_log_export/action_response.rb +12 -0
- data/src/com/zoho/crm/api/audit_log_export/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/audit_log_export/api_exception.rb +165 -0
- data/src/com/zoho/crm/api/audit_log_export/audit_log_export.rb +196 -0
- data/src/com/zoho/crm/api/audit_log_export/audit_log_export_operations.rb +89 -0
- data/src/com/zoho/crm/api/audit_log_export/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/audit_log_export/criteria.rb +136 -0
- data/src/com/zoho/crm/api/audit_log_export/field.rb +63 -0
- data/src/com/zoho/crm/api/audit_log_export/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/audit_log_export/module.rb +82 -0
- data/src/com/zoho/crm/api/audit_log_export/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/audit_log_export/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/audit_log_export/success_response.rb +123 -0
- data/src/com/zoho/crm/api/audit_log_export/user.rb +82 -0
- data/src/com/zoho/crm/api/available_currencies/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/available_currencies/available_currencies_operations.rb +30 -0
- data/src/com/zoho/crm/api/available_currencies/currency.rb +177 -0
- data/src/com/zoho/crm/api/available_currencies/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/available_currencies/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/backup/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/backup/action_response.rb +12 -0
- data/src/com/zoho/crm/api/backup/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/backup/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/backup/backup.rb +158 -0
- data/src/com/zoho/crm/api/backup/backup_operations.rb +136 -0
- data/src/com/zoho/crm/api/backup/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/backup/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/backup/history.rb +196 -0
- data/src/com/zoho/crm/api/backup/history_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/backup/info.rb +120 -0
- data/src/com/zoho/crm/api/backup/requester.rb +101 -0
- data/src/com/zoho/crm/api/backup/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/backup/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/backup/success_response.rb +123 -0
- data/src/com/zoho/crm/api/backup/urls.rb +101 -0
- data/src/com/zoho/crm/api/backup/urls_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/blueprint/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/blueprint/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/blueprint/association_details.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/auto_number.rb +101 -0
- data/src/com/zoho/crm/api/blueprint/blue_print.rb +121 -0
- data/src/com/zoho/crm/api/blueprint/blueprint_operations.rb +69 -0
- data/src/com/zoho/crm/api/blueprint/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/blueprint/crypt.rb +120 -0
- data/src/com/zoho/crm/api/blueprint/currency.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/current_picklist.rb +101 -0
- data/src/com/zoho/crm/api/blueprint/escalation.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/field.rb +924 -0
- data/src/com/zoho/crm/api/blueprint/formula.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/layout.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/lookup_field.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/module.rb +120 -0
- data/src/com/zoho/crm/api/blueprint/multi_select_lookup.rb +158 -0
- data/src/com/zoho/crm/api/blueprint/next_transition.rb +120 -0
- data/src/com/zoho/crm/api/blueprint/process_info.rb +272 -0
- data/src/com/zoho/crm/api/blueprint/profile.rb +101 -0
- data/src/com/zoho/crm/api/blueprint/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/blueprint/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/blueprint/success_response.rb +123 -0
- data/src/com/zoho/crm/api/blueprint/tool_tip.rb +82 -0
- data/src/com/zoho/crm/api/blueprint/transition.rb +330 -0
- data/src/com/zoho/crm/api/blueprint/view_type.rb +120 -0
- data/src/com/zoho/crm/api/bulk_read/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/bulk_read/action_response.rb +12 -0
- data/src/com/zoho/crm/api/bulk_read/action_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/bulk_read/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/bulk_read/body_wrapper.rb +102 -0
- data/src/com/zoho/crm/api/bulk_read/bulk_read_operations.rb +76 -0
- data/src/com/zoho/crm/api/bulk_read/call_back.rb +83 -0
- data/src/com/zoho/crm/api/bulk_read/criteria.rb +176 -0
- data/src/com/zoho/crm/api/bulk_read/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/bulk_read/job_detail.rb +198 -0
- data/src/com/zoho/crm/api/bulk_read/module_details.rb +82 -0
- data/src/com/zoho/crm/api/bulk_read/query.rb +179 -0
- data/src/com/zoho/crm/api/bulk_read/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/bulk_read/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/bulk_read/result.rb +158 -0
- data/src/com/zoho/crm/api/bulk_read/success_response.rb +123 -0
- data/src/com/zoho/crm/api/bulk_write/action_response.rb +12 -0
- data/src/com/zoho/crm/api/bulk_write/api_exception.rb +241 -0
- data/src/com/zoho/crm/api/bulk_write/bulk_write_operations.rb +114 -0
- data/src/com/zoho/crm/api/bulk_write/bulk_write_response.rb +218 -0
- data/src/com/zoho/crm/api/bulk_write/call_back.rb +83 -0
- data/src/com/zoho/crm/api/bulk_write/default_value.rb +98 -0
- data/src/com/zoho/crm/api/bulk_write/field_mapping.rb +177 -0
- data/src/com/zoho/crm/api/bulk_write/file.rb +159 -0
- data/src/com/zoho/crm/api/bulk_write/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/bulk_write/request_wrapper.rb +140 -0
- data/src/com/zoho/crm/api/bulk_write/resource.rb +236 -0
- data/src/com/zoho/crm/api/bulk_write/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/bulk_write/response_wrapper.rb +12 -0
- data/src/com/zoho/crm/api/bulk_write/result.rb +63 -0
- data/src/com/zoho/crm/api/bulk_write/success_response.rb +123 -0
- data/src/com/zoho/crm/api/business_hours/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/business_hours/action_response.rb +12 -0
- data/src/com/zoho/crm/api/business_hours/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/business_hours/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/business_hours/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/business_hours/break_hours_custom_timing.rb +83 -0
- data/src/com/zoho/crm/api/business_hours/business_hours.rb +197 -0
- data/src/com/zoho/crm/api/business_hours/business_hours_operations.rb +90 -0
- data/src/com/zoho/crm/api/business_hours/features.rb +82 -0
- data/src/com/zoho/crm/api/business_hours/resources.rb +82 -0
- data/src/com/zoho/crm/api/business_hours/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/business_hours/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/business_hours/success_response.rb +123 -0
- data/src/com/zoho/crm/api/cadences/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/cadences/cadences.rb +310 -0
- data/src/com/zoho/crm/api/cadences/cadences_operations.rb +30 -0
- data/src/com/zoho/crm/api/cadences/custom_view.rb +82 -0
- data/src/com/zoho/crm/api/cadences/execute_every.rb +82 -0
- data/src/com/zoho/crm/api/cadences/execution_detail.rb +139 -0
- data/src/com/zoho/crm/api/cadences/info.rb +120 -0
- data/src/com/zoho/crm/api/cadences/module.rb +82 -0
- data/src/com/zoho/crm/api/cadences/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/cadences/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/cadences/summary.rb +101 -0
- data/src/com/zoho/crm/api/cadences/unenroll_property.rb +82 -0
- data/src/com/zoho/crm/api/cadences/user.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/action.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/cadences_execution/action_response.rb +12 -0
- data/src/com/zoho/crm/api/cadences_execution/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/cadences_execution/analytics.rb +120 -0
- data/src/com/zoho/crm/api/cadences_execution/analytics_alert.rb +215 -0
- data/src/com/zoho/crm/api/cadences_execution/analytics_call.rb +196 -0
- data/src/com/zoho/crm/api/cadences_execution/analytics_task.rb +158 -0
- data/src/com/zoho/crm/api/cadences_execution/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/cadences_execution/body_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/cadence.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/cadences_analytics_get.rb +139 -0
- data/src/com/zoho/crm/api/cadences_execution/cadences_execution_operations.rb +68 -0
- data/src/com/zoho/crm/api/cadences_execution/details.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/module.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/parent_follow_up.rb +63 -0
- data/src/com/zoho/crm/api/cadences_execution/success_response.rb +123 -0
- data/src/com/zoho/crm/api/cadences_execution/template.rb +82 -0
- data/src/com/zoho/crm/api/cadences_execution/user.rb +82 -0
- data/src/com/zoho/crm/api/call_preferences/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/call_preferences/action_response.rb +12 -0
- data/src/com/zoho/crm/api/call_preferences/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/call_preferences/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/call_preferences/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/call_preferences/call_preferences.rb +82 -0
- data/src/com/zoho/crm/api/call_preferences/call_preferences_operations.rb +51 -0
- data/src/com/zoho/crm/api/call_preferences/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/call_preferences/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/call_preferences/success_response.rb +123 -0
- data/src/com/zoho/crm/api/cancel_meetings/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/cancel_meetings/action_response.rb +12 -0
- data/src/com/zoho/crm/api/cancel_meetings/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/cancel_meetings/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/cancel_meetings/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/cancel_meetings/cancel_meetings_operations.rb +43 -0
- data/src/com/zoho/crm/api/cancel_meetings/notify.rb +63 -0
- data/src/com/zoho/crm/api/cancel_meetings/success_response.rb +123 -0
- data/src/com/zoho/crm/api/change_owner/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/change_owner/action_response.rb +12 -0
- data/src/com/zoho/crm/api/change_owner/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/change_owner/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/change_owner/body_wrapper.rb +101 -0
- data/src/com/zoho/crm/api/change_owner/change_owner_operations.rb +71 -0
- data/src/com/zoho/crm/api/change_owner/error_details.rb +82 -0
- data/src/com/zoho/crm/api/change_owner/mass_wrapper.rb +122 -0
- data/src/com/zoho/crm/api/change_owner/owner.rb +63 -0
- data/src/com/zoho/crm/api/change_owner/related_modules.rb +82 -0
- data/src/com/zoho/crm/api/change_owner/success_response.rb +123 -0
- data/src/com/zoho/crm/api/contact_roles/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/contact_roles/action_response.rb +12 -0
- data/src/com/zoho/crm/api/contact_roles/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/contact_roles/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/contact_roles/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/contact_roles/contact_role.rb +101 -0
- data/src/com/zoho/crm/api/contact_roles/contact_roles_operations.rb +163 -0
- data/src/com/zoho/crm/api/contact_roles/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/contact_roles/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/contact_roles/success_response.rb +123 -0
- data/src/com/zoho/crm/api/conversion_option/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/conversion_option/conversion_option_operations.rb +40 -0
- data/src/com/zoho/crm/api/conversion_option/conversion_options.rb +160 -0
- data/src/com/zoho/crm/api/conversion_option/field.rb +82 -0
- data/src/com/zoho/crm/api/conversion_option/preference_field_match.rb +82 -0
- data/src/com/zoho/crm/api/conversion_option/preference_field_matched_value.rb +101 -0
- data/src/com/zoho/crm/api/conversion_option/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/conversion_option/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/convert_lead/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/convert_lead/action_response.rb +12 -0
- data/src/com/zoho/crm/api/convert_lead/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/convert_lead/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/convert_lead/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/convert_lead/carry_over_tags.rb +101 -0
- data/src/com/zoho/crm/api/convert_lead/convert_lead_operations.rb +47 -0
- data/src/com/zoho/crm/api/convert_lead/lead_converter.rb +237 -0
- data/src/com/zoho/crm/api/convert_lead/move_attachments_to.rb +82 -0
- data/src/com/zoho/crm/api/convert_lead/success_response.rb +123 -0
- data/src/com/zoho/crm/api/coql/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/coql/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/coql/clause_details.rb +65 -0
- data/src/com/zoho/crm/api/coql/coql_operations.rb +36 -0
- data/src/com/zoho/crm/api/coql/details_wrapper.rb +12 -0
- data/src/com/zoho/crm/api/coql/parse_error_details.rb +103 -0
- data/src/com/zoho/crm/api/coql/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/coql/response_wrapper.rb +86 -0
- data/src/com/zoho/crm/api/currencies/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/currencies/action_response.rb +12 -0
- data/src/com/zoho/crm/api/currencies/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/currencies/api_exception.rb +129 -0
- data/src/com/zoho/crm/api/currencies/base_currency.rb +292 -0
- data/src/com/zoho/crm/api/currencies/base_currency_action_response.rb +12 -0
- data/src/com/zoho/crm/api/currencies/base_currency_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/currencies/base_currency_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/currencies/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/currencies/currencies_operations.rb +158 -0
- data/src/com/zoho/crm/api/currencies/currency.rb +292 -0
- data/src/com/zoho/crm/api/currencies/error_details.rb +82 -0
- data/src/com/zoho/crm/api/currencies/format.rb +102 -0
- data/src/com/zoho/crm/api/currencies/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/currencies/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/currencies/success_response.rb +125 -0
- data/src/com/zoho/crm/api/custom_views/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/custom_views/action_response.rb +12 -0
- data/src/com/zoho/crm/api/custom_views/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/custom_views/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/custom_views/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/custom_views/criteria.rb +136 -0
- data/src/com/zoho/crm/api/custom_views/custom_views.rb +463 -0
- data/src/com/zoho/crm/api/custom_views/custom_views_operations.rb +154 -0
- data/src/com/zoho/crm/api/custom_views/field.rb +82 -0
- data/src/com/zoho/crm/api/custom_views/fields.rb +101 -0
- data/src/com/zoho/crm/api/custom_views/info.rb +158 -0
- data/src/com/zoho/crm/api/custom_views/owner.rb +101 -0
- data/src/com/zoho/crm/api/custom_views/pin_fields.rb +101 -0
- data/src/com/zoho/crm/api/custom_views/pin_unpin_fields.rb +63 -0
- data/src/com/zoho/crm/api/custom_views/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/custom_views/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/custom_views/shared_to.rb +121 -0
- data/src/com/zoho/crm/api/custom_views/sort_by.rb +82 -0
- data/src/com/zoho/crm/api/custom_views/success_response.rb +123 -0
- data/src/com/zoho/crm/api/custom_views/translation.rb +120 -0
- data/src/com/zoho/crm/api/data_sharing/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/data_sharing/action_response.rb +12 -0
- data/src/com/zoho/crm/api/data_sharing/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/data_sharing/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/data_sharing/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/data_sharing/data_sharing.rb +121 -0
- data/src/com/zoho/crm/api/data_sharing/data_sharing_operations.rb +51 -0
- data/src/com/zoho/crm/api/data_sharing/dependee.rb +82 -0
- data/src/com/zoho/crm/api/data_sharing/module.rb +82 -0
- data/src/com/zoho/crm/api/data_sharing/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/data_sharing/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/data_sharing/success_response.rb +123 -0
- data/src/com/zoho/crm/api/dc/au_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/ca_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/cn_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/datacenter.rb +83 -0
- data/src/com/zoho/crm/api/dc/eu_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/in_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/jp_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/sa_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/dc/us_datacenter.rb +21 -0
- data/src/com/zoho/crm/api/deal_contact_roles/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/deal_contact_roles/action_response.rb +12 -0
- data/src/com/zoho/crm/api/deal_contact_roles/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/deal_contact_roles/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/deal_contact_roles/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/deal_contact_roles/contact_role.rb +82 -0
- data/src/com/zoho/crm/api/deal_contact_roles/data.rb +154 -0
- data/src/com/zoho/crm/api/deal_contact_roles/deal_contact_roles_operations.rb +173 -0
- data/src/com/zoho/crm/api/deal_contact_roles/error_details.rb +82 -0
- data/src/com/zoho/crm/api/deal_contact_roles/info.rb +177 -0
- data/src/com/zoho/crm/api/deal_contact_roles/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/deal_contact_roles/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/deal_contact_roles/success_response.rb +123 -0
- data/src/com/zoho/crm/api/definition/api_exception.rb +121 -0
- data/src/com/zoho/crm/api/definition/definition.rb +101 -0
- data/src/com/zoho/crm/api/definition/minified_property.rb +158 -0
- data/src/com/zoho/crm/api/definition/minified_property1.rb +139 -0
- data/src/com/zoho/crm/api/definition/property.rb +272 -0
- data/src/com/zoho/crm/api/definition/response_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/digest/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/digest/action_response.rb +12 -0
- data/src/com/zoho/crm/api/digest/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/digest/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/digest/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/digest/dependee.rb +82 -0
- data/src/com/zoho/crm/api/digest/digest.rb +101 -0
- data/src/com/zoho/crm/api/digest/digest_operations.rb +37 -0
- data/src/com/zoho/crm/api/digest/success_response.rb +123 -0
- data/src/com/zoho/crm/api/download_attachments/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/download_attachments/download_attachments_operations.rb +68 -0
- data/src/com/zoho/crm/api/download_attachments/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/download_attachments/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/download_inline_images/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/download_inline_images/download_inline_images_operations.rb +64 -0
- data/src/com/zoho/crm/api/download_inline_images/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/download_inline_images/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/action_response.rb +12 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/current_field.rb +101 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/duplicate_check_preference.rb +83 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/duplicate_check_preference_operations.rb +108 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/expected_fields.rb +82 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/field_mappings.rb +82 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/mapped_field.rb +101 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/mapped_module.rb +101 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/success_response.rb +123 -0
- data/src/com/zoho/crm/api/duplicate_check_preference/type_configuration.rb +82 -0
- data/src/com/zoho/crm/api/email_compose/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_compose/action_response.rb +12 -0
- data/src/com/zoho/crm/api/email_compose/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_compose/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/email_compose/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_compose/default_from_address.rb +102 -0
- data/src/com/zoho/crm/api/email_compose/default_replyto_address.rb +102 -0
- data/src/com/zoho/crm/api/email_compose/email_compose.rb +121 -0
- data/src/com/zoho/crm/api/email_compose/email_compose_operations.rb +66 -0
- data/src/com/zoho/crm/api/email_compose/font.rb +82 -0
- data/src/com/zoho/crm/api/email_compose/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_compose/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_compose/success_response.rb +123 -0
- data/src/com/zoho/crm/api/email_compose_meta/data.rb +63 -0
- data/src/com/zoho/crm/api/email_compose_meta/data_map.rb +139 -0
- data/src/com/zoho/crm/api/email_compose_meta/features_available.rb +349 -0
- data/src/com/zoho/crm/api/email_compose_meta/from_address.rb +140 -0
- data/src/com/zoho/crm/api/email_compose_meta/signature.rb +82 -0
- data/src/com/zoho/crm/api/email_compose_meta/user.rb +139 -0
- data/src/com/zoho/crm/api/email_configuration_options/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_configuration_options/action_response.rb +12 -0
- data/src/com/zoho/crm/api/email_configuration_options/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_configuration_options/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/email_configuration_options/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_configuration_options/configuration_options.rb +121 -0
- data/src/com/zoho/crm/api/email_configuration_options/email_configuration_options_operations.rb +57 -0
- data/src/com/zoho/crm/api/email_configuration_options/error_details.rb +120 -0
- data/src/com/zoho/crm/api/email_configuration_options/property_details.rb +120 -0
- data/src/com/zoho/crm/api/email_configuration_options/range_structure.rb +82 -0
- data/src/com/zoho/crm/api/email_configuration_options/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_configuration_options/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_configuration_options/success_response.rb +123 -0
- data/src/com/zoho/crm/api/email_configuration_options/value_details.rb +98 -0
- data/src/com/zoho/crm/api/email_drafts/action_response.rb +12 -0
- data/src/com/zoho/crm/api/email_drafts/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_drafts/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/email_drafts/attachments.rb +120 -0
- data/src/com/zoho/crm/api/email_drafts/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_drafts/email_drafts.rb +367 -0
- data/src/com/zoho/crm/api/email_drafts/inventory_details.rb +121 -0
- data/src/com/zoho/crm/api/email_drafts/inventory_template.rb +82 -0
- data/src/com/zoho/crm/api/email_drafts/response_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_drafts/schedule_details.rb +101 -0
- data/src/com/zoho/crm/api/email_drafts/success_response.rb +123 -0
- data/src/com/zoho/crm/api/email_drafts/template.rb +82 -0
- data/src/com/zoho/crm/api/email_drafts/to.rb +82 -0
- data/src/com/zoho/crm/api/email_related_records/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/email_related_records/attachments.rb +101 -0
- data/src/com/zoho/crm/api/email_related_records/criteria.rb +102 -0
- data/src/com/zoho/crm/api/email_related_records/email.rb +537 -0
- data/src/com/zoho/crm/api/email_related_records/email_related_records_operations.rb +102 -0
- data/src/com/zoho/crm/api/email_related_records/field.rb +63 -0
- data/src/com/zoho/crm/api/email_related_records/info.rb +139 -0
- data/src/com/zoho/crm/api/email_related_records/linked_record.rb +101 -0
- data/src/com/zoho/crm/api/email_related_records/module.rb +82 -0
- data/src/com/zoho/crm/api/email_related_records/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_related_records/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/email_related_records/status.rb +196 -0
- data/src/com/zoho/crm/api/email_related_records/user_details.rb +82 -0
- data/src/com/zoho/crm/api/email_sharing_details/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/email_sharing_details/email_sharing_details_operations.rb +44 -0
- data/src/com/zoho/crm/api/email_sharing_details/email_sharings.rb +82 -0
- data/src/com/zoho/crm/api/email_sharing_details/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_sharing_details/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_sharing_details/share_from_user.rb +101 -0
- data/src/com/zoho/crm/api/email_signatures/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_signatures/action_response.rb +12 -0
- data/src/com/zoho/crm/api/email_signatures/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_signatures/api_exception.rb +146 -0
- data/src/com/zoho/crm/api/email_signatures/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/email_signatures/details_group.rb +12 -0
- data/src/com/zoho/crm/api/email_signatures/email_signatures.rb +140 -0
- data/src/com/zoho/crm/api/email_signatures/email_signatures_operations.rb +220 -0
- data/src/com/zoho/crm/api/email_signatures/error_details.rb +177 -0
- data/src/com/zoho/crm/api/email_signatures/from_address.rb +82 -0
- data/src/com/zoho/crm/api/email_signatures/range_structure.rb +82 -0
- data/src/com/zoho/crm/api/email_signatures/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_signatures/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_signatures/success_response.rb +123 -0
- data/src/com/zoho/crm/api/email_templates/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/email_templates/attachment.rb +120 -0
- data/src/com/zoho/crm/api/email_templates/email_template.rb +452 -0
- data/src/com/zoho/crm/api/email_templates/email_templates_operations.rb +79 -0
- data/src/com/zoho/crm/api/email_templates/info.rb +120 -0
- data/src/com/zoho/crm/api/email_templates/last_version_statistics.rb +158 -0
- data/src/com/zoho/crm/api/email_templates/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_templates/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/entity_scores/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/entity_scores/entity.rb +101 -0
- data/src/com/zoho/crm/api/entity_scores/entity_scores.rb +253 -0
- data/src/com/zoho/crm/api/entity_scores/entity_scores_operations.rb +114 -0
- data/src/com/zoho/crm/api/entity_scores/info.rb +215 -0
- data/src/com/zoho/crm/api/entity_scores/module.rb +82 -0
- data/src/com/zoho/crm/api/entity_scores/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/entity_scores/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/entity_scores/scoring_rule.rb +82 -0
- data/src/com/zoho/crm/api/exception/sdk_exception.rb +49 -0
- data/src/com/zoho/crm/api/features/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/features/component.rb +120 -0
- data/src/com/zoho/crm/api/features/detail.rb +101 -0
- data/src/com/zoho/crm/api/features/feature.rb +158 -0
- data/src/com/zoho/crm/api/features/features_operations.rb +107 -0
- data/src/com/zoho/crm/api/features/info.rb +120 -0
- data/src/com/zoho/crm/api/features/limit.rb +82 -0
- data/src/com/zoho/crm/api/features/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/features/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/field_attachments/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/field_attachments/field_attachments_operations.rb +54 -0
- data/src/com/zoho/crm/api/field_attachments/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/field_attachments/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/field_map_dependency/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/field_map_dependency/action_response.rb +12 -0
- data/src/com/zoho/crm/api/field_map_dependency/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/field_map_dependency/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/field_map_dependency/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/field_map_dependency/child.rb +82 -0
- data/src/com/zoho/crm/api/field_map_dependency/field_map_dependency_operations.rb +177 -0
- data/src/com/zoho/crm/api/field_map_dependency/info.rb +120 -0
- data/src/com/zoho/crm/api/field_map_dependency/map_dependency.rb +215 -0
- data/src/com/zoho/crm/api/field_map_dependency/parent.rb +82 -0
- data/src/com/zoho/crm/api/field_map_dependency/pick_list_mapping.rb +120 -0
- data/src/com/zoho/crm/api/field_map_dependency/picklist_map.rb +120 -0
- data/src/com/zoho/crm/api/field_map_dependency/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/field_map_dependency/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/field_map_dependency/sub_module.rb +82 -0
- data/src/com/zoho/crm/api/field_map_dependency/success_response.rb +123 -0
- data/src/com/zoho/crm/api/fields/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/fields/action_response.rb +12 -0
- data/src/com/zoho/crm/api/fields/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/fields/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/fields/association_details.rb +82 -0
- data/src/com/zoho/crm/api/fields/auto_number.rb +120 -0
- data/src/com/zoho/crm/api/fields/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/fields/connected_details.rb +101 -0
- data/src/com/zoho/crm/api/fields/convert_mapping.rb +101 -0
- data/src/com/zoho/crm/api/fields/criteria.rb +136 -0
- data/src/com/zoho/crm/api/fields/crypt.rb +158 -0
- data/src/com/zoho/crm/api/fields/currency.rb +83 -0
- data/src/com/zoho/crm/api/fields/email_parser.rb +82 -0
- data/src/com/zoho/crm/api/fields/expression.rb +101 -0
- data/src/com/zoho/crm/api/fields/external.rb +101 -0
- data/src/com/zoho/crm/api/fields/fields.rb +1529 -0
- data/src/com/zoho/crm/api/fields/fields_operations.rb +245 -0
- data/src/com/zoho/crm/api/fields/file_upolad_option.rb +82 -0
- data/src/com/zoho/crm/api/fields/forecast_category.rb +82 -0
- data/src/com/zoho/crm/api/fields/formula.rb +158 -0
- data/src/com/zoho/crm/api/fields/function_parameter.rb +63 -0
- data/src/com/zoho/crm/api/fields/hipaa_compliance.rb +82 -0
- data/src/com/zoho/crm/api/fields/history_tracking.rb +83 -0
- data/src/com/zoho/crm/api/fields/history_tracking_module.rb +159 -0
- data/src/com/zoho/crm/api/fields/layout_association.rb +101 -0
- data/src/com/zoho/crm/api/fields/linking_details.rb +101 -0
- data/src/com/zoho/crm/api/fields/linking_module.rb +120 -0
- data/src/com/zoho/crm/api/fields/lookup.rb +178 -0
- data/src/com/zoho/crm/api/fields/lookup_field.rb +101 -0
- data/src/com/zoho/crm/api/fields/lookup_layout.rb +82 -0
- data/src/com/zoho/crm/api/fields/lookup_related_list.rb +101 -0
- data/src/com/zoho/crm/api/fields/mandatory_details.rb +82 -0
- data/src/com/zoho/crm/api/fields/maps.rb +82 -0
- data/src/com/zoho/crm/api/fields/minified_field.rb +82 -0
- data/src/com/zoho/crm/api/fields/multi_module_lookup.rb +102 -0
- data/src/com/zoho/crm/api/fields/multiselectlookup.rb +120 -0
- data/src/com/zoho/crm/api/fields/operation_type.rb +120 -0
- data/src/com/zoho/crm/api/fields/pick_list_value.rb +369 -0
- data/src/com/zoho/crm/api/fields/private.rb +101 -0
- data/src/com/zoho/crm/api/fields/profile.rb +101 -0
- data/src/com/zoho/crm/api/fields/query_details.rb +82 -0
- data/src/com/zoho/crm/api/fields/refer_from_field.rb +82 -0
- data/src/com/zoho/crm/api/fields/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/fields/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/fields/rollup_criteria.rb +98 -0
- data/src/com/zoho/crm/api/fields/rollup_summary.rb +141 -0
- data/src/com/zoho/crm/api/fields/sharing_properties.rb +102 -0
- data/src/com/zoho/crm/api/fields/show_fields.rb +82 -0
- data/src/com/zoho/crm/api/fields/subform.rb +82 -0
- data/src/com/zoho/crm/api/fields/success_response.rb +123 -0
- data/src/com/zoho/crm/api/fields/textarea.rb +63 -0
- data/src/com/zoho/crm/api/fields/tooltip.rb +82 -0
- data/src/com/zoho/crm/api/fields/unique.rb +79 -0
- data/src/com/zoho/crm/api/fields/view_type.rb +120 -0
- data/src/com/zoho/crm/api/files/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/files/action_response.rb +12 -0
- data/src/com/zoho/crm/api/files/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/files/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/files/body_wrapper.rb +64 -0
- data/src/com/zoho/crm/api/files/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/files/files_operations.rb +80 -0
- data/src/com/zoho/crm/api/files/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/files/success_response.rb +123 -0
- data/src/com/zoho/crm/api/find_and_merge/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/find_and_merge/action_response.rb +12 -0
- data/src/com/zoho/crm/api/find_and_merge/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/find_and_merge/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/find_and_merge/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/find_and_merge/data_fields.rb +82 -0
- data/src/com/zoho/crm/api/find_and_merge/find_and_merge_operations.rb +83 -0
- data/src/com/zoho/crm/api/find_and_merge/image_data.rb +63 -0
- data/src/com/zoho/crm/api/find_and_merge/master_record_fields.rb +82 -0
- data/src/com/zoho/crm/api/find_and_merge/merge.rb +120 -0
- data/src/com/zoho/crm/api/find_and_merge/merge_data.rb +82 -0
- data/src/com/zoho/crm/api/find_and_merge/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/find_and_merge/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/find_and_merge/success_response.rb +123 -0
- data/src/com/zoho/crm/api/fiscal_year/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/fiscal_year/action_response.rb +12 -0
- data/src/com/zoho/crm/api/fiscal_year/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/fiscal_year/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/fiscal_year/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/fiscal_year/fiscal_year_operations.rb +51 -0
- data/src/com/zoho/crm/api/fiscal_year/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/fiscal_year/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/fiscal_year/success_response.rb +123 -0
- data/src/com/zoho/crm/api/fiscal_year/year.rb +102 -0
- data/src/com/zoho/crm/api/from_addresses/address.rb +139 -0
- data/src/com/zoho/crm/api/from_addresses/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/from_addresses/from_addresses_operations.rb +40 -0
- data/src/com/zoho/crm/api/from_addresses/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/from_addresses/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/functions/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/functions/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/functions/file_body_wrapper.rb +64 -0
- data/src/com/zoho/crm/api/functions/functions_operations.rb +175 -0
- data/src/com/zoho/crm/api/functions/response_wrapper.rb +12 -0
- data/src/com/zoho/crm/api/functions/success_response.rb +104 -0
- data/src/com/zoho/crm/api/get_related_records_count/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/get_related_records_count/action_response.rb +12 -0
- data/src/com/zoho/crm/api/get_related_records_count/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/get_related_records_count/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/get_related_records_count/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/get_related_records_count/dependee.rb +82 -0
- data/src/com/zoho/crm/api/get_related_records_count/field.rb +63 -0
- data/src/com/zoho/crm/api/get_related_records_count/filters.rb +102 -0
- data/src/com/zoho/crm/api/get_related_records_count/get_related_record_count.rb +63 -0
- data/src/com/zoho/crm/api/get_related_records_count/get_related_records_count_operations.rb +50 -0
- data/src/com/zoho/crm/api/get_related_records_count/params.rb +159 -0
- data/src/com/zoho/crm/api/get_related_records_count/related_list.rb +82 -0
- data/src/com/zoho/crm/api/get_related_records_count/success_response.rb +84 -0
- data/src/com/zoho/crm/api/global_picklists/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/action_response.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/global_picklists/api_exception.rb +137 -0
- data/src/com/zoho/crm/api/global_picklists/association.rb +101 -0
- data/src/com/zoho/crm/api/global_picklists/associations_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/associations_response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/global_picklists/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/global_picklists/field.rb +82 -0
- data/src/com/zoho/crm/api/global_picklists/global_picklists_operations.rb +313 -0
- data/src/com/zoho/crm/api/global_picklists/info.rb +120 -0
- data/src/com/zoho/crm/api/global_picklists/layout.rb +101 -0
- data/src/com/zoho/crm/api/global_picklists/module.rb +101 -0
- data/src/com/zoho/crm/api/global_picklists/pick_list_values.rb +159 -0
- data/src/com/zoho/crm/api/global_picklists/pick_list_values_association.rb +82 -0
- data/src/com/zoho/crm/api/global_picklists/pick_list_values_associations_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/pick_list_values_associations_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/global_picklists/picklist.rb +330 -0
- data/src/com/zoho/crm/api/global_picklists/replace_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/replace_action_response.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/replace_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/global_picklists/replace_body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/global_picklists/replace_picklist_value.rb +82 -0
- data/src/com/zoho/crm/api/global_picklists/replace_picklist_values.rb +82 -0
- data/src/com/zoho/crm/api/global_picklists/replace_success_response.rb +123 -0
- data/src/com/zoho/crm/api/global_picklists/replaced_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/replaced_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/global_picklists/replaced_value.rb +82 -0
- data/src/com/zoho/crm/api/global_picklists/resource.rb +102 -0
- data/src/com/zoho/crm/api/global_picklists/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/global_picklists/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/global_picklists/success_response.rb +123 -0
- data/src/com/zoho/crm/api/header.rb +12 -0
- data/src/com/zoho/crm/api/header_map.rb +63 -0
- data/src/com/zoho/crm/api/hipaa_compliance/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/hipaa_compliance/action_response.rb +12 -0
- data/src/com/zoho/crm/api/hipaa_compliance/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/hipaa_compliance/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/hipaa_compliance/hipaa_compliance.rb +158 -0
- data/src/com/zoho/crm/api/hipaa_compliance/modules.rb +82 -0
- data/src/com/zoho/crm/api/hipaa_compliance/response_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/hipaa_compliance/success_response.rb +123 -0
- data/src/com/zoho/crm/api/holidays/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/holidays/action_response.rb +12 -0
- data/src/com/zoho/crm/api/holidays/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/holidays/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/holidays/body_wrapper.rb +12 -0
- data/src/com/zoho/crm/api/holidays/business_holiday.rb +101 -0
- data/src/com/zoho/crm/api/holidays/create_business_holiday.rb +65 -0
- data/src/com/zoho/crm/api/holidays/create_shift_holiday.rb +65 -0
- data/src/com/zoho/crm/api/holidays/holiday.rb +158 -0
- data/src/com/zoho/crm/api/holidays/holidays.rb +63 -0
- data/src/com/zoho/crm/api/holidays/holidays_operations.rb +189 -0
- data/src/com/zoho/crm/api/holidays/info.rb +120 -0
- data/src/com/zoho/crm/api/holidays/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/holidays/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/holidays/shift_holiday.rb +121 -0
- data/src/com/zoho/crm/api/holidays/shift_hour.rb +82 -0
- data/src/com/zoho/crm/api/holidays/success_response.rb +123 -0
- data/src/com/zoho/crm/api/initializer.rb +232 -0
- data/src/com/zoho/crm/api/inventory_convert/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/inventory_convert/action_response.rb +12 -0
- data/src/com/zoho/crm/api/inventory_convert/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/inventory_convert/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/inventory_convert/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/inventory_convert/convert_to.rb +82 -0
- data/src/com/zoho/crm/api/inventory_convert/inventory_convert_operations.rb +51 -0
- data/src/com/zoho/crm/api/inventory_convert/inventory_converter.rb +63 -0
- data/src/com/zoho/crm/api/inventory_convert/module.rb +82 -0
- data/src/com/zoho/crm/api/inventory_convert/record.rb +82 -0
- data/src/com/zoho/crm/api/inventory_convert/success_response.rb +123 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/action_response.rb +12 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/body_wrapper.rb +120 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/convert_to.rb +82 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/inventory_mass_convert_operations.rb +74 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/module.rb +82 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/related_modules.rb +82 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/status.rb +141 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/success_response.rb +123 -0
- data/src/com/zoho/crm/api/inventory_mass_convert/user.rb +82 -0
- data/src/com/zoho/crm/api/inventory_templates/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/inventory_templates/folder.rb +82 -0
- data/src/com/zoho/crm/api/inventory_templates/info.rb +120 -0
- data/src/com/zoho/crm/api/inventory_templates/inventory_templates.rb +333 -0
- data/src/com/zoho/crm/api/inventory_templates/inventory_templates_operations.rb +79 -0
- data/src/com/zoho/crm/api/inventory_templates/module_map.rb +82 -0
- data/src/com/zoho/crm/api/inventory_templates/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/inventory_templates/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/inventory_templates/user.rb +82 -0
- data/src/com/zoho/crm/api/isc_signature/signature.rb +60 -0
- data/src/com/zoho/crm/api/layouts/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/layouts/action_response.rb +12 -0
- data/src/com/zoho/crm/api/layouts/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/layouts/actions_allowed.rb +272 -0
- data/src/com/zoho/crm/api/layouts/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/layouts/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/layouts/convert_mapping.rb +139 -0
- data/src/com/zoho/crm/api/layouts/deal_field.rb +120 -0
- data/src/com/zoho/crm/api/layouts/deal_layout_mapping.rb +103 -0
- data/src/com/zoho/crm/api/layouts/default_assignment_view.rb +101 -0
- data/src/com/zoho/crm/api/layouts/default_view.rb +101 -0
- data/src/com/zoho/crm/api/layouts/delete1.rb +63 -0
- data/src/com/zoho/crm/api/layouts/layouts.rb +463 -0
- data/src/com/zoho/crm/api/layouts/layouts_operations.rb +228 -0
- data/src/com/zoho/crm/api/layouts/minified_layout.rb +82 -0
- data/src/com/zoho/crm/api/layouts/profiles.rb +139 -0
- data/src/com/zoho/crm/api/layouts/properties.rb +101 -0
- data/src/com/zoho/crm/api/layouts/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/layouts/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/layouts/section_field.rb +1652 -0
- data/src/com/zoho/crm/api/layouts/section_subform_field.rb +101 -0
- data/src/com/zoho/crm/api/layouts/sections.rb +310 -0
- data/src/com/zoho/crm/api/layouts/static_values.rb +101 -0
- data/src/com/zoho/crm/api/layouts/subform_property.rb +63 -0
- data/src/com/zoho/crm/api/layouts/success_response.rb +123 -0
- data/src/com/zoho/crm/api/layouts/tooltip.rb +83 -0
- data/src/com/zoho/crm/api/mail_merge/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/action_response.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mail_merge/address.rb +82 -0
- data/src/com/zoho/crm/api/mail_merge/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/mail_merge/download_mail_merge.rb +121 -0
- data/src/com/zoho/crm/api/mail_merge/download_mail_merge_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/mail_merge/download_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/mail_merge/mail_merge.rb +215 -0
- data/src/com/zoho/crm/api/mail_merge/mail_merge_operations.rb +101 -0
- data/src/com/zoho/crm/api/mail_merge/mail_merge_template.rb +82 -0
- data/src/com/zoho/crm/api/mail_merge/mail_merge_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/mail_merge/sign_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/sign_action_response.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/sign_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mail_merge/sign_mail_merge.rb +120 -0
- data/src/com/zoho/crm/api/mail_merge/sign_mail_merge_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/mail_merge/signers.rb +102 -0
- data/src/com/zoho/crm/api/mail_merge/success_response.rb +125 -0
- data/src/com/zoho/crm/api/mass_change_owner/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_change_owner/action_response.rb +12 -0
- data/src/com/zoho/crm/api/mass_change_owner/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_change_owner/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/mass_change_owner/body_wrapper.rb +120 -0
- data/src/com/zoho/crm/api/mass_change_owner/criteria.rb +136 -0
- data/src/com/zoho/crm/api/mass_change_owner/field.rb +82 -0
- data/src/com/zoho/crm/api/mass_change_owner/mass_change_owner_operations.rb +73 -0
- data/src/com/zoho/crm/api/mass_change_owner/owner.rb +82 -0
- data/src/com/zoho/crm/api/mass_change_owner/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_change_owner/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_change_owner/status.rb +140 -0
- data/src/com/zoho/crm/api/mass_change_owner/success_response.rb +123 -0
- data/src/com/zoho/crm/api/mass_change_owner/territory.rb +82 -0
- data/src/com/zoho/crm/api/mass_convert/action_response.rb +12 -0
- data/src/com/zoho/crm/api/mass_convert/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/mass_convert/assign_to.rb +63 -0
- data/src/com/zoho/crm/api/mass_convert/body_wrapper.rb +197 -0
- data/src/com/zoho/crm/api/mass_convert/error_details.rb +82 -0
- data/src/com/zoho/crm/api/mass_convert/mass_convert_operations.rb +68 -0
- data/src/com/zoho/crm/api/mass_convert/move_attachments_to.rb +82 -0
- data/src/com/zoho/crm/api/mass_convert/portal_user_type.rb +82 -0
- data/src/com/zoho/crm/api/mass_convert/related_module.rb +82 -0
- data/src/com/zoho/crm/api/mass_convert/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_convert/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_convert/status.rb +139 -0
- data/src/com/zoho/crm/api/mass_convert/success_response.rb +123 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/action_response.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/cvid_body_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/mass_delete_cvid_operations.rb +95 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/record_id_body_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/status.rb +121 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/success_response.rb +123 -0
- data/src/com/zoho/crm/api/mass_delete_cvid/territory.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_tags/action_response.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_tags/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/mass_delete_tags/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/mass_delete_tags/error_detail1.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_tags/mass_delete.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_tags/mass_delete_details.rb +142 -0
- data/src/com/zoho/crm/api/mass_delete_tags/mass_delete_tags_operations.rb +64 -0
- data/src/com/zoho/crm/api/mass_delete_tags/module.rb +82 -0
- data/src/com/zoho/crm/api/mass_delete_tags/status_action_response.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_tags/status_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/mass_delete_tags/status_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/mass_delete_tags/success_response.rb +123 -0
- data/src/com/zoho/crm/api/mass_delete_tags/tag.rb +63 -0
- data/src/com/zoho/crm/api/modules/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/modules/action_response.rb +12 -0
- data/src/com/zoho/crm/api/modules/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/modules/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/modules/argument.rb +82 -0
- data/src/com/zoho/crm/api/modules/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/modules/lookup_field.rb +103 -0
- data/src/com/zoho/crm/api/modules/lookup_field_properties.rb +63 -0
- data/src/com/zoho/crm/api/modules/minified_module.rb +139 -0
- data/src/com/zoho/crm/api/modules/module_field_lookup.rb +181 -0
- data/src/com/zoho/crm/api/modules/module_fields.rb +1555 -0
- data/src/com/zoho/crm/api/modules/modules.rb +1302 -0
- data/src/com/zoho/crm/api/modules/modules_operations.rb +169 -0
- data/src/com/zoho/crm/api/modules/related_list_properties.rb +102 -0
- data/src/com/zoho/crm/api/modules/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/modules/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/modules/sharing_properties.rb +102 -0
- data/src/com/zoho/crm/api/modules/static_subform_field.rb +82 -0
- data/src/com/zoho/crm/api/modules/static_subform_properties.rb +63 -0
- data/src/com/zoho/crm/api/modules/success_response.rb +123 -0
- data/src/com/zoho/crm/api/modules/territory.rb +101 -0
- data/src/com/zoho/crm/api/notes/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/notes/action_response.rb +12 -0
- data/src/com/zoho/crm/api/notes/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/notes/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/notes/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/notes/info.rb +215 -0
- data/src/com/zoho/crm/api/notes/note.rb +350 -0
- data/src/com/zoho/crm/api/notes/notes_operations.rb +233 -0
- data/src/com/zoho/crm/api/notes/parent_id.rb +102 -0
- data/src/com/zoho/crm/api/notes/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/notes/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/notes/success_response.rb +123 -0
- data/src/com/zoho/crm/api/notifications/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/notifications/action_response.rb +12 -0
- data/src/com/zoho/crm/api/notifications/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/notifications/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/notifications/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/notifications/criteria.rb +136 -0
- data/src/com/zoho/crm/api/notifications/event.rb +158 -0
- data/src/com/zoho/crm/api/notifications/field.rb +82 -0
- data/src/com/zoho/crm/api/notifications/info.rb +120 -0
- data/src/com/zoho/crm/api/notifications/module.rb +82 -0
- data/src/com/zoho/crm/api/notifications/notification.rb +294 -0
- data/src/com/zoho/crm/api/notifications/notification_condition.rb +101 -0
- data/src/com/zoho/crm/api/notifications/notifications_operations.rb +165 -0
- data/src/com/zoho/crm/api/notifications/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/notifications/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/notifications/success_response.rb +123 -0
- data/src/com/zoho/crm/api/org/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/org/action_response.rb +12 -0
- data/src/com/zoho/crm/api/org/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/org/api_exception.rb +184 -0
- data/src/com/zoho/crm/api/org/checkin_preferences.rb +63 -0
- data/src/com/zoho/crm/api/org/feature.rb +82 -0
- data/src/com/zoho/crm/api/org/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/org/hierarchy_preferences.rb +83 -0
- data/src/com/zoho/crm/api/org/license_details.rb +177 -0
- data/src/com/zoho/crm/api/org/org.rb +862 -0
- data/src/com/zoho/crm/api/org/org_operations.rb +82 -0
- data/src/com/zoho/crm/api/org/resource.rb +82 -0
- data/src/com/zoho/crm/api/org/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/org/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/org/success_response.rb +125 -0
- data/src/com/zoho/crm/api/param.rb +12 -0
- data/src/com/zoho/crm/api/parameter_map.rb +62 -0
- data/src/com/zoho/crm/api/pick_list_values/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/pick_list_values/layout_association.rb +101 -0
- data/src/com/zoho/crm/api/pick_list_values/pick_list_values.rb +196 -0
- data/src/com/zoho/crm/api/pick_list_values/pick_list_values_operations.rb +47 -0
- data/src/com/zoho/crm/api/pick_list_values/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/pick_list_values/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/pipeline/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/pipeline/action_response.rb +12 -0
- data/src/com/zoho/crm/api/pipeline/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/pipeline/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/pipeline/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/pipeline/d_pipeline.rb +63 -0
- data/src/com/zoho/crm/api/pipeline/d_pipeline_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/pipeline/delete.rb +63 -0
- data/src/com/zoho/crm/api/pipeline/forecast_category.rb +82 -0
- data/src/com/zoho/crm/api/pipeline/json_details.rb +101 -0
- data/src/com/zoho/crm/api/pipeline/maps.rb +196 -0
- data/src/com/zoho/crm/api/pipeline/pipeline.rb +177 -0
- data/src/com/zoho/crm/api/pipeline/pipeline_operations.rb +195 -0
- data/src/com/zoho/crm/api/pipeline/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/pipeline/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/pipeline/stages.rb +82 -0
- data/src/com/zoho/crm/api/pipeline/success_response.rb +123 -0
- data/src/com/zoho/crm/api/pipeline/t_pipeline.rb +82 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline.rb +82 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_response.rb +12 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline_success_response.rb +123 -0
- data/src/com/zoho/crm/api/pipeline/transfer_pipeline_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/portal_invite/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/portal_invite/action_response.rb +12 -0
- data/src/com/zoho/crm/api/portal_invite/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/portal_invite/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/portal_invite/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/portal_invite/data.rb +12 -0
- data/src/com/zoho/crm/api/portal_invite/job_response.rb +101 -0
- data/src/com/zoho/crm/api/portal_invite/portal.rb +121 -0
- data/src/com/zoho/crm/api/portal_invite/portal_invite.rb +63 -0
- data/src/com/zoho/crm/api/portal_invite/portal_invite_operations.rb +66 -0
- data/src/com/zoho/crm/api/portal_invite/response_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/portal_invite/success_response.rb +125 -0
- data/src/com/zoho/crm/api/portal_user_type/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/portal_user_type/action_response.rb +12 -0
- data/src/com/zoho/crm/api/portal_user_type/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/portal_user_type/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/portal_user_type/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/portal_user_type/fields.rb +101 -0
- data/src/com/zoho/crm/api/portal_user_type/filters.rb +101 -0
- data/src/com/zoho/crm/api/portal_user_type/layouts.rb +120 -0
- data/src/com/zoho/crm/api/portal_user_type/modules.rb +215 -0
- data/src/com/zoho/crm/api/portal_user_type/owner.rb +82 -0
- data/src/com/zoho/crm/api/portal_user_type/permissions.rb +177 -0
- data/src/com/zoho/crm/api/portal_user_type/personality_module.rb +101 -0
- data/src/com/zoho/crm/api/portal_user_type/portal_user_type_operations.rb +144 -0
- data/src/com/zoho/crm/api/portal_user_type/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/portal_user_type/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/portal_user_type/success_response.rb +123 -0
- data/src/com/zoho/crm/api/portal_user_type/user_type.rb +253 -0
- data/src/com/zoho/crm/api/portal_user_type/views.rb +120 -0
- data/src/com/zoho/crm/api/portals/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/portals/action_response.rb +12 -0
- data/src/com/zoho/crm/api/portals/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/portals/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/portals/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/portals/owner.rb +82 -0
- data/src/com/zoho/crm/api/portals/portals.rb +177 -0
- data/src/com/zoho/crm/api/portals/portals_operations.rb +96 -0
- data/src/com/zoho/crm/api/portals/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/portals/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/portals/success_response.rb +123 -0
- data/src/com/zoho/crm/api/portals_meta/filters.rb +101 -0
- data/src/com/zoho/crm/api/portals_meta/layouts.rb +101 -0
- data/src/com/zoho/crm/api/portals_meta/modules.rb +177 -0
- data/src/com/zoho/crm/api/portals_meta/related_lists.rb +63 -0
- data/src/com/zoho/crm/api/portals_meta/views.rb +120 -0
- data/src/com/zoho/crm/api/portals_meta/wrapper.rb +63 -0
- data/src/com/zoho/crm/api/privacy_configurable_apps/apps.rb +63 -0
- data/src/com/zoho/crm/api/privacy_configurable_apps/wrapper.rb +63 -0
- data/src/com/zoho/crm/api/privacy_preference/config.rb +101 -0
- data/src/com/zoho/crm/api/privacy_preference/option.rb +120 -0
- data/src/com/zoho/crm/api/privacy_preference/preference.rb +462 -0
- data/src/com/zoho/crm/api/privacy_preference/privacy_preference.rb +82 -0
- data/src/com/zoho/crm/api/privacy_preference/section.rb +139 -0
- data/src/com/zoho/crm/api/privacy_preference/tpt.rb +101 -0
- data/src/com/zoho/crm/api/privacy_preference/wrapper.rb +63 -0
- data/src/com/zoho/crm/api/profiles/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/profiles/action_response.rb +12 -0
- data/src/com/zoho/crm/api/profiles/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/profiles/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/profiles/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/profiles/category.rb +12 -0
- data/src/com/zoho/crm/api/profiles/category_module.rb +122 -0
- data/src/com/zoho/crm/api/profiles/category_others.rb +103 -0
- data/src/com/zoho/crm/api/profiles/default_view.rb +101 -0
- data/src/com/zoho/crm/api/profiles/info.rb +63 -0
- data/src/com/zoho/crm/api/profiles/minified_profile.rb +101 -0
- data/src/com/zoho/crm/api/profiles/permission_detail.rb +177 -0
- data/src/com/zoho/crm/api/profiles/profile.rb +369 -0
- data/src/com/zoho/crm/api/profiles/profiles_operations.rb +152 -0
- data/src/com/zoho/crm/api/profiles/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/profiles/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/profiles/section.rb +82 -0
- data/src/com/zoho/crm/api/profiles/success_response.rb +125 -0
- data/src/com/zoho/crm/api/record/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/action_response.rb +12 -0
- data/src/com/zoho/crm/api/record/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record/api_exception.rb +143 -0
- data/src/com/zoho/crm/api/record/body_wrapper.rb +158 -0
- data/src/com/zoho/crm/api/record/comment.rb +120 -0
- data/src/com/zoho/crm/api/record/consent.rb +307 -0
- data/src/com/zoho/crm/api/record/count_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/count_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record/criteria.rb +137 -0
- data/src/com/zoho/crm/api/record/deleted_record.rb +159 -0
- data/src/com/zoho/crm/api/record/deleted_records_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/deleted_records_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/record/download_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/duplicate_record.rb +103 -0
- data/src/com/zoho/crm/api/record/field.rb +2867 -0
- data/src/com/zoho/crm/api/record/file_body_wrapper.rb +68 -0
- data/src/com/zoho/crm/api/record/file_details.rb +235 -0
- data/src/com/zoho/crm/api/record/file_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/image_upload.rb +330 -0
- data/src/com/zoho/crm/api/record/info.rb +253 -0
- data/src/com/zoho/crm/api/record/line_item_product.rb +171 -0
- data/src/com/zoho/crm/api/record/line_tax.rb +139 -0
- data/src/com/zoho/crm/api/record/mass_update.rb +142 -0
- data/src/com/zoho/crm/api/record/mass_update_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/mass_update_action_response.rb +12 -0
- data/src/com/zoho/crm/api/record/mass_update_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record/mass_update_body_wrapper.rb +158 -0
- data/src/com/zoho/crm/api/record/mass_update_response.rb +12 -0
- data/src/com/zoho/crm/api/record/mass_update_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/mass_update_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record/mass_update_success_response.rb +123 -0
- data/src/com/zoho/crm/api/record/mass_update_territory.rb +82 -0
- data/src/com/zoho/crm/api/record/multi_select_lookup.rb +101 -0
- data/src/com/zoho/crm/api/record/multi_select_picklist.rb +82 -0
- data/src/com/zoho/crm/api/record/options.rb +32 -0
- data/src/com/zoho/crm/api/record/participants.rb +222 -0
- data/src/com/zoho/crm/api/record/price_book.rb +137 -0
- data/src/com/zoho/crm/api/record/pricing_details.rb +188 -0
- data/src/com/zoho/crm/api/record/record.rb +211 -0
- data/src/com/zoho/crm/api/record/record_operations.rb +1147 -0
- data/src/com/zoho/crm/api/record/recurring_activity.rb +82 -0
- data/src/com/zoho/crm/api/record/remind_at.rb +63 -0
- data/src/com/zoho/crm/api/record/reminder.rb +101 -0
- data/src/com/zoho/crm/api/record/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/record/success_response.rb +163 -0
- data/src/com/zoho/crm/api/record/tax.rb +82 -0
- data/src/com/zoho/crm/api/record/territory.rb +140 -0
- data/src/com/zoho/crm/api/record/time_range.rb +82 -0
- data/src/com/zoho/crm/api/record/widget.rb +82 -0
- data/src/com/zoho/crm/api/record/wizard.rb +82 -0
- data/src/com/zoho/crm/api/record_locking/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_locking/action_response.rb +12 -0
- data/src/com/zoho/crm/api/record_locking/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record_locking/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/record_locking/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/record_locking/info.rb +253 -0
- data/src/com/zoho/crm/api/record_locking/lock_record.rb +63 -0
- data/src/com/zoho/crm/api/record_locking/locked_for_s.rb +101 -0
- data/src/com/zoho/crm/api/record_locking/record_lock.rb +257 -0
- data/src/com/zoho/crm/api/record_locking/record_locking_operations.rb +198 -0
- data/src/com/zoho/crm/api/record_locking/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_locking/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/record_locking/success_response.rb +161 -0
- data/src/com/zoho/crm/api/record_locking_configuration/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_locking_configuration/action_response.rb +12 -0
- data/src/com/zoho/crm/api/record_locking_configuration/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record_locking_configuration/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/record_locking_configuration/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/record_locking_configuration/criteria.rb +136 -0
- data/src/com/zoho/crm/api/record_locking_configuration/dependee.rb +82 -0
- data/src/com/zoho/crm/api/record_locking_configuration/field.rb +82 -0
- data/src/com/zoho/crm/api/record_locking_configuration/lock_excluded_profile.rb +82 -0
- data/src/com/zoho/crm/api/record_locking_configuration/locking_rules.rb +139 -0
- data/src/com/zoho/crm/api/record_locking_configuration/record_lock.rb +351 -0
- data/src/com/zoho/crm/api/record_locking_configuration/record_locking_configuration_operations.rb +153 -0
- data/src/com/zoho/crm/api/record_locking_configuration/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_locking_configuration/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record_locking_configuration/restricted_custom_button.rb +82 -0
- data/src/com/zoho/crm/api/record_locking_configuration/success_response.rb +123 -0
- data/src/com/zoho/crm/api/record_share_email/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_share_email/action_response.rb +12 -0
- data/src/com/zoho/crm/api/record_share_email/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record_share_email/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/record_share_email/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/record_share_email/record_share_email_operations.rb +109 -0
- data/src/com/zoho/crm/api/record_share_email/success_response.rb +123 -0
- data/src/com/zoho/crm/api/recycle_bin/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/recycle_bin/action_response.rb +12 -0
- data/src/com/zoho/crm/api/recycle_bin/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/recycle_bin/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/recycle_bin/count.rb +63 -0
- data/src/com/zoho/crm/api/recycle_bin/field.rb +82 -0
- data/src/com/zoho/crm/api/recycle_bin/info.rb +120 -0
- data/src/com/zoho/crm/api/recycle_bin/recycle_bin.rb +160 -0
- data/src/com/zoho/crm/api/recycle_bin/recycle_bin_operations.rb +132 -0
- data/src/com/zoho/crm/api/recycle_bin/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/recycle_bin/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/recycle_bin/restore_all_records.rb +64 -0
- data/src/com/zoho/crm/api/recycle_bin/success_response.rb +123 -0
- data/src/com/zoho/crm/api/related_lists/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/related_lists/field.rb +82 -0
- data/src/com/zoho/crm/api/related_lists/module_map.rb +82 -0
- data/src/com/zoho/crm/api/related_lists/related_list.rb +406 -0
- data/src/com/zoho/crm/api/related_lists/related_lists_operations.rb +82 -0
- data/src/com/zoho/crm/api/related_lists/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/related_lists/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/related_records/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/related_records/action_response.rb +12 -0
- data/src/com/zoho/crm/api/related_records/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/related_records/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/related_records/body_wrapper.rb +64 -0
- data/src/com/zoho/crm/api/related_records/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/related_records/related_records_operations.rb +677 -0
- data/src/com/zoho/crm/api/related_records/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/related_records/response_wrapper.rb +86 -0
- data/src/com/zoho/crm/api/related_records/success_response.rb +123 -0
- data/src/com/zoho/crm/api/request_proxy.rb +17 -0
- data/src/com/zoho/crm/api/reschedule_history/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/reschedule_history/action_response.rb +12 -0
- data/src/com/zoho/crm/api/reschedule_history/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/reschedule_history/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/reschedule_history/appointment_name.rb +82 -0
- data/src/com/zoho/crm/api/reschedule_history/approval.rb +120 -0
- data/src/com/zoho/crm/api/reschedule_history/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/reschedule_history/info.rb +177 -0
- data/src/com/zoho/crm/api/reschedule_history/reschedule_history.rb +557 -0
- data/src/com/zoho/crm/api/reschedule_history/reschedule_history_operations.rb +181 -0
- data/src/com/zoho/crm/api/reschedule_history/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/reschedule_history/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/reschedule_history/success_response.rb +123 -0
- data/src/com/zoho/crm/api/reschedule_history/user.rb +101 -0
- data/src/com/zoho/crm/api/roles/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/roles/action_response.rb +12 -0
- data/src/com/zoho/crm/api/roles/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/roles/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/roles/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/roles/reporting_to.rb +82 -0
- data/src/com/zoho/crm/api/roles/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/roles/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/roles/role.rb +273 -0
- data/src/com/zoho/crm/api/roles/roles_operations.rb +150 -0
- data/src/com/zoho/crm/api/roles/success_response.rb +123 -0
- data/src/com/zoho/crm/api/scoring_rules/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/scoring_rules/action_response.rb +12 -0
- data/src/com/zoho/crm/api/scoring_rules/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/scoring_rules/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/scoring_rules/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/scoring_rules/criteria.rb +136 -0
- data/src/com/zoho/crm/api/scoring_rules/expected_field.rb +82 -0
- data/src/com/zoho/crm/api/scoring_rules/field.rb +82 -0
- data/src/com/zoho/crm/api/scoring_rules/field_rule.rb +101 -0
- data/src/com/zoho/crm/api/scoring_rules/info.rb +215 -0
- data/src/com/zoho/crm/api/scoring_rules/layout.rb +82 -0
- data/src/com/zoho/crm/api/scoring_rules/layout_request_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/scoring_rules/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/scoring_rules/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/scoring_rules/role_request_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/scoring_rules/scoring_rule.rb +274 -0
- data/src/com/zoho/crm/api/scoring_rules/scoring_rules_operations.rb +328 -0
- data/src/com/zoho/crm/api/scoring_rules/signal.rb +82 -0
- data/src/com/zoho/crm/api/scoring_rules/signal_rule.rb +101 -0
- data/src/com/zoho/crm/api/scoring_rules/success_response.rb +125 -0
- data/src/com/zoho/crm/api/sdk_config.rb +16 -0
- data/src/com/zoho/crm/api/send_mail/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/send_mail/action_response.rb +12 -0
- data/src/com/zoho/crm/api/send_mail/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/send_mail/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/send_mail/attachment.rb +63 -0
- data/src/com/zoho/crm/api/send_mail/blocked_email_address.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/send_mail/cc.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/data.rb +368 -0
- data/src/com/zoho/crm/api/send_mail/data_subject_request.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/from.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/in_reply_to.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/inventory_details.rb +63 -0
- data/src/com/zoho/crm/api/send_mail/inventory_template.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/linked_module.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/linked_record.rb +101 -0
- data/src/com/zoho/crm/api/send_mail/owner.rb +82 -0
- data/src/com/zoho/crm/api/send_mail/send_mail_operations.rb +51 -0
- data/src/com/zoho/crm/api/send_mail/success_response.rb +123 -0
- data/src/com/zoho/crm/api/send_mail/template.rb +12 -0
- data/src/com/zoho/crm/api/send_mail/to.rb +82 -0
- data/src/com/zoho/crm/api/service_preference/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/service_preference/action_response.rb +12 -0
- data/src/com/zoho/crm/api/service_preference/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/service_preference/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/service_preference/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/service_preference/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/service_preference/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/service_preference/service_preference.rb +63 -0
- data/src/com/zoho/crm/api/service_preference/service_preference_operations.rb +51 -0
- data/src/com/zoho/crm/api/service_preference/success_response.rb +123 -0
- data/src/com/zoho/crm/api/share_records/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/share_records/action_response.rb +12 -0
- data/src/com/zoho/crm/api/share_records/action_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/share_records/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/share_records/body_wrapper.rb +101 -0
- data/src/com/zoho/crm/api/share_records/delete_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/share_records/delete_action_response.rb +12 -0
- data/src/com/zoho/crm/api/share_records/delete_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/share_records/dependee.rb +82 -0
- data/src/com/zoho/crm/api/share_records/module.rb +101 -0
- data/src/com/zoho/crm/api/share_records/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/share_records/response_wrapper.rb +85 -0
- data/src/com/zoho/crm/api/share_records/share_record.rb +198 -0
- data/src/com/zoho/crm/api/share_records/share_records_operations.rb +130 -0
- data/src/com/zoho/crm/api/share_records/shared_through.rb +120 -0
- data/src/com/zoho/crm/api/share_records/success_response.rb +125 -0
- data/src/com/zoho/crm/api/sharing_rules/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/sharing_rules/action_response.rb +12 -0
- data/src/com/zoho/crm/api/sharing_rules/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/sharing_rules/api_exception.rb +129 -0
- data/src/com/zoho/crm/api/sharing_rules/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/sharing_rules/criteria.rb +155 -0
- data/src/com/zoho/crm/api/sharing_rules/field.rb +82 -0
- data/src/com/zoho/crm/api/sharing_rules/filters_body.rb +63 -0
- data/src/com/zoho/crm/api/sharing_rules/info.rb +120 -0
- data/src/com/zoho/crm/api/sharing_rules/module.rb +101 -0
- data/src/com/zoho/crm/api/sharing_rules/resource.rb +82 -0
- data/src/com/zoho/crm/api/sharing_rules/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/sharing_rules/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/sharing_rules/rules_summary.rb +101 -0
- data/src/com/zoho/crm/api/sharing_rules/shared.rb +102 -0
- data/src/com/zoho/crm/api/sharing_rules/sharing_rules.rb +254 -0
- data/src/com/zoho/crm/api/sharing_rules/sharing_rules_operations.rb +324 -0
- data/src/com/zoho/crm/api/sharing_rules/success_response.rb +123 -0
- data/src/com/zoho/crm/api/sharing_rules/summary_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/sharing_rules/summary_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/shift_hours/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/shift_hours/action_response.rb +12 -0
- data/src/com/zoho/crm/api/shift_hours/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/shift_hours/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/shift_hours/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/shift_hours/break_custom_timing.rb +82 -0
- data/src/com/zoho/crm/api/shift_hours/break_hours.rb +139 -0
- data/src/com/zoho/crm/api/shift_hours/holidays.rb +120 -0
- data/src/com/zoho/crm/api/shift_hours/mandatory_details.rb +82 -0
- data/src/com/zoho/crm/api/shift_hours/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/shift_hours/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/shift_hours/role.rb +82 -0
- data/src/com/zoho/crm/api/shift_hours/shift_count.rb +82 -0
- data/src/com/zoho/crm/api/shift_hours/shift_custom_timing.rb +82 -0
- data/src/com/zoho/crm/api/shift_hours/shift_hours.rb +253 -0
- data/src/com/zoho/crm/api/shift_hours/shift_hours_operations.rb +166 -0
- data/src/com/zoho/crm/api/shift_hours/success_response.rb +123 -0
- data/src/com/zoho/crm/api/shift_hours/users.rb +158 -0
- data/src/com/zoho/crm/api/signals/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/signals/extension.rb +120 -0
- data/src/com/zoho/crm/api/signals/feature_availability.rb +82 -0
- data/src/com/zoho/crm/api/signals/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/signals/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/signals/signals.rb +177 -0
- data/src/com/zoho/crm/api/signals/signals_operations.rb +30 -0
- data/src/com/zoho/crm/api/signals_notifications/action.rb +120 -0
- data/src/com/zoho/crm/api/signals_notifications/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/signals_notifications/action_response.rb +12 -0
- data/src/com/zoho/crm/api/signals_notifications/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/signals_notifications/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/signals_notifications/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/signals_notifications/signals.rb +177 -0
- data/src/com/zoho/crm/api/signals_notifications/signals_notifications_operations.rb +37 -0
- data/src/com/zoho/crm/api/signals_notifications/success_response.rb +123 -0
- data/src/com/zoho/crm/api/tags/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/tags/action_response.rb +12 -0
- data/src/com/zoho/crm/api/tags/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/tags/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/tags/associated_places.rb +82 -0
- data/src/com/zoho/crm/api/tags/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/tags/conflict_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/tags/count_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/tags/error_details.rb +82 -0
- data/src/com/zoho/crm/api/tags/existing_tag.rb +82 -0
- data/src/com/zoho/crm/api/tags/existing_tag_request_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/tags/info.rb +82 -0
- data/src/com/zoho/crm/api/tags/merge_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/tags/new_tag_request_wrapper.rb +101 -0
- data/src/com/zoho/crm/api/tags/record_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/tags/record_action_response.rb +12 -0
- data/src/com/zoho/crm/api/tags/record_action_wrapper.rb +122 -0
- data/src/com/zoho/crm/api/tags/record_detail_tag.rb +101 -0
- data/src/com/zoho/crm/api/tags/record_success_response.rb +123 -0
- data/src/com/zoho/crm/api/tags/resources.rb +101 -0
- data/src/com/zoho/crm/api/tags/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/tags/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/tags/success_response.rb +123 -0
- data/src/com/zoho/crm/api/tags/success_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/tags/tag.rb +179 -0
- data/src/com/zoho/crm/api/tags/tags_operations.rb +393 -0
- data/src/com/zoho/crm/api/taxes/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/taxes/action_response.rb +12 -0
- data/src/com/zoho/crm/api/taxes/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/taxes/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/taxes/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/taxes/expected_field.rb +82 -0
- data/src/com/zoho/crm/api/taxes/org_tax.rb +82 -0
- data/src/com/zoho/crm/api/taxes/preference.rb +82 -0
- data/src/com/zoho/crm/api/taxes/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/taxes/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/taxes/success_response.rb +123 -0
- data/src/com/zoho/crm/api/taxes/tax.rb +158 -0
- data/src/com/zoho/crm/api/taxes/taxes_operations.rb +70 -0
- data/src/com/zoho/crm/api/templates/api_exception.rb +121 -0
- data/src/com/zoho/crm/api/templates/folder.rb +82 -0
- data/src/com/zoho/crm/api/templates/templates.rb +234 -0
- data/src/com/zoho/crm/api/templates/wrapper.rb +63 -0
- data/src/com/zoho/crm/api/territories/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/territories/action_response.rb +12 -0
- data/src/com/zoho/crm/api/territories/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/territories/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/territories/associated_users_count.rb +82 -0
- data/src/com/zoho/crm/api/territories/associated_users_count_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/territories/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/territories/criteria.rb +136 -0
- data/src/com/zoho/crm/api/territories/deleted_associated_territories.rb +121 -0
- data/src/com/zoho/crm/api/territories/deleted_associated_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/territories/field.rb +82 -0
- data/src/com/zoho/crm/api/territories/info.rb +120 -0
- data/src/com/zoho/crm/api/territories/manager.rb +82 -0
- data/src/com/zoho/crm/api/territories/minified_territory.rb +101 -0
- data/src/com/zoho/crm/api/territories/reporting_to.rb +82 -0
- data/src/com/zoho/crm/api/territories/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/territories/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/territories/success_response.rb +123 -0
- data/src/com/zoho/crm/api/territories/territories.rb +312 -0
- data/src/com/zoho/crm/api/territories/territories_operations.rb +307 -0
- data/src/com/zoho/crm/api/territories/transfer_body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/territories/transfer_territory.rb +101 -0
- data/src/com/zoho/crm/api/territory_users/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/territory_users/action_response.rb +12 -0
- data/src/com/zoho/crm/api/territory_users/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/territory_users/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/territory_users/body_wrapper.rb +64 -0
- data/src/com/zoho/crm/api/territory_users/info.rb +120 -0
- data/src/com/zoho/crm/api/territory_users/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/territory_users/response_wrapper.rb +85 -0
- data/src/com/zoho/crm/api/territory_users/success_response.rb +123 -0
- data/src/com/zoho/crm/api/territory_users/territory_users_operations.rb +172 -0
- data/src/com/zoho/crm/api/timelines/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/timelines/automation_detail.rb +101 -0
- data/src/com/zoho/crm/api/timelines/field_history.rb +177 -0
- data/src/com/zoho/crm/api/timelines/field_history_value.rb +82 -0
- data/src/com/zoho/crm/api/timelines/info.rb +158 -0
- data/src/com/zoho/crm/api/timelines/module.rb +82 -0
- data/src/com/zoho/crm/api/timelines/name_id_structure.rb +82 -0
- data/src/com/zoho/crm/api/timelines/path_finder.rb +101 -0
- data/src/com/zoho/crm/api/timelines/picklist_detail.rb +158 -0
- data/src/com/zoho/crm/api/timelines/record.rb +101 -0
- data/src/com/zoho/crm/api/timelines/related_record.rb +101 -0
- data/src/com/zoho/crm/api/timelines/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/timelines/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/timelines/state.rb +120 -0
- data/src/com/zoho/crm/api/timelines/timeline.rb +253 -0
- data/src/com/zoho/crm/api/timelines/timelines_operations.rb +89 -0
- data/src/com/zoho/crm/api/unblock_email/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/unblock_email/action_response.rb +12 -0
- data/src/com/zoho/crm/api/unblock_email/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/unblock_email/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/unblock_email/body_wrapper.rb +82 -0
- data/src/com/zoho/crm/api/unblock_email/success_response.rb +122 -0
- data/src/com/zoho/crm/api/unblock_email/unblock_email_operations.rb +71 -0
- data/src/com/zoho/crm/api/unsubscribe_links/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/unsubscribe_links/action_response.rb +12 -0
- data/src/com/zoho/crm/api/unsubscribe_links/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/unsubscribe_links/api_exception.rb +129 -0
- data/src/com/zoho/crm/api/unsubscribe_links/associated_places.rb +101 -0
- data/src/com/zoho/crm/api/unsubscribe_links/association_details.rb +82 -0
- data/src/com/zoho/crm/api/unsubscribe_links/associations_response_handler.rb +12 -0
- data/src/com/zoho/crm/api/unsubscribe_links/associations_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/unsubscribe_links/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/unsubscribe_links/detail.rb +63 -0
- data/src/com/zoho/crm/api/unsubscribe_links/module.rb +82 -0
- data/src/com/zoho/crm/api/unsubscribe_links/resource.rb +82 -0
- data/src/com/zoho/crm/api/unsubscribe_links/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/unsubscribe_links/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/unsubscribe_links/success_response.rb +123 -0
- data/src/com/zoho/crm/api/unsubscribe_links/unsubscribe_links.rb +330 -0
- data/src/com/zoho/crm/api/unsubscribe_links/unsubscribe_links_operations.rb +149 -0
- data/src/com/zoho/crm/api/unsubscribe_links/user.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/user_groups/action_response.rb +12 -0
- data/src/com/zoho/crm/api/user_groups/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/user_groups/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/user_groups/assign.rb +159 -0
- data/src/com/zoho/crm/api/user_groups/assigned_action_response.rb +12 -0
- data/src/com/zoho/crm/api/user_groups/assigned_action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/associated_user.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/associated_user_count.rb +84 -0
- data/src/com/zoho/crm/api/user_groups/association_module.rb +64 -0
- data/src/com/zoho/crm/api/user_groups/association_response.rb +101 -0
- data/src/com/zoho/crm/api/user_groups/association_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/user_groups/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/criteria.rb +137 -0
- data/src/com/zoho/crm/api/user_groups/field.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/get_assign_body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/get_unassign_body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/grouped_count.rb +83 -0
- data/src/com/zoho/crm/api/user_groups/grouped_count_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/user_groups/groups.rb +215 -0
- data/src/com/zoho/crm/api/user_groups/info.rb +120 -0
- data/src/com/zoho/crm/api/user_groups/jobs.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/jobs_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/owner.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/resource.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/user_groups/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/user_groups/source.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/sources.rb +121 -0
- data/src/com/zoho/crm/api/user_groups/sources_count.rb +120 -0
- data/src/com/zoho/crm/api/user_groups/sources_count_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/user_groups/sources_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/user_groups/success_response.rb +123 -0
- data/src/com/zoho/crm/api/user_groups/un_assigned_action_response.rb +12 -0
- data/src/com/zoho/crm/api/user_groups/un_assigned_action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_groups/user_group.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/user_groups_operations.rb +356 -0
- data/src/com/zoho/crm/api/user_groups/users.rb +101 -0
- data/src/com/zoho/crm/api/user_signature.rb +15 -0
- data/src/com/zoho/crm/api/user_type_users/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/user_type_users/action_response.rb +12 -0
- data/src/com/zoho/crm/api/user_type_users/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/user_type_users/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/user_type_users/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/user_type_users/info.rb +139 -0
- data/src/com/zoho/crm/api/user_type_users/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/user_type_users/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/user_type_users/status_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/user_type_users/status_action_response.rb +12 -0
- data/src/com/zoho/crm/api/user_type_users/status_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/user_type_users/success_response.rb +125 -0
- data/src/com/zoho/crm/api/user_type_users/user_type_users_operations.rb +164 -0
- data/src/com/zoho/crm/api/user_type_users/users.rb +196 -0
- data/src/com/zoho/crm/api/users/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/users/action_response.rb +12 -0
- data/src/com/zoho/crm/api/users/action_wrapper.rb +67 -0
- data/src/com/zoho/crm/api/users/api_exception.rb +129 -0
- data/src/com/zoho/crm/api/users/associated_group.rb +177 -0
- data/src/com/zoho/crm/api/users/associated_groups_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/users/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users/count_handler.rb +12 -0
- data/src/com/zoho/crm/api/users/count_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users/customize_info.rb +146 -0
- data/src/com/zoho/crm/api/users/info.rb +120 -0
- data/src/com/zoho/crm/api/users/minified_user.rb +101 -0
- data/src/com/zoho/crm/api/users/owner.rb +120 -0
- data/src/com/zoho/crm/api/users/profile.rb +82 -0
- data/src/com/zoho/crm/api/users/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/users/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/users/role.rb +82 -0
- data/src/com/zoho/crm/api/users/shift.rb +82 -0
- data/src/com/zoho/crm/api/users/success_response.rb +123 -0
- data/src/com/zoho/crm/api/users/tab.rb +83 -0
- data/src/com/zoho/crm/api/users/theme.rb +159 -0
- data/src/com/zoho/crm/api/users/users.rb +1086 -0
- data/src/com/zoho/crm/api/users/users_operations.rb +247 -0
- data/src/com/zoho/crm/api/users_territories/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/action_response.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users_territories/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/users_territories/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users_territories/info.rb +120 -0
- data/src/com/zoho/crm/api/users_territories/manager.rb +82 -0
- data/src/com/zoho/crm/api/users_territories/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/users_territories/success_response.rb +123 -0
- data/src/com/zoho/crm/api/users_territories/territory.rb +120 -0
- data/src/com/zoho/crm/api/users_territories/users_territories_operations.rb +132 -0
- data/src/com/zoho/crm/api/users_transfer_delete/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_transfer_delete/action_response.rb +12 -0
- data/src/com/zoho/crm/api/users_transfer_delete/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users_transfer_delete/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/users_transfer_delete/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users_transfer_delete/move_subordinate.rb +63 -0
- data/src/com/zoho/crm/api/users_transfer_delete/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_transfer_delete/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users_transfer_delete/status.rb +63 -0
- data/src/com/zoho/crm/api/users_transfer_delete/success_response.rb +123 -0
- data/src/com/zoho/crm/api/users_transfer_delete/transfer.rb +120 -0
- data/src/com/zoho/crm/api/users_transfer_delete/transfer_and_delete.rb +101 -0
- data/src/com/zoho/crm/api/users_transfer_delete/transfer_and_delete_by_id.rb +82 -0
- data/src/com/zoho/crm/api/users_transfer_delete/users_transfer_delete_operations.rb +92 -0
- data/src/com/zoho/crm/api/users_unavailability/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_unavailability/action_response.rb +12 -0
- data/src/com/zoho/crm/api/users_unavailability/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users_unavailability/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/users_unavailability/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users_unavailability/info.rb +120 -0
- data/src/com/zoho/crm/api/users_unavailability/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_unavailability/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/users_unavailability/success_response.rb +123 -0
- data/src/com/zoho/crm/api/users_unavailability/user.rb +101 -0
- data/src/com/zoho/crm/api/users_unavailability/users_unavailability.rb +234 -0
- data/src/com/zoho/crm/api/users_unavailability/users_unavailability_operations.rb +181 -0
- data/src/com/zoho/crm/api/util/api_http_connector.rb +125 -0
- data/src/com/zoho/crm/api/util/api_response.rb +21 -0
- data/src/com/zoho/crm/api/util/choice.rb +11 -0
- data/src/com/zoho/crm/api/util/common_api_handler.rb +252 -0
- data/src/com/zoho/crm/api/util/constants.rb +765 -0
- data/src/com/zoho/crm/api/util/converter.rb +318 -0
- data/src/com/zoho/crm/api/util/data_type_converter.rb +194 -0
- data/src/com/zoho/crm/api/util/downloader.rb +86 -0
- data/src/com/zoho/crm/api/util/form_data_converter.rb +159 -0
- data/src/com/zoho/crm/api/util/header_param_validator.rb +92 -0
- data/src/com/zoho/crm/api/util/json_converter.rb +785 -0
- data/src/com/zoho/crm/api/util/model.rb +7 -0
- data/src/com/zoho/crm/api/util/module_fields_handler.rb +91 -0
- data/src/com/zoho/crm/api/util/stream_wrapper.rb +39 -0
- data/src/com/zoho/crm/api/util/utility.rb +1031 -0
- data/src/com/zoho/crm/api/variable_groups/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/variable_groups/minified_variable_group.rb +82 -0
- data/src/com/zoho/crm/api/variable_groups/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/variable_groups/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/variable_groups/variable_group.rb +158 -0
- data/src/com/zoho/crm/api/variable_groups/variable_groups_operations.rb +68 -0
- data/src/com/zoho/crm/api/variables/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/variables/action_response.rb +12 -0
- data/src/com/zoho/crm/api/variables/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/variables/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/variables/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/variables/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/variables/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/variables/success_response.rb +123 -0
- data/src/com/zoho/crm/api/variables/variable.rb +213 -0
- data/src/com/zoho/crm/api/variables/variable_group.rb +101 -0
- data/src/com/zoho/crm/api/variables/variables_operations.rb +267 -0
- data/src/com/zoho/crm/api/webforms/abtesting.rb +120 -0
- data/src/com/zoho/crm/api/webforms/acknowledge_visitor.rb +82 -0
- data/src/com/zoho/crm/api/webforms/acknowledge_visitors.rb +101 -0
- data/src/com/zoho/crm/api/webforms/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/webforms/action_response.rb +12 -0
- data/src/com/zoho/crm/api/webforms/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/webforms/analytics_data.rb +139 -0
- data/src/com/zoho/crm/api/webforms/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/webforms/assignment_rule.rb +82 -0
- data/src/com/zoho/crm/api/webforms/auto_response_rule.rb +63 -0
- data/src/com/zoho/crm/api/webforms/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/webforms/button_attributes.rb +82 -0
- data/src/com/zoho/crm/api/webforms/fields.rb +348 -0
- data/src/com/zoho/crm/api/webforms/font_attributes.rb +101 -0
- data/src/com/zoho/crm/api/webforms/form_attributes.rb +139 -0
- data/src/com/zoho/crm/api/webforms/from_address.rb +82 -0
- data/src/com/zoho/crm/api/webforms/layout.rb +82 -0
- data/src/com/zoho/crm/api/webforms/module.rb +101 -0
- data/src/com/zoho/crm/api/webforms/owner.rb +82 -0
- data/src/com/zoho/crm/api/webforms/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/webforms/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/webforms/spam_controll.rb +82 -0
- data/src/com/zoho/crm/api/webforms/success_response.rb +123 -0
- data/src/com/zoho/crm/api/webforms/suggestion.rb +82 -0
- data/src/com/zoho/crm/api/webforms/tags.rb +82 -0
- data/src/com/zoho/crm/api/webforms/user.rb +82 -0
- data/src/com/zoho/crm/api/webforms/web_form.rb +804 -0
- data/src/com/zoho/crm/api/webforms/webforms_operations.rb +190 -0
- data/src/com/zoho/crm/api/wizards/actions.rb +176 -0
- data/src/com/zoho/crm/api/wizards/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/wizards/button.rb +326 -0
- data/src/com/zoho/crm/api/wizards/button_background.rb +63 -0
- data/src/com/zoho/crm/api/wizards/chart_data.rb +139 -0
- data/src/com/zoho/crm/api/wizards/conditional_rules.rb +121 -0
- data/src/com/zoho/crm/api/wizards/connection.rb +101 -0
- data/src/com/zoho/crm/api/wizards/container.rb +121 -0
- data/src/com/zoho/crm/api/wizards/criteria.rb +136 -0
- data/src/com/zoho/crm/api/wizards/element.rb +82 -0
- data/src/com/zoho/crm/api/wizards/exempted_portal_user_type.rb +63 -0
- data/src/com/zoho/crm/api/wizards/field.rb +82 -0
- data/src/com/zoho/crm/api/wizards/message.rb +82 -0
- data/src/com/zoho/crm/api/wizards/node.rb +120 -0
- data/src/com/zoho/crm/api/wizards/portal_user_type.rb +121 -0
- data/src/com/zoho/crm/api/wizards/resource.rb +82 -0
- data/src/com/zoho/crm/api/wizards/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/wizards/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/wizards/screen.rb +158 -0
- data/src/com/zoho/crm/api/wizards/segment.rb +197 -0
- data/src/com/zoho/crm/api/wizards/transition.rb +82 -0
- data/src/com/zoho/crm/api/wizards/wizard.rb +313 -0
- data/src/com/zoho/crm/api/wizards/wizards_operations.rb +63 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/allowed_field_map.rb +82 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/allowed_output_data.rb +82 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/api_exception.rb +121 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/crm_field.rb +82 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/enrich_field.rb +82 -0
- data/src/com/zoho/crm/api/zia_allowed_field_mappings/response_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_enrichment/action_response.rb +12 -0
- data/src/com/zoho/crm/api/zia_enrichment/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_enrichment/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/zia_enrichment/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_enrichment/crm_field.rb +101 -0
- data/src/com/zoho/crm/api/zia_enrichment/data_enrichment.rb +234 -0
- data/src/com/zoho/crm/api/zia_enrichment/enrich_field.rb +82 -0
- data/src/com/zoho/crm/api/zia_enrichment/input_data.rb +82 -0
- data/src/com/zoho/crm/api/zia_enrichment/module.rb +82 -0
- data/src/com/zoho/crm/api/zia_enrichment/output_data.rb +82 -0
- data/src/com/zoho/crm/api/zia_enrichment/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/zia_enrichment/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/zia_enrichment/scrapy_action_response.rb +12 -0
- data/src/com/zoho/crm/api/zia_enrichment/scrapy_action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_enrichment/scrapy_body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_enrichment/scrapy_feedback.rb +121 -0
- data/src/com/zoho/crm/api/zia_enrichment/scrapy_success.rb +123 -0
- data/src/com/zoho/crm/api/zia_enrichment/success_response.rb +121 -0
- data/src/com/zoho/crm/api/zia_enrichment/user.rb +82 -0
- data/src/com/zoho/crm/api/zia_enrichment/zia_enrichment_operations.rb +30 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/action_response.rb +12 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/address.rb +139 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/description.rb +82 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/enrich_based_on.rb +101 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/enriched_data.rb +557 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/industry.rb +82 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/info.rb +120 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/social_media.rb +82 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/success_response.rb +123 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/user.rb +82 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/zia_org_enrichment.rb +158 -0
- data/src/com/zoho/crm/api/zia_org_enrichment/zia_org_enrichment_operations.rb +117 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/action_handler.rb +12 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/action_response.rb +12 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/address.rb +139 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/api_exception.rb +127 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/company.rb +82 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/company_info.rb +101 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/email_info.rb +82 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/enrich_based_on.rb +120 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/enriched_data.rb +424 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/experience.rb +139 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/industry.rb +82 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/info.rb +120 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/response_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/social.rb +101 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/social_media.rb +82 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/success_response.rb +123 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/user.rb +82 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/zia_people_enrichment.rb +158 -0
- data/src/com/zoho/crm/api/zia_people_enrichment/zia_people_enrichment_operations.rb +121 -0
- data/src/resources/json_details.json +1 -0
- data/src/version.rb +3 -0
- metadata +1779 -0
@@ -0,0 +1,279 @@
|
|
1
|
+
require_relative 'token_store'
|
2
|
+
require_relative '../oauth_token'
|
3
|
+
require_relative '../../../crm/api/util/constants'
|
4
|
+
|
5
|
+
module ZOHOCRMSDK
|
6
|
+
module Store
|
7
|
+
# This class stores the user token details to the MySQL DataBase.
|
8
|
+
class DBStore < TokenStore
|
9
|
+
attr_reader :user_name, :password, :port_number, :host, :database_name, :table_name
|
10
|
+
|
11
|
+
# Creates an DBStore class instance with the specified parameters.
|
12
|
+
# @param host [string] A String containing the DataBase host name.
|
13
|
+
# @param database_name A String containing the DataBase name.
|
14
|
+
# @param table_name A String containing the table name.
|
15
|
+
# @param user_name A String containing the DataBase user name.
|
16
|
+
# @param password A String containing the DataBase password.
|
17
|
+
# @param port_number A String containing the DataBase port number.
|
18
|
+
def initialize(host: Constants::MYSQL_HOST, database_name: Constants::MYSQL_DATABASE_NAME , table_name: Constants::MYSQL_TABLE_NAME, user_name: Constants::MYSQL_USER_NAME, password: '', port_number: Constants::MYSQL_PORT_NUMBER )
|
19
|
+
require 'mysql2' unless Object.const_defined?(:Mysql2)
|
20
|
+
@host = host
|
21
|
+
@database_name = database_name
|
22
|
+
@table_name = table_name
|
23
|
+
@user_name = user_name
|
24
|
+
@password = password
|
25
|
+
@port_number = port_number
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
def find_token(token)
|
30
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
31
|
+
oauth_token = token
|
32
|
+
begin
|
33
|
+
query = 'select * from '.concat(@table_name)
|
34
|
+
if !oauth_token.user_signature.nil?
|
35
|
+
name = oauth_token.user_signature.name
|
36
|
+
if !name.nil? && name.length > 0
|
37
|
+
query.concat(" where user_name='").concat(name).concat("'")
|
38
|
+
end
|
39
|
+
elsif !oauth_token.access_token.nil? && are_all_objects_null(oauth_token.client_id, oauth_token.client_secret)
|
40
|
+
query.concat(" where access_token='").concat(oauth_token.access_token).concat("'")
|
41
|
+
elsif (!oauth_token.refresh_token.nil? || !oauth_token.grant_token.nil?) && !oauth_token.client_secret.nil? && !oauth_token.client_id.nil?
|
42
|
+
if !oauth_token.grant_token.nil? && oauth_token.grant_token.length > 0
|
43
|
+
query.concat(" where grant_token='").concat(oauth_token.grant_token).concat("'")
|
44
|
+
elsif !oauth_token.refresh_token.nil? && oauth_token.refresh_token.length > 0
|
45
|
+
query.concat(" where refresh_token='").concat(oauth_token.refresh_token).concat("'")
|
46
|
+
end
|
47
|
+
end
|
48
|
+
query.concat(' limit 1')
|
49
|
+
result = con.query(query)
|
50
|
+
if result.count == 0
|
51
|
+
return nil
|
52
|
+
else
|
53
|
+
result.each do |row|
|
54
|
+
set_merge_data(oauth_token, row)
|
55
|
+
break
|
56
|
+
end
|
57
|
+
end
|
58
|
+
rescue Mysql2::Error => e
|
59
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_DB_ERROR1, nil, e)
|
60
|
+
ensure
|
61
|
+
con.close
|
62
|
+
end
|
63
|
+
oauth_token
|
64
|
+
end
|
65
|
+
|
66
|
+
def save_token(token)
|
67
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
68
|
+
begin
|
69
|
+
if token.is_a? Authenticator::OAuthToken
|
70
|
+
oauth_token = token
|
71
|
+
query = 'update '.concat(@table_name).concat(' set ')
|
72
|
+
if !oauth_token.user_signature.nil?
|
73
|
+
name = oauth_token.user_signature.name
|
74
|
+
if !name.nil? && name.length > 0
|
75
|
+
query.concat(set_token(oauth_token)).concat(" where user_name='").concat(name).concat("'")
|
76
|
+
end
|
77
|
+
elsif !oauth_token.access_token.nil? && oauth_token.access_token.length > 0 && are_all_objects_null(oauth_token.client_id, oauth_token.client_secret)
|
78
|
+
query.concat(set_token(oauth_token)).concat(" where access_token='").concat(oauth_token.access_token).concat("'")
|
79
|
+
elsif ((!oauth_token.refresh_token.nil? && oauth_token.refresh_token.length > 0) || (!oauth_token.grant_token.nil? && oauth_token.grant_token.length > 0)) && !oauth_token.client_id.nil? && !oauth_token.client_secret.nil?
|
80
|
+
if !oauth_token.grant_token.nil? && oauth_token.grant_token.length > 0
|
81
|
+
query.concat(set_token(oauth_token)).concat(" where grant_token='").concat(oauth_token.grant_token).concat("'")
|
82
|
+
elsif !oauth_token.refresh_token.nil? && oauth_token.refresh_token.length > 0
|
83
|
+
query.concat(set_token(oauth_token)).concat(" where refresh_token='").concat(oauth_token.refresh_token).concat("'")
|
84
|
+
end
|
85
|
+
end
|
86
|
+
query.concat(' limit 1')
|
87
|
+
result = con.query(query)
|
88
|
+
if con.affected_rows == 0
|
89
|
+
if !oauth_token.id.nil? || !oauth_token.user_signature.nil?
|
90
|
+
if oauth_token.refresh_token.nil? && oauth_token.grant_token.nil? && oauth_token.access_token.nil?
|
91
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_DB_ERROR1, nil, nil)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
if oauth_token.id.nil?
|
95
|
+
new_id = generate_id.to_s
|
96
|
+
oauth_token.id = new_id
|
97
|
+
end
|
98
|
+
query = "insert into #{@table_name}(id,user_name,client_id,client_secret,refresh_token,access_token,grant_token,expiry_time,redirect_url,api_domain) VALUES (?,?,?,?,?,?,?,?,?,?)"
|
99
|
+
value = {
|
100
|
+
id: token.id,
|
101
|
+
user_name: token.user_signature.nil? ? nil : token.user_signature.name,
|
102
|
+
client_id: token.client_id,
|
103
|
+
client_secret: token.client_secret,
|
104
|
+
refresh_token: token.refresh_token,
|
105
|
+
access_token: token.access_token,
|
106
|
+
grant_token: token.grant_token,
|
107
|
+
expiry_time: token.expires_in,
|
108
|
+
redirect_url: token.redirect_url,
|
109
|
+
api_domain: token.api_domain
|
110
|
+
}
|
111
|
+
statement = con.prepare(query)
|
112
|
+
statement.execute(*value.values)
|
113
|
+
end
|
114
|
+
# end
|
115
|
+
end
|
116
|
+
rescue Mysql2::Error => e
|
117
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::SAVE_TOKEN_DB_ERROR, nil, e)
|
118
|
+
ensure
|
119
|
+
con.close
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
def delete_token(id)
|
124
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
125
|
+
query = 'delete from '.concat(@table_name).concat(" where id='").concat(id).concat("';")
|
126
|
+
con.query(query)
|
127
|
+
con.close
|
128
|
+
rescue Mysql2::Error => e
|
129
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::DELETE_TOKEN_DB_ERROR, nil, e)
|
130
|
+
end
|
131
|
+
|
132
|
+
def delete_tokens
|
133
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
134
|
+
|
135
|
+
query = "delete from #{@table_name}"
|
136
|
+
|
137
|
+
con.query(query)
|
138
|
+
|
139
|
+
con.close
|
140
|
+
rescue Mysql2::Error => e
|
141
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::DELETE_TOKENS_DB_ERROR, nil, e)
|
142
|
+
end
|
143
|
+
|
144
|
+
def get_tokens
|
145
|
+
tokens = []
|
146
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
147
|
+
query = "select * from #{@table_name}"
|
148
|
+
rs = con.query(query)
|
149
|
+
con.close
|
150
|
+
rs.each do |row|
|
151
|
+
oauth_token = Authenticator::OAuthToken.initialize
|
152
|
+
set_merge_data(oauth_token, row)
|
153
|
+
tokens.push(oauth_token)
|
154
|
+
end
|
155
|
+
tokens
|
156
|
+
rescue Mysql2::Error => e
|
157
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKENS_DB_ERROR, nil, e)
|
158
|
+
end
|
159
|
+
|
160
|
+
def find_token_by_id(id)
|
161
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
162
|
+
query = "select * from #{@table_name} where id='#{id}'"
|
163
|
+
rs = con.query(query)
|
164
|
+
con.close
|
165
|
+
rs.each do |row|
|
166
|
+
if id == row[Constants::ID]
|
167
|
+
oauth_token = Authenticator::OAuthToken.initialize
|
168
|
+
set_merge_data(oauth_token, row)
|
169
|
+
return oauth_token
|
170
|
+
end
|
171
|
+
end
|
172
|
+
nil
|
173
|
+
rescue Mysql2::Error => e
|
174
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_DB_ERROR, nil, e)
|
175
|
+
end
|
176
|
+
|
177
|
+
|
178
|
+
def set_merge_data(oauth_token, result)
|
179
|
+
if oauth_token.is_a? Authenticator::OAuthToken
|
180
|
+
if oauth_token.id.nil? || oauth_token.id == ""
|
181
|
+
oauth_token.id = result[Constants::ID]
|
182
|
+
end
|
183
|
+
if oauth_token.user_signature.nil?
|
184
|
+
name = result[Constants::USER_NAME]
|
185
|
+
unless name.nil?
|
186
|
+
oauth_token.user_signature = UserSignature.new(name)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
if oauth_token.client_id.nil?
|
190
|
+
oauth_token.client_id = result[Constants::CLIENT_ID]
|
191
|
+
end
|
192
|
+
if oauth_token.client_secret.nil?
|
193
|
+
oauth_token.client_secret = result[Constants::CLIENT_SECRET]
|
194
|
+
end
|
195
|
+
if oauth_token.refresh_token.nil?
|
196
|
+
oauth_token.refresh_token = result[Constants::REFRESH_TOKEN]
|
197
|
+
end
|
198
|
+
if oauth_token.access_token.nil?
|
199
|
+
oauth_token.access_token = result[Constants::ACCESS_TOKEN]
|
200
|
+
end
|
201
|
+
if oauth_token.grant_token.nil?
|
202
|
+
oauth_token.grant_token = result[Constants::GRANT_TOKEN]
|
203
|
+
end
|
204
|
+
if oauth_token.expires_in.nil?
|
205
|
+
expires_in = result[Constants::EXPIRY_TIME]
|
206
|
+
unless expires_in.nil?
|
207
|
+
oauth_token.expires_in = expires_in.to_s
|
208
|
+
end
|
209
|
+
end
|
210
|
+
if oauth_token.redirect_url.nil?
|
211
|
+
oauth_token.redirect_url = result[Constants::REDIRECT_URL]
|
212
|
+
end
|
213
|
+
if oauth_token.api_domain.nil?
|
214
|
+
oauth_token.api_domain = result[Constants::API_DOMAIN]
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end
|
218
|
+
def set_token(oauth_token)
|
219
|
+
query = []
|
220
|
+
unless oauth_token.user_signature.nil?
|
221
|
+
name = oauth_token.user_signature.name
|
222
|
+
if !name.nil? && name.length > 0
|
223
|
+
query.push(set_token_info(Constants::USER_NAME, name))
|
224
|
+
end
|
225
|
+
end
|
226
|
+
unless oauth_token.client_id.nil?
|
227
|
+
query.push(set_token_info(Constants::CLIENT_ID, oauth_token.client_id))
|
228
|
+
end
|
229
|
+
unless oauth_token.client_secret.nil?
|
230
|
+
query.push(set_token_info(Constants::CLIENT_SECRET, oauth_token.client_secret))
|
231
|
+
end
|
232
|
+
unless oauth_token.refresh_token.nil?
|
233
|
+
query.push(set_token_info(Constants::REFRESH_TOKEN, oauth_token.refresh_token))
|
234
|
+
end
|
235
|
+
unless oauth_token.access_token.nil?
|
236
|
+
query.push(set_token_info(Constants::ACCESS_TOKEN, oauth_token.access_token))
|
237
|
+
end
|
238
|
+
unless oauth_token.grant_token.nil?
|
239
|
+
query.push(set_token_info(Constants::GRANT_TOKEN, oauth_token.grant_token))
|
240
|
+
end
|
241
|
+
unless oauth_token.expires_in.nil?
|
242
|
+
query.push(set_token_info(Constants::EXPIRY_TIME, oauth_token.expires_in))
|
243
|
+
end
|
244
|
+
unless oauth_token.redirect_url.nil?
|
245
|
+
query.push(set_token_info(Constants::REDIRECT_URL, oauth_token.redirect_url))
|
246
|
+
end
|
247
|
+
unless oauth_token.api_domain.nil?
|
248
|
+
query.push(set_token_info(Constants::API_DOMAIN, oauth_token.api_domain))
|
249
|
+
end
|
250
|
+
query.join(',')
|
251
|
+
end
|
252
|
+
|
253
|
+
def set_token_info(key, value)
|
254
|
+
key.to_s + "='" + value.to_s + "'"
|
255
|
+
end
|
256
|
+
|
257
|
+
def are_all_objects_null(*objects)
|
258
|
+
objects.all?(&:nil?)
|
259
|
+
end
|
260
|
+
|
261
|
+
def generate_id
|
262
|
+
id = 0
|
263
|
+
con = Mysql2::Client.new(host: @host, username: @user_name, password: @password, database: @database_name, port: @port_number)
|
264
|
+
query = "select max(id) as id from #{@table_name} ;"
|
265
|
+
result = con.query(query)
|
266
|
+
con.close
|
267
|
+
result.each do |row|
|
268
|
+
max = row[Constants::ID].to_i
|
269
|
+
unless max.nil?
|
270
|
+
return max + 1
|
271
|
+
end
|
272
|
+
end
|
273
|
+
id
|
274
|
+
rescue Mysql2::Error => e
|
275
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GENERATE_TOKEN_ID_ERROR, nil, e)
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
end
|
@@ -0,0 +1,277 @@
|
|
1
|
+
require 'csv'
|
2
|
+
|
3
|
+
require_relative 'token_store'
|
4
|
+
require_relative '../../../crm/api/util/constants'
|
5
|
+
|
6
|
+
module ZOHOCRMSDK
|
7
|
+
module Store
|
8
|
+
# This class stores the user token details to the file.
|
9
|
+
class FileStore < TokenStore
|
10
|
+
attr_accessor :file_path
|
11
|
+
|
12
|
+
# Creates an FileStore class instance with the specified parameters.
|
13
|
+
# @param filePath A String containing the absolute file path to store tokens.
|
14
|
+
# @raise Exception
|
15
|
+
def initialize(file_path)
|
16
|
+
@file_path = file_path
|
17
|
+
@headers = [Constants::ID, Constants::USER_NAME, Constants::CLIENT_ID, Constants::CLIENT_SECRET, Constants::REFRESH_TOKEN, Constants::ACCESS_TOKEN, Constants::GRANT_TOKEN, Constants::EXPIRY_TIME, Constants::REDIRECT_URL, Constants::API_DOMAIN]
|
18
|
+
is_create = false
|
19
|
+
|
20
|
+
if (File.exist?(@file_path) && CSV.read(@file_path).empty?) || (!File.exist?@file_path)
|
21
|
+
File.new(@file_path, 'w')
|
22
|
+
@csv_file = CSV.open(@file_path, 'a', write_headers: true)
|
23
|
+
@csv_file << @headers
|
24
|
+
@csv_file.close
|
25
|
+
is_create = true
|
26
|
+
end
|
27
|
+
|
28
|
+
unless is_create
|
29
|
+
all_contents = CSV.read(@file_path)
|
30
|
+
headers = all_contents[0]
|
31
|
+
if !headers.nil? && headers.length == 9
|
32
|
+
all_contents = all_contents.map { |arr| arr + [nil] }
|
33
|
+
all_contents[0] = @headers
|
34
|
+
CSV.open(file_path, 'w') do |csv|
|
35
|
+
all_contents.each do |row|
|
36
|
+
csv << row
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
# @csv_file = CSV.open(@file_path, 'a')
|
42
|
+
end
|
43
|
+
|
44
|
+
def find_token(token)
|
45
|
+
return token unless token.is_a? Authenticator::OAuthToken
|
46
|
+
|
47
|
+
file_contents = CSV.read(@file_path)
|
48
|
+
|
49
|
+
is_row_present = false
|
50
|
+
|
51
|
+
oauth_token = token
|
52
|
+
|
53
|
+
file_contents.each do |row|
|
54
|
+
if row.length > 1
|
55
|
+
is_row_present = check_condition(oauth_token, row)
|
56
|
+
if is_row_present
|
57
|
+
set_merge_data(oauth_token, row)
|
58
|
+
return oauth_token
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
return nil unless is_row_present
|
63
|
+
rescue StandardError => e
|
64
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_FILE_ERROR, nil, e)
|
65
|
+
token
|
66
|
+
end
|
67
|
+
|
68
|
+
def get_tokens
|
69
|
+
tokens = []
|
70
|
+
file_contents = CSV.table(@file_path)
|
71
|
+
file_contents.each do |row|
|
72
|
+
unless row == file_contents.headers
|
73
|
+
oauth_token = Authenticator::OAuthToken.initialize
|
74
|
+
set_merge_data(oauth_token, row)
|
75
|
+
tokens.push(oauth_token)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
tokens
|
79
|
+
rescue StandardError => e
|
80
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKENS_FILE_ERROR, nil, e)
|
81
|
+
end
|
82
|
+
|
83
|
+
def save_token(token)
|
84
|
+
if token.is_a? Authenticator::OAuthToken
|
85
|
+
is_row_present = false
|
86
|
+
oauth_token = token
|
87
|
+
all_contents = CSV.read(@file_path, headers: true)
|
88
|
+
all_contents.each do |row|
|
89
|
+
if row.to_hash.length > 1
|
90
|
+
if !oauth_token.id.nil?
|
91
|
+
id = get_data(row['id'].to_s)
|
92
|
+
if !id.nil? && id == oauth_token.id
|
93
|
+
is_row_present = true
|
94
|
+
end
|
95
|
+
else
|
96
|
+
is_row_present = check_condition(oauth_token, row)
|
97
|
+
end
|
98
|
+
if is_row_present
|
99
|
+
set_merge_data(oauth_token, row)
|
100
|
+
target_index = all_contents.find_index(row)
|
101
|
+
if !target_index.nil?
|
102
|
+
all_contents[target_index] = set_token(oauth_token)
|
103
|
+
end
|
104
|
+
break
|
105
|
+
end
|
106
|
+
else
|
107
|
+
target_index = all_contents.find_index(row)
|
108
|
+
all_contents.delete_at(target_index) if target_index
|
109
|
+
end
|
110
|
+
end
|
111
|
+
unless is_row_present
|
112
|
+
if !oauth_token.id.nil? || !oauth_token.user_signature.nil?
|
113
|
+
if oauth_token.refresh_token.nil? && oauth_token.grant_token.nil? && oauth_token.access_token.nil?
|
114
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_FILE_ERROR1, nil, nil)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
if oauth_token.id.nil?
|
118
|
+
oauth_token.id = generate_id(all_contents)
|
119
|
+
end
|
120
|
+
all_contents << set_token(oauth_token)
|
121
|
+
end
|
122
|
+
cleaned_contents = all_contents.reject do |row|
|
123
|
+
row.to_h.values.all? { |value| value.nil? || value.strip.empty? }
|
124
|
+
end
|
125
|
+
CSV.open(@file_path, 'w', headers: all_contents.headers, write_headers: true) do |csv|
|
126
|
+
cleaned_contents.each do |row|
|
127
|
+
csv << row
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
rescue StandardError => e
|
132
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::SAVE_TOKEN_FILE_ERROR, nil, e)
|
133
|
+
end
|
134
|
+
|
135
|
+
def delete_token(id)
|
136
|
+
|
137
|
+
table = CSV.table(@file_path)
|
138
|
+
|
139
|
+
table.delete_if do |row|
|
140
|
+
unless row == table.headers
|
141
|
+
!get_data(row[0]).nil? and get_data(row[0]) == id
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
File.open(@file_path, 'w') do |f|
|
146
|
+
f.write(table.to_csv)
|
147
|
+
end
|
148
|
+
rescue StandardError => e
|
149
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::DELETE_TOKEN_FILE_ERROR, nil, e)
|
150
|
+
end
|
151
|
+
|
152
|
+
def delete_tokens
|
153
|
+
table = CSV.table(@file_path)
|
154
|
+
|
155
|
+
table.delete_if do |row|
|
156
|
+
true unless row == table.headers
|
157
|
+
end
|
158
|
+
|
159
|
+
File.open(@file_path, 'w') do |f|
|
160
|
+
f.write(table.to_csv)
|
161
|
+
end
|
162
|
+
rescue StandardError => e
|
163
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::DELETE_TOKENS_FILE_ERROR, nil, e)
|
164
|
+
end
|
165
|
+
|
166
|
+
def find_token_by_id(id)
|
167
|
+
is_row_present = false
|
168
|
+
|
169
|
+
oauth_token = Authenticator::OAuthToken.initialize
|
170
|
+
|
171
|
+
file_contents = CSV.read(@file_path)
|
172
|
+
|
173
|
+
file_contents.each do |row|
|
174
|
+
|
175
|
+
if row[0] == id
|
176
|
+
|
177
|
+
is_row_present = true
|
178
|
+
|
179
|
+
set_merge_data(oauth_token, row)
|
180
|
+
|
181
|
+
return oauth_token
|
182
|
+
end
|
183
|
+
end
|
184
|
+
if !is_row_present
|
185
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_FILE_ERROR, nil, nil)
|
186
|
+
end
|
187
|
+
nil
|
188
|
+
rescue StandardError => e
|
189
|
+
raise SDKException.new(Constants::TOKEN_STORE, Constants::GET_TOKEN_BY_ID_FILE_ERROR, nil, e)
|
190
|
+
end
|
191
|
+
|
192
|
+
|
193
|
+
def set_token(oauth_token)
|
194
|
+
data = []
|
195
|
+
data.push(oauth_token.id)
|
196
|
+
data.push(!oauth_token.user_signature.nil? ? oauth_token.user_signature.name : nil)
|
197
|
+
data.push(oauth_token.client_id)
|
198
|
+
data.push(oauth_token.client_secret)
|
199
|
+
data.push(oauth_token.refresh_token)
|
200
|
+
data.push(oauth_token.access_token)
|
201
|
+
data.push(oauth_token.grant_token)
|
202
|
+
data.push(oauth_token.expires_in)
|
203
|
+
data.push(oauth_token.redirect_url)
|
204
|
+
data.push(oauth_token.api_domain)
|
205
|
+
data
|
206
|
+
end
|
207
|
+
|
208
|
+
def generate_id(all_contents)
|
209
|
+
max_value = 0
|
210
|
+
|
211
|
+
if !all_contents.nil?
|
212
|
+
all_contents.each do |row|
|
213
|
+
if !row.nil? && !row[0].nil? && (row[0].to_s).length > 0
|
214
|
+
if max_value < row[0].to_i
|
215
|
+
max_value = row[0].to_i
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|
220
|
+
(max_value + 1).to_s
|
221
|
+
end
|
222
|
+
|
223
|
+
def set_merge_data(oauth_token, next_record)
|
224
|
+
oauth_token.id = get_data(next_record[0]) if oauth_token.id.nil? || oauth_token.id == ""
|
225
|
+
if oauth_token.user_signature.nil?
|
226
|
+
name = get_data(next_record[1])
|
227
|
+
oauth_token.user_signature = UserSignature.new(name) unless name.nil?
|
228
|
+
end
|
229
|
+
oauth_token.client_id = get_data(next_record[2]) if oauth_token.client_id.nil?
|
230
|
+
oauth_token.client_secret = get_data(next_record[3]) if oauth_token.client_secret.nil?
|
231
|
+
oauth_token.refresh_token = get_data(next_record[4]) if oauth_token.refresh_token.nil?
|
232
|
+
oauth_token.access_token = get_data(next_record[5]) if oauth_token.access_token.nil?
|
233
|
+
oauth_token.grant_token = get_data(next_record[6]) if oauth_token.grant_token.nil?
|
234
|
+
if oauth_token.expires_in.nil?
|
235
|
+
expires_in = get_data(next_record[7])
|
236
|
+
oauth_token.expires_in = expires_in.to_s unless expires_in.nil?
|
237
|
+
end
|
238
|
+
oauth_token.redirect_url = get_data(next_record[8]) if oauth_token.redirect_url.nil?
|
239
|
+
oauth_token.api_domain = get_data(next_record[9]) if oauth_token.api_domain.nil?
|
240
|
+
end
|
241
|
+
|
242
|
+
def get_data(value)
|
243
|
+
value= value.to_s
|
244
|
+
!value.nil? && !value.empty? && value.length > 0 ? value : nil
|
245
|
+
end
|
246
|
+
|
247
|
+
def check_condition(oauth_token, next_record)
|
248
|
+
is_row_present = false
|
249
|
+
if !oauth_token.user_signature.nil?
|
250
|
+
name = oauth_token.user_signature.name
|
251
|
+
user_name = get_data(next_record[1])
|
252
|
+
if !name.nil? && name.length > 0 && !user_name.nil? && user_name.length > 0 && name==user_name
|
253
|
+
is_row_present = true
|
254
|
+
end
|
255
|
+
elsif !oauth_token.access_token.nil? && are_all_objects_null(oauth_token.client_id, oauth_token.client_secret)
|
256
|
+
access_token = get_data(next_record[5])
|
257
|
+
if !access_token.nil? && access_token.length > 0 && oauth_token.access_token.length > 0 && oauth_token.access_token == access_token
|
258
|
+
is_row_present = true
|
259
|
+
end
|
260
|
+
elsif (!oauth_token.refresh_token.nil? || !oauth_token.grant_token.nil?) && !oauth_token.client_id.nil? && !oauth_token.client_secret.nil?
|
261
|
+
grant_token = get_data(next_record[6])
|
262
|
+
refresh_token = get_data(next_record[4])
|
263
|
+
if !grant_token.nil? && grant_token.length > 0 && !oauth_token.grant_token.nil? && oauth_token.grant_token.length > 0 && oauth_token.grant_token == grant_token
|
264
|
+
is_row_present = true
|
265
|
+
elsif !refresh_token.nil? && refresh_token.length > 0 && !oauth_token.refresh_token.nil? && oauth_token.refresh_token.length > 0 && oauth_token.refresh_token == refresh_token
|
266
|
+
is_row_present = true
|
267
|
+
end
|
268
|
+
end
|
269
|
+
is_row_present
|
270
|
+
end
|
271
|
+
|
272
|
+
def are_all_objects_null(*objects)
|
273
|
+
objects.all?(&:nil?)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module ZOHOCRMSDK
|
2
|
+
module Store
|
3
|
+
class TokenStore
|
4
|
+
# This method is used to get the user token details.
|
5
|
+
# @param token A Token class instance.
|
6
|
+
# @return A Token class instance representing the user token details.
|
7
|
+
# @raise SDKException
|
8
|
+
def find_token(token); end
|
9
|
+
|
10
|
+
def get_tokens; end
|
11
|
+
|
12
|
+
# This method is used to store the user token details.
|
13
|
+
# @param token A Token class instance.
|
14
|
+
# @raise SDKException
|
15
|
+
def save_token(token); end
|
16
|
+
|
17
|
+
# This method is used to delete the user token details.
|
18
|
+
# @param id A String containing id
|
19
|
+
# @raise SDKException
|
20
|
+
def delete_token(id); end
|
21
|
+
|
22
|
+
def delete_tokens; end
|
23
|
+
|
24
|
+
# This method is used to get the user token details.
|
25
|
+
# @param id A String containing id
|
26
|
+
# @return A Token class instance representing the user token details.
|
27
|
+
# @raise SDKException
|
28
|
+
def find_token_by_id(id); end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module ZOHOCRMSDK
|
2
|
+
module Authenticator
|
3
|
+
class Token
|
4
|
+
# This method to set authentication token to APIHTTPConnector instance.
|
5
|
+
# @param connector A APIHTTPConnector class instance.
|
6
|
+
# @raise SDKException
|
7
|
+
def authenticate(url_connection); end
|
8
|
+
|
9
|
+
def generate_token; end
|
10
|
+
|
11
|
+
def remove; end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require 'logger'
|
2
|
+
|
3
|
+
module ZOHOCRMSDK
|
4
|
+
module SDKLog
|
5
|
+
class Log
|
6
|
+
attr_reader :level , :path
|
7
|
+
def initialize(level,path)
|
8
|
+
@level = level
|
9
|
+
@path = path
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.initialize(level:, path:nil)
|
13
|
+
Log.new(level, path)
|
14
|
+
end
|
15
|
+
|
16
|
+
def as_logger
|
17
|
+
return Logger.new(File.open(File::NULL, 'w')) if self.level == Levels::OFF || self.path.nil? || self.path == ""
|
18
|
+
|
19
|
+
logger = self.path.nil? ? Logger.new(STDOUT) : Logger.new(self.path)
|
20
|
+
logger.level = self.level ? Object.const_get("Logger::#{self.level}") : Logger::INFO
|
21
|
+
logger
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# Generic logger to support passing in a custom logger i.e. your application's Rails.logger
|
26
|
+
class SDKLogger
|
27
|
+
def self.initialize(log)
|
28
|
+
return @logger = log.as_logger if log.is_a?(Log)
|
29
|
+
@logger = log
|
30
|
+
rescue StandardError => e
|
31
|
+
raise SDKException.new(nil, Constants::LOGGER_INITIALIZATION_ERROR, nil, e)
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.info(message)
|
35
|
+
@logger&.info("#{Time.new} #{message}")
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.error(message, exception = nil)
|
39
|
+
message = "#{message}#{exception}#{exception.backtrace&.join("\n")}" unless exception.nil?
|
40
|
+
@logger&.error("#{Time.new} #{message}")
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.warn(message)
|
44
|
+
@logger&.warn("#{Time.new} #{message}")
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.severe(message, exception = nil)
|
48
|
+
message = "#{message}#{exception}#{exception.backtrace&.join("\n")}" unless exception.nil?
|
49
|
+
@logger&.fatal("#{Time.new} #{message}")
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
module Levels
|
55
|
+
SEVERE = 'FATAL'
|
56
|
+
INFO = 'INFO'
|
57
|
+
WARNING = 'WARN'
|
58
|
+
ERROR = 'ERROR'
|
59
|
+
DEBUG = 'DEBUG'
|
60
|
+
ALL = 'DEBUG'
|
61
|
+
OFF = 'OFF'
|
62
|
+
FATAL = 'FATAL'
|
63
|
+
end
|
64
|
+
end
|