merchi_sdk_ts 1.12.0-test → 1.13.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 (172) hide show
  1. package/coverage/clover.xml +4949 -144
  2. package/coverage/coverage-final.json +136 -2
  3. package/coverage/lcov-report/index.html +87 -27
  4. package/coverage/lcov-report/src/constants/auto_assign_production_on_actions.ts.html +1 -1
  5. package/coverage/lcov-report/src/constants/call_to_actions.ts.html +1 -1
  6. package/coverage/lcov-report/src/constants/discount_types.ts.html +1 -1
  7. package/coverage/lcov-report/src/constants/domain_types.ts.html +1 -1
  8. package/coverage/lcov-report/src/constants/errors.ts.html +1 -1
  9. package/coverage/lcov-report/src/constants/event_types.ts.html +1 -1
  10. package/coverage/lcov-report/src/constants/field_types.ts.html +1 -1
  11. package/coverage/lcov-report/src/constants/index.html +1 -1
  12. package/coverage/lcov-report/src/constants/index.ts.html +1 -1
  13. package/coverage/lcov-report/src/constants/input_types.ts.html +1 -1
  14. package/coverage/lcov-report/src/constants/inventory_statuses.ts.html +1 -1
  15. package/coverage/lcov-report/src/constants/invoice_types.ts.html +1 -1
  16. package/coverage/lcov-report/src/constants/item_types.ts.html +1 -1
  17. package/coverage/lcov-report/src/constants/job/drafting_status.ts.html +1 -1
  18. package/coverage/lcov-report/src/constants/job/index.html +1 -1
  19. package/coverage/lcov-report/src/constants/job/payment_status.ts.html +1 -1
  20. package/coverage/lcov-report/src/constants/job/production_status.ts.html +1 -1
  21. package/coverage/lcov-report/src/constants/job/shipment_status.ts.html +1 -1
  22. package/coverage/lcov-report/src/constants/job/supply_chain_request_status.ts.html +1 -1
  23. package/coverage/lcov-report/src/constants/job_priorities.ts.html +1 -1
  24. package/coverage/lcov-report/src/constants/job_status.ts.html +1 -1
  25. package/coverage/lcov-report/src/constants/job_types.ts.html +1 -1
  26. package/coverage/lcov-report/src/constants/notification_sections.ts.html +1 -1
  27. package/coverage/lcov-report/src/constants/notification_types.ts.html +1 -1
  28. package/coverage/lcov-report/src/constants/notification_urgencies.ts.html +1 -1
  29. package/coverage/lcov-report/src/constants/payment_types.ts.html +1 -1
  30. package/coverage/lcov-report/src/constants/platform.ts.html +1 -1
  31. package/coverage/lcov-report/src/constants/product_types.ts.html +1 -1
  32. package/coverage/lcov-report/src/constants/rights.ts.html +1 -1
  33. package/coverage/lcov-report/src/constants/robots_meta_directives.ts.html +1 -1
  34. package/coverage/lcov-report/src/constants/roles.ts.html +1 -1
  35. package/coverage/lcov-report/src/constants/shipment_companies.ts.html +1 -1
  36. package/coverage/lcov-report/src/constants/shipment_services.ts.html +1 -1
  37. package/coverage/lcov-report/src/constants/system_roles.ts.html +1 -1
  38. package/coverage/lcov-report/src/constants/theme_foundations.ts.html +1 -1
  39. package/coverage/lcov-report/src/constants/theme_status.ts.html +1 -1
  40. package/coverage/lcov-report/src/constants/user_types.ts.html +1 -1
  41. package/coverage/lcov-report/src/constants/white_label_accessibilities.ts.html +1 -1
  42. package/coverage/lcov-report/src/cookie.ts.html +1 -1
  43. package/coverage/lcov-report/src/entities/address.ts.html +1 -1
  44. package/coverage/lcov-report/src/entities/agent_conversation.ts.html +1 -1
  45. package/coverage/lcov-report/src/entities/agent_skill.ts.html +1 -1
  46. package/coverage/lcov-report/src/entities/agent_skill_approval.ts.html +1 -1
  47. package/coverage/lcov-report/src/entities/agent_skill_version.ts.html +1 -1
  48. package/coverage/lcov-report/src/entities/assignment.ts.html +1 -1
  49. package/coverage/lcov-report/src/entities/automatic_payment_relationship.ts.html +1 -1
  50. package/coverage/lcov-report/src/entities/bank.ts.html +1 -1
  51. package/coverage/lcov-report/src/entities/cart.ts.html +1 -1
  52. package/coverage/lcov-report/src/entities/cart_item.ts.html +1 -1
  53. package/coverage/lcov-report/src/entities/cart_shipment_group.ts.html +1 -1
  54. package/coverage/lcov-report/src/entities/cart_shipment_quote.ts.html +1 -1
  55. package/coverage/lcov-report/src/entities/category.ts.html +1 -1
  56. package/coverage/lcov-report/src/entities/company.ts.html +1 -1
  57. package/coverage/lcov-report/src/entities/company_invitation.ts.html +1 -1
  58. package/coverage/lcov-report/src/entities/component.ts.html +1 -1
  59. package/coverage/lcov-report/src/entities/component_tag.ts.html +1 -1
  60. package/coverage/lcov-report/src/entities/component_version.ts.html +1 -1
  61. package/coverage/lcov-report/src/entities/country_tax.ts.html +1 -1
  62. package/coverage/lcov-report/src/entities/discount.ts.html +1 -1
  63. package/coverage/lcov-report/src/entities/discount_group.ts.html +1 -1
  64. package/coverage/lcov-report/src/entities/domain.ts.html +1 -1
  65. package/coverage/lcov-report/src/entities/domain_chat_settings.ts.html +1 -1
  66. package/coverage/lcov-report/src/entities/domain_invitation.ts.html +1 -1
  67. package/coverage/lcov-report/src/entities/domain_tag.ts.html +1 -1
  68. package/coverage/lcov-report/src/entities/draft.ts.html +1 -1
  69. package/coverage/lcov-report/src/entities/draft_comment.ts.html +1 -1
  70. package/coverage/lcov-report/src/entities/draft_preview.ts.html +1 -1
  71. package/coverage/lcov-report/src/entities/draft_preview_layer.ts.html +1 -1
  72. package/coverage/lcov-report/src/entities/draft_template.ts.html +1 -1
  73. package/coverage/lcov-report/src/entities/email_address.ts.html +1 -1
  74. package/coverage/lcov-report/src/entities/email_counter.ts.html +1 -1
  75. package/coverage/lcov-report/src/entities/enrolled_domain.ts.html +1 -1
  76. package/coverage/lcov-report/src/entities/exchange_rate.ts.html +1 -1
  77. package/coverage/lcov-report/src/entities/file.ts.html +1 -1
  78. package/coverage/lcov-report/src/entities/index.html +1 -1
  79. package/coverage/lcov-report/src/entities/internal_tag.ts.html +1 -1
  80. package/coverage/lcov-report/src/entities/inventory.ts.html +1 -1
  81. package/coverage/lcov-report/src/entities/inventory_group.ts.html +1 -1
  82. package/coverage/lcov-report/src/entities/inventory_unit_variation.ts.html +1 -1
  83. package/coverage/lcov-report/src/entities/invoice.ts.html +1 -1
  84. package/coverage/lcov-report/src/entities/item.ts.html +1 -1
  85. package/coverage/lcov-report/src/entities/job.ts.html +1 -1
  86. package/coverage/lcov-report/src/entities/job_comment.ts.html +1 -1
  87. package/coverage/lcov-report/src/entities/job_note.ts.html +1 -1
  88. package/coverage/lcov-report/src/entities/job_operation_log.ts.html +1 -1
  89. package/coverage/lcov-report/src/entities/matching_inventory.ts.html +1 -1
  90. package/coverage/lcov-report/src/entities/menu.ts.html +1 -1
  91. package/coverage/lcov-report/src/entities/menu_item.ts.html +1 -1
  92. package/coverage/lcov-report/src/entities/notification.ts.html +1 -1
  93. package/coverage/lcov-report/src/entities/page.ts.html +1 -1
  94. package/coverage/lcov-report/src/entities/payment.ts.html +1 -1
  95. package/coverage/lcov-report/src/entities/payment_device.ts.html +1 -1
  96. package/coverage/lcov-report/src/entities/phone_number.ts.html +1 -1
  97. package/coverage/lcov-report/src/entities/product.ts.html +1 -1
  98. package/coverage/lcov-report/src/entities/product_review.ts.html +1 -1
  99. package/coverage/lcov-report/src/entities/production_comment.ts.html +1 -1
  100. package/coverage/lcov-report/src/entities/quote.ts.html +1 -1
  101. package/coverage/lcov-report/src/entities/quote_item.ts.html +1 -1
  102. package/coverage/lcov-report/src/entities/reminder.ts.html +1 -1
  103. package/coverage/lcov-report/src/entities/seo_domain_page.ts.html +1 -1
  104. package/coverage/lcov-report/src/entities/session.ts.html +1 -1
  105. package/coverage/lcov-report/src/entities/shipment.ts.html +1 -1
  106. package/coverage/lcov-report/src/entities/shipment_item.ts.html +1 -1
  107. package/coverage/lcov-report/src/entities/shipment_item_fulfillment.ts.html +1 -1
  108. package/coverage/lcov-report/src/entities/shipment_log.ts.html +1 -1
  109. package/coverage/lcov-report/src/entities/shipment_method.ts.html +1 -1
  110. package/coverage/lcov-report/src/entities/shipment_method_variation.ts.html +1 -1
  111. package/coverage/lcov-report/src/entities/short_url.ts.html +1 -1
  112. package/coverage/lcov-report/src/entities/subscription_plan.ts.html +1 -1
  113. package/coverage/lcov-report/src/entities/supply_domain.ts.html +1 -1
  114. package/coverage/lcov-report/src/entities/support_conversation.ts.html +1 -1
  115. package/coverage/lcov-report/src/entities/support_message.ts.html +1 -1
  116. package/coverage/lcov-report/src/entities/system_role.ts.html +1 -1
  117. package/coverage/lcov-report/src/entities/theme.ts.html +1 -1
  118. package/coverage/lcov-report/src/entities/theme_css_setting.ts.html +1 -1
  119. package/coverage/lcov-report/src/entities/user.ts.html +1 -1
  120. package/coverage/lcov-report/src/entities/user_company.ts.html +1 -1
  121. package/coverage/lcov-report/src/entities/variation.ts.html +1 -1
  122. package/coverage/lcov-report/src/entities/variation_field.ts.html +1 -1
  123. package/coverage/lcov-report/src/entities/variation_fields_option.ts.html +1 -1
  124. package/coverage/lcov-report/src/entities/variation_option.ts.html +1 -1
  125. package/coverage/lcov-report/src/entities/variations_group.ts.html +1 -1
  126. package/coverage/lcov-report/src/entity.ts.html +1 -1
  127. package/coverage/lcov-report/src/index.html +1 -1
  128. package/coverage/lcov-report/src/index.ts.html +1 -1
  129. package/coverage/lcov-report/src/merchi.ts.html +1 -1
  130. package/coverage/lcov-report/src/pricing/discount.ts.html +9 -9
  131. package/coverage/lcov-report/src/pricing/estimate.ts.html +161 -92
  132. package/coverage/lcov-report/src/pricing/index.html +30 -15
  133. package/coverage/lcov-report/src/pricing/index.ts.html +10 -7
  134. package/coverage/lcov-report/src/pricing/inventory.ts.html +352 -0
  135. package/coverage/lcov-report/src/pricing/round.ts.html +11 -11
  136. package/coverage/lcov-report/src/pricing/visibility.ts.html +173 -47
  137. package/coverage/lcov-report/src/request.ts.html +1 -1
  138. package/coverage/lcov-report/src/test_util.ts.html +1 -1
  139. package/coverage/lcov-report/src/toasts.ts.html +1 -1
  140. package/coverage/lcov-report/src/util/float.ts.html +1 -1
  141. package/coverage/lcov-report/src/util/index.html +1 -1
  142. package/coverage/lcov-report/src/util/index.ts.html +1 -1
  143. package/coverage/lcov-report/src/util/query_string.ts.html +1 -1
  144. package/coverage/lcov-report/src/util/validation.ts.html +1 -1
  145. package/coverage/lcov-report/src/uuid.ts.html +1 -1
  146. package/coverage/lcov.info +7391 -216
  147. package/dist/entities/product.js +4 -0
  148. package/dist/pricing/estimate.js +20 -3
  149. package/dist/pricing/estimate.test.js +42 -0
  150. package/dist/pricing/golden.test.js +4 -1
  151. package/dist/pricing/index.js +2 -1
  152. package/dist/pricing/inventory.js +238 -0
  153. package/dist/pricing/inventory.test.js +188 -0
  154. package/dist/pricing/visibility.js +60 -14
  155. package/dist/pricing/visibility.test.js +67 -1
  156. package/package.json +1 -1
  157. package/src/entities/product.ts +3 -0
  158. package/src/pricing/__fixtures__/conditional_field_hidden.json +112 -0
  159. package/src/pricing/__fixtures__/conditional_field_visible.json +113 -0
  160. package/src/pricing/__fixtures__/group_product.json +130 -0
  161. package/src/pricing/__fixtures__/non_selectable_number_field.json +108 -0
  162. package/src/pricing/__fixtures__/quantity_break_discount.json +104 -0
  163. package/src/pricing/__fixtures__/simple_selectable_field.json +110 -0
  164. package/src/pricing/estimate.test.ts +44 -0
  165. package/src/pricing/estimate.ts +20 -3
  166. package/src/pricing/golden.test.ts +4 -1
  167. package/src/pricing/index.ts +2 -1
  168. package/src/pricing/inventory.test.ts +197 -0
  169. package/src/pricing/inventory.ts +89 -0
  170. package/src/pricing/types.ts +16 -0
  171. package/src/pricing/visibility.test.ts +69 -1
  172. package/src/pricing/visibility.ts +38 -4

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.