@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
|
@@ -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
|
|
@@ -1,35 +1,39 @@
|
|
|
1
1
|
export { User } from "./user";
|
|
2
2
|
export { ButtonAttributes } from "./button_attributes";
|
|
3
3
|
export { BodyWrapper } from "./body_wrapper";
|
|
4
|
+
export { SpamControl } from "./spam_control";
|
|
4
5
|
export { Owner } from "./owner";
|
|
5
6
|
export { ActionWrapper } from "./action_wrapper";
|
|
6
7
|
export { FromAddress } from "./from_address";
|
|
7
8
|
export { WebformsOperations } from "./webforms_operations";
|
|
8
9
|
export { GetWebFormsParam } from "./webforms_operations";
|
|
9
10
|
export { CreateWebFormsParam } from "./webforms_operations";
|
|
10
|
-
export { UpdateWebFormsParam } from "./webforms_operations";
|
|
11
11
|
export { GetWebFormParam } from "./webforms_operations";
|
|
12
12
|
export { UpdateWebFormParam } from "./webforms_operations";
|
|
13
13
|
export { DeleteWebFormsParam } from "./webforms_operations";
|
|
14
14
|
export { GetWebformsPreviewParam } from "./webforms_operations";
|
|
15
15
|
export { AssignmentRule } from "./assignment_rule";
|
|
16
16
|
export { Fields } from "./fields";
|
|
17
|
-
export { SpamControll } from "./spam_controll";
|
|
18
17
|
export * as ActionResponse from "./action_response";
|
|
19
18
|
export { APIException } from "./api_exception";
|
|
20
19
|
export { AutoResponseRule } from "./auto_response_rule";
|
|
21
20
|
export { AnalyticsData } from "./analytics_data";
|
|
22
21
|
export { Tags } from "./tags";
|
|
22
|
+
export { Background } from "./background";
|
|
23
23
|
export { FontAttributes } from "./font_attributes";
|
|
24
24
|
export * as ActionHandler from "./action_handler";
|
|
25
25
|
export { WebForm } from "./web_form";
|
|
26
|
+
export { VisitorTracking } from "./visitor_tracking";
|
|
26
27
|
export { Abtesting } from "./abtesting";
|
|
27
28
|
export { ResponseWrapper } from "./response_wrapper";
|
|
28
29
|
export { Suggestion } from "./suggestion";
|
|
29
30
|
export { SuccessResponse } from "./success_response";
|
|
31
|
+
export { FormSection } from "./form_section";
|
|
32
|
+
export { DoubleOptinEmailTemplate } from "./double_optin_email_template";
|
|
30
33
|
export { Layout } from "./layout";
|
|
31
|
-
export { AcknowledgeVisitors } from "./acknowledge_visitors";
|
|
32
34
|
export { Module } from "./module";
|
|
33
35
|
export { FormAttributes } from "./form_attributes";
|
|
36
|
+
export { DoubleOptinDetails } from "./double_optin_details";
|
|
34
37
|
export { AcknowledgeVisitor } from "./acknowledge_visitor";
|
|
38
|
+
export { Logo } from "./logo";
|
|
35
39
|
export * as ResponseHandler from "./response_handler";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -19,13 +23,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
23
|
return result;
|
|
20
24
|
};
|
|
21
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.ResponseHandler = exports.AcknowledgeVisitor = exports.FormAttributes = exports.Module = exports.
|
|
26
|
+
exports.ResponseHandler = exports.Logo = exports.AcknowledgeVisitor = exports.DoubleOptinDetails = exports.FormAttributes = exports.Module = exports.Layout = exports.DoubleOptinEmailTemplate = exports.FormSection = exports.SuccessResponse = exports.Suggestion = exports.ResponseWrapper = exports.Abtesting = exports.VisitorTracking = exports.WebForm = exports.ActionHandler = exports.FontAttributes = exports.Background = exports.Tags = exports.AnalyticsData = exports.AutoResponseRule = exports.APIException = exports.ActionResponse = exports.Fields = exports.AssignmentRule = exports.GetWebformsPreviewParam = exports.DeleteWebFormsParam = exports.UpdateWebFormParam = exports.GetWebFormParam = exports.CreateWebFormsParam = exports.GetWebFormsParam = exports.WebformsOperations = exports.FromAddress = exports.ActionWrapper = exports.Owner = exports.SpamControl = exports.BodyWrapper = exports.ButtonAttributes = exports.User = void 0;
|
|
23
27
|
var user_1 = require("./user");
|
|
24
28
|
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_1.User; } });
|
|
25
29
|
var button_attributes_1 = require("./button_attributes");
|
|
26
30
|
Object.defineProperty(exports, "ButtonAttributes", { enumerable: true, get: function () { return button_attributes_1.ButtonAttributes; } });
|
|
27
31
|
var body_wrapper_1 = require("./body_wrapper");
|
|
28
32
|
Object.defineProperty(exports, "BodyWrapper", { enumerable: true, get: function () { return body_wrapper_1.BodyWrapper; } });
|
|
33
|
+
var spam_control_1 = require("./spam_control");
|
|
34
|
+
Object.defineProperty(exports, "SpamControl", { enumerable: true, get: function () { return spam_control_1.SpamControl; } });
|
|
29
35
|
var owner_1 = require("./owner");
|
|
30
36
|
Object.defineProperty(exports, "Owner", { enumerable: true, get: function () { return owner_1.Owner; } });
|
|
31
37
|
var action_wrapper_1 = require("./action_wrapper");
|
|
@@ -39,21 +45,17 @@ Object.defineProperty(exports, "GetWebFormsParam", { enumerable: true, get: func
|
|
|
39
45
|
var webforms_operations_3 = require("./webforms_operations");
|
|
40
46
|
Object.defineProperty(exports, "CreateWebFormsParam", { enumerable: true, get: function () { return webforms_operations_3.CreateWebFormsParam; } });
|
|
41
47
|
var webforms_operations_4 = require("./webforms_operations");
|
|
42
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "GetWebFormParam", { enumerable: true, get: function () { return webforms_operations_4.GetWebFormParam; } });
|
|
43
49
|
var webforms_operations_5 = require("./webforms_operations");
|
|
44
|
-
Object.defineProperty(exports, "
|
|
50
|
+
Object.defineProperty(exports, "UpdateWebFormParam", { enumerable: true, get: function () { return webforms_operations_5.UpdateWebFormParam; } });
|
|
45
51
|
var webforms_operations_6 = require("./webforms_operations");
|
|
46
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "DeleteWebFormsParam", { enumerable: true, get: function () { return webforms_operations_6.DeleteWebFormsParam; } });
|
|
47
53
|
var webforms_operations_7 = require("./webforms_operations");
|
|
48
|
-
Object.defineProperty(exports, "
|
|
49
|
-
var webforms_operations_8 = require("./webforms_operations");
|
|
50
|
-
Object.defineProperty(exports, "GetWebformsPreviewParam", { enumerable: true, get: function () { return webforms_operations_8.GetWebformsPreviewParam; } });
|
|
54
|
+
Object.defineProperty(exports, "GetWebformsPreviewParam", { enumerable: true, get: function () { return webforms_operations_7.GetWebformsPreviewParam; } });
|
|
51
55
|
var assignment_rule_1 = require("./assignment_rule");
|
|
52
56
|
Object.defineProperty(exports, "AssignmentRule", { enumerable: true, get: function () { return assignment_rule_1.AssignmentRule; } });
|
|
53
57
|
var fields_1 = require("./fields");
|
|
54
58
|
Object.defineProperty(exports, "Fields", { enumerable: true, get: function () { return fields_1.Fields; } });
|
|
55
|
-
var spam_controll_1 = require("./spam_controll");
|
|
56
|
-
Object.defineProperty(exports, "SpamControll", { enumerable: true, get: function () { return spam_controll_1.SpamControll; } });
|
|
57
59
|
exports.ActionResponse = __importStar(require("./action_response"));
|
|
58
60
|
var api_exception_1 = require("./api_exception");
|
|
59
61
|
Object.defineProperty(exports, "APIException", { enumerable: true, get: function () { return api_exception_1.APIException; } });
|
|
@@ -63,11 +65,15 @@ var analytics_data_1 = require("./analytics_data");
|
|
|
63
65
|
Object.defineProperty(exports, "AnalyticsData", { enumerable: true, get: function () { return analytics_data_1.AnalyticsData; } });
|
|
64
66
|
var tags_1 = require("./tags");
|
|
65
67
|
Object.defineProperty(exports, "Tags", { enumerable: true, get: function () { return tags_1.Tags; } });
|
|
68
|
+
var background_1 = require("./background");
|
|
69
|
+
Object.defineProperty(exports, "Background", { enumerable: true, get: function () { return background_1.Background; } });
|
|
66
70
|
var font_attributes_1 = require("./font_attributes");
|
|
67
71
|
Object.defineProperty(exports, "FontAttributes", { enumerable: true, get: function () { return font_attributes_1.FontAttributes; } });
|
|
68
72
|
exports.ActionHandler = __importStar(require("./action_handler"));
|
|
69
73
|
var web_form_1 = require("./web_form");
|
|
70
74
|
Object.defineProperty(exports, "WebForm", { enumerable: true, get: function () { return web_form_1.WebForm; } });
|
|
75
|
+
var visitor_tracking_1 = require("./visitor_tracking");
|
|
76
|
+
Object.defineProperty(exports, "VisitorTracking", { enumerable: true, get: function () { return visitor_tracking_1.VisitorTracking; } });
|
|
71
77
|
var abtesting_1 = require("./abtesting");
|
|
72
78
|
Object.defineProperty(exports, "Abtesting", { enumerable: true, get: function () { return abtesting_1.Abtesting; } });
|
|
73
79
|
var response_wrapper_1 = require("./response_wrapper");
|
|
@@ -76,14 +82,20 @@ var suggestion_1 = require("./suggestion");
|
|
|
76
82
|
Object.defineProperty(exports, "Suggestion", { enumerable: true, get: function () { return suggestion_1.Suggestion; } });
|
|
77
83
|
var success_response_1 = require("./success_response");
|
|
78
84
|
Object.defineProperty(exports, "SuccessResponse", { enumerable: true, get: function () { return success_response_1.SuccessResponse; } });
|
|
85
|
+
var form_section_1 = require("./form_section");
|
|
86
|
+
Object.defineProperty(exports, "FormSection", { enumerable: true, get: function () { return form_section_1.FormSection; } });
|
|
87
|
+
var double_optin_email_template_1 = require("./double_optin_email_template");
|
|
88
|
+
Object.defineProperty(exports, "DoubleOptinEmailTemplate", { enumerable: true, get: function () { return double_optin_email_template_1.DoubleOptinEmailTemplate; } });
|
|
79
89
|
var layout_1 = require("./layout");
|
|
80
90
|
Object.defineProperty(exports, "Layout", { enumerable: true, get: function () { return layout_1.Layout; } });
|
|
81
|
-
var acknowledge_visitors_1 = require("./acknowledge_visitors");
|
|
82
|
-
Object.defineProperty(exports, "AcknowledgeVisitors", { enumerable: true, get: function () { return acknowledge_visitors_1.AcknowledgeVisitors; } });
|
|
83
91
|
var module_1 = require("./module");
|
|
84
92
|
Object.defineProperty(exports, "Module", { enumerable: true, get: function () { return module_1.Module; } });
|
|
85
93
|
var form_attributes_1 = require("./form_attributes");
|
|
86
94
|
Object.defineProperty(exports, "FormAttributes", { enumerable: true, get: function () { return form_attributes_1.FormAttributes; } });
|
|
95
|
+
var double_optin_details_1 = require("./double_optin_details");
|
|
96
|
+
Object.defineProperty(exports, "DoubleOptinDetails", { enumerable: true, get: function () { return double_optin_details_1.DoubleOptinDetails; } });
|
|
87
97
|
var acknowledge_visitor_1 = require("./acknowledge_visitor");
|
|
88
98
|
Object.defineProperty(exports, "AcknowledgeVisitor", { enumerable: true, get: function () { return acknowledge_visitor_1.AcknowledgeVisitor; } });
|
|
99
|
+
var logo_1 = require("./logo");
|
|
100
|
+
Object.defineProperty(exports, "Logo", { enumerable: true, get: function () { return logo_1.Logo; } });
|
|
89
101
|
exports.ResponseHandler = __importStar(require("./response_handler"));
|
|
@@ -2,6 +2,7 @@ import { Model } from "../../../../../../utils/util/model";
|
|
|
2
2
|
declare class Layout implements Model {
|
|
3
3
|
private name;
|
|
4
4
|
private id;
|
|
5
|
+
private displayLabel;
|
|
5
6
|
private keyModified;
|
|
6
7
|
/**
|
|
7
8
|
* The method to get the name
|
|
@@ -15,14 +16,24 @@ declare class Layout implements Model {
|
|
|
15
16
|
setName(name: string): void;
|
|
16
17
|
/**
|
|
17
18
|
* The method to get the id
|
|
18
|
-
* @returns A
|
|
19
|
+
* @returns A String representing the id
|
|
19
20
|
*/
|
|
20
|
-
getId():
|
|
21
|
+
getId(): string;
|
|
21
22
|
/**
|
|
22
23
|
* The method to set the value to id
|
|
23
|
-
* @param id A
|
|
24
|
+
* @param id A String representing the id
|
|
24
25
|
*/
|
|
25
|
-
setId(id:
|
|
26
|
+
setId(id: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* The method to get the displayLabel
|
|
29
|
+
* @returns A String representing the displayLabel
|
|
30
|
+
*/
|
|
31
|
+
getDisplayLabel(): string;
|
|
32
|
+
/**
|
|
33
|
+
* The method to set the value to displayLabel
|
|
34
|
+
* @param displayLabel A String representing the displayLabel
|
|
35
|
+
*/
|
|
36
|
+
setDisplayLabel(displayLabel: string): void;
|
|
26
37
|
/**
|
|
27
38
|
* The method to check if the user has modified the given key
|
|
28
39
|
* @param key A String representing the key
|
|
@@ -22,19 +22,34 @@ class Layout {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* The method to get the id
|
|
25
|
-
* @returns A
|
|
25
|
+
* @returns A String representing the id
|
|
26
26
|
*/
|
|
27
27
|
getId() {
|
|
28
28
|
return this.id;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* The method to set the value to id
|
|
32
|
-
* @param id A
|
|
32
|
+
* @param id A String representing the id
|
|
33
33
|
*/
|
|
34
34
|
setId(id) {
|
|
35
35
|
this.id = id;
|
|
36
36
|
this.keyModified.set("id", 1);
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* The method to get the displayLabel
|
|
40
|
+
* @returns A String representing the displayLabel
|
|
41
|
+
*/
|
|
42
|
+
getDisplayLabel() {
|
|
43
|
+
return this.displayLabel;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The method to set the value to displayLabel
|
|
47
|
+
* @param displayLabel A String representing the displayLabel
|
|
48
|
+
*/
|
|
49
|
+
setDisplayLabel(displayLabel) {
|
|
50
|
+
this.displayLabel = displayLabel;
|
|
51
|
+
this.keyModified.set("display_label", 1);
|
|
52
|
+
}
|
|
38
53
|
/**
|
|
39
54
|
* The method to check if the user has modified the given key
|
|
40
55
|
* @param key A String representing the key
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Model } from "../../../../../../utils/util/model";
|
|
2
|
+
declare class Logo implements Model {
|
|
3
|
+
private imageName;
|
|
4
|
+
private align;
|
|
5
|
+
private size;
|
|
6
|
+
private keyModified;
|
|
7
|
+
/**
|
|
8
|
+
* The method to get the imageName
|
|
9
|
+
* @returns A String representing the imageName
|
|
10
|
+
*/
|
|
11
|
+
getImageName(): string;
|
|
12
|
+
/**
|
|
13
|
+
* The method to set the value to imageName
|
|
14
|
+
* @param imageName A String representing the imageName
|
|
15
|
+
*/
|
|
16
|
+
setImageName(imageName: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* The method to get the align
|
|
19
|
+
* @returns A String representing the align
|
|
20
|
+
*/
|
|
21
|
+
getAlign(): string;
|
|
22
|
+
/**
|
|
23
|
+
* The method to set the value to align
|
|
24
|
+
* @param align A String representing the align
|
|
25
|
+
*/
|
|
26
|
+
setAlign(align: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* The method to get the size
|
|
29
|
+
* @returns A String representing the size
|
|
30
|
+
*/
|
|
31
|
+
getSize(): string;
|
|
32
|
+
/**
|
|
33
|
+
* The method to set the value to size
|
|
34
|
+
* @param size A String representing the size
|
|
35
|
+
*/
|
|
36
|
+
setSize(size: string): void;
|
|
37
|
+
/**
|
|
38
|
+
* The method to check if the user has modified the given key
|
|
39
|
+
* @param key A String representing the key
|
|
40
|
+
* @returns A number representing the modification
|
|
41
|
+
*/
|
|
42
|
+
isKeyModified(key: string): number | null | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The method to mark the given key as modified
|
|
45
|
+
* @param key A String representing the key
|
|
46
|
+
* @param modification A number representing the modification
|
|
47
|
+
*/
|
|
48
|
+
setKeyModified(key: string, modification: number): void;
|
|
49
|
+
}
|
|
50
|
+
export { Logo as MasterModel, Logo as Logo };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Logo = exports.MasterModel = void 0;
|
|
4
|
+
class Logo {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.keyModified = new Map();
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The method to get the imageName
|
|
10
|
+
* @returns A String representing the imageName
|
|
11
|
+
*/
|
|
12
|
+
getImageName() {
|
|
13
|
+
return this.imageName;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The method to set the value to imageName
|
|
17
|
+
* @param imageName A String representing the imageName
|
|
18
|
+
*/
|
|
19
|
+
setImageName(imageName) {
|
|
20
|
+
this.imageName = imageName;
|
|
21
|
+
this.keyModified.set("image_name", 1);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The method to get the align
|
|
25
|
+
* @returns A String representing the align
|
|
26
|
+
*/
|
|
27
|
+
getAlign() {
|
|
28
|
+
return this.align;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The method to set the value to align
|
|
32
|
+
* @param align A String representing the align
|
|
33
|
+
*/
|
|
34
|
+
setAlign(align) {
|
|
35
|
+
this.align = align;
|
|
36
|
+
this.keyModified.set("align", 1);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The method to get the size
|
|
40
|
+
* @returns A String representing the size
|
|
41
|
+
*/
|
|
42
|
+
getSize() {
|
|
43
|
+
return this.size;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The method to set the value to size
|
|
47
|
+
* @param size A String representing the size
|
|
48
|
+
*/
|
|
49
|
+
setSize(size) {
|
|
50
|
+
this.size = size;
|
|
51
|
+
this.keyModified.set("size", 1);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The method to check if the user has modified the given key
|
|
55
|
+
* @param key A String representing the key
|
|
56
|
+
* @returns A number representing the modification
|
|
57
|
+
*/
|
|
58
|
+
isKeyModified(key) {
|
|
59
|
+
if (this.keyModified.has(key)) {
|
|
60
|
+
return this.keyModified.get(key);
|
|
61
|
+
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The method to mark the given key as modified
|
|
66
|
+
* @param key A String representing the key
|
|
67
|
+
* @param modification A number representing the modification
|
|
68
|
+
*/
|
|
69
|
+
setKeyModified(key, modification) {
|
|
70
|
+
this.keyModified.set(key, modification);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.MasterModel = Logo;
|
|
74
|
+
exports.Logo = Logo;
|
|
@@ -3,17 +3,18 @@ declare class Module implements Model {
|
|
|
3
3
|
private id;
|
|
4
4
|
private moduleName;
|
|
5
5
|
private apiName;
|
|
6
|
+
private displayLabel;
|
|
6
7
|
private keyModified;
|
|
7
8
|
/**
|
|
8
9
|
* The method to get the id
|
|
9
|
-
* @returns A
|
|
10
|
+
* @returns A String representing the id
|
|
10
11
|
*/
|
|
11
|
-
getId():
|
|
12
|
+
getId(): string;
|
|
12
13
|
/**
|
|
13
14
|
* The method to set the value to id
|
|
14
|
-
* @param id A
|
|
15
|
+
* @param id A String representing the id
|
|
15
16
|
*/
|
|
16
|
-
setId(id:
|
|
17
|
+
setId(id: string): void;
|
|
17
18
|
/**
|
|
18
19
|
* The method to get the moduleName
|
|
19
20
|
* @returns A String representing the moduleName
|
|
@@ -34,6 +35,16 @@ declare class Module implements Model {
|
|
|
34
35
|
* @param apiName A String representing the apiName
|
|
35
36
|
*/
|
|
36
37
|
setAPIName(apiName: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* The method to get the displayLabel
|
|
40
|
+
* @returns A String representing the displayLabel
|
|
41
|
+
*/
|
|
42
|
+
getDisplayLabel(): string;
|
|
43
|
+
/**
|
|
44
|
+
* The method to set the value to displayLabel
|
|
45
|
+
* @param displayLabel A String representing the displayLabel
|
|
46
|
+
*/
|
|
47
|
+
setDisplayLabel(displayLabel: string): void;
|
|
37
48
|
/**
|
|
38
49
|
* The method to check if the user has modified the given key
|
|
39
50
|
* @param key A String representing the key
|
|
@@ -7,14 +7,14 @@ class Module {
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* The method to get the id
|
|
10
|
-
* @returns A
|
|
10
|
+
* @returns A String representing the id
|
|
11
11
|
*/
|
|
12
12
|
getId() {
|
|
13
13
|
return this.id;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* The method to set the value to id
|
|
17
|
-
* @param id A
|
|
17
|
+
* @param id A String representing the id
|
|
18
18
|
*/
|
|
19
19
|
setId(id) {
|
|
20
20
|
this.id = id;
|
|
@@ -50,6 +50,21 @@ class Module {
|
|
|
50
50
|
this.apiName = apiName;
|
|
51
51
|
this.keyModified.set("api_name", 1);
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* The method to get the displayLabel
|
|
55
|
+
* @returns A String representing the displayLabel
|
|
56
|
+
*/
|
|
57
|
+
getDisplayLabel() {
|
|
58
|
+
return this.displayLabel;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The method to set the value to displayLabel
|
|
62
|
+
* @param displayLabel A String representing the displayLabel
|
|
63
|
+
*/
|
|
64
|
+
setDisplayLabel(displayLabel) {
|
|
65
|
+
this.displayLabel = displayLabel;
|
|
66
|
+
this.keyModified.set("display_label", 1);
|
|
67
|
+
}
|
|
53
68
|
/**
|
|
54
69
|
* The method to check if the user has modified the given key
|
|
55
70
|
* @param key A String representing the key
|