ZOHOCRMSDK5_0 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/src/ZOHOCRMSDK5_0.rb +1082 -0
- data/src/com/zoho/api/authenticator/oauth_token.rb +425 -0
- data/src/com/zoho/api/authenticator/store/db_store.rb +279 -0
- data/src/com/zoho/api/authenticator/store/file_store.rb +280 -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 +88 -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/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/created_by.rb +122 -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/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 +368 -0
- data/src/com/zoho/crm/api/attachments/attachments_operations.rb +243 -0
- data/src/com/zoho/crm/api/attachments/file_body_wrapper.rb +66 -0
- data/src/com/zoho/crm/api/attachments/info.rb +120 -0
- data/src/com/zoho/crm/api/attachments/owner.rb +82 -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/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 +65 -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/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/convert_mapping.rb +101 -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/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/module_fields.rb +120 -0
- data/src/com/zoho/crm/api/blueprint/module_mapping.rb +101 -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 +253 -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 +273 -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/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 +157 -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/query.rb +160 -0
- data/src/com/zoho/crm/api/bulk_read/request_wrapper.rb +102 -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 +139 -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 +158 -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 +217 -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 +178 -0
- data/src/com/zoho/crm/api/business_hours/business_hours_created.rb +123 -0
- data/src/com/zoho/crm/api/business_hours/business_hours_operations.rb +90 -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/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 +65 -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 +164 -0
- data/src/com/zoho/crm/api/contact_roles/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/contact_roles/success_response.rb +123 -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 +196 -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 +65 -0
- data/src/com/zoho/crm/api/currencies/currencies_operations.rb +157 -0
- data/src/com/zoho/crm/api/currencies/currency.rb +292 -0
- data/src/com/zoho/crm/api/currencies/currency_format.rb +102 -0
- data/src/com/zoho/crm/api/currencies/disable_success.rb +121 -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/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 +63 -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 +84 -0
- data/src/com/zoho/crm/api/custom_views/criteria.rb +136 -0
- data/src/com/zoho/crm/api/custom_views/custom_view.rb +463 -0
- data/src/com/zoho/crm/api/custom_views/custom_views_operations.rb +75 -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 +83 -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/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/dc/au_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 +70 -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/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 +84 -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 +141 -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/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/download_attachments/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/download_attachments/download_attachments_operations.rb +60 -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/email_compose_meta/compose_settings.rb +120 -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 +158 -0
- data/src/com/zoho/crm/api/email_compose_meta/default_form.rb +120 -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/user.rb +139 -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/email.rb +483 -0
- data/src/com/zoho/crm/api/email_related_records/email_related_records_operations.rb +89 -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 +82 -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 +158 -0
- data/src/com/zoho/crm/api/email_related_records/user_details.rb +82 -0
- data/src/com/zoho/crm/api/email_sharing/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/email_sharing/email_sharing_operations.rb +44 -0
- data/src/com/zoho/crm/api/email_sharing/get_email_sharing.rb +82 -0
- data/src/com/zoho/crm/api/email_sharing/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/email_sharing/response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/email_sharing/share_from_user.rb +101 -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 +433 -0
- data/src/com/zoho/crm/api/email_templates/email_templates_operations.rb +63 -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_scores.rb +253 -0
- data/src/com/zoho/crm/api/entity_scores/entity_scores_operations.rb +70 -0
- data/src/com/zoho/crm/api/entity_scores/entity_structure.rb +84 -0
- data/src/com/zoho/crm/api/entity_scores/entity_structure_group.rb +12 -0
- data/src/com/zoho/crm/api/entity_scores/entity_structure_with_module.rb +103 -0
- data/src/com/zoho/crm/api/entity_scores/info.rb +215 -0
- data/src/com/zoho/crm/api/entity_scores/module_structure.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_structure.rb +82 -0
- data/src/com/zoho/crm/api/exception/sdk_exception.rb +49 -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 +84 -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 +178 -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/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_response.rb +12 -0
- data/src/com/zoho/crm/api/fields/action_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/fields/api_exception.rb +125 -0
- data/src/com/zoho/crm/api/fields/association_details.rb +83 -0
- data/src/com/zoho/crm/api/fields/auto_number.rb +120 -0
- data/src/com/zoho/crm/api/fields/body_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/fields/convert_mapping.rb +101 -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 +102 -0
- data/src/com/zoho/crm/api/fields/fields.rb +1355 -0
- data/src/com/zoho/crm/api/fields/fields_operations.rb +103 -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 +83 -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/lookup.rb +178 -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 +216 -0
- data/src/com/zoho/crm/api/fields/operation_type.rb +120 -0
- data/src/com/zoho/crm/api/fields/pick_list_value.rb +273 -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/rollup_criteria.rb +98 -0
- data/src/com/zoho/crm/api/fields/rollup_summary.rb +139 -0
- data/src/com/zoho/crm/api/fields/show_fields.rb +82 -0
- data/src/com/zoho/crm/api/fields/success.rb +123 -0
- data/src/com/zoho/crm/api/fields/tooltip.rb +83 -0
- data/src/com/zoho/crm/api/fields/unique.rb +63 -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 +77 -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/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 +30 -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/header.rb +12 -0
- data/src/com/zoho/crm/api/header_map.rb +57 -0
- data/src/com/zoho/crm/api/hipaa_compliance/action_handler.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 +129 -0
- data/src/com/zoho/crm/api/holidays/body_wrapper.rb +12 -0
- data/src/com/zoho/crm/api/holidays/business_holiday.rb +102 -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 +188 -0
- data/src/com/zoho/crm/api/holidays/info.rb +120 -0
- data/src/com/zoho/crm/api/holidays/resonse_handler.rb +12 -0
- data/src/com/zoho/crm/api/holidays/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/holidays/response_wrapper.rb +86 -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_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_template.rb +316 -0
- data/src/com/zoho/crm/api/inventory_templates/inventory_templates_operations.rb +75 -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/isc_signature/signature.rb +60 -0
- data/src/com/zoho/crm/api/layouts/actions_allowed.rb +177 -0
- data/src/com/zoho/crm/api/layouts/api_exception.rb +123 -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/layouts.rb +425 -0
- data/src/com/zoho/crm/api/layouts/layouts_operations.rb +75 -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 +1456 -0
- data/src/com/zoho/crm/api/layouts/section_subform_field.rb +101 -0
- data/src/com/zoho/crm/api/layouts/sections.rb +272 -0
- data/src/com/zoho/crm/api/layouts/tooltip.rb +83 -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 +63 -0
- data/src/com/zoho/crm/api/mail_merge/address.rb +63 -0
- data/src/com/zoho/crm/api/mail_merge/address_value_map.rb +63 -0
- data/src/com/zoho/crm/api/mail_merge/api_exception.rb +121 -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/mail_merge.rb +216 -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_response.rb +12 -0
- data/src/com/zoho/crm/api/mail_merge/sign_action_wrapper.rb +63 -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 +101 -0
- data/src/com/zoho/crm/api/mass_change_owner/mass_change_owner_operations.rb +76 -0
- data/src/com/zoho/crm/api/mass_change_owner/owner.rb +63 -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/convert.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/mass_delete_scheduled.rb +123 -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/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 +101 -0
- data/src/com/zoho/crm/api/modules/module_field_lookup.rb +181 -0
- data/src/com/zoho/crm/api/modules/module_fields.rb +1377 -0
- data/src/com/zoho/crm/api/modules/modules.rb +1191 -0
- data/src/com/zoho/crm/api/modules/modules_operations.rb +133 -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/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 +370 -0
- data/src/com/zoho/crm/api/notes/notes_operations.rb +229 -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/delete_details.rb +101 -0
- data/src/com/zoho/crm/api/notifications/event.rb +141 -0
- data/src/com/zoho/crm/api/notifications/info.rb +120 -0
- data/src/com/zoho/crm/api/notifications/notification.rb +275 -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/api_exception.rb +125 -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 +823 -0
- data/src/com/zoho/crm/api/org/org_operations.rb +79 -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 +123 -0
- data/src/com/zoho/crm/api/param.rb +12 -0
- data/src/com/zoho/crm/api/parameter_map.rb +56 -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 +65 -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/mandatory_details.rb +82 -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 +166 -0
- data/src/com/zoho/crm/api/pipeline/regex_details.rb +101 -0
- data/src/com/zoho/crm/api/pipeline/response_handler.rb +12 -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 +67 -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 +65 -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/api_exception.rb +123 -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 +216 -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 +178 -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 +72 -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/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/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 +178 -0
- data/src/com/zoho/crm/api/profiles/profile.rb +350 -0
- data/src/com/zoho/crm/api/profiles/profile_wrapper.rb +84 -0
- data/src/com/zoho/crm/api/profiles/profiles_operations.rb +146 -0
- data/src/com/zoho/crm/api/profiles/response_handler.rb +12 -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/query/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/query/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/query/query_operations.rb +37 -0
- data/src/com/zoho/crm/api/query/response_handler.rb +12 -0
- data/src/com/zoho/crm/api/query/response_wrapper.rb +86 -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/carry_over_tags.rb +101 -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/conversion_option.rb +159 -0
- data/src/com/zoho/crm/api/record/conversion_options_response_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/record/convert_body_wrapper.rb +63 -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 +2479 -0
- data/src/com/zoho/crm/api/record/file_body_wrapper.rb +68 -0
- data/src/com/zoho/crm/api/record/file_details.rb +139 -0
- data/src/com/zoho/crm/api/record/file_handler.rb +12 -0
- data/src/com/zoho/crm/api/record/image_upload.rb +215 -0
- data/src/com/zoho/crm/api/record/info.rb +253 -0
- data/src/com/zoho/crm/api/record/lead_converter.rb +197 -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/preference_field_matched_value.rb +101 -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 +1182 -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/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_responses.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 +129 -0
- data/src/com/zoho/crm/api/record_locking/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/record_locking/error_handler.rb +12 -0
- data/src/com/zoho/crm/api/record_locking/error_wrapper.rb +65 -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_action_locked.rb +63 -0
- data/src/com/zoho/crm/api/record_locking/record_action_locked_detail1.rb +101 -0
- data/src/com/zoho/crm/api/record_locking/record_action_locked_detail2.rb +82 -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 +201 -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/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 +386 -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 +556 -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 +177 -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/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 +331 -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 +15 -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/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/send_mail/data.rb +349 -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/invalid_details.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/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 +65 -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/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/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/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/tag.rb +179 -0
- data/src/com/zoho/crm/api/tags/tags_operations.rb +385 -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 +293 -0
- data/src/com/zoho/crm/api/territories/territories_operations.rb +283 -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 +88 -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 +127 -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/groups.rb +196 -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/user_group.rb +82 -0
- data/src/com/zoho/crm/api/user_groups/user_groups_operations.rb +260 -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/api_exception.rb +123 -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/user_type_users_operations.rb +60 -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 +65 -0
- data/src/com/zoho/crm/api/users/api_exception.rb +127 -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/customize_info.rb +146 -0
- data/src/com/zoho/crm/api/users/error_details.rb +82 -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 +208 -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 +67 -0
- data/src/com/zoho/crm/api/users_territories/api_exception.rb +131 -0
- data/src/com/zoho/crm/api/users_territories/body_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users_territories/bulk_validation.rb +141 -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 +125 -0
- data/src/com/zoho/crm/api/users_territories/territory.rb +120 -0
- data/src/com/zoho/crm/api/users_territories/transfer_action_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/transfer_action_response.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/transfer_action_wrapper.rb +65 -0
- data/src/com/zoho/crm/api/users_territories/transfer_and_delink.rb +82 -0
- data/src/com/zoho/crm/api/users_territories/transfer_to_user.rb +63 -0
- data/src/com/zoho/crm/api/users_territories/transfer_wrapper.rb +63 -0
- data/src/com/zoho/crm/api/users_territories/users_territories_operations.rb +192 -0
- data/src/com/zoho/crm/api/users_territories/validation.rb +103 -0
- data/src/com/zoho/crm/api/users_territories/validation_group.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/validation_handler.rb +12 -0
- data/src/com/zoho/crm/api/users_territories/validation_wrapper.rb +65 -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_i_d.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 +18 -0
- data/src/com/zoho/crm/api/util/choice.rb +11 -0
- data/src/com/zoho/crm/api/util/common_api_handler.rb +240 -0
- data/src/com/zoho/crm/api/util/constants.rb +754 -0
- data/src/com/zoho/crm/api/util/converter.rb +280 -0
- data/src/com/zoho/crm/api/util/data_type_converter.rb +179 -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 +57 -0
- data/src/com/zoho/crm/api/util/json_converter.rb +774 -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 +1007 -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/error_details.rb +82 -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 +255 -0
- data/src/com/zoho/crm/api/wizards/actions.rb +157 -0
- data/src/com/zoho/crm/api/wizards/api_exception.rb +123 -0
- data/src/com/zoho/crm/api/wizards/button.rb +288 -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 +82 -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/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/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 +120 -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/resources/json_details.json +1 -0
- data/src/version.rb +3 -0
- metadata +1241 -0
@@ -0,0 +1,1182 @@
|
|
1
|
+
require_relative '../header'
|
2
|
+
require_relative '../header_map'
|
3
|
+
require_relative '../param'
|
4
|
+
require_relative '../parameter_map'
|
5
|
+
require_relative '../exception/sdk_exception'
|
6
|
+
require_relative '../util/api_response'
|
7
|
+
require_relative '../util/common_api_handler'
|
8
|
+
require_relative '../util/utility'
|
9
|
+
require_relative '../util/constants'
|
10
|
+
|
11
|
+
module ZOHOCRMSDK
|
12
|
+
module Record
|
13
|
+
class RecordOperations
|
14
|
+
|
15
|
+
# Creates an instance of RecordOperations
|
16
|
+
def initialize
|
17
|
+
end
|
18
|
+
|
19
|
+
# The method to get record
|
20
|
+
# @param id [Integer] A Integer
|
21
|
+
# @param module_api_name [String] A String
|
22
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
23
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
24
|
+
# @return An instance of APIResponse
|
25
|
+
# @raise SDKException
|
26
|
+
def get_record(id, module_api_name, param_instance=nil, header_instance=nil)
|
27
|
+
if !id.is_a? Integer
|
28
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
29
|
+
end
|
30
|
+
if !module_api_name.is_a? String
|
31
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
32
|
+
end
|
33
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
34
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
35
|
+
end
|
36
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
37
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
38
|
+
end
|
39
|
+
handler_instance = Handler::CommonAPIHandler.new
|
40
|
+
api_path = ''
|
41
|
+
api_path = api_path + '/crm/v5/'
|
42
|
+
api_path = api_path + module_api_name.to_s
|
43
|
+
api_path = api_path + '/'
|
44
|
+
api_path = api_path + id.to_s
|
45
|
+
handler_instance.api_path = api_path
|
46
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
47
|
+
handler_instance.category_method = 'READ'
|
48
|
+
handler_instance.param = param_instance
|
49
|
+
handler_instance.header = header_instance
|
50
|
+
handler_instance.module_api_name = module_api_name
|
51
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
52
|
+
require_relative 'response_handler'
|
53
|
+
handler_instance.api_call(ResponseHandler.name, 'application/json')
|
54
|
+
end
|
55
|
+
|
56
|
+
# The method to update record
|
57
|
+
# @param id [Integer] A Integer
|
58
|
+
# @param module_api_name [String] A String
|
59
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
60
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
61
|
+
# @return An instance of APIResponse
|
62
|
+
# @raise SDKException
|
63
|
+
def update_record(id, module_api_name, request, header_instance=nil)
|
64
|
+
if !id.is_a? Integer
|
65
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
66
|
+
end
|
67
|
+
if !module_api_name.is_a? String
|
68
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
69
|
+
end
|
70
|
+
if request!=nil and !request.is_a? BodyWrapper
|
71
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
72
|
+
end
|
73
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
74
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
75
|
+
end
|
76
|
+
handler_instance = Handler::CommonAPIHandler.new
|
77
|
+
api_path = ''
|
78
|
+
api_path = api_path + '/crm/v5/'
|
79
|
+
api_path = api_path + module_api_name.to_s
|
80
|
+
api_path = api_path + '/'
|
81
|
+
api_path = api_path + id.to_s
|
82
|
+
handler_instance.api_path = api_path
|
83
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_PUT
|
84
|
+
handler_instance.category_method = 'UPDATE'
|
85
|
+
handler_instance.content_type = 'application/json'
|
86
|
+
handler_instance.request = request
|
87
|
+
handler_instance.header = header_instance
|
88
|
+
handler_instance.module_api_name = module_api_name
|
89
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
90
|
+
require_relative 'action_handler'
|
91
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
92
|
+
end
|
93
|
+
|
94
|
+
# The method to delete record
|
95
|
+
# @param id [Integer] A Integer
|
96
|
+
# @param module_api_name [String] A String
|
97
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
98
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
99
|
+
# @return An instance of APIResponse
|
100
|
+
# @raise SDKException
|
101
|
+
def delete_record(id, module_api_name, param_instance=nil, header_instance=nil)
|
102
|
+
if !id.is_a? Integer
|
103
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
104
|
+
end
|
105
|
+
if !module_api_name.is_a? String
|
106
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
107
|
+
end
|
108
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
109
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
110
|
+
end
|
111
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
112
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
113
|
+
end
|
114
|
+
handler_instance = Handler::CommonAPIHandler.new
|
115
|
+
api_path = ''
|
116
|
+
api_path = api_path + '/crm/v5/'
|
117
|
+
api_path = api_path + module_api_name.to_s
|
118
|
+
api_path = api_path + '/'
|
119
|
+
api_path = api_path + id.to_s
|
120
|
+
handler_instance.api_path = api_path
|
121
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_DELETE
|
122
|
+
handler_instance.category_method = Constants::REQUEST_METHOD_DELETE
|
123
|
+
handler_instance.param = param_instance
|
124
|
+
handler_instance.header = header_instance
|
125
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
126
|
+
require_relative 'action_handler'
|
127
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
128
|
+
end
|
129
|
+
|
130
|
+
# The method to get records
|
131
|
+
# @param module_api_name [String] A String
|
132
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
133
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
134
|
+
# @return An instance of APIResponse
|
135
|
+
# @raise SDKException
|
136
|
+
def get_records(module_api_name, param_instance=nil, header_instance=nil)
|
137
|
+
if !module_api_name.is_a? String
|
138
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
139
|
+
end
|
140
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
141
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
142
|
+
end
|
143
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
144
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
145
|
+
end
|
146
|
+
handler_instance = Handler::CommonAPIHandler.new
|
147
|
+
api_path = ''
|
148
|
+
api_path = api_path + '/crm/v5/'
|
149
|
+
api_path = api_path + module_api_name.to_s
|
150
|
+
handler_instance.api_path = api_path
|
151
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
152
|
+
handler_instance.category_method = 'READ'
|
153
|
+
handler_instance.param = param_instance
|
154
|
+
handler_instance.header = header_instance
|
155
|
+
handler_instance.module_api_name = module_api_name
|
156
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
157
|
+
require_relative 'response_handler'
|
158
|
+
handler_instance.api_call(ResponseHandler.name, 'application/json')
|
159
|
+
end
|
160
|
+
|
161
|
+
# The method to create records
|
162
|
+
# @param module_api_name [String] A String
|
163
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
164
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
165
|
+
# @return An instance of APIResponse
|
166
|
+
# @raise SDKException
|
167
|
+
def create_records(module_api_name, request, header_instance=nil)
|
168
|
+
if !module_api_name.is_a? String
|
169
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
170
|
+
end
|
171
|
+
if request!=nil and !request.is_a? BodyWrapper
|
172
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
173
|
+
end
|
174
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
175
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
176
|
+
end
|
177
|
+
handler_instance = Handler::CommonAPIHandler.new
|
178
|
+
api_path = ''
|
179
|
+
api_path = api_path + '/crm/v5/'
|
180
|
+
api_path = api_path + module_api_name.to_s
|
181
|
+
handler_instance.api_path = api_path
|
182
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
183
|
+
handler_instance.category_method = 'CREATE'
|
184
|
+
handler_instance.content_type = 'application/json'
|
185
|
+
handler_instance.request = request
|
186
|
+
handler_instance.header = header_instance
|
187
|
+
handler_instance.module_api_name = module_api_name
|
188
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
189
|
+
require_relative 'action_handler'
|
190
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
191
|
+
end
|
192
|
+
|
193
|
+
# The method to update records
|
194
|
+
# @param module_api_name [String] A String
|
195
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
196
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
197
|
+
# @return An instance of APIResponse
|
198
|
+
# @raise SDKException
|
199
|
+
def update_records(module_api_name, request, header_instance=nil)
|
200
|
+
if !module_api_name.is_a? String
|
201
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
202
|
+
end
|
203
|
+
if request!=nil and !request.is_a? BodyWrapper
|
204
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
205
|
+
end
|
206
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
207
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
208
|
+
end
|
209
|
+
handler_instance = Handler::CommonAPIHandler.new
|
210
|
+
api_path = ''
|
211
|
+
api_path = api_path + '/crm/v5/'
|
212
|
+
api_path = api_path + module_api_name.to_s
|
213
|
+
handler_instance.api_path = api_path
|
214
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_PUT
|
215
|
+
handler_instance.category_method = 'UPDATE'
|
216
|
+
handler_instance.content_type = 'application/json'
|
217
|
+
handler_instance.request = request
|
218
|
+
handler_instance.header = header_instance
|
219
|
+
handler_instance.module_api_name = module_api_name
|
220
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
221
|
+
require_relative 'action_handler'
|
222
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
223
|
+
end
|
224
|
+
|
225
|
+
# The method to delete records
|
226
|
+
# @param module_api_name [String] A String
|
227
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
228
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
229
|
+
# @return An instance of APIResponse
|
230
|
+
# @raise SDKException
|
231
|
+
def delete_records(module_api_name, param_instance=nil, header_instance=nil)
|
232
|
+
if !module_api_name.is_a? String
|
233
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
234
|
+
end
|
235
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
236
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
237
|
+
end
|
238
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
239
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
240
|
+
end
|
241
|
+
handler_instance = Handler::CommonAPIHandler.new
|
242
|
+
api_path = ''
|
243
|
+
api_path = api_path + '/crm/v5/'
|
244
|
+
api_path = api_path + module_api_name.to_s
|
245
|
+
handler_instance.api_path = api_path
|
246
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_DELETE
|
247
|
+
handler_instance.category_method = Constants::REQUEST_METHOD_DELETE
|
248
|
+
handler_instance.param = param_instance
|
249
|
+
handler_instance.header = header_instance
|
250
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
251
|
+
require_relative 'action_handler'
|
252
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
253
|
+
end
|
254
|
+
|
255
|
+
# The method to upsert records
|
256
|
+
# @param module_api_name [String] A String
|
257
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
258
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
259
|
+
# @return An instance of APIResponse
|
260
|
+
# @raise SDKException
|
261
|
+
def upsert_records(module_api_name, request, header_instance=nil)
|
262
|
+
if !module_api_name.is_a? String
|
263
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
264
|
+
end
|
265
|
+
if request!=nil and !request.is_a? BodyWrapper
|
266
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
267
|
+
end
|
268
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
269
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
270
|
+
end
|
271
|
+
handler_instance = Handler::CommonAPIHandler.new
|
272
|
+
api_path = ''
|
273
|
+
api_path = api_path + '/crm/v5/'
|
274
|
+
api_path = api_path + module_api_name.to_s
|
275
|
+
api_path = api_path + '/upsert'
|
276
|
+
handler_instance.api_path = api_path
|
277
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
278
|
+
handler_instance.category_method = 'ACTION'
|
279
|
+
handler_instance.content_type = 'application/json'
|
280
|
+
handler_instance.request = request
|
281
|
+
handler_instance.header = header_instance
|
282
|
+
handler_instance.module_api_name = module_api_name
|
283
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
284
|
+
require_relative 'action_handler'
|
285
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
286
|
+
end
|
287
|
+
|
288
|
+
# The method to get deleted records
|
289
|
+
# @param module_api_name [String] A String
|
290
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
291
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
292
|
+
# @return An instance of APIResponse
|
293
|
+
# @raise SDKException
|
294
|
+
def get_deleted_records(module_api_name, param_instance=nil, header_instance=nil)
|
295
|
+
if !module_api_name.is_a? String
|
296
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
297
|
+
end
|
298
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
299
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
300
|
+
end
|
301
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
302
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
303
|
+
end
|
304
|
+
handler_instance = Handler::CommonAPIHandler.new
|
305
|
+
api_path = ''
|
306
|
+
api_path = api_path + '/crm/v5/'
|
307
|
+
api_path = api_path + module_api_name.to_s
|
308
|
+
api_path = api_path + '/deleted'
|
309
|
+
handler_instance.api_path = api_path
|
310
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
311
|
+
handler_instance.category_method = 'READ'
|
312
|
+
handler_instance.param = param_instance
|
313
|
+
handler_instance.header = header_instance
|
314
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
315
|
+
require_relative 'deleted_records_handler'
|
316
|
+
handler_instance.api_call(DeletedRecordsHandler.name, 'application/json')
|
317
|
+
end
|
318
|
+
|
319
|
+
# The method to search records
|
320
|
+
# @param module_api_name [String] A String
|
321
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
322
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
323
|
+
# @return An instance of APIResponse
|
324
|
+
# @raise SDKException
|
325
|
+
def search_records(module_api_name, param_instance=nil, header_instance=nil)
|
326
|
+
if !module_api_name.is_a? String
|
327
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
328
|
+
end
|
329
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
330
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
331
|
+
end
|
332
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
333
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
334
|
+
end
|
335
|
+
handler_instance = Handler::CommonAPIHandler.new
|
336
|
+
api_path = ''
|
337
|
+
api_path = api_path + '/crm/v5/'
|
338
|
+
api_path = api_path + module_api_name.to_s
|
339
|
+
api_path = api_path + '/search'
|
340
|
+
handler_instance.api_path = api_path
|
341
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
342
|
+
handler_instance.category_method = 'READ'
|
343
|
+
handler_instance.param = param_instance
|
344
|
+
handler_instance.header = header_instance
|
345
|
+
handler_instance.module_api_name = module_api_name
|
346
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
347
|
+
require_relative 'response_handler'
|
348
|
+
handler_instance.api_call(ResponseHandler.name, 'application/json')
|
349
|
+
end
|
350
|
+
|
351
|
+
# The method to convert lead
|
352
|
+
# @param id [Integer] A Integer
|
353
|
+
# @param request [ConvertBodyWrapper] An instance of ConvertBodyWrapper
|
354
|
+
# @return An instance of APIResponse
|
355
|
+
# @raise SDKException
|
356
|
+
def convert_lead(id, request)
|
357
|
+
if !id.is_a? Integer
|
358
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
359
|
+
end
|
360
|
+
if request!=nil and !request.is_a? ConvertBodyWrapper
|
361
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: ConvertBodyWrapper', nil, nil)
|
362
|
+
end
|
363
|
+
handler_instance = Handler::CommonAPIHandler.new
|
364
|
+
api_path = ''
|
365
|
+
api_path = api_path + '/crm/v5/Leads/'
|
366
|
+
api_path = api_path + id.to_s
|
367
|
+
api_path = api_path + '/actions/convert'
|
368
|
+
handler_instance.api_path = api_path
|
369
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
370
|
+
handler_instance.category_method = 'CREATE'
|
371
|
+
handler_instance.content_type = 'application/json'
|
372
|
+
handler_instance.request = request
|
373
|
+
handler_instance.mandatory_checker = true
|
374
|
+
Util::Utility.get_fields("Deals", handler_instance)
|
375
|
+
require_relative 'action_handler'
|
376
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
377
|
+
end
|
378
|
+
|
379
|
+
# The method to get photo
|
380
|
+
# @param id [Integer] A Integer
|
381
|
+
# @param module_api_name [String] A String
|
382
|
+
# @return An instance of APIResponse
|
383
|
+
# @raise SDKException
|
384
|
+
def get_photo(id, module_api_name)
|
385
|
+
if !id.is_a? Integer
|
386
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
387
|
+
end
|
388
|
+
if !module_api_name.is_a? String
|
389
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
390
|
+
end
|
391
|
+
handler_instance = Handler::CommonAPIHandler.new
|
392
|
+
api_path = ''
|
393
|
+
api_path = api_path + '/crm/v5/'
|
394
|
+
api_path = api_path + module_api_name.to_s
|
395
|
+
api_path = api_path + '/'
|
396
|
+
api_path = api_path + id.to_s
|
397
|
+
api_path = api_path + '/photo'
|
398
|
+
handler_instance.api_path = api_path
|
399
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
400
|
+
handler_instance.category_method = 'READ'
|
401
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
402
|
+
require_relative 'download_handler'
|
403
|
+
handler_instance.api_call(DownloadHandler.name, 'application/x-download')
|
404
|
+
end
|
405
|
+
|
406
|
+
# The method to upload photo
|
407
|
+
# @param id [Integer] A Integer
|
408
|
+
# @param module_api_name [String] A String
|
409
|
+
# @param request [FileBodyWrapper] An instance of FileBodyWrapper
|
410
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
411
|
+
# @return An instance of APIResponse
|
412
|
+
# @raise SDKException
|
413
|
+
def upload_photo(id, module_api_name, request, param_instance=nil)
|
414
|
+
if !id.is_a? Integer
|
415
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
416
|
+
end
|
417
|
+
if !module_api_name.is_a? String
|
418
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
419
|
+
end
|
420
|
+
if request!=nil and !request.is_a? FileBodyWrapper
|
421
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: FileBodyWrapper', nil, nil)
|
422
|
+
end
|
423
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
424
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
425
|
+
end
|
426
|
+
handler_instance = Handler::CommonAPIHandler.new
|
427
|
+
api_path = ''
|
428
|
+
api_path = api_path + '/crm/v5/'
|
429
|
+
api_path = api_path + module_api_name.to_s
|
430
|
+
api_path = api_path + '/'
|
431
|
+
api_path = api_path + id.to_s
|
432
|
+
api_path = api_path + '/photo'
|
433
|
+
handler_instance.api_path = api_path
|
434
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
435
|
+
handler_instance.category_method = 'CREATE'
|
436
|
+
handler_instance.content_type = 'multipart/form-data'
|
437
|
+
handler_instance.request = request
|
438
|
+
handler_instance.mandatory_checker = true
|
439
|
+
handler_instance.param = param_instance
|
440
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
441
|
+
Util::Utility.verify_photo_support(module_api_name)
|
442
|
+
require_relative 'file_handler'
|
443
|
+
handler_instance.api_call(FileHandler.name, 'application/json')
|
444
|
+
end
|
445
|
+
|
446
|
+
# The method to delete photo
|
447
|
+
# @param id [Integer] A Integer
|
448
|
+
# @param module_api_name [String] A String
|
449
|
+
# @return An instance of APIResponse
|
450
|
+
# @raise SDKException
|
451
|
+
def delete_photo(id, module_api_name)
|
452
|
+
if !id.is_a? Integer
|
453
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
454
|
+
end
|
455
|
+
if !module_api_name.is_a? String
|
456
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
457
|
+
end
|
458
|
+
handler_instance = Handler::CommonAPIHandler.new
|
459
|
+
api_path = ''
|
460
|
+
api_path = api_path + '/crm/v5/'
|
461
|
+
api_path = api_path + module_api_name.to_s
|
462
|
+
api_path = api_path + '/'
|
463
|
+
api_path = api_path + id.to_s
|
464
|
+
api_path = api_path + '/photo'
|
465
|
+
handler_instance.api_path = api_path
|
466
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_DELETE
|
467
|
+
handler_instance.category_method = Constants::REQUEST_METHOD_DELETE
|
468
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
469
|
+
require_relative 'file_handler'
|
470
|
+
handler_instance.api_call(FileHandler.name, 'application/json')
|
471
|
+
end
|
472
|
+
|
473
|
+
# The method to mass update records
|
474
|
+
# @param module_api_name [String] A String
|
475
|
+
# @param request [MassUpdateBodyWrapper] An instance of MassUpdateBodyWrapper
|
476
|
+
# @return An instance of APIResponse
|
477
|
+
# @raise SDKException
|
478
|
+
def mass_update_records(module_api_name, request)
|
479
|
+
if !module_api_name.is_a? String
|
480
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
481
|
+
end
|
482
|
+
if request!=nil and !request.is_a? MassUpdateBodyWrapper
|
483
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: MassUpdateBodyWrapper', nil, nil)
|
484
|
+
end
|
485
|
+
handler_instance = Handler::CommonAPIHandler.new
|
486
|
+
api_path = ''
|
487
|
+
api_path = api_path + '/crm/v5/'
|
488
|
+
api_path = api_path + module_api_name.to_s
|
489
|
+
api_path = api_path + '/actions/mass_update'
|
490
|
+
handler_instance.api_path = api_path
|
491
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
492
|
+
handler_instance.category_method = 'UPDATE'
|
493
|
+
handler_instance.content_type = 'application/json'
|
494
|
+
handler_instance.request = request
|
495
|
+
handler_instance.mandatory_checker = true
|
496
|
+
handler_instance.module_api_name = module_api_name
|
497
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
498
|
+
require_relative 'mass_update_action_handler'
|
499
|
+
handler_instance.api_call(MassUpdateActionHandler.name, 'application/json')
|
500
|
+
end
|
501
|
+
|
502
|
+
# The method to get mass update status
|
503
|
+
# @param module_api_name [String] A String
|
504
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
505
|
+
# @return An instance of APIResponse
|
506
|
+
# @raise SDKException
|
507
|
+
def get_mass_update_status(module_api_name, param_instance=nil)
|
508
|
+
if !module_api_name.is_a? String
|
509
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
510
|
+
end
|
511
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
512
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
513
|
+
end
|
514
|
+
handler_instance = Handler::CommonAPIHandler.new
|
515
|
+
api_path = ''
|
516
|
+
api_path = api_path + '/crm/v5/'
|
517
|
+
api_path = api_path + module_api_name.to_s
|
518
|
+
api_path = api_path + '/actions/mass_update'
|
519
|
+
handler_instance.api_path = api_path
|
520
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
521
|
+
handler_instance.category_method = 'READ'
|
522
|
+
handler_instance.param = param_instance
|
523
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
524
|
+
require_relative 'mass_update_response_handler'
|
525
|
+
handler_instance.api_call(MassUpdateResponseHandler.name, 'application/json')
|
526
|
+
end
|
527
|
+
|
528
|
+
# The method to assign territories to multiple records
|
529
|
+
# @param module_api_name [String] A String
|
530
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
531
|
+
# @return An instance of APIResponse
|
532
|
+
# @raise SDKException
|
533
|
+
def assign_territories_to_multiple_records(module_api_name, request)
|
534
|
+
if !module_api_name.is_a? String
|
535
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
536
|
+
end
|
537
|
+
if request!=nil and !request.is_a? BodyWrapper
|
538
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
539
|
+
end
|
540
|
+
handler_instance = Handler::CommonAPIHandler.new
|
541
|
+
api_path = ''
|
542
|
+
api_path = api_path + '/crm/v5/'
|
543
|
+
api_path = api_path + module_api_name.to_s
|
544
|
+
api_path = api_path + '/actions/assign_territories'
|
545
|
+
handler_instance.api_path = api_path
|
546
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
547
|
+
handler_instance.category_method = 'UPDATE'
|
548
|
+
handler_instance.content_type = 'application/json'
|
549
|
+
handler_instance.request = request
|
550
|
+
handler_instance.mandatory_checker = true
|
551
|
+
handler_instance.module_api_name = module_api_name
|
552
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
553
|
+
require_relative 'action_handler'
|
554
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
555
|
+
end
|
556
|
+
|
557
|
+
# The method to assign territory to record
|
558
|
+
# @param module_api_name [String] A String
|
559
|
+
# @param id [Integer] A Integer
|
560
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
561
|
+
# @return An instance of APIResponse
|
562
|
+
# @raise SDKException
|
563
|
+
def assign_territory_to_record(module_api_name, id, request)
|
564
|
+
if !module_api_name.is_a? String
|
565
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
566
|
+
end
|
567
|
+
if !id.is_a? Integer
|
568
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
569
|
+
end
|
570
|
+
if request!=nil and !request.is_a? BodyWrapper
|
571
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
572
|
+
end
|
573
|
+
handler_instance = Handler::CommonAPIHandler.new
|
574
|
+
api_path = ''
|
575
|
+
api_path = api_path + '/crm/v5/'
|
576
|
+
api_path = api_path + module_api_name.to_s
|
577
|
+
api_path = api_path + '/'
|
578
|
+
api_path = api_path + id.to_s
|
579
|
+
api_path = api_path + '/actions/assign_territories'
|
580
|
+
handler_instance.api_path = api_path
|
581
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
582
|
+
handler_instance.category_method = 'UPDATE'
|
583
|
+
handler_instance.content_type = 'application/json'
|
584
|
+
handler_instance.request = request
|
585
|
+
handler_instance.module_api_name = module_api_name
|
586
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
587
|
+
require_relative 'action_handler'
|
588
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
589
|
+
end
|
590
|
+
|
591
|
+
# The method to remove territories from multiple records
|
592
|
+
# @param module_api_name [String] A String
|
593
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
594
|
+
# @return An instance of APIResponse
|
595
|
+
# @raise SDKException
|
596
|
+
def remove_territories_from_multiple_records(module_api_name, request)
|
597
|
+
if !module_api_name.is_a? String
|
598
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
599
|
+
end
|
600
|
+
if request!=nil and !request.is_a? BodyWrapper
|
601
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
602
|
+
end
|
603
|
+
handler_instance = Handler::CommonAPIHandler.new
|
604
|
+
api_path = ''
|
605
|
+
api_path = api_path + '/crm/v5/'
|
606
|
+
api_path = api_path + module_api_name.to_s
|
607
|
+
api_path = api_path + '/actions/remove_territories'
|
608
|
+
handler_instance.api_path = api_path
|
609
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
610
|
+
handler_instance.category_method = 'UPDATE'
|
611
|
+
handler_instance.content_type = 'application/json'
|
612
|
+
handler_instance.request = request
|
613
|
+
handler_instance.mandatory_checker = true
|
614
|
+
handler_instance.module_api_name = module_api_name
|
615
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
616
|
+
require_relative 'action_handler'
|
617
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
618
|
+
end
|
619
|
+
|
620
|
+
# The method to remove territories from record
|
621
|
+
# @param module_api_name [String] A String
|
622
|
+
# @param id [Integer] A Integer
|
623
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
624
|
+
# @return An instance of APIResponse
|
625
|
+
# @raise SDKException
|
626
|
+
def remove_territories_from_record(module_api_name, id, request)
|
627
|
+
if !module_api_name.is_a? String
|
628
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
629
|
+
end
|
630
|
+
if !id.is_a? Integer
|
631
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
632
|
+
end
|
633
|
+
if request!=nil and !request.is_a? BodyWrapper
|
634
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
635
|
+
end
|
636
|
+
handler_instance = Handler::CommonAPIHandler.new
|
637
|
+
api_path = ''
|
638
|
+
api_path = api_path + '/crm/v5/'
|
639
|
+
api_path = api_path + module_api_name.to_s
|
640
|
+
api_path = api_path + '/'
|
641
|
+
api_path = api_path + id.to_s
|
642
|
+
api_path = api_path + '/actions/remove_territories'
|
643
|
+
handler_instance.api_path = api_path
|
644
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_POST
|
645
|
+
handler_instance.category_method = 'UPDATE'
|
646
|
+
handler_instance.content_type = 'application/json'
|
647
|
+
handler_instance.request = request
|
648
|
+
handler_instance.module_api_name = module_api_name
|
649
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
650
|
+
require_relative 'action_handler'
|
651
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
652
|
+
end
|
653
|
+
|
654
|
+
# The method to record count
|
655
|
+
# @param module_api_name [String] A String
|
656
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
657
|
+
# @return An instance of APIResponse
|
658
|
+
# @raise SDKException
|
659
|
+
def record_count(module_api_name, param_instance=nil)
|
660
|
+
if !module_api_name.is_a? String
|
661
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
662
|
+
end
|
663
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
664
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
665
|
+
end
|
666
|
+
handler_instance = Handler::CommonAPIHandler.new
|
667
|
+
api_path = ''
|
668
|
+
api_path = api_path + '/crm/v5/'
|
669
|
+
api_path = api_path + module_api_name.to_s
|
670
|
+
api_path = api_path + '/actions/count'
|
671
|
+
handler_instance.api_path = api_path
|
672
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
673
|
+
handler_instance.category_method = 'READ'
|
674
|
+
handler_instance.param = param_instance
|
675
|
+
require_relative 'count_handler'
|
676
|
+
handler_instance.api_call(CountHandler.name, 'application/json')
|
677
|
+
end
|
678
|
+
|
679
|
+
# The method to get record using external id
|
680
|
+
# @param external_field_value [String] A String
|
681
|
+
# @param module_api_name [String] A String
|
682
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
683
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
684
|
+
# @return An instance of APIResponse
|
685
|
+
# @raise SDKException
|
686
|
+
def get_record_using_external_id(external_field_value, module_api_name, param_instance=nil, header_instance=nil)
|
687
|
+
if !external_field_value.is_a? String
|
688
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: external_field_value EXPECTED TYPE: String', nil, nil)
|
689
|
+
end
|
690
|
+
if !module_api_name.is_a? String
|
691
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
692
|
+
end
|
693
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
694
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
695
|
+
end
|
696
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
697
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
698
|
+
end
|
699
|
+
handler_instance = Handler::CommonAPIHandler.new
|
700
|
+
api_path = ''
|
701
|
+
api_path = api_path + '/crm/v5/'
|
702
|
+
api_path = api_path + module_api_name.to_s
|
703
|
+
api_path = api_path + '/'
|
704
|
+
api_path = api_path + external_field_value.to_s
|
705
|
+
handler_instance.api_path = api_path
|
706
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
707
|
+
handler_instance.category_method = 'READ'
|
708
|
+
handler_instance.param = param_instance
|
709
|
+
handler_instance.header = header_instance
|
710
|
+
handler_instance.module_api_name = module_api_name
|
711
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
712
|
+
require_relative 'response_handler'
|
713
|
+
handler_instance.api_call(ResponseHandler.name, 'application/json')
|
714
|
+
end
|
715
|
+
|
716
|
+
# The method to update record using external id
|
717
|
+
# @param external_field_value [String] A String
|
718
|
+
# @param module_api_name [String] A String
|
719
|
+
# @param request [BodyWrapper] An instance of BodyWrapper
|
720
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
721
|
+
# @return An instance of APIResponse
|
722
|
+
# @raise SDKException
|
723
|
+
def update_record_using_external_id(external_field_value, module_api_name, request, header_instance=nil)
|
724
|
+
if !external_field_value.is_a? String
|
725
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: external_field_value EXPECTED TYPE: String', nil, nil)
|
726
|
+
end
|
727
|
+
if !module_api_name.is_a? String
|
728
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
729
|
+
end
|
730
|
+
if request!=nil and !request.is_a? BodyWrapper
|
731
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: request EXPECTED TYPE: BodyWrapper', nil, nil)
|
732
|
+
end
|
733
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
734
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
735
|
+
end
|
736
|
+
handler_instance = Handler::CommonAPIHandler.new
|
737
|
+
api_path = ''
|
738
|
+
api_path = api_path + '/crm/v5/'
|
739
|
+
api_path = api_path + module_api_name.to_s
|
740
|
+
api_path = api_path + '/'
|
741
|
+
api_path = api_path + external_field_value.to_s
|
742
|
+
handler_instance.api_path = api_path
|
743
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_PUT
|
744
|
+
handler_instance.category_method = 'UPDATE'
|
745
|
+
handler_instance.content_type = 'application/json'
|
746
|
+
handler_instance.request = request
|
747
|
+
handler_instance.header = header_instance
|
748
|
+
handler_instance.module_api_name = module_api_name
|
749
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
750
|
+
require_relative 'action_handler'
|
751
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
752
|
+
end
|
753
|
+
|
754
|
+
# The method to delete record using external id
|
755
|
+
# @param external_field_value [String] A String
|
756
|
+
# @param module_api_name [String] A String
|
757
|
+
# @param param_instance [ParameterMap] An instance of ParameterMap
|
758
|
+
# @param header_instance [HeaderMap] An instance of HeaderMap
|
759
|
+
# @return An instance of APIResponse
|
760
|
+
# @raise SDKException
|
761
|
+
def delete_record_using_external_id(external_field_value, module_api_name, param_instance=nil, header_instance=nil)
|
762
|
+
if !external_field_value.is_a? String
|
763
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: external_field_value EXPECTED TYPE: String', nil, nil)
|
764
|
+
end
|
765
|
+
if !module_api_name.is_a? String
|
766
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
767
|
+
end
|
768
|
+
if param_instance!=nil and !param_instance.is_a? ParameterMap
|
769
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: param_instance EXPECTED TYPE: ParameterMap', nil, nil)
|
770
|
+
end
|
771
|
+
if header_instance!=nil and !header_instance.is_a? HeaderMap
|
772
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: header_instance EXPECTED TYPE: HeaderMap', nil, nil)
|
773
|
+
end
|
774
|
+
handler_instance = Handler::CommonAPIHandler.new
|
775
|
+
api_path = ''
|
776
|
+
api_path = api_path + '/crm/v5/'
|
777
|
+
api_path = api_path + module_api_name.to_s
|
778
|
+
api_path = api_path + '/'
|
779
|
+
api_path = api_path + external_field_value.to_s
|
780
|
+
handler_instance.api_path = api_path
|
781
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_DELETE
|
782
|
+
handler_instance.category_method = Constants::REQUEST_METHOD_DELETE
|
783
|
+
handler_instance.param = param_instance
|
784
|
+
handler_instance.header = header_instance
|
785
|
+
Util::Utility.get_fields(module_api_name, handler_instance)
|
786
|
+
require_relative 'action_handler'
|
787
|
+
handler_instance.api_call(ActionHandler.name, 'application/json')
|
788
|
+
end
|
789
|
+
|
790
|
+
# The method to lead conversion options
|
791
|
+
# @param id [Integer] A Integer
|
792
|
+
# @param module_api_name [String] A String
|
793
|
+
# @return An instance of APIResponse
|
794
|
+
# @raise SDKException
|
795
|
+
def lead_conversion_options(id, module_api_name)
|
796
|
+
if !id.is_a? Integer
|
797
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
|
798
|
+
end
|
799
|
+
if !module_api_name.is_a? String
|
800
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_api_name EXPECTED TYPE: String', nil, nil)
|
801
|
+
end
|
802
|
+
handler_instance = Handler::CommonAPIHandler.new
|
803
|
+
api_path = ''
|
804
|
+
api_path = api_path + '/crm/v5/'
|
805
|
+
api_path = api_path + module_api_name.to_s
|
806
|
+
api_path = api_path + '/'
|
807
|
+
api_path = api_path + id.to_s
|
808
|
+
api_path = api_path + '/__conversion_options'
|
809
|
+
handler_instance.api_path = api_path
|
810
|
+
handler_instance.http_method = Constants::REQUEST_METHOD_GET
|
811
|
+
handler_instance.category_method = 'READ'
|
812
|
+
require_relative 'response_handler'
|
813
|
+
handler_instance.api_call(ResponseHandler.name, 'application/json')
|
814
|
+
end
|
815
|
+
|
816
|
+
class GetRecordParam
|
817
|
+
@@approved = Param.new('approved', 'com.zoho.crm.api.Record.GetRecordParam')
|
818
|
+
def self.approved
|
819
|
+
@@approved
|
820
|
+
end
|
821
|
+
@@converted = Param.new('converted', 'com.zoho.crm.api.Record.GetRecordParam')
|
822
|
+
def self.converted
|
823
|
+
@@converted
|
824
|
+
end
|
825
|
+
@@cvid = Param.new('cvid', 'com.zoho.crm.api.Record.GetRecordParam')
|
826
|
+
def self.cvid
|
827
|
+
@@cvid
|
828
|
+
end
|
829
|
+
@@uid = Param.new('uid', 'com.zoho.crm.api.Record.GetRecordParam')
|
830
|
+
def self.uid
|
831
|
+
@@uid
|
832
|
+
end
|
833
|
+
@@fields = Param.new('fields', 'com.zoho.crm.api.Record.GetRecordParam')
|
834
|
+
def self.fields
|
835
|
+
@@fields
|
836
|
+
end
|
837
|
+
@@startDateTime = Param.new('startDateTime', 'com.zoho.crm.api.Record.GetRecordParam')
|
838
|
+
def self.startDateTime
|
839
|
+
@@startDateTime
|
840
|
+
end
|
841
|
+
@@endDateTime = Param.new('endDateTime', 'com.zoho.crm.api.Record.GetRecordParam')
|
842
|
+
def self.endDateTime
|
843
|
+
@@endDateTime
|
844
|
+
end
|
845
|
+
@@territory_id = Param.new('territory_id', 'com.zoho.crm.api.Record.GetRecordParam')
|
846
|
+
def self.territory_id
|
847
|
+
@@territory_id
|
848
|
+
end
|
849
|
+
@@include_child = Param.new('include_child', 'com.zoho.crm.api.Record.GetRecordParam')
|
850
|
+
def self.include_child
|
851
|
+
@@include_child
|
852
|
+
end
|
853
|
+
@@on_demand_properties = Param.new('on_demand_properties', 'com.zoho.crm.api.Record.GetRecordParam')
|
854
|
+
def self.on_demand_properties
|
855
|
+
@@on_demand_properties
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
class GetRecordHeader
|
860
|
+
@@If_modified_since = Header.new('If-Modified-Since', 'com.zoho.crm.api.Record.GetRecordHeader')
|
861
|
+
def self.If_modified_since
|
862
|
+
@@If_modified_since
|
863
|
+
end
|
864
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.GetRecordHeader')
|
865
|
+
def self.X_external
|
866
|
+
@@X_external
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
class UpdateRecordHeader
|
871
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.UpdateRecordHeader')
|
872
|
+
def self.X_external
|
873
|
+
@@X_external
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class DeleteRecordParam
|
878
|
+
@@wf_trigger = Param.new('wf_trigger', 'com.zoho.crm.api.Record.DeleteRecordParam')
|
879
|
+
def self.wf_trigger
|
880
|
+
@@wf_trigger
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
class DeleteRecordHeader
|
885
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.DeleteRecordHeader')
|
886
|
+
def self.X_external
|
887
|
+
@@X_external
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
class GetRecordsParam
|
892
|
+
@@approved = Param.new('approved', 'com.zoho.crm.api.Record.GetRecordsParam')
|
893
|
+
def self.approved
|
894
|
+
@@approved
|
895
|
+
end
|
896
|
+
@@converted = Param.new('converted', 'com.zoho.crm.api.Record.GetRecordsParam')
|
897
|
+
def self.converted
|
898
|
+
@@converted
|
899
|
+
end
|
900
|
+
@@cvid = Param.new('cvid', 'com.zoho.crm.api.Record.GetRecordsParam')
|
901
|
+
def self.cvid
|
902
|
+
@@cvid
|
903
|
+
end
|
904
|
+
@@ids = Param.new('ids', 'com.zoho.crm.api.Record.GetRecordsParam')
|
905
|
+
def self.ids
|
906
|
+
@@ids
|
907
|
+
end
|
908
|
+
@@uid = Param.new('uid', 'com.zoho.crm.api.Record.GetRecordsParam')
|
909
|
+
def self.uid
|
910
|
+
@@uid
|
911
|
+
end
|
912
|
+
@@fields = Param.new('fields', 'com.zoho.crm.api.Record.GetRecordsParam')
|
913
|
+
def self.fields
|
914
|
+
@@fields
|
915
|
+
end
|
916
|
+
@@sort_by = Param.new('sort_by', 'com.zoho.crm.api.Record.GetRecordsParam')
|
917
|
+
def self.sort_by
|
918
|
+
@@sort_by
|
919
|
+
end
|
920
|
+
@@sort_order = Param.new('sort_order', 'com.zoho.crm.api.Record.GetRecordsParam')
|
921
|
+
def self.sort_order
|
922
|
+
@@sort_order
|
923
|
+
end
|
924
|
+
@@page = Param.new('page', 'com.zoho.crm.api.Record.GetRecordsParam')
|
925
|
+
def self.page
|
926
|
+
@@page
|
927
|
+
end
|
928
|
+
@@per_page = Param.new('per_page', 'com.zoho.crm.api.Record.GetRecordsParam')
|
929
|
+
def self.per_page
|
930
|
+
@@per_page
|
931
|
+
end
|
932
|
+
@@startDateTime = Param.new('startDateTime', 'com.zoho.crm.api.Record.GetRecordsParam')
|
933
|
+
def self.startDateTime
|
934
|
+
@@startDateTime
|
935
|
+
end
|
936
|
+
@@endDateTime = Param.new('endDateTime', 'com.zoho.crm.api.Record.GetRecordsParam')
|
937
|
+
def self.endDateTime
|
938
|
+
@@endDateTime
|
939
|
+
end
|
940
|
+
@@territory_id = Param.new('territory_id', 'com.zoho.crm.api.Record.GetRecordsParam')
|
941
|
+
def self.territory_id
|
942
|
+
@@territory_id
|
943
|
+
end
|
944
|
+
@@include_child = Param.new('include_child', 'com.zoho.crm.api.Record.GetRecordsParam')
|
945
|
+
def self.include_child
|
946
|
+
@@include_child
|
947
|
+
end
|
948
|
+
@@page_token = Param.new('page_token', 'com.zoho.crm.api.Record.GetRecordsParam')
|
949
|
+
def self.page_token
|
950
|
+
@@page_token
|
951
|
+
end
|
952
|
+
end
|
953
|
+
|
954
|
+
class GetRecordsHeader
|
955
|
+
@@If_modified_since = Header.new('If-Modified-Since', 'com.zoho.crm.api.Record.GetRecordsHeader')
|
956
|
+
def self.If_modified_since
|
957
|
+
@@If_modified_since
|
958
|
+
end
|
959
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.GetRecordsHeader')
|
960
|
+
def self.X_external
|
961
|
+
@@X_external
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
class CreateRecordsHeader
|
966
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.CreateRecordsHeader')
|
967
|
+
def self.X_external
|
968
|
+
@@X_external
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
972
|
+
class UpdateRecordsHeader
|
973
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.UpdateRecordsHeader')
|
974
|
+
def self.X_external
|
975
|
+
@@X_external
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
class DeleteRecordsParam
|
980
|
+
@@ids = Param.new('ids', 'com.zoho.crm.api.Record.DeleteRecordsParam')
|
981
|
+
def self.ids
|
982
|
+
@@ids
|
983
|
+
end
|
984
|
+
@@wf_trigger = Param.new('wf_trigger', 'com.zoho.crm.api.Record.DeleteRecordsParam')
|
985
|
+
def self.wf_trigger
|
986
|
+
@@wf_trigger
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
class DeleteRecordsHeader
|
991
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.DeleteRecordsHeader')
|
992
|
+
def self.X_external
|
993
|
+
@@X_external
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
class UpsertRecordsHeader
|
998
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.UpsertRecordsHeader')
|
999
|
+
def self.X_external
|
1000
|
+
@@X_external
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
class GetDeletedRecordsParam
|
1005
|
+
@@type = Param.new('type', 'com.zoho.crm.api.Record.GetDeletedRecordsParam')
|
1006
|
+
def self.type
|
1007
|
+
@@type
|
1008
|
+
end
|
1009
|
+
@@page = Param.new('page', 'com.zoho.crm.api.Record.GetDeletedRecordsParam')
|
1010
|
+
def self.page
|
1011
|
+
@@page
|
1012
|
+
end
|
1013
|
+
@@per_page = Param.new('per_page', 'com.zoho.crm.api.Record.GetDeletedRecordsParam')
|
1014
|
+
def self.per_page
|
1015
|
+
@@per_page
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
class GetDeletedRecordsHeader
|
1020
|
+
@@If_modified_since = Header.new('If-Modified-Since', 'com.zoho.crm.api.Record.GetDeletedRecordsHeader')
|
1021
|
+
def self.If_modified_since
|
1022
|
+
@@If_modified_since
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
class SearchRecordsParam
|
1027
|
+
@@criteria = Param.new('criteria', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1028
|
+
def self.criteria
|
1029
|
+
@@criteria
|
1030
|
+
end
|
1031
|
+
@@email = Param.new('email', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1032
|
+
def self.email
|
1033
|
+
@@email
|
1034
|
+
end
|
1035
|
+
@@phone = Param.new('phone', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1036
|
+
def self.phone
|
1037
|
+
@@phone
|
1038
|
+
end
|
1039
|
+
@@word = Param.new('word', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1040
|
+
def self.word
|
1041
|
+
@@word
|
1042
|
+
end
|
1043
|
+
@@converted = Param.new('converted', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1044
|
+
def self.converted
|
1045
|
+
@@converted
|
1046
|
+
end
|
1047
|
+
@@approved = Param.new('approved', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1048
|
+
def self.approved
|
1049
|
+
@@approved
|
1050
|
+
end
|
1051
|
+
@@page = Param.new('page', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1052
|
+
def self.page
|
1053
|
+
@@page
|
1054
|
+
end
|
1055
|
+
@@per_page = Param.new('per_page', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1056
|
+
def self.per_page
|
1057
|
+
@@per_page
|
1058
|
+
end
|
1059
|
+
@@fields = Param.new('fields', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1060
|
+
def self.fields
|
1061
|
+
@@fields
|
1062
|
+
end
|
1063
|
+
@@cvid = Param.new('cvid', 'com.zoho.crm.api.Record.SearchRecordsParam')
|
1064
|
+
def self.cvid
|
1065
|
+
@@cvid
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
class SearchRecordsHeader
|
1070
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.SearchRecordsHeader')
|
1071
|
+
def self.X_external
|
1072
|
+
@@X_external
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
class UploadPhotoParam
|
1077
|
+
@@restrict_triggers = Param.new('restrict_triggers', 'com.zoho.crm.api.Record.UploadPhotoParam')
|
1078
|
+
def self.restrict_triggers
|
1079
|
+
@@restrict_triggers
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
class GetMassUpdateStatusParam
|
1084
|
+
@@job_id = Param.new('job_id', 'com.zoho.crm.api.Record.GetMassUpdateStatusParam')
|
1085
|
+
def self.job_id
|
1086
|
+
@@job_id
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
class RecordCountParam
|
1091
|
+
@@criteria = Param.new('criteria', 'com.zoho.crm.api.Record.RecordCountParam')
|
1092
|
+
def self.criteria
|
1093
|
+
@@criteria
|
1094
|
+
end
|
1095
|
+
@@email = Param.new('email', 'com.zoho.crm.api.Record.RecordCountParam')
|
1096
|
+
def self.email
|
1097
|
+
@@email
|
1098
|
+
end
|
1099
|
+
@@phone = Param.new('phone', 'com.zoho.crm.api.Record.RecordCountParam')
|
1100
|
+
def self.phone
|
1101
|
+
@@phone
|
1102
|
+
end
|
1103
|
+
@@word = Param.new('word', 'com.zoho.crm.api.Record.RecordCountParam')
|
1104
|
+
def self.word
|
1105
|
+
@@word
|
1106
|
+
end
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
class GetRecordUsingExternalIDParam
|
1110
|
+
@@approved = Param.new('approved', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1111
|
+
def self.approved
|
1112
|
+
@@approved
|
1113
|
+
end
|
1114
|
+
@@converted = Param.new('converted', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1115
|
+
def self.converted
|
1116
|
+
@@converted
|
1117
|
+
end
|
1118
|
+
@@cvid = Param.new('cvid', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1119
|
+
def self.cvid
|
1120
|
+
@@cvid
|
1121
|
+
end
|
1122
|
+
@@uid = Param.new('uid', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1123
|
+
def self.uid
|
1124
|
+
@@uid
|
1125
|
+
end
|
1126
|
+
@@fields = Param.new('fields', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1127
|
+
def self.fields
|
1128
|
+
@@fields
|
1129
|
+
end
|
1130
|
+
@@startDateTime = Param.new('startDateTime', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1131
|
+
def self.startDateTime
|
1132
|
+
@@startDateTime
|
1133
|
+
end
|
1134
|
+
@@endDateTime = Param.new('endDateTime', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1135
|
+
def self.endDateTime
|
1136
|
+
@@endDateTime
|
1137
|
+
end
|
1138
|
+
@@territory_id = Param.new('territory_id', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1139
|
+
def self.territory_id
|
1140
|
+
@@territory_id
|
1141
|
+
end
|
1142
|
+
@@include_child = Param.new('include_child', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDParam')
|
1143
|
+
def self.include_child
|
1144
|
+
@@include_child
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
class GetRecordUsingExternalIDHeader
|
1149
|
+
@@If_modified_since = Header.new('If-Modified-Since', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDHeader')
|
1150
|
+
def self.If_modified_since
|
1151
|
+
@@If_modified_since
|
1152
|
+
end
|
1153
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.GetRecordUsingExternalIDHeader')
|
1154
|
+
def self.X_external
|
1155
|
+
@@X_external
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
class UpdateRecordUsingExternalIDHeader
|
1160
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.UpdateRecordUsingExternalIDHeader')
|
1161
|
+
def self.X_external
|
1162
|
+
@@X_external
|
1163
|
+
end
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
class DeleteRecordUsingExternalIDParam
|
1167
|
+
@@wf_trigger = Param.new('wf_trigger', 'com.zoho.crm.api.Record.DeleteRecordUsingExternalIDParam')
|
1168
|
+
def self.wf_trigger
|
1169
|
+
@@wf_trigger
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
class DeleteRecordUsingExternalIDHeader
|
1174
|
+
@@X_external = Header.new('X-EXTERNAL', 'com.zoho.crm.api.Record.DeleteRecordUsingExternalIDHeader')
|
1175
|
+
def self.X_external
|
1176
|
+
@@X_external
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
end
|