@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.
Files changed (237) hide show
  1. package/dist/config/json_details.json +1 -1
  2. package/dist/core/com/zoho/crm/api/apis/import_apis.js +5 -1
  3. package/dist/core/com/zoho/crm/api/appointment_preference/import_appointment_preference.js +5 -1
  4. package/dist/core/com/zoho/crm/api/assignment_rules/import_assignment_rules.js +5 -1
  5. package/dist/core/com/zoho/crm/api/associate_email/import_associate_email.js +5 -1
  6. package/dist/core/com/zoho/crm/api/attachments/import_attachments.js +5 -1
  7. package/dist/core/com/zoho/crm/api/audit_log_export/import_audit_log_export.js +5 -1
  8. package/dist/core/com/zoho/crm/api/available_currencies/import_available_currencies.js +5 -1
  9. package/dist/core/com/zoho/crm/api/backup/import_backup.js +5 -1
  10. package/dist/core/com/zoho/crm/api/blueprint/action_response.d.ts +3 -0
  11. package/dist/core/com/zoho/crm/api/blueprint/action_wrapper.d.ts +30 -0
  12. package/dist/core/com/zoho/crm/api/blueprint/action_wrapper.js +44 -0
  13. package/dist/core/com/zoho/crm/api/blueprint/api_exception.d.ts +2 -1
  14. package/dist/core/com/zoho/crm/api/blueprint/field.d.ts +4 -4
  15. package/dist/core/com/zoho/crm/api/blueprint/field.js +2 -2
  16. package/dist/core/com/zoho/crm/api/blueprint/import_blueprint.d.ts +2 -0
  17. package/dist/core/com/zoho/crm/api/blueprint/import_blueprint.js +9 -2
  18. package/dist/core/com/zoho/crm/api/blueprint/success_response.d.ts +2 -1
  19. package/dist/core/com/zoho/crm/api/bulk_read/body_wrapper.d.ts +4 -5
  20. package/dist/core/com/zoho/crm/api/bulk_read/body_wrapper.js +2 -2
  21. package/dist/core/com/zoho/crm/api/bulk_read/import_bulk_read.js +5 -1
  22. package/dist/core/com/zoho/crm/api/bulk_read/job_detail.d.ts +4 -4
  23. package/dist/core/com/zoho/crm/api/bulk_read/job_detail.js +2 -2
  24. package/dist/core/com/zoho/crm/api/bulk_read/query.d.ts +4 -5
  25. package/dist/core/com/zoho/crm/api/bulk_read/query.js +2 -2
  26. package/dist/core/com/zoho/crm/api/bulk_write/import_bulk_write.js +5 -1
  27. package/dist/core/com/zoho/crm/api/business_hours/import_business_hours.js +5 -1
  28. package/dist/core/com/zoho/crm/api/cadences/import_cadences.js +5 -1
  29. package/dist/core/com/zoho/crm/api/cadences_execution/import_cadences_execution.js +5 -1
  30. package/dist/core/com/zoho/crm/api/call_preferences/import_call_preferences.js +5 -1
  31. package/dist/core/com/zoho/crm/api/cancel_meetings/import_cancel_meetings.js +5 -1
  32. package/dist/core/com/zoho/crm/api/change_owner/import_change_owner.js +5 -1
  33. package/dist/core/com/zoho/crm/api/contact_roles/import_contact_roles.js +5 -1
  34. package/dist/core/com/zoho/crm/api/conversion_option/import_conversion_option.js +5 -1
  35. package/dist/core/com/zoho/crm/api/convert_lead/import_convert_lead.js +5 -1
  36. package/dist/core/com/zoho/crm/api/coql/import_coql.js +5 -1
  37. package/dist/core/com/zoho/crm/api/currencies/import_currencies.js +5 -1
  38. package/dist/core/com/zoho/crm/api/custom_views/import_custom_views.js +5 -1
  39. package/dist/core/com/zoho/crm/api/data_sharing/import_data_sharing.js +5 -1
  40. package/dist/core/com/zoho/crm/api/deal_contact_roles/import_deal_contact_roles.js +5 -1
  41. package/dist/core/com/zoho/crm/api/digest/import_digest.js +5 -1
  42. package/dist/core/com/zoho/crm/api/download_attachments/import_download_attachments.js +5 -1
  43. package/dist/core/com/zoho/crm/api/download_inline_images/import_download_inline_images.js +5 -1
  44. package/dist/core/com/zoho/crm/api/duplicate_check_preference/import_duplicate_check_preference.js +5 -1
  45. package/dist/core/com/zoho/crm/api/email_compose/import_email_compose.js +5 -1
  46. package/dist/core/com/zoho/crm/api/email_configuration_options/import_email_configuration_options.js +5 -1
  47. package/dist/core/com/zoho/crm/api/email_drafts/import_email_drafts.js +5 -1
  48. package/dist/core/com/zoho/crm/api/email_related_records/import_email_related_records.js +5 -1
  49. package/dist/core/com/zoho/crm/api/email_sharing_details/import_email_sharing_details.js +5 -1
  50. package/dist/core/com/zoho/crm/api/email_signatures/import_email_signatures.js +5 -1
  51. package/dist/core/com/zoho/crm/api/email_templates/email_template.d.ts +1 -1
  52. package/dist/core/com/zoho/crm/api/email_templates/import_email_templates.js +5 -1
  53. package/dist/core/com/zoho/crm/api/entity_scores/import_entity_scores.js +5 -1
  54. package/dist/core/com/zoho/crm/api/features/import_features.js +5 -1
  55. package/dist/core/com/zoho/crm/api/field_attachments/import_field_attachments.js +5 -1
  56. package/dist/core/com/zoho/crm/api/field_map_dependency/import_field_map_dependency.js +5 -1
  57. package/dist/core/com/zoho/crm/api/fields/fields.d.ts +11 -0
  58. package/dist/core/com/zoho/crm/api/fields/fields.js +15 -0
  59. package/dist/core/com/zoho/crm/api/fields/history_tracking.d.ts +35 -0
  60. package/dist/core/com/zoho/crm/api/fields/history_tracking.js +45 -0
  61. package/dist/core/com/zoho/crm/api/fields/import_fields.js +5 -1
  62. package/dist/core/com/zoho/crm/api/files/import_files.js +5 -1
  63. package/dist/core/com/zoho/crm/api/find_and_merge/import_find_and_merge.js +5 -1
  64. package/dist/core/com/zoho/crm/api/fiscal_year/import_fiscal_year.js +5 -1
  65. package/dist/core/com/zoho/crm/api/from_addresses/import_from_addresses.js +5 -1
  66. package/dist/core/com/zoho/crm/api/functions/import_functions.js +5 -1
  67. package/dist/core/com/zoho/crm/api/get_related_records_count/import_get_related_records_count.js +5 -1
  68. package/dist/core/com/zoho/crm/api/global_picklists/import_global_picklists.js +5 -1
  69. package/dist/core/com/zoho/crm/api/hipaa_compliance/import_hipaa_compliance.js +5 -1
  70. package/dist/core/com/zoho/crm/api/holidays/import_holidays.js +5 -1
  71. package/dist/core/com/zoho/crm/api/inventory_convert/import_inventory_convert.js +5 -1
  72. package/dist/core/com/zoho/crm/api/inventory_mass_convert/import_inventory_mass_convert.d.ts +1 -0
  73. package/dist/core/com/zoho/crm/api/inventory_mass_convert/import_inventory_mass_convert.js +8 -2
  74. package/dist/core/com/zoho/crm/api/inventory_mass_convert/response_wrapper.d.ts +30 -0
  75. package/dist/core/com/zoho/crm/api/inventory_mass_convert/response_wrapper.js +44 -0
  76. package/dist/core/com/zoho/crm/api/inventory_mass_convert/status.d.ts +1 -2
  77. package/dist/core/com/zoho/crm/api/inventory_templates/import_inventory_templates.js +5 -1
  78. package/dist/core/com/zoho/crm/api/inventory_templates/inventory_templates.d.ts +1 -1
  79. package/dist/core/com/zoho/crm/api/layouts/import_layouts.js +5 -1
  80. package/dist/core/com/zoho/crm/api/layouts/section_field.d.ts +11 -0
  81. package/dist/core/com/zoho/crm/api/layouts/section_field.js +15 -0
  82. package/dist/core/com/zoho/crm/api/mail_merge/import_mail_merge.js +5 -1
  83. package/dist/core/com/zoho/crm/api/mass_change_owner/import_mass_change_owner.js +5 -1
  84. package/dist/core/com/zoho/crm/api/mass_convert/import_mass_convert.js +5 -1
  85. package/dist/core/com/zoho/crm/api/mass_delete_cvid/import_mass_delete_cvid.js +5 -1
  86. package/dist/core/com/zoho/crm/api/mass_delete_tags/import_mass_delete_tags.js +5 -1
  87. package/dist/core/com/zoho/crm/api/modules/import_modules.js +5 -1
  88. package/dist/core/com/zoho/crm/api/modules/module_fields.d.ts +11 -0
  89. package/dist/core/com/zoho/crm/api/modules/module_fields.js +15 -0
  90. package/dist/core/com/zoho/crm/api/modules/modules_operations.d.ts +1 -2
  91. package/dist/core/com/zoho/crm/api/notes/body_wrapper.d.ts +11 -0
  92. package/dist/core/com/zoho/crm/api/notes/body_wrapper.js +15 -0
  93. package/dist/core/com/zoho/crm/api/notes/import_notes.js +5 -1
  94. package/dist/core/com/zoho/crm/api/notifications/import_notifications.js +5 -1
  95. package/dist/core/com/zoho/crm/api/notifications/notification.d.ts +5 -6
  96. package/dist/core/com/zoho/crm/api/notifications/notification.js +2 -2
  97. package/dist/core/com/zoho/crm/api/notifications/notifications_operations.d.ts +1 -1
  98. package/dist/core/com/zoho/crm/api/org/import_org.js +5 -1
  99. package/dist/core/com/zoho/crm/api/pick_list_values/import_pick_list_values.js +5 -1
  100. package/dist/core/com/zoho/crm/api/pipeline/import_pipeline.js +5 -1
  101. package/dist/core/com/zoho/crm/api/portal_invite/import_portal_invite.js +5 -1
  102. package/dist/core/com/zoho/crm/api/portal_user_type/import_portal_user_type.js +5 -1
  103. package/dist/core/com/zoho/crm/api/portals/import_portals.js +5 -1
  104. package/dist/core/com/zoho/crm/api/profiles/delete.d.ts +28 -0
  105. package/dist/core/com/zoho/crm/api/profiles/delete.js +44 -0
  106. package/dist/core/com/zoho/crm/api/profiles/import_profiles.d.ts +1 -0
  107. package/dist/core/com/zoho/crm/api/profiles/import_profiles.js +8 -2
  108. package/dist/core/com/zoho/crm/api/profiles/minified_profile.d.ts +5 -4
  109. package/dist/core/com/zoho/crm/api/profiles/minified_profile.js +2 -2
  110. package/dist/core/com/zoho/crm/api/profiles/profile.d.ts +5 -4
  111. package/dist/core/com/zoho/crm/api/profiles/profile.js +2 -2
  112. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.d.ts +28 -0
  113. package/dist/core/com/zoho/crm/api/record/apply_feature_execution.js +44 -0
  114. package/dist/core/com/zoho/crm/api/record/body_wrapper.d.ts +46 -0
  115. package/dist/core/com/zoho/crm/api/record/body_wrapper.js +60 -0
  116. package/dist/core/com/zoho/crm/api/record/field.js +27 -0
  117. package/dist/core/com/zoho/crm/api/record/import_record.d.ts +2 -0
  118. package/dist/core/com/zoho/crm/api/record/import_record.js +10 -2
  119. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.d.ts +39 -0
  120. package/dist/core/com/zoho/crm/api/record/skip_feature_execution.js +59 -0
  121. package/dist/core/com/zoho/crm/api/record_locking/import_record_locking.js +5 -1
  122. package/dist/core/com/zoho/crm/api/record_locking_configuration/import_record_locking_configuration.js +5 -1
  123. package/dist/core/com/zoho/crm/api/record_share_email/import_record_share_email.js +5 -1
  124. package/dist/core/com/zoho/crm/api/recycle_bin/import_recycle_bin.js +5 -1
  125. package/dist/core/com/zoho/crm/api/related_lists/import_related_lists.js +5 -1
  126. package/dist/core/com/zoho/crm/api/related_records/import_related_records.js +5 -1
  127. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.d.ts +2 -0
  128. package/dist/core/com/zoho/crm/api/related_records/related_records_operations.js +2 -0
  129. package/dist/core/com/zoho/crm/api/reschedule_history/import_reschedule_history.js +5 -1
  130. package/dist/core/com/zoho/crm/api/roles/import_roles.js +5 -1
  131. package/dist/core/com/zoho/crm/api/scoring_rules/import_scoring_rules.js +5 -1
  132. package/dist/core/com/zoho/crm/api/send_mail/import_send_mail.js +5 -1
  133. package/dist/core/com/zoho/crm/api/service_preference/import_service_preference.js +5 -1
  134. package/dist/core/com/zoho/crm/api/share_records/import_share_records.js +5 -1
  135. package/dist/core/com/zoho/crm/api/sharing_rules/import_sharing_rules.js +5 -1
  136. package/dist/core/com/zoho/crm/api/shift_hours/import_shift_hours.js +5 -1
  137. package/dist/core/com/zoho/crm/api/signals/import_signals.js +5 -1
  138. package/dist/core/com/zoho/crm/api/signals_notifications/import_signals_notifications.js +5 -1
  139. package/dist/core/com/zoho/crm/api/tags/import_tags.js +5 -1
  140. package/dist/core/com/zoho/crm/api/tags/tag.d.ts +4 -5
  141. package/dist/core/com/zoho/crm/api/tags/tag.js +2 -2
  142. package/dist/core/com/zoho/crm/api/taxes/import_taxes.js +5 -1
  143. package/dist/core/com/zoho/crm/api/territories/import_territories.js +5 -1
  144. package/dist/core/com/zoho/crm/api/territory_users/import_territory_users.js +5 -1
  145. package/dist/core/com/zoho/crm/api/timelines/import_timelines.js +5 -1
  146. package/dist/core/com/zoho/crm/api/unblock_email/import_unblock_email.js +5 -1
  147. package/dist/core/com/zoho/crm/api/unsubscribe_links/import_unsubscribe_links.js +5 -1
  148. package/dist/core/com/zoho/crm/api/user_groups/import_user_groups.js +5 -1
  149. package/dist/core/com/zoho/crm/api/user_type_users/import_user_type_users.js +5 -1
  150. package/dist/core/com/zoho/crm/api/users/action_wrapper.d.ts +2 -2
  151. package/dist/core/com/zoho/crm/api/users/api_exception.d.ts +1 -1
  152. package/dist/core/com/zoho/crm/api/users/count_wrapper.d.ts +4 -4
  153. package/dist/core/com/zoho/crm/api/users/count_wrapper.js +2 -2
  154. package/dist/core/com/zoho/crm/api/users/import_users.js +5 -1
  155. package/dist/core/com/zoho/crm/api/users/users_operations.d.ts +2 -3
  156. package/dist/core/com/zoho/crm/api/users_territories/import_users_territories.js +5 -1
  157. package/dist/core/com/zoho/crm/api/users_transfer_delete/import_users_transfer_delete.js +5 -1
  158. package/dist/core/com/zoho/crm/api/users_unavailability/import_users_unavailability.js +5 -1
  159. package/dist/core/com/zoho/crm/api/variable_groups/import_variable_groups.js +5 -1
  160. package/dist/core/com/zoho/crm/api/variables/import_variables.js +5 -1
  161. package/dist/core/com/zoho/crm/api/webforms/abtesting.d.ts +4 -4
  162. package/dist/core/com/zoho/crm/api/webforms/abtesting.js +2 -2
  163. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.d.ts +38 -4
  164. package/dist/core/com/zoho/crm/api/webforms/acknowledge_visitor.js +47 -2
  165. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.d.ts +4 -4
  166. package/dist/core/com/zoho/crm/api/webforms/assignment_rule.js +2 -2
  167. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.d.ts +15 -4
  168. package/dist/core/com/zoho/crm/api/webforms/auto_response_rule.js +17 -2
  169. package/dist/core/com/zoho/crm/api/webforms/background.d.ts +39 -0
  170. package/dist/core/com/zoho/crm/api/webforms/background.js +59 -0
  171. package/dist/core/com/zoho/crm/api/webforms/button_attributes.d.ts +22 -0
  172. package/dist/core/com/zoho/crm/api/webforms/button_attributes.js +30 -0
  173. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.d.ts +40 -0
  174. package/dist/core/com/zoho/crm/api/webforms/double_optin_details.js +59 -0
  175. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.d.ts → double_optin_email_template.d.ts} +13 -24
  176. package/dist/core/com/zoho/crm/api/webforms/{acknowledge_visitors.js → double_optin_email_template.js} +19 -34
  177. package/dist/core/com/zoho/crm/api/webforms/fields.d.ts +94 -72
  178. package/dist/core/com/zoho/crm/api/webforms/fields.js +125 -95
  179. package/dist/core/com/zoho/crm/api/webforms/form_attributes.d.ts +28 -4
  180. package/dist/core/com/zoho/crm/api/webforms/form_attributes.js +32 -2
  181. package/dist/core/com/zoho/crm/api/webforms/form_section.d.ts +73 -0
  182. package/dist/core/com/zoho/crm/api/webforms/form_section.js +104 -0
  183. package/dist/core/com/zoho/crm/api/webforms/from_address.d.ts +22 -0
  184. package/dist/core/com/zoho/crm/api/webforms/from_address.js +30 -0
  185. package/dist/core/com/zoho/crm/api/webforms/import_webforms.d.ts +7 -3
  186. package/dist/core/com/zoho/crm/api/webforms/import_webforms.js +24 -12
  187. package/dist/core/com/zoho/crm/api/webforms/layout.d.ts +15 -4
  188. package/dist/core/com/zoho/crm/api/webforms/layout.js +17 -2
  189. package/dist/core/com/zoho/crm/api/webforms/logo.d.ts +50 -0
  190. package/dist/core/com/zoho/crm/api/webforms/logo.js +74 -0
  191. package/dist/core/com/zoho/crm/api/webforms/module.d.ts +15 -4
  192. package/dist/core/com/zoho/crm/api/webforms/module.js +17 -2
  193. package/dist/core/com/zoho/crm/api/webforms/owner.d.ts +26 -4
  194. package/dist/core/com/zoho/crm/api/webforms/owner.js +32 -2
  195. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.d.ts → spam_control.d.ts} +13 -2
  196. package/dist/core/com/zoho/crm/api/webforms/{spam_controll.js → spam_control.js} +19 -4
  197. package/dist/core/com/zoho/crm/api/webforms/tags.d.ts +4 -4
  198. package/dist/core/com/zoho/crm/api/webforms/tags.js +2 -2
  199. package/dist/core/com/zoho/crm/api/webforms/user.d.ts +4 -4
  200. package/dist/core/com/zoho/crm/api/webforms/user.js +2 -2
  201. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.d.ts +39 -0
  202. package/dist/core/com/zoho/crm/api/webforms/visitor_tracking.js +59 -0
  203. package/dist/core/com/zoho/crm/api/webforms/web_form.d.ts +185 -127
  204. package/dist/core/com/zoho/crm/api/webforms/web_form.js +238 -163
  205. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.d.ts +9 -18
  206. package/dist/core/com/zoho/crm/api/webforms/webforms_operations.js +5 -28
  207. package/dist/core/com/zoho/crm/api/wizards/import_wizards.js +5 -1
  208. package/dist/core/com/zoho/crm/api/zia_enrichment/import_zia_enrichment.js +5 -1
  209. package/dist/core/com/zoho/crm/api/zia_org_enrichment/import_zia_org_enrichment.js +5 -1
  210. package/dist/core/com/zoho/crm/api/zia_people_enrichment/import_zia_people_enrichment.js +5 -1
  211. package/dist/index.js +5 -1
  212. package/dist/models/authenticator/oauth_token.js +28 -24
  213. package/dist/models/authenticator/store/db_store.js +30 -16
  214. package/dist/models/authenticator/store/file_store.js +5 -1
  215. package/dist/routes/controllers/api_http_connector.js +5 -1
  216. package/dist/routes/dc/data_center.js +5 -1
  217. package/dist/routes/header_map.js +5 -1
  218. package/dist/routes/initialize_builder.js +5 -1
  219. package/dist/routes/initializer.js +5 -1
  220. package/dist/routes/logger/sdk_logger.js +5 -1
  221. package/dist/routes/middlewares/common_api_handler.js +5 -1
  222. package/dist/routes/parameter_map.js +5 -1
  223. package/dist/utils/util/constants.js +1 -1
  224. package/dist/utils/util/converter.js +8 -4
  225. package/dist/utils/util/datatype_converter.js +5 -1
  226. package/dist/utils/util/downloader.js +6 -2
  227. package/dist/utils/util/header_param_validator.js +5 -1
  228. package/dist/utils/util/json_converter.js +18 -7
  229. package/dist/utils/util/module_fields_handler.js +5 -1
  230. package/dist/utils/util/stream_wrapper.js +5 -1
  231. package/dist/utils/util/utility.js +6 -3
  232. package/dist/zohocrmsdk.js +5 -1
  233. package/package.json +9 -9
  234. package/dist/core/com/zoho/crm/api/email_signatures/details_group.d.ts +0 -3
  235. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.d.ts +0 -51
  236. package/dist/core/com/zoho/crm/api/fields/rollup_criteria.js +0 -74
  237. /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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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];
