ZOHOCRMSDK8_0 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1624) hide show
  1. checksums.yaml +7 -0
  2. data/src/ZOHOCRMSDK8_0.rb +1619 -0
  3. data/src/com/zoho/api/authenticator/oauth_token.rb +433 -0
  4. data/src/com/zoho/api/authenticator/store/db_store.rb +279 -0
  5. data/src/com/zoho/api/authenticator/store/file_store.rb +277 -0
  6. data/src/com/zoho/api/authenticator/store/token_store.rb +31 -0
  7. data/src/com/zoho/api/authenticator/token.rb +14 -0
  8. data/src/com/zoho/api/logger/sdk_logger.rb +64 -0
  9. data/src/com/zoho/crm/api/apis/api_exception.rb +123 -0
  10. data/src/com/zoho/crm/api/apis/apis_operations.rb +40 -0
  11. data/src/com/zoho/crm/api/apis/operation_types.rb +120 -0
  12. data/src/com/zoho/crm/api/apis/response_handler.rb +12 -0
  13. data/src/com/zoho/crm/api/apis/response_wrapper.rb +65 -0
  14. data/src/com/zoho/crm/api/apis/supported_api.rb +82 -0
  15. data/src/com/zoho/crm/api/appointment_preference/action_handler.rb +12 -0
  16. data/src/com/zoho/crm/api/appointment_preference/action_response.rb +12 -0
  17. data/src/com/zoho/crm/api/appointment_preference/action_wrapper.rb +65 -0
  18. data/src/com/zoho/crm/api/appointment_preference/api_exception.rb +127 -0
  19. data/src/com/zoho/crm/api/appointment_preference/appointment_preference.rb +159 -0
  20. data/src/com/zoho/crm/api/appointment_preference/appointment_preference_operations.rb +65 -0
  21. data/src/com/zoho/crm/api/appointment_preference/body_wrapper.rb +63 -0
  22. data/src/com/zoho/crm/api/appointment_preference/deal_record_configuration.rb +101 -0
  23. data/src/com/zoho/crm/api/appointment_preference/field.rb +82 -0
  24. data/src/com/zoho/crm/api/appointment_preference/field_mappings.rb +102 -0
  25. data/src/com/zoho/crm/api/appointment_preference/layout.rb +82 -0
  26. data/src/com/zoho/crm/api/appointment_preference/response_handler.rb +12 -0
  27. data/src/com/zoho/crm/api/appointment_preference/response_wrapper.rb +65 -0
  28. data/src/com/zoho/crm/api/appointment_preference/success_response.rb +123 -0
  29. data/src/com/zoho/crm/api/assignment_rules/action_response.rb +12 -0
  30. data/src/com/zoho/crm/api/assignment_rules/action_wrapper.rb +63 -0
  31. data/src/com/zoho/crm/api/assignment_rules/api_exception.rb +125 -0
  32. data/src/com/zoho/crm/api/assignment_rules/assignment_rules.rb +235 -0
  33. data/src/com/zoho/crm/api/assignment_rules/assignment_rules_operations.rb +75 -0
  34. data/src/com/zoho/crm/api/assignment_rules/default_assignee.rb +82 -0
  35. data/src/com/zoho/crm/api/assignment_rules/response_handler.rb +12 -0
  36. data/src/com/zoho/crm/api/assignment_rules/response_wrapper.rb +65 -0
  37. data/src/com/zoho/crm/api/assignment_rules/success_response.rb +123 -0
  38. data/src/com/zoho/crm/api/assignment_rules/user.rb +122 -0
  39. data/src/com/zoho/crm/api/associate_email/action_handler.rb +12 -0
  40. data/src/com/zoho/crm/api/associate_email/action_response.rb +12 -0
  41. data/src/com/zoho/crm/api/associate_email/action_wrapper.rb +65 -0
  42. data/src/com/zoho/crm/api/associate_email/api_exception.rb +125 -0
  43. data/src/com/zoho/crm/api/associate_email/associate_email.rb +273 -0
  44. data/src/com/zoho/crm/api/associate_email/associate_email_operations.rb +49 -0
  45. data/src/com/zoho/crm/api/associate_email/attachments.rb +63 -0
  46. data/src/com/zoho/crm/api/associate_email/available.rb +101 -0
  47. data/src/com/zoho/crm/api/associate_email/body_wrapper.rb +63 -0
  48. data/src/com/zoho/crm/api/associate_email/from.rb +82 -0
  49. data/src/com/zoho/crm/api/associate_email/linked_record.rb +82 -0
  50. data/src/com/zoho/crm/api/associate_email/module_map.rb +82 -0
  51. data/src/com/zoho/crm/api/associate_email/record.rb +101 -0
  52. data/src/com/zoho/crm/api/associate_email/success_response.rb +123 -0
  53. data/src/com/zoho/crm/api/associate_email/to.rb +82 -0
  54. data/src/com/zoho/crm/api/attachments/action_handler.rb +12 -0
  55. data/src/com/zoho/crm/api/attachments/action_response.rb +12 -0
  56. data/src/com/zoho/crm/api/attachments/action_wrapper.rb +65 -0
  57. data/src/com/zoho/crm/api/attachments/api_exception.rb +125 -0
  58. data/src/com/zoho/crm/api/attachments/attachment.rb +463 -0
  59. data/src/com/zoho/crm/api/attachments/attachments_operations.rb +247 -0
  60. data/src/com/zoho/crm/api/attachments/file_body_wrapper.rb +66 -0
  61. data/src/com/zoho/crm/api/attachments/info.rb +177 -0
  62. data/src/com/zoho/crm/api/attachments/owner.rb +101 -0
  63. data/src/com/zoho/crm/api/attachments/parent_id.rb +82 -0
  64. data/src/com/zoho/crm/api/attachments/response_handler.rb +12 -0
  65. data/src/com/zoho/crm/api/attachments/response_wrapper.rb +84 -0
  66. data/src/com/zoho/crm/api/attachments/success_response.rb +123 -0
  67. data/src/com/zoho/crm/api/audit_log_export/action_handler.rb +12 -0
  68. data/src/com/zoho/crm/api/audit_log_export/action_response.rb +12 -0
  69. data/src/com/zoho/crm/api/audit_log_export/action_wrapper.rb +65 -0
  70. data/src/com/zoho/crm/api/audit_log_export/api_exception.rb +165 -0
  71. data/src/com/zoho/crm/api/audit_log_export/audit_log_export.rb +196 -0
  72. data/src/com/zoho/crm/api/audit_log_export/audit_log_export_operations.rb +89 -0
  73. data/src/com/zoho/crm/api/audit_log_export/body_wrapper.rb +63 -0
  74. data/src/com/zoho/crm/api/audit_log_export/criteria.rb +136 -0
  75. data/src/com/zoho/crm/api/audit_log_export/field.rb +63 -0
  76. data/src/com/zoho/crm/api/audit_log_export/file_body_wrapper.rb +66 -0
  77. data/src/com/zoho/crm/api/audit_log_export/module.rb +82 -0
  78. data/src/com/zoho/crm/api/audit_log_export/response_handler.rb +12 -0
  79. data/src/com/zoho/crm/api/audit_log_export/response_wrapper.rb +65 -0
  80. data/src/com/zoho/crm/api/audit_log_export/success_response.rb +123 -0
  81. data/src/com/zoho/crm/api/audit_log_export/user.rb +82 -0
  82. data/src/com/zoho/crm/api/available_currencies/api_exception.rb +123 -0
  83. data/src/com/zoho/crm/api/available_currencies/available_currencies_operations.rb +30 -0
  84. data/src/com/zoho/crm/api/available_currencies/currency.rb +177 -0
  85. data/src/com/zoho/crm/api/available_currencies/response_handler.rb +12 -0
  86. data/src/com/zoho/crm/api/available_currencies/response_wrapper.rb +65 -0
  87. data/src/com/zoho/crm/api/backup/action_handler.rb +12 -0
  88. data/src/com/zoho/crm/api/backup/action_response.rb +12 -0
  89. data/src/com/zoho/crm/api/backup/action_wrapper.rb +65 -0
  90. data/src/com/zoho/crm/api/backup/api_exception.rb +127 -0
  91. data/src/com/zoho/crm/api/backup/backup.rb +158 -0
  92. data/src/com/zoho/crm/api/backup/backup_operations.rb +136 -0
  93. data/src/com/zoho/crm/api/backup/body_wrapper.rb +63 -0
  94. data/src/com/zoho/crm/api/backup/file_body_wrapper.rb +66 -0
  95. data/src/com/zoho/crm/api/backup/history.rb +196 -0
  96. data/src/com/zoho/crm/api/backup/history_wrapper.rb +84 -0
  97. data/src/com/zoho/crm/api/backup/info.rb +120 -0
  98. data/src/com/zoho/crm/api/backup/requester.rb +101 -0
  99. data/src/com/zoho/crm/api/backup/response_handler.rb +12 -0
  100. data/src/com/zoho/crm/api/backup/response_wrapper.rb +65 -0
  101. data/src/com/zoho/crm/api/backup/success_response.rb +123 -0
  102. data/src/com/zoho/crm/api/backup/urls.rb +101 -0
  103. data/src/com/zoho/crm/api/backup/urls_wrapper.rb +65 -0
  104. data/src/com/zoho/crm/api/blueprint/action_handler.rb +12 -0
  105. data/src/com/zoho/crm/api/blueprint/api_exception.rb +125 -0
  106. data/src/com/zoho/crm/api/blueprint/association_details.rb +82 -0
  107. data/src/com/zoho/crm/api/blueprint/auto_number.rb +101 -0
  108. data/src/com/zoho/crm/api/blueprint/blue_print.rb +121 -0
  109. data/src/com/zoho/crm/api/blueprint/blueprint_operations.rb +69 -0
  110. data/src/com/zoho/crm/api/blueprint/body_wrapper.rb +63 -0
  111. data/src/com/zoho/crm/api/blueprint/crypt.rb +120 -0
  112. data/src/com/zoho/crm/api/blueprint/currency.rb +82 -0
  113. data/src/com/zoho/crm/api/blueprint/current_picklist.rb +101 -0
  114. data/src/com/zoho/crm/api/blueprint/escalation.rb +82 -0
  115. data/src/com/zoho/crm/api/blueprint/field.rb +924 -0
  116. data/src/com/zoho/crm/api/blueprint/formula.rb +82 -0
  117. data/src/com/zoho/crm/api/blueprint/layout.rb +82 -0
  118. data/src/com/zoho/crm/api/blueprint/lookup_field.rb +82 -0
  119. data/src/com/zoho/crm/api/blueprint/module.rb +120 -0
  120. data/src/com/zoho/crm/api/blueprint/multi_select_lookup.rb +158 -0
  121. data/src/com/zoho/crm/api/blueprint/next_transition.rb +120 -0
  122. data/src/com/zoho/crm/api/blueprint/process_info.rb +272 -0
  123. data/src/com/zoho/crm/api/blueprint/profile.rb +101 -0
  124. data/src/com/zoho/crm/api/blueprint/response_handler.rb +12 -0
  125. data/src/com/zoho/crm/api/blueprint/response_wrapper.rb +65 -0
  126. data/src/com/zoho/crm/api/blueprint/success_response.rb +123 -0
  127. data/src/com/zoho/crm/api/blueprint/tool_tip.rb +82 -0
  128. data/src/com/zoho/crm/api/blueprint/transition.rb +330 -0
  129. data/src/com/zoho/crm/api/blueprint/view_type.rb +120 -0
  130. data/src/com/zoho/crm/api/bulk_read/action_handler.rb +12 -0
  131. data/src/com/zoho/crm/api/bulk_read/action_response.rb +12 -0
  132. data/src/com/zoho/crm/api/bulk_read/action_wrapper.rb +84 -0
  133. data/src/com/zoho/crm/api/bulk_read/api_exception.rb +127 -0
  134. data/src/com/zoho/crm/api/bulk_read/body_wrapper.rb +102 -0
  135. data/src/com/zoho/crm/api/bulk_read/bulk_read_operations.rb +76 -0
  136. data/src/com/zoho/crm/api/bulk_read/call_back.rb +83 -0
  137. data/src/com/zoho/crm/api/bulk_read/criteria.rb +176 -0
  138. data/src/com/zoho/crm/api/bulk_read/file_body_wrapper.rb +66 -0
  139. data/src/com/zoho/crm/api/bulk_read/job_detail.rb +198 -0
  140. data/src/com/zoho/crm/api/bulk_read/module_details.rb +82 -0
  141. data/src/com/zoho/crm/api/bulk_read/query.rb +179 -0
  142. data/src/com/zoho/crm/api/bulk_read/response_handler.rb +12 -0
  143. data/src/com/zoho/crm/api/bulk_read/response_wrapper.rb +65 -0
  144. data/src/com/zoho/crm/api/bulk_read/result.rb +158 -0
  145. data/src/com/zoho/crm/api/bulk_read/success_response.rb +123 -0
  146. data/src/com/zoho/crm/api/bulk_write/action_response.rb +12 -0
  147. data/src/com/zoho/crm/api/bulk_write/api_exception.rb +241 -0
  148. data/src/com/zoho/crm/api/bulk_write/bulk_write_operations.rb +114 -0
  149. data/src/com/zoho/crm/api/bulk_write/bulk_write_response.rb +218 -0
  150. data/src/com/zoho/crm/api/bulk_write/call_back.rb +83 -0
  151. data/src/com/zoho/crm/api/bulk_write/default_value.rb +98 -0
  152. data/src/com/zoho/crm/api/bulk_write/field_mapping.rb +177 -0
  153. data/src/com/zoho/crm/api/bulk_write/file.rb +159 -0
  154. data/src/com/zoho/crm/api/bulk_write/file_body_wrapper.rb +66 -0
  155. data/src/com/zoho/crm/api/bulk_write/request_wrapper.rb +140 -0
  156. data/src/com/zoho/crm/api/bulk_write/resource.rb +236 -0
  157. data/src/com/zoho/crm/api/bulk_write/response_handler.rb +12 -0
  158. data/src/com/zoho/crm/api/bulk_write/response_wrapper.rb +12 -0
  159. data/src/com/zoho/crm/api/bulk_write/result.rb +63 -0
  160. data/src/com/zoho/crm/api/bulk_write/success_response.rb +123 -0
  161. data/src/com/zoho/crm/api/business_hours/action_handler.rb +12 -0
  162. data/src/com/zoho/crm/api/business_hours/action_response.rb +12 -0
  163. data/src/com/zoho/crm/api/business_hours/action_wrapper.rb +65 -0
  164. data/src/com/zoho/crm/api/business_hours/api_exception.rb +127 -0
  165. data/src/com/zoho/crm/api/business_hours/body_wrapper.rb +63 -0
  166. data/src/com/zoho/crm/api/business_hours/break_hours_custom_timing.rb +83 -0
  167. data/src/com/zoho/crm/api/business_hours/business_hours.rb +197 -0
  168. data/src/com/zoho/crm/api/business_hours/business_hours_operations.rb +90 -0
  169. data/src/com/zoho/crm/api/business_hours/features.rb +82 -0
  170. data/src/com/zoho/crm/api/business_hours/resources.rb +82 -0
  171. data/src/com/zoho/crm/api/business_hours/response_handler.rb +12 -0
  172. data/src/com/zoho/crm/api/business_hours/response_wrapper.rb +65 -0
  173. data/src/com/zoho/crm/api/business_hours/success_response.rb +123 -0
  174. data/src/com/zoho/crm/api/cadences/api_exception.rb +123 -0
  175. data/src/com/zoho/crm/api/cadences/cadences.rb +310 -0
  176. data/src/com/zoho/crm/api/cadences/cadences_operations.rb +30 -0
  177. data/src/com/zoho/crm/api/cadences/custom_view.rb +82 -0
  178. data/src/com/zoho/crm/api/cadences/execute_every.rb +82 -0
  179. data/src/com/zoho/crm/api/cadences/execution_detail.rb +139 -0
  180. data/src/com/zoho/crm/api/cadences/info.rb +120 -0
  181. data/src/com/zoho/crm/api/cadences/module.rb +82 -0
  182. data/src/com/zoho/crm/api/cadences/response_handler.rb +12 -0
  183. data/src/com/zoho/crm/api/cadences/response_wrapper.rb +84 -0
  184. data/src/com/zoho/crm/api/cadences/summary.rb +101 -0
  185. data/src/com/zoho/crm/api/cadences/unenroll_property.rb +82 -0
  186. data/src/com/zoho/crm/api/cadences/user.rb +82 -0
  187. data/src/com/zoho/crm/api/cadences_execution/action.rb +82 -0
  188. data/src/com/zoho/crm/api/cadences_execution/action_handler.rb +12 -0
  189. data/src/com/zoho/crm/api/cadences_execution/action_response.rb +12 -0
  190. data/src/com/zoho/crm/api/cadences_execution/action_wrapper.rb +65 -0
  191. data/src/com/zoho/crm/api/cadences_execution/analytics.rb +120 -0
  192. data/src/com/zoho/crm/api/cadences_execution/analytics_alert.rb +215 -0
  193. data/src/com/zoho/crm/api/cadences_execution/analytics_call.rb +196 -0
  194. data/src/com/zoho/crm/api/cadences_execution/analytics_task.rb +158 -0
  195. data/src/com/zoho/crm/api/cadences_execution/api_exception.rb +125 -0
  196. data/src/com/zoho/crm/api/cadences_execution/body_wrapper.rb +82 -0
  197. data/src/com/zoho/crm/api/cadences_execution/cadence.rb +82 -0
  198. data/src/com/zoho/crm/api/cadences_execution/cadences_analytics_get.rb +139 -0
  199. data/src/com/zoho/crm/api/cadences_execution/cadences_execution_operations.rb +68 -0
  200. data/src/com/zoho/crm/api/cadences_execution/details.rb +82 -0
  201. data/src/com/zoho/crm/api/cadences_execution/module.rb +82 -0
  202. data/src/com/zoho/crm/api/cadences_execution/parent_follow_up.rb +63 -0
  203. data/src/com/zoho/crm/api/cadences_execution/success_response.rb +123 -0
  204. data/src/com/zoho/crm/api/cadences_execution/template.rb +82 -0
  205. data/src/com/zoho/crm/api/cadences_execution/user.rb +82 -0
  206. data/src/com/zoho/crm/api/call_preferences/action_handler.rb +12 -0
  207. data/src/com/zoho/crm/api/call_preferences/action_response.rb +12 -0
  208. data/src/com/zoho/crm/api/call_preferences/action_wrapper.rb +65 -0
  209. data/src/com/zoho/crm/api/call_preferences/api_exception.rb +127 -0
  210. data/src/com/zoho/crm/api/call_preferences/body_wrapper.rb +63 -0
  211. data/src/com/zoho/crm/api/call_preferences/call_preferences.rb +82 -0
  212. data/src/com/zoho/crm/api/call_preferences/call_preferences_operations.rb +51 -0
  213. data/src/com/zoho/crm/api/call_preferences/response_handler.rb +12 -0
  214. data/src/com/zoho/crm/api/call_preferences/response_wrapper.rb +65 -0
  215. data/src/com/zoho/crm/api/call_preferences/success_response.rb +123 -0
  216. data/src/com/zoho/crm/api/cancel_meetings/action_handler.rb +12 -0
  217. data/src/com/zoho/crm/api/cancel_meetings/action_response.rb +12 -0
  218. data/src/com/zoho/crm/api/cancel_meetings/action_wrapper.rb +65 -0
  219. data/src/com/zoho/crm/api/cancel_meetings/api_exception.rb +125 -0
  220. data/src/com/zoho/crm/api/cancel_meetings/body_wrapper.rb +63 -0
  221. data/src/com/zoho/crm/api/cancel_meetings/cancel_meetings_operations.rb +43 -0
  222. data/src/com/zoho/crm/api/cancel_meetings/notify.rb +63 -0
  223. data/src/com/zoho/crm/api/cancel_meetings/success_response.rb +123 -0
  224. data/src/com/zoho/crm/api/change_owner/action_handler.rb +12 -0
  225. data/src/com/zoho/crm/api/change_owner/action_response.rb +12 -0
  226. data/src/com/zoho/crm/api/change_owner/action_wrapper.rb +65 -0
  227. data/src/com/zoho/crm/api/change_owner/api_exception.rb +125 -0
  228. data/src/com/zoho/crm/api/change_owner/body_wrapper.rb +101 -0
  229. data/src/com/zoho/crm/api/change_owner/change_owner_operations.rb +71 -0
  230. data/src/com/zoho/crm/api/change_owner/error_details.rb +82 -0
  231. data/src/com/zoho/crm/api/change_owner/mass_wrapper.rb +122 -0
  232. data/src/com/zoho/crm/api/change_owner/owner.rb +63 -0
  233. data/src/com/zoho/crm/api/change_owner/related_modules.rb +82 -0
  234. data/src/com/zoho/crm/api/change_owner/success_response.rb +123 -0
  235. data/src/com/zoho/crm/api/contact_roles/action_handler.rb +12 -0
  236. data/src/com/zoho/crm/api/contact_roles/action_response.rb +12 -0
  237. data/src/com/zoho/crm/api/contact_roles/action_wrapper.rb +65 -0
  238. data/src/com/zoho/crm/api/contact_roles/api_exception.rb +127 -0
  239. data/src/com/zoho/crm/api/contact_roles/body_wrapper.rb +63 -0
  240. data/src/com/zoho/crm/api/contact_roles/contact_role.rb +101 -0
  241. data/src/com/zoho/crm/api/contact_roles/contact_roles_operations.rb +163 -0
  242. data/src/com/zoho/crm/api/contact_roles/response_handler.rb +12 -0
  243. data/src/com/zoho/crm/api/contact_roles/response_wrapper.rb +65 -0
  244. data/src/com/zoho/crm/api/contact_roles/success_response.rb +123 -0
  245. data/src/com/zoho/crm/api/conversion_option/api_exception.rb +123 -0
  246. data/src/com/zoho/crm/api/conversion_option/conversion_option_operations.rb +40 -0
  247. data/src/com/zoho/crm/api/conversion_option/conversion_options.rb +160 -0
  248. data/src/com/zoho/crm/api/conversion_option/field.rb +82 -0
  249. data/src/com/zoho/crm/api/conversion_option/preference_field_match.rb +82 -0
  250. data/src/com/zoho/crm/api/conversion_option/preference_field_matched_value.rb +101 -0
  251. data/src/com/zoho/crm/api/conversion_option/response_handler.rb +12 -0
  252. data/src/com/zoho/crm/api/conversion_option/response_wrapper.rb +65 -0
  253. data/src/com/zoho/crm/api/convert_lead/action_handler.rb +12 -0
  254. data/src/com/zoho/crm/api/convert_lead/action_response.rb +12 -0
  255. data/src/com/zoho/crm/api/convert_lead/action_wrapper.rb +65 -0
  256. data/src/com/zoho/crm/api/convert_lead/api_exception.rb +125 -0
  257. data/src/com/zoho/crm/api/convert_lead/body_wrapper.rb +63 -0
  258. data/src/com/zoho/crm/api/convert_lead/carry_over_tags.rb +101 -0
  259. data/src/com/zoho/crm/api/convert_lead/convert_lead_operations.rb +47 -0
  260. data/src/com/zoho/crm/api/convert_lead/lead_converter.rb +237 -0
  261. data/src/com/zoho/crm/api/convert_lead/move_attachments_to.rb +82 -0
  262. data/src/com/zoho/crm/api/convert_lead/success_response.rb +123 -0
  263. data/src/com/zoho/crm/api/coql/api_exception.rb +123 -0
  264. data/src/com/zoho/crm/api/coql/body_wrapper.rb +63 -0
  265. data/src/com/zoho/crm/api/coql/clause_details.rb +65 -0
  266. data/src/com/zoho/crm/api/coql/coql_operations.rb +36 -0
  267. data/src/com/zoho/crm/api/coql/details_wrapper.rb +12 -0
  268. data/src/com/zoho/crm/api/coql/parse_error_details.rb +103 -0
  269. data/src/com/zoho/crm/api/coql/response_handler.rb +12 -0
  270. data/src/com/zoho/crm/api/coql/response_wrapper.rb +86 -0
  271. data/src/com/zoho/crm/api/currencies/action_handler.rb +12 -0
  272. data/src/com/zoho/crm/api/currencies/action_response.rb +12 -0
  273. data/src/com/zoho/crm/api/currencies/action_wrapper.rb +65 -0
  274. data/src/com/zoho/crm/api/currencies/api_exception.rb +129 -0
  275. data/src/com/zoho/crm/api/currencies/base_currency.rb +292 -0
  276. data/src/com/zoho/crm/api/currencies/base_currency_action_response.rb +12 -0
  277. data/src/com/zoho/crm/api/currencies/base_currency_action_wrapper.rb +65 -0
  278. data/src/com/zoho/crm/api/currencies/base_currency_wrapper.rb +63 -0
  279. data/src/com/zoho/crm/api/currencies/body_wrapper.rb +63 -0
  280. data/src/com/zoho/crm/api/currencies/currencies_operations.rb +158 -0
  281. data/src/com/zoho/crm/api/currencies/currency.rb +292 -0
  282. data/src/com/zoho/crm/api/currencies/error_details.rb +82 -0
  283. data/src/com/zoho/crm/api/currencies/format.rb +102 -0
  284. data/src/com/zoho/crm/api/currencies/response_handler.rb +12 -0
  285. data/src/com/zoho/crm/api/currencies/response_wrapper.rb +65 -0
  286. data/src/com/zoho/crm/api/currencies/success_response.rb +125 -0
  287. data/src/com/zoho/crm/api/custom_views/action_handler.rb +12 -0
  288. data/src/com/zoho/crm/api/custom_views/action_response.rb +12 -0
  289. data/src/com/zoho/crm/api/custom_views/action_wrapper.rb +65 -0
  290. data/src/com/zoho/crm/api/custom_views/api_exception.rb +127 -0
  291. data/src/com/zoho/crm/api/custom_views/body_wrapper.rb +63 -0
  292. data/src/com/zoho/crm/api/custom_views/criteria.rb +136 -0
  293. data/src/com/zoho/crm/api/custom_views/custom_views.rb +463 -0
  294. data/src/com/zoho/crm/api/custom_views/custom_views_operations.rb +154 -0
  295. data/src/com/zoho/crm/api/custom_views/field.rb +82 -0
  296. data/src/com/zoho/crm/api/custom_views/fields.rb +101 -0
  297. data/src/com/zoho/crm/api/custom_views/info.rb +158 -0
  298. data/src/com/zoho/crm/api/custom_views/owner.rb +101 -0
  299. data/src/com/zoho/crm/api/custom_views/pin_fields.rb +101 -0
  300. data/src/com/zoho/crm/api/custom_views/pin_unpin_fields.rb +63 -0
  301. data/src/com/zoho/crm/api/custom_views/response_handler.rb +12 -0
  302. data/src/com/zoho/crm/api/custom_views/response_wrapper.rb +84 -0
  303. data/src/com/zoho/crm/api/custom_views/shared_to.rb +121 -0
  304. data/src/com/zoho/crm/api/custom_views/sort_by.rb +82 -0
  305. data/src/com/zoho/crm/api/custom_views/success_response.rb +123 -0
  306. data/src/com/zoho/crm/api/custom_views/translation.rb +120 -0
  307. data/src/com/zoho/crm/api/data_sharing/action_handler.rb +12 -0
  308. data/src/com/zoho/crm/api/data_sharing/action_response.rb +12 -0
  309. data/src/com/zoho/crm/api/data_sharing/action_wrapper.rb +65 -0
  310. data/src/com/zoho/crm/api/data_sharing/api_exception.rb +127 -0
  311. data/src/com/zoho/crm/api/data_sharing/body_wrapper.rb +63 -0
  312. data/src/com/zoho/crm/api/data_sharing/data_sharing.rb +121 -0
  313. data/src/com/zoho/crm/api/data_sharing/data_sharing_operations.rb +51 -0
  314. data/src/com/zoho/crm/api/data_sharing/dependee.rb +82 -0
  315. data/src/com/zoho/crm/api/data_sharing/module.rb +82 -0
  316. data/src/com/zoho/crm/api/data_sharing/response_handler.rb +12 -0
  317. data/src/com/zoho/crm/api/data_sharing/response_wrapper.rb +65 -0
  318. data/src/com/zoho/crm/api/data_sharing/success_response.rb +123 -0
  319. data/src/com/zoho/crm/api/dc/au_datacenter.rb +21 -0
  320. data/src/com/zoho/crm/api/dc/ca_datacenter.rb +21 -0
  321. data/src/com/zoho/crm/api/dc/cn_datacenter.rb +21 -0
  322. data/src/com/zoho/crm/api/dc/datacenter.rb +83 -0
  323. data/src/com/zoho/crm/api/dc/eu_datacenter.rb +21 -0
  324. data/src/com/zoho/crm/api/dc/in_datacenter.rb +21 -0
  325. data/src/com/zoho/crm/api/dc/jp_datacenter.rb +21 -0
  326. data/src/com/zoho/crm/api/dc/sa_datacenter.rb +21 -0
  327. data/src/com/zoho/crm/api/dc/us_datacenter.rb +21 -0
  328. data/src/com/zoho/crm/api/deal_contact_roles/action_handler.rb +12 -0
  329. data/src/com/zoho/crm/api/deal_contact_roles/action_response.rb +12 -0
  330. data/src/com/zoho/crm/api/deal_contact_roles/action_wrapper.rb +65 -0
  331. data/src/com/zoho/crm/api/deal_contact_roles/api_exception.rb +127 -0
  332. data/src/com/zoho/crm/api/deal_contact_roles/body_wrapper.rb +63 -0
  333. data/src/com/zoho/crm/api/deal_contact_roles/contact_role.rb +82 -0
  334. data/src/com/zoho/crm/api/deal_contact_roles/data.rb +154 -0
  335. data/src/com/zoho/crm/api/deal_contact_roles/deal_contact_roles_operations.rb +173 -0
  336. data/src/com/zoho/crm/api/deal_contact_roles/error_details.rb +82 -0
  337. data/src/com/zoho/crm/api/deal_contact_roles/info.rb +177 -0
  338. data/src/com/zoho/crm/api/deal_contact_roles/response_handler.rb +12 -0
  339. data/src/com/zoho/crm/api/deal_contact_roles/response_wrapper.rb +84 -0
  340. data/src/com/zoho/crm/api/deal_contact_roles/success_response.rb +123 -0
  341. data/src/com/zoho/crm/api/definition/api_exception.rb +121 -0
  342. data/src/com/zoho/crm/api/definition/definition.rb +101 -0
  343. data/src/com/zoho/crm/api/definition/minified_property.rb +158 -0
  344. data/src/com/zoho/crm/api/definition/minified_property1.rb +139 -0
  345. data/src/com/zoho/crm/api/definition/property.rb +272 -0
  346. data/src/com/zoho/crm/api/definition/response_wrapper.rb +63 -0
  347. data/src/com/zoho/crm/api/digest/action_handler.rb +12 -0
  348. data/src/com/zoho/crm/api/digest/action_response.rb +12 -0
  349. data/src/com/zoho/crm/api/digest/action_wrapper.rb +65 -0
  350. data/src/com/zoho/crm/api/digest/api_exception.rb +125 -0
  351. data/src/com/zoho/crm/api/digest/body_wrapper.rb +63 -0
  352. data/src/com/zoho/crm/api/digest/dependee.rb +82 -0
  353. data/src/com/zoho/crm/api/digest/digest.rb +101 -0
  354. data/src/com/zoho/crm/api/digest/digest_operations.rb +37 -0
  355. data/src/com/zoho/crm/api/digest/success_response.rb +123 -0
  356. data/src/com/zoho/crm/api/download_attachments/api_exception.rb +123 -0
  357. data/src/com/zoho/crm/api/download_attachments/download_attachments_operations.rb +68 -0
  358. data/src/com/zoho/crm/api/download_attachments/file_body_wrapper.rb +66 -0
  359. data/src/com/zoho/crm/api/download_attachments/response_handler.rb +12 -0
  360. data/src/com/zoho/crm/api/download_inline_images/api_exception.rb +123 -0
  361. data/src/com/zoho/crm/api/download_inline_images/download_inline_images_operations.rb +64 -0
  362. data/src/com/zoho/crm/api/download_inline_images/file_body_wrapper.rb +66 -0
  363. data/src/com/zoho/crm/api/download_inline_images/response_handler.rb +12 -0
  364. data/src/com/zoho/crm/api/duplicate_check_preference/action_handler.rb +12 -0
  365. data/src/com/zoho/crm/api/duplicate_check_preference/action_response.rb +12 -0
  366. data/src/com/zoho/crm/api/duplicate_check_preference/action_wrapper.rb +65 -0
  367. data/src/com/zoho/crm/api/duplicate_check_preference/api_exception.rb +127 -0
  368. data/src/com/zoho/crm/api/duplicate_check_preference/body_wrapper.rb +63 -0
  369. data/src/com/zoho/crm/api/duplicate_check_preference/current_field.rb +101 -0
  370. data/src/com/zoho/crm/api/duplicate_check_preference/duplicate_check_preference.rb +83 -0
  371. data/src/com/zoho/crm/api/duplicate_check_preference/duplicate_check_preference_operations.rb +108 -0
  372. data/src/com/zoho/crm/api/duplicate_check_preference/expected_fields.rb +82 -0
  373. data/src/com/zoho/crm/api/duplicate_check_preference/field_mappings.rb +82 -0
  374. data/src/com/zoho/crm/api/duplicate_check_preference/mapped_field.rb +101 -0
  375. data/src/com/zoho/crm/api/duplicate_check_preference/mapped_module.rb +101 -0
  376. data/src/com/zoho/crm/api/duplicate_check_preference/response_handler.rb +12 -0
  377. data/src/com/zoho/crm/api/duplicate_check_preference/response_wrapper.rb +65 -0
  378. data/src/com/zoho/crm/api/duplicate_check_preference/success_response.rb +123 -0
  379. data/src/com/zoho/crm/api/duplicate_check_preference/type_configuration.rb +82 -0
  380. data/src/com/zoho/crm/api/email_compose/action_handler.rb +12 -0
  381. data/src/com/zoho/crm/api/email_compose/action_response.rb +12 -0
  382. data/src/com/zoho/crm/api/email_compose/action_wrapper.rb +65 -0
  383. data/src/com/zoho/crm/api/email_compose/api_exception.rb +127 -0
  384. data/src/com/zoho/crm/api/email_compose/body_wrapper.rb +63 -0
  385. data/src/com/zoho/crm/api/email_compose/default_from_address.rb +102 -0
  386. data/src/com/zoho/crm/api/email_compose/default_replyto_address.rb +102 -0
  387. data/src/com/zoho/crm/api/email_compose/email_compose.rb +121 -0
  388. data/src/com/zoho/crm/api/email_compose/email_compose_operations.rb +66 -0
  389. data/src/com/zoho/crm/api/email_compose/font.rb +82 -0
  390. data/src/com/zoho/crm/api/email_compose/response_handler.rb +12 -0
  391. data/src/com/zoho/crm/api/email_compose/response_wrapper.rb +65 -0
  392. data/src/com/zoho/crm/api/email_compose/success_response.rb +123 -0
  393. data/src/com/zoho/crm/api/email_compose_meta/data.rb +63 -0
  394. data/src/com/zoho/crm/api/email_compose_meta/data_map.rb +139 -0
  395. data/src/com/zoho/crm/api/email_compose_meta/features_available.rb +349 -0
  396. data/src/com/zoho/crm/api/email_compose_meta/from_address.rb +140 -0
  397. data/src/com/zoho/crm/api/email_compose_meta/signature.rb +82 -0
  398. data/src/com/zoho/crm/api/email_compose_meta/user.rb +139 -0
  399. data/src/com/zoho/crm/api/email_configuration_options/action_handler.rb +12 -0
  400. data/src/com/zoho/crm/api/email_configuration_options/action_response.rb +12 -0
  401. data/src/com/zoho/crm/api/email_configuration_options/action_wrapper.rb +65 -0
  402. data/src/com/zoho/crm/api/email_configuration_options/api_exception.rb +127 -0
  403. data/src/com/zoho/crm/api/email_configuration_options/body_wrapper.rb +63 -0
  404. data/src/com/zoho/crm/api/email_configuration_options/configuration_options.rb +121 -0
  405. data/src/com/zoho/crm/api/email_configuration_options/email_configuration_options_operations.rb +57 -0
  406. data/src/com/zoho/crm/api/email_configuration_options/error_details.rb +120 -0
  407. data/src/com/zoho/crm/api/email_configuration_options/property_details.rb +120 -0
  408. data/src/com/zoho/crm/api/email_configuration_options/range_structure.rb +82 -0
  409. data/src/com/zoho/crm/api/email_configuration_options/response_handler.rb +12 -0
  410. data/src/com/zoho/crm/api/email_configuration_options/response_wrapper.rb +65 -0
  411. data/src/com/zoho/crm/api/email_configuration_options/success_response.rb +123 -0
  412. data/src/com/zoho/crm/api/email_configuration_options/value_details.rb +98 -0
  413. data/src/com/zoho/crm/api/email_drafts/action_response.rb +12 -0
  414. data/src/com/zoho/crm/api/email_drafts/action_wrapper.rb +63 -0
  415. data/src/com/zoho/crm/api/email_drafts/api_exception.rb +123 -0
  416. data/src/com/zoho/crm/api/email_drafts/attachments.rb +120 -0
  417. data/src/com/zoho/crm/api/email_drafts/body_wrapper.rb +63 -0
  418. data/src/com/zoho/crm/api/email_drafts/email_drafts.rb +367 -0
  419. data/src/com/zoho/crm/api/email_drafts/inventory_details.rb +121 -0
  420. data/src/com/zoho/crm/api/email_drafts/inventory_template.rb +82 -0
  421. data/src/com/zoho/crm/api/email_drafts/response_wrapper.rb +63 -0
  422. data/src/com/zoho/crm/api/email_drafts/schedule_details.rb +101 -0
  423. data/src/com/zoho/crm/api/email_drafts/success_response.rb +123 -0
  424. data/src/com/zoho/crm/api/email_drafts/template.rb +82 -0
  425. data/src/com/zoho/crm/api/email_drafts/to.rb +82 -0
  426. data/src/com/zoho/crm/api/email_related_records/api_exception.rb +123 -0
  427. data/src/com/zoho/crm/api/email_related_records/attachments.rb +101 -0
  428. data/src/com/zoho/crm/api/email_related_records/criteria.rb +102 -0
  429. data/src/com/zoho/crm/api/email_related_records/email.rb +537 -0
  430. data/src/com/zoho/crm/api/email_related_records/email_related_records_operations.rb +102 -0
  431. data/src/com/zoho/crm/api/email_related_records/field.rb +63 -0
  432. data/src/com/zoho/crm/api/email_related_records/info.rb +139 -0
  433. data/src/com/zoho/crm/api/email_related_records/linked_record.rb +101 -0
  434. data/src/com/zoho/crm/api/email_related_records/module.rb +82 -0
  435. data/src/com/zoho/crm/api/email_related_records/response_handler.rb +12 -0
  436. data/src/com/zoho/crm/api/email_related_records/response_wrapper.rb +84 -0
  437. data/src/com/zoho/crm/api/email_related_records/status.rb +196 -0
  438. data/src/com/zoho/crm/api/email_related_records/user_details.rb +82 -0
  439. data/src/com/zoho/crm/api/email_sharing_details/api_exception.rb +123 -0
  440. data/src/com/zoho/crm/api/email_sharing_details/email_sharing_details_operations.rb +44 -0
  441. data/src/com/zoho/crm/api/email_sharing_details/email_sharings.rb +82 -0
  442. data/src/com/zoho/crm/api/email_sharing_details/response_handler.rb +12 -0
  443. data/src/com/zoho/crm/api/email_sharing_details/response_wrapper.rb +65 -0
  444. data/src/com/zoho/crm/api/email_sharing_details/share_from_user.rb +101 -0
  445. data/src/com/zoho/crm/api/email_signatures/action_handler.rb +12 -0
  446. data/src/com/zoho/crm/api/email_signatures/action_response.rb +12 -0
  447. data/src/com/zoho/crm/api/email_signatures/action_wrapper.rb +65 -0
  448. data/src/com/zoho/crm/api/email_signatures/api_exception.rb +146 -0
  449. data/src/com/zoho/crm/api/email_signatures/body_wrapper.rb +63 -0
  450. data/src/com/zoho/crm/api/email_signatures/details_group.rb +12 -0
  451. data/src/com/zoho/crm/api/email_signatures/email_signatures.rb +140 -0
  452. data/src/com/zoho/crm/api/email_signatures/email_signatures_operations.rb +220 -0
  453. data/src/com/zoho/crm/api/email_signatures/error_details.rb +177 -0
  454. data/src/com/zoho/crm/api/email_signatures/from_address.rb +82 -0
  455. data/src/com/zoho/crm/api/email_signatures/range_structure.rb +82 -0
  456. data/src/com/zoho/crm/api/email_signatures/response_handler.rb +12 -0
  457. data/src/com/zoho/crm/api/email_signatures/response_wrapper.rb +65 -0
  458. data/src/com/zoho/crm/api/email_signatures/success_response.rb +123 -0
  459. data/src/com/zoho/crm/api/email_templates/api_exception.rb +123 -0
  460. data/src/com/zoho/crm/api/email_templates/attachment.rb +120 -0
  461. data/src/com/zoho/crm/api/email_templates/email_template.rb +452 -0
  462. data/src/com/zoho/crm/api/email_templates/email_templates_operations.rb +79 -0
  463. data/src/com/zoho/crm/api/email_templates/info.rb +120 -0
  464. data/src/com/zoho/crm/api/email_templates/last_version_statistics.rb +158 -0
  465. data/src/com/zoho/crm/api/email_templates/response_handler.rb +12 -0
  466. data/src/com/zoho/crm/api/email_templates/response_wrapper.rb +84 -0
  467. data/src/com/zoho/crm/api/entity_scores/api_exception.rb +123 -0
  468. data/src/com/zoho/crm/api/entity_scores/entity.rb +101 -0
  469. data/src/com/zoho/crm/api/entity_scores/entity_scores.rb +253 -0
  470. data/src/com/zoho/crm/api/entity_scores/entity_scores_operations.rb +114 -0
  471. data/src/com/zoho/crm/api/entity_scores/info.rb +215 -0
  472. data/src/com/zoho/crm/api/entity_scores/module.rb +82 -0
  473. data/src/com/zoho/crm/api/entity_scores/response_handler.rb +12 -0
  474. data/src/com/zoho/crm/api/entity_scores/response_wrapper.rb +84 -0
  475. data/src/com/zoho/crm/api/entity_scores/scoring_rule.rb +82 -0
  476. data/src/com/zoho/crm/api/exception/sdk_exception.rb +49 -0
  477. data/src/com/zoho/crm/api/features/api_exception.rb +123 -0
  478. data/src/com/zoho/crm/api/features/component.rb +120 -0
  479. data/src/com/zoho/crm/api/features/detail.rb +101 -0
  480. data/src/com/zoho/crm/api/features/feature.rb +158 -0
  481. data/src/com/zoho/crm/api/features/features_operations.rb +107 -0
  482. data/src/com/zoho/crm/api/features/info.rb +120 -0
  483. data/src/com/zoho/crm/api/features/limit.rb +82 -0
  484. data/src/com/zoho/crm/api/features/response_handler.rb +12 -0
  485. data/src/com/zoho/crm/api/features/response_wrapper.rb +84 -0
  486. data/src/com/zoho/crm/api/field_attachments/api_exception.rb +123 -0
  487. data/src/com/zoho/crm/api/field_attachments/field_attachments_operations.rb +54 -0
  488. data/src/com/zoho/crm/api/field_attachments/file_body_wrapper.rb +66 -0
  489. data/src/com/zoho/crm/api/field_attachments/response_handler.rb +12 -0
  490. data/src/com/zoho/crm/api/field_map_dependency/action_handler.rb +12 -0
  491. data/src/com/zoho/crm/api/field_map_dependency/action_response.rb +12 -0
  492. data/src/com/zoho/crm/api/field_map_dependency/action_wrapper.rb +65 -0
  493. data/src/com/zoho/crm/api/field_map_dependency/api_exception.rb +127 -0
  494. data/src/com/zoho/crm/api/field_map_dependency/body_wrapper.rb +63 -0
  495. data/src/com/zoho/crm/api/field_map_dependency/child.rb +82 -0
  496. data/src/com/zoho/crm/api/field_map_dependency/field_map_dependency_operations.rb +177 -0
  497. data/src/com/zoho/crm/api/field_map_dependency/info.rb +120 -0
  498. data/src/com/zoho/crm/api/field_map_dependency/map_dependency.rb +215 -0
  499. data/src/com/zoho/crm/api/field_map_dependency/parent.rb +82 -0
  500. data/src/com/zoho/crm/api/field_map_dependency/pick_list_mapping.rb +120 -0
  501. data/src/com/zoho/crm/api/field_map_dependency/picklist_map.rb +120 -0
  502. data/src/com/zoho/crm/api/field_map_dependency/response_handler.rb +12 -0
  503. data/src/com/zoho/crm/api/field_map_dependency/response_wrapper.rb +84 -0
  504. data/src/com/zoho/crm/api/field_map_dependency/sub_module.rb +82 -0
  505. data/src/com/zoho/crm/api/field_map_dependency/success_response.rb +123 -0
  506. data/src/com/zoho/crm/api/fields/action_handler.rb +12 -0
  507. data/src/com/zoho/crm/api/fields/action_response.rb +12 -0
  508. data/src/com/zoho/crm/api/fields/action_wrapper.rb +65 -0
  509. data/src/com/zoho/crm/api/fields/api_exception.rb +127 -0
  510. data/src/com/zoho/crm/api/fields/association_details.rb +82 -0
  511. data/src/com/zoho/crm/api/fields/auto_number.rb +120 -0
  512. data/src/com/zoho/crm/api/fields/body_wrapper.rb +63 -0
  513. data/src/com/zoho/crm/api/fields/connected_details.rb +101 -0
  514. data/src/com/zoho/crm/api/fields/convert_mapping.rb +101 -0
  515. data/src/com/zoho/crm/api/fields/criteria.rb +136 -0
  516. data/src/com/zoho/crm/api/fields/crypt.rb +158 -0
  517. data/src/com/zoho/crm/api/fields/currency.rb +83 -0
  518. data/src/com/zoho/crm/api/fields/email_parser.rb +82 -0
  519. data/src/com/zoho/crm/api/fields/expression.rb +101 -0
  520. data/src/com/zoho/crm/api/fields/external.rb +101 -0
  521. data/src/com/zoho/crm/api/fields/fields.rb +1529 -0
  522. data/src/com/zoho/crm/api/fields/fields_operations.rb +245 -0
  523. data/src/com/zoho/crm/api/fields/file_upolad_option.rb +82 -0
  524. data/src/com/zoho/crm/api/fields/forecast_category.rb +82 -0
  525. data/src/com/zoho/crm/api/fields/formula.rb +158 -0
  526. data/src/com/zoho/crm/api/fields/function_parameter.rb +63 -0
  527. data/src/com/zoho/crm/api/fields/hipaa_compliance.rb +82 -0
  528. data/src/com/zoho/crm/api/fields/history_tracking.rb +83 -0
  529. data/src/com/zoho/crm/api/fields/history_tracking_module.rb +159 -0
  530. data/src/com/zoho/crm/api/fields/layout_association.rb +101 -0
  531. data/src/com/zoho/crm/api/fields/linking_details.rb +101 -0
  532. data/src/com/zoho/crm/api/fields/linking_module.rb +120 -0
  533. data/src/com/zoho/crm/api/fields/lookup.rb +178 -0
  534. data/src/com/zoho/crm/api/fields/lookup_field.rb +101 -0
  535. data/src/com/zoho/crm/api/fields/lookup_layout.rb +82 -0
  536. data/src/com/zoho/crm/api/fields/lookup_related_list.rb +101 -0
  537. data/src/com/zoho/crm/api/fields/mandatory_details.rb +82 -0
  538. data/src/com/zoho/crm/api/fields/maps.rb +82 -0
  539. data/src/com/zoho/crm/api/fields/minified_field.rb +82 -0
  540. data/src/com/zoho/crm/api/fields/multi_module_lookup.rb +102 -0
  541. data/src/com/zoho/crm/api/fields/multiselectlookup.rb +120 -0
  542. data/src/com/zoho/crm/api/fields/operation_type.rb +120 -0
  543. data/src/com/zoho/crm/api/fields/pick_list_value.rb +369 -0
  544. data/src/com/zoho/crm/api/fields/private.rb +101 -0
  545. data/src/com/zoho/crm/api/fields/profile.rb +101 -0
  546. data/src/com/zoho/crm/api/fields/query_details.rb +82 -0
  547. data/src/com/zoho/crm/api/fields/refer_from_field.rb +82 -0
  548. data/src/com/zoho/crm/api/fields/response_handler.rb +12 -0
  549. data/src/com/zoho/crm/api/fields/response_wrapper.rb +65 -0
  550. data/src/com/zoho/crm/api/fields/rollup_criteria.rb +98 -0
  551. data/src/com/zoho/crm/api/fields/rollup_summary.rb +141 -0
  552. data/src/com/zoho/crm/api/fields/sharing_properties.rb +102 -0
  553. data/src/com/zoho/crm/api/fields/show_fields.rb +82 -0
  554. data/src/com/zoho/crm/api/fields/subform.rb +82 -0
  555. data/src/com/zoho/crm/api/fields/success_response.rb +123 -0
  556. data/src/com/zoho/crm/api/fields/textarea.rb +63 -0
  557. data/src/com/zoho/crm/api/fields/tooltip.rb +82 -0
  558. data/src/com/zoho/crm/api/fields/unique.rb +79 -0
  559. data/src/com/zoho/crm/api/fields/view_type.rb +120 -0
  560. data/src/com/zoho/crm/api/files/action_handler.rb +12 -0
  561. data/src/com/zoho/crm/api/files/action_response.rb +12 -0
  562. data/src/com/zoho/crm/api/files/action_wrapper.rb +65 -0
  563. data/src/com/zoho/crm/api/files/api_exception.rb +125 -0
  564. data/src/com/zoho/crm/api/files/body_wrapper.rb +64 -0
  565. data/src/com/zoho/crm/api/files/file_body_wrapper.rb +66 -0
  566. data/src/com/zoho/crm/api/files/files_operations.rb +80 -0
  567. data/src/com/zoho/crm/api/files/response_handler.rb +12 -0
  568. data/src/com/zoho/crm/api/files/success_response.rb +123 -0
  569. data/src/com/zoho/crm/api/find_and_merge/action_handler.rb +12 -0
  570. data/src/com/zoho/crm/api/find_and_merge/action_response.rb +12 -0
  571. data/src/com/zoho/crm/api/find_and_merge/action_wrapper.rb +65 -0
  572. data/src/com/zoho/crm/api/find_and_merge/api_exception.rb +127 -0
  573. data/src/com/zoho/crm/api/find_and_merge/body_wrapper.rb +63 -0
  574. data/src/com/zoho/crm/api/find_and_merge/data_fields.rb +82 -0
  575. data/src/com/zoho/crm/api/find_and_merge/find_and_merge_operations.rb +83 -0
  576. data/src/com/zoho/crm/api/find_and_merge/image_data.rb +63 -0
  577. data/src/com/zoho/crm/api/find_and_merge/master_record_fields.rb +82 -0
  578. data/src/com/zoho/crm/api/find_and_merge/merge.rb +120 -0
  579. data/src/com/zoho/crm/api/find_and_merge/merge_data.rb +82 -0
  580. data/src/com/zoho/crm/api/find_and_merge/response_handler.rb +12 -0
  581. data/src/com/zoho/crm/api/find_and_merge/response_wrapper.rb +65 -0
  582. data/src/com/zoho/crm/api/find_and_merge/success_response.rb +123 -0
  583. data/src/com/zoho/crm/api/fiscal_year/action_handler.rb +12 -0
  584. data/src/com/zoho/crm/api/fiscal_year/action_response.rb +12 -0
  585. data/src/com/zoho/crm/api/fiscal_year/action_wrapper.rb +65 -0
  586. data/src/com/zoho/crm/api/fiscal_year/api_exception.rb +127 -0
  587. data/src/com/zoho/crm/api/fiscal_year/body_wrapper.rb +63 -0
  588. data/src/com/zoho/crm/api/fiscal_year/fiscal_year_operations.rb +51 -0
  589. data/src/com/zoho/crm/api/fiscal_year/response_handler.rb +12 -0
  590. data/src/com/zoho/crm/api/fiscal_year/response_wrapper.rb +65 -0
  591. data/src/com/zoho/crm/api/fiscal_year/success_response.rb +123 -0
  592. data/src/com/zoho/crm/api/fiscal_year/year.rb +102 -0
  593. data/src/com/zoho/crm/api/from_addresses/address.rb +139 -0
  594. data/src/com/zoho/crm/api/from_addresses/api_exception.rb +123 -0
  595. data/src/com/zoho/crm/api/from_addresses/from_addresses_operations.rb +40 -0
  596. data/src/com/zoho/crm/api/from_addresses/response_handler.rb +12 -0
  597. data/src/com/zoho/crm/api/from_addresses/response_wrapper.rb +65 -0
  598. data/src/com/zoho/crm/api/functions/api_exception.rb +123 -0
  599. data/src/com/zoho/crm/api/functions/body_wrapper.rb +63 -0
  600. data/src/com/zoho/crm/api/functions/file_body_wrapper.rb +64 -0
  601. data/src/com/zoho/crm/api/functions/functions_operations.rb +175 -0
  602. data/src/com/zoho/crm/api/functions/response_wrapper.rb +12 -0
  603. data/src/com/zoho/crm/api/functions/success_response.rb +104 -0
  604. data/src/com/zoho/crm/api/get_related_records_count/action_handler.rb +12 -0
  605. data/src/com/zoho/crm/api/get_related_records_count/action_response.rb +12 -0
  606. data/src/com/zoho/crm/api/get_related_records_count/action_wrapper.rb +65 -0
  607. data/src/com/zoho/crm/api/get_related_records_count/api_exception.rb +125 -0
  608. data/src/com/zoho/crm/api/get_related_records_count/body_wrapper.rb +63 -0
  609. data/src/com/zoho/crm/api/get_related_records_count/dependee.rb +82 -0
  610. data/src/com/zoho/crm/api/get_related_records_count/field.rb +63 -0
  611. data/src/com/zoho/crm/api/get_related_records_count/filters.rb +102 -0
  612. data/src/com/zoho/crm/api/get_related_records_count/get_related_record_count.rb +63 -0
  613. data/src/com/zoho/crm/api/get_related_records_count/get_related_records_count_operations.rb +50 -0
  614. data/src/com/zoho/crm/api/get_related_records_count/params.rb +159 -0
  615. data/src/com/zoho/crm/api/get_related_records_count/related_list.rb +82 -0
  616. data/src/com/zoho/crm/api/get_related_records_count/success_response.rb +84 -0
  617. data/src/com/zoho/crm/api/global_picklists/action_handler.rb +12 -0
  618. data/src/com/zoho/crm/api/global_picklists/action_response.rb +12 -0
  619. data/src/com/zoho/crm/api/global_picklists/action_wrapper.rb +65 -0
  620. data/src/com/zoho/crm/api/global_picklists/api_exception.rb +137 -0
  621. data/src/com/zoho/crm/api/global_picklists/association.rb +101 -0
  622. data/src/com/zoho/crm/api/global_picklists/associations_response_handler.rb +12 -0
  623. data/src/com/zoho/crm/api/global_picklists/associations_response_wrapper.rb +84 -0
  624. data/src/com/zoho/crm/api/global_picklists/body_wrapper.rb +63 -0
  625. data/src/com/zoho/crm/api/global_picklists/field.rb +82 -0
  626. data/src/com/zoho/crm/api/global_picklists/global_picklists_operations.rb +313 -0
  627. data/src/com/zoho/crm/api/global_picklists/info.rb +120 -0
  628. data/src/com/zoho/crm/api/global_picklists/layout.rb +101 -0
  629. data/src/com/zoho/crm/api/global_picklists/module.rb +101 -0
  630. data/src/com/zoho/crm/api/global_picklists/pick_list_values.rb +159 -0
  631. data/src/com/zoho/crm/api/global_picklists/pick_list_values_association.rb +82 -0
  632. data/src/com/zoho/crm/api/global_picklists/pick_list_values_associations_response_handler.rb +12 -0
  633. data/src/com/zoho/crm/api/global_picklists/pick_list_values_associations_response_wrapper.rb +65 -0
  634. data/src/com/zoho/crm/api/global_picklists/picklist.rb +330 -0
  635. data/src/com/zoho/crm/api/global_picklists/replace_action_handler.rb +12 -0
  636. data/src/com/zoho/crm/api/global_picklists/replace_action_response.rb +12 -0
  637. data/src/com/zoho/crm/api/global_picklists/replace_action_wrapper.rb +65 -0
  638. data/src/com/zoho/crm/api/global_picklists/replace_body_wrapper.rb +63 -0
  639. data/src/com/zoho/crm/api/global_picklists/replace_picklist_value.rb +82 -0
  640. data/src/com/zoho/crm/api/global_picklists/replace_picklist_values.rb +82 -0
  641. data/src/com/zoho/crm/api/global_picklists/replace_success_response.rb +123 -0
  642. data/src/com/zoho/crm/api/global_picklists/replaced_response_handler.rb +12 -0
  643. data/src/com/zoho/crm/api/global_picklists/replaced_response_wrapper.rb +65 -0
  644. data/src/com/zoho/crm/api/global_picklists/replaced_value.rb +82 -0
  645. data/src/com/zoho/crm/api/global_picklists/resource.rb +102 -0
  646. data/src/com/zoho/crm/api/global_picklists/response_handler.rb +12 -0
  647. data/src/com/zoho/crm/api/global_picklists/response_wrapper.rb +65 -0
  648. data/src/com/zoho/crm/api/global_picklists/success_response.rb +123 -0
  649. data/src/com/zoho/crm/api/header.rb +12 -0
  650. data/src/com/zoho/crm/api/header_map.rb +63 -0
  651. data/src/com/zoho/crm/api/hipaa_compliance/action_handler.rb +12 -0
  652. data/src/com/zoho/crm/api/hipaa_compliance/action_response.rb +12 -0
  653. data/src/com/zoho/crm/api/hipaa_compliance/action_wrapper.rb +63 -0
  654. data/src/com/zoho/crm/api/hipaa_compliance/api_exception.rb +123 -0
  655. data/src/com/zoho/crm/api/hipaa_compliance/hipaa_compliance.rb +158 -0
  656. data/src/com/zoho/crm/api/hipaa_compliance/modules.rb +82 -0
  657. data/src/com/zoho/crm/api/hipaa_compliance/response_wrapper.rb +63 -0
  658. data/src/com/zoho/crm/api/hipaa_compliance/success_response.rb +123 -0
  659. data/src/com/zoho/crm/api/holidays/action_handler.rb +12 -0
  660. data/src/com/zoho/crm/api/holidays/action_response.rb +12 -0
  661. data/src/com/zoho/crm/api/holidays/action_wrapper.rb +65 -0
  662. data/src/com/zoho/crm/api/holidays/api_exception.rb +127 -0
  663. data/src/com/zoho/crm/api/holidays/body_wrapper.rb +12 -0
  664. data/src/com/zoho/crm/api/holidays/business_holiday.rb +101 -0
  665. data/src/com/zoho/crm/api/holidays/create_business_holiday.rb +65 -0
  666. data/src/com/zoho/crm/api/holidays/create_shift_holiday.rb +65 -0
  667. data/src/com/zoho/crm/api/holidays/holiday.rb +158 -0
  668. data/src/com/zoho/crm/api/holidays/holidays.rb +63 -0
  669. data/src/com/zoho/crm/api/holidays/holidays_operations.rb +189 -0
  670. data/src/com/zoho/crm/api/holidays/info.rb +120 -0
  671. data/src/com/zoho/crm/api/holidays/response_handler.rb +12 -0
  672. data/src/com/zoho/crm/api/holidays/response_wrapper.rb +84 -0
  673. data/src/com/zoho/crm/api/holidays/shift_holiday.rb +121 -0
  674. data/src/com/zoho/crm/api/holidays/shift_hour.rb +82 -0
  675. data/src/com/zoho/crm/api/holidays/success_response.rb +123 -0
  676. data/src/com/zoho/crm/api/initializer.rb +232 -0
  677. data/src/com/zoho/crm/api/inventory_convert/action_handler.rb +12 -0
  678. data/src/com/zoho/crm/api/inventory_convert/action_response.rb +12 -0
  679. data/src/com/zoho/crm/api/inventory_convert/action_wrapper.rb +65 -0
  680. data/src/com/zoho/crm/api/inventory_convert/api_exception.rb +125 -0
  681. data/src/com/zoho/crm/api/inventory_convert/body_wrapper.rb +63 -0
  682. data/src/com/zoho/crm/api/inventory_convert/convert_to.rb +82 -0
  683. data/src/com/zoho/crm/api/inventory_convert/inventory_convert_operations.rb +51 -0
  684. data/src/com/zoho/crm/api/inventory_convert/inventory_converter.rb +63 -0
  685. data/src/com/zoho/crm/api/inventory_convert/module.rb +82 -0
  686. data/src/com/zoho/crm/api/inventory_convert/record.rb +82 -0
  687. data/src/com/zoho/crm/api/inventory_convert/success_response.rb +123 -0
  688. data/src/com/zoho/crm/api/inventory_mass_convert/action_response.rb +12 -0
  689. data/src/com/zoho/crm/api/inventory_mass_convert/api_exception.rb +125 -0
  690. data/src/com/zoho/crm/api/inventory_mass_convert/body_wrapper.rb +120 -0
  691. data/src/com/zoho/crm/api/inventory_mass_convert/convert_to.rb +82 -0
  692. data/src/com/zoho/crm/api/inventory_mass_convert/inventory_mass_convert_operations.rb +74 -0
  693. data/src/com/zoho/crm/api/inventory_mass_convert/module.rb +82 -0
  694. data/src/com/zoho/crm/api/inventory_mass_convert/related_modules.rb +82 -0
  695. data/src/com/zoho/crm/api/inventory_mass_convert/response_handler.rb +12 -0
  696. data/src/com/zoho/crm/api/inventory_mass_convert/status.rb +141 -0
  697. data/src/com/zoho/crm/api/inventory_mass_convert/success_response.rb +123 -0
  698. data/src/com/zoho/crm/api/inventory_mass_convert/user.rb +82 -0
  699. data/src/com/zoho/crm/api/inventory_templates/api_exception.rb +123 -0
  700. data/src/com/zoho/crm/api/inventory_templates/folder.rb +82 -0
  701. data/src/com/zoho/crm/api/inventory_templates/info.rb +120 -0
  702. data/src/com/zoho/crm/api/inventory_templates/inventory_templates.rb +333 -0
  703. data/src/com/zoho/crm/api/inventory_templates/inventory_templates_operations.rb +79 -0
  704. data/src/com/zoho/crm/api/inventory_templates/module_map.rb +82 -0
  705. data/src/com/zoho/crm/api/inventory_templates/response_handler.rb +12 -0
  706. data/src/com/zoho/crm/api/inventory_templates/response_wrapper.rb +84 -0
  707. data/src/com/zoho/crm/api/inventory_templates/user.rb +82 -0
  708. data/src/com/zoho/crm/api/isc_signature/signature.rb +60 -0
  709. data/src/com/zoho/crm/api/layouts/action_handler.rb +12 -0
  710. data/src/com/zoho/crm/api/layouts/action_response.rb +12 -0
  711. data/src/com/zoho/crm/api/layouts/action_wrapper.rb +65 -0
  712. data/src/com/zoho/crm/api/layouts/actions_allowed.rb +272 -0
  713. data/src/com/zoho/crm/api/layouts/api_exception.rb +127 -0
  714. data/src/com/zoho/crm/api/layouts/body_wrapper.rb +63 -0
  715. data/src/com/zoho/crm/api/layouts/convert_mapping.rb +139 -0
  716. data/src/com/zoho/crm/api/layouts/deal_field.rb +120 -0
  717. data/src/com/zoho/crm/api/layouts/deal_layout_mapping.rb +103 -0
  718. data/src/com/zoho/crm/api/layouts/default_assignment_view.rb +101 -0
  719. data/src/com/zoho/crm/api/layouts/default_view.rb +101 -0
  720. data/src/com/zoho/crm/api/layouts/delete1.rb +63 -0
  721. data/src/com/zoho/crm/api/layouts/layouts.rb +463 -0
  722. data/src/com/zoho/crm/api/layouts/layouts_operations.rb +228 -0
  723. data/src/com/zoho/crm/api/layouts/minified_layout.rb +82 -0
  724. data/src/com/zoho/crm/api/layouts/profiles.rb +139 -0
  725. data/src/com/zoho/crm/api/layouts/properties.rb +101 -0
  726. data/src/com/zoho/crm/api/layouts/response_handler.rb +12 -0
  727. data/src/com/zoho/crm/api/layouts/response_wrapper.rb +65 -0
  728. data/src/com/zoho/crm/api/layouts/section_field.rb +1652 -0
  729. data/src/com/zoho/crm/api/layouts/section_subform_field.rb +101 -0
  730. data/src/com/zoho/crm/api/layouts/sections.rb +310 -0
  731. data/src/com/zoho/crm/api/layouts/static_values.rb +101 -0
  732. data/src/com/zoho/crm/api/layouts/subform_property.rb +63 -0
  733. data/src/com/zoho/crm/api/layouts/success_response.rb +123 -0
  734. data/src/com/zoho/crm/api/layouts/tooltip.rb +83 -0
  735. data/src/com/zoho/crm/api/mail_merge/action_handler.rb +12 -0
  736. data/src/com/zoho/crm/api/mail_merge/action_response.rb +12 -0
  737. data/src/com/zoho/crm/api/mail_merge/action_wrapper.rb +65 -0
  738. data/src/com/zoho/crm/api/mail_merge/address.rb +82 -0
  739. data/src/com/zoho/crm/api/mail_merge/api_exception.rb +131 -0
  740. data/src/com/zoho/crm/api/mail_merge/download_mail_merge.rb +121 -0
  741. data/src/com/zoho/crm/api/mail_merge/download_mail_merge_wrapper.rb +63 -0
  742. data/src/com/zoho/crm/api/mail_merge/download_response_handler.rb +12 -0
  743. data/src/com/zoho/crm/api/mail_merge/file_body_wrapper.rb +66 -0
  744. data/src/com/zoho/crm/api/mail_merge/mail_merge.rb +215 -0
  745. data/src/com/zoho/crm/api/mail_merge/mail_merge_operations.rb +101 -0
  746. data/src/com/zoho/crm/api/mail_merge/mail_merge_template.rb +82 -0
  747. data/src/com/zoho/crm/api/mail_merge/mail_merge_wrapper.rb +63 -0
  748. data/src/com/zoho/crm/api/mail_merge/sign_action_handler.rb +12 -0
  749. data/src/com/zoho/crm/api/mail_merge/sign_action_response.rb +12 -0
  750. data/src/com/zoho/crm/api/mail_merge/sign_action_wrapper.rb +65 -0
  751. data/src/com/zoho/crm/api/mail_merge/sign_mail_merge.rb +120 -0
  752. data/src/com/zoho/crm/api/mail_merge/sign_mail_merge_wrapper.rb +63 -0
  753. data/src/com/zoho/crm/api/mail_merge/signers.rb +102 -0
  754. data/src/com/zoho/crm/api/mail_merge/success_response.rb +125 -0
  755. data/src/com/zoho/crm/api/mass_change_owner/action_handler.rb +12 -0
  756. data/src/com/zoho/crm/api/mass_change_owner/action_response.rb +12 -0
  757. data/src/com/zoho/crm/api/mass_change_owner/action_wrapper.rb +65 -0
  758. data/src/com/zoho/crm/api/mass_change_owner/api_exception.rb +125 -0
  759. data/src/com/zoho/crm/api/mass_change_owner/body_wrapper.rb +120 -0
  760. data/src/com/zoho/crm/api/mass_change_owner/criteria.rb +136 -0
  761. data/src/com/zoho/crm/api/mass_change_owner/field.rb +82 -0
  762. data/src/com/zoho/crm/api/mass_change_owner/mass_change_owner_operations.rb +73 -0
  763. data/src/com/zoho/crm/api/mass_change_owner/owner.rb +82 -0
  764. data/src/com/zoho/crm/api/mass_change_owner/response_handler.rb +12 -0
  765. data/src/com/zoho/crm/api/mass_change_owner/response_wrapper.rb +65 -0
  766. data/src/com/zoho/crm/api/mass_change_owner/status.rb +140 -0
  767. data/src/com/zoho/crm/api/mass_change_owner/success_response.rb +123 -0
  768. data/src/com/zoho/crm/api/mass_change_owner/territory.rb +82 -0
  769. data/src/com/zoho/crm/api/mass_convert/action_response.rb +12 -0
  770. data/src/com/zoho/crm/api/mass_convert/api_exception.rb +125 -0
  771. data/src/com/zoho/crm/api/mass_convert/assign_to.rb +63 -0
  772. data/src/com/zoho/crm/api/mass_convert/body_wrapper.rb +197 -0
  773. data/src/com/zoho/crm/api/mass_convert/error_details.rb +82 -0
  774. data/src/com/zoho/crm/api/mass_convert/mass_convert_operations.rb +68 -0
  775. data/src/com/zoho/crm/api/mass_convert/move_attachments_to.rb +82 -0
  776. data/src/com/zoho/crm/api/mass_convert/portal_user_type.rb +82 -0
  777. data/src/com/zoho/crm/api/mass_convert/related_module.rb +82 -0
  778. data/src/com/zoho/crm/api/mass_convert/response_handler.rb +12 -0
  779. data/src/com/zoho/crm/api/mass_convert/response_wrapper.rb +65 -0
  780. data/src/com/zoho/crm/api/mass_convert/status.rb +139 -0
  781. data/src/com/zoho/crm/api/mass_convert/success_response.rb +123 -0
  782. data/src/com/zoho/crm/api/mass_delete_cvid/action_handler.rb +12 -0
  783. data/src/com/zoho/crm/api/mass_delete_cvid/action_response.rb +12 -0
  784. data/src/com/zoho/crm/api/mass_delete_cvid/action_wrapper.rb +65 -0
  785. data/src/com/zoho/crm/api/mass_delete_cvid/api_exception.rb +127 -0
  786. data/src/com/zoho/crm/api/mass_delete_cvid/cvid_body_wrapper.rb +82 -0
  787. data/src/com/zoho/crm/api/mass_delete_cvid/mass_delete_cvid_operations.rb +95 -0
  788. data/src/com/zoho/crm/api/mass_delete_cvid/record_id_body_wrapper.rb +82 -0
  789. data/src/com/zoho/crm/api/mass_delete_cvid/response_handler.rb +12 -0
  790. data/src/com/zoho/crm/api/mass_delete_cvid/response_wrapper.rb +65 -0
  791. data/src/com/zoho/crm/api/mass_delete_cvid/status.rb +121 -0
  792. data/src/com/zoho/crm/api/mass_delete_cvid/success_response.rb +123 -0
  793. data/src/com/zoho/crm/api/mass_delete_cvid/territory.rb +82 -0
  794. data/src/com/zoho/crm/api/mass_delete_tags/action_response.rb +12 -0
  795. data/src/com/zoho/crm/api/mass_delete_tags/api_exception.rb +127 -0
  796. data/src/com/zoho/crm/api/mass_delete_tags/body_wrapper.rb +63 -0
  797. data/src/com/zoho/crm/api/mass_delete_tags/error_detail1.rb +82 -0
  798. data/src/com/zoho/crm/api/mass_delete_tags/mass_delete.rb +82 -0
  799. data/src/com/zoho/crm/api/mass_delete_tags/mass_delete_details.rb +142 -0
  800. data/src/com/zoho/crm/api/mass_delete_tags/mass_delete_tags_operations.rb +64 -0
  801. data/src/com/zoho/crm/api/mass_delete_tags/module.rb +82 -0
  802. data/src/com/zoho/crm/api/mass_delete_tags/status_action_response.rb +12 -0
  803. data/src/com/zoho/crm/api/mass_delete_tags/status_response_handler.rb +12 -0
  804. data/src/com/zoho/crm/api/mass_delete_tags/status_response_wrapper.rb +65 -0
  805. data/src/com/zoho/crm/api/mass_delete_tags/success_response.rb +123 -0
  806. data/src/com/zoho/crm/api/mass_delete_tags/tag.rb +63 -0
  807. data/src/com/zoho/crm/api/modules/action_handler.rb +12 -0
  808. data/src/com/zoho/crm/api/modules/action_response.rb +12 -0
  809. data/src/com/zoho/crm/api/modules/action_wrapper.rb +65 -0
  810. data/src/com/zoho/crm/api/modules/api_exception.rb +127 -0
  811. data/src/com/zoho/crm/api/modules/argument.rb +82 -0
  812. data/src/com/zoho/crm/api/modules/body_wrapper.rb +63 -0
  813. data/src/com/zoho/crm/api/modules/lookup_field.rb +103 -0
  814. data/src/com/zoho/crm/api/modules/lookup_field_properties.rb +63 -0
  815. data/src/com/zoho/crm/api/modules/minified_module.rb +139 -0
  816. data/src/com/zoho/crm/api/modules/module_field_lookup.rb +181 -0
  817. data/src/com/zoho/crm/api/modules/module_fields.rb +1555 -0
  818. data/src/com/zoho/crm/api/modules/modules.rb +1302 -0
  819. data/src/com/zoho/crm/api/modules/modules_operations.rb +169 -0
  820. data/src/com/zoho/crm/api/modules/related_list_properties.rb +102 -0
  821. data/src/com/zoho/crm/api/modules/response_handler.rb +12 -0
  822. data/src/com/zoho/crm/api/modules/response_wrapper.rb +65 -0
  823. data/src/com/zoho/crm/api/modules/sharing_properties.rb +102 -0
  824. data/src/com/zoho/crm/api/modules/static_subform_field.rb +82 -0
  825. data/src/com/zoho/crm/api/modules/static_subform_properties.rb +63 -0
  826. data/src/com/zoho/crm/api/modules/success_response.rb +123 -0
  827. data/src/com/zoho/crm/api/modules/territory.rb +101 -0
  828. data/src/com/zoho/crm/api/notes/action_handler.rb +12 -0
  829. data/src/com/zoho/crm/api/notes/action_response.rb +12 -0
  830. data/src/com/zoho/crm/api/notes/action_wrapper.rb +65 -0
  831. data/src/com/zoho/crm/api/notes/api_exception.rb +127 -0
  832. data/src/com/zoho/crm/api/notes/body_wrapper.rb +63 -0
  833. data/src/com/zoho/crm/api/notes/info.rb +215 -0
  834. data/src/com/zoho/crm/api/notes/note.rb +350 -0
  835. data/src/com/zoho/crm/api/notes/notes_operations.rb +233 -0
  836. data/src/com/zoho/crm/api/notes/parent_id.rb +102 -0
  837. data/src/com/zoho/crm/api/notes/response_handler.rb +12 -0
  838. data/src/com/zoho/crm/api/notes/response_wrapper.rb +84 -0
  839. data/src/com/zoho/crm/api/notes/success_response.rb +123 -0
  840. data/src/com/zoho/crm/api/notifications/action_handler.rb +12 -0
  841. data/src/com/zoho/crm/api/notifications/action_response.rb +12 -0
  842. data/src/com/zoho/crm/api/notifications/action_wrapper.rb +65 -0
  843. data/src/com/zoho/crm/api/notifications/api_exception.rb +127 -0
  844. data/src/com/zoho/crm/api/notifications/body_wrapper.rb +63 -0
  845. data/src/com/zoho/crm/api/notifications/criteria.rb +136 -0
  846. data/src/com/zoho/crm/api/notifications/event.rb +158 -0
  847. data/src/com/zoho/crm/api/notifications/field.rb +82 -0
  848. data/src/com/zoho/crm/api/notifications/info.rb +120 -0
  849. data/src/com/zoho/crm/api/notifications/module.rb +82 -0
  850. data/src/com/zoho/crm/api/notifications/notification.rb +294 -0
  851. data/src/com/zoho/crm/api/notifications/notification_condition.rb +101 -0
  852. data/src/com/zoho/crm/api/notifications/notifications_operations.rb +165 -0
  853. data/src/com/zoho/crm/api/notifications/response_handler.rb +12 -0
  854. data/src/com/zoho/crm/api/notifications/response_wrapper.rb +84 -0
  855. data/src/com/zoho/crm/api/notifications/success_response.rb +123 -0
  856. data/src/com/zoho/crm/api/org/action_handler.rb +12 -0
  857. data/src/com/zoho/crm/api/org/action_response.rb +12 -0
  858. data/src/com/zoho/crm/api/org/action_wrapper.rb +63 -0
  859. data/src/com/zoho/crm/api/org/api_exception.rb +184 -0
  860. data/src/com/zoho/crm/api/org/checkin_preferences.rb +63 -0
  861. data/src/com/zoho/crm/api/org/feature.rb +82 -0
  862. data/src/com/zoho/crm/api/org/file_body_wrapper.rb +66 -0
  863. data/src/com/zoho/crm/api/org/hierarchy_preferences.rb +83 -0
  864. data/src/com/zoho/crm/api/org/license_details.rb +177 -0
  865. data/src/com/zoho/crm/api/org/org.rb +862 -0
  866. data/src/com/zoho/crm/api/org/org_operations.rb +82 -0
  867. data/src/com/zoho/crm/api/org/resource.rb +82 -0
  868. data/src/com/zoho/crm/api/org/response_handler.rb +12 -0
  869. data/src/com/zoho/crm/api/org/response_wrapper.rb +65 -0
  870. data/src/com/zoho/crm/api/org/success_response.rb +125 -0
  871. data/src/com/zoho/crm/api/param.rb +12 -0
  872. data/src/com/zoho/crm/api/parameter_map.rb +62 -0
  873. data/src/com/zoho/crm/api/pick_list_values/api_exception.rb +123 -0
  874. data/src/com/zoho/crm/api/pick_list_values/layout_association.rb +101 -0
  875. data/src/com/zoho/crm/api/pick_list_values/pick_list_values.rb +196 -0
  876. data/src/com/zoho/crm/api/pick_list_values/pick_list_values_operations.rb +47 -0
  877. data/src/com/zoho/crm/api/pick_list_values/response_handler.rb +12 -0
  878. data/src/com/zoho/crm/api/pick_list_values/response_wrapper.rb +65 -0
  879. data/src/com/zoho/crm/api/pipeline/action_handler.rb +12 -0
  880. data/src/com/zoho/crm/api/pipeline/action_response.rb +12 -0
  881. data/src/com/zoho/crm/api/pipeline/action_wrapper.rb +65 -0
  882. data/src/com/zoho/crm/api/pipeline/api_exception.rb +131 -0
  883. data/src/com/zoho/crm/api/pipeline/body_wrapper.rb +63 -0
  884. data/src/com/zoho/crm/api/pipeline/d_pipeline.rb +63 -0
  885. data/src/com/zoho/crm/api/pipeline/d_pipeline_wrapper.rb +63 -0
  886. data/src/com/zoho/crm/api/pipeline/delete.rb +63 -0
  887. data/src/com/zoho/crm/api/pipeline/forecast_category.rb +82 -0
  888. data/src/com/zoho/crm/api/pipeline/json_details.rb +101 -0
  889. data/src/com/zoho/crm/api/pipeline/maps.rb +196 -0
  890. data/src/com/zoho/crm/api/pipeline/pipeline.rb +177 -0
  891. data/src/com/zoho/crm/api/pipeline/pipeline_operations.rb +195 -0
  892. data/src/com/zoho/crm/api/pipeline/response_handler.rb +12 -0
  893. data/src/com/zoho/crm/api/pipeline/response_wrapper.rb +65 -0
  894. data/src/com/zoho/crm/api/pipeline/stages.rb +82 -0
  895. data/src/com/zoho/crm/api/pipeline/success_response.rb +123 -0
  896. data/src/com/zoho/crm/api/pipeline/t_pipeline.rb +82 -0
  897. data/src/com/zoho/crm/api/pipeline/transfer_pipeline.rb +82 -0
  898. data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_handler.rb +12 -0
  899. data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_response.rb +12 -0
  900. data/src/com/zoho/crm/api/pipeline/transfer_pipeline_action_wrapper.rb +65 -0
  901. data/src/com/zoho/crm/api/pipeline/transfer_pipeline_success_response.rb +123 -0
  902. data/src/com/zoho/crm/api/pipeline/transfer_pipeline_wrapper.rb +63 -0
  903. data/src/com/zoho/crm/api/portal_invite/action_handler.rb +12 -0
  904. data/src/com/zoho/crm/api/portal_invite/action_response.rb +12 -0
  905. data/src/com/zoho/crm/api/portal_invite/action_wrapper.rb +65 -0
  906. data/src/com/zoho/crm/api/portal_invite/api_exception.rb +127 -0
  907. data/src/com/zoho/crm/api/portal_invite/body_wrapper.rb +63 -0
  908. data/src/com/zoho/crm/api/portal_invite/data.rb +12 -0
  909. data/src/com/zoho/crm/api/portal_invite/job_response.rb +101 -0
  910. data/src/com/zoho/crm/api/portal_invite/portal.rb +121 -0
  911. data/src/com/zoho/crm/api/portal_invite/portal_invite.rb +63 -0
  912. data/src/com/zoho/crm/api/portal_invite/portal_invite_operations.rb +66 -0
  913. data/src/com/zoho/crm/api/portal_invite/response_wrapper.rb +63 -0
  914. data/src/com/zoho/crm/api/portal_invite/success_response.rb +125 -0
  915. data/src/com/zoho/crm/api/portal_user_type/action_handler.rb +12 -0
  916. data/src/com/zoho/crm/api/portal_user_type/action_response.rb +12 -0
  917. data/src/com/zoho/crm/api/portal_user_type/action_wrapper.rb +65 -0
  918. data/src/com/zoho/crm/api/portal_user_type/api_exception.rb +127 -0
  919. data/src/com/zoho/crm/api/portal_user_type/body_wrapper.rb +63 -0
  920. data/src/com/zoho/crm/api/portal_user_type/fields.rb +101 -0
  921. data/src/com/zoho/crm/api/portal_user_type/filters.rb +101 -0
  922. data/src/com/zoho/crm/api/portal_user_type/layouts.rb +120 -0
  923. data/src/com/zoho/crm/api/portal_user_type/modules.rb +215 -0
  924. data/src/com/zoho/crm/api/portal_user_type/owner.rb +82 -0
  925. data/src/com/zoho/crm/api/portal_user_type/permissions.rb +177 -0
  926. data/src/com/zoho/crm/api/portal_user_type/personality_module.rb +101 -0
  927. data/src/com/zoho/crm/api/portal_user_type/portal_user_type_operations.rb +144 -0
  928. data/src/com/zoho/crm/api/portal_user_type/response_handler.rb +12 -0
  929. data/src/com/zoho/crm/api/portal_user_type/response_wrapper.rb +65 -0
  930. data/src/com/zoho/crm/api/portal_user_type/success_response.rb +123 -0
  931. data/src/com/zoho/crm/api/portal_user_type/user_type.rb +253 -0
  932. data/src/com/zoho/crm/api/portal_user_type/views.rb +120 -0
  933. data/src/com/zoho/crm/api/portals/action_handler.rb +12 -0
  934. data/src/com/zoho/crm/api/portals/action_response.rb +12 -0
  935. data/src/com/zoho/crm/api/portals/action_wrapper.rb +65 -0
  936. data/src/com/zoho/crm/api/portals/api_exception.rb +127 -0
  937. data/src/com/zoho/crm/api/portals/body_wrapper.rb +63 -0
  938. data/src/com/zoho/crm/api/portals/owner.rb +82 -0
  939. data/src/com/zoho/crm/api/portals/portals.rb +177 -0
  940. data/src/com/zoho/crm/api/portals/portals_operations.rb +96 -0
  941. data/src/com/zoho/crm/api/portals/response_handler.rb +12 -0
  942. data/src/com/zoho/crm/api/portals/response_wrapper.rb +65 -0
  943. data/src/com/zoho/crm/api/portals/success_response.rb +123 -0
  944. data/src/com/zoho/crm/api/portals_meta/filters.rb +101 -0
  945. data/src/com/zoho/crm/api/portals_meta/layouts.rb +101 -0
  946. data/src/com/zoho/crm/api/portals_meta/modules.rb +177 -0
  947. data/src/com/zoho/crm/api/portals_meta/related_lists.rb +63 -0
  948. data/src/com/zoho/crm/api/portals_meta/views.rb +120 -0
  949. data/src/com/zoho/crm/api/portals_meta/wrapper.rb +63 -0
  950. data/src/com/zoho/crm/api/privacy_configurable_apps/apps.rb +63 -0
  951. data/src/com/zoho/crm/api/privacy_configurable_apps/wrapper.rb +63 -0
  952. data/src/com/zoho/crm/api/privacy_preference/config.rb +101 -0
  953. data/src/com/zoho/crm/api/privacy_preference/option.rb +120 -0
  954. data/src/com/zoho/crm/api/privacy_preference/preference.rb +462 -0
  955. data/src/com/zoho/crm/api/privacy_preference/privacy_preference.rb +82 -0
  956. data/src/com/zoho/crm/api/privacy_preference/section.rb +139 -0
  957. data/src/com/zoho/crm/api/privacy_preference/tpt.rb +101 -0
  958. data/src/com/zoho/crm/api/privacy_preference/wrapper.rb +63 -0
  959. data/src/com/zoho/crm/api/profiles/action_handler.rb +12 -0
  960. data/src/com/zoho/crm/api/profiles/action_response.rb +12 -0
  961. data/src/com/zoho/crm/api/profiles/action_wrapper.rb +65 -0
  962. data/src/com/zoho/crm/api/profiles/api_exception.rb +127 -0
  963. data/src/com/zoho/crm/api/profiles/body_wrapper.rb +63 -0
  964. data/src/com/zoho/crm/api/profiles/category.rb +12 -0
  965. data/src/com/zoho/crm/api/profiles/category_module.rb +122 -0
  966. data/src/com/zoho/crm/api/profiles/category_others.rb +103 -0
  967. data/src/com/zoho/crm/api/profiles/default_view.rb +101 -0
  968. data/src/com/zoho/crm/api/profiles/info.rb +63 -0
  969. data/src/com/zoho/crm/api/profiles/minified_profile.rb +101 -0
  970. data/src/com/zoho/crm/api/profiles/permission_detail.rb +177 -0
  971. data/src/com/zoho/crm/api/profiles/profile.rb +369 -0
  972. data/src/com/zoho/crm/api/profiles/profiles_operations.rb +152 -0
  973. data/src/com/zoho/crm/api/profiles/response_handler.rb +12 -0
  974. data/src/com/zoho/crm/api/profiles/response_wrapper.rb +84 -0
  975. data/src/com/zoho/crm/api/profiles/section.rb +82 -0
  976. data/src/com/zoho/crm/api/profiles/success_response.rb +125 -0
  977. data/src/com/zoho/crm/api/record/action_handler.rb +12 -0
  978. data/src/com/zoho/crm/api/record/action_response.rb +12 -0
  979. data/src/com/zoho/crm/api/record/action_wrapper.rb +65 -0
  980. data/src/com/zoho/crm/api/record/api_exception.rb +143 -0
  981. data/src/com/zoho/crm/api/record/body_wrapper.rb +158 -0
  982. data/src/com/zoho/crm/api/record/comment.rb +120 -0
  983. data/src/com/zoho/crm/api/record/consent.rb +307 -0
  984. data/src/com/zoho/crm/api/record/count_handler.rb +12 -0
  985. data/src/com/zoho/crm/api/record/count_wrapper.rb +65 -0
  986. data/src/com/zoho/crm/api/record/criteria.rb +137 -0
  987. data/src/com/zoho/crm/api/record/deleted_record.rb +159 -0
  988. data/src/com/zoho/crm/api/record/deleted_records_handler.rb +12 -0
  989. data/src/com/zoho/crm/api/record/deleted_records_wrapper.rb +84 -0
  990. data/src/com/zoho/crm/api/record/download_handler.rb +12 -0
  991. data/src/com/zoho/crm/api/record/duplicate_record.rb +103 -0
  992. data/src/com/zoho/crm/api/record/field.rb +2867 -0
  993. data/src/com/zoho/crm/api/record/file_body_wrapper.rb +68 -0
  994. data/src/com/zoho/crm/api/record/file_details.rb +235 -0
  995. data/src/com/zoho/crm/api/record/file_handler.rb +12 -0
  996. data/src/com/zoho/crm/api/record/image_upload.rb +330 -0
  997. data/src/com/zoho/crm/api/record/info.rb +253 -0
  998. data/src/com/zoho/crm/api/record/line_item_product.rb +171 -0
  999. data/src/com/zoho/crm/api/record/line_tax.rb +139 -0
  1000. data/src/com/zoho/crm/api/record/mass_update.rb +142 -0
  1001. data/src/com/zoho/crm/api/record/mass_update_action_handler.rb +12 -0
  1002. data/src/com/zoho/crm/api/record/mass_update_action_response.rb +12 -0
  1003. data/src/com/zoho/crm/api/record/mass_update_action_wrapper.rb +65 -0
  1004. data/src/com/zoho/crm/api/record/mass_update_body_wrapper.rb +158 -0
  1005. data/src/com/zoho/crm/api/record/mass_update_response.rb +12 -0
  1006. data/src/com/zoho/crm/api/record/mass_update_response_handler.rb +12 -0
  1007. data/src/com/zoho/crm/api/record/mass_update_response_wrapper.rb +65 -0
  1008. data/src/com/zoho/crm/api/record/mass_update_success_response.rb +123 -0
  1009. data/src/com/zoho/crm/api/record/mass_update_territory.rb +82 -0
  1010. data/src/com/zoho/crm/api/record/multi_select_lookup.rb +101 -0
  1011. data/src/com/zoho/crm/api/record/multi_select_picklist.rb +82 -0
  1012. data/src/com/zoho/crm/api/record/options.rb +32 -0
  1013. data/src/com/zoho/crm/api/record/participants.rb +222 -0
  1014. data/src/com/zoho/crm/api/record/price_book.rb +137 -0
  1015. data/src/com/zoho/crm/api/record/pricing_details.rb +188 -0
  1016. data/src/com/zoho/crm/api/record/record.rb +211 -0
  1017. data/src/com/zoho/crm/api/record/record_operations.rb +1147 -0
  1018. data/src/com/zoho/crm/api/record/recurring_activity.rb +82 -0
  1019. data/src/com/zoho/crm/api/record/remind_at.rb +63 -0
  1020. data/src/com/zoho/crm/api/record/reminder.rb +101 -0
  1021. data/src/com/zoho/crm/api/record/response_handler.rb +12 -0
  1022. data/src/com/zoho/crm/api/record/response_wrapper.rb +84 -0
  1023. data/src/com/zoho/crm/api/record/success_response.rb +163 -0
  1024. data/src/com/zoho/crm/api/record/tax.rb +82 -0
  1025. data/src/com/zoho/crm/api/record/territory.rb +140 -0
  1026. data/src/com/zoho/crm/api/record/time_range.rb +82 -0
  1027. data/src/com/zoho/crm/api/record/widget.rb +82 -0
  1028. data/src/com/zoho/crm/api/record/wizard.rb +82 -0
  1029. data/src/com/zoho/crm/api/record_locking/action_handler.rb +12 -0
  1030. data/src/com/zoho/crm/api/record_locking/action_response.rb +12 -0
  1031. data/src/com/zoho/crm/api/record_locking/action_wrapper.rb +65 -0
  1032. data/src/com/zoho/crm/api/record_locking/api_exception.rb +127 -0
  1033. data/src/com/zoho/crm/api/record_locking/body_wrapper.rb +63 -0
  1034. data/src/com/zoho/crm/api/record_locking/info.rb +253 -0
  1035. data/src/com/zoho/crm/api/record_locking/lock_record.rb +63 -0
  1036. data/src/com/zoho/crm/api/record_locking/locked_for_s.rb +101 -0
  1037. data/src/com/zoho/crm/api/record_locking/record_lock.rb +257 -0
  1038. data/src/com/zoho/crm/api/record_locking/record_locking_operations.rb +198 -0
  1039. data/src/com/zoho/crm/api/record_locking/response_handler.rb +12 -0
  1040. data/src/com/zoho/crm/api/record_locking/response_wrapper.rb +84 -0
  1041. data/src/com/zoho/crm/api/record_locking/success_response.rb +161 -0
  1042. data/src/com/zoho/crm/api/record_locking_configuration/action_handler.rb +12 -0
  1043. data/src/com/zoho/crm/api/record_locking_configuration/action_response.rb +12 -0
  1044. data/src/com/zoho/crm/api/record_locking_configuration/action_wrapper.rb +65 -0
  1045. data/src/com/zoho/crm/api/record_locking_configuration/api_exception.rb +127 -0
  1046. data/src/com/zoho/crm/api/record_locking_configuration/body_wrapper.rb +63 -0
  1047. data/src/com/zoho/crm/api/record_locking_configuration/criteria.rb +136 -0
  1048. data/src/com/zoho/crm/api/record_locking_configuration/dependee.rb +82 -0
  1049. data/src/com/zoho/crm/api/record_locking_configuration/field.rb +82 -0
  1050. data/src/com/zoho/crm/api/record_locking_configuration/lock_excluded_profile.rb +82 -0
  1051. data/src/com/zoho/crm/api/record_locking_configuration/locking_rules.rb +139 -0
  1052. data/src/com/zoho/crm/api/record_locking_configuration/record_lock.rb +351 -0
  1053. data/src/com/zoho/crm/api/record_locking_configuration/record_locking_configuration_operations.rb +153 -0
  1054. data/src/com/zoho/crm/api/record_locking_configuration/response_handler.rb +12 -0
  1055. data/src/com/zoho/crm/api/record_locking_configuration/response_wrapper.rb +65 -0
  1056. data/src/com/zoho/crm/api/record_locking_configuration/restricted_custom_button.rb +82 -0
  1057. data/src/com/zoho/crm/api/record_locking_configuration/success_response.rb +123 -0
  1058. data/src/com/zoho/crm/api/record_share_email/action_handler.rb +12 -0
  1059. data/src/com/zoho/crm/api/record_share_email/action_response.rb +12 -0
  1060. data/src/com/zoho/crm/api/record_share_email/action_wrapper.rb +65 -0
  1061. data/src/com/zoho/crm/api/record_share_email/api_exception.rb +125 -0
  1062. data/src/com/zoho/crm/api/record_share_email/body_wrapper.rb +63 -0
  1063. data/src/com/zoho/crm/api/record_share_email/record_share_email_operations.rb +109 -0
  1064. data/src/com/zoho/crm/api/record_share_email/success_response.rb +123 -0
  1065. data/src/com/zoho/crm/api/recycle_bin/action_handler.rb +12 -0
  1066. data/src/com/zoho/crm/api/recycle_bin/action_response.rb +12 -0
  1067. data/src/com/zoho/crm/api/recycle_bin/action_wrapper.rb +65 -0
  1068. data/src/com/zoho/crm/api/recycle_bin/api_exception.rb +127 -0
  1069. data/src/com/zoho/crm/api/recycle_bin/count.rb +63 -0
  1070. data/src/com/zoho/crm/api/recycle_bin/field.rb +82 -0
  1071. data/src/com/zoho/crm/api/recycle_bin/info.rb +120 -0
  1072. data/src/com/zoho/crm/api/recycle_bin/recycle_bin.rb +160 -0
  1073. data/src/com/zoho/crm/api/recycle_bin/recycle_bin_operations.rb +132 -0
  1074. data/src/com/zoho/crm/api/recycle_bin/response_handler.rb +12 -0
  1075. data/src/com/zoho/crm/api/recycle_bin/response_wrapper.rb +84 -0
  1076. data/src/com/zoho/crm/api/recycle_bin/restore_all_records.rb +64 -0
  1077. data/src/com/zoho/crm/api/recycle_bin/success_response.rb +123 -0
  1078. data/src/com/zoho/crm/api/related_lists/api_exception.rb +123 -0
  1079. data/src/com/zoho/crm/api/related_lists/field.rb +82 -0
  1080. data/src/com/zoho/crm/api/related_lists/module_map.rb +82 -0
  1081. data/src/com/zoho/crm/api/related_lists/related_list.rb +406 -0
  1082. data/src/com/zoho/crm/api/related_lists/related_lists_operations.rb +82 -0
  1083. data/src/com/zoho/crm/api/related_lists/response_handler.rb +12 -0
  1084. data/src/com/zoho/crm/api/related_lists/response_wrapper.rb +65 -0
  1085. data/src/com/zoho/crm/api/related_records/action_handler.rb +12 -0
  1086. data/src/com/zoho/crm/api/related_records/action_response.rb +12 -0
  1087. data/src/com/zoho/crm/api/related_records/action_wrapper.rb +65 -0
  1088. data/src/com/zoho/crm/api/related_records/api_exception.rb +127 -0
  1089. data/src/com/zoho/crm/api/related_records/body_wrapper.rb +64 -0
  1090. data/src/com/zoho/crm/api/related_records/file_body_wrapper.rb +66 -0
  1091. data/src/com/zoho/crm/api/related_records/related_records_operations.rb +677 -0
  1092. data/src/com/zoho/crm/api/related_records/response_handler.rb +12 -0
  1093. data/src/com/zoho/crm/api/related_records/response_wrapper.rb +86 -0
  1094. data/src/com/zoho/crm/api/related_records/success_response.rb +123 -0
  1095. data/src/com/zoho/crm/api/request_proxy.rb +17 -0
  1096. data/src/com/zoho/crm/api/reschedule_history/action_handler.rb +12 -0
  1097. data/src/com/zoho/crm/api/reschedule_history/action_response.rb +12 -0
  1098. data/src/com/zoho/crm/api/reschedule_history/action_wrapper.rb +65 -0
  1099. data/src/com/zoho/crm/api/reschedule_history/api_exception.rb +127 -0
  1100. data/src/com/zoho/crm/api/reschedule_history/appointment_name.rb +82 -0
  1101. data/src/com/zoho/crm/api/reschedule_history/approval.rb +120 -0
  1102. data/src/com/zoho/crm/api/reschedule_history/body_wrapper.rb +63 -0
  1103. data/src/com/zoho/crm/api/reschedule_history/info.rb +177 -0
  1104. data/src/com/zoho/crm/api/reschedule_history/reschedule_history.rb +557 -0
  1105. data/src/com/zoho/crm/api/reschedule_history/reschedule_history_operations.rb +181 -0
  1106. data/src/com/zoho/crm/api/reschedule_history/response_handler.rb +12 -0
  1107. data/src/com/zoho/crm/api/reschedule_history/response_wrapper.rb +84 -0
  1108. data/src/com/zoho/crm/api/reschedule_history/success_response.rb +123 -0
  1109. data/src/com/zoho/crm/api/reschedule_history/user.rb +101 -0
  1110. data/src/com/zoho/crm/api/roles/action_handler.rb +12 -0
  1111. data/src/com/zoho/crm/api/roles/action_response.rb +12 -0
  1112. data/src/com/zoho/crm/api/roles/action_wrapper.rb +65 -0
  1113. data/src/com/zoho/crm/api/roles/api_exception.rb +127 -0
  1114. data/src/com/zoho/crm/api/roles/body_wrapper.rb +63 -0
  1115. data/src/com/zoho/crm/api/roles/reporting_to.rb +82 -0
  1116. data/src/com/zoho/crm/api/roles/response_handler.rb +12 -0
  1117. data/src/com/zoho/crm/api/roles/response_wrapper.rb +65 -0
  1118. data/src/com/zoho/crm/api/roles/role.rb +273 -0
  1119. data/src/com/zoho/crm/api/roles/roles_operations.rb +150 -0
  1120. data/src/com/zoho/crm/api/roles/success_response.rb +123 -0
  1121. data/src/com/zoho/crm/api/scoring_rules/action_handler.rb +12 -0
  1122. data/src/com/zoho/crm/api/scoring_rules/action_response.rb +12 -0
  1123. data/src/com/zoho/crm/api/scoring_rules/action_wrapper.rb +65 -0
  1124. data/src/com/zoho/crm/api/scoring_rules/api_exception.rb +127 -0
  1125. data/src/com/zoho/crm/api/scoring_rules/body_wrapper.rb +63 -0
  1126. data/src/com/zoho/crm/api/scoring_rules/criteria.rb +136 -0
  1127. data/src/com/zoho/crm/api/scoring_rules/expected_field.rb +82 -0
  1128. data/src/com/zoho/crm/api/scoring_rules/field.rb +82 -0
  1129. data/src/com/zoho/crm/api/scoring_rules/field_rule.rb +101 -0
  1130. data/src/com/zoho/crm/api/scoring_rules/info.rb +215 -0
  1131. data/src/com/zoho/crm/api/scoring_rules/layout.rb +82 -0
  1132. data/src/com/zoho/crm/api/scoring_rules/layout_request_wrapper.rb +63 -0
  1133. data/src/com/zoho/crm/api/scoring_rules/response_handler.rb +12 -0
  1134. data/src/com/zoho/crm/api/scoring_rules/response_wrapper.rb +84 -0
  1135. data/src/com/zoho/crm/api/scoring_rules/role_request_wrapper.rb +63 -0
  1136. data/src/com/zoho/crm/api/scoring_rules/scoring_rule.rb +274 -0
  1137. data/src/com/zoho/crm/api/scoring_rules/scoring_rules_operations.rb +328 -0
  1138. data/src/com/zoho/crm/api/scoring_rules/signal.rb +82 -0
  1139. data/src/com/zoho/crm/api/scoring_rules/signal_rule.rb +101 -0
  1140. data/src/com/zoho/crm/api/scoring_rules/success_response.rb +125 -0
  1141. data/src/com/zoho/crm/api/sdk_config.rb +16 -0
  1142. data/src/com/zoho/crm/api/send_mail/action_handler.rb +12 -0
  1143. data/src/com/zoho/crm/api/send_mail/action_response.rb +12 -0
  1144. data/src/com/zoho/crm/api/send_mail/action_wrapper.rb +65 -0
  1145. data/src/com/zoho/crm/api/send_mail/api_exception.rb +125 -0
  1146. data/src/com/zoho/crm/api/send_mail/attachment.rb +63 -0
  1147. data/src/com/zoho/crm/api/send_mail/blocked_email_address.rb +82 -0
  1148. data/src/com/zoho/crm/api/send_mail/body_wrapper.rb +63 -0
  1149. data/src/com/zoho/crm/api/send_mail/cc.rb +82 -0
  1150. data/src/com/zoho/crm/api/send_mail/data.rb +368 -0
  1151. data/src/com/zoho/crm/api/send_mail/data_subject_request.rb +82 -0
  1152. data/src/com/zoho/crm/api/send_mail/from.rb +82 -0
  1153. data/src/com/zoho/crm/api/send_mail/in_reply_to.rb +82 -0
  1154. data/src/com/zoho/crm/api/send_mail/inventory_details.rb +63 -0
  1155. data/src/com/zoho/crm/api/send_mail/inventory_template.rb +82 -0
  1156. data/src/com/zoho/crm/api/send_mail/linked_module.rb +82 -0
  1157. data/src/com/zoho/crm/api/send_mail/linked_record.rb +101 -0
  1158. data/src/com/zoho/crm/api/send_mail/owner.rb +82 -0
  1159. data/src/com/zoho/crm/api/send_mail/send_mail_operations.rb +51 -0
  1160. data/src/com/zoho/crm/api/send_mail/success_response.rb +123 -0
  1161. data/src/com/zoho/crm/api/send_mail/template.rb +12 -0
  1162. data/src/com/zoho/crm/api/send_mail/to.rb +82 -0
  1163. data/src/com/zoho/crm/api/service_preference/action_handler.rb +12 -0
  1164. data/src/com/zoho/crm/api/service_preference/action_response.rb +12 -0
  1165. data/src/com/zoho/crm/api/service_preference/action_wrapper.rb +65 -0
  1166. data/src/com/zoho/crm/api/service_preference/api_exception.rb +127 -0
  1167. data/src/com/zoho/crm/api/service_preference/body_wrapper.rb +63 -0
  1168. data/src/com/zoho/crm/api/service_preference/response_handler.rb +12 -0
  1169. data/src/com/zoho/crm/api/service_preference/response_wrapper.rb +65 -0
  1170. data/src/com/zoho/crm/api/service_preference/service_preference.rb +63 -0
  1171. data/src/com/zoho/crm/api/service_preference/service_preference_operations.rb +51 -0
  1172. data/src/com/zoho/crm/api/service_preference/success_response.rb +123 -0
  1173. data/src/com/zoho/crm/api/share_records/action_handler.rb +12 -0
  1174. data/src/com/zoho/crm/api/share_records/action_response.rb +12 -0
  1175. data/src/com/zoho/crm/api/share_records/action_wrapper.rb +84 -0
  1176. data/src/com/zoho/crm/api/share_records/api_exception.rb +131 -0
  1177. data/src/com/zoho/crm/api/share_records/body_wrapper.rb +101 -0
  1178. data/src/com/zoho/crm/api/share_records/delete_action_handler.rb +12 -0
  1179. data/src/com/zoho/crm/api/share_records/delete_action_response.rb +12 -0
  1180. data/src/com/zoho/crm/api/share_records/delete_action_wrapper.rb +65 -0
  1181. data/src/com/zoho/crm/api/share_records/dependee.rb +82 -0
  1182. data/src/com/zoho/crm/api/share_records/module.rb +101 -0
  1183. data/src/com/zoho/crm/api/share_records/response_handler.rb +12 -0
  1184. data/src/com/zoho/crm/api/share_records/response_wrapper.rb +85 -0
  1185. data/src/com/zoho/crm/api/share_records/share_record.rb +198 -0
  1186. data/src/com/zoho/crm/api/share_records/share_records_operations.rb +130 -0
  1187. data/src/com/zoho/crm/api/share_records/shared_through.rb +120 -0
  1188. data/src/com/zoho/crm/api/share_records/success_response.rb +125 -0
  1189. data/src/com/zoho/crm/api/sharing_rules/action_handler.rb +12 -0
  1190. data/src/com/zoho/crm/api/sharing_rules/action_response.rb +12 -0
  1191. data/src/com/zoho/crm/api/sharing_rules/action_wrapper.rb +65 -0
  1192. data/src/com/zoho/crm/api/sharing_rules/api_exception.rb +129 -0
  1193. data/src/com/zoho/crm/api/sharing_rules/body_wrapper.rb +63 -0
  1194. data/src/com/zoho/crm/api/sharing_rules/criteria.rb +155 -0
  1195. data/src/com/zoho/crm/api/sharing_rules/field.rb +82 -0
  1196. data/src/com/zoho/crm/api/sharing_rules/filters_body.rb +63 -0
  1197. data/src/com/zoho/crm/api/sharing_rules/info.rb +120 -0
  1198. data/src/com/zoho/crm/api/sharing_rules/module.rb +101 -0
  1199. data/src/com/zoho/crm/api/sharing_rules/resource.rb +82 -0
  1200. data/src/com/zoho/crm/api/sharing_rules/response_handler.rb +12 -0
  1201. data/src/com/zoho/crm/api/sharing_rules/response_wrapper.rb +84 -0
  1202. data/src/com/zoho/crm/api/sharing_rules/rules_summary.rb +101 -0
  1203. data/src/com/zoho/crm/api/sharing_rules/shared.rb +102 -0
  1204. data/src/com/zoho/crm/api/sharing_rules/sharing_rules.rb +254 -0
  1205. data/src/com/zoho/crm/api/sharing_rules/sharing_rules_operations.rb +324 -0
  1206. data/src/com/zoho/crm/api/sharing_rules/success_response.rb +123 -0
  1207. data/src/com/zoho/crm/api/sharing_rules/summary_response_handler.rb +12 -0
  1208. data/src/com/zoho/crm/api/sharing_rules/summary_response_wrapper.rb +65 -0
  1209. data/src/com/zoho/crm/api/shift_hours/action_handler.rb +12 -0
  1210. data/src/com/zoho/crm/api/shift_hours/action_response.rb +12 -0
  1211. data/src/com/zoho/crm/api/shift_hours/action_wrapper.rb +65 -0
  1212. data/src/com/zoho/crm/api/shift_hours/api_exception.rb +127 -0
  1213. data/src/com/zoho/crm/api/shift_hours/body_wrapper.rb +63 -0
  1214. data/src/com/zoho/crm/api/shift_hours/break_custom_timing.rb +82 -0
  1215. data/src/com/zoho/crm/api/shift_hours/break_hours.rb +139 -0
  1216. data/src/com/zoho/crm/api/shift_hours/holidays.rb +120 -0
  1217. data/src/com/zoho/crm/api/shift_hours/mandatory_details.rb +82 -0
  1218. data/src/com/zoho/crm/api/shift_hours/response_handler.rb +12 -0
  1219. data/src/com/zoho/crm/api/shift_hours/response_wrapper.rb +84 -0
  1220. data/src/com/zoho/crm/api/shift_hours/role.rb +82 -0
  1221. data/src/com/zoho/crm/api/shift_hours/shift_count.rb +82 -0
  1222. data/src/com/zoho/crm/api/shift_hours/shift_custom_timing.rb +82 -0
  1223. data/src/com/zoho/crm/api/shift_hours/shift_hours.rb +253 -0
  1224. data/src/com/zoho/crm/api/shift_hours/shift_hours_operations.rb +166 -0
  1225. data/src/com/zoho/crm/api/shift_hours/success_response.rb +123 -0
  1226. data/src/com/zoho/crm/api/shift_hours/users.rb +158 -0
  1227. data/src/com/zoho/crm/api/signals/api_exception.rb +123 -0
  1228. data/src/com/zoho/crm/api/signals/extension.rb +120 -0
  1229. data/src/com/zoho/crm/api/signals/feature_availability.rb +82 -0
  1230. data/src/com/zoho/crm/api/signals/response_handler.rb +12 -0
  1231. data/src/com/zoho/crm/api/signals/response_wrapper.rb +65 -0
  1232. data/src/com/zoho/crm/api/signals/signals.rb +177 -0
  1233. data/src/com/zoho/crm/api/signals/signals_operations.rb +30 -0
  1234. data/src/com/zoho/crm/api/signals_notifications/action.rb +120 -0
  1235. data/src/com/zoho/crm/api/signals_notifications/action_handler.rb +12 -0
  1236. data/src/com/zoho/crm/api/signals_notifications/action_response.rb +12 -0
  1237. data/src/com/zoho/crm/api/signals_notifications/action_wrapper.rb +65 -0
  1238. data/src/com/zoho/crm/api/signals_notifications/api_exception.rb +125 -0
  1239. data/src/com/zoho/crm/api/signals_notifications/body_wrapper.rb +63 -0
  1240. data/src/com/zoho/crm/api/signals_notifications/signals.rb +177 -0
  1241. data/src/com/zoho/crm/api/signals_notifications/signals_notifications_operations.rb +37 -0
  1242. data/src/com/zoho/crm/api/signals_notifications/success_response.rb +123 -0
  1243. data/src/com/zoho/crm/api/tags/action_handler.rb +12 -0
  1244. data/src/com/zoho/crm/api/tags/action_response.rb +12 -0
  1245. data/src/com/zoho/crm/api/tags/action_wrapper.rb +65 -0
  1246. data/src/com/zoho/crm/api/tags/api_exception.rb +131 -0
  1247. data/src/com/zoho/crm/api/tags/associated_places.rb +82 -0
  1248. data/src/com/zoho/crm/api/tags/body_wrapper.rb +63 -0
  1249. data/src/com/zoho/crm/api/tags/conflict_wrapper.rb +63 -0
  1250. data/src/com/zoho/crm/api/tags/count_response_wrapper.rb +65 -0
  1251. data/src/com/zoho/crm/api/tags/error_details.rb +82 -0
  1252. data/src/com/zoho/crm/api/tags/existing_tag.rb +82 -0
  1253. data/src/com/zoho/crm/api/tags/existing_tag_request_wrapper.rb +82 -0
  1254. data/src/com/zoho/crm/api/tags/info.rb +82 -0
  1255. data/src/com/zoho/crm/api/tags/merge_wrapper.rb +63 -0
  1256. data/src/com/zoho/crm/api/tags/new_tag_request_wrapper.rb +101 -0
  1257. data/src/com/zoho/crm/api/tags/record_action_handler.rb +12 -0
  1258. data/src/com/zoho/crm/api/tags/record_action_response.rb +12 -0
  1259. data/src/com/zoho/crm/api/tags/record_action_wrapper.rb +122 -0
  1260. data/src/com/zoho/crm/api/tags/record_detail_tag.rb +101 -0
  1261. data/src/com/zoho/crm/api/tags/record_success_response.rb +123 -0
  1262. data/src/com/zoho/crm/api/tags/resources.rb +101 -0
  1263. data/src/com/zoho/crm/api/tags/response_handler.rb +12 -0
  1264. data/src/com/zoho/crm/api/tags/response_wrapper.rb +84 -0
  1265. data/src/com/zoho/crm/api/tags/success_response.rb +123 -0
  1266. data/src/com/zoho/crm/api/tags/success_wrapper.rb +65 -0
  1267. data/src/com/zoho/crm/api/tags/tag.rb +179 -0
  1268. data/src/com/zoho/crm/api/tags/tags_operations.rb +393 -0
  1269. data/src/com/zoho/crm/api/taxes/action_handler.rb +12 -0
  1270. data/src/com/zoho/crm/api/taxes/action_response.rb +12 -0
  1271. data/src/com/zoho/crm/api/taxes/action_wrapper.rb +65 -0
  1272. data/src/com/zoho/crm/api/taxes/api_exception.rb +127 -0
  1273. data/src/com/zoho/crm/api/taxes/body_wrapper.rb +63 -0
  1274. data/src/com/zoho/crm/api/taxes/expected_field.rb +82 -0
  1275. data/src/com/zoho/crm/api/taxes/org_tax.rb +82 -0
  1276. data/src/com/zoho/crm/api/taxes/preference.rb +82 -0
  1277. data/src/com/zoho/crm/api/taxes/response_handler.rb +12 -0
  1278. data/src/com/zoho/crm/api/taxes/response_wrapper.rb +65 -0
  1279. data/src/com/zoho/crm/api/taxes/success_response.rb +123 -0
  1280. data/src/com/zoho/crm/api/taxes/tax.rb +158 -0
  1281. data/src/com/zoho/crm/api/taxes/taxes_operations.rb +70 -0
  1282. data/src/com/zoho/crm/api/templates/api_exception.rb +121 -0
  1283. data/src/com/zoho/crm/api/templates/folder.rb +82 -0
  1284. data/src/com/zoho/crm/api/templates/templates.rb +234 -0
  1285. data/src/com/zoho/crm/api/templates/wrapper.rb +63 -0
  1286. data/src/com/zoho/crm/api/territories/action_handler.rb +12 -0
  1287. data/src/com/zoho/crm/api/territories/action_response.rb +12 -0
  1288. data/src/com/zoho/crm/api/territories/action_wrapper.rb +65 -0
  1289. data/src/com/zoho/crm/api/territories/api_exception.rb +127 -0
  1290. data/src/com/zoho/crm/api/territories/associated_users_count.rb +82 -0
  1291. data/src/com/zoho/crm/api/territories/associated_users_count_wrapper.rb +84 -0
  1292. data/src/com/zoho/crm/api/territories/body_wrapper.rb +63 -0
  1293. data/src/com/zoho/crm/api/territories/criteria.rb +136 -0
  1294. data/src/com/zoho/crm/api/territories/deleted_associated_territories.rb +121 -0
  1295. data/src/com/zoho/crm/api/territories/deleted_associated_wrapper.rb +82 -0
  1296. data/src/com/zoho/crm/api/territories/field.rb +82 -0
  1297. data/src/com/zoho/crm/api/territories/info.rb +120 -0
  1298. data/src/com/zoho/crm/api/territories/manager.rb +82 -0
  1299. data/src/com/zoho/crm/api/territories/minified_territory.rb +101 -0
  1300. data/src/com/zoho/crm/api/territories/reporting_to.rb +82 -0
  1301. data/src/com/zoho/crm/api/territories/response_handler.rb +12 -0
  1302. data/src/com/zoho/crm/api/territories/response_wrapper.rb +84 -0
  1303. data/src/com/zoho/crm/api/territories/success_response.rb +123 -0
  1304. data/src/com/zoho/crm/api/territories/territories.rb +312 -0
  1305. data/src/com/zoho/crm/api/territories/territories_operations.rb +307 -0
  1306. data/src/com/zoho/crm/api/territories/transfer_body_wrapper.rb +63 -0
  1307. data/src/com/zoho/crm/api/territories/transfer_territory.rb +101 -0
  1308. data/src/com/zoho/crm/api/territory_users/action_handler.rb +12 -0
  1309. data/src/com/zoho/crm/api/territory_users/action_response.rb +12 -0
  1310. data/src/com/zoho/crm/api/territory_users/action_wrapper.rb +65 -0
  1311. data/src/com/zoho/crm/api/territory_users/api_exception.rb +127 -0
  1312. data/src/com/zoho/crm/api/territory_users/body_wrapper.rb +64 -0
  1313. data/src/com/zoho/crm/api/territory_users/info.rb +120 -0
  1314. data/src/com/zoho/crm/api/territory_users/response_handler.rb +12 -0
  1315. data/src/com/zoho/crm/api/territory_users/response_wrapper.rb +85 -0
  1316. data/src/com/zoho/crm/api/territory_users/success_response.rb +123 -0
  1317. data/src/com/zoho/crm/api/territory_users/territory_users_operations.rb +172 -0
  1318. data/src/com/zoho/crm/api/timelines/api_exception.rb +123 -0
  1319. data/src/com/zoho/crm/api/timelines/automation_detail.rb +101 -0
  1320. data/src/com/zoho/crm/api/timelines/field_history.rb +177 -0
  1321. data/src/com/zoho/crm/api/timelines/field_history_value.rb +82 -0
  1322. data/src/com/zoho/crm/api/timelines/info.rb +158 -0
  1323. data/src/com/zoho/crm/api/timelines/module.rb +82 -0
  1324. data/src/com/zoho/crm/api/timelines/name_id_structure.rb +82 -0
  1325. data/src/com/zoho/crm/api/timelines/path_finder.rb +101 -0
  1326. data/src/com/zoho/crm/api/timelines/picklist_detail.rb +158 -0
  1327. data/src/com/zoho/crm/api/timelines/record.rb +101 -0
  1328. data/src/com/zoho/crm/api/timelines/related_record.rb +101 -0
  1329. data/src/com/zoho/crm/api/timelines/response_handler.rb +12 -0
  1330. data/src/com/zoho/crm/api/timelines/response_wrapper.rb +84 -0
  1331. data/src/com/zoho/crm/api/timelines/state.rb +120 -0
  1332. data/src/com/zoho/crm/api/timelines/timeline.rb +253 -0
  1333. data/src/com/zoho/crm/api/timelines/timelines_operations.rb +89 -0
  1334. data/src/com/zoho/crm/api/unblock_email/action_handler.rb +12 -0
  1335. data/src/com/zoho/crm/api/unblock_email/action_response.rb +12 -0
  1336. data/src/com/zoho/crm/api/unblock_email/action_wrapper.rb +65 -0
  1337. data/src/com/zoho/crm/api/unblock_email/api_exception.rb +123 -0
  1338. data/src/com/zoho/crm/api/unblock_email/body_wrapper.rb +82 -0
  1339. data/src/com/zoho/crm/api/unblock_email/success_response.rb +122 -0
  1340. data/src/com/zoho/crm/api/unblock_email/unblock_email_operations.rb +71 -0
  1341. data/src/com/zoho/crm/api/unsubscribe_links/action_handler.rb +12 -0
  1342. data/src/com/zoho/crm/api/unsubscribe_links/action_response.rb +12 -0
  1343. data/src/com/zoho/crm/api/unsubscribe_links/action_wrapper.rb +65 -0
  1344. data/src/com/zoho/crm/api/unsubscribe_links/api_exception.rb +129 -0
  1345. data/src/com/zoho/crm/api/unsubscribe_links/associated_places.rb +101 -0
  1346. data/src/com/zoho/crm/api/unsubscribe_links/association_details.rb +82 -0
  1347. data/src/com/zoho/crm/api/unsubscribe_links/associations_response_handler.rb +12 -0
  1348. data/src/com/zoho/crm/api/unsubscribe_links/associations_response_wrapper.rb +65 -0
  1349. data/src/com/zoho/crm/api/unsubscribe_links/body_wrapper.rb +63 -0
  1350. data/src/com/zoho/crm/api/unsubscribe_links/detail.rb +63 -0
  1351. data/src/com/zoho/crm/api/unsubscribe_links/module.rb +82 -0
  1352. data/src/com/zoho/crm/api/unsubscribe_links/resource.rb +82 -0
  1353. data/src/com/zoho/crm/api/unsubscribe_links/response_handler.rb +12 -0
  1354. data/src/com/zoho/crm/api/unsubscribe_links/response_wrapper.rb +65 -0
  1355. data/src/com/zoho/crm/api/unsubscribe_links/success_response.rb +123 -0
  1356. data/src/com/zoho/crm/api/unsubscribe_links/unsubscribe_links.rb +330 -0
  1357. data/src/com/zoho/crm/api/unsubscribe_links/unsubscribe_links_operations.rb +149 -0
  1358. data/src/com/zoho/crm/api/unsubscribe_links/user.rb +82 -0
  1359. data/src/com/zoho/crm/api/user_groups/action_handler.rb +12 -0
  1360. data/src/com/zoho/crm/api/user_groups/action_response.rb +12 -0
  1361. data/src/com/zoho/crm/api/user_groups/action_wrapper.rb +65 -0
  1362. data/src/com/zoho/crm/api/user_groups/api_exception.rb +131 -0
  1363. data/src/com/zoho/crm/api/user_groups/assign.rb +159 -0
  1364. data/src/com/zoho/crm/api/user_groups/assigned_action_response.rb +12 -0
  1365. data/src/com/zoho/crm/api/user_groups/assigned_action_wrapper.rb +63 -0
  1366. data/src/com/zoho/crm/api/user_groups/associated_user.rb +82 -0
  1367. data/src/com/zoho/crm/api/user_groups/associated_user_count.rb +84 -0
  1368. data/src/com/zoho/crm/api/user_groups/association_module.rb +64 -0
  1369. data/src/com/zoho/crm/api/user_groups/association_response.rb +101 -0
  1370. data/src/com/zoho/crm/api/user_groups/association_wrapper.rb +65 -0
  1371. data/src/com/zoho/crm/api/user_groups/body_wrapper.rb +63 -0
  1372. data/src/com/zoho/crm/api/user_groups/criteria.rb +137 -0
  1373. data/src/com/zoho/crm/api/user_groups/field.rb +82 -0
  1374. data/src/com/zoho/crm/api/user_groups/get_assign_body_wrapper.rb +63 -0
  1375. data/src/com/zoho/crm/api/user_groups/get_unassign_body_wrapper.rb +63 -0
  1376. data/src/com/zoho/crm/api/user_groups/grouped_count.rb +83 -0
  1377. data/src/com/zoho/crm/api/user_groups/grouped_count_wrapper.rb +84 -0
  1378. data/src/com/zoho/crm/api/user_groups/groups.rb +215 -0
  1379. data/src/com/zoho/crm/api/user_groups/info.rb +120 -0
  1380. data/src/com/zoho/crm/api/user_groups/jobs.rb +63 -0
  1381. data/src/com/zoho/crm/api/user_groups/jobs_wrapper.rb +63 -0
  1382. data/src/com/zoho/crm/api/user_groups/owner.rb +82 -0
  1383. data/src/com/zoho/crm/api/user_groups/resource.rb +82 -0
  1384. data/src/com/zoho/crm/api/user_groups/response_handler.rb +12 -0
  1385. data/src/com/zoho/crm/api/user_groups/response_wrapper.rb +84 -0
  1386. data/src/com/zoho/crm/api/user_groups/source.rb +82 -0
  1387. data/src/com/zoho/crm/api/user_groups/sources.rb +121 -0
  1388. data/src/com/zoho/crm/api/user_groups/sources_count.rb +120 -0
  1389. data/src/com/zoho/crm/api/user_groups/sources_count_wrapper.rb +65 -0
  1390. data/src/com/zoho/crm/api/user_groups/sources_wrapper.rb +84 -0
  1391. data/src/com/zoho/crm/api/user_groups/success_response.rb +123 -0
  1392. data/src/com/zoho/crm/api/user_groups/un_assigned_action_response.rb +12 -0
  1393. data/src/com/zoho/crm/api/user_groups/un_assigned_action_wrapper.rb +63 -0
  1394. data/src/com/zoho/crm/api/user_groups/user_group.rb +82 -0
  1395. data/src/com/zoho/crm/api/user_groups/user_groups_operations.rb +356 -0
  1396. data/src/com/zoho/crm/api/user_groups/users.rb +101 -0
  1397. data/src/com/zoho/crm/api/user_signature.rb +15 -0
  1398. data/src/com/zoho/crm/api/user_type_users/action_handler.rb +12 -0
  1399. data/src/com/zoho/crm/api/user_type_users/action_response.rb +12 -0
  1400. data/src/com/zoho/crm/api/user_type_users/action_wrapper.rb +65 -0
  1401. data/src/com/zoho/crm/api/user_type_users/api_exception.rb +131 -0
  1402. data/src/com/zoho/crm/api/user_type_users/body_wrapper.rb +63 -0
  1403. data/src/com/zoho/crm/api/user_type_users/info.rb +139 -0
  1404. data/src/com/zoho/crm/api/user_type_users/response_handler.rb +12 -0
  1405. data/src/com/zoho/crm/api/user_type_users/response_wrapper.rb +84 -0
  1406. data/src/com/zoho/crm/api/user_type_users/status_action_handler.rb +12 -0
  1407. data/src/com/zoho/crm/api/user_type_users/status_action_response.rb +12 -0
  1408. data/src/com/zoho/crm/api/user_type_users/status_action_wrapper.rb +65 -0
  1409. data/src/com/zoho/crm/api/user_type_users/success_response.rb +125 -0
  1410. data/src/com/zoho/crm/api/user_type_users/user_type_users_operations.rb +164 -0
  1411. data/src/com/zoho/crm/api/user_type_users/users.rb +196 -0
  1412. data/src/com/zoho/crm/api/users/action_handler.rb +12 -0
  1413. data/src/com/zoho/crm/api/users/action_response.rb +12 -0
  1414. data/src/com/zoho/crm/api/users/action_wrapper.rb +67 -0
  1415. data/src/com/zoho/crm/api/users/api_exception.rb +129 -0
  1416. data/src/com/zoho/crm/api/users/associated_group.rb +177 -0
  1417. data/src/com/zoho/crm/api/users/associated_groups_wrapper.rb +84 -0
  1418. data/src/com/zoho/crm/api/users/body_wrapper.rb +63 -0
  1419. data/src/com/zoho/crm/api/users/count_handler.rb +12 -0
  1420. data/src/com/zoho/crm/api/users/count_wrapper.rb +65 -0
  1421. data/src/com/zoho/crm/api/users/customize_info.rb +146 -0
  1422. data/src/com/zoho/crm/api/users/info.rb +120 -0
  1423. data/src/com/zoho/crm/api/users/minified_user.rb +101 -0
  1424. data/src/com/zoho/crm/api/users/owner.rb +120 -0
  1425. data/src/com/zoho/crm/api/users/profile.rb +82 -0
  1426. data/src/com/zoho/crm/api/users/response_handler.rb +12 -0
  1427. data/src/com/zoho/crm/api/users/response_wrapper.rb +84 -0
  1428. data/src/com/zoho/crm/api/users/role.rb +82 -0
  1429. data/src/com/zoho/crm/api/users/shift.rb +82 -0
  1430. data/src/com/zoho/crm/api/users/success_response.rb +123 -0
  1431. data/src/com/zoho/crm/api/users/tab.rb +83 -0
  1432. data/src/com/zoho/crm/api/users/theme.rb +159 -0
  1433. data/src/com/zoho/crm/api/users/users.rb +1086 -0
  1434. data/src/com/zoho/crm/api/users/users_operations.rb +247 -0
  1435. data/src/com/zoho/crm/api/users_territories/action_handler.rb +12 -0
  1436. data/src/com/zoho/crm/api/users_territories/action_response.rb +12 -0
  1437. data/src/com/zoho/crm/api/users_territories/action_wrapper.rb +65 -0
  1438. data/src/com/zoho/crm/api/users_territories/api_exception.rb +127 -0
  1439. data/src/com/zoho/crm/api/users_territories/body_wrapper.rb +63 -0
  1440. data/src/com/zoho/crm/api/users_territories/info.rb +120 -0
  1441. data/src/com/zoho/crm/api/users_territories/manager.rb +82 -0
  1442. data/src/com/zoho/crm/api/users_territories/response_handler.rb +12 -0
  1443. data/src/com/zoho/crm/api/users_territories/response_wrapper.rb +84 -0
  1444. data/src/com/zoho/crm/api/users_territories/success_response.rb +123 -0
  1445. data/src/com/zoho/crm/api/users_territories/territory.rb +120 -0
  1446. data/src/com/zoho/crm/api/users_territories/users_territories_operations.rb +132 -0
  1447. data/src/com/zoho/crm/api/users_transfer_delete/action_handler.rb +12 -0
  1448. data/src/com/zoho/crm/api/users_transfer_delete/action_response.rb +12 -0
  1449. data/src/com/zoho/crm/api/users_transfer_delete/action_wrapper.rb +65 -0
  1450. data/src/com/zoho/crm/api/users_transfer_delete/api_exception.rb +127 -0
  1451. data/src/com/zoho/crm/api/users_transfer_delete/body_wrapper.rb +63 -0
  1452. data/src/com/zoho/crm/api/users_transfer_delete/move_subordinate.rb +63 -0
  1453. data/src/com/zoho/crm/api/users_transfer_delete/response_handler.rb +12 -0
  1454. data/src/com/zoho/crm/api/users_transfer_delete/response_wrapper.rb +65 -0
  1455. data/src/com/zoho/crm/api/users_transfer_delete/status.rb +63 -0
  1456. data/src/com/zoho/crm/api/users_transfer_delete/success_response.rb +123 -0
  1457. data/src/com/zoho/crm/api/users_transfer_delete/transfer.rb +120 -0
  1458. data/src/com/zoho/crm/api/users_transfer_delete/transfer_and_delete.rb +101 -0
  1459. data/src/com/zoho/crm/api/users_transfer_delete/transfer_and_delete_by_id.rb +82 -0
  1460. data/src/com/zoho/crm/api/users_transfer_delete/users_transfer_delete_operations.rb +92 -0
  1461. data/src/com/zoho/crm/api/users_unavailability/action_handler.rb +12 -0
  1462. data/src/com/zoho/crm/api/users_unavailability/action_response.rb +12 -0
  1463. data/src/com/zoho/crm/api/users_unavailability/action_wrapper.rb +65 -0
  1464. data/src/com/zoho/crm/api/users_unavailability/api_exception.rb +127 -0
  1465. data/src/com/zoho/crm/api/users_unavailability/body_wrapper.rb +63 -0
  1466. data/src/com/zoho/crm/api/users_unavailability/info.rb +120 -0
  1467. data/src/com/zoho/crm/api/users_unavailability/response_handler.rb +12 -0
  1468. data/src/com/zoho/crm/api/users_unavailability/response_wrapper.rb +84 -0
  1469. data/src/com/zoho/crm/api/users_unavailability/success_response.rb +123 -0
  1470. data/src/com/zoho/crm/api/users_unavailability/user.rb +101 -0
  1471. data/src/com/zoho/crm/api/users_unavailability/users_unavailability.rb +234 -0
  1472. data/src/com/zoho/crm/api/users_unavailability/users_unavailability_operations.rb +181 -0
  1473. data/src/com/zoho/crm/api/util/api_http_connector.rb +125 -0
  1474. data/src/com/zoho/crm/api/util/api_response.rb +21 -0
  1475. data/src/com/zoho/crm/api/util/choice.rb +11 -0
  1476. data/src/com/zoho/crm/api/util/common_api_handler.rb +252 -0
  1477. data/src/com/zoho/crm/api/util/constants.rb +765 -0
  1478. data/src/com/zoho/crm/api/util/converter.rb +318 -0
  1479. data/src/com/zoho/crm/api/util/data_type_converter.rb +194 -0
  1480. data/src/com/zoho/crm/api/util/downloader.rb +86 -0
  1481. data/src/com/zoho/crm/api/util/form_data_converter.rb +159 -0
  1482. data/src/com/zoho/crm/api/util/header_param_validator.rb +92 -0
  1483. data/src/com/zoho/crm/api/util/json_converter.rb +785 -0
  1484. data/src/com/zoho/crm/api/util/model.rb +7 -0
  1485. data/src/com/zoho/crm/api/util/module_fields_handler.rb +91 -0
  1486. data/src/com/zoho/crm/api/util/stream_wrapper.rb +39 -0
  1487. data/src/com/zoho/crm/api/util/utility.rb +1031 -0
  1488. data/src/com/zoho/crm/api/variable_groups/api_exception.rb +123 -0
  1489. data/src/com/zoho/crm/api/variable_groups/minified_variable_group.rb +82 -0
  1490. data/src/com/zoho/crm/api/variable_groups/response_handler.rb +12 -0
  1491. data/src/com/zoho/crm/api/variable_groups/response_wrapper.rb +65 -0
  1492. data/src/com/zoho/crm/api/variable_groups/variable_group.rb +158 -0
  1493. data/src/com/zoho/crm/api/variable_groups/variable_groups_operations.rb +68 -0
  1494. data/src/com/zoho/crm/api/variables/action_handler.rb +12 -0
  1495. data/src/com/zoho/crm/api/variables/action_response.rb +12 -0
  1496. data/src/com/zoho/crm/api/variables/action_wrapper.rb +65 -0
  1497. data/src/com/zoho/crm/api/variables/api_exception.rb +127 -0
  1498. data/src/com/zoho/crm/api/variables/body_wrapper.rb +63 -0
  1499. data/src/com/zoho/crm/api/variables/response_handler.rb +12 -0
  1500. data/src/com/zoho/crm/api/variables/response_wrapper.rb +65 -0
  1501. data/src/com/zoho/crm/api/variables/success_response.rb +123 -0
  1502. data/src/com/zoho/crm/api/variables/variable.rb +213 -0
  1503. data/src/com/zoho/crm/api/variables/variable_group.rb +101 -0
  1504. data/src/com/zoho/crm/api/variables/variables_operations.rb +267 -0
  1505. data/src/com/zoho/crm/api/webforms/abtesting.rb +120 -0
  1506. data/src/com/zoho/crm/api/webforms/acknowledge_visitor.rb +82 -0
  1507. data/src/com/zoho/crm/api/webforms/acknowledge_visitors.rb +101 -0
  1508. data/src/com/zoho/crm/api/webforms/action_handler.rb +12 -0
  1509. data/src/com/zoho/crm/api/webforms/action_response.rb +12 -0
  1510. data/src/com/zoho/crm/api/webforms/action_wrapper.rb +65 -0
  1511. data/src/com/zoho/crm/api/webforms/analytics_data.rb +139 -0
  1512. data/src/com/zoho/crm/api/webforms/api_exception.rb +127 -0
  1513. data/src/com/zoho/crm/api/webforms/assignment_rule.rb +82 -0
  1514. data/src/com/zoho/crm/api/webforms/auto_response_rule.rb +63 -0
  1515. data/src/com/zoho/crm/api/webforms/body_wrapper.rb +63 -0
  1516. data/src/com/zoho/crm/api/webforms/button_attributes.rb +82 -0
  1517. data/src/com/zoho/crm/api/webforms/fields.rb +348 -0
  1518. data/src/com/zoho/crm/api/webforms/font_attributes.rb +101 -0
  1519. data/src/com/zoho/crm/api/webforms/form_attributes.rb +139 -0
  1520. data/src/com/zoho/crm/api/webforms/from_address.rb +82 -0
  1521. data/src/com/zoho/crm/api/webforms/layout.rb +82 -0
  1522. data/src/com/zoho/crm/api/webforms/module.rb +101 -0
  1523. data/src/com/zoho/crm/api/webforms/owner.rb +82 -0
  1524. data/src/com/zoho/crm/api/webforms/response_handler.rb +12 -0
  1525. data/src/com/zoho/crm/api/webforms/response_wrapper.rb +65 -0
  1526. data/src/com/zoho/crm/api/webforms/spam_controll.rb +82 -0
  1527. data/src/com/zoho/crm/api/webforms/success_response.rb +123 -0
  1528. data/src/com/zoho/crm/api/webforms/suggestion.rb +82 -0
  1529. data/src/com/zoho/crm/api/webforms/tags.rb +82 -0
  1530. data/src/com/zoho/crm/api/webforms/user.rb +82 -0
  1531. data/src/com/zoho/crm/api/webforms/web_form.rb +804 -0
  1532. data/src/com/zoho/crm/api/webforms/webforms_operations.rb +190 -0
  1533. data/src/com/zoho/crm/api/wizards/actions.rb +176 -0
  1534. data/src/com/zoho/crm/api/wizards/api_exception.rb +123 -0
  1535. data/src/com/zoho/crm/api/wizards/button.rb +326 -0
  1536. data/src/com/zoho/crm/api/wizards/button_background.rb +63 -0
  1537. data/src/com/zoho/crm/api/wizards/chart_data.rb +139 -0
  1538. data/src/com/zoho/crm/api/wizards/conditional_rules.rb +121 -0
  1539. data/src/com/zoho/crm/api/wizards/connection.rb +101 -0
  1540. data/src/com/zoho/crm/api/wizards/container.rb +121 -0
  1541. data/src/com/zoho/crm/api/wizards/criteria.rb +136 -0
  1542. data/src/com/zoho/crm/api/wizards/element.rb +82 -0
  1543. data/src/com/zoho/crm/api/wizards/exempted_portal_user_type.rb +63 -0
  1544. data/src/com/zoho/crm/api/wizards/field.rb +82 -0
  1545. data/src/com/zoho/crm/api/wizards/message.rb +82 -0
  1546. data/src/com/zoho/crm/api/wizards/node.rb +120 -0
  1547. data/src/com/zoho/crm/api/wizards/portal_user_type.rb +121 -0
  1548. data/src/com/zoho/crm/api/wizards/resource.rb +82 -0
  1549. data/src/com/zoho/crm/api/wizards/response_handler.rb +12 -0
  1550. data/src/com/zoho/crm/api/wizards/response_wrapper.rb +65 -0
  1551. data/src/com/zoho/crm/api/wizards/screen.rb +158 -0
  1552. data/src/com/zoho/crm/api/wizards/segment.rb +197 -0
  1553. data/src/com/zoho/crm/api/wizards/transition.rb +82 -0
  1554. data/src/com/zoho/crm/api/wizards/wizard.rb +313 -0
  1555. data/src/com/zoho/crm/api/wizards/wizards_operations.rb +63 -0
  1556. data/src/com/zoho/crm/api/zia_allowed_field_mappings/allowed_field_map.rb +82 -0
  1557. data/src/com/zoho/crm/api/zia_allowed_field_mappings/allowed_output_data.rb +82 -0
  1558. data/src/com/zoho/crm/api/zia_allowed_field_mappings/api_exception.rb +121 -0
  1559. data/src/com/zoho/crm/api/zia_allowed_field_mappings/crm_field.rb +82 -0
  1560. data/src/com/zoho/crm/api/zia_allowed_field_mappings/enrich_field.rb +82 -0
  1561. data/src/com/zoho/crm/api/zia_allowed_field_mappings/response_wrapper.rb +63 -0
  1562. data/src/com/zoho/crm/api/zia_enrichment/action_response.rb +12 -0
  1563. data/src/com/zoho/crm/api/zia_enrichment/action_wrapper.rb +63 -0
  1564. data/src/com/zoho/crm/api/zia_enrichment/api_exception.rb +127 -0
  1565. data/src/com/zoho/crm/api/zia_enrichment/body_wrapper.rb +63 -0
  1566. data/src/com/zoho/crm/api/zia_enrichment/crm_field.rb +101 -0
  1567. data/src/com/zoho/crm/api/zia_enrichment/data_enrichment.rb +234 -0
  1568. data/src/com/zoho/crm/api/zia_enrichment/enrich_field.rb +82 -0
  1569. data/src/com/zoho/crm/api/zia_enrichment/input_data.rb +82 -0
  1570. data/src/com/zoho/crm/api/zia_enrichment/module.rb +82 -0
  1571. data/src/com/zoho/crm/api/zia_enrichment/output_data.rb +82 -0
  1572. data/src/com/zoho/crm/api/zia_enrichment/response_handler.rb +12 -0
  1573. data/src/com/zoho/crm/api/zia_enrichment/response_wrapper.rb +65 -0
  1574. data/src/com/zoho/crm/api/zia_enrichment/scrapy_action_response.rb +12 -0
  1575. data/src/com/zoho/crm/api/zia_enrichment/scrapy_action_wrapper.rb +63 -0
  1576. data/src/com/zoho/crm/api/zia_enrichment/scrapy_body_wrapper.rb +63 -0
  1577. data/src/com/zoho/crm/api/zia_enrichment/scrapy_feedback.rb +121 -0
  1578. data/src/com/zoho/crm/api/zia_enrichment/scrapy_success.rb +123 -0
  1579. data/src/com/zoho/crm/api/zia_enrichment/success_response.rb +121 -0
  1580. data/src/com/zoho/crm/api/zia_enrichment/user.rb +82 -0
  1581. data/src/com/zoho/crm/api/zia_enrichment/zia_enrichment_operations.rb +30 -0
  1582. data/src/com/zoho/crm/api/zia_org_enrichment/action_handler.rb +12 -0
  1583. data/src/com/zoho/crm/api/zia_org_enrichment/action_response.rb +12 -0
  1584. data/src/com/zoho/crm/api/zia_org_enrichment/action_wrapper.rb +65 -0
  1585. data/src/com/zoho/crm/api/zia_org_enrichment/address.rb +139 -0
  1586. data/src/com/zoho/crm/api/zia_org_enrichment/api_exception.rb +127 -0
  1587. data/src/com/zoho/crm/api/zia_org_enrichment/body_wrapper.rb +63 -0
  1588. data/src/com/zoho/crm/api/zia_org_enrichment/description.rb +82 -0
  1589. data/src/com/zoho/crm/api/zia_org_enrichment/enrich_based_on.rb +101 -0
  1590. data/src/com/zoho/crm/api/zia_org_enrichment/enriched_data.rb +557 -0
  1591. data/src/com/zoho/crm/api/zia_org_enrichment/industry.rb +82 -0
  1592. data/src/com/zoho/crm/api/zia_org_enrichment/info.rb +120 -0
  1593. data/src/com/zoho/crm/api/zia_org_enrichment/response_handler.rb +12 -0
  1594. data/src/com/zoho/crm/api/zia_org_enrichment/response_wrapper.rb +84 -0
  1595. data/src/com/zoho/crm/api/zia_org_enrichment/social_media.rb +82 -0
  1596. data/src/com/zoho/crm/api/zia_org_enrichment/success_response.rb +123 -0
  1597. data/src/com/zoho/crm/api/zia_org_enrichment/user.rb +82 -0
  1598. data/src/com/zoho/crm/api/zia_org_enrichment/zia_org_enrichment.rb +158 -0
  1599. data/src/com/zoho/crm/api/zia_org_enrichment/zia_org_enrichment_operations.rb +117 -0
  1600. data/src/com/zoho/crm/api/zia_people_enrichment/action_handler.rb +12 -0
  1601. data/src/com/zoho/crm/api/zia_people_enrichment/action_response.rb +12 -0
  1602. data/src/com/zoho/crm/api/zia_people_enrichment/action_wrapper.rb +65 -0
  1603. data/src/com/zoho/crm/api/zia_people_enrichment/address.rb +139 -0
  1604. data/src/com/zoho/crm/api/zia_people_enrichment/api_exception.rb +127 -0
  1605. data/src/com/zoho/crm/api/zia_people_enrichment/body_wrapper.rb +63 -0
  1606. data/src/com/zoho/crm/api/zia_people_enrichment/company.rb +82 -0
  1607. data/src/com/zoho/crm/api/zia_people_enrichment/company_info.rb +101 -0
  1608. data/src/com/zoho/crm/api/zia_people_enrichment/email_info.rb +82 -0
  1609. data/src/com/zoho/crm/api/zia_people_enrichment/enrich_based_on.rb +120 -0
  1610. data/src/com/zoho/crm/api/zia_people_enrichment/enriched_data.rb +424 -0
  1611. data/src/com/zoho/crm/api/zia_people_enrichment/experience.rb +139 -0
  1612. data/src/com/zoho/crm/api/zia_people_enrichment/industry.rb +82 -0
  1613. data/src/com/zoho/crm/api/zia_people_enrichment/info.rb +120 -0
  1614. data/src/com/zoho/crm/api/zia_people_enrichment/response_handler.rb +12 -0
  1615. data/src/com/zoho/crm/api/zia_people_enrichment/response_wrapper.rb +84 -0
  1616. data/src/com/zoho/crm/api/zia_people_enrichment/social.rb +101 -0
  1617. data/src/com/zoho/crm/api/zia_people_enrichment/social_media.rb +82 -0
  1618. data/src/com/zoho/crm/api/zia_people_enrichment/success_response.rb +123 -0
  1619. data/src/com/zoho/crm/api/zia_people_enrichment/user.rb +82 -0
  1620. data/src/com/zoho/crm/api/zia_people_enrichment/zia_people_enrichment.rb +158 -0
  1621. data/src/com/zoho/crm/api/zia_people_enrichment/zia_people_enrichment_operations.rb +121 -0
  1622. data/src/resources/json_details.json +1 -0
  1623. data/src/version.rb +3 -0
  1624. metadata +1779 -0
