@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
|
@@ -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];
|
|
@@ -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];
|
|
@@ -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,7 @@
|
|
|
1
|
-
import { ActionHandler } from "
|
|
1
|
+
import { ActionHandler } from "./action_handler";
|
|
2
2
|
import { ActionResponse } from "./action_response";
|
|
3
3
|
import { Model } from "../../../../../../utils/util/model";
|
|
4
|
-
declare class ActionWrapper implements
|
|
4
|
+
declare class ActionWrapper implements Model, ActionHandler {
|
|
5
5
|
private users;
|
|
6
6
|
private keyModified;
|
|
7
7
|
/**
|
|
@@ -4,7 +4,7 @@ import { CountHandler } from "./count_handler";
|
|
|
4
4
|
import { ResponseHandler } from "./response_handler";
|
|
5
5
|
import { Choice } from "../../../../../../utils/util/choice";
|
|
6
6
|
import { Model } from "../../../../../../utils/util/model";
|
|
7
|
-
declare class APIException implements Model,
|
|
7
|
+
declare class APIException implements Model, ResponseHandler, ActionHandler, ActionResponse, CountHandler {
|
|
8
8
|
private code;
|
|
9
9
|
private details;
|
|
10
10
|
private message;
|
|
@@ -5,14 +5,14 @@ declare class CountWrapper implements Model, CountHandler {
|
|
|
5
5
|
private keyModified;
|
|
6
6
|
/**
|
|
7
7
|
* The method to get the count
|
|
8
|
-
* @returns A
|
|
8
|
+
* @returns A number representing the count
|
|
9
9
|
*/
|
|
10
|
-
getCount():
|
|
10
|
+
getCount(): number;
|
|
11
11
|
/**
|
|
12
12
|
* The method to set the value to count
|
|
13
|
-
* @param count A
|
|
13
|
+
* @param count A number representing the count
|
|
14
14
|
*/
|
|
15
|
-
setCount(count:
|
|
15
|
+
setCount(count: number): void;
|
|
16
16
|
/**
|
|
17
17
|
* The method to check if the user has modified the given key
|
|
18
18
|
* @param key A String representing the key
|
|
@@ -7,14 +7,14 @@ class CountWrapper {
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* The method to get the count
|
|
10
|
-
* @returns A
|
|
10
|
+
* @returns A number representing the count
|
|
11
11
|
*/
|
|
12
12
|
getCount() {
|
|
13
13
|
return this.count;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* The method to set the value to count
|
|
17
|
-
* @param count A
|
|
17
|
+
* @param count A number representing the count
|
|
18
18
|
*/
|
|
19
19
|
setCount(count) {
|
|
20
20
|
this.count = count;
|
|
@@ -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];
|
|
@@ -7,7 +7,6 @@ import { BodyWrapper } from "./body_wrapper";
|
|
|
7
7
|
import { CountHandler } from "./count_handler";
|
|
8
8
|
import { ResponseHandler } from "./response_handler";
|
|
9
9
|
import { APIResponse } from "../../../../../../routes/controllers/api_response";
|
|
10
|
-
import { Choice } from "../../../../../../utils/util/choice";
|
|
11
10
|
declare class UsersOperations {
|
|
12
11
|
/**
|
|
13
12
|
* The method to get users
|
|
@@ -71,7 +70,7 @@ declare class UsersOperations {
|
|
|
71
70
|
usersCount(paramInstance?: ParameterMap): Promise<APIResponse<CountHandler>>;
|
|
72
71
|
}
|
|
73
72
|
declare class GetUsersParam {
|
|
74
|
-
static TYPE: Param<
|
|
73
|
+
static TYPE: Param<string>;
|
|
75
74
|
static PAGE: Param<number>;
|
|
76
75
|
static PER_PAGE: Param<number>;
|
|
77
76
|
static IDS: Param<string>;
|
|
@@ -86,6 +85,6 @@ declare class GetAssociatedGroupsParam {
|
|
|
86
85
|
static INCLUDE: Param<string>;
|
|
87
86
|
}
|
|
88
87
|
declare class UsersCountParam {
|
|
89
|
-
static TYPE: Param<
|
|
88
|
+
static TYPE: Param<string>;
|
|
90
89
|
}
|
|
91
90
|
export { UsersOperations as MasterModel, UsersOperations as UsersOperations, GetUsersHeader as GetUsersHeader, GetAssociatedGroupsParam as GetAssociatedGroupsParam, GetUsersParam as GetUsersParam, GetUserHeader as GetUserHeader, UsersCountParam as UsersCountParam };
|
|
@@ -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];
|
|
@@ -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];
|
|
@@ -28,14 +28,14 @@ declare class Abtesting implements Model {
|
|
|
28
28
|
setName(name: string): void;
|
|
29
29
|
/**
|
|
30
30
|
* The method to get the id
|
|
31
|
-
* @returns A
|
|
31
|
+
* @returns A String representing the id
|
|
32
32
|
*/
|
|
33
|
-
getId():
|
|
33
|
+
getId(): string;
|
|
34
34
|
/**
|
|
35
35
|
* The method to set the value to id
|
|
36
|
-
* @param id A
|
|
36
|
+
* @param id A String representing the id
|
|
37
37
|
*/
|
|
38
|
-
setId(id:
|
|
38
|
+
setId(id: string): void;
|
|
39
39
|
/**
|
|
40
40
|
* The method to get the status
|
|
41
41
|
* @returns A String representing the status
|
|
@@ -37,14 +37,14 @@ class Abtesting {
|
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* The method to get the id
|
|
40
|
-
* @returns A
|
|
40
|
+
* @returns A String representing the id
|
|
41
41
|
*/
|
|
42
42
|
getId() {
|
|
43
43
|
return this.id;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* The method to set the value to id
|
|
47
|
-
* @param id A
|
|
47
|
+
* @param id A String representing the id
|
|
48
48
|
*/
|
|
49
49
|
setId(id) {
|
|
50
50
|
this.id = id;
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { AutoResponseRule } from "./auto_response_rule";
|
|
2
|
+
import { FromAddress } from "./from_address";
|
|
2
3
|
import { Model } from "../../../../../../utils/util/model";
|
|
3
4
|
declare class AcknowledgeVisitor implements Model {
|
|
5
|
+
private replyToAddress;
|
|
6
|
+
private templateName;
|
|
4
7
|
private autoResponseRule;
|
|
5
8
|
private templateId;
|
|
9
|
+
private fromAddress;
|
|
6
10
|
private keyModified;
|
|
11
|
+
/**
|
|
12
|
+
* The method to get the replyToAddress
|
|
13
|
+
* @returns An instance of FromAddress
|
|
14
|
+
*/
|
|
15
|
+
getReplyToAddress(): FromAddress;
|
|
16
|
+
/**
|
|
17
|
+
* The method to set the value to replyToAddress
|
|
18
|
+
* @param replyToAddress An instance of FromAddress
|
|
19
|
+
*/
|
|
20
|
+
setReplyToAddress(replyToAddress: FromAddress): void;
|
|
21
|
+
/**
|
|
22
|
+
* The method to get the templateName
|
|
23
|
+
* @returns A String representing the templateName
|
|
24
|
+
*/
|
|
25
|
+
getTemplateName(): string;
|
|
26
|
+
/**
|
|
27
|
+
* The method to set the value to templateName
|
|
28
|
+
* @param templateName A String representing the templateName
|
|
29
|
+
*/
|
|
30
|
+
setTemplateName(templateName: string): void;
|
|
7
31
|
/**
|
|
8
32
|
* The method to get the autoResponseRule
|
|
9
33
|
* @returns An instance of AutoResponseRule
|
|
@@ -16,14 +40,24 @@ declare class AcknowledgeVisitor implements Model {
|
|
|
16
40
|
setAutoResponseRule(autoResponseRule: AutoResponseRule): void;
|
|
17
41
|
/**
|
|
18
42
|
* The method to get the templateId
|
|
19
|
-
* @returns A
|
|
43
|
+
* @returns A String representing the templateId
|
|
20
44
|
*/
|
|
21
|
-
getTemplateId():
|
|
45
|
+
getTemplateId(): string;
|
|
22
46
|
/**
|
|
23
47
|
* The method to set the value to templateId
|
|
24
|
-
* @param templateId A
|
|
48
|
+
* @param templateId A String representing the templateId
|
|
49
|
+
*/
|
|
50
|
+
setTemplateId(templateId: string): void;
|
|
51
|
+
/**
|
|
52
|
+
* The method to get the fromAddress
|
|
53
|
+
* @returns An instance of FromAddress
|
|
54
|
+
*/
|
|
55
|
+
getFromAddress(): FromAddress;
|
|
56
|
+
/**
|
|
57
|
+
* The method to set the value to fromAddress
|
|
58
|
+
* @param fromAddress An instance of FromAddress
|
|
25
59
|
*/
|
|
26
|
-
|
|
60
|
+
setFromAddress(fromAddress: FromAddress): void;
|
|
27
61
|
/**
|
|
28
62
|
* The method to check if the user has modified the given key
|
|
29
63
|
* @param key A String representing the key
|
|
@@ -5,6 +5,36 @@ class AcknowledgeVisitor {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.keyModified = new Map();
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* The method to get the replyToAddress
|
|
10
|
+
* @returns An instance of FromAddress
|
|
11
|
+
*/
|
|
12
|
+
getReplyToAddress() {
|
|
13
|
+
return this.replyToAddress;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The method to set the value to replyToAddress
|
|
17
|
+
* @param replyToAddress An instance of FromAddress
|
|
18
|
+
*/
|
|
19
|
+
setReplyToAddress(replyToAddress) {
|
|
20
|
+
this.replyToAddress = replyToAddress;
|
|
21
|
+
this.keyModified.set("reply_to_address", 1);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The method to get the templateName
|
|
25
|
+
* @returns A String representing the templateName
|
|
26
|
+
*/
|
|
27
|
+
getTemplateName() {
|
|
28
|
+
return this.templateName;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* The method to set the value to templateName
|
|
32
|
+
* @param templateName A String representing the templateName
|
|
33
|
+
*/
|
|
34
|
+
setTemplateName(templateName) {
|
|
35
|
+
this.templateName = templateName;
|
|
36
|
+
this.keyModified.set("template_name", 1);
|
|
37
|
+
}
|
|
8
38
|
/**
|
|
9
39
|
* The method to get the autoResponseRule
|
|
10
40
|
* @returns An instance of AutoResponseRule
|
|
@@ -22,19 +52,34 @@ class AcknowledgeVisitor {
|
|
|
22
52
|
}
|
|
23
53
|
/**
|
|
24
54
|
* The method to get the templateId
|
|
25
|
-
* @returns A
|
|
55
|
+
* @returns A String representing the templateId
|
|
26
56
|
*/
|
|
27
57
|
getTemplateId() {
|
|
28
58
|
return this.templateId;
|
|
29
59
|
}
|
|
30
60
|
/**
|
|
31
61
|
* The method to set the value to templateId
|
|
32
|
-
* @param templateId A
|
|
62
|
+
* @param templateId A String representing the templateId
|
|
33
63
|
*/
|
|
34
64
|
setTemplateId(templateId) {
|
|
35
65
|
this.templateId = templateId;
|
|
36
66
|
this.keyModified.set("template_id", 1);
|
|
37
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* The method to get the fromAddress
|
|
70
|
+
* @returns An instance of FromAddress
|
|
71
|
+
*/
|
|
72
|
+
getFromAddress() {
|
|
73
|
+
return this.fromAddress;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The method to set the value to fromAddress
|
|
77
|
+
* @param fromAddress An instance of FromAddress
|
|
78
|
+
*/
|
|
79
|
+
setFromAddress(fromAddress) {
|
|
80
|
+
this.fromAddress = fromAddress;
|
|
81
|
+
this.keyModified.set("from_address", 1);
|
|
82
|
+
}
|
|
38
83
|
/**
|
|
39
84
|
* The method to check if the user has modified the given key
|
|
40
85
|
* @param key A String representing the key
|
|
@@ -15,14 +15,14 @@ declare class AssignmentRule implements Model {
|
|
|
15
15
|
setName(name: string): void;
|
|
16
16
|
/**
|
|
17
17
|
* The method to get the id
|
|
18
|
-
* @returns A
|
|
18
|
+
* @returns A String representing the id
|
|
19
19
|
*/
|
|
20
|
-
getId():
|
|
20
|
+
getId(): string;
|
|
21
21
|
/**
|
|
22
22
|
* The method to set the value to id
|
|
23
|
-
* @param id A
|
|
23
|
+
* @param id A String representing the id
|
|
24
24
|
*/
|
|
25
|
-
setId(id:
|
|
25
|
+
setId(id: string): void;
|
|
26
26
|
/**
|
|
27
27
|
* The method to check if the user has modified the given key
|
|
28
28
|
* @param key A String representing the key
|
|
@@ -22,14 +22,14 @@ class AssignmentRule {
|
|
|
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;
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
import { Model } from "../../../../../../utils/util/model";
|
|
2
2
|
declare class AutoResponseRule implements Model {
|
|
3
|
+
private name;
|
|
3
4
|
private id;
|
|
4
5
|
private keyModified;
|
|
6
|
+
/**
|
|
7
|
+
* The method to get the name
|
|
8
|
+
* @returns A String representing the name
|
|
9
|
+
*/
|
|
10
|
+
getName(): string;
|
|
11
|
+
/**
|
|
12
|
+
* The method to set the value to name
|
|
13
|
+
* @param name A String representing the name
|
|
14
|
+
*/
|
|
15
|
+
setName(name: string): void;
|
|
5
16
|
/**
|
|
6
17
|
* The method to get the id
|
|
7
|
-
* @returns A
|
|
18
|
+
* @returns A String representing the id
|
|
8
19
|
*/
|
|
9
|
-
getId():
|
|
20
|
+
getId(): string;
|
|
10
21
|
/**
|
|
11
22
|
* The method to set the value to id
|
|
12
|
-
* @param id A
|
|
23
|
+
* @param id A String representing the id
|
|
13
24
|
*/
|
|
14
|
-
setId(id:
|
|
25
|
+
setId(id: string): void;
|
|
15
26
|
/**
|
|
16
27
|
* The method to check if the user has modified the given key
|
|
17
28
|
* @param key A String representing the key
|
|
@@ -5,16 +5,31 @@ class AutoResponseRule {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.keyModified = new Map();
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* The method to get the name
|
|
10
|
+
* @returns A String representing the name
|
|
11
|
+
*/
|
|
12
|
+
getName() {
|
|
13
|
+
return this.name;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The method to set the value to name
|
|
17
|
+
* @param name A String representing the name
|
|
18
|
+
*/
|
|
19
|
+
setName(name) {
|
|
20
|
+
this.name = name;
|
|
21
|
+
this.keyModified.set("name", 1);
|
|
22
|
+
}
|
|
8
23
|
/**
|
|
9
24
|
* The method to get the id
|
|
10
|
-
* @returns A
|
|
25
|
+
* @returns A String representing the id
|
|
11
26
|
*/
|
|
12
27
|
getId() {
|
|
13
28
|
return this.id;
|
|
14
29
|
}
|
|
15
30
|
/**
|
|
16
31
|
* The method to set the value to id
|
|
17
|
-
* @param id A
|
|
32
|
+
* @param id A String representing the id
|
|
18
33
|
*/
|
|
19
34
|
setId(id) {
|
|
20
35
|
this.id = id;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Model } from "../../../../../../utils/util/model";
|
|
2
|
+
declare class Background implements Model {
|
|
3
|
+
private imageName;
|
|
4
|
+
private color;
|
|
5
|
+
private keyModified;
|
|
6
|
+
/**
|
|
7
|
+
* The method to get the imageName
|
|
8
|
+
* @returns A String representing the imageName
|
|
9
|
+
*/
|
|
10
|
+
getImageName(): string;
|
|
11
|
+
/**
|
|
12
|
+
* The method to set the value to imageName
|
|
13
|
+
* @param imageName A String representing the imageName
|
|
14
|
+
*/
|
|
15
|
+
setImageName(imageName: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* The method to get the color
|
|
18
|
+
* @returns A String representing the color
|
|
19
|
+
*/
|
|
20
|
+
getColor(): string;
|
|
21
|
+
/**
|
|
22
|
+
* The method to set the value to color
|
|
23
|
+
* @param color A String representing the color
|
|
24
|
+
*/
|
|
25
|
+
setColor(color: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* The method to check if the user has modified the given key
|
|
28
|
+
* @param key A String representing the key
|
|
29
|
+
* @returns A number representing the modification
|
|
30
|
+
*/
|
|
31
|
+
isKeyModified(key: string): number | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The method to mark the given key as modified
|
|
34
|
+
* @param key A String representing the key
|
|
35
|
+
* @param modification A number representing the modification
|
|
36
|
+
*/
|
|
37
|
+
setKeyModified(key: string, modification: number): void;
|
|
38
|
+
}
|
|
39
|
+
export { Background as MasterModel, Background as Background };
|