@wix/bex-utils 2.3.0 → 2.5.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 (255) hide show
  1. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/builders.impl.d.ts +53 -0
  2. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/builders.impl.js +650 -0
  3. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/builders.impl.js.map +1 -0
  4. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/http.impl.d.ts +8 -0
  5. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/http.impl.js +195 -0
  6. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/http.impl.js.map +1 -0
  7. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/meta.impl.d.ts +19 -0
  8. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/meta.impl.js +100 -0
  9. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/meta.impl.js.map +1 -0
  10. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/client/proto-generated.d.ts +25136 -0
  11. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/client/proto-generated.js +2 -0
  12. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/proto-generated.d.ts +12567 -0
  13. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/proto-generated.js +210768 -0
  14. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/server/proto-generated.d.ts +25130 -0
  15. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/proto/server/proto-generated.js +2 -0
  16. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/rpc.impl.d.ts +19 -0
  17. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/rpc.impl.js +105 -0
  18. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/rpc.impl.js.map +1 -0
  19. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/types.impl.d.ts +455 -0
  20. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/types.impl.js +64 -0
  21. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/cjs/types.impl.js.map +1 -0
  22. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/builders.impl.d.ts +53 -0
  23. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/builders.impl.js +582 -0
  24. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/builders.impl.js.map +1 -0
  25. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/http.impl.d.ts +8 -0
  26. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/http.impl.js +188 -0
  27. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/http.impl.js.map +1 -0
  28. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/meta.impl.d.ts +19 -0
  29. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/meta.impl.js +74 -0
  30. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/meta.impl.js.map +1 -0
  31. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/rpc.impl.d.ts +19 -0
  32. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/rpc.impl.js +77 -0
  33. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/rpc.impl.js.map +1 -0
  34. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/types.impl.d.ts +455 -0
  35. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/types.impl.js +61 -0
  36. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/build/es/types.impl.js.map +1 -0
  37. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/builders/package.json +7 -0
  38. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/http/package.json +7 -0
  39. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/meta/package.json +7 -0
  40. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/package.json +52 -0
  41. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/rpc/package.json +6 -0
  42. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/assets_messages.proto +24 -0
  43. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/com/wixpress/appservice/api/components_catalog_type.proto +137 -0
  44. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/com/wixpress/devcenter/appmarketlisting/market_listing.proto +105 -0
  45. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/com/wixpress/devcenter/appmarketlisting/market_listing_service.proto +124 -0
  46. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/companies_messages.proto +84 -0
  47. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_common.proto +217 -0
  48. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ai_assistant/com/wixpress/appservice/api/upstream/wix/genie/assistant/spi/v1/assistant_spi_service.proto +12 -0
  49. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/alert_enricher/com/wixpress/appservice/api/upstream/spi/com/wixpress/vi/enricher/spi/enrichment_spi.proto +10 -0
  50. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/app_config.proto +20 -0
  51. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/application_automation/com/wixpress/appservice/api/upstream/com/wixpress/automations/service/application_automation_component.proto +195 -0
  52. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/automation_trigger.proto +101 -0
  53. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/automations_action_provider/com/wixpress/appservice/api/upstream/com/wixpress/esb/spi/action/v1/action_spi_provider.proto +178 -0
  54. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/automations_trigger_provider/com/wixpress/appservice/api/upstream/com/wixpress/esb/spi/trigger/v1/trigger_spi_provider.proto +77 -0
  55. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/automations_velo_action_provider/com/wixpress/appservice/api/upstream/com/wixpress/automations/velo_spi/v1/velo_spi.proto +12 -0
  56. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/availability_time_slots_configuration_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/availability/spi/v2/availability_time_slots_configuration_provider.proto +17 -0
  57. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_extension.proto +99 -0
  58. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_extension_container.proto +30 -0
  59. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_extension_menu_item.proto +67 -0
  60. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_extension_widget.proto +47 -0
  61. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_modal.proto +32 -0
  62. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_page.proto +42 -0
  63. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_sidebar_category.proto +20 -0
  64. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/back_office_widget.proto +32 -0
  65. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/benefit_programs_policy_provider/com/wixpress/appservice/api/upstream/wix/benefit_programs/spi/v1/policy_provider_spi.proto +16 -0
  66. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/billing_tax_id_validator/com/wixpress/appservice/api/upstream/wix/billing/tax/validation/spi/v1/tax_id_validator.proto +20 -0
  67. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/booking_policy_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/availability/spi/v2/booking_policy_provider.proto +17 -0
  68. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/bookings_external_calendar_provider/com/wixpress/appservice/api/upstream/com/wix/bookings/externalcalendar/spi/v1/calendar.proto +18 -0
  69. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/bookings_external_calendar_provider/com/wixpress/appservice/api/upstream/com/wix/bookings/externalcalendar/spi/v1/provider_config.proto +52 -0
  70. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/bookings_pricing_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/pricing/spi/v1/bookings_pricing_provider.proto +17 -0
  71. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/bookings_resource_types_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/resources/spi/v2/bookings_resource_types_provider.proto +22 -0
  72. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/broadcast_list.proto +28 -0
  73. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/calendar_event_type_provider/com/wixpress/appservice/api/upstream/wix/calendar/events/spi/v3/event_type_provider_config.proto +19 -0
  74. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/code_package.proto +22 -0
  75. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/comments_context_provider/com/wixpress/appservice/api/upstream/wix/comments/context/v1/spi/comments_context_provider.proto +33 -0
  76. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/comments_filter_provider/com/wixpress/appservice/api/upstream/wix/comments/ng/v1/spi/comment_filter_provider.proto +22 -0
  77. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/comments_moderation_provider/com/wixpress/appservice/api/upstream/wix/comments/ng/v1/spi/comment_moderation_provider.proto +21 -0
  78. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/accepted_message_types.proto +21 -0
  79. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/channel_branding.proto +34 -0
  80. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/channel_configuration.proto +41 -0
  81. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/conversation_limitations.proto +20 -0
  82. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/dm/direct_message_config.proto +21 -0
  83. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/email/email_message_config.proto +16 -0
  84. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/media_capabilities.proto +38 -0
  85. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/sms/sms_message_config.proto +20 -0
  86. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/spi/v1/communication_channels_spi.proto +13 -0
  87. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/component_reference_data_provider/com/wixpress/appservice/api/upstream/src/main/proto/wix/devcenter/apps/components/reference/data/component_reference_data_config.proto +17 -0
  88. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/components_translations_additional_fields_provider/com/wixpress/appservice/api/upstream/wix/devcenter/components/translation/v1/spi/component_additional_fields_translation_config.proto +12 -0
  89. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/components_validator_provider/com/wixpress/appservice/api/upstream/src/main/proto/wix/devcenter/apps/components/validator/components_validator_config.proto +19 -0
  90. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/contact_labels.proto +35 -0
  91. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/contact_notification.proto +86 -0
  92. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/cross_sell/com/wixpress/appservice/api/upstream/com/wixpress/buildup/spi/cross_sell_orders_spi.proto +12 -0
  93. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/custom_element_widget.proto +46 -0
  94. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/custom_scope/com/wixpress/appservice/api/upstream/com/wixpress/ecom/scopes/custom_scope_spi.proto +14 -0
  95. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/custom_table_reservations_provider/com/wixpress/appservice/api/upstream/wix/table_reservations/spi/custom_reservations_approval/v1/custom_reservations_approval.proto +21 -0
  96. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dashboard.proto +24 -0
  97. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dashboard_application.proto +101 -0
  98. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dashboard_platform.proto +11 -0
  99. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/data.proto +15 -0
  100. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/data_extensions.proto +16 -0
  101. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dc_config.proto +9 -0
  102. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dealer_external_filter_provider/com/wixpress/appservice/api/upstream/wix/dealerExternalServiceProviders/api/v1/dealer-external-filter-service.proto +16 -0
  103. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/deployment_pipeline_provider/com/wixpress/appservice/api/upstream/wix/editor/deployments/spi/v1/pipeline_provider.proto +18 -0
  104. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/dev_center_component_test.proto +87 -0
  105. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_additional_fees/com/wixpress/appservice/api/upstream/com/wix/ecommerce/additional_fees_spi/api/v1/additional_fees_spi_config.proto +19 -0
  106. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_catalog/com/wixpress/appservice/api/upstream/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +24 -0
  107. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_default_taxation_category/com/wixpress/appservice/api/upstream/wix/billing/spi/v1/default_tax_group_configuration.proto +33 -0
  108. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_discounts_trigger/com/wixpress/appservice/api/upstream/com/wix/ecom/custom_trigger/v1/spi/custom_triggers_provider.proto +10 -0
  109. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_dropshipping_provider/com/wixpress/appservice/api/upstream/com/wix/ecommerce/dropshipping_provider_spi/api/v1/dropshipping_provider_spi.proto +44 -0
  110. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_line_items_enricher/com/wixpress/appservice/api/upstream/com/wix/ecom/line_items_enricher_spi/api/v1/line_items_enricher_spi.proto +12 -0
  111. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_payment_settings/com/wixpress/appservice/api/upstream/com/wix/ecommerce/payment_settings_spi/v1/payment_settings_spi_config.proto +18 -0
  112. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_shipping_rates/com/wixpress/appservice/api/upstream/com/wix/ecom/shipping_rates/v1/shipping-rates-config.proto +36 -0
  113. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_tax_calculator_spi/com/wixpress/appservice/api/upstream/wix/billing/spi/v1/tax_calculator_spi.proto +25 -0
  114. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ecom_validations/com/wixpress/appservice/api/upstream/com/wix/ecommerce/validations_spi/v1/validations_spi_config.proto +19 -0
  115. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/editor_addon.proto +63 -0
  116. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/embedded_script.proto +103 -0
  117. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/external_database/com/wixpress/appservice/api/upstream/com/wixpress/cloud/external-database-spi/v1/external_database_spi.proto +23 -0
  118. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/fictional_shipping_provider/shipping_provider_spi.proto +17 -0
  119. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/form_template.proto +15 -0
  120. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_schema_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_schema_spi.proto +39 -0
  121. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_spam_submission_reports_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_spam_submission_report_permissions.proto +23 -0
  122. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_spam_submission_reports_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_spam_submission_report_spi.proto +25 -0
  123. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_spam_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_spam_submission_spi.proto +31 -0
  124. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_spam_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/spam_submission_permissions.proto +21 -0
  125. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_spi_common/com/wixpress/appservice/api/upstream/wix/forms/v4/forms_permissions.proto +20 -0
  126. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_submissions_extension_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_submission_extension_spi.proto +29 -0
  127. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/forms_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_submission_spi.proto +36 -0
  128. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/generic_hooks/com/wixpress/appservice/api/upstream/wix/framework/hooks/generic_hooks_config.proto +34 -0
  129. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/gift_cards_provider/com/wixpress/appservice/api/upstream/wix/gift/cards/provider/api/gift_cards_provider.proto +14 -0
  130. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/google_business_profile_feature_provider/com/wixpress/appservice/api/upstream/wix/promote/gbp_feature_provider_spi/v1/gbp_feature_config.proto +14 -0
  131. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/grid_apps_files_transformer/com/wixpress/appservice/api/upstream/wix/velo/ide/spi/v1/grid_app_files_transformer.proto +28 -0
  132. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/headless_oauth.proto +29 -0
  133. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/iam/com/wixpress/appservice/api/upstream/wix/iam/identity/v1/pre_register_spi.proto +11 -0
  134. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/identity_authenticator/com/wixpress/appservice/api/upstream/wix/iam/identity/authentication/authenticator/v1/authenticator_spi.proto +82 -0
  135. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/identity_idp_connector/com/wixpress/appservice/api/upstream/wix/iam/authentication/v1/idp_connector_spi.proto +18 -0
  136. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/identity_post_login/com/wixpress/appservice/api/upstream/wix/iam/authentication/v1/post_login_spi.proto +18 -0
  137. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/invoices/com/wixpress/appservice/api/upstream/wix/invoices/spi/v1/invoices_spi.proto +12 -0
  138. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/invoices_actions.proto +20 -0
  139. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/items_selection_provider/com/wixpress/appservice/api/upstream/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +194 -0
  140. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/local_delivery.proto +24 -0
  141. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/membership/com/wixpress/appservice/api/upstream/com/wix/ecom/memberships_spi/v1/memberships_spi.proto +14 -0
  142. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/multi_service_booking_policy_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/availability/spi/v2/multi_service_booking_policy_provider.proto +17 -0
  143. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/multilingual_content_provider/com/wixpress/appservice/api/upstream/com/wixpress/multilingual/sitetranslator/spi/v1/TranslationContentProvider.proto +18 -0
  144. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/multilingual_translation_schema/com/wixpress/appservice/api/upstream/wix/multilingual/translation/schema/v1/schema.proto +71 -0
  145. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/multilingual_translation_schema.proto +13 -0
  146. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/multiple_dashboards.proto +24 -0
  147. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/notification_content.proto +52 -0
  148. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/notification_preferences_filter_provider/wix/notifications/preferences/v1/NotificationPreferencesFilterConfig.proto +11 -0
  149. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/notification_topic.proto +27 -0
  150. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/notifications_common.proto +242 -0
  151. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/out_of_iframe.proto +36 -0
  152. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/page.proto +70 -0
  153. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/page_out_of_iframe.proto +36 -0
  154. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/page_replace/page_replace.proto +38 -0
  155. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/payment_provider/com/wixpress/appservice/api/upstream/wix/psp/v1/payment_service_provider_config.proto +119 -0
  156. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/payments_gateway.proto +11 -0
  157. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ping_notifications.proto +12 -0
  158. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/ping_settings_group.proto +25 -0
  159. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/platform.proto +59 -0
  160. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/plugin-interface.proto +34 -0
  161. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/portfolio_synced_projects_provider/com/wixpress/appservice/api/upstream/com/wixpress/portfolio/syncedprojects/spi/synced_projects_provider.proto +17 -0
  162. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/premium_custom_charges/com/wixpress/appservice/api/upstream/spi/wix/premium/customcharges/spi/v1/custom_charges_spi.proto +12 -0
  163. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/premium_products_paths/com/wixpress/appservice/api/upstream/spi/com/wixpress/premium/productspaths/v1/products_paths_spi.proto +12 -0
  164. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/pricing_plans_form_configuration.proto +655 -0
  165. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/proposal-editor-provider/com/wixpress/appservice/api/upstream/wix/proposals/spi/v1/proposals-editor-provider.proto +22 -0
  166. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/recommendations_provider/com/wixpress/appservice/api/upstream/com/wix/ecom/recommendations/spi/recommendations_spi.proto +42 -0
  167. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/restaurants_pos/com/wixpress/appservice/api/upstream/wix/restaurants/pos/v1/pos_provider_config.proto +48 -0
  168. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/seo_keywords_suggestions/com/wixpress/appservice/api/upstream/wix/promote/seo_keywords_suggestions_spi/v1/seo_keywords_suggestions_spi.proto +27 -0
  169. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/service_availability_policy_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/availability/spi/v2/service_availability_policy_provider.proto +17 -0
  170. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/shipping_label_carrier/com/wixpress/appservice/api/upstream/com/wix/ecom/shipping/label/carrier_spi/v1/shipping_label_carrier_spi.proto +84 -0
  171. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/slot.proto +16 -0
  172. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/sms-action-message.proto +16 -0
  173. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/snippet_solution.proto +11 -0
  174. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/social_marketing_design/com/wixpress/appservice/api/upstream/wix/promote/social_marketing_design_spi/v1/social_marketing_design_spi.proto +23 -0
  175. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/social_marketing_designs_provider/com/wixpress/appservice/api/upstream/wix/promote/social_marketing_designs_provider_spi/v1/designs_provider_config.proto +30 -0
  176. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/static_file.proto +17 -0
  177. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/studio.proto +35 -0
  178. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/studio_widget.proto +128 -0
  179. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/tax_calculation_provider/com/wixpress/appservice/api/upstream/wix/billing/tax_calculation_spi/v1/tax_calculation_config.proto +18 -0
  180. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/tax_groups_provider/com/wixpress/appservice/api/upstream/wix/billing/spi/v1/tax_groups_provider_config.proto +42 -0
  181. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/component_model.proto +13 -0
  182. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/editor_behaviors.proto +22 -0
  183. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/plugin_installation_settings.proto +11 -0
  184. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/shared.proto +27 -0
  185. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/unified_page.proto +48 -0
  186. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/unified_widget.proto +26 -0
  187. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/unified_components/widget_size.proto +46 -0
  188. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/user_notification.proto +94 -0
  189. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/viewer_dynamic_site_structure_provider/com/wixpress/appservice/api/upstream/com/wixpress/structure/spi/v1/dynamic_site_structure_provider.proto +15 -0
  190. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/web.proto +350 -0
  191. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/widget.proto +121 -0
  192. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/widget_out_of_iframe.proto +32 -0
  193. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/widget_plugin.proto +54 -0
  194. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/wix_offering.proto +21 -0
  195. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/wix_reviews/com/wixpress/appservice/api/upstream/wix/reviews/product/catalog/spi/v1/reviews_product_catalog_provider.proto +23 -0
  196. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data/worker.proto +11 -0
  197. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_data.proto +436 -0
  198. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_catalog_messages.proto +63 -0
  199. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/components_messages.proto +149 -0
  200. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/extensions_messages.proto +111 -0
  201. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/features/features_messages.proto +73 -0
  202. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/listingInfo_messages.proto +117 -0
  203. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/marketListing_messages.proto +107 -0
  204. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/permissions_messages.proto +158 -0
  205. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/plans/plans_messages.proto +108 -0
  206. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/pricing_model/pricing_model_messages.proto +104 -0
  207. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/translations_data_messages.proto +57 -0
  208. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/versions_messages.proto +341 -0
  209. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/webhooks_messages.proto +65 -0
  210. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/action_payload.proto +33 -0
  211. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/annotations.proto +356 -0
  212. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/api_errors.proto +117 -0
  213. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/callback.proto +156 -0
  214. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/context.proto +19 -0
  215. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/entity.proto +86 -0
  216. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/errors.proto +119 -0
  217. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/permissions.proto +40 -0
  218. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/sla.proto +24 -0
  219. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/subscription.proto +32 -0
  220. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/api/validations.proto +134 -0
  221. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/address.proto +140 -0
  222. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/bulk.proto +53 -0
  223. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/identification.proto +40 -0
  224. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/image.proto +8 -0
  225. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/media.proto +232 -0
  226. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/money.proto +32 -0
  227. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/pageurl.proto +32 -0
  228. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/paging.proto +116 -0
  229. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/query.proto +768 -0
  230. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/sorting.proto +36 -0
  231. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/spi.proto +66 -0
  232. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/tags.proto +55 -0
  233. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/common/wixlink.proto +201 -0
  234. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/graphql/definitions.proto +13 -0
  235. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/http/field_mask.proto +46 -0
  236. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/sdk/definitions.proto +191 -0
  237. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/spi/definitions.proto +173 -0
  238. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/src/main/proto/wix/spi/http_error_status.proto +24 -0
  239. package/@wix/ambassador-devcenter-app-market-listing-v1-market-listing/types/package.json +7 -0
  240. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  241. package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
  242. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  243. package/dist/cjs/PromiseState.js.map +1 -1
  244. package/dist/cjs/batchUpdates.js.map +1 -1
  245. package/dist/cjs/events.js.map +1 -1
  246. package/dist/cjs/exports/react-dom.js.map +1 -1
  247. package/dist/cjs/exports/react-native.js.map +1 -1
  248. package/dist/cjs/exports/react.js.map +1 -1
  249. package/dist/cjs/index.js.map +1 -1
  250. package/dist/cjs/reactive.js.map +1 -1
  251. package/dist/cjs/reactiveContext.js.map +1 -1
  252. package/dist/cjs/setReactDOMBatchUpdates.js.map +1 -1
  253. package/dist/cjs/setReactNativeBatchUpdates.js.map +1 -1
  254. package/dist/cjs/useReactive.js.map +1 -1
  255. package/package.json +4 -3