@@ -0,0 +1,1031 @@
1
+ require 'json'
2
+ require 'monitor'
3
+
4
+ require_relative '../related_lists/related_list'
5
+ require_relative '../fields/fields'
6
+ require_relative '../fields/body_wrapper'
7
+ require_relative '../fields/api_exception'
8
+ require_relative '../modules/modules'
9
+ require_relative 'constants'
10
+ require_relative '../exception/sdk_exception'
11
+ require_relative '../../../api/logger/sdk_logger'
12
+
13
+ module ZOHOCRMSDK
14
+ module Util
15
+ # This class handles module field details.
16
+ class Utility
17
+ @@sync_lock = Monitor.new
18
+
19
+ @@apitype_vs_datatype = {}
20
+
21
+ @@apitype_vs_structurename = {}
22
+
23
+ @@new_file = false
24
+
25
+ @@get_modified_modules = false
26
+
27
+ @@api_supported_module = {}
28
+
29
+ @@module_api_name = nil
30
+
31
+ @@force_refresh = false
32
+ def self.set_handler_api_path(module_api_name, handler_instance)
33
+ if handler_instance.nil?
34
+ return
35
+ end
36
+ api_path = handler_instance.api_path
37
+ if api_path.downcase.include? module_api_name.downcase
38
+ api_path_splits = api_path.split('/')
39
+ i = 0
40
+ api_path_splits.each do |api_path_split|
41
+ split_lower = api_path_split.downcase
42
+ if split_lower == module_api_name.downcase
43
+ api_path_splits[i] = module_api_name
44
+ elsif (Constants::DEFAULT_MODULENAME_VS_APINAME.key? split_lower) && (!Constants::DEFAULT_MODULENAME_VS_APINAME[split_lower].nil?)
45
+ api_path_splits[i] = Constants::DEFAULT_MODULENAME_VS_APINAME[split_lower]
46
+ end
47
+ api_path = api_path_splits.join("/")
48
+ handler_instance.api_path = api_path
49
+ i += 1
50
+ end
51
+ end
52
+ end
53
+
54
+ def self.file_exists_flow(module_api_name, record_field_details_path, last_modified_time)
55
+ @@sync_lock.synchronize do
56
+ initializer = Initializer.get_initializer
57
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
58
+ last_modified_time_exists = false
59
+ if record_field_details_json.key?(Constants::FIELDS_LAST_MODIFIED_TIME) && !record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME].nil?
60
+ if get_current_time_in_millis - record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME] > 3_600_000
61
+ last_modified_time_exists = true
62
+ end
63
+ end
64
+ if !record_field_details_json.key?(Constants::FIELDS_LAST_MODIFIED_TIME) || @@force_refresh
65
+ last_modified_time_exists = true
66
+ end
67
+
68
+ if initializer.sdk_config.auto_refresh_fields && !@@new_file && !@@get_modified_modules && last_modified_time_exists
69
+ @@get_modified_modules = true
70
+ last_modified_time = (record_field_details_json.key? Constants::FIELDS_LAST_MODIFIED_TIME) ? record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME] : nil
71
+ modify_fields(record_field_details_path, last_modified_time)
72
+ @@get_modified_modules = false
73
+ elsif !initializer.sdk_config.auto_refresh_fields && @@force_refresh && !@@get_modified_modules
74
+ @@get_modified_modules = true
75
+ modify_fields(record_field_details_path, last_modified_time)
76
+ @@get_modified_modules = false
77
+ end
78
+
79
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
80
+
81
+ return if module_api_name.nil? || (record_field_details_json.key?(module_api_name.downcase) && !record_field_details_json[module_api_name.downcase].nil?)
82
+
83
+ fill_data_type
84
+
85
+ record_field_details_json[module_api_name.downcase] = {}
86
+
87
+ File.open(record_field_details_path, 'w') do |f|
88
+ f.write(record_field_details_json.to_json)
89
+ end
90
+ field_details = get_fields_details(module_api_name)
91
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
92
+
93
+ record_field_details_json[module_api_name.downcase] = field_details
94
+
95
+ File.open(record_field_details_path, 'w') do |f|
96
+ f.write(record_field_details_json.to_json)
97
+ end
98
+ end
99
+ end
100
+
101
+ def self.get_fields(module_api_name, handler_instance=nil)
102
+ @@sync_lock.synchronize do
103
+ if module_api_name.include? ','
104
+ split_names = module_api_name.split(',')
105
+ split_names.each do |name|
106
+ @@module_api_name = name
107
+ get_fields_info(name, handler_instance)
108
+ end
109
+ else
110
+ @@module_api_name = module_api_name
111
+ get_fields_info(module_api_name,handler_instance)
112
+ end
113
+ end
114
+ end
115
+
116
+ def self.write_to_file(file_path, file_contents)
117
+ File.open(file_path, 'w') do |f|
118
+ f.write(file_contents.to_json)
119
+ end
120
+ end
121
+
122
+ def self.get_fields_info(module_api_name, handler_instance=nil)
123
+ require_relative '../initializer'
124
+ initializer = Initializer.get_initializer
125
+ record_field_details_path = nil
126
+ last_modified_time = nil
127
+
128
+ @@sync_lock.synchronize do
129
+ begin
130
+ # return if !module_api_name.nil? && !search_json_details(module_api_name).nil?
131
+
132
+ resoures_folder_path = initializer.resources_path + '/' + Constants::RESOURCES
133
+
134
+ Dir.mkdir resoures_folder_path unless File.exist? resoures_folder_path
135
+ record_field_details_path = get_record_json_file_path
136
+ unless module_api_name.nil?
137
+ module_api_name = verify_module_api_name(module_api_name)
138
+ set_handler_api_path(module_api_name, handler_instance)
139
+
140
+ return if !handler_instance.nil? && handler_instance.module_api_name.nil? && (!Constants::SKIP_MODULES.include? module_api_name.downcase)
141
+ end
142
+ if File.exist? record_field_details_path
143
+ file_exists_flow(module_api_name, record_field_details_path, last_modified_time)
144
+ elsif initializer.sdk_config.auto_refresh_fields
145
+ @@new_file = true
146
+ fill_data_type
147
+ @@api_supported_module = @@api_supported_module.length == 0 ? get_modules(nil) : @@api_supported_module
148
+
149
+ record_field_details_json = {}
150
+
151
+ if File.exists? record_field_details_path
152
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
153
+ end
154
+
155
+ record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME] = get_current_time_in_millis
156
+
157
+ if @@api_supported_module.length > 0
158
+ @@api_supported_module.each_key do |module_name|
159
+ unless record_field_details_json.key? module_name.downcase
160
+ record_field_details_json[module_name.downcase] = {}
161
+ write_to_file(record_field_details_path, record_field_details_json)
162
+ field_details = get_fields_details( @@api_supported_module[module_name][Constants::API_NAME])
163
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
164
+ record_field_details_json[module_name.downcase] = field_details
165
+ write_to_file(record_field_details_path, record_field_details_json)
166
+ end
167
+ end
168
+ end
169
+ @@new_file = false
170
+ elsif @@force_refresh && !@@get_modified_modules
171
+ @@get_modified_modules = true
172
+ record_field_details_json = {}
173
+ write_to_file(record_field_details_path, record_field_details_json)
174
+ modify_fields(record_field_details_path, last_modified_time)
175
+ @@get_modified_modules = false
176
+ else
177
+ fill_data_type
178
+
179
+ record_field_details_json = { module_api_name.downcase => {} }
180
+ write_to_file(record_field_details_path, record_field_details_json)
181
+ field_details = get_fields_details(module_api_name)
182
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
183
+ record_field_details_json[module_api_name.downcase] = field_details
184
+ write_to_file(record_field_details_path, record_field_details_json)
185
+ end
186
+ rescue StandardError => e
187
+ if !record_field_details_path.nil? && File.exist?(record_field_details_path)
188
+ begin
189
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
190
+ if !module_api_name.nil? && record_field_details_json.key?(module_api_name.downcase)
191
+ record_field_details_json.delete(module_api_name.downcase)
192
+ end
193
+ if @@new_file
194
+ unless record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME].nil?
195
+ record_field_details_json.delete(Constants::FIELDS_LAST_MODIFIED_TIME)
196
+ end
197
+ @@new_file = false
198
+ end
199
+ if @@get_modified_modules || @@force_refresh
200
+ @@get_modified_modules = false
201
+ @@force_refresh = false
202
+ unless last_modified_time.nil?
203
+ record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME] = last_modified_time
204
+ end
205
+ end
206
+ write_to_file(record_field_details_path, record_field_details_json)
207
+ rescue StandardError => e
208
+ exception = SDKException.new(nil, Constants::EXCEPTION, nil, e)
209
+ SDKLog::SDKLogger.severe(Constants::EXCEPTION, exception)
210
+ raise exception
211
+ end
212
+ end
213
+ ex = (e.class.to_s == 'SDKException') ? e : SDKException.new(nil, Constants::EXCEPTION, nil, e)
214
+ SDKLog::SDKLogger.severe(Constants::EXCEPTION, ex)
215
+ raise ex
216
+ end
217
+ end
218
+ end
219
+
220
+ def self.modify_fields(record_field_details_path, modified_time)
221
+ modified_modules = get_modules(modified_time)
222
+ record_field_details_json = JSON.parse(File.open(record_field_details_path).read)
223
+ record_field_details_json[Constants::FIELDS_LAST_MODIFIED_TIME] = get_current_time_in_millis
224
+ write_to_file(record_field_details_path, record_field_details_json)
225
+ return unless modified_modules.any?
226
+
227
+ modified_modules.each_key do |module_api_name|
228
+ if record_field_details_json.key? module_api_name.downcase
229
+ delete_fields(record_field_details_json, module_api_name)
230
+ end
231
+ end
232
+
233
+ write_to_file(record_field_details_path, record_field_details_json)
234
+
235
+ modified_modules.each_key do |module_api_name|
236
+ module_data = modified_modules[module_api_name]
237
+ get_fields_info(module_data[Constants::API_NAME])
238
+ end
239
+ end
240
+
241
+ def self.verify_module_api_name(module_api_name)
242
+ unless module_api_name.nil?
243
+ if (Constants::DEFAULT_MODULENAME_VS_APINAME.key? module_api_name.downcase) && (!Constants::DEFAULT_MODULENAME_VS_APINAME[module_api_name.downcase].nil?)
244
+ return Constants::DEFAULT_MODULENAME_VS_APINAME[module_api_name.downcase]
245
+ end
246
+ end
247
+
248
+ record_field_details_path = get_record_json_file_path
249
+
250
+ if File.exist? record_field_details_path
251
+ fields_json = JSON.parse(File.open(record_field_details_path).read)
252
+ if !fields_json.empty? && (fields_json.key? Constants::SDK_MODULE_METADATA) && (!module_api_name.nil? && (fields_json[Constants::SDK_MODULE_METADATA].key? module_api_name.downcase))
253
+ return fields_json[Constants::SDK_MODULE_METADATA][module_api_name.downcase][Constants::API_NAME]
254
+ end
255
+ end
256
+ return module_api_name
257
+ end
258
+
259
+ def self.delete_fields(record_field_details_json, module_api_name)
260
+ subform_modules = []
261
+
262
+ field_json = record_field_details_json[module_api_name.downcase]
263
+ field_json.each_key do |key|
264
+ if field_json[key].key?(Constants::SUBFORM) && field_json[key][Constants::SUBFORM]
265
+ if record_field_details_json.key? field_json[key][Constants::MODULE]
266
+ subform_modules.push(field_json[key][Constants::MODULE])
267
+ end
268
+ end
269
+ end
270
+ record_field_details_json.delete(module_api_name.downcase)
271
+ return unless subform_modules.any?
272
+
273
+ subform_modules.each do |subform_module|
274
+ delete_fields(record_field_details_json, subform_module)
275
+ end
276
+ end
277
+
278
+ def self.get_record_json_file_path()
279
+ Initializer.get_initializer.resources_path + "/" + Constants::FIELD_DETAILS_DIRECTORY + "/" + Converter.new(nil).get_record_json_file_path()
280
+ end
281
+
282
+ def self.get_related_lists(related_module_name, module_api_name, common_api_handler)
283
+ require_relative '../initializer'
284
+
285
+ initializer = Initializer.get_initializer
286
+
287
+ @@sync_lock.synchronize do
288
+ begin
289
+ is_new_data = false
290
+ key = module_api_name + Constants::UNDERSCORE + Constants::RELATED_LISTS
291
+ key = key.downcase
292
+ resoures_folder_path = initializer.resources_path + '/' + Constants::RESOURCES
293
+ Dir.mkdir resoures_folder_path unless File.exist? resoures_folder_path
294
+
295
+ record_field_details_path = get_record_json_file_path
296
+ if !File.exist?(record_field_details_path) || (File.exist?(record_field_details_path) && !(JSON.parse(File.read(record_field_details_path)).key? key))
297
+ is_new_data = true
298
+ module_api_name = verify_module_api_name(module_api_name)
299
+ related_list_values = get_related_list_details(module_api_name)
300
+ if File.exist?(record_field_details_path)
301
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
302
+ else
303
+ record_field_details_json = {}
304
+ end
305
+ record_field_details_json[key] = related_list_values
306
+ write_to_file(record_field_details_path, record_field_details_json)
307
+ end
308
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
309
+ module_related_list = record_field_details_json[key]
310
+ if !check_related_list_exists(related_module_name, module_related_list, common_api_handler) && !is_new_data
311
+ record_field_details_json.delete(key)
312
+ write_to_file(record_field_details_path, record_field_details_json)
313
+ get_related_lists(related_module_name, module_api_name, common_api_handler)
314
+ end
315
+ rescue SDKException => e
316
+ SDKLog::SDKLogger.severe(Constants::EXCEPTION, e)
317
+ raise e
318
+ rescue StandardError => e
319
+ ex = SDKException.new(nil, Constants::EXCEPTION, nil, e)
320
+ SDKLog::SDKLogger.severe(Constants::EXCEPTION, ex)
321
+ raise ex
322
+ end
323
+ end
324
+ end
325
+
326
+ def self.get_fields_details(module_api_name)
327
+ require_relative '../fields/fields_operations'
328
+ fields_details = {}
329
+ param_instance = ParameterMap.new
330
+ param_instance.add(Fields::FieldsOperations::GetFieldsParam.module_1, module_api_name)
331
+ response = Fields::FieldsOperations.new.get_fields(param_instance)
332
+ unless response.nil?
333
+
334
+ return fields_details if response.status_code == Constants::RESPONSECODE_NO_CONTENT
335
+
336
+ if response.is_expected
337
+ data_object = response.data_object
338
+
339
+ if data_object.is_a? Fields::ResponseWrapper
340
+ fields = data_object.fields
341
+
342
+ fields.each do |field|
343
+ key_name = field.api_name
344
+ next if Constants::KEYS_TO_SKIP.include? key_name
345
+
346
+ field_detail = {}
347
+ set_data_type(field_detail, field, module_api_name)
348
+ fields_details[key_name] = field_detail
349
+ end
350
+ if Constants::INVENTORY_MODULES.include? module_api_name.downcase
351
+ field_detail = {}
352
+ field_detail[Constants::NAME] = Constants::LINE_TAX
353
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
354
+ field_detail[Constants::STRUCTURE_NAME] = Constants::LINE_TAX_NAMESPACE
355
+ fields_details[Constants::LINE_TAX] = field_detail
356
+ end
357
+
358
+ if module_api_name.downcase == Constants::NOTES.downcase
359
+ field_detail = {}
360
+ field_detail[Constants::NAME] = Constants::ATTACHMENTS
361
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
362
+ field_detail[Constants::STRUCTURE_NAME] = Constants::ATTACHMENTS_NAMESPACE
363
+ fields_details[Constants::ATTACHMENTS] = field_detail
364
+ end
365
+
366
+ elsif data_object.is_a? Fields::APIException
367
+ error_response = {}
368
+ error_response[Constants::CODE] = data_object.code.value
369
+ error_response[Constants::STATUS] = data_object.status.value
370
+ error_response[Constants::MESSAGE] = data_object.message
371
+ error_response[Constants::DETAILS] = data_object.details
372
+ exception = SDKException.new(Constants::API_EXCEPTION, nil, error_response)
373
+ if @@module_api_name == module_api_name.downcase
374
+ raise exception
375
+ end
376
+ SDKLog::SDKLogger.severe(Constants::API_EXCEPTION, exception)
377
+ end
378
+ else
379
+ error_response = {}
380
+ error_response[Constants::CODE] = response.status_code
381
+ raise SDKException.new(Constants::API_EXCEPTION, nil, error_response)
382
+ end
383
+ end
384
+ fields_details
385
+ end
386
+
387
+ def self.get_json_object(json, key)
388
+ json.each_key do |key_in_json|
389
+ return json[key_in_json] if key_in_json == key
390
+ end
391
+ nil
392
+ end
393
+
394
+ def self.fill_data_type
395
+ return unless @@apitype_vs_datatype.empty?
396
+
397
+ field_api_names_string = %w[autonumber textarea text website email phone mediumtext profileimage]
398
+ field_api_names_integer = %w[integer]
399
+ field_api_names_boolean = %w[boolean]
400
+ field_api_names_long = %w[bigint long]
401
+ field_api_names_double = %w[double percent currency]
402
+ field_api_names_field_file = %w[fileupload]
403
+ field_api_names_datetime = %w[datetime event_reminder]
404
+ field_api_names_date = %w[date]
405
+ field_api_names_lookup = %w[lookup]
406
+ field_api_names_picklist = %w[picklist]
407
+ field_api_names_multiselect_picklist = %w[multiselectpicklist]
408
+ field_api_names_subform = %w[subform]
409
+ field_api_names_owner_lookup = %w[ownerlookup userlookup]
410
+ field_api_names_multiuser_lookup = %w[multiuserlookup]
411
+ field_api_names_multimodule_lookup = %w[multi_module_lookup]
412
+ field_api_names_task_remind_at = %w[ALARM]
413
+ field_api_names_recurring_activity = %w[RRULE]
414
+ field_api_names_reminder = %w[multireminder]
415
+ field_api_names_consent_look_up = %w[consent_lookup]
416
+ field_api_name_image_upload = %w[imageupload]
417
+ field_api_name_multiselect_lookup = %w[multiselectlookup]
418
+ field_api_name_line_tax = %w[linetax]
419
+ field_api_name_time_range = %w[time_range]
420
+
421
+ field_api_names_string.each do |field_api_name|
422
+ @@apitype_vs_datatype[field_api_name] = Constants::STRING
423
+ end
424
+
425
+ field_api_names_integer.each do |field_api_name|
426
+ @@apitype_vs_datatype[field_api_name] = Constants::INTEGER
427
+ end
428
+
429
+ field_api_names_boolean.each do |field_api_name|
430
+ @@apitype_vs_datatype[field_api_name] = Constants::BOOLEAN
431
+ end
432
+
433
+ field_api_names_double.each do |field_api_name|
434
+ @@apitype_vs_datatype[field_api_name] = Constants::DOUBLE
435
+ end
436
+
437
+ field_api_names_long.each do |field_api_name|
438
+ @@apitype_vs_datatype[field_api_name] = Constants::LONG
439
+ end
440
+
441
+ field_api_names_field_file.each do |field_api_name|
442
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
443
+ @@apitype_vs_structurename[field_api_name] = Constants::FIELD_FILE_NAMESPACE
444
+ end
445
+
446
+ field_api_names_task_remind_at.each do |field_api_name|
447
+ @@apitype_vs_datatype[field_api_name] = Constants::REMINDAT_NAMESPACE
448
+ @@apitype_vs_structurename[field_api_name] = Constants::REMINDAT_NAMESPACE
449
+ end
450
+
451
+ field_api_names_recurring_activity.each do |field_api_name|
452
+ @@apitype_vs_datatype[field_api_name] = Constants::RECURRING_ACTIVITY_NAMESPACE
453
+ @@apitype_vs_structurename[field_api_name] = Constants::RECURRING_ACTIVITY_NAMESPACE
454
+ end
455
+
456
+ field_api_names_reminder.each do |field_api_name|
457
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
458
+ @@apitype_vs_structurename[field_api_name] = Constants::REMINDER_NAMESPACE
459
+ end
460
+
461
+ field_api_names_datetime.each do |field_api_name|
462
+ @@apitype_vs_datatype[field_api_name] = Constants::DATETIME_NAMESPACE
463
+ end
464
+
465
+ field_api_names_date.each do |field_api_name|
466
+ @@apitype_vs_datatype[field_api_name] = Constants::DATE_NAMESPACE
467
+ end
468
+
469
+ field_api_names_lookup.each do |field_api_name|
470
+ @@apitype_vs_datatype[field_api_name] = Constants::RECORD_NAMESPACE
471
+
472
+ @@apitype_vs_structurename[field_api_name] = Constants::RECORD_NAMESPACE
473
+ end
474
+
475
+ field_api_names_owner_lookup.each do |field_api_name|
476
+ @@apitype_vs_datatype[field_api_name] = Constants::USER_NAMESPACE
477
+
478
+ @@apitype_vs_structurename[field_api_name] = Constants::USER_NAMESPACE
479
+ end
480
+
481
+ field_api_names_multiuser_lookup.each do |field_api_name|
482
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
483
+
484
+ @@apitype_vs_structurename[field_api_name] = Constants::RECORD_NAMESPACE
485
+ end
486
+
487
+ field_api_names_multimodule_lookup.each do |field_api_name|
488
+ @@apitype_vs_datatype[field_api_name] = Constants::RECORD_NAMESPACE
489
+
490
+ @@apitype_vs_structurename[field_api_name] = Constants::RECORD_NAMESPACE
491
+ end
492
+
493
+ field_api_names_picklist.each do |field_api_name|
494
+ @@apitype_vs_datatype[field_api_name] = Constants::CHOICE_NAMESPACE
495
+ end
496
+
497
+ field_api_names_multiselect_picklist.each do |field_api_name|
498
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
499
+
500
+ @@apitype_vs_structurename[field_api_name] = Constants::CHOICE_NAMESPACE
501
+ end
502
+
503
+ field_api_names_subform.each do |field_api_name|
504
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
505
+
506
+ @@apitype_vs_structurename[field_api_name] = Constants::RECORD_NAMESPACE
507
+ end
508
+
509
+ field_api_names_consent_look_up.each do |field_api_name|
510
+ @@apitype_vs_datatype[field_api_name] = Constants::CONSENT_NAMESPACE
511
+
512
+ @@apitype_vs_structurename[field_api_name] = Constants::CONSENT_NAMESPACE
513
+ end
514
+
515
+ field_api_name_image_upload.each do |field_api_name|
516
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
517
+
518
+ @@apitype_vs_structurename[field_api_name] = Constants::IMAGEUPLOAD_NAMESPACE
519
+ end
520
+
521
+ field_api_name_multiselect_lookup.each do |field_api_name|
522
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
523
+
524
+ @@apitype_vs_structurename[field_api_name] = Constants::RECORD_NAMESPACE
525
+ end
526
+
527
+ field_api_name_line_tax.each do |field_api_name|
528
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
529
+
530
+ @@apitype_vs_structurename[field_api_name] = Constants::LINE_TAX_NAMESPACE
531
+ end
532
+ field_api_name_time_range.each do |field_api_name|
533
+ @@apitype_vs_datatype[field_api_name] = Constants::LIST_NAMESPACE
534
+ @@apitype_vs_structurename[field_api_name] = Constants::TIME_RANGE_NAMESPACE
535
+ end
536
+ end
537
+
538
+ def self.set_data_type(field_detail, field_instance, module_api_name)
539
+ data_type = field_instance.data_type
540
+
541
+ key_name = field_instance.api_name
542
+
543
+ module_name = Modules::MinifiedModule.new
544
+
545
+ module_api_name = module_api_name.downcase
546
+ if !field_instance.system_mandatory.nil? && field_instance.system_mandatory && !((module_api_name == Constants::CALLS.downcase) && (key_name.downcase == Constants::CALL_DURATION.downcase))
547
+ field_detail[Constants::REQUIRED] = true
548
+ end
549
+
550
+ if (key_name.downcase == Constants::PRICING_DETAILS.downcase) && (module_api_name == Constants::PRICE_BOOKS.downcase)
551
+ field_detail[Constants::NAME] = key_name
552
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
553
+ field_detail[Constants::STRUCTURE_NAME] = Constants::PRICINGDETAILS
554
+ field_detail[Constants::SKIP_MANDATORY] = true
555
+ return
556
+ elsif (key_name.downcase == Constants::PARTICIPANT_API_NAME.downcase) && ((module_api_name == Constants::EVENTS.downcase) || (module_api_name == Constants::ACTIVITIES.downcase))
557
+ field_detail[Constants::NAME] = key_name
558
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
559
+ field_detail[Constants::STRUCTURE_NAME] = Constants::PARTICIPANTS
560
+ field_detail[Constants::SKIP_MANDATORY] = true
561
+ return
562
+ elsif (key_name.downcase == Constants::COMMENTS.downcase) && ((module_api_name == Constants::SOLUTIONS.downcase) || (module_api_name == Constants::CASES.downcase))
563
+ field_detail[Constants::NAME] = key_name
564
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
565
+ field_detail[Constants::STRUCTURE_NAME] = Constants::COMMENTS_NAMESPACE
566
+ field_detail[Constants::LOOKUP] = true
567
+ return
568
+ elsif key_name.downcase == Constants::LAYOUT.downcase
569
+ field_detail[Constants::NAME] = key_name
570
+ field_detail[Constants::TYPE] = Constants::LAYOUT_NAMESPACE
571
+ field_detail[Constants::LOOKUP] = true
572
+ field_detail[Constants::STRUCTURE_NAME] = Constants::LAYOUT_NAMESPACE
573
+ return
574
+ elsif (key_name.downcase == Constants::TERRITORIES.downcase || key_name.downcase == Constants::TERRITORY.downcase) && !field_instance.custom_field.nil? && !field_instance.custom_field
575
+ field_detail[Constants::NAME] = key_name
576
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
577
+ field_detail[Constants::STRUCTURE_NAME] = Constants::TERRITORY_NAMESPACE
578
+ field_detail[Constants::LOOKUP] = true
579
+ return
580
+ elsif key_name.downcase == Constants::PRODUCT_NAME.downcase && Constants::INVENTORY_MODULES_ITEMS.include?(module_api_name.downcase)
581
+ field_detail[Constants::NAME] = key_name
582
+ field_detail[Constants::TYPE] = Constants::LINEITEM_PRODUCT
583
+ field_detail[Constants::STRUCTURE_NAME] = Constants::LINEITEM_PRODUCT
584
+ field_detail[Constants::SKIP_MANDATORY] = true
585
+ return
586
+ elsif key_name.downcase == Constants::DISCOUNT.downcase && Constants::INVENTORY_MODULES_ITEMS.include?(module_api_name.downcase)
587
+ field_detail[Constants::NAME] = key_name
588
+ field_detail[Constants::TYPE] = Constants::STRING
589
+ return
590
+ elsif key_name.downcase == Constants::TAX.downcase && module_api_name.downcase() == Constants::PRODUCTS.downcase
591
+ field_detail[Constants::NAME] = key_name
592
+ field_detail[Constants::TYPE] = Constants::LIST_NAMESPACE
593
+ field_detail[Constants::STRUCTURE_NAME] = Constants::TAX_NAMESPACE
594
+ return
595
+ elsif @@apitype_vs_datatype.include? data_type
596
+ field_detail[Constants::TYPE] = @@apitype_vs_datatype[data_type]
597
+ elsif data_type == Constants::FORMULA.downcase
598
+ unless field_instance.formula.nil?
599
+ return_type = field_instance.formula.return_type
600
+ unless @@apitype_vs_datatype[return_type].nil?
601
+ field_detail[Constants::TYPE] = @@apitype_vs_datatype[return_type]
602
+ end
603
+ field_detail[Constants::READ_ONLY] = true
604
+ end
605
+ elsif data_type == Constants::ROLLUP_SUMMARY.downcase
606
+ unless field_instance.rollup_summary.nil?
607
+ return_type = field_instance.rollup_summary.return_type
608
+ if !@@apitype_vs_datatype[return_type].nil?
609
+ field_detail[Constants::TYPE] = @@apitype_vs_datatype[return_type]
610
+ elsif !@@apitype_vs_datatype[field_instance.json_type].nil?
611
+ field_detail[Constants::TYPE] = !@@apitype_vs_datatype[field_instance.json_type]
612
+ end
613
+ end
614
+ else
615
+ return
616
+ end
617
+ field_detail[Constants::LOOKUP] = true if data_type.downcase.include? Constants::LOOKUP
618
+ if (data_type.downcase.include? Constants::CONSENT_LOOKUP) || (data_type.downcase.include? Constants::OWNER_LOOKUP)
619
+ field_detail[Constants::SKIP_MANDATORY] = true
620
+ end
621
+
622
+ if data_type.downcase.include? Constants::MULTI_SELECT_LOOKUP
623
+ field_detail[Constants::SKIP_MANDATORY] = true
624
+ unless field_instance.multiselectlookup.nil?
625
+ unless field_instance.multiselectlookup.linking_details.nil?
626
+ linking_details = field_instance.multiselectlookup.linking_details
627
+ unless linking_details.nil?
628
+ linking_module = linking_details.module
629
+ field_detail[Constants::MODULE] = linking_module.api_name
630
+ module_name = Modules::MinifiedModule.new
631
+ module_name.api_name = linking_module.api_name
632
+ module_name.id = linking_module.id
633
+ end
634
+ end
635
+ end
636
+ field_detail[Constants::SUBFORM] = true
637
+ end
638
+
639
+ if data_type.downcase.include? Constants::MULTI_USER_LOOKUP
640
+ field_detail[Constants::SKIP_MANDATORY] = true
641
+ unless field_instance.multiuserlookup.nil?
642
+ unless field_instance.multiuserlookup.linking_details.nil?
643
+ linking_details = field_instance.multiuserlookup.linking_details
644
+ unless linking_details.nil?
645
+ linking_module = linking_details.module
646
+ field_detail[Constants::MODULE] = linking_module.api_name
647
+ module_name = Modules::MinifiedModule.new
648
+ module_name.api_name = linking_module.api_name
649
+ module_name.id = linking_module.id
650
+ end
651
+ end
652
+ end
653
+ field_detail[Constants::SUBFORM] = true
654
+ end
655
+
656
+ if data_type.downcase.include? Constants::MULTI_MODULE_LOOKUP
657
+ field_detail[Constants::SKIP_MANDATORY, true]
658
+ end
659
+
660
+ if @@apitype_vs_structurename.include? data_type
661
+ field_detail[Constants::STRUCTURE_NAME] = @@apitype_vs_structurename[data_type]
662
+ end
663
+
664
+ if (data_type.downcase == Constants::PICKLIST.downcase) && !field_instance.pick_list_values.nil? && !field_instance.pick_list_values.empty?
665
+ values = []
666
+
667
+ field_instance.pick_list_values.each do |pick_list_value|
668
+ values.push(pick_list_value.display_value)
669
+ end
670
+ field_detail[Constants::PICKLIST] = true
671
+ field_detail[Constants::VALUES] = values
672
+ end
673
+
674
+ if data_type.downcase == Constants::SUBFORM.downcase
675
+ module_name.api_name = field_instance.associated_module.module
676
+ field_detail[Constants::SUBFORM] = true
677
+ field_detail[Constants::SKIP_MANDATORY] = true
678
+ field_detail[Constants::MODULE] = module_name.api_name
679
+ end
680
+
681
+ if data_type.downcase == Constants::LOOKUP.downcase && !field_instance.lookup.nil?
682
+ module_1 = field_instance.lookup.module
683
+ if !module_1.nil? && (module_1.api_name.downcase != Constants::SE_MODULE.downcase)
684
+ module_name.api_name = module_1.api_name
685
+ module_name.id = module_1.id
686
+ field_detail[Constants::MODULE] = module_1.api_name
687
+ if (module_1.api_name.downcase == Constants::ACCOUNTS.downcase) && !field_instance.custom_field
688
+ field_detail[Constants::SKIP_MANDATORY] = true
689
+ end
690
+ else
691
+ module_name = Modules::MinifiedModule.new
692
+ end
693
+ field_detail[Constants::LOOKUP] = true
694
+ end
695
+ if !module_name.nil? && !module_name.api_name.nil? && module_name.api_name.length > 0
696
+ get_fields_info(module_name.api_name, nil)
697
+ end
698
+ field_detail[Constants::NAME] = key_name
699
+ end
700
+
701
+ def self.get_modules(header)
702
+ require_relative '../modules/modules_operations'
703
+ api_names = {}
704
+ header_map = HeaderMap.new
705
+ parameter_map = ParameterMap.new
706
+ unless header.nil?
707
+ header_value = Time.at(header.to_i / 1000).iso8601
708
+ header_map.add(Modules::ModulesOperations::GetModulesHeader.If_modified_since, DateTime.parse(header_value))
709
+ end
710
+ response = Modules::ModulesOperations.new.get_modules(parameter_map, header_map)
711
+
712
+ unless response.nil?
713
+ if [Constants::RESPONSECODE_NO_CONTENT, Constants::RESPONSECODE_NOT_MODIFIED].include? response.status_code
714
+ return api_names
715
+ end
716
+
717
+ if response.is_expected
718
+ response_object = response.data_object
719
+ if response_object.is_a? Modules::ResponseWrapper
720
+ modules = response_object.modules
721
+ modules.each do |module_ins|
722
+ if module_ins.api_supported
723
+ module_details = {}
724
+ module_details[Constants::API_NAME] = module_ins.api_name
725
+ module_details[Constants::GENERATED_TYPE] = module_ins.generated_type.value
726
+ api_names[module_ins.api_name.downcase] = module_details
727
+ end
728
+ end
729
+ elsif response_object.is_a? Modules::APIException
730
+ error_response = {}
731
+ error_response[Constants::CODE] = response_object.code.value
732
+ error_response[Constants::STATUS] = response_object.status.value
733
+ error_response[Constants::MESSAGE] = response_object.message
734
+ raise SDKException.new(Constants::API_EXCEPTION, nil, error_response)
735
+ end
736
+ end
737
+ end
738
+ if header.nil?
739
+ begin
740
+ initializer = Initializer.get_initializer
741
+ resoures_folder_path = initializer.resources_path + '/' + Constants::RESOURCES
742
+ Dir.mkdir resoures_folder_path unless File.exist? resoures_folder_path
743
+ record_field_details_path = get_record_json_file_path()
744
+ write_module_meta_data(record_field_details_path, api_names)
745
+ end
746
+ end
747
+ api_names
748
+ end
749
+
750
+ def self.check_related_list_exists(related_module_name, module_related_list_ja, common_api_handler)
751
+ (0..module_related_list_ja.length - 1).each do |i|
752
+ related_list_jo = module_related_list_ja[i]
753
+ if !related_list_jo[Constants::API_NAME].nil? && (related_list_jo[Constants::API_NAME].downcase == related_module_name.downcase)
754
+ if related_list_jo[Constants::HREF] == Constants::NULL_VALUE
755
+ raise SDKException.new(Constants::UNSUPPORTED_IN_API, common_api_handler.http_method + ' ' + common_api_handler.api_path + Constants::UNSUPPORTED_IN_API_MESSAGE)
756
+ end
757
+
758
+ if related_list_jo[Constants::MODULE] != Constants::NULL_VALUE
759
+ common_api_handler.module_api_name = related_list_jo[Constants::MODULE]
760
+ get_fields_info(related_list_jo[Constants::MODULE], common_api_handler)
761
+ end
762
+ return true
763
+ end
764
+ end
765
+ false
766
+ end
767
+
768
+ def self.verify_photo_support(module_api_name)
769
+ @@sync_lock.synchronize do
770
+ begin
771
+ module_api_name = verify_module_api_name(module_api_name)
772
+ if Constants::PHOTO_SUPPORTED_MODULES.include? module_api_name.downcase
773
+ return true
774
+ end
775
+ modules = get_module_names
776
+
777
+ if modules.key? module_api_name.downcase || !modules[module_api_name.downcase].nil?
778
+ module_meta_data = modules[module_api_name.downcase]
779
+
780
+ if module_meta_data.key? Constants::GENERATED_TYPE && module_meta_data[Constants::GENERATED_TYPE] != Constants::GENERATED_TYPE_CUSTOM
781
+ raise SDKException.new(Constants::UPLOAD_PHOTO_UNSUPPORTED_ERROR,Constants::UPLOAD_PHOTO_UNSUPPORTED_MESSAGE + module_api_name)
782
+ end
783
+ end
784
+ rescue SDKException => e
785
+ raise e
786
+ rescue StandardError => e
787
+ ex = SDKException.new(nil, Constants::EXCEPTION, nil, e)
788
+ SDKLog::SDKLogger.severe(Constants::EXCEPTION, ex)
789
+ raise ex
790
+ end
791
+ return true
792
+ end
793
+ end
794
+
795
+ def self.get_module_names
796
+ module_data = {}
797
+ initializer = Initializer.get_initializer
798
+ resoures_folder_path = initializer.resources_path + '/' + Constants::RESOURCES
799
+ Dir.mkdir resoures_folder_path unless File.exist? resoures_folder_path
800
+
801
+ record_field_details_path = get_record_json_file_path
802
+
803
+ call_get_modules = false
804
+ if File.exists? record_field_details_path
805
+ json = JSON.parse(File.read(record_field_details_path))
806
+ if !json.key? Constants::SDK_MODULE_METADATA
807
+ call_get_modules = true
808
+ elsif json[Constants::SDK_MODULE_METADATA].nil? || json[Constants::SDK_MODULE_METADATA].length == 0
809
+ call_get_modules = true
810
+ end
811
+ else
812
+ call_get_modules = true
813
+ end
814
+ if call_get_modules
815
+ module_data = get_modules(nil)
816
+ write_module_meta_data(record_field_details_path, module_data)
817
+ return module_data
818
+ end
819
+ record_field_details_json = JSON.parse(File.read(record_field_details_path))
820
+ module_data = record_field_details_json[Constants::SDK_MODULE_METADATA]
821
+ return module_data
822
+ end
823
+
824
+ def self.write_module_meta_data(record_field_details_path, module_data)
825
+ field_details_json = (File.exist? record_field_details_path) ? JSON.parse(File.read(record_field_details_path)):{}
826
+ field_details_json[Constants::SDK_MODULE_METADATA] = module_data
827
+ write_to_file(record_field_details_path, field_details_json)
828
+ end
829
+
830
+ def self.get_related_list_details(module_api_name)
831
+ require_relative '../related_lists/related_lists_operations'
832
+ param_instance = ParameterMap.new
833
+ param_instance.add(RelatedLists::RelatedListsOperations::GetRelatedListsParam.module_1, module_api_name)
834
+ rlo = RelatedLists::RelatedListsOperations.new(nil)
835
+ response = rlo.get_related_lists(param_instance)
836
+ related_lists_ja = []
837
+ unless response.nil?
838
+ return related_lists_ja if response.status_code == Constants::RESPONSECODE_NO_CONTENT
839
+
840
+ if response.is_expected
841
+ response_handler = response.data_object
842
+ if response_handler.is_a? RelatedLists::ResponseWrapper
843
+ response_wrapper = response_handler
844
+ related_lists = response_wrapper.related_lists
845
+ related_lists.each do |related_list|
846
+ related_list_detail = {}
847
+ related_list_detail[Constants::API_NAME] = related_list.api_name
848
+ related_list_detail[Constants::MODULE] = related_list.module.nil? ? Constants::NULL_VALUE : related_list.module
849
+ related_list_detail[Constants::NAME] = related_list.name
850
+ related_list_detail[Constants::HREF] = related_list.href.nil? ? Constants::NULL_VALUE : related_list.href
851
+ related_lists_ja.push(related_list_detail)
852
+ end
853
+ elsif response_handler.is_a? RelatedLists::APIException
854
+ exception = response_handler
855
+ error_response = {}
856
+ error_response[Constants::CODE] = exception.code.value
857
+ error_response[Constants::STATUS] = exception.status.value
858
+ error_response[Constants::MESSAGE] = exception.message
859
+ raise SDKException.new(Constants::API_EXCEPTION, nil, error_response)
860
+ end
861
+ else
862
+ error_response = {}
863
+ error_response[Constants::CODE] = response.status_code
864
+ raise SDKException.new(Constants::API_EXCEPTION, nil, error_response)
865
+ end
866
+ end
867
+ related_lists_ja
868
+ end
869
+
870
+ def self.get_current_time_in_millis
871
+ (Time.now.to_f * 1000).to_i
872
+ end
873
+
874
+ def self.refresh_modules
875
+ @@force_refresh = true
876
+ get_fields_info(nil)
877
+ @@force_refresh = false
878
+ end
879
+
880
+ def self.classname_to_filename(class_name)
881
+ changed_class_name = ''
882
+
883
+ if class_name != "APIs"
884
+ camel_case_split = class_name.to_s.split(/(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])/)
885
+ camel_case_split.each_with_index do |each_name, i|
886
+ changed_class_name += Constants::UNDERSCORE if i.positive?
887
+ changed_class_name += each_name.to_s.downcase
888
+ end
889
+ else
890
+ changed_class_name = class_name.downcase
891
+ end
892
+ changed_class_name
893
+ end
894
+
895
+ def self.class_to_load(class_path)
896
+ package_to_load = 'ZOHOCRMSDK::'
897
+
898
+ class_path = class_path.to_s
899
+
900
+ split_names = class_path.split(Constants::DOT)
901
+
902
+ package_name_split = split_names[-2].to_s.split(Constants::UNDERSCORE)
903
+
904
+ package_name_split.each do |name|
905
+ if name == "apis"
906
+ name = "APIs"
907
+ package_to_load += name
908
+ else
909
+ name[0] = name[0].to_s.upcase
910
+ package_to_load += name
911
+ end
912
+ end
913
+
914
+ package_to_load += Constants::DOUBLE_COLON
915
+
916
+ package_to_load += split_names[-1]
917
+
918
+ package_to_load
919
+ end
920
+
921
+ def self.path_to_package(class_path)
922
+ if class_path.to_s.include? Constants::DOUBLE_COLON
923
+ name = Constants::PACKAGE_PREFIX
924
+ class_path = class_path.to_s
925
+ class_split = class_path.to_s.split(Constants::DOUBLE_COLON)
926
+ class_split[1] = classname_to_filename(class_split[1])
927
+ name += class_split[1] + Constants::DOT + class_split[2]
928
+ name
929
+ else
930
+ class_path
931
+ end
932
+ end
933
+
934
+ def self.get_user_name(token)
935
+ user_name = nil
936
+ param_instance = ParameterMap.new
937
+ param_instance.add(Users::UsersOperations::GetUsersParam.type, Choice.new(Constants::CURRENTUSER))
938
+ header_instance = HeaderMap.new
939
+ handler_instance = Handler::CommonAPIHandler.new
940
+ api_path = String.new
941
+ api_path = api_path.concat("/crm/v8/users")
942
+ handler_instance.api_path = api_path
943
+ handler_instance.http_method = Constants::REQUEST_METHOD_GET
944
+ handler_instance.category_method = 'READ'
945
+ handler_instance.param = param_instance
946
+ header_instance.add(Header.new(Constants::AUTHORIZATION, Constants::STRING), Constants::OAUTH_HEADER_PREFIX + token)
947
+ handler_instance.header= header_instance
948
+ response = handler_instance.api_call(Users::ResponseHandler.name, 'application/json')
949
+ unless response.nil?
950
+ if [204, 304].include?(response.status_code)
951
+ return nil
952
+ end
953
+ if response.is_expected
954
+ response_handler = response.data_object
955
+ if response_handler.is_a? Users::ResponseWrapper
956
+ response_wrapper = response_handler
957
+ users = response_wrapper.users
958
+ users.each do |user|
959
+ user_name = user.email
960
+ break
961
+ end
962
+ elsif response_handler.is_a? Users::APIException
963
+ exception = response_handler
964
+ error_response = {}
965
+ error_response[Constants::CODE] = exception.code.value
966
+ error_response[Constants::STATUS] = exception.status.value
967
+ error_response[Constants::MESSAGE] = exception.message
968
+ raise SDKException.new(nil , Constants::API_EXCEPTION, error_response, nil)
969
+ end
970
+ end
971
+ end
972
+ org_id = get_user_org_id(token)
973
+ if user_name.nil? || org_id.nil?
974
+ return nil
975
+ end
976
+ user_name + ":" + get_user_org_id(token)
977
+ end
978
+
979
+ def self.get_user_org_id(token)
980
+ header_instance = HeaderMap.new
981
+ handler_instance = Handler::CommonAPIHandler.new
982
+ api_path = String.new
983
+ api_path = api_path.concat("/crm/v8/org")
984
+ handler_instance.api_path = api_path
985
+ handler_instance.http_method = Constants::REQUEST_METHOD_GET
986
+ handler_instance.category_method = 'READ'
987
+ header_instance.add(Header.new(Constants::AUTHORIZATION, Constants::STRING), Constants::OAUTH_HEADER_PREFIX + token)
988
+ handler_instance.header= header_instance
989
+ response = handler_instance.api_call(Org::ResponseHandler.name, 'application/json')
990
+ unless response.nil?
991
+ if response.is_expected
992
+ response_handler = response.data_object
993
+ if response_handler.is_a? Org::ResponseWrapper
994
+ response_wrapper = response_handler
995
+ orgs = response_wrapper.org
996
+ orgs.each do |org|
997
+ return org.zgid
998
+ end
999
+ elsif response_handler.is_a? Org::APIException
1000
+ exception = response_handler
1001
+ error_response = {}
1002
+ error_response[Constants::CODE] = exception.code.value
1003
+ error_response[Constants::STATUS] = exception.status.value
1004
+ error_response[Constants::MESSAGE] = exception.message
1005
+ raise SDKException.new(nil , Constants::API_EXCEPTION, error_response, nil)
1006
+ end
1007
+ end
1008
+ end
1009
+ nil
1010
+ end
1011
+ def self.check_data_type(value, type)
1012
+ if value.nil?
1013
+ return false
1014
+ end
1015
+ if type.downcase == Constants::OBJECT.downcase
1016
+ return true
1017
+ end
1018
+ if Constants::DATA_TYPE.include? type
1019
+ type = Constants::DATA_TYPE[type].downcase
1020
+ end
1021
+ class_name = value.class.name.downcase
1022
+ if type.downcase == Constants::BOOLEAN.downcase
1023
+ class_name = ([true, false].include? value) ? Constants::BOOLEAN.downcase : class_name
1024
+ else
1025
+ class_name = path_to_package(value.class.name).downcase
1026
+ end
1027
+ class_name.downcase == type.downcase
1028
+ end
1029
+ end
1030
+ end
1031
+ end