@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
|
@@ -35,46 +35,16 @@ class WebForm {
|
|
|
35
35
|
this.encryptedFormId = encryptedFormId;
|
|
36
36
|
this.keyModified.set("encrypted_form_id", 1);
|
|
37
37
|
}
|
|
38
|
-
/**
|
|
39
|
-
* The method to get the owner
|
|
40
|
-
* @returns An instance of Owner
|
|
41
|
-
*/
|
|
42
|
-
getOwner() {
|
|
43
|
-
return this.owner;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* The method to set the value to owner
|
|
47
|
-
* @param owner An instance of Owner
|
|
48
|
-
*/
|
|
49
|
-
setOwner(owner) {
|
|
50
|
-
this.owner = owner;
|
|
51
|
-
this.keyModified.set("owner", 1);
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* The method to get the userType
|
|
55
|
-
* @returns An instance of User
|
|
56
|
-
*/
|
|
57
|
-
getUserType() {
|
|
58
|
-
return this.userType;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* The method to set the value to userType
|
|
62
|
-
* @param userType An instance of User
|
|
63
|
-
*/
|
|
64
|
-
setUserType(userType) {
|
|
65
|
-
this.userType = userType;
|
|
66
|
-
this.keyModified.set("user_type", 1);
|
|
67
|
-
}
|
|
68
38
|
/**
|
|
69
39
|
* The method to get the acknowledgeVisitor
|
|
70
|
-
* @returns An instance of
|
|
40
|
+
* @returns An instance of AcknowledgeVisitor
|
|
71
41
|
*/
|
|
72
42
|
getAcknowledgeVisitor() {
|
|
73
43
|
return this.acknowledgeVisitor;
|
|
74
44
|
}
|
|
75
45
|
/**
|
|
76
46
|
* The method to set the value to acknowledgeVisitor
|
|
77
|
-
* @param acknowledgeVisitor An instance of
|
|
47
|
+
* @param acknowledgeVisitor An instance of AcknowledgeVisitor
|
|
78
48
|
*/
|
|
79
49
|
setAcknowledgeVisitor(acknowledgeVisitor) {
|
|
80
50
|
this.acknowledgeVisitor = acknowledgeVisitor;
|
|
@@ -95,6 +65,51 @@ class WebForm {
|
|
|
95
65
|
this.buttonAttributes = buttonAttributes;
|
|
96
66
|
this.keyModified.set("button_attributes", 1);
|
|
97
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* The method to get the type
|
|
70
|
+
* @returns A String representing the type
|
|
71
|
+
*/
|
|
72
|
+
getType() {
|
|
73
|
+
return this.type;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The method to set the value to type
|
|
77
|
+
* @param type A String representing the type
|
|
78
|
+
*/
|
|
79
|
+
setType(type) {
|
|
80
|
+
this.type = type;
|
|
81
|
+
this.keyModified.set("type", 1);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The method to get the actionOnSubmit
|
|
85
|
+
* @returns A String representing the actionOnSubmit
|
|
86
|
+
*/
|
|
87
|
+
getActionOnSubmit() {
|
|
88
|
+
return this.actionOnSubmit;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The method to set the value to actionOnSubmit
|
|
92
|
+
* @param actionOnSubmit A String representing the actionOnSubmit
|
|
93
|
+
*/
|
|
94
|
+
setActionOnSubmit(actionOnSubmit) {
|
|
95
|
+
this.actionOnSubmit = actionOnSubmit;
|
|
96
|
+
this.keyModified.set("action_on_submit", 1);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The method to get the actionOnDuplicate
|
|
100
|
+
* @returns A String representing the actionOnDuplicate
|
|
101
|
+
*/
|
|
102
|
+
getActionOnDuplicate() {
|
|
103
|
+
return this.actionOnDuplicate;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The method to set the value to actionOnDuplicate
|
|
107
|
+
* @param actionOnDuplicate A String representing the actionOnDuplicate
|
|
108
|
+
*/
|
|
109
|
+
setActionOnDuplicate(actionOnDuplicate) {
|
|
110
|
+
this.actionOnDuplicate = actionOnDuplicate;
|
|
111
|
+
this.keyModified.set("action_on_duplicate", 1);
|
|
112
|
+
}
|
|
98
113
|
/**
|
|
99
114
|
* The method to get the encryptedZgid
|
|
100
115
|
* @returns A String representing the encryptedZgid
|
|
@@ -110,6 +125,51 @@ class WebForm {
|
|
|
110
125
|
this.encryptedZgid = encryptedZgid;
|
|
111
126
|
this.keyModified.set("encrypted_zgid", 1);
|
|
112
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* The method to get the actionValue
|
|
130
|
+
* @returns A String representing the actionValue
|
|
131
|
+
*/
|
|
132
|
+
getActionValue() {
|
|
133
|
+
return this.actionValue;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* The method to set the value to actionValue
|
|
137
|
+
* @param actionValue A String representing the actionValue
|
|
138
|
+
*/
|
|
139
|
+
setActionValue(actionValue) {
|
|
140
|
+
this.actionValue = actionValue;
|
|
141
|
+
this.keyModified.set("action_value", 1);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The method to get the id
|
|
145
|
+
* @returns A String representing the id
|
|
146
|
+
*/
|
|
147
|
+
getId() {
|
|
148
|
+
return this.id;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* The method to set the value to id
|
|
152
|
+
* @param id A String representing the id
|
|
153
|
+
*/
|
|
154
|
+
setId(id) {
|
|
155
|
+
this.id = id;
|
|
156
|
+
this.keyModified.set("id", 1);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The method to get the owner
|
|
160
|
+
* @returns An instance of Owner
|
|
161
|
+
*/
|
|
162
|
+
getOwner() {
|
|
163
|
+
return this.owner;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The method to set the value to owner
|
|
167
|
+
* @param owner An instance of Owner
|
|
168
|
+
*/
|
|
169
|
+
setOwner(owner) {
|
|
170
|
+
this.owner = owner;
|
|
171
|
+
this.keyModified.set("owner", 1);
|
|
172
|
+
}
|
|
113
173
|
/**
|
|
114
174
|
* The method to get the createdTime
|
|
115
175
|
* @returns An instance of Date
|
|
@@ -125,6 +185,21 @@ class WebForm {
|
|
|
125
185
|
this.createdTime = createdTime;
|
|
126
186
|
this.keyModified.set("created_time", 1);
|
|
127
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
* The method to get the doubleOptinDetails
|
|
190
|
+
* @returns An instance of DoubleOptinDetails
|
|
191
|
+
*/
|
|
192
|
+
getDoubleOptinDetails() {
|
|
193
|
+
return this.doubleOptinDetails;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The method to set the value to doubleOptinDetails
|
|
197
|
+
* @param doubleOptinDetails An instance of DoubleOptinDetails
|
|
198
|
+
*/
|
|
199
|
+
setDoubleOptinDetails(doubleOptinDetails) {
|
|
200
|
+
this.doubleOptinDetails = doubleOptinDetails;
|
|
201
|
+
this.keyModified.set("double_optin_details", 1);
|
|
202
|
+
}
|
|
128
203
|
/**
|
|
129
204
|
* The method to get the analyticsData
|
|
130
205
|
* @returns An instance of AnalyticsData
|
|
@@ -155,6 +230,21 @@ class WebForm {
|
|
|
155
230
|
this.module = module;
|
|
156
231
|
this.keyModified.set("module", 1);
|
|
157
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* The method to get the suggestion
|
|
235
|
+
* @returns An instance of Suggestion
|
|
236
|
+
*/
|
|
237
|
+
getSuggestion() {
|
|
238
|
+
return this.suggestion;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* The method to set the value to suggestion
|
|
242
|
+
* @param suggestion An instance of Suggestion
|
|
243
|
+
*/
|
|
244
|
+
setSuggestion(suggestion) {
|
|
245
|
+
this.suggestion = suggestion;
|
|
246
|
+
this.keyModified.set("suggestion", 1);
|
|
247
|
+
}
|
|
158
248
|
/**
|
|
159
249
|
* The method to get the encryptedModule
|
|
160
250
|
* @returns A String representing the encryptedModule
|
|
@@ -260,21 +350,6 @@ class WebForm {
|
|
|
260
350
|
this.locationUrl = locationUrl;
|
|
261
351
|
this.keyModified.set("location_url", 1);
|
|
262
352
|
}
|
|
263
|
-
/**
|
|
264
|
-
* The method to get the landingUrl
|
|
265
|
-
* @returns A String representing the landingUrl
|
|
266
|
-
*/
|
|
267
|
-
getLandingUrl() {
|
|
268
|
-
return this.landingUrl;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* The method to set the value to landingUrl
|
|
272
|
-
* @param landingUrl A String representing the landingUrl
|
|
273
|
-
*/
|
|
274
|
-
setLandingUrl(landingUrl) {
|
|
275
|
-
this.landingUrl = landingUrl;
|
|
276
|
-
this.keyModified.set("landing_url", 1);
|
|
277
|
-
}
|
|
278
353
|
/**
|
|
279
354
|
* The method to get the doubleOptinEnabled
|
|
280
355
|
* @returns A Boolean representing the doubleOptinEnabled
|
|
@@ -290,21 +365,6 @@ class WebForm {
|
|
|
290
365
|
this.doubleOptinEnabled = doubleOptinEnabled;
|
|
291
366
|
this.keyModified.set("double_optin_enabled", 1);
|
|
292
367
|
}
|
|
293
|
-
/**
|
|
294
|
-
* The method to get the layout
|
|
295
|
-
* @returns An instance of Layout
|
|
296
|
-
*/
|
|
297
|
-
getLayout() {
|
|
298
|
-
return this.layout;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* The method to set the value to layout
|
|
302
|
-
* @param layout An instance of Layout
|
|
303
|
-
*/
|
|
304
|
-
setLayout(layout) {
|
|
305
|
-
this.layout = layout;
|
|
306
|
-
this.keyModified.set("layout", 1);
|
|
307
|
-
}
|
|
308
368
|
/**
|
|
309
369
|
* The method to get the tags
|
|
310
370
|
* @returns An Array representing the tags
|
|
@@ -320,6 +380,21 @@ class WebForm {
|
|
|
320
380
|
this.tags = tags;
|
|
321
381
|
this.keyModified.set("tags", 1);
|
|
322
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* The method to get the layout
|
|
385
|
+
* @returns An instance of Layout
|
|
386
|
+
*/
|
|
387
|
+
getLayout() {
|
|
388
|
+
return this.layout;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* The method to set the value to layout
|
|
392
|
+
* @param layout An instance of Layout
|
|
393
|
+
*/
|
|
394
|
+
setLayout(layout) {
|
|
395
|
+
this.layout = layout;
|
|
396
|
+
this.keyModified.set("layout", 1);
|
|
397
|
+
}
|
|
323
398
|
/**
|
|
324
399
|
* The method to get the approvalRequest
|
|
325
400
|
* @returns A Boolean representing the approvalRequest
|
|
@@ -335,21 +410,6 @@ class WebForm {
|
|
|
335
410
|
this.approvalRequest = approvalRequest;
|
|
336
411
|
this.keyModified.set("approval_request", 1);
|
|
337
412
|
}
|
|
338
|
-
/**
|
|
339
|
-
* The method to get the type
|
|
340
|
-
* @returns A String representing the type
|
|
341
|
-
*/
|
|
342
|
-
getType() {
|
|
343
|
-
return this.type;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* The method to set the value to type
|
|
347
|
-
* @param type A String representing the type
|
|
348
|
-
*/
|
|
349
|
-
setType(type) {
|
|
350
|
-
this.type = type;
|
|
351
|
-
this.keyModified.set("type", 1);
|
|
352
|
-
}
|
|
353
413
|
/**
|
|
354
414
|
* The method to get the createContact
|
|
355
415
|
* @returns A Boolean representing the createContact
|
|
@@ -380,6 +440,21 @@ class WebForm {
|
|
|
380
440
|
this.assignmentRule = assignmentRule;
|
|
381
441
|
this.keyModified.set("assignment_rule", 1);
|
|
382
442
|
}
|
|
443
|
+
/**
|
|
444
|
+
* The method to get the formSections
|
|
445
|
+
* @returns An Array representing the formSections
|
|
446
|
+
*/
|
|
447
|
+
getFormSections() {
|
|
448
|
+
return this.formSections;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* The method to set the value to formSections
|
|
452
|
+
* @param formSections An Array representing the formSections
|
|
453
|
+
*/
|
|
454
|
+
setFormSections(formSections) {
|
|
455
|
+
this.formSections = formSections;
|
|
456
|
+
this.keyModified.set("form_sections", 1);
|
|
457
|
+
}
|
|
383
458
|
/**
|
|
384
459
|
* The method to get the name
|
|
385
460
|
* @returns A String representing the name
|
|
@@ -396,30 +471,90 @@ class WebForm {
|
|
|
396
471
|
this.keyModified.set("name", 1);
|
|
397
472
|
}
|
|
398
473
|
/**
|
|
399
|
-
* The method to get the
|
|
400
|
-
* @returns
|
|
474
|
+
* The method to get the visitorTracking
|
|
475
|
+
* @returns An instance of VisitorTracking
|
|
401
476
|
*/
|
|
402
|
-
|
|
403
|
-
return this.
|
|
477
|
+
getVisitorTracking() {
|
|
478
|
+
return this.visitorTracking;
|
|
404
479
|
}
|
|
405
480
|
/**
|
|
406
|
-
* The method to set the value to
|
|
407
|
-
* @param
|
|
481
|
+
* The method to set the value to visitorTracking
|
|
482
|
+
* @param visitorTracking An instance of VisitorTracking
|
|
408
483
|
*/
|
|
409
|
-
|
|
410
|
-
this.
|
|
411
|
-
this.keyModified.set("
|
|
484
|
+
setVisitorTracking(visitorTracking) {
|
|
485
|
+
this.visitorTracking = visitorTracking;
|
|
486
|
+
this.keyModified.set("visitor_tracking", 1);
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* The method to get the showBrand
|
|
490
|
+
* @returns A Boolean representing the showBrand
|
|
491
|
+
*/
|
|
492
|
+
getShowBrand() {
|
|
493
|
+
return this.showBrand;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* The method to set the value to showBrand
|
|
497
|
+
* @param showBrand A Boolean representing the showBrand
|
|
498
|
+
*/
|
|
499
|
+
setShowBrand(showBrand) {
|
|
500
|
+
this.showBrand = showBrand;
|
|
501
|
+
this.keyModified.set("show_brand", 1);
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* The method to get the from
|
|
505
|
+
* @returns A String representing the from
|
|
506
|
+
*/
|
|
507
|
+
getFrom() {
|
|
508
|
+
return this.from;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* The method to set the value to from
|
|
512
|
+
* @param from A String representing the from
|
|
513
|
+
*/
|
|
514
|
+
setFrom(from) {
|
|
515
|
+
this.from = from;
|
|
516
|
+
this.keyModified.set("from", 1);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* The method to get the userType
|
|
520
|
+
* @returns An instance of User
|
|
521
|
+
*/
|
|
522
|
+
getUserType() {
|
|
523
|
+
return this.userType;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* The method to set the value to userType
|
|
527
|
+
* @param userType An instance of User
|
|
528
|
+
*/
|
|
529
|
+
setUserType(userType) {
|
|
530
|
+
this.userType = userType;
|
|
531
|
+
this.keyModified.set("user_type", 1);
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* The method to get the landingUrl
|
|
535
|
+
* @returns A String representing the landingUrl
|
|
536
|
+
*/
|
|
537
|
+
getLandingUrl() {
|
|
538
|
+
return this.landingUrl;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* The method to set the value to landingUrl
|
|
542
|
+
* @param landingUrl A String representing the landingUrl
|
|
543
|
+
*/
|
|
544
|
+
setLandingUrl(landingUrl) {
|
|
545
|
+
this.landingUrl = landingUrl;
|
|
546
|
+
this.keyModified.set("landing_url", 1);
|
|
412
547
|
}
|
|
413
548
|
/**
|
|
414
549
|
* The method to get the spamControl
|
|
415
|
-
* @returns An instance of
|
|
550
|
+
* @returns An instance of SpamControl
|
|
416
551
|
*/
|
|
417
552
|
getSpamControl() {
|
|
418
553
|
return this.spamControl;
|
|
419
554
|
}
|
|
420
555
|
/**
|
|
421
556
|
* The method to set the value to spamControl
|
|
422
|
-
* @param spamControl An instance of
|
|
557
|
+
* @param spamControl An instance of SpamControl
|
|
423
558
|
*/
|
|
424
559
|
setSpamControl(spamControl) {
|
|
425
560
|
this.spamControl = spamControl;
|
|
@@ -440,21 +575,6 @@ class WebForm {
|
|
|
440
575
|
this.fields = fields;
|
|
441
576
|
this.keyModified.set("fields", 1);
|
|
442
577
|
}
|
|
443
|
-
/**
|
|
444
|
-
* The method to get the formFields
|
|
445
|
-
* @returns An Array representing the formFields
|
|
446
|
-
*/
|
|
447
|
-
getFormFields() {
|
|
448
|
-
return this.formFields;
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* The method to set the value to formFields
|
|
452
|
-
* @param formFields An Array representing the formFields
|
|
453
|
-
*/
|
|
454
|
-
setFormFields(formFields) {
|
|
455
|
-
this.formFields = formFields;
|
|
456
|
-
this.keyModified.set("form_fields", 1);
|
|
457
|
-
}
|
|
458
578
|
/**
|
|
459
579
|
* The method to get the abtesting
|
|
460
580
|
* @returns An Array representing the abtesting
|
|
@@ -470,21 +590,6 @@ class WebForm {
|
|
|
470
590
|
this.abtesting = abtesting;
|
|
471
591
|
this.keyModified.set("abtesting", 1);
|
|
472
592
|
}
|
|
473
|
-
/**
|
|
474
|
-
* The method to get the visitorTracking
|
|
475
|
-
* @returns A String representing the visitorTracking
|
|
476
|
-
*/
|
|
477
|
-
getVisitorTracking() {
|
|
478
|
-
return this.visitorTracking;
|
|
479
|
-
}
|
|
480
|
-
/**
|
|
481
|
-
* The method to set the value to visitorTracking
|
|
482
|
-
* @param visitorTracking A String representing the visitorTracking
|
|
483
|
-
*/
|
|
484
|
-
setVisitorTracking(visitorTracking) {
|
|
485
|
-
this.visitorTracking = visitorTracking;
|
|
486
|
-
this.keyModified.set("visitor_tracking", 1);
|
|
487
|
-
}
|
|
488
593
|
/**
|
|
489
594
|
* The method to get the lastSubmittedTime
|
|
490
595
|
* @returns An instance of Date
|
|
@@ -500,51 +605,6 @@ class WebForm {
|
|
|
500
605
|
this.lastSubmittedTime = lastSubmittedTime;
|
|
501
606
|
this.keyModified.set("last_submitted_time", 1);
|
|
502
607
|
}
|
|
503
|
-
/**
|
|
504
|
-
* The method to get the actionOnSubmit
|
|
505
|
-
* @returns A String representing the actionOnSubmit
|
|
506
|
-
*/
|
|
507
|
-
getActionOnSubmit() {
|
|
508
|
-
return this.actionOnSubmit;
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* The method to set the value to actionOnSubmit
|
|
512
|
-
* @param actionOnSubmit A String representing the actionOnSubmit
|
|
513
|
-
*/
|
|
514
|
-
setActionOnSubmit(actionOnSubmit) {
|
|
515
|
-
this.actionOnSubmit = actionOnSubmit;
|
|
516
|
-
this.keyModified.set("action_on_submit", 1);
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* The method to get the actionValue
|
|
520
|
-
* @returns A String representing the actionValue
|
|
521
|
-
*/
|
|
522
|
-
getActionValue() {
|
|
523
|
-
return this.actionValue;
|
|
524
|
-
}
|
|
525
|
-
/**
|
|
526
|
-
* The method to set the value to actionValue
|
|
527
|
-
* @param actionValue A String representing the actionValue
|
|
528
|
-
*/
|
|
529
|
-
setActionValue(actionValue) {
|
|
530
|
-
this.actionValue = actionValue;
|
|
531
|
-
this.keyModified.set("action_value", 1);
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* The method to get the suggestion
|
|
535
|
-
* @returns An instance of Suggestion
|
|
536
|
-
*/
|
|
537
|
-
getSuggestion() {
|
|
538
|
-
return this.suggestion;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* The method to set the value to suggestion
|
|
542
|
-
* @param suggestion An instance of Suggestion
|
|
543
|
-
*/
|
|
544
|
-
setSuggestion(suggestion) {
|
|
545
|
-
this.suggestion = suggestion;
|
|
546
|
-
this.keyModified.set("suggestion", 1);
|
|
547
|
-
}
|
|
548
608
|
/**
|
|
549
609
|
* The method to get the embedCode
|
|
550
610
|
* @returns A String representing the embedCode
|
|
@@ -605,6 +665,21 @@ class WebForm {
|
|
|
605
665
|
this.iframeCode = iframeCode;
|
|
606
666
|
this.keyModified.set("iframe_code", 1);
|
|
607
667
|
}
|
|
668
|
+
/**
|
|
669
|
+
* The method to get the smartUrl
|
|
670
|
+
* @returns A String representing the smartUrl
|
|
671
|
+
*/
|
|
672
|
+
getSmartUrl() {
|
|
673
|
+
return this.smartUrl;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* The method to set the value to smartUrl
|
|
677
|
+
* @param smartUrl A String representing the smartUrl
|
|
678
|
+
*/
|
|
679
|
+
setSmartUrl(smartUrl) {
|
|
680
|
+
this.smartUrl = smartUrl;
|
|
681
|
+
this.keyModified.set("smart_url", 1);
|
|
682
|
+
}
|
|
608
683
|
/**
|
|
609
684
|
* The method to check if the user has modified the given key
|
|
610
685
|
* @param key A String representing the key
|
|
@@ -22,49 +22,40 @@ declare class WebformsOperations {
|
|
|
22
22
|
* @throws SDKException
|
|
23
23
|
*/
|
|
24
24
|
createWebForms(request: BodyWrapper): Promise<APIResponse<ActionHandler>>;
|
|
25
|
-
/**
|
|
26
|
-
* The method to update web forms
|
|
27
|
-
* @param request An instance of BodyWrapper
|
|
28
|
-
* @returns An instance of APIResponse<ActionHandler>
|
|
29
|
-
* @throws SDKException
|
|
30
|
-
*/
|
|
31
|
-
updateWebForms(request: BodyWrapper): Promise<APIResponse<ActionHandler>>;
|
|
32
25
|
/**
|
|
33
26
|
* The method to get web form
|
|
34
|
-
* @param formId A
|
|
27
|
+
* @param formId A String representing the formId
|
|
35
28
|
* @returns An instance of APIResponse<ResponseHandler>
|
|
36
29
|
* @throws SDKException
|
|
37
30
|
*/
|
|
38
|
-
getWebForm(formId:
|
|
31
|
+
getWebForm(formId: string): Promise<APIResponse<ResponseHandler>>;
|
|
39
32
|
/**
|
|
40
33
|
* The method to update web form
|
|
41
|
-
* @param formId A
|
|
34
|
+
* @param formId A String representing the formId
|
|
42
35
|
* @param request An instance of BodyWrapper
|
|
43
36
|
* @returns An instance of APIResponse<ActionHandler>
|
|
44
37
|
* @throws SDKException
|
|
45
38
|
*/
|
|
46
|
-
updateWebForm(formId:
|
|
39
|
+
updateWebForm(formId: string, request: BodyWrapper): Promise<APIResponse<ActionHandler>>;
|
|
47
40
|
/**
|
|
48
41
|
* The method to delete web forms
|
|
49
|
-
* @param formId A
|
|
42
|
+
* @param formId A String representing the formId
|
|
50
43
|
* @returns An instance of APIResponse<ActionHandler>
|
|
51
44
|
* @throws SDKException
|
|
52
45
|
*/
|
|
53
|
-
deleteWebForms(formId:
|
|
46
|
+
deleteWebForms(formId: string): Promise<APIResponse<ActionHandler>>;
|
|
54
47
|
/**
|
|
55
48
|
* The method to get webforms preview
|
|
56
|
-
* @param formId A
|
|
49
|
+
* @param formId A String representing the formId
|
|
57
50
|
* @returns An instance of APIResponse<ResponseHandler>
|
|
58
51
|
* @throws SDKException
|
|
59
52
|
*/
|
|
60
|
-
getWebformsPreview(formId:
|
|
53
|
+
getWebformsPreview(formId: string): Promise<APIResponse<ResponseHandler>>;
|
|
61
54
|
}
|
|
62
55
|
declare class GetWebFormsParam {
|
|
63
56
|
}
|
|
64
57
|
declare class CreateWebFormsParam {
|
|
65
58
|
}
|
|
66
|
-
declare class UpdateWebFormsParam {
|
|
67
|
-
}
|
|
68
59
|
declare class GetWebFormParam {
|
|
69
60
|
}
|
|
70
61
|
declare class UpdateWebFormParam {
|
|
@@ -73,4 +64,4 @@ declare class DeleteWebFormsParam {
|
|
|
73
64
|
}
|
|
74
65
|
declare class GetWebformsPreviewParam {
|
|
75
66
|
}
|
|
76
|
-
export { GetWebFormsParam as GetWebFormsParam,
|
|
67
|
+
export { GetWebFormsParam as GetWebFormsParam, UpdateWebFormParam as UpdateWebFormParam, WebformsOperations as MasterModel, WebformsOperations as WebformsOperations, CreateWebFormsParam as CreateWebFormsParam, DeleteWebFormsParam as DeleteWebFormsParam, GetWebFormParam as GetWebFormParam, GetWebformsPreviewParam as GetWebformsPreviewParam };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetWebformsPreviewParam = exports.GetWebFormParam = exports.DeleteWebFormsParam = exports.CreateWebFormsParam = exports.WebformsOperations = exports.MasterModel = exports.UpdateWebFormParam = exports.
|
|
3
|
+
exports.GetWebformsPreviewParam = exports.GetWebFormParam = exports.DeleteWebFormsParam = exports.CreateWebFormsParam = exports.WebformsOperations = exports.MasterModel = exports.UpdateWebFormParam = exports.GetWebFormsParam = void 0;
|
|
4
4
|
const param_1 = require("../../../../../../routes/param");
|
|
5
5
|
const common_api_handler_1 = require("../../../../../../routes/middlewares/common_api_handler");
|
|
6
6
|
const constants_1 = require("../../../../../../utils/util/constants");
|
|
@@ -48,29 +48,9 @@ class WebformsOperations {
|
|
|
48
48
|
let ActionHandler = require.resolve("./action_handler");
|
|
49
49
|
return handlerInstance.apiCall(ActionHandler, "application/json");
|
|
50
50
|
}
|
|
51
|
-
/**
|
|
52
|
-
* The method to update web forms
|
|
53
|
-
* @param request An instance of BodyWrapper
|
|
54
|
-
* @returns An instance of APIResponse<ActionHandler>
|
|
55
|
-
* @throws SDKException
|
|
56
|
-
*/
|
|
57
|
-
async updateWebForms(request) {
|
|
58
|
-
let handlerInstance = new common_api_handler_1.CommonAPIHandler();
|
|
59
|
-
let apiPath = '';
|
|
60
|
-
apiPath = apiPath.concat("/crm/v8/settings/webforms");
|
|
61
|
-
handlerInstance.setAPIPath(apiPath);
|
|
62
|
-
handlerInstance.setHttpMethod(constants_1.Constants.REQUEST_METHOD_PUT);
|
|
63
|
-
handlerInstance.setCategoryMethod(constants_1.Constants.REQUEST_CATEGORY_UPDATE);
|
|
64
|
-
handlerInstance.setContentType("application/json");
|
|
65
|
-
handlerInstance.setRequest(request);
|
|
66
|
-
handlerInstance.setMandatoryChecker(true);
|
|
67
|
-
await handlerInstance.addParam(new param_1.Param("module", "com.zoho.crm.api.Webforms.UpdateWebFormsParam"), this.module).catch(err => { throw err; });
|
|
68
|
-
let ActionHandler = require.resolve("./action_handler");
|
|
69
|
-
return handlerInstance.apiCall(ActionHandler, "application/json");
|
|
70
|
-
}
|
|
71
51
|
/**
|
|
72
52
|
* The method to get web form
|
|
73
|
-
* @param formId A
|
|
53
|
+
* @param formId A String representing the formId
|
|
74
54
|
* @returns An instance of APIResponse<ResponseHandler>
|
|
75
55
|
* @throws SDKException
|
|
76
56
|
*/
|
|
@@ -88,7 +68,7 @@ class WebformsOperations {
|
|
|
88
68
|
}
|
|
89
69
|
/**
|
|
90
70
|
* The method to update web form
|
|
91
|
-
* @param formId A
|
|
71
|
+
* @param formId A String representing the formId
|
|
92
72
|
* @param request An instance of BodyWrapper
|
|
93
73
|
* @returns An instance of APIResponse<ActionHandler>
|
|
94
74
|
* @throws SDKException
|
|
@@ -110,7 +90,7 @@ class WebformsOperations {
|
|
|
110
90
|
}
|
|
111
91
|
/**
|
|
112
92
|
* The method to delete web forms
|
|
113
|
-
* @param formId A
|
|
93
|
+
* @param formId A String representing the formId
|
|
114
94
|
* @returns An instance of APIResponse<ActionHandler>
|
|
115
95
|
* @throws SDKException
|
|
116
96
|
*/
|
|
@@ -128,7 +108,7 @@ class WebformsOperations {
|
|
|
128
108
|
}
|
|
129
109
|
/**
|
|
130
110
|
* The method to get webforms preview
|
|
131
|
-
* @param formId A
|
|
111
|
+
* @param formId A String representing the formId
|
|
132
112
|
* @returns An instance of APIResponse<ResponseHandler>
|
|
133
113
|
* @throws SDKException
|
|
134
114
|
*/
|
|
@@ -154,9 +134,6 @@ exports.GetWebFormsParam = GetWebFormsParam;
|
|
|
154
134
|
class CreateWebFormsParam {
|
|
155
135
|
}
|
|
156
136
|
exports.CreateWebFormsParam = CreateWebFormsParam;
|
|
157
|
-
class UpdateWebFormsParam {
|
|
158
|
-
}
|
|
159
|
-
exports.UpdateWebFormsParam = UpdateWebFormsParam;
|
|
160
137
|
class GetWebFormParam {
|
|
161
138
|
}
|
|
162
139
|
exports.GetWebFormParam = GetWebFormParam;
|
|
@@ -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];
|
|
@@ -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];
|
|
@@ -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];
|