@@ -0,0 +1,768 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ import "google/protobuf/struct.proto";
6
+ import "google/protobuf/wrappers.proto";
7
+ import "wix/common/paging.proto";
8
+ import "wix/common/sorting.proto";
9
+ import "wix/api/annotations.proto";
10
+ import "wix/api/validations.proto";
11
+
12
+ option java_multiple_files = true;
13
+ option java_outer_classname = "QueryProto";
14
+ option java_package = "com.wix.common";
15
+
16
+ message Query {
17
+ option (.wix.api.decomposition_minimum_fields) = {
18
+ field: "filter"
19
+ field: "sort"
20
+ field: "paging"
21
+ };
22
+ //Filter object in the following format:
23
+ //`"filter" : {
24
+ // "fieldName1": "value1",
25
+ // "fieldName2":{"$operator":"value2"}
26
+ // }`
27
+ //Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
28
+ google.protobuf.Value filter = 1;
29
+ //Sort object in the following format:
30
+ //`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
31
+ repeated Sorting sort = 2;
32
+ //Paging options to limit and skip the number of items.
33
+ Paging paging = 3;
34
+ //Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
35
+ repeated string fields = 4;
36
+ //Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
37
+ repeated string fieldsets = 5;
38
+ }
39
+
40
+ message QueryV2 {
41
+ option (.wix.api.decomposition_minimum_fields) = {
42
+ field: "filter"
43
+ field: "sort"
44
+ field: "paging"
45
+ };
46
+ option (.wix.api.decomposition_minimum_fields) = {
47
+ field: "filter"
48
+ field: "sort"
49
+ field: "cursor_paging"
50
+ };
51
+ //Filter object in the following format:
52
+ //`"filter" : {
53
+ // "fieldName1": "value1",
54
+ // "fieldName2":{"$operator":"value2"}
55
+ // }`
56
+ //Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
57
+ google.protobuf.Struct filter = 1;
58
+ //Sort object in the following format:
59
+ //`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
60
+ repeated Sorting sort = 2;
61
+ //Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
62
+ repeated string fields = 4;
63
+ //Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
64
+ repeated string fieldsets = 5;
65
+ oneof pagingMethod {
66
+ //Paging options to limit and skip the number of items.
67
+ Paging paging = 3;
68
+ //Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
69
+ CursorPaging cursor_paging = 6;
70
+ }
71
+ }
72
+
73
+ message CursorQuery {
74
+ option (.wix.api.decomposite_of) = "wix.common.QueryV2";
75
+ //Filter object in the following format:
76
+ //`"filter" : {
77
+ // "fieldName1": "value1",
78
+ // "fieldName2":{"$operator":"value2"}
79
+ // }`
80
+ //Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
81
+ google.protobuf.Struct filter = 1;
82
+ //Sort object in the following format:
83
+ //`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
84
+ repeated Sorting sort = 2 [(.wix.api.maxSize) = 5];
85
+ reserved 3;
86
+ reserved 4;
87
+ reserved 5;
88
+ oneof pagingMethod {
89
+ //Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
90
+ CursorPaging cursor_paging = 6;
91
+ }
92
+ }
93
+
94
+ message Search {
95
+ option (.wix.api.decomposition_minimum_fields) = {
96
+ field: "filter"
97
+ field: "sort"
98
+ field: "paging"
99
+ };
100
+ option (.wix.api.decomposition_minimum_fields) = {
101
+ field: "filter"
102
+ field: "sort"
103
+ field: "cursor_paging"
104
+ };
105
+ // A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
106
+ google.protobuf.Struct filter = 1;
107
+ // Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
108
+ repeated Sorting sort = 2 [(.wix.api.maxSize) = 10];
109
+ // Projection on the result object - list of specific field names to return. If fieldsets are also specified, return the union of fieldsets and fields
110
+ repeated string fields = 3 [(.wix.api.maxLength) = 200, (.wix.api.maxSize) = 20];
111
+ // Projection on the result object - list of named projections. E.g. "basic" will return id and name fields. Specifying multiple fieldsets will return the union of fields from all. Specifying fieldsets and fields will also return the union of fields.
112
+ repeated string fieldsets = 4 [(.wix.api.maxLength) = 100, (.wix.api.maxSize) = 20];
113
+ // Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
114
+ repeated Aggregation aggregations = 5 [(.wix.api.maxSize) = 10];
115
+ // Free text to match in searchable fields
116
+ SearchDetails search = 6;
117
+ oneof paging_method {
118
+ // Pointer to page of results using offset. Can not be used together with 'cursor_paging'
119
+ Paging paging = 7;
120
+ // Cursor pointing to page of results. Can't be used together with 'paging'. 'cursor_paging.cursor' can not be used together with 'filter' or 'sort'
121
+ CursorPaging cursor_paging = 8;
122
+ }
123
+ // UTC offset or IANA time zone. Valid values are
124
+ // ISO 8601 UTC offsets, such as +02:00 or -06:00,
125
+ // and IANA time zone IDs, such as Europe/Rome
126
+ //
127
+ // Affects all filters and aggregations returned values.
128
+ // You may override this behavior in a specific filter by providing
129
+ // timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
130
+ google.protobuf.StringValue time_zone = 9 [(.wix.api.maxLength) = 50];
131
+ }
132
+
133
+ message CursorSearch {
134
+ option (.wix.api.decomposite_of) = "wix.common.Search";
135
+ // A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf)
136
+ google.protobuf.Struct filter = 1;
137
+ // Sort object in the form [{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]
138
+ repeated Sorting sort = 2 [(.wix.api.maxSize) = 10];
139
+ reserved 3;
140
+ reserved 4;
141
+ reserved 7;
142
+ // Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
143
+ repeated Aggregation aggregations = 5 [(.wix.api.maxSize) = 10];
144
+ // Free text to match in searchable fields
145
+ SearchDetails search = 6;
146
+ oneof paging_method {
147
+ // Cursor pointing to page of results.
148
+ // When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.
149
+ CursorPaging cursor_paging = 8;
150
+ }
151
+ // UTC offset or IANA time zone. Valid values are
152
+ // ISO 8601 UTC offsets, such as +02:00 or -06:00,
153
+ // and IANA time zone IDs, such as Europe/Rome
154
+ //
155
+ // Affects all filters and aggregations returned values.
156
+ // You may override this behavior in a specific filter by providing
157
+ // timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
158
+ google.protobuf.StringValue time_zone = 9 [(.wix.api.maxLength) = 50];
159
+ }
160
+
161
+ message SearchDetails {
162
+ enum Mode {
163
+ OR = 0; // Any of the search terms must be present
164
+ AND = 1; // All search terms must be present
165
+ }
166
+ Mode mode = 1; // Defines how separate search terms in `expression` are combined
167
+ google.protobuf.StringValue expression = 2 [(.wix.api.maxLength) = 100]; // Search term or expression
168
+ // Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path
169
+ repeated string fields = 3 [(.wix.api.maxLength) = 200, (.wix.api.maxSize) = 20];
170
+ bool fuzzy = 4; // Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm)
171
+ }
172
+
173
+ enum AggregationType {
174
+ UNKNOWN_AGGREGATION_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
175
+ VALUE = 1; // An aggregation where result buckets are dynamically built - one per unique value
176
+ RANGE = 2; // An aggregation, where user can define set of ranges - each representing a bucket
177
+ SCALAR = 3; // A single-value metric aggregation - e.g. min, max, sum, avg
178
+ DATE_HISTOGRAM = 4; // An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.)
179
+ NESTED = 5; // Multi-level aggregation, where each next aggregation is nested within previous one
180
+ }
181
+
182
+ enum ScalarType {
183
+ UNKNOWN_SCALAR_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
184
+ COUNT_DISTINCT = 1; // Count of distinct values
185
+ MIN = 2; // Minimum value
186
+ MAX = 3; // Maximum value
187
+ SUM = 4 [(.wix.api.enum_exposure) = PRIVATE]; // Sum of values
188
+ AVG = 5 [(.wix.api.enum_exposure) = PRIVATE]; // Average of values
189
+ }
190
+
191
+ message Aggregation {
192
+ message RangeAggregation {
193
+ message RangeBucket {
194
+ google.protobuf.DoubleValue from = 1; // Inclusive lower bound of the range. Required if to is not given
195
+ google.protobuf.DoubleValue to = 2; // Exclusive upper bound of the range. Required if from is not given
196
+ }
197
+ // List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds
198
+ repeated RangeBucket buckets = 1 [(.wix.api.maxSize) = 50];
199
+ }
200
+
201
+ message ValueAggregation {
202
+ enum SortType {
203
+ COUNT = 0; // Should sort by number of matches
204
+ VALUE = 1; // Should sort by value of the field alphabetically
205
+ }
206
+ enum SortDirection {
207
+ DESC = 0; // Should sort in descending order
208
+ ASC = 1; // Should sort in ascending order
209
+ }
210
+
211
+ enum MissingValues {
212
+ EXCLUDE = 0; // Should missing values be excluded from the aggregation results
213
+ INCLUDE = 1; // Should missing values be included in the aggregation results
214
+ }
215
+
216
+ message IncludeMissingValuesOptions {
217
+ string add_to_bucket = 1 [(.wix.api.maxLength) = 20]; // Can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ...
218
+ }
219
+
220
+ SortType sort_type = 1; // Should sort by number of matches or value of the field
221
+ SortDirection sort_direction = 2; // Should sort in ascending or descending order
222
+ google.protobuf.Int32Value limit = 3; // How many aggregations would you like to return? Can be between 1 and 250. 10 is the default.
223
+
224
+ MissingValues missing_values = 4; // Should missing values be included or excluded from the aggregation results. Default is EXCLUDE
225
+ oneof options {
226
+ option (.wix.api.aligned_with_enum).field = "missing_values";
227
+ IncludeMissingValuesOptions include_options = 5; // Options for including missing values
228
+ }
229
+ }
230
+
231
+ message ScalarAggregation {
232
+ ScalarType type = 1; // Define the operator for the scalar aggregation
233
+ }
234
+
235
+ message GroupByAggregation {
236
+ google.protobuf.StringValue name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation, should be unique, will appear in aggregation results
237
+ string field_path = 3 [(.wix.api.maxLength) = 200]; // Field to aggregate by
238
+ oneof kind {
239
+ ValueAggregation value = 4; // Value aggregation configuration
240
+ }
241
+ }
242
+
243
+ // Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one
244
+ message NestedAggregation {
245
+ reserved 1;
246
+
247
+ enum NestedAggregationType {
248
+ UNKNOWN_AGGREGATION_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
249
+ VALUE = 1; // An aggregation where result buckets are dynamically built - one per unique value
250
+ RANGE = 2; // An aggregation, where user can define set of ranges - each representing a bucket
251
+ SCALAR = 3; // A single-value metric aggregation - e.g. min, max, sum, avg
252
+ DATE_HISTOGRAM = 4; // An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.)
253
+ }
254
+
255
+ message NestedAggregationItem {
256
+ google.protobuf.StringValue name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation, should be unique, will appear in aggregation results
257
+ NestedAggregationType type = 2; // Type of aggregation, client must provide matching aggregation field below
258
+ string field_path = 3 [(.wix.api.maxLength) = 200]; // Field to aggregate by, use dont notation to specify json path
259
+ oneof kind {
260
+ ValueAggregation value = 4; // Value aggregation
261
+ RangeAggregation range = 5; // Range aggregation
262
+ ScalarAggregation scalar = 6; // Scalar aggregation
263
+ DateHistogramAggregation date_histogram = 9; // Date histogram aggregation
264
+ }
265
+ }
266
+
267
+ // Flattened list of aggregations, where each next aggregation is nested within previous one
268
+ repeated NestedAggregationItem nested_aggregations = 2 [(.wix.api.minSize) = 2, (.wix.api.maxSize) = 3];
269
+ }
270
+
271
+ message DateHistogramAggregation {
272
+ enum Interval {
273
+ UNKNOWN_INTERVAL = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
274
+ YEAR = 1; // Yearly interval
275
+ MONTH = 2; // Monthly interval
276
+ WEEK = 3; // Weekly interval
277
+ DAY = 4; // Daily interval
278
+ HOUR = 5; // Hourly interval
279
+ MINUTE = 6; // Minute interval
280
+ SECOND = 7; // Second interval
281
+ }
282
+
283
+ Interval interval = 1; // Interval for date histogram aggregation
284
+ }
285
+
286
+ google.protobuf.StringValue name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation, should be unique, will appear in aggregation results
287
+ AggregationType type = 2; // Type of aggregation, client must provide matching aggregation field below
288
+ string field_path = 3 [(.wix.api.maxLength) = 200]; // Field to aggregate by, use dot notation to specify json path
289
+ oneof kind {
290
+ ValueAggregation value = 4; // Value aggregation
291
+ RangeAggregation range = 5; // Range aggregation
292
+ ScalarAggregation scalar = 6; // Scalar aggregation
293
+ DateHistogramAggregation date_histogram = 9; // Date histogram aggregation
294
+ NestedAggregation nested = 8; // Nested aggregation
295
+ }
296
+
297
+ // deprecated, use `nested` instead
298
+ GroupByAggregation group_by = 7 [deprecated = true, (.wix.api.field_deprecated) = {replaced_by: "kind.nested", target_removal_date: "2024-03-30"}];
299
+ }
300
+
301
+ message AggregationData {
302
+ message AggregationResults {
303
+ message ValueResults {
304
+ message ValueAggregationResult {
305
+ string value = 1 [(.wix.api.maxLength) = 100]; // Value of the field
306
+ int32 count = 2; // Count of entities with this value
307
+ }
308
+ repeated ValueAggregationResult results = 1 [(.wix.api.maxSize) = 250]; // List of value aggregations
309
+ }
310
+
311
+ message RangeResults {
312
+ message RangeAggregationResult {
313
+ google.protobuf.DoubleValue from = 1; // Inclusive lower bound of the range
314
+ google.protobuf.DoubleValue to = 2; // Exclusive upper bound of the range
315
+ int32 count = 3; // Count of entities in this range
316
+ }
317
+ repeated RangeAggregationResult results = 1 [(.wix.api.maxSize) = 50]; // List of ranges returned in same order as requested
318
+ }
319
+
320
+ message ScalarResult {
321
+ ScalarType type = 1; // Type of scalar aggregation
322
+ double value = 2; // Value of the scalar aggregation
323
+ }
324
+
325
+ message GroupByValueResults {
326
+ message NestedValueAggregationResult {
327
+ string value = 1 [(.wix.api.maxLength) = 1000]; // Value of the field
328
+ NestedAggregationResults nested_results = 2; // Nested aggregations
329
+
330
+ }
331
+ repeated NestedValueAggregationResult results = 1 [(.wix.api.maxSize) = 1000]; // List of value aggregations
332
+ }
333
+
334
+ message NestedAggregationResults {
335
+ string name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation, matches the one provided in request
336
+ AggregationType type = 2; // Type of aggregation that matches result
337
+ string field_path = 6 [(.wix.api.maxLength) = 200]; // Field to aggregate by, matches the one provided in request
338
+ oneof result {
339
+ ValueResults values = 3; // Value aggregation results
340
+ RangeResults ranges = 4; // Range aggregation results
341
+ ScalarResult scalar = 5; // Scalar aggregation results
342
+ }
343
+ }
344
+
345
+ // Results of `NESTED` aggregation type in a flattened form
346
+ // aggregations in resulting array are keyed by requested aggregation `name`.
347
+ message NestedResults {
348
+ message ValueResult {
349
+ string value = 1 [(.wix.api.maxLength) = 1000]; // Value of the field
350
+ google.protobuf.Int32Value count = 2; // Count of entities with this value
351
+ }
352
+ message RangeResult {
353
+ google.protobuf.DoubleValue from = 1; // Inclusive lower bound of the range
354
+ google.protobuf.DoubleValue to = 2; // Exclusive upper bound of the range
355
+ google.protobuf.Int32Value count = 3; // Count of entities in this range
356
+ }
357
+
358
+ message ScalarResult {
359
+ double value = 1; // Value of the scalar aggregation
360
+ }
361
+
362
+ message NestedResultValue {
363
+ oneof result {
364
+ ValueResult value = 1; // Value aggregation result
365
+ RangeResult range = 2; // Range aggregation result
366
+ ScalarResult scalar = 3; // Scalar aggregation result
367
+ ValueResult date_histogram = 4; // Date histogram aggregation result
368
+ }
369
+ }
370
+
371
+ message Results {
372
+ map<string, NestedResultValue> results = 1; // List of nested aggregations
373
+ }
374
+
375
+ repeated Results results = 1 [(.wix.api.maxSize) = 1000]; // List of nested aggregations
376
+ }
377
+
378
+ message DateHistogramResults {
379
+ message DateHistogramResult {
380
+ string value = 1 [(.wix.api.maxLength) = 100]; // Date in ISO 8601 format
381
+ int32 count = 2; // Count of documents in the bucket
382
+ }
383
+ repeated DateHistogramResult results = 1 [(.wix.api.maxSize) = 200]; // List of date histogram aggregations
384
+ }
385
+
386
+ string name = 1 [(.wix.api.maxLength) = 100]; // User-defined name of aggregation as derived from search request
387
+ AggregationType type = 2; // Type of aggregation that must match provided kind as derived from search request
388
+ string field_path = 6 [(.wix.api.maxLength) = 200]; // Field to aggregate by as derived from search request
389
+ oneof result {
390
+ ValueResults values = 3; // Value aggregation results
391
+ RangeResults ranges = 4; // Range aggregation results
392
+ ScalarResult scalar = 5; // Scalar aggregation results
393
+ GroupByValueResults grouped_by_value = 7; // Group by value aggregation results
394
+ DateHistogramResults date_histogram = 8; // Date histogram aggregation results
395
+ NestedResults nested = 9; // Nested aggregation results
396
+ }
397
+ }
398
+
399
+ repeated AggregationResults results = 1 [(.wix.api.maxSize) = 10000]; // key = aggregation name (as derived from search request)
400
+ }
401
+
402
+ /*
403
+ // Usage example in response composition:
404
+ message ProductSearchResponse {
405
+ AggregationData aggregations = 1;
406
+ PagingMetadataV2 metadata = 2;
407
+ repeated Product products = 3;
408
+ }
409
+
410
+ // example Value type Request:
411
+ {
412
+ search: {
413
+ expression: "term"
414
+ },
415
+ aggregations: [
416
+ {
417
+ name: "my-value-aggregation",
418
+ type: "VALUE",
419
+ fieldPath: "path.to.field",
420
+ value: {
421
+ sort_type: "VALUE",
422
+ sort_direction: "DESC",
423
+ limit: 15
424
+ }
425
+ }
426
+ ]
427
+ }
428
+
429
+ // example Value type Response:
430
+ {
431
+ aggregations: {
432
+ results: [
433
+ {
434
+ name: "my-value-aggregation",
435
+ type: "VALUE",
436
+ values: {
437
+ results: [
438
+ {
439
+ value: "v1",
440
+ count: 9
441
+ },
442
+ {
443
+ value: "v2",
444
+ count: 6
445
+ }
446
+ ]
447
+ }
448
+ }
449
+ ]
450
+ },
451
+ metadata: {
452
+ items: 25,
453
+ offset: 25,
454
+ total: 420,
455
+ tooManyToCount: false,
456
+ cursors: {
457
+ next: "SOMEHASHFORNEXT",
458
+ prev: "SOMEHASHFORPREV"
459
+ }
460
+ },
461
+ products: [...]
462
+ }
463
+
464
+ // example Range type Request:
465
+ {
466
+ search: {
467
+ expression: "term"
468
+ },
469
+ aggregations: [
470
+ {
471
+ name: "my-range-aggregation",
472
+ type: "RANGE",
473
+ fieldPath: "path.to.field",
474
+ range: {
475
+ buckets: [
476
+ {
477
+ to: 10
478
+ },
479
+ {
480
+ from: 10,
481
+ to: 20
482
+ },
483
+ {
484
+ from: 20
485
+ }
486
+ ]
487
+ }
488
+ }
489
+ ]
490
+ }
491
+
492
+ // example Range type Response:
493
+ {
494
+ aggregations: {
495
+ results: [
496
+ {
497
+ name: "my-range-aggregation",
498
+ type: "RANGE",
499
+ ranges: {
500
+ results: [
501
+ {
502
+ to: 10,
503
+ count: 5
504
+ },
505
+ {
506
+ from: 10,
507
+ to: 20,
508
+ count: 3
509
+ },
510
+ {
511
+ from: 20,
512
+ count: 1
513
+ }
514
+ ]
515
+ }
516
+ }
517
+ ]
518
+ },
519
+ metadata: {
520
+ items: 25,
521
+ offset: 25,
522
+ total: 420,
523
+ tooManyToCount: false,
524
+ cursors: {
525
+ next: "SOMEHASHFORNEXT",
526
+ prev: "SOMEHASHFORPREV"
527
+ }
528
+ },
529
+ products: [...]
530
+ }
531
+
532
+ // example Scalar type Request:
533
+ {
534
+ search: {
535
+ expression: "term"
536
+ },
537
+ aggregations: [
538
+ {
539
+ name: "my-scalar-aggregation",
540
+ type: "SCALAR",
541
+ fieldPath: "path.to.field",
542
+ scalar: {
543
+ type: "AVG"
544
+ }
545
+ }
546
+ ]
547
+ }
548
+
549
+ // example Scalar type Response:
550
+ {
551
+ aggregations: {
552
+ results: [
553
+ {
554
+ name: "my-scalar-agregation",
555
+ type: "SCALAR",
556
+ scalar: {
557
+ type: "AVG",
558
+ value: 5.555
559
+ }
560
+ }
561
+ ]
562
+ },
563
+ metadata: {
564
+ items: 25,
565
+ offset: 25,
566
+ total: 420,
567
+ tooManyToCount: false,
568
+ cursors: {
569
+ next: "SOMEHASHFORNEXT",
570
+ prev: "SOMEHASHFORPREV"
571
+ }
572
+ },
573
+ products: [...]
574
+ }
575
+
576
+ // example Group By Aggregation Request:
577
+ {
578
+ "filter" : {
579
+ "region" : "EU"
580
+ },
581
+ "aggregations" : [ {
582
+ "name" : "production countries",
583
+ "type" : "VALUE",
584
+ "fieldPath" : "production_countries",
585
+ "value" : {
586
+ "limit" : 5
587
+ },
588
+ "groupBy" : {
589
+ "name" : "production companies",
590
+ "fieldPath" : "production_companies",
591
+ "value" : { }
592
+ }
593
+ } ]
594
+ }
595
+
596
+ // example Group By Aggregation Response:
597
+ {
598
+ "aggregations" : {
599
+ "results" : [ {
600
+ "name" : "production companies",
601
+ "type" : "VALUE",
602
+ "fieldPath" : "production_companies",
603
+ "groupedByValue" : {
604
+ "results" : [ {
605
+ "value" : "Warner Bros.",
606
+ "nestedResults" : {
607
+ "name" : "production countries",
608
+ "type" : "VALUE",
609
+ "fieldPath" : "production_countries",
610
+ "values" : {
611
+ "results" : [ {
612
+ "value" : "GB",
613
+ "count" : 221
614
+ }, {
615
+ "value" : "PL",
616
+ "count" : 12
617
+ } ]
618
+ }
619
+ }
620
+ }, {
621
+ "value" : "Metro-Goldwyn-Mayer (MGM)",
622
+ "nestedResults" : {
623
+ "name" : "production countries",
624
+ "type" : "VALUE",
625
+ "fieldPath" : "production_countries",
626
+ "values" : {
627
+ "results" : [ {
628
+ "value" : "SWE",
629
+ "count" : 24
630
+ }, {
631
+ "value" : "FR",
632
+ "count" : 18
633
+ }, {
634
+ "value" : "LT",
635
+ "count" : 2
636
+ } ]
637
+ }
638
+ }
639
+ } ]
640
+ }
641
+ } ]
642
+ }
643
+ }
644
+
645
+ // example of 2-level nested aggregation request:
646
+ {
647
+ "filter" : {
648
+ "region" : "EU"
649
+ },
650
+ "aggregations" : [ {
651
+ "name" : "my nested",
652
+ "type" : "NESTED",
653
+ "nested" : {
654
+ "nestedAggregations" : [ {
655
+ "name" : "daily",
656
+ "type" : "DATE_HISTOGRAM",
657
+ "fieldPath" : "date_updated",
658
+ "dateHistogram" : {
659
+ "interval" : "DAY"
660
+ }
661
+ }, {
662
+ "name" : "inventory status",
663
+ "type" : "VALUE",
664
+ "fieldPath" : "status",
665
+ "value" : { }
666
+ }, {
667
+ "name" : "sum",
668
+ "type" : "SCALAR",
669
+ "fieldPath" : "price",
670
+ "scalar" : {
671
+ "type" : "SUM"
672
+ }
673
+ } ]
674
+ }
675
+ } ]
676
+ }
677
+
678
+ // example of 2-level nested aggregation response:
679
+ {
680
+ "aggregations" : {
681
+ "results" : [ {
682
+ "name" : "my nested",
683
+ "type" : "NESTED",
684
+ "fieldPath" : "DUNNO WHAT TO DO WITH THIS",
685
+ "nested" : {
686
+ "results" : [ {
687
+ "results" : {
688
+ "daily" : {
689
+ "dateHistogram" : {
690
+ "value" : "2023.1.1"
691
+ }
692
+ },
693
+ "inventory status" : {
694
+ "value" : {
695
+ "value" : "SOLD",
696
+ "count" : 12
697
+ }
698
+ },
699
+ "sum" : {
700
+ "scalar" : {
701
+ "value" : 10.0
702
+ }
703
+ }
704
+ }
705
+ }, {
706
+ "results" : {
707
+ "daily" : {
708
+ "dateHistogram" : {
709
+ "value" : "2023.1.1"
710
+ }
711
+ },
712
+ "inventory status" : {
713
+ "value" : {
714
+ "value" : "NOT-SOLD",
715
+ "count" : 13
716
+ }
717
+ },
718
+ "sum" : {
719
+ "scalar" : {
720
+ "value" : 5.0
721
+ }
722
+ }
723
+ }
724
+ }, {
725
+ "results" : {
726
+ "daily" : {
727
+ "dateHistogram" : {
728
+ "value" : "2023.1.2"
729
+ }
730
+ },
731
+ "inventory status" : {
732
+ "value" : {
733
+ "value" : "SOLD",
734
+ "count" : 5
735
+ }
736
+ },
737
+ "sum" : {
738
+ "scalar" : {
739
+ "value" : 10.0
740
+ }
741
+ }
742
+ }
743
+ }, {
744
+ "results" : {
745
+ "daily" : {
746
+ "dateHistogram" : {
747
+ "value" : "2023.1.2"
748
+ }
749
+ },
750
+ "inventory status" : {
751
+ "value" : {
752
+ "value" : "NOT-SOLD",
753
+ "count" : 7
754
+ }
755
+ },
756
+ "sum" : {
757
+ "scalar" : {
758
+ "value" : 10.0
759
+ }
760
+ }
761
+ }
762
+ } ]
763
+ }
764
+ } ]
765
+ }
766
+ }
767
+
768
+ */