@zohocrm/typescript-sdk-8.0 2.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 (226) 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/import_fields.js +5 -1
  58. package/dist/core/com/zoho/crm/api/files/import_files.js +5 -1
  59. package/dist/core/com/zoho/crm/api/find_and_merge/import_find_and_merge.js +5 -1
  60. package/dist/core/com/zoho/crm/api/fiscal_year/import_fiscal_year.js +5 -1
  61. package/dist/core/com/zoho/crm/api/from_addresses/import_from_addresses.js +5 -1
  62. package/dist/core/com/zoho/crm/api/functions/import_functions.js +5 -1
  63. package/dist/core/com/zoho/crm/api/get_related_records_count/import_get_related_records_count.js +5 -1
  64. package/dist/core/com/zoho/crm/api/global_picklists/import_global_picklists.js +5 -1
  65. package/dist/core/com/zoho/crm/api/hipaa_compliance/import_hipaa_compliance.js +5 -1
  66. package/dist/core/com/zoho/crm/api/holidays/import_holidays.js +5 -1
  67. package/dist/core/com/zoho/crm/api/inventory_convert/import_inventory_convert.js +5 -1
  68. package/dist/core/com/zoho/crm/api/inventory_mass_convert/import_inventory_mass_convert.js +5 -1
  69. package/dist/core/com/zoho/crm/api/inventory_templates/import_inventory_templates.js +5 -1
  70. package/dist/core/com/zoho/crm/api/inventory_templates/inventory_templates.d.ts +1 -1
  71. package/dist/core/com/zoho/crm/api/layouts/import_layouts.js +5 -1
  72. package/dist/core/com/zoho/crm/api/mail_merge/import_mail_merge.js +5 -1
  73. package/dist/core/com/zoho/crm/api/mass_change_owner/import_mass_change_owner.js +5 -1
  74. package/dist/core/com/zoho/crm/api/mass_convert/import_mass_convert.js +5 -1
  75. package/dist/core/com/zoho/crm/api/mass_delete_cvid/import_mass_delete_cvid.js +5 -1
  76. package/dist/core/com/zoho/crm/api/mass_delete_tags/import_mass_delete_tags.js +5 -1
  77. package/dist/core/com/zoho/crm/api/modules/import_modules.js +5 -1
  78. package/dist/core/com/zoho/crm/api/modules/modules_operations.d.ts +1 -2
  79. package/dist/core/com/zoho/crm/api/notes/body_wrapper.d.ts +11 -0
  80. package/dist/core/com/zoho/crm/api/notes/body_wrapper.js +15 -0
  81. package/dist/core/com/zoho/crm/api/notes/import_notes.js +5 -1
  82. package/dist/core/com/zoho/crm/api/notifications/import_notifications.js +5 -1
  83. package/dist/core/com/zoho/crm/api/notifications/notification.d.ts +5 -6
  84. package/dist/core/com/zoho/crm/api/notifications/notification.js +2 -2
  85. package/dist/core/com/zoho/crm/api/notifications/notifications_operations.d.ts +1 -1
  86. package/dist/core/com/zoho/crm/api/org/import_org.js +5 -1
  87. package/dist/core/com/zoho/crm/api/pick_list_values/import_pick_list_values.js +5 -1
  88. package/dist/core/com/zoho/crm/api/pipeline/import_pipeline.d.ts +1 -1
  89. package/dist/core/com/zoho/crm/api/pipeline/import_pipeline.js +7 -3
  90. package/dist/core/com/zoho/crm/api/portal_invite/import_portal_invite.js +5 -1
  91. package/dist/core/com/zoho/crm/api/portal_user_type/import_portal_user_type.js +5 -1
  92. package/dist/core/com/zoho/crm/api/portals/import_portals.js +5 -1
  93. package/dist/core/com/zoho/crm/api/profiles/delete.d.ts +28 -0
  94. package/dist/core/com/zoho/crm/api/profiles/delete.js +44 -0
  95. package/dist/core/com/zoho/crm/api/profiles/import_profiles.d.ts +1 -0
  96. package/dist/core/com/zoho/crm/api/profiles/import_profiles.js +8 -2
  97. package/dist/core/com/zoho/crm/api/profiles/minified_profile.d.ts +5 -4
  98. package/dist/core/com/zoho/crm/api/profiles/minified_profile.js +2 -2
  99. package/dist/core/com/zoho/crm/api/profiles/profile.d.ts +5 -4
  100. package/dist/core/com/zoho/crm/api/profiles/profile.js +2 -2
  101. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.d.ts +28 -0
  102. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.js +44 -0
  103. package/dist/core/com/zoho/crm/api/record/body_wrapper.d.ts +46 -0
  104. package/dist/core/com/zoho/crm/api/record/body_wrapper.js +60 -0
  105. package/dist/core/com/zoho/crm/api/record/field.js +27 -0
  106. package/dist/core/com/zoho/crm/api/record/import_record.d.ts +2 -0
  107. package/dist/core/com/zoho/crm/api/record/import_record.js +10 -2
  108. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.d.ts +39 -0
  109. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.js +59 -0
  110. package/dist/core/com/zoho/crm/api/record_locking/import_record_locking.js +5 -1
  111. package/dist/core/com/zoho/crm/api/record_locking_configuration/import_record_locking_configuration.js +5 -1
  112. package/dist/core/com/zoho/crm/api/record_share_email/import_record_share_email.js +5 -1
  113. package/dist/core/com/zoho/crm/api/recycle_bin/import_recycle_bin.js +5 -1
  114. package/dist/core/com/zoho/crm/api/related_lists/import_related_lists.js +5 -1
  115. package/dist/core/com/zoho/crm/api/related_records/import_related_records.js +5 -1
  116. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.d.ts +2 -0
  117. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.js +2 -0
  118. package/dist/core/com/zoho/crm/api/reschedule_history/import_reschedule_history.js +5 -1
  119. package/dist/core/com/zoho/crm/api/roles/import_roles.js +5 -1
  120. package/dist/core/com/zoho/crm/api/scoring_rules/import_scoring_rules.js +5 -1
  121. package/dist/core/com/zoho/crm/api/send_mail/import_send_mail.js +5 -1
  122. package/dist/core/com/zoho/crm/api/service_preference/import_service_preference.js +5 -1
  123. package/dist/core/com/zoho/crm/api/share_records/import_share_records.js +5 -1
  124. package/dist/core/com/zoho/crm/api/sharing_rules/import_sharing_rules.js +5 -1
  125. package/dist/core/com/zoho/crm/api/shift_hours/import_shift_hours.js +5 -1
  126. package/dist/core/com/zoho/crm/api/signals/import_signals.js +5 -1
  127. package/dist/core/com/zoho/crm/api/signals_notifications/import_signals_notifications.js +5 -1
  128. package/dist/core/com/zoho/crm/api/tags/import_tags.js +5 -1
  129. package/dist/core/com/zoho/crm/api/tags/tag.d.ts +4 -5
  130. package/dist/core/com/zoho/crm/api/tags/tag.js +2 -2
  131. package/dist/core/com/zoho/crm/api/taxes/import_taxes.js +5 -1
  132. package/dist/core/com/zoho/crm/api/territories/import_territories.js +5 -1
  133. package/dist/core/com/zoho/crm/api/territory_users/import_territory_users.js +5 -1
  134. package/dist/core/com/zoho/crm/api/timelines/import_timelines.js +5 -1
  135. package/dist/core/com/zoho/crm/api/unblock_email/import_unblock_email.js +5 -1
  136. package/dist/core/com/zoho/crm/api/unsubscribe_links/import_unsubscribe_links.js +5 -1
  137. package/dist/core/com/zoho/crm/api/user_groups/import_user_groups.js +5 -1
  138. package/dist/core/com/zoho/crm/api/user_type_users/import_user_type_users.js +5 -1
  139. package/dist/core/com/zoho/crm/api/users/action_wrapper.d.ts +2 -2
  140. package/dist/core/com/zoho/crm/api/users/api_exception.d.ts +1 -1
  141. package/dist/core/com/zoho/crm/api/users/count_wrapper.d.ts +4 -4
  142. package/dist/core/com/zoho/crm/api/users/count_wrapper.js +2 -2
  143. package/dist/core/com/zoho/crm/api/users/import_users.js +5 -1
  144. package/dist/core/com/zoho/crm/api/users/users_operations.d.ts +2 -3
  145. package/dist/core/com/zoho/crm/api/users_territories/import_users_territories.js +5 -1
  146. package/dist/core/com/zoho/crm/api/users_transfer_delete/import_users_transfer_delete.js +5 -1
  147. package/dist/core/com/zoho/crm/api/users_unavailability/import_users_unavailability.js +5 -1
  148. package/dist/core/com/zoho/crm/api/variable_groups/import_variable_groups.js +5 -1
  149. package/dist/core/com/zoho/crm/api/variables/import_variables.js +5 -1
  150. package/dist/core/com/zoho/crm/api/webforms/abtesting.d.ts +4 -4
  151. package/dist/core/com/zoho/crm/api/webforms/abtesting.js +2 -2
  152. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.d.ts +38 -4
  153. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.js +47 -2
  154. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.d.ts +4 -4
  155. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.js +2 -2
  156. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.d.ts +15 -4
  157. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.js +17 -2
  158. package/dist/core/com/zoho/crm/api/webforms/background.d.ts +39 -0
  159. package/dist/core/com/zoho/crm/api/webforms/background.js +59 -0
  160. package/dist/core/com/zoho/crm/api/webforms/button_attributes.d.ts +22 -0
  161. package/dist/core/com/zoho/crm/api/webforms/button_attributes.js +30 -0
  162. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.d.ts +40 -0
  163. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.js +59 -0
  164. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.d.ts → double_optin_email_template.d.ts} +13 -24
  165. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.js → double_optin_email_template.js} +19 -34
  166. package/dist/core/com/zoho/crm/api/webforms/fields.d.ts +94 -72
  167. package/dist/core/com/zoho/crm/api/webforms/fields.js +125 -95
  168. package/dist/core/com/zoho/crm/api/webforms/form_attributes.d.ts +28 -4
  169. package/dist/core/com/zoho/crm/api/webforms/form_attributes.js +32 -2
  170. package/dist/core/com/zoho/crm/api/webforms/form_section.d.ts +73 -0
  171. package/dist/core/com/zoho/crm/api/webforms/form_section.js +104 -0
  172. package/dist/core/com/zoho/crm/api/webforms/from_address.d.ts +22 -0
  173. package/dist/core/com/zoho/crm/api/webforms/from_address.js +30 -0
  174. package/dist/core/com/zoho/crm/api/webforms/import_webforms.d.ts +7 -3
  175. package/dist/core/com/zoho/crm/api/webforms/import_webforms.js +24 -12
  176. package/dist/core/com/zoho/crm/api/webforms/layout.d.ts +15 -4
  177. package/dist/core/com/zoho/crm/api/webforms/layout.js +17 -2
  178. package/dist/core/com/zoho/crm/api/webforms/logo.d.ts +50 -0
  179. package/dist/core/com/zoho/crm/api/webforms/logo.js +74 -0
  180. package/dist/core/com/zoho/crm/api/webforms/module.d.ts +15 -4
  181. package/dist/core/com/zoho/crm/api/webforms/module.js +17 -2
  182. package/dist/core/com/zoho/crm/api/webforms/owner.d.ts +26 -4
  183. package/dist/core/com/zoho/crm/api/webforms/owner.js +32 -2
  184. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.d.ts → spam_control.d.ts} +13 -2
  185. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.js → spam_control.js} +19 -4
  186. package/dist/core/com/zoho/crm/api/webforms/tags.d.ts +4 -4
  187. package/dist/core/com/zoho/crm/api/webforms/tags.js +2 -2
  188. package/dist/core/com/zoho/crm/api/webforms/user.d.ts +4 -4
  189. package/dist/core/com/zoho/crm/api/webforms/user.js +2 -2
  190. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.d.ts +39 -0
  191. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.js +59 -0
  192. package/dist/core/com/zoho/crm/api/webforms/web_form.d.ts +185 -127
  193. package/dist/core/com/zoho/crm/api/webforms/web_form.js +238 -163
  194. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.d.ts +9 -18
  195. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.js +5 -28
  196. package/dist/core/com/zoho/crm/api/wizards/import_wizards.js +5 -1
  197. package/dist/core/com/zoho/crm/api/zia_enrichment/import_zia_enrichment.js +5 -1
  198. package/dist/core/com/zoho/crm/api/zia_org_enrichment/import_zia_org_enrichment.js +5 -1
  199. package/dist/core/com/zoho/crm/api/zia_people_enrichment/import_zia_people_enrichment.js +5 -1
  200. package/dist/index.js +5 -1
  201. package/dist/models/authenticator/oauth_token.js +28 -24
  202. package/dist/models/authenticator/store/db_store.js +30 -16
  203. package/dist/models/authenticator/store/file_store.js +5 -1
  204. package/dist/routes/controllers/api_http_connector.js +5 -1
  205. package/dist/routes/dc/data_center.js +5 -1
  206. package/dist/routes/header_map.js +5 -1
  207. package/dist/routes/initialize_builder.js +5 -1
  208. package/dist/routes/initializer.js +5 -1
  209. package/dist/routes/logger/sdk_logger.js +5 -1
  210. package/dist/routes/middlewares/common_api_handler.js +5 -1
  211. package/dist/routes/parameter_map.js +5 -1
  212. package/dist/utils/util/constants.js +1 -1
  213. package/dist/utils/util/converter.js +8 -4
  214. package/dist/utils/util/datatype_converter.js +5 -1
  215. package/dist/utils/util/downloader.js +6 -2
  216. package/dist/utils/util/header_param_validator.js +5 -1
  217. package/dist/utils/util/json_converter.js +18 -7
  218. package/dist/utils/util/module_fields_handler.js +5 -1
  219. package/dist/utils/util/stream_wrapper.js +5 -1
  220. package/dist/utils/util/utility.js +6 -3
  221. package/dist/zohocrmsdk.js +5 -1
  222. package/package.json +9 -9
  223. package/dist/core/com/zoho/crm/api/email_signatures/details_group.d.ts +0 -3
  224. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.d.ts +0 -51
  225. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.js +0 -74
  226. /package/dist/core/com/zoho/crm/api/{email_signatures/details_group.js → blueprint/action_response.js} +0 -0