@@ -0,0 +1,3 @@
1
+ interface ActionResponse {
2
+ }
3
+ export type { ActionResponse as MasterModel, ActionResponse as ActionResponse };
@@ -0,0 +1,30 @@
1
+ import { ActionHandler } from "./action_handler";
2
+ import { ActionResponse } from "./action_response";
3
+ import { Model } from "../../../../../../utils/util/model";
4
+ declare class ActionWrapper implements Model, ActionHandler {
5
+ private blueprint;
6
+ private keyModified;
7
+ /**
8
+ * The method to get the blueprint
9
+ * @returns An Array representing the blueprint
10
+ */
11
+ getBlueprint(): Array<ActionResponse>;
12
+ /**
13
+ * The method to set the value to blueprint
14
+ * @param blueprint An Array representing the blueprint
15
+ */
16
+ setBlueprint(blueprint: Array<ActionResponse>): void;
17
+ /**
18
+ * The method to check if the user has modified the given key
19
+ * @param key A String representing the key
20
+ * @returns A number representing the modification
21
+ */
22
+ isKeyModified(key: string): number | null | undefined;
23
+ /**
24
+ * The method to mark the given key as modified
25
+ * @param key A String representing the key
26
+ * @param modification A number representing the modification
27
+ */
28
+ setKeyModified(key: string, modification: number): void;
29
+ }
30
+ export { ActionWrapper as MasterModel, ActionWrapper as ActionWrapper };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActionWrapper = exports.MasterModel = void 0;
4
+ class ActionWrapper {
5
+ constructor() {
6
+ this.keyModified = new Map();
7
+ }
8
+ /**
9
+ * The method to get the blueprint
10
+ * @returns An Array representing the blueprint
11
+ */
12
+ getBlueprint() {
13
+ return this.blueprint;
14
+ }
15
+ /**
16
+ * The method to set the value to blueprint
17
+ * @param blueprint An Array representing the blueprint
18
+ */
19
+ setBlueprint(blueprint) {
20
+ this.blueprint = blueprint;
21
+ this.keyModified.set("blueprint", 1);
22
+ }
23
+ /**
24
+ * The method to check if the user has modified the given key
25
+ * @param key A String representing the key
26
+ * @returns A number representing the modification
27
+ */
28
+ isKeyModified(key) {
29
+ if (this.keyModified.has(key)) {
30
+ return this.keyModified.get(key);
31
+ }
32
+ return null;
33
+ }
34
+ /**
35
+ * The method to mark the given key as modified
36
+ * @param key A String representing the key
37
+ * @param modification A number representing the modification
38
+ */
39
+ setKeyModified(key, modification) {
40
+ this.keyModified.set(key, modification);
41
+ }
42
+ }
43
+ exports.MasterModel = ActionWrapper;
44
+ exports.ActionWrapper = ActionWrapper;
@@ -1,8 +1,9 @@
1
1
  import { ActionHandler } from "./action_handler";
