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