@@ -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;
@@ -0,0 +1,73 @@
1
+ import { Fields } from "./fields";
2
+ import { Model } from "../../../../../../utils/util/model";
3
+ declare class FormSection implements Model {
4
+ private formFields;
5
+ private name;
6
+ private description;
7
+ private helpMessage;
8
+ private id;
9
+ private keyModified;
10
+ /**
11
+ * The method to get the formFields
12
+ * @returns An Array representing the formFields
13
+ */
14
+ getFormFields(): Array<Fields>;
15
+ /**
16
+ * The method to set the value to formFields
17
+ * @param formFields An Array representing the formFields
18
+ */
19
+ setFormFields(formFields: Array<Fields>): void;
20
+ /**
21
+ * The method to get the name
22
+ * @returns A String representing the name
23
+ */
24
+ getName(): string;
25
+ /**
26
+ * The method to set the value to name
27
+ * @param name A String representing the name
28
+ */
29
+ setName(name: string): void;
30
+ /**
31
+ * The method to get the description
32
+ * @returns A String representing the description
33
+ */
34
+ getDescription(): string;
35
+ /**
36
+ * The method to set the value to description
37
+ * @param description A String representing the description
38
+ */
39
+ setDescription(description: string): void;
40
+ /**
41
+ * The method to get the helpMessage
42
+ * @returns A String representing the helpMessage
43
+ */
44
+ getHelpMessage(): string;
45
+ /**
46
+ * The method to set the value to helpMessage
47
+ * @param helpMessage A String representing the helpMessage
48
+ */
49
+ setHelpMessage(helpMessage: string): void;
50
+ /**
51
+ * The method to get the id
52
+ * @returns A String representing the id
53
+ */
54
+ getId(): string;
55
+ /**
56
+ * The method to set the value to id
57
+ * @param id A String representing the id
58
+ */
59
+ setId(id: string): void;
60
+ /**
61
+ * The method to check if the user has modified the given key
62
+ * @param key A String representing the key
63
+ * @returns A number representing the modification
64
+ */
65
+ isKeyModified(key: string): number | null | undefined;
66
+ /**
67
+ * The method to mark the given key as modified
68
+ * @param key A String representing the key
69
+ * @param modification A number representing the modification
70
+ */
71
+ setKeyModified(key: string, modification: number): void;
72
+ }
73
+ export { FormSection as MasterModel, FormSection as FormSection };
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormSection = exports.MasterModel = void 0;
4
+ class FormSection {
5
+ constructor() {
6
+ this.keyModified = new Map();
7
+ }
8
+ /**
9
+ * The method to get the formFields
10
+ * @returns An Array representing the formFields
11
+ */
12
+ getFormFields() {
13
+ return this.formFields;
14
+ }
15
+ /**
16
+ * The method to set the value to formFields
17
+ * @param formFields An Array representing the formFields
18
+ */
19
+ setFormFields(formFields) {
20
+ this.formFields = formFields;
21
+ this.keyModified.set("form_fields", 1);
22
+ }
23
+ /**
24
+ * The method to get the name
25
+ * @returns A String representing the name
26
+ */
27
+ getName() {
28
+ return this.name;
29
+ }
30
+ /**
31
+ * The method to set the value to name
32
+ * @param name A String representing the name
33
+ */
34
+ setName(name) {
35
+ this.name = name;
36
+ this.keyModified.set("name", 1);
37
+ }
38
+ /**
39
+ * The method to get the description
40
+ * @returns A String representing the description
41
+ */
42
+ getDescription() {
43
+ return this.description;
44
+ }
45
+ /**
46
+ * The method to set the value to description
47
+ * @param description A String representing the description
48
+ */
49
+ setDescription(description) {
50
+ this.description = description;
51
+ this.keyModified.set("description", 1);
52
+ }
53
+ /**
54
+ * The method to get the helpMessage
55
+ * @returns A String representing the helpMessage
56
+ */
57
+ getHelpMessage() {
58
+ return this.helpMessage;
59
+ }
60
+ /**
61
+ * The method to set the value to helpMessage
62
+ * @param helpMessage A String representing the helpMessage
63
+ */
64
+ setHelpMessage(helpMessage) {
65
+ this.helpMessage = helpMessage;
66
+ this.keyModified.set("help_message", 1);
67
+ }
68
+ /**
69
+ * The method to get the id
70
+ * @returns A String representing the id
71
+ */
72
+ getId() {
73
+ return this.id;
74
+ }
75
+ /**
76
+ * The method to set the value to id
77
+ * @param id A String representing the id
78
+ */
79
+ setId(id) {
80
+ this.id = id;
81
+ this.keyModified.set("id", 1);
82
+ }
83
+ /**
84
+ * The method to check if the user has modified the given key
85
+ * @param key A String representing the key
86
+ * @returns A number representing the modification
87
+ */
88
+ isKeyModified(key) {
89
+ if (this.keyModified.has(key)) {
90
+ return this.keyModified.get(key);
91
+ }
92
+ return null;
93
+ }
94
+ /**
95
+ * The method to mark the given key as modified
96
+ * @param key A String representing the key
97
+ * @param modification A number representing the modification
98
+ */
99
+ setKeyModified(key, modification) {
100
+ this.keyModified.set(key, modification);
101
+ }
102
+ }
103
+ exports.MasterModel = FormSection;
104
+ exports.FormSection = FormSection;
@@ -2,6 +2,8 @@ import { Model } from "../../../../../../utils/util/model";
2
2
  declare class FromAddress implements Model {
3
3
  private id;
4
4
  private type;
5
+ private apiName;
6
+ private email;
5
7
  private keyModified;
6
8
  /**
7
9
  * The method to get the id
@@ -23,6 +25,26 @@ declare class FromAddress implements Model {
23
25
  * @param type A String representing the type
24
26
  */
25
27
  setType(type: string): void;
28
+ /**
29
+ * The method to get the apiName
30
+ * @returns A String representing the apiName
31
+ */
32
+ getAPIName(): string;
33
+ /**
34
+ * The method to set the value to apiName
35
+ * @param apiName A String representing the apiName
36
+ */
37
+ setAPIName(apiName: string): void;
38
+ /**
39
+ * The method to get the email
40
+ * @returns A String representing the email
41
+ */
42
+ getEmail(): string;
43
+ /**
44
+ * The method to set the value to email
45
+ * @param email A String representing the email
46
+ */
47
+ setEmail(email: string): void;
26
48
  /**
27
49
  * The method to check if the user has modified the given key
28
50
  * @param key A String representing the key
@@ -35,6 +35,36 @@ class FromAddress {
35
35
  this.type = type;
36
36
  this.keyModified.set("type", 1);
37
37
  }
38
+ /**
39
+ * The method to get the apiName
40
+ * @returns A String representing the apiName
41
+ */
42
+ getAPIName() {
43
+ return this.apiName;
44
+ }
45
+ /**
46
+ * The method to set the value to apiName
47
+ * @param apiName A String representing the apiName
48
+ */
49
+ setAPIName(apiName) {
50
+ this.apiName = apiName;
51
+ this.keyModified.set("api_name", 1);
52
+ }
53
+ /**
54
+ * The method to get the email
55
+ * @returns A String representing the email
56
+ */
57
+ getEmail() {
58
+ return this.email;
59
+ }
60
+ /**
61
+ * The method to set the value to email
62
+ * @param email A String representing the email
63
+ */
64
+ setEmail(email) {
65
+ this.email = email;
66
+ this.keyModified.set("email", 1);
67
+ }
38
68
  /**
39
69
  * The method to check if the user has modified the given key
40
70
  * @param key A String representing the key