@zohocrm/typescript-sdk-8.0 1.0.0 → 3.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 (237) hide show
  1. package/dist/config/json_details.json +1 -1
  2. package/dist/core/com/zoho/crm/api/apis/import_apis.js +5 -1
  3. package/dist/core/com/zoho/crm/api/appointment_preference/import_appointment_preference.js +5 -1
  4. package/dist/core/com/zoho/crm/api/assignment_rules/import_assignment_rules.js +5 -1
  5. package/dist/core/com/zoho/crm/api/associate_email/import_associate_email.js +5 -1
  6. package/dist/core/com/zoho/crm/api/attachments/import_attachments.js +5 -1
  7. package/dist/core/com/zoho/crm/api/audit_log_export/import_audit_log_export.js +5 -1
  8. package/dist/core/com/zoho/crm/api/available_currencies/import_available_currencies.js +5 -1
  9. package/dist/core/com/zoho/crm/api/backup/import_backup.js +5 -1
  10. package/dist/core/com/zoho/crm/api/blueprint/action_response.d.ts +3 -0
  11. package/dist/core/com/zoho/crm/api/blueprint/action_wrapper.d.ts +30 -0
  12. package/dist/core/com/zoho/crm/api/blueprint/action_wrapper.js +44 -0
  13. package/dist/core/com/zoho/crm/api/blueprint/api_exception.d.ts +2 -1
  14. package/dist/core/com/zoho/crm/api/blueprint/field.d.ts +4 -4
  15. package/dist/core/com/zoho/crm/api/blueprint/field.js +2 -2
  16. package/dist/core/com/zoho/crm/api/blueprint/import_blueprint.d.ts +2 -0
  17. package/dist/core/com/zoho/crm/api/blueprint/import_blueprint.js +9 -2
  18. package/dist/core/com/zoho/crm/api/blueprint/success_response.d.ts +2 -1
  19. package/dist/core/com/zoho/crm/api/bulk_read/body_wrapper.d.ts +4 -5
  20. package/dist/core/com/zoho/crm/api/bulk_read/body_wrapper.js +2 -2
  21. package/dist/core/com/zoho/crm/api/bulk_read/import_bulk_read.js +5 -1
  22. package/dist/core/com/zoho/crm/api/bulk_read/job_detail.d.ts +4 -4
  23. package/dist/core/com/zoho/crm/api/bulk_read/job_detail.js +2 -2
  24. package/dist/core/com/zoho/crm/api/bulk_read/query.d.ts +4 -5
  25. package/dist/core/com/zoho/crm/api/bulk_read/query.js +2 -2
  26. package/dist/core/com/zoho/crm/api/bulk_write/import_bulk_write.js +5 -1
  27. package/dist/core/com/zoho/crm/api/business_hours/import_business_hours.js +5 -1
  28. package/dist/core/com/zoho/crm/api/cadences/import_cadences.js +5 -1
  29. package/dist/core/com/zoho/crm/api/cadences_execution/import_cadences_execution.js +5 -1
  30. package/dist/core/com/zoho/crm/api/call_preferences/import_call_preferences.js +5 -1
  31. package/dist/core/com/zoho/crm/api/cancel_meetings/import_cancel_meetings.js +5 -1
  32. package/dist/core/com/zoho/crm/api/change_owner/import_change_owner.js +5 -1
  33. package/dist/core/com/zoho/crm/api/contact_roles/import_contact_roles.js +5 -1
  34. package/dist/core/com/zoho/crm/api/conversion_option/import_conversion_option.js +5 -1
  35. package/dist/core/com/zoho/crm/api/convert_lead/import_convert_lead.js +5 -1
  36. package/dist/core/com/zoho/crm/api/coql/import_coql.js +5 -1
  37. package/dist/core/com/zoho/crm/api/currencies/import_currencies.js +5 -1
  38. package/dist/core/com/zoho/crm/api/custom_views/import_custom_views.js +5 -1
  39. package/dist/core/com/zoho/crm/api/data_sharing/import_data_sharing.js +5 -1
  40. package/dist/core/com/zoho/crm/api/deal_contact_roles/import_deal_contact_roles.js +5 -1
  41. package/dist/core/com/zoho/crm/api/digest/import_digest.js +5 -1
  42. package/dist/core/com/zoho/crm/api/download_attachments/import_download_attachments.js +5 -1
  43. package/dist/core/com/zoho/crm/api/download_inline_images/import_download_inline_images.js +5 -1
  44. package/dist/core/com/zoho/crm/api/duplicate_check_preference/import_duplicate_check_preference.js +5 -1
  45. package/dist/core/com/zoho/crm/api/email_compose/import_email_compose.js +5 -1
  46. package/dist/core/com/zoho/crm/api/email_configuration_options/import_email_configuration_options.js +5 -1
  47. package/dist/core/com/zoho/crm/api/email_drafts/import_email_drafts.js +5 -1
  48. package/dist/core/com/zoho/crm/api/email_related_records/import_email_related_records.js +5 -1
  49. package/dist/core/com/zoho/crm/api/email_sharing_details/import_email_sharing_details.js +5 -1
  50. package/dist/core/com/zoho/crm/api/email_signatures/import_email_signatures.js +5 -1
  51. package/dist/core/com/zoho/crm/api/email_templates/email_template.d.ts +1 -1
  52. package/dist/core/com/zoho/crm/api/email_templates/import_email_templates.js +5 -1
  53. package/dist/core/com/zoho/crm/api/entity_scores/import_entity_scores.js +5 -1
  54. package/dist/core/com/zoho/crm/api/features/import_features.js +5 -1
  55. package/dist/core/com/zoho/crm/api/field_attachments/import_field_attachments.js +5 -1
  56. package/dist/core/com/zoho/crm/api/field_map_dependency/import_field_map_dependency.js +5 -1
  57. package/dist/core/com/zoho/crm/api/fields/fields.d.ts +11 -0
  58. package/dist/core/com/zoho/crm/api/fields/fields.js +15 -0
  59. package/dist/core/com/zoho/crm/api/fields/history_tracking.d.ts +35 -0
  60. package/dist/core/com/zoho/crm/api/fields/history_tracking.js +45 -0
  61. package/dist/core/com/zoho/crm/api/fields/import_fields.js +5 -1
  62. package/dist/core/com/zoho/crm/api/files/import_files.js +5 -1
  63. package/dist/core/com/zoho/crm/api/find_and_merge/import_find_and_merge.js +5 -1
  64. package/dist/core/com/zoho/crm/api/fiscal_year/import_fiscal_year.js +5 -1
  65. package/dist/core/com/zoho/crm/api/from_addresses/import_from_addresses.js +5 -1
  66. package/dist/core/com/zoho/crm/api/functions/import_functions.js +5 -1
  67. package/dist/core/com/zoho/crm/api/get_related_records_count/import_get_related_records_count.js +5 -1
  68. package/dist/core/com/zoho/crm/api/global_picklists/import_global_picklists.js +5 -1
  69. package/dist/core/com/zoho/crm/api/hipaa_compliance/import_hipaa_compliance.js +5 -1
  70. package/dist/core/com/zoho/crm/api/holidays/import_holidays.js +5 -1
  71. package/dist/core/com/zoho/crm/api/inventory_convert/import_inventory_convert.js +5 -1
  72. package/dist/core/com/zoho/crm/api/inventory_mass_convert/import_inventory_mass_convert.d.ts +1 -0
  73. package/dist/core/com/zoho/crm/api/inventory_mass_convert/import_inventory_mass_convert.js +8 -2
  74. package/dist/core/com/zoho/crm/api/inventory_mass_convert/response_wrapper.d.ts +30 -0
  75. package/dist/core/com/zoho/crm/api/inventory_mass_convert/response_wrapper.js +44 -0
  76. package/dist/core/com/zoho/crm/api/inventory_mass_convert/status.d.ts +1 -2
  77. package/dist/core/com/zoho/crm/api/inventory_templates/import_inventory_templates.js +5 -1
  78. package/dist/core/com/zoho/crm/api/inventory_templates/inventory_templates.d.ts +1 -1
  79. package/dist/core/com/zoho/crm/api/layouts/import_layouts.js +5 -1
  80. package/dist/core/com/zoho/crm/api/layouts/section_field.d.ts +11 -0
  81. package/dist/core/com/zoho/crm/api/layouts/section_field.js +15 -0
  82. package/dist/core/com/zoho/crm/api/mail_merge/import_mail_merge.js +5 -1
  83. package/dist/core/com/zoho/crm/api/mass_change_owner/import_mass_change_owner.js +5 -1
  84. package/dist/core/com/zoho/crm/api/mass_convert/import_mass_convert.js +5 -1
  85. package/dist/core/com/zoho/crm/api/mass_delete_cvid/import_mass_delete_cvid.js +5 -1
  86. package/dist/core/com/zoho/crm/api/mass_delete_tags/import_mass_delete_tags.js +5 -1
  87. package/dist/core/com/zoho/crm/api/modules/import_modules.js +5 -1
  88. package/dist/core/com/zoho/crm/api/modules/module_fields.d.ts +11 -0
  89. package/dist/core/com/zoho/crm/api/modules/module_fields.js +15 -0
  90. package/dist/core/com/zoho/crm/api/modules/modules_operations.d.ts +1 -2
  91. package/dist/core/com/zoho/crm/api/notes/body_wrapper.d.ts +11 -0
  92. package/dist/core/com/zoho/crm/api/notes/body_wrapper.js +15 -0
  93. package/dist/core/com/zoho/crm/api/notes/import_notes.js +5 -1
  94. package/dist/core/com/zoho/crm/api/notifications/import_notifications.js +5 -1
  95. package/dist/core/com/zoho/crm/api/notifications/notification.d.ts +5 -6
  96. package/dist/core/com/zoho/crm/api/notifications/notification.js +2 -2
  97. package/dist/core/com/zoho/crm/api/notifications/notifications_operations.d.ts +1 -1
  98. package/dist/core/com/zoho/crm/api/org/import_org.js +5 -1
  99. package/dist/core/com/zoho/crm/api/pick_list_values/import_pick_list_values.js +5 -1
  100. package/dist/core/com/zoho/crm/api/pipeline/import_pipeline.js +5 -1
  101. package/dist/core/com/zoho/crm/api/portal_invite/import_portal_invite.js +5 -1
  102. package/dist/core/com/zoho/crm/api/portal_user_type/import_portal_user_type.js +5 -1
  103. package/dist/core/com/zoho/crm/api/portals/import_portals.js +5 -1
  104. package/dist/core/com/zoho/crm/api/profiles/delete.d.ts +28 -0
  105. package/dist/core/com/zoho/crm/api/profiles/delete.js +44 -0
  106. package/dist/core/com/zoho/crm/api/profiles/import_profiles.d.ts +1 -0
  107. package/dist/core/com/zoho/crm/api/profiles/import_profiles.js +8 -2
  108. package/dist/core/com/zoho/crm/api/profiles/minified_profile.d.ts +5 -4
  109. package/dist/core/com/zoho/crm/api/profiles/minified_profile.js +2 -2
  110. package/dist/core/com/zoho/crm/api/profiles/profile.d.ts +5 -4
  111. package/dist/core/com/zoho/crm/api/profiles/profile.js +2 -2
  112. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.d.ts +28 -0
  113. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.js +44 -0
  114. package/dist/core/com/zoho/crm/api/record/body_wrapper.d.ts +46 -0
  115. package/dist/core/com/zoho/crm/api/record/body_wrapper.js +60 -0
  116. package/dist/core/com/zoho/crm/api/record/field.js +27 -0
  117. package/dist/core/com/zoho/crm/api/record/import_record.d.ts +2 -0
  118. package/dist/core/com/zoho/crm/api/record/import_record.js +10 -2
  119. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.d.ts +39 -0
  120. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.js +59 -0
  121. package/dist/core/com/zoho/crm/api/record_locking/import_record_locking.js +5 -1
  122. package/dist/core/com/zoho/crm/api/record_locking_configuration/import_record_locking_configuration.js +5 -1
  123. package/dist/core/com/zoho/crm/api/record_share_email/import_record_share_email.js +5 -1
  124. package/dist/core/com/zoho/crm/api/recycle_bin/import_recycle_bin.js +5 -1
  125. package/dist/core/com/zoho/crm/api/related_lists/import_related_lists.js +5 -1
  126. package/dist/core/com/zoho/crm/api/related_records/import_related_records.js +5 -1
  127. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.d.ts +2 -0
  128. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.js +2 -0
  129. package/dist/core/com/zoho/crm/api/reschedule_history/import_reschedule_history.js +5 -1
  130. package/dist/core/com/zoho/crm/api/roles/import_roles.js +5 -1
  131. package/dist/core/com/zoho/crm/api/scoring_rules/import_scoring_rules.js +5 -1
  132. package/dist/core/com/zoho/crm/api/send_mail/import_send_mail.js +5 -1
  133. package/dist/core/com/zoho/crm/api/service_preference/import_service_preference.js +5 -1
  134. package/dist/core/com/zoho/crm/api/share_records/import_share_records.js +5 -1
  135. package/dist/core/com/zoho/crm/api/sharing_rules/import_sharing_rules.js +5 -1
  136. package/dist/core/com/zoho/crm/api/shift_hours/import_shift_hours.js +5 -1
  137. package/dist/core/com/zoho/crm/api/signals/import_signals.js +5 -1
  138. package/dist/core/com/zoho/crm/api/signals_notifications/import_signals_notifications.js +5 -1
  139. package/dist/core/com/zoho/crm/api/tags/import_tags.js +5 -1
  140. package/dist/core/com/zoho/crm/api/tags/tag.d.ts +4 -5
  141. package/dist/core/com/zoho/crm/api/tags/tag.js +2 -2
  142. package/dist/core/com/zoho/crm/api/taxes/import_taxes.js +5 -1
  143. package/dist/core/com/zoho/crm/api/territories/import_territories.js +5 -1
  144. package/dist/core/com/zoho/crm/api/territory_users/import_territory_users.js +5 -1
  145. package/dist/core/com/zoho/crm/api/timelines/import_timelines.js +5 -1
  146. package/dist/core/com/zoho/crm/api/unblock_email/import_unblock_email.js +5 -1
  147. package/dist/core/com/zoho/crm/api/unsubscribe_links/import_unsubscribe_links.js +5 -1
  148. package/dist/core/com/zoho/crm/api/user_groups/import_user_groups.js +5 -1
  149. package/dist/core/com/zoho/crm/api/user_type_users/import_user_type_users.js +5 -1
  150. package/dist/core/com/zoho/crm/api/users/action_wrapper.d.ts +2 -2
  151. package/dist/core/com/zoho/crm/api/users/api_exception.d.ts +1 -1
  152. package/dist/core/com/zoho/crm/api/users/count_wrapper.d.ts +4 -4
  153. package/dist/core/com/zoho/crm/api/users/count_wrapper.js +2 -2
  154. package/dist/core/com/zoho/crm/api/users/import_users.js +5 -1
  155. package/dist/core/com/zoho/crm/api/users/users_operations.d.ts +2 -3
  156. package/dist/core/com/zoho/crm/api/users_territories/import_users_territories.js +5 -1
  157. package/dist/core/com/zoho/crm/api/users_transfer_delete/import_users_transfer_delete.js +5 -1
  158. package/dist/core/com/zoho/crm/api/users_unavailability/import_users_unavailability.js +5 -1
  159. package/dist/core/com/zoho/crm/api/variable_groups/import_variable_groups.js +5 -1
  160. package/dist/core/com/zoho/crm/api/variables/import_variables.js +5 -1
  161. package/dist/core/com/zoho/crm/api/webforms/abtesting.d.ts +4 -4
  162. package/dist/core/com/zoho/crm/api/webforms/abtesting.js +2 -2
  163. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.d.ts +38 -4
  164. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.js +47 -2
  165. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.d.ts +4 -4
  166. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.js +2 -2
  167. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.d.ts +15 -4
  168. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.js +17 -2
  169. package/dist/core/com/zoho/crm/api/webforms/background.d.ts +39 -0
  170. package/dist/core/com/zoho/crm/api/webforms/background.js +59 -0
  171. package/dist/core/com/zoho/crm/api/webforms/button_attributes.d.ts +22 -0
  172. package/dist/core/com/zoho/crm/api/webforms/button_attributes.js +30 -0
  173. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.d.ts +40 -0
  174. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.js +59 -0
  175. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.d.ts → double_optin_email_template.d.ts} +13 -24
  176. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.js → double_optin_email_template.js} +19 -34
  177. package/dist/core/com/zoho/crm/api/webforms/fields.d.ts +94 -72
  178. package/dist/core/com/zoho/crm/api/webforms/fields.js +125 -95
  179. package/dist/core/com/zoho/crm/api/webforms/form_attributes.d.ts +28 -4
  180. package/dist/core/com/zoho/crm/api/webforms/form_attributes.js +32 -2
  181. package/dist/core/com/zoho/crm/api/webforms/form_section.d.ts +73 -0
  182. package/dist/core/com/zoho/crm/api/webforms/form_section.js +104 -0
  183. package/dist/core/com/zoho/crm/api/webforms/from_address.d.ts +22 -0
  184. package/dist/core/com/zoho/crm/api/webforms/from_address.js +30 -0
  185. package/dist/core/com/zoho/crm/api/webforms/import_webforms.d.ts +7 -3
  186. package/dist/core/com/zoho/crm/api/webforms/import_webforms.js +24 -12
  187. package/dist/core/com/zoho/crm/api/webforms/layout.d.ts +15 -4
  188. package/dist/core/com/zoho/crm/api/webforms/layout.js +17 -2
  189. package/dist/core/com/zoho/crm/api/webforms/logo.d.ts +50 -0
  190. package/dist/core/com/zoho/crm/api/webforms/logo.js +74 -0
  191. package/dist/core/com/zoho/crm/api/webforms/module.d.ts +15 -4
  192. package/dist/core/com/zoho/crm/api/webforms/module.js +17 -2
  193. package/dist/core/com/zoho/crm/api/webforms/owner.d.ts +26 -4
  194. package/dist/core/com/zoho/crm/api/webforms/owner.js +32 -2
  195. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.d.ts → spam_control.d.ts} +13 -2
  196. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.js → spam_control.js} +19 -4
  197. package/dist/core/com/zoho/crm/api/webforms/tags.d.ts +4 -4
  198. package/dist/core/com/zoho/crm/api/webforms/tags.js +2 -2
  199. package/dist/core/com/zoho/crm/api/webforms/user.d.ts +4 -4
  200. package/dist/core/com/zoho/crm/api/webforms/user.js +2 -2
  201. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.d.ts +39 -0
  202. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.js +59 -0
  203. package/dist/core/com/zoho/crm/api/webforms/web_form.d.ts +185 -127
  204. package/dist/core/com/zoho/crm/api/webforms/web_form.js +238 -163
  205. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.d.ts +9 -18
  206. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.js +5 -28
  207. package/dist/core/com/zoho/crm/api/wizards/import_wizards.js +5 -1
  208. package/dist/core/com/zoho/crm/api/zia_enrichment/import_zia_enrichment.js +5 -1
  209. package/dist/core/com/zoho/crm/api/zia_org_enrichment/import_zia_org_enrichment.js +5 -1
  210. package/dist/core/com/zoho/crm/api/zia_people_enrichment/import_zia_people_enrichment.js +5 -1
  211. package/dist/index.js +5 -1
  212. package/dist/models/authenticator/oauth_token.js +28 -24
  213. package/dist/models/authenticator/store/db_store.js +30 -16
  214. package/dist/models/authenticator/store/file_store.js +5 -1
  215. package/dist/routes/controllers/api_http_connector.js +5 -1
  216. package/dist/routes/dc/data_center.js +5 -1
  217. package/dist/routes/header_map.js +5 -1
  218. package/dist/routes/initialize_builder.js +5 -1
  219. package/dist/routes/initializer.js +5 -1
  220. package/dist/routes/logger/sdk_logger.js +5 -1
  221. package/dist/routes/middlewares/common_api_handler.js +5 -1
  222. package/dist/routes/parameter_map.js +5 -1
  223. package/dist/utils/util/constants.js +1 -1
  224. package/dist/utils/util/converter.js +8 -4
  225. package/dist/utils/util/datatype_converter.js +5 -1
  226. package/dist/utils/util/downloader.js +6 -2
  227. package/dist/utils/util/header_param_validator.js +5 -1
  228. package/dist/utils/util/json_converter.js +18 -7
  229. package/dist/utils/util/module_fields_handler.js +5 -1
  230. package/dist/utils/util/stream_wrapper.js +5 -1
  231. package/dist/utils/util/utility.js +6 -3
  232. package/dist/zohocrmsdk.js +5 -1
  233. package/package.json +9 -9
  234. package/dist/core/com/zoho/crm/api/email_signatures/details_group.d.ts +0 -3
  235. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.d.ts +0 -51
  236. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.js +0 -74
  237. /package/dist/core/com/zoho/crm/api/{email_signatures/details_group.js → blueprint/action_response.js} +0 -0
