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.
- package/coverage/clover.xml +4949 -144
- package/coverage/coverage-final.json +136 -2
- package/coverage/lcov-report/index.html +87 -27
- package/coverage/lcov-report/src/constants/auto_assign_production_on_actions.ts.html +1 -1
- package/coverage/lcov-report/src/constants/call_to_actions.ts.html +1 -1
- package/coverage/lcov-report/src/constants/discount_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/domain_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/errors.ts.html +1 -1
- package/coverage/lcov-report/src/constants/event_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/field_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/input_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/inventory_statuses.ts.html +1 -1
- package/coverage/lcov-report/src/constants/invoice_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/item_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job/drafting_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job/index.html +1 -1
- package/coverage/lcov-report/src/constants/job/payment_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job/production_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job/shipment_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job/supply_chain_request_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job_priorities.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/job_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/notification_sections.ts.html +1 -1
- package/coverage/lcov-report/src/constants/notification_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/notification_urgencies.ts.html +1 -1
- package/coverage/lcov-report/src/constants/payment_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/platform.ts.html +1 -1
- package/coverage/lcov-report/src/constants/product_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/rights.ts.html +1 -1
- package/coverage/lcov-report/src/constants/robots_meta_directives.ts.html +1 -1
- package/coverage/lcov-report/src/constants/roles.ts.html +1 -1
- package/coverage/lcov-report/src/constants/shipment_companies.ts.html +1 -1
- package/coverage/lcov-report/src/constants/shipment_services.ts.html +1 -1
- package/coverage/lcov-report/src/constants/system_roles.ts.html +1 -1
- package/coverage/lcov-report/src/constants/theme_foundations.ts.html +1 -1
- package/coverage/lcov-report/src/constants/theme_status.ts.html +1 -1
- package/coverage/lcov-report/src/constants/user_types.ts.html +1 -1
- package/coverage/lcov-report/src/constants/white_label_accessibilities.ts.html +1 -1
- package/coverage/lcov-report/src/cookie.ts.html +1 -1
- package/coverage/lcov-report/src/entities/address.ts.html +1 -1
- package/coverage/lcov-report/src/entities/agent_conversation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/agent_skill.ts.html +1 -1
- package/coverage/lcov-report/src/entities/agent_skill_approval.ts.html +1 -1
- package/coverage/lcov-report/src/entities/agent_skill_version.ts.html +1 -1
- package/coverage/lcov-report/src/entities/assignment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/automatic_payment_relationship.ts.html +1 -1
- package/coverage/lcov-report/src/entities/bank.ts.html +1 -1
- package/coverage/lcov-report/src/entities/cart.ts.html +1 -1
- package/coverage/lcov-report/src/entities/cart_item.ts.html +1 -1
- package/coverage/lcov-report/src/entities/cart_shipment_group.ts.html +1 -1
- package/coverage/lcov-report/src/entities/cart_shipment_quote.ts.html +1 -1
- package/coverage/lcov-report/src/entities/category.ts.html +1 -1
- package/coverage/lcov-report/src/entities/company.ts.html +1 -1
- package/coverage/lcov-report/src/entities/company_invitation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/component.ts.html +1 -1
- package/coverage/lcov-report/src/entities/component_tag.ts.html +1 -1
- package/coverage/lcov-report/src/entities/component_version.ts.html +1 -1
- package/coverage/lcov-report/src/entities/country_tax.ts.html +1 -1
- package/coverage/lcov-report/src/entities/discount.ts.html +1 -1
- package/coverage/lcov-report/src/entities/discount_group.ts.html +1 -1
- package/coverage/lcov-report/src/entities/domain.ts.html +1 -1
- package/coverage/lcov-report/src/entities/domain_chat_settings.ts.html +1 -1
- package/coverage/lcov-report/src/entities/domain_invitation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/domain_tag.ts.html +1 -1
- package/coverage/lcov-report/src/entities/draft.ts.html +1 -1
- package/coverage/lcov-report/src/entities/draft_comment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/draft_preview.ts.html +1 -1
- package/coverage/lcov-report/src/entities/draft_preview_layer.ts.html +1 -1
- package/coverage/lcov-report/src/entities/draft_template.ts.html +1 -1
- package/coverage/lcov-report/src/entities/email_address.ts.html +1 -1
- package/coverage/lcov-report/src/entities/email_counter.ts.html +1 -1
- package/coverage/lcov-report/src/entities/enrolled_domain.ts.html +1 -1
- package/coverage/lcov-report/src/entities/exchange_rate.ts.html +1 -1
- package/coverage/lcov-report/src/entities/file.ts.html +1 -1
- package/coverage/lcov-report/src/entities/index.html +1 -1
- package/coverage/lcov-report/src/entities/internal_tag.ts.html +1 -1
- package/coverage/lcov-report/src/entities/inventory.ts.html +1 -1
- package/coverage/lcov-report/src/entities/inventory_group.ts.html +1 -1
- package/coverage/lcov-report/src/entities/inventory_unit_variation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/invoice.ts.html +1 -1
- package/coverage/lcov-report/src/entities/item.ts.html +1 -1
- package/coverage/lcov-report/src/entities/job.ts.html +1 -1
- package/coverage/lcov-report/src/entities/job_comment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/job_note.ts.html +1 -1
- package/coverage/lcov-report/src/entities/job_operation_log.ts.html +1 -1
- package/coverage/lcov-report/src/entities/matching_inventory.ts.html +1 -1
- package/coverage/lcov-report/src/entities/menu.ts.html +1 -1
- package/coverage/lcov-report/src/entities/menu_item.ts.html +1 -1
- package/coverage/lcov-report/src/entities/notification.ts.html +1 -1
- package/coverage/lcov-report/src/entities/page.ts.html +1 -1
- package/coverage/lcov-report/src/entities/payment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/payment_device.ts.html +1 -1
- package/coverage/lcov-report/src/entities/phone_number.ts.html +1 -1
- package/coverage/lcov-report/src/entities/product.ts.html +1 -1
- package/coverage/lcov-report/src/entities/product_review.ts.html +1 -1
- package/coverage/lcov-report/src/entities/production_comment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/quote.ts.html +1 -1
- package/coverage/lcov-report/src/entities/quote_item.ts.html +1 -1
- package/coverage/lcov-report/src/entities/reminder.ts.html +1 -1
- package/coverage/lcov-report/src/entities/seo_domain_page.ts.html +1 -1
- package/coverage/lcov-report/src/entities/session.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment_item.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment_item_fulfillment.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment_log.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment_method.ts.html +1 -1
- package/coverage/lcov-report/src/entities/shipment_method_variation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/short_url.ts.html +1 -1
- package/coverage/lcov-report/src/entities/subscription_plan.ts.html +1 -1
- package/coverage/lcov-report/src/entities/supply_domain.ts.html +1 -1
- package/coverage/lcov-report/src/entities/support_conversation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/support_message.ts.html +1 -1
- package/coverage/lcov-report/src/entities/system_role.ts.html +1 -1
- package/coverage/lcov-report/src/entities/theme.ts.html +1 -1
- package/coverage/lcov-report/src/entities/theme_css_setting.ts.html +1 -1
- package/coverage/lcov-report/src/entities/user.ts.html +1 -1
- package/coverage/lcov-report/src/entities/user_company.ts.html +1 -1
- package/coverage/lcov-report/src/entities/variation.ts.html +1 -1
- package/coverage/lcov-report/src/entities/variation_field.ts.html +1 -1
- package/coverage/lcov-report/src/entities/variation_fields_option.ts.html +1 -1
- package/coverage/lcov-report/src/entities/variation_option.ts.html +1 -1
- package/coverage/lcov-report/src/entities/variations_group.ts.html +1 -1
- package/coverage/lcov-report/src/entity.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/merchi.ts.html +1 -1
- package/coverage/lcov-report/src/pricing/discount.ts.html +9 -9
- package/coverage/lcov-report/src/pricing/estimate.ts.html +161 -92
- package/coverage/lcov-report/src/pricing/index.html +30 -15
- package/coverage/lcov-report/src/pricing/index.ts.html +10 -7
- package/coverage/lcov-report/src/pricing/inventory.ts.html +352 -0
- package/coverage/lcov-report/src/pricing/round.ts.html +11 -11
- package/coverage/lcov-report/src/pricing/visibility.ts.html +173 -47
- package/coverage/lcov-report/src/request.ts.html +1 -1
- package/coverage/lcov-report/src/test_util.ts.html +1 -1
- package/coverage/lcov-report/src/toasts.ts.html +1 -1
- package/coverage/lcov-report/src/util/float.ts.html +1 -1
- package/coverage/lcov-report/src/util/index.html +1 -1
- package/coverage/lcov-report/src/util/index.ts.html +1 -1
- package/coverage/lcov-report/src/util/query_string.ts.html +1 -1
- package/coverage/lcov-report/src/util/validation.ts.html +1 -1
- package/coverage/lcov-report/src/uuid.ts.html +1 -1
- package/coverage/lcov.info +7391 -216
- package/dist/entities/product.js +4 -0
- package/dist/pricing/estimate.js +20 -3
- package/dist/pricing/estimate.test.js +42 -0
- package/dist/pricing/golden.test.js +4 -1
- package/dist/pricing/index.js +2 -1
- package/dist/pricing/inventory.js +238 -0
- package/dist/pricing/inventory.test.js +188 -0
- package/dist/pricing/visibility.js +60 -14
- package/dist/pricing/visibility.test.js +67 -1
- package/package.json +1 -1
- package/src/entities/product.ts +3 -0
- package/src/pricing/__fixtures__/conditional_field_hidden.json +112 -0
- package/src/pricing/__fixtures__/conditional_field_visible.json +113 -0
- package/src/pricing/__fixtures__/group_product.json +130 -0
- package/src/pricing/__fixtures__/non_selectable_number_field.json +108 -0
- package/src/pricing/__fixtures__/quantity_break_discount.json +104 -0
- package/src/pricing/__fixtures__/simple_selectable_field.json +110 -0
- package/src/pricing/estimate.test.ts +44 -0
- package/src/pricing/estimate.ts +20 -3
- package/src/pricing/golden.test.ts +4 -1
- package/src/pricing/index.ts +2 -1
- package/src/pricing/inventory.test.ts +197 -0
- package/src/pricing/inventory.ts +89 -0
- package/src/pricing/types.ts +16 -0
- package/src/pricing/visibility.test.ts +69 -1
- 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.