@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.
- 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/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.js +5 -1
- 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/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/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.d.ts +1 -1
- package/dist/core/com/zoho/crm/api/pipeline/import_pipeline.js +7 -3
- 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,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Background = exports.MasterModel = void 0;
|
|
4
|
+
class Background {
|
|
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 color
|
|
25
|
+
* @returns A String representing the color
|
|
26
|
+
*/
|
|
27
|
+
getColor() {
|
|
28
|
+
return this.color;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The method to set the value to color
|
|
32
|
+
* @param color A String representing the color
|
|
33
|
+
*/
|
|
34
|
+
setColor(color) {
|
|
35
|
+
this.color = color;
|
|
36
|
+
this.keyModified.set("color", 1);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The method to check if the user has modified the given key
|
|
40
|
+
* @param key A String representing the key
|
|
41
|
+
* @returns A number representing the modification
|
|
42
|
+
*/
|
|
43
|
+
isKeyModified(key) {
|
|
44
|
+
if (this.keyModified.has(key)) {
|
|
45
|
+
return this.keyModified.get(key);
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The method to mark the given key as modified
|
|
51
|
+
* @param key A String representing the key
|
|
52
|
+
* @param modification A number representing the modification
|
|
53
|
+
*/
|
|
54
|
+
setKeyModified(key, modification) {
|
|
55
|
+
this.keyModified.set(key, modification);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.MasterModel = Background;
|
|
59
|
+
exports.Background = Background;
|
|
@@ -2,6 +2,8 @@ import { Model } from "../../../../../../utils/util/model";
|
|
|
2
2
|
declare class ButtonAttributes implements Model {
|
|
3
3
|
private color;
|
|
4
4
|
private name;
|
|
5
|
+
private align;
|
|
6
|
+
private borderRadiusPx;
|
|
5
7
|
private keyModified;
|
|
6
8
|
/**
|
|
7
9
|
* The method to get the color
|
|
@@ -23,6 +25,26 @@ declare class ButtonAttributes implements Model {
|
|
|
23
25
|
* @param name A String representing the name
|
|
24
26
|
*/
|
|
25
27
|
setName(name: string): void;
|
|
28
|
+
/**
|
|
29
|
+
* The method to get the align
|
|
30
|
+
* @returns A String representing the align
|
|
31
|
+
*/
|
|
32
|
+
getAlign(): string;
|
|
33
|
+
/**
|
|
34
|
+
* The method to set the value to align
|
|
35
|
+
* @param align A String representing the align
|
|
36
|
+
*/
|
|
37
|
+
setAlign(align: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* The method to get the borderRadiusPx
|
|
40
|
+
* @returns A String representing the borderRadiusPx
|
|
41
|
+
*/
|
|
42
|
+
getBorderRadiusPx(): string;
|
|
43
|
+
/**
|
|
44
|
+
* The method to set the value to borderRadiusPx
|
|
45
|
+
* @param borderRadiusPx A String representing the borderRadiusPx
|
|
46
|
+
*/
|
|
47
|
+
setBorderRadiusPx(borderRadiusPx: 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 ButtonAttributes {
|
|
|
35
35
|
this.name = name;
|
|
36
36
|
this.keyModified.set("name", 1);
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* The method to get the align
|
|
40
|
+
* @returns A String representing the align
|
|
41
|
+
*/
|
|
42
|
+
getAlign() {
|
|
43
|
+
return this.align;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The method to set the value to align
|
|
47
|
+
* @param align A String representing the align
|
|
48
|
+
*/
|
|
49
|
+
setAlign(align) {
|
|
50
|
+
this.align = align;
|
|
51
|
+
this.keyModified.set("align", 1);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The method to get the borderRadiusPx
|
|
55
|
+
* @returns A String representing the borderRadiusPx
|
|
56
|
+
*/
|
|
57
|
+
getBorderRadiusPx() {
|
|
58
|
+
return this.borderRadiusPx;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The method to set the value to borderRadiusPx
|
|
62
|
+
* @param borderRadiusPx A String representing the borderRadiusPx
|
|
63
|
+
*/
|
|
64
|
+
setBorderRadiusPx(borderRadiusPx) {
|
|
65
|
+
this.borderRadiusPx = borderRadiusPx;
|
|
66
|
+
this.keyModified.set("border_radius_px", 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
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DoubleOptinEmailTemplate } from "./double_optin_email_template";
|
|
2
|
+
import { Model } from "../../../../../../utils/util/model";
|
|
3
|
+
declare class DoubleOptinDetails implements Model {
|
|
4
|
+
private emailTemplate;
|
|
5
|
+
private confirmPageContent;
|
|
6
|
+
private keyModified;
|
|
7
|
+
/**
|
|
8
|
+
* The method to get the emailTemplate
|
|
9
|
+
* @returns An instance of DoubleOptinEmailTemplate
|
|
10
|
+
*/
|
|
11
|
+
getEmailTemplate(): DoubleOptinEmailTemplate;
|
|
12
|
+
/**
|
|
13
|
+
* The method to set the value to emailTemplate
|
|
14
|
+
* @param emailTemplate An instance of DoubleOptinEmailTemplate
|
|
15
|
+
*/
|
|
16
|
+
setEmailTemplate(emailTemplate: DoubleOptinEmailTemplate): void;
|
|
17
|
+
/**
|
|
18
|
+
* The method to get the confirmPageContent
|
|
19
|
+
* @returns A String representing the confirmPageContent
|
|
20
|
+
*/
|
|
21
|
+
getConfirmPageContent(): string;
|
|
22
|
+
/**
|
|
23
|
+
* The method to set the value to confirmPageContent
|
|
24
|
+
* @param confirmPageContent A String representing the confirmPageContent
|
|
25
|
+
*/
|
|
26
|
+
setConfirmPageContent(confirmPageContent: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* The method to check if the user has modified the given key
|
|
29
|
+
* @param key A String representing the key
|
|
30
|
+
* @returns A number representing the modification
|
|
31
|
+
*/
|
|
32
|
+
isKeyModified(key: string): number | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The method to mark the given key as modified
|
|
35
|
+
* @param key A String representing the key
|
|
36
|
+
* @param modification A number representing the modification
|
|
37
|
+
*/
|
|
38
|
+
setKeyModified(key: string, modification: number): void;
|
|
39
|
+
}
|
|
40
|
+
export { DoubleOptinDetails as MasterModel, DoubleOptinDetails as DoubleOptinDetails };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DoubleOptinDetails = exports.MasterModel = void 0;
|
|
4
|
+
class DoubleOptinDetails {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.keyModified = new Map();
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The method to get the emailTemplate
|
|
10
|
+
* @returns An instance of DoubleOptinEmailTemplate
|
|
11
|
+
*/
|
|
12
|
+
getEmailTemplate() {
|
|
13
|
+
return this.emailTemplate;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The method to set the value to emailTemplate
|
|
17
|
+
* @param emailTemplate An instance of DoubleOptinEmailTemplate
|
|
18
|
+
*/
|
|
19
|
+
setEmailTemplate(emailTemplate) {
|
|
20
|
+
this.emailTemplate = emailTemplate;
|
|
21
|
+
this.keyModified.set("email_template", 1);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The method to get the confirmPageContent
|
|
25
|
+
* @returns A String representing the confirmPageContent
|
|
26
|
+
*/
|
|
27
|
+
getConfirmPageContent() {
|
|
28
|
+
return this.confirmPageContent;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The method to set the value to confirmPageContent
|
|
32
|
+
* @param confirmPageContent A String representing the confirmPageContent
|
|
33
|
+
*/
|
|
34
|
+
setConfirmPageContent(confirmPageContent) {
|
|
35
|
+
this.confirmPageContent = confirmPageContent;
|
|
36
|
+
this.keyModified.set("confirm_page_content", 1);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The method to check if the user has modified the given key
|
|
40
|
+
* @param key A String representing the key
|
|
41
|
+
* @returns A number representing the modification
|
|
42
|
+
*/
|
|
43
|
+
isKeyModified(key) {
|
|
44
|
+
if (this.keyModified.has(key)) {
|
|
45
|
+
return this.keyModified.get(key);
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The method to mark the given key as modified
|
|
51
|
+
* @param key A String representing the key
|
|
52
|
+
* @param modification A number representing the modification
|
|
53
|
+
*/
|
|
54
|
+
setKeyModified(key, modification) {
|
|
55
|
+
this.keyModified.set(key, modification);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.MasterModel = DoubleOptinDetails;
|
|
59
|
+
exports.DoubleOptinDetails = DoubleOptinDetails;
|
|
@@ -1,30 +1,9 @@
|
|
|
1
1
|
import { FromAddress } from "./from_address";
|
|
2
2
|
import { Model } from "../../../../../../utils/util/model";
|
|
3
|
-
declare class
|
|
4
|
-
private templateName;
|
|
5
|
-
private templateId;
|
|
3
|
+
declare class DoubleOptinEmailTemplate implements Model {
|
|
6
4
|
private fromAddress;
|
|
5
|
+
private content;
|
|
7
6
|
private keyModified;
|
|
8
|
-
/**
|
|
9
|
-
* The method to get the templateName
|
|
10
|
-
* @returns A String representing the templateName
|
|
11
|
-
*/
|
|
12
|
-
getTemplateName(): string;
|
|
13
|
-
/**
|
|
14
|
-
* The method to set the value to templateName
|
|
15
|
-
* @param templateName A String representing the templateName
|
|
16
|
-
*/
|
|
17
|
-
setTemplateName(templateName: string): void;
|
|
18
|
-
/**
|
|
19
|
-
* The method to get the templateId
|
|
20
|
-
* @returns A BigInt representing the templateId
|
|
21
|
-
*/
|
|
22
|
-
getTemplateId(): bigint;
|
|
23
|
-
/**
|
|
24
|
-
* The method to set the value to templateId
|
|
25
|
-
* @param templateId A BigInt representing the templateId
|
|
26
|
-
*/
|
|
27
|
-
setTemplateId(templateId: bigint): void;
|
|
28
7
|
/**
|
|
29
8
|
* The method to get the fromAddress
|
|
30
9
|
* @returns An instance of FromAddress
|
|
@@ -35,6 +14,16 @@ declare class AcknowledgeVisitors implements Model {
|
|
|
35
14
|
* @param fromAddress An instance of FromAddress
|
|
36
15
|
*/
|
|
37
16
|
setFromAddress(fromAddress: FromAddress): void;
|
|
17
|
+
/**
|
|
18
|
+
* The method to get the content
|
|
19
|
+
* @returns A String representing the content
|
|
20
|
+
*/
|
|
21
|
+
getContent(): string;
|
|
22
|
+
/**
|
|
23
|
+
* The method to set the value to content
|
|
24
|
+
* @param content A String representing the content
|
|
25
|
+
*/
|
|
26
|
+
setContent(content: string): void;
|
|
38
27
|
/**
|
|
39
28
|
* The method to check if the user has modified the given key
|
|
40
29
|
* @param key A String representing the key
|
|
@@ -48,4 +37,4 @@ declare class AcknowledgeVisitors implements Model {
|
|
|
48
37
|
*/
|
|
49
38
|
setKeyModified(key: string, modification: number): void;
|
|
50
39
|
}
|
|
51
|
-
export {
|
|
40
|
+
export { DoubleOptinEmailTemplate as MasterModel, DoubleOptinEmailTemplate as DoubleOptinEmailTemplate };
|
|
@@ -1,40 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.DoubleOptinEmailTemplate = exports.MasterModel = void 0;
|
|
4
|
+
class DoubleOptinEmailTemplate {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.keyModified = new Map();
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
* The method to get the templateName
|
|
10
|
-
* @returns A String representing the templateName
|
|
11
|
-
*/
|
|
12
|
-
getTemplateName() {
|
|
13
|
-
return this.templateName;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* The method to set the value to templateName
|
|
17
|
-
* @param templateName A String representing the templateName
|
|
18
|
-
*/
|
|
19
|
-
setTemplateName(templateName) {
|
|
20
|
-
this.templateName = templateName;
|
|
21
|
-
this.keyModified.set("template_name", 1);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The method to get the templateId
|
|
25
|
-
* @returns A BigInt representing the templateId
|
|
26
|
-
*/
|
|
27
|
-
getTemplateId() {
|
|
28
|
-
return this.templateId;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* The method to set the value to templateId
|
|
32
|
-
* @param templateId A BigInt representing the templateId
|
|
33
|
-
*/
|
|
34
|
-
setTemplateId(templateId) {
|
|
35
|
-
this.templateId = templateId;
|
|
36
|
-
this.keyModified.set("template_id", 1);
|
|
37
|
-
}
|
|
38
8
|
/**
|
|
39
9
|
* The method to get the fromAddress
|
|
40
10
|
* @returns An instance of FromAddress
|
|
@@ -50,6 +20,21 @@ class AcknowledgeVisitors {
|
|
|
50
20
|
this.fromAddress = fromAddress;
|
|
51
21
|
this.keyModified.set("from_address", 1);
|
|
52
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The method to get the content
|
|
25
|
+
* @returns A String representing the content
|
|
26
|
+
*/
|
|
27
|
+
getContent() {
|
|
28
|
+
return this.content;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The method to set the value to content
|
|
32
|
+
* @param content A String representing the content
|
|
33
|
+
*/
|
|
34
|
+
setContent(content) {
|
|
35
|
+
this.content = content;
|
|
36
|
+
this.keyModified.set("content", 1);
|
|
37
|
+
}
|
|
53
38
|
/**
|
|
54
39
|
* The method to check if the user has modified the given key
|
|
55
40
|
* @param key A String representing the key
|
|
@@ -70,5 +55,5 @@ class AcknowledgeVisitors {
|
|
|
70
55
|
this.keyModified.set(key, modification);
|
|
71
56
|
}
|
|
72
57
|
}
|
|
73
|
-
exports.MasterModel =
|
|
74
|
-
exports.
|
|
58
|
+
exports.MasterModel = DoubleOptinEmailTemplate;
|
|
59
|
+
exports.DoubleOptinEmailTemplate = DoubleOptinEmailTemplate;
|
|
@@ -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
|