@@ -5,19 +5,21 @@ declare class Fields implements Model {
5
5
  private layout;
6
6
  private help;
7
7
  private field;
8
- private module;
9
- private secretKey;
10
- private recaptchaLabel;
11
8
  private hidden;
12
- private siteKey;
13
9
  private advanced;
10
+ private module;
11
+ private dateFormat;
12
+ private required;
13
+ private properties;
14
+ private fieldName;
14
15
  private apiName;
15
16
  private fieldLabel;
16
- private theme;
17
17
  private id;
18
- private required;
19
- private fieldName;
20
- private dateFormat;
18
+ private secretKey;
19
+ private recaptchaLabel;
20
+ private siteKey;
21
+ private theme;
22
+ private defaultValue;
21
23
  private keyModified;
22
24
  /**
23
25
  * The method to get the layout
@@ -49,6 +51,26 @@ declare class Fields implements Model {
49
51
  * @param field An instance of Fields
50
52
  */
51
53
  setField(field: Fields): void;
54
+ /**
55
+ * The method to get the hidden
56
+ * @returns A Boolean representing the hidden
57
+ */
58
+ getHidden(): boolean;
59
+ /**
60
+ * The method to set the value to hidden
61
+ * @param hidden A Boolean representing the hidden
62
+ */
63
+ setHidden(hidden: boolean): void;
64
+ /**
65
+ * The method to get the advanced
66
+ * @returns A Boolean representing the advanced
67
+ */
68
+ getAdvanced(): boolean;
69
+ /**
70
+ * The method to set the value to advanced
71
+ * @param advanced A Boolean representing the advanced
72
+ */
73
+ setAdvanced(advanced: boolean): void;
52
74
  /**
53
75
  * The method to get the module
54
76
  * @returns An instance of Module
@@ -60,55 +82,45 @@ declare class Fields implements Model {
60
82
  */
61
83
  setModule(module: Module): void;
62
84
  /**
63
- * The method to get the secretKey
64
- * @returns A String representing the secretKey
65
- */
66
- getSecretKey(): string;
67
- /**
68
- * The method to set the value to secretKey
69
- * @param secretKey A String representing the secretKey
70
- */
71
- setSecretKey(secretKey: string): void;
72
- /**
73
- * The method to get the recaptchaLabel
74
- * @returns A String representing the recaptchaLabel
85
+ * The method to get the dateFormat
86
+ * @returns A String representing the dateFormat
75
87
  */
76
- getRecaptchaLabel(): string;
88
+ getDateFormat(): string;
77
89
  /**
78
- * The method to set the value to recaptchaLabel
79
- * @param recaptchaLabel A String representing the recaptchaLabel
90
+ * The method to set the value to dateFormat
91
+ * @param dateFormat A String representing the dateFormat
80
92
  */
81
- setRecaptchaLabel(recaptchaLabel: string): void;
93
+ setDateFormat(dateFormat: string): void;
82
94
  /**
83
- * The method to get the hidden
84
- * @returns A Boolean representing the hidden
95
+ * The method to get the required
96
+ * @returns A Boolean representing the required
85
97
  */
86
- getHidden(): boolean;
98
+ getRequired(): boolean;
87
99
  /**
88
- * The method to set the value to hidden
89
- * @param hidden A Boolean representing the hidden
100
+ * The method to set the value to required
101
+ * @param required A Boolean representing the required
90
102
  */
91
- setHidden(hidden: boolean): void;
103
+ setRequired(required: boolean): void;
92
104
  /**
93
- * The method to get the siteKey
94
- * @returns A String representing the siteKey
105
+ * The method to get the properties
106
+ * @returns An Object representing the properties
95
107
  */
96
- getSiteKey(): string;
108
+ getProperties(): any;
97
109
  /**
98
- * The method to set the value to siteKey
99
- * @param siteKey A String representing the siteKey
110
+ * The method to set the value to properties
111
+ * @param properties An Object representing the properties
100
112
  */
101
- setSiteKey(siteKey: string): void;
113
+ setProperties(properties: any): void;
102
114
  /**
103
- * The method to get the advanced
104
- * @returns A Boolean representing the advanced
115
+ * The method to get the fieldName
116
+ * @returns A String representing the fieldName
105
117
  */
106
- getAdvanced(): boolean;
118
+ getFieldName(): string;
107
119
  /**
108
- * The method to set the value to advanced
109
- * @param advanced A Boolean representing the advanced
120
+ * The method to set the value to fieldName
121
+ * @param fieldName A String representing the fieldName
110
122
  */
111
- setAdvanced(advanced: boolean): void;
123
+ setFieldName(fieldName: string): void;
112
124
  /**
113
125
  * The method to get the apiName
114
126
  * @returns A String representing the apiName
@@ -130,55 +142,65 @@ declare class Fields implements Model {
130
142
  */
131
143
  setFieldLabel(fieldLabel: string): void;
132
144
  /**
133
- * The method to get the theme
134
- * @returns A String representing the theme
145
+ * The method to get the id
146
+ * @returns A String representing the id
135
147
  */
136
- getTheme(): string;
148
+ getId(): string;
137
149
  /**
138
- * The method to set the value to theme
139
- * @param theme A String representing the theme
150
+ * The method to set the value to id
151
+ * @param id A String representing the id
140
152
  */
141
- setTheme(theme: string): void;
153
+ setId(id: string): void;
142
154
  /**
143
- * The method to get the id
144
- * @returns A BigInt representing the id
155
+ * The method to get the secretKey
156
+ * @returns A String representing the secretKey
145
157
  */
146
- getId(): bigint;
158
+ getSecretKey(): string;
147
159
  /**
148
- * The method to set the value to id
149
- * @param id A BigInt representing the id
160
+ * The method to set the value to secretKey
161
+ * @param secretKey A String representing the secretKey
150
162
  */
151
- setId(id: bigint): void;
163
+ setSecretKey(secretKey: string): void;
152
164
  /**
153
- * The method to get the required
154
- * @returns A Boolean representing the required
165
+ * The method to get the recaptchaLabel
166
+ * @returns A String representing the recaptchaLabel
155
167
  */
156
- getRequired(): boolean;
168
+ getRecaptchaLabel(): string;
157
169
  /**
158
- * The method to set the value to required
159
- * @param required A Boolean representing the required
170
+ * The method to set the value to recaptchaLabel
171
+ * @param recaptchaLabel A String representing the recaptchaLabel
160
172
  */
161
- setRequired(required: boolean): void;
173
+ setRecaptchaLabel(recaptchaLabel: string): void;
162
174
  /**
163
- * The method to get the fieldName
164
- * @returns A String representing the fieldName
175
+ * The method to get the siteKey
176
+ * @returns A String representing the siteKey
165
177
  */
166
- getFieldName(): string;
178
+ getSiteKey(): string;
167
179
  /**
168
- * The method to set the value to fieldName
169
- * @param fieldName A String representing the fieldName
180
+ * The method to set the value to siteKey
181
+ * @param siteKey A String representing the siteKey
170
182
  */
171
- setFieldName(fieldName: string): void;
183
+ setSiteKey(siteKey: string): void;
172
184
  /**
173
- * The method to get the dateFormat
174
- * @returns A String representing the dateFormat
185
+ * The method to get the theme
186
+ * @returns A String representing the theme
175
187
  */
176
- getDateFormat(): string;
188
+ getTheme(): string;
177
189
  /**
178
- * The method to set the value to dateFormat
179
- * @param dateFormat A String representing the dateFormat
190
+ * The method to set the value to theme
191
+ * @param theme A String representing the theme
180
192
  */
181
- setDateFormat(dateFormat: string): void;
193
+ setTheme(theme: string): void;
194
+ /**
195
+ * The method to get the defaultValue
196
+ * @returns An Object representing the defaultValue
197
+ */
198
+ getDefaultValue(): any;
199
+ /**
200
+ * The method to set the value to defaultValue
201
+ * @param defaultValue An Object representing the defaultValue
202
+ */
203
+ setDefaultValue(defaultValue: any): void;
182
204
  /**
183
205
  * The method to check if the user has modified the given key
184
206
  * @param key A String representing the key
@@ -50,6 +50,36 @@ class Fields {
50
50
  this.field = field;
51
51
  this.keyModified.set("field", 1);
52
52
  }
53
+ /**
54
+ * The method to get the hidden
55
+ * @returns A Boolean representing the hidden
56
+ */
57
+ getHidden() {
58
+ return this.hidden;
59
+ }
60
+ /**
61
+ * The method to set the value to hidden
62
+ * @param hidden A Boolean representing the hidden
63
+ */
64
+ setHidden(hidden) {
65
+ this.hidden = hidden;
66
+ this.keyModified.set("hidden", 1);
67
+ }
68
+ /**
69
+ * The method to get the advanced
70
+ * @returns A Boolean representing the advanced
71
+ */
72
+ getAdvanced() {
73
+ return this.advanced;
74
+ }
75
+ /**
76
+ * The method to set the value to advanced
77
+ * @param advanced A Boolean representing the advanced
78
+ */
79
+ setAdvanced(advanced) {
80
+ this.advanced = advanced;
81
+ this.keyModified.set("advanced", 1);
82
+ }
53
83
  /**
54
84
  * The method to get the module
55
85
  * @returns An instance of Module
@@ -66,79 +96,64 @@ class Fields {
66
96
  this.keyModified.set("module", 1);
67
97
  }
68
98
  /**
69
- * The method to get the secretKey
70
- * @returns A String representing the secretKey
71
- */
72
- getSecretKey() {
73
- return this.secretKey;
74
- }
75
- /**
76
- * The method to set the value to secretKey
77
- * @param secretKey A String representing the secretKey
78
- */
79
- setSecretKey(secretKey) {
80
- this.secretKey = secretKey;
81
- this.keyModified.set("secret_key", 1);
82
- }
83
- /**
84
- * The method to get the recaptchaLabel
85
- * @returns A String representing the recaptchaLabel
99
+ * The method to get the dateFormat
100
+ * @returns A String representing the dateFormat
86
101
  */
87
- getRecaptchaLabel() {
88
- return this.recaptchaLabel;
102
+ getDateFormat() {
103
+ return this.dateFormat;
89
104
  }
90
105
  /**
91
- * The method to set the value to recaptchaLabel
92
- * @param recaptchaLabel A String representing the recaptchaLabel
106
+ * The method to set the value to dateFormat
107
+ * @param dateFormat A String representing the dateFormat
93
108
  */
94
- setRecaptchaLabel(recaptchaLabel) {
95
- this.recaptchaLabel = recaptchaLabel;
96
- this.keyModified.set("recaptcha_label", 1);
109
+ setDateFormat(dateFormat) {
110
+ this.dateFormat = dateFormat;
111
+ this.keyModified.set("date_format", 1);
97
112
  }
98
113
  /**
99
- * The method to get the hidden
100
- * @returns A Boolean representing the hidden
114
+ * The method to get the required
115
+ * @returns A Boolean representing the required
101
116
  */
102
- getHidden() {
103
- return this.hidden;
117
+ getRequired() {
118
+ return this.required;
104
119
  }
105
120
  /**
106
- * The method to set the value to hidden
107
- * @param hidden A Boolean representing the hidden
121
+ * The method to set the value to required
122
+ * @param required A Boolean representing the required
108
123
  */
109
- setHidden(hidden) {
110
- this.hidden = hidden;
111
- this.keyModified.set("hidden", 1);
124
+ setRequired(required) {
125
+ this.required = required;
126
+ this.keyModified.set("required", 1);
112
127
  }
113
128
  /**
114
- * The method to get the siteKey
115
- * @returns A String representing the siteKey
129
+ * The method to get the properties
130
+ * @returns An Object representing the properties
116
131
  */
117
- getSiteKey() {
118
- return this.siteKey;
132
+ getProperties() {
133
+ return this.properties;
119
134
  }
120
135
  /**
121
- * The method to set the value to siteKey
122
- * @param siteKey A String representing the siteKey
136
+ * The method to set the value to properties
137
+ * @param properties An Object representing the properties
123
138
  */
124
- setSiteKey(siteKey) {
125
- this.siteKey = siteKey;
126
- this.keyModified.set("site_key", 1);
139
+ setProperties(properties) {
140
+ this.properties = properties;
141
+ this.keyModified.set("properties", 1);
127
142
  }
128
143
  /**
129
- * The method to get the advanced
130
- * @returns A Boolean representing the advanced
144
+ * The method to get the fieldName
145
+ * @returns A String representing the fieldName
131
146
  */
132
- getAdvanced() {
133
- return this.advanced;
147
+ getFieldName() {
148
+ return this.fieldName;
134
149
  }
135
150
  /**
136
- * The method to set the value to advanced
137
- * @param advanced A Boolean representing the advanced
151
+ * The method to set the value to fieldName
152
+ * @param fieldName A String representing the fieldName
138
153
  */
139
- setAdvanced(advanced) {
140
- this.advanced = advanced;
141
- this.keyModified.set("advanced", 1);
154
+ setFieldName(fieldName) {
155
+ this.fieldName = fieldName;
156
+ this.keyModified.set("field_name", 1);
142
157
  }
143
158
  /**
144
159
  * The method to get the apiName
@@ -170,80 +185,95 @@ class Fields {
170
185
  this.fieldLabel = fieldLabel;
171
186
  this.keyModified.set("field_label", 1);
172
187
  }
173
- /**
174
- * The method to get the theme
175
- * @returns A String representing the theme
176
- */
177
- getTheme() {
178
- return this.theme;
179
- }
180
- /**
181
- * The method to set the value to theme
182
- * @param theme A String representing the theme
183
- */
184
- setTheme(theme) {
185
- this.theme = theme;
186
- this.keyModified.set("theme", 1);
187
- }
188
188
  /**
189
189
  * The method to get the id
190
- * @returns A BigInt representing the id
190
+ * @returns A String representing the id
191
191
  */
192
192
  getId() {
193
193
  return this.id;
194
194
  }
195
195
  /**
196
196
  * The method to set the value to id
197
- * @param id A BigInt representing the id
197
+ * @param id A String representing the id
198
198
  */
199
199
  setId(id) {
200
200
  this.id = id;
201
201
  this.keyModified.set("id", 1);
202
202
  }
203
203
  /**
204
- * The method to get the required
205
- * @returns A Boolean representing the required
204
+ * The method to get the secretKey
205
+ * @returns A String representing the secretKey
206
206
  */
207
- getRequired() {
208
- return this.required;
207
+ getSecretKey() {
208
+ return this.secretKey;
209
209
  }
210
210
  /**
211
- * The method to set the value to required
212
- * @param required A Boolean representing the required
211
+ * The method to set the value to secretKey
212
+ * @param secretKey A String representing the secretKey
213
213
  */
214
- setRequired(required) {
215
- this.required = required;
216
- this.keyModified.set("required", 1);
214
+ setSecretKey(secretKey) {
215
+ this.secretKey = secretKey;
216
+ this.keyModified.set("secret_key", 1);
217
217
  }
218
218
  /**
219
- * The method to get the fieldName
220
- * @returns A String representing the fieldName
219
+ * The method to get the recaptchaLabel
220
+ * @returns A String representing the recaptchaLabel
221
221
  */
222
- getFieldName() {
223
- return this.fieldName;
222
+ getRecaptchaLabel() {
223
+ return this.recaptchaLabel;
224
224
  }
225
225
  /**
226
- * The method to set the value to fieldName
227
- * @param fieldName A String representing the fieldName
226
+ * The method to set the value to recaptchaLabel
227
+ * @param recaptchaLabel A String representing the recaptchaLabel
228
228
  */
229
- setFieldName(fieldName) {
230
- this.fieldName = fieldName;
231
- this.keyModified.set("field_name", 1);
229
+ setRecaptchaLabel(recaptchaLabel) {
230
+ this.recaptchaLabel = recaptchaLabel;
231
+ this.keyModified.set("recaptcha_label", 1);
232
232
  }
233
233
  /**
234
- * The method to get the dateFormat
235
- * @returns A String representing the dateFormat
234
+ * The method to get the siteKey
235
+ * @returns A String representing the siteKey
236
236
  */
237
- getDateFormat() {
238
- return this.dateFormat;
237
+ getSiteKey() {
238
+ return this.siteKey;
239
239
  }
240
240
  /**
241
- * The method to set the value to dateFormat
242
- * @param dateFormat A String representing the dateFormat
241
+ * The method to set the value to siteKey
242
+ * @param siteKey A String representing the siteKey
243
243
  */
244
- setDateFormat(dateFormat) {
245
- this.dateFormat = dateFormat;
246
- this.keyModified.set("date_format", 1);
244
+ setSiteKey(siteKey) {
245
+ this.siteKey = siteKey;
246
+ this.keyModified.set("site_key", 1);
247
+ }
248
+ /**
249
+ * The method to get the theme
250
+ * @returns A String representing the theme
251
+ */
252
+ getTheme() {
253
+ return this.theme;
254
+ }
255
+ /**
256
+ * The method to set the value to theme
257
+ * @param theme A String representing the theme
258
+ */
259
+ setTheme(theme) {
260
+ this.theme = theme;
261
+ this.keyModified.set("theme", 1);
262
+ }
263
+ /**
264
+ * The method to get the defaultValue
265
+ * @returns An Object representing the defaultValue
266
+ */
267
+ getDefaultValue() {
268
+ return this.defaultValue;
269
+ }
270
+ /**
271
+ * The method to set the value to defaultValue
272
+ * @param defaultValue An Object representing the defaultValue
273
+ */
274
+ setDefaultValue(defaultValue) {
275
+ this.defaultValue = defaultValue;
276
+ this.keyModified.set("default_value", 1);
247
277
  }
248
278
  /**
249
279
  * The method to check if the user has modified the given key
@@ -1,10 +1,14 @@
1
+ import { Background } from "./background";
1
2
  import { FontAttributes } from "./font_attributes";
3
+ import { Logo } from "./logo";
2
4
  import { Model } from "../../../../../../utils/util/model";
3
5
  declare class FormAttributes implements Model {
4
6
  private color;
5
7
  private width;
6
8
  private fontAttributes;
7
9
  private align;
10
+ private logo;
11
+ private background;
8
12
  private displayFormName;
9
13
  private keyModified;
10
14
  /**
@@ -47,16 +51,36 @@ declare class FormAttributes implements Model {
47
51
  * @param align A String representing the align
48
52
  */
49
53
  setAlign(align: string): void;
54
+ /**
55
+ * The method to get the logo
56
+ * @returns An instance of Logo
57
+ */
58
+ getLogo(): Logo;
59
+ /**
60
+ * The method to set the value to logo
61
+ * @param logo An instance of Logo
62
+ */
63
+ setLogo(logo: Logo): void;
64
+ /**
65
+ * The method to get the background
66
+ * @returns An instance of Background
67
+ */
68
+ getBackground(): Background;
69
+ /**
70
+ * The method to set the value to background
71
+ * @param background An instance of Background
72
+ */
73
+ setBackground(background: Background): void;
50
74
  /**
51
75
  * The method to get the displayFormName
52
- * @returns A String representing the displayFormName
76
+ * @returns A Boolean representing the displayFormName
53
77
  */
54
- getDisplayFormName(): string;
78
+ getDisplayFormName(): boolean;
55
79
  /**
56
80
  * The method to set the value to displayFormName
57
- * @param displayFormName A String representing the displayFormName
81
+ * @param displayFormName A Boolean representing the displayFormName
58
82
  */
59
- setDisplayFormName(displayFormName: string): void;
83
+ setDisplayFormName(displayFormName: boolean): void;
60
84
  /**
61
85
  * The method to check if the user has modified the given key
62
86
  * @param key A String representing the key
@@ -65,16 +65,46 @@ class FormAttributes {
65
65
  this.align = align;
66
66
  this.keyModified.set("align", 1);
67
67
  }
68
+ /**
69
+ * The method to get the logo
70
+ * @returns An instance of Logo
71
+ */
72
+ getLogo() {
73
+ return this.logo;
74
+ }
75
+ /**
76
+ * The method to set the value to logo
77
+ * @param logo An instance of Logo
78
+ */
79
+ setLogo(logo) {
80
+ this.logo = logo;
81
+ this.keyModified.set("logo", 1);
82
+ }
83
+ /**
84
+ * The method to get the background
85
+ * @returns An instance of Background
86
+ */
87
+ getBackground() {
88
+ return this.background;
89
+ }
90
+ /**
91
+ * The method to set the value to background
92
+ * @param background An instance of Background
93
+ */
94
+ setBackground(background) {
95
+ this.background = background;
96
+ this.keyModified.set("background", 1);
97
+ }
68
98
  /**
69
99
  * The method to get the displayFormName
70
- * @returns A String representing the displayFormName
100
+ * @returns A Boolean representing the displayFormName
71
101
  */
72
102
  getDisplayFormName() {
73
103
  return this.displayFormName;
74
104
  }
75
105
  /**
76
106
  * The method to set the value to displayFormName
77
- * @param displayFormName A String representing the displayFormName
107
+ * @param displayFormName A Boolean representing the displayFormName
78
108
  */
79
109
  setDisplayFormName(displayFormName) {
80
110
  this.displayFormName = displayFormName;