2
+ import { ActionResponse } from "./action_response";
2
3
  import { ResponseHandler } from "./response_handler";
3
4
  import { Choice } from "../../../../../../utils/util/choice";
4
5
  import { Model } from "../../../../../../utils/util/model";
5
- declare class APIException implements Model, ResponseHandler, ActionHandler {
6
+ declare class APIException implements Model, ResponseHandler, ActionResponse, ActionHandler {
6
7
  private status;
7
8
  private code;
8
9
  private message;
@@ -246,14 +246,14 @@ declare class Field implements Model {
246
246
  setDisplayLabel(displayLabel: string): void;
247
247
  /**
248
248
  * The method to get the validationRule
249
- * @returns A String representing the validationRule
249
+ * @returns An Object representing the validationRule
250
250
  */
251
- getValidationRule(): string;
251
+ getValidationRule(): any;
252
252
  /**
253
253
  * The method to set the value to validationRule
254
- * @param validationRule A String representing the validationRule
254
+ * @param validationRule An Object representing the validationRule
255
255
  */
256
- setValidationRule(validationRule: string): void;
256
+ setValidationRule(validationRule: any): void;
257
257
  /**
258
258
  * The method to get the readOnly
259
259
  * @returns A Boolean representing the readOnly
@@ -277,14 +277,14 @@ class Field {
277
277
  }
278
278
  /**
279
279
  * The method to get the validationRule
280
- * @returns A String representing the validationRule
280
+ * @returns An Object representing the validationRule
281
281
  */
282
282
  getValidationRule() {
283
283
  return this.validationRule;
284
284
  }
285
285
  /**
286
286
  * The method to set the value to validationRule
287
- * @param validationRule A String representing the validationRule
287
+ * @param validationRule An Object representing the validationRule
288
288
  */
289
289
  setValidationRule(validationRule) {
290
290
  this.validationRule = validationRule;
@@ -23,4 +23,6 @@ export { BlueprintOperations } from "./blueprint_operations";
23
23
  export { ViewType } from "./view_type";
24
24
  export { BodyWrapper } from "./body_wrapper";
25
25
  export { Formula } from "./formula";
26
+ export * as ActionResponse from "./action_response";
26
27
  export { BluePrint } from "./blue_print";
28
+ export { ActionWrapper } from "./action_wrapper";
@@ -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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -19,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
19
23
  return result;
20
24
  };
21
25
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.BluePrint = exports.Formula = exports.BodyWrapper = exports.ViewType = exports.BlueprintOperations = exports.AssociationDetails = exports.ToolTip = exports.AutoNumber = exports.CurrentPicklist = exports.APIException = exports.Module = exports.Transition = exports.Field = exports.Profile = exports.LookupField = exports.Escalation = exports.NextTransition = exports.Crypt = exports.ResponseWrapper = exports.ResponseHandler = exports.SuccessResponse = exports.MultiSelectLookup = exports.ActionHandler = exports.Layout = exports.Currency = exports.ProcessInfo = void 0;
26
+ exports.ActionWrapper = exports.BluePrint = exports.ActionResponse = exports.Formula = exports.BodyWrapper = exports.ViewType = exports.BlueprintOperations = exports.AssociationDetails = exports.ToolTip = exports.AutoNumber = exports.CurrentPicklist = exports.APIException = exports.Module = exports.Transition = exports.Field = exports.Profile = exports.LookupField = exports.Escalation = exports.NextTransition = exports.Crypt = exports.ResponseWrapper = exports.ResponseHandler = exports.SuccessResponse = exports.MultiSelectLookup = exports.ActionHandler = exports.Layout = exports.Currency = exports.ProcessInfo = void 0;
23
27
  var process_info_1 = require("./process_info");
24
28
  Object.defineProperty(exports, "ProcessInfo", { enumerable: true, get: function () { return process_info_1.ProcessInfo; } });
25
29
  var currency_1 = require("./currency");
@@ -68,5 +72,8 @@ var body_wrapper_1 = require("./body_wrapper");
68
72
  Object.defineProperty(exports, "BodyWrapper", { enumerable: true, get: function () { return body_wrapper_1.BodyWrapper; } });
69
73
  var formula_1 = require("./formula");
70
74
  Object.defineProperty(exports, "Formula", { enumerable: true, get: function () { return formula_1.Formula; } });
75
+ exports.ActionResponse = __importStar(require("./action_response"));
71
76
  var blue_print_1 = require("./blue_print");
72
77
  Object.defineProperty(exports, "BluePrint", { enumerable: true, get: function () { return blue_print_1.BluePrint; } });
78
+ var action_wrapper_1 = require("./action_wrapper");
79
+ Object.defineProperty(exports, "ActionWrapper", { enumerable: true, get: function () { return action_wrapper_1.ActionWrapper; } });
@@ -1,7 +1,8 @@
1
1
  import { ActionHandler } from "./action_handler";
2
+ import { ActionResponse } from "./action_response";
2
3
  import { Choice } from "../../../../../../utils/util/choice";
3
4
  import { Model } from "../../../../../../utils/util/model";
4
- declare class SuccessResponse implements Model, ActionHandler {
5
+ declare class SuccessResponse implements Model, ActionResponse, ActionHandler {
5
6
  private status;
6
7
  private code;
7
8
  private message;
@@ -1,6 +1,5 @@
1
1
  import { CallBack } from "./call_back";
2
2
  import { Query } from "./query";
3
- import { Choice } from "../../../../../../utils/util/choice";
4
3
  import { Model } from "../../../../../../utils/util/model";
5
4
  declare class BodyWrapper implements Model {
6
5
  private callback;
@@ -29,14 +28,14 @@ declare class BodyWrapper implements Model {
29
28
  setQuery(query: Query): void;
30
29
  /**
31
30
  * The method to get the fileType
32
- * @returns An instance of Choice<string>
31
+ * @returns A String representing the fileType
33
32
  */
34
- getFileType(): Choice<string>;
33
+ getFileType(): string;
35
34
  /**
36
35
  * The method to set the value to fileType
37
- * @param fileType An instance of Choice<string>
36
+ * @param fileType A String representing the fileType
38
37
  */
39
- setFileType(fileType: Choice<string>): void;
38
+ setFileType(fileType: string): void;
40
39
  /**
41
40
  * The method to check if the user has modified the given key
42
41
  * @param key A String representing the key
@@ -37,14 +37,14 @@ class BodyWrapper {
37
37
  }
38
38
  /**
39
39
  * The method to get the fileType
40
- * @returns An instance of Choice<string>
40
+ * @returns A String representing the fileType
41
41
  */
42
42
  getFileType() {
43
43
  return this.fileType;
44
44
  }
45
45
  /**
46
46
  * The method to set the value to fileType
47
- * @param fileType An instance of Choice<string>
47
+ * @param fileType A String representing the fileType
48
48
  */
49
49
  setFileType(fileType) {
50
50
  this.fileType = fileType;
@@ -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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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];
@@ -85,14 +85,14 @@ declare class JobDetail implements Model {
85
85
  setResult(result: Result): void;
86
86
  /**
87
87
  * The method to get the fileType
88
- * @returns An instance of Choice<string>
88
+ * @returns A String representing the fileType
89
89
  */
90
- getFileType(): Choice<string>;
90
+ getFileType(): string;
91
91
  /**
92
92
  * The method to set the value to fileType
93
- * @param fileType An instance of Choice<string>
93
+ * @param fileType A String representing the fileType
94
94
  */
95
- setFileType(fileType: Choice<string>): void;
95
+ setFileType(fileType: string): void;
96
96
  /**
97
97
  * The method to check if the user has modified the given key
98
98
  * @param key A String representing the key
@@ -112,14 +112,14 @@ class JobDetail {
112
112
  }
113
113
  /**
114
114
  * The method to get the fileType
115
- * @returns An instance of Choice<string>
115
+ * @returns A String representing the fileType
116
116
  */
117
117
  getFileType() {
118
118
  return this.fileType;
119
119
  }
120
120
  /**
121
121
  * The method to set the value to fileType
122
- * @param fileType An instance of Choice<string>
122
+ * @param fileType A String representing the fileType
123
123
  */
124
124
  setFileType(fileType) {
125
125
  this.fileType = fileType;
@@ -1,6 +1,5 @@
1
1
  import { Criteria } from "./criteria";
2
2
  import { MinifiedModule } from "../modules/minified_module";
3
- import { Choice } from "../../../../../../utils/util/choice";
4
3
  import { Model } from "../../../../../../utils/util/model";
5
4
  declare class Query implements Model {
6
5
  private module;
@@ -63,14 +62,14 @@ declare class Query implements Model {
63
62
  setCriteria(criteria: Criteria): void;
64
63
  /**
65
64
  * The method to get the fileType
66
- * @returns An instance of Choice<string>
65
+ * @returns A String representing the fileType
67
66
  */
68
- getFileType(): Choice<string>;
67
+ getFileType(): string;
69
68
  /**
70
69
  * The method to set the value to fileType
71
- * @param fileType An instance of Choice<string>
70
+ * @param fileType A String representing the fileType
72
71
  */
73
- setFileType(fileType: Choice<string>): void;
72
+ setFileType(fileType: string): void;
74
73
  /**
75
74
  * The method to get the pageToken
76
75
  * @returns A String representing the pageToken
@@ -82,14 +82,14 @@ class Query {
82
82
  }
83
83
  /**
84
84
  * The method to get the fileType
85
- * @returns An instance of Choice<string>
85
+ * @returns A String representing the fileType
86
86
  */
87
87
  getFileType() {
88
88
  return this.fileType;
89
89
  }
90
90
  /**
91
91
  * The method to set the value to fileType
92
- * @param fileType An instance of Choice<string>
92
+ * @param fileType A String representing the fileType
93
93
  */
94
94
  setFileType(fileType) {
95
95
  this.fileType = fileType;
@@ -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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
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];