@wix/bex-utils 2.4.0 → 2.6.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 (252) 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/dist/cjs/PromiseState.js.map +1 -1
  241. package/dist/cjs/batchUpdates.js.map +1 -1
  242. package/dist/cjs/events.js.map +1 -1
  243. package/dist/cjs/exports/react-dom.js.map +1 -1
  244. package/dist/cjs/exports/react-native.js.map +1 -1
  245. package/dist/cjs/exports/react.js.map +1 -1
  246. package/dist/cjs/index.js.map +1 -1
  247. package/dist/cjs/reactive.js.map +1 -1
  248. package/dist/cjs/reactiveContext.js.map +1 -1
  249. package/dist/cjs/setReactDOMBatchUpdates.js.map +1 -1
  250. package/dist/cjs/setReactNativeBatchUpdates.js.map +1 -1
  251. package/dist/cjs/useReactive.js.map +1 -1
  252. package/package.json +3 -2
@@ -0,0 +1,356 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+
7
+ option java_multiple_files = true;
8
+ option java_outer_classname = "AnnotationsProto";
9
+ option java_package = "com.wix.api";
10
+
11
+ extend google.protobuf.ServiceOptions {
12
+ optional Maturity service_maturity = 50104;
13
+ optional Exposure service_exposure = 50105;
14
+ optional Deprecated service_deprecated = 50140; // mark a service as deprecated, optionally place replacing asset
15
+ repeated ServiceAppendix appendix_files = 50150; // declare external configuration info
16
+ }
17
+
18
+ extend google.protobuf.MethodOptions {
19
+ optional Exposure exposure = 50101;
20
+ optional Maturity maturity = 50102;
21
+ optional CacheSettings cacheable = 50103; // mark a method as cacheable, optionally pass max cache age
22
+ optional Deprecated deprecated = 50141; // mark a method as deprecated, optionally place replacing asset
23
+ optional Crud crud = 50146; // mark crud method type and describe related information about this method
24
+ optional Hookable hookable = 50147;
25
+ optional bool accepts_linguist = 50148; // marks that this method accepts `x-wix-linguist` header, MAY return translated/localized responses. without this option, requests that assign this header will get an error. CRUD annotated methods assumed to have this enabled for read ops and disabled for write ops.
26
+ }
27
+
28
+ extend google.protobuf.MessageOptions {
29
+ optional string decomposite_of = 50120; // mark it a shard of a message to remove fields
30
+ repeated FieldSet decomposition_minimum_fields = 50121; // constrain that sharding at the definition
31
+ optional bool unwrap_array_value = 50122; // mark message as wrapper for arrays
32
+ optional Deprecated message_deprecated = 50142; // mark a message as deprecated, optionally place replacing asset
33
+ repeated Unique unique = 50145; // mark unique identifiers for this message
34
+ }
35
+
36
+ extend google.protobuf.FieldOptions {
37
+ optional Exposure field_exposure = 50106;
38
+ optional Maturity field_maturity = 50107;
39
+ optional bool pii = 50110; // Mark specific field as PII so clients that store the data know it should be encrypted
40
+ optional string referenced_entity = 50111; // FQDN of foreign keys. For example, an Order message that points to Product message can use it like this: `string product_id = 10 [(wix.api.referenced_entity) = "wix.stores.catalog.v1.product"];`
41
+ optional ReferenceEntityField referenced_entity_field = 50112; // FQDN and path of a field that is referenced by `referenced_entity`. Should be located at same level or in a nested message with relation to `wix.api.referenced_entity`.
42
+ optional Deprecated field_deprecated = 50143; // Mark a field as deprecated, optionally place replacing asset
43
+ optional Translatable translatable = 50144; // Mark this field as translatable using MultiLingual services
44
+ optional string sample_data = 50149; // Example of data that may be assigned as a value of this field
45
+ optional Conditional conditional = 50151; // Configure the conditions required for this field to be returned
46
+ optional bool nullable = 50152; // Mark specific field as nullable
47
+ }
48
+
49
+ extend google.protobuf.EnumValueOptions {
50
+ optional Maturity enum_maturity = 50130;
51
+ optional Exposure enum_exposure = 50131;
52
+ }
53
+
54
+ message ReferenceEntityField {
55
+ required string path = 1; // field path from root of a message annotated with `wix.api.entity` annotation. For example 'item.name'.
56
+ }
57
+
58
+ message CacheSettings {
59
+ optional int32 max_age_seconds = 1; // default is 604800 seconds = 1 week
60
+ }
61
+
62
+ message FieldSet {
63
+ repeated string field = 1;
64
+ }
65
+
66
+ message Deprecated {
67
+ optional string replaced_by = 1; // use relative proto FQN as absolute identifier. e.g. "wix.common.Query"
68
+ optional string target_removal_date = 2; // a human readable sunset date of the deprecated resource YYYY-MM-DD
69
+ }
70
+
71
+ message Unique {
72
+ repeated string field = 1;
73
+ }
74
+
75
+ message Crud {
76
+ enum Method {
77
+ UNKNOWN_METHOD = 0;
78
+ CREATE = 1;
79
+ GET_ITEM = 2;
80
+ UPDATE = 3;
81
+ DELETE = 4;
82
+ UPSERT = 12;
83
+ LIST = 5;
84
+ QUERY = 6;
85
+ SEARCH = 18;
86
+ BULK_CREATE = 7;
87
+ BULK_UPDATE = 8;
88
+ BULK_UPDATE_BY_FILTER = 9;
89
+ BULK_DELETE = 10;
90
+ BULK_DELETE_BY_FILTER = 11;
91
+ BULK_UPSERT = 13;
92
+ LIST_DELETED = 14;
93
+ GET_DELETED = 15;
94
+ RESTORE_FROM_TRASHBIN = 16;
95
+ REMOVE_FROM_TRASHBIN = 17;
96
+ COUNT = 19;
97
+ }
98
+ required Method method = 1; // method type
99
+ oneof method_options {
100
+ CreateMethodOptions create_options = 3;
101
+ GetItemMethodOptions get_options = 4;
102
+ UpdateMethodOptions update_options = 5;
103
+ DeleteMethodOptions delete_options = 6;
104
+ ListMethodOptions list_options = 7;
105
+ QueryMethodOptions query_options = 8;
106
+ SearchMethodOptions search_options = 20;
107
+ BulkCreateMethodOptions bulk_create_options = 9;
108
+ BulkUpdateMethodOptions bulk_update_options = 10;
109
+ BulkUpdateByFilterMethodOptions bulk_update_by_filter_options = 11;
110
+ BulkDeleteMethodOptions bulk_delete_options = 12;
111
+ BulkDeleteByFilterMethodOptions bulk_delete_by_filter_options = 13;
112
+ UpsertMethodOptions upsert_options = 14;
113
+ BulkUpsertMethodOptions bulk_upsert_options = 15;
114
+ ListDeletedMethodOptions list_deleted_options = 16;
115
+ GetDeletedMethodOptions get_deleted_options = 17;
116
+ RestoreFromTrashbinMethodOptions restore_from_trashbin_options = 18;
117
+ RemoveFromTrashbinMethodOptions remove_from_trashbin_options = 19;
118
+ CountOptions count_options = 21;
119
+ }
120
+ }
121
+
122
+ message Paging {
123
+ enum Type {
124
+ UNKNOWN_TYPE = 0;
125
+ OFFSET = 1;
126
+ CURSOR = 2;
127
+ }
128
+ optional Type type = 1; // paging type
129
+ optional string paging_metadata_field = 2; // paging field name in response object. default is `metadata`
130
+ }
131
+
132
+ message CreateMethodOptions {
133
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
134
+ }
135
+
136
+ message GetItemMethodOptions {
137
+ optional string item_field = 2; // item field name in response object only. default is `<entity-name>`
138
+ optional string id_field = 1; // id field name in request object. default is `<entity-name>_id`
139
+ }
140
+
141
+ message UpdateMethodOptions {
142
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
143
+ optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
144
+ }
145
+
146
+ message UpsertMethodOptions {
147
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
148
+ optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
149
+ }
150
+
151
+ message DeleteMethodOptions {
152
+ optional string id_field = 1; // id field name in request object. default is `<entity-name>_id`
153
+ }
154
+
155
+ message ListMethodOptions {
156
+ optional string ids_field = 1; // ids field name in request object if such exists. recommended field-name: `<entity-name>_ids`
157
+ required string items_field = 3; // items field name in response object.
158
+ optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
159
+ repeated string me_aliasable_field = 4; // collection of FQNs of fields that MAY be aliased with the const `"me"`
160
+ }
161
+
162
+ message QueryMethodOptions {
163
+ optional string query_field = 1; // query field name in request object. default is `query`
164
+ required string items_field = 3; // items field name in response object.
165
+ optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
166
+ required Wql wql = 4; // mark fields that are available for filtering and sorting via WixQueryLanguage
167
+ repeated string me_aliasable_field = 5; // collection of FQNs of fields that MAY be aliased with the const `"me"`
168
+ }
169
+
170
+ message SearchMethodOptions {
171
+ optional string search_field = 1; // search field name in request object. default is `search`
172
+ required string items_field = 3; // items field name in response object.
173
+ optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
174
+ required Wql wql = 4; // mark fields that are available for filtering and sorting via WixQueryLanguage
175
+ repeated string me_aliasable_field = 5; // collection of FQNs of fields that MAY be aliased with the const `"me"`
176
+ repeated Search search = 6; // mark fields that are available for search
177
+ }
178
+
179
+ message BulkCreateMethodOptions {
180
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
181
+ }
182
+
183
+ message BulkUpdateMethodOptions {
184
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
185
+ optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
186
+ }
187
+
188
+ message BulkUpdateByFilterMethodOptions {
189
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
190
+ optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
191
+ optional string filter_field = 3; // filter field name in request object. default is `filter`
192
+ }
193
+
194
+ message BulkUpsertMethodOptions {
195
+ optional string item_field = 1; // item field name in request and response objects. default is `<entity-name>`
196
+ optional string fieldmask_field = 2; // fieldmask field name in request object. default is `fieldmask`, only if it really exists in model
197
+ }
198
+
199
+ message BulkDeleteMethodOptions {
200
+ optional string ids_field = 1; // ids field name in request object. default is `<entity-name>_ids`
201
+ }
202
+
203
+ message BulkDeleteByFilterMethodOptions {
204
+ optional string filter_field = 1; // filter field name in request object. default is `filter`
205
+ }
206
+
207
+ message ListDeletedMethodOptions {
208
+ optional string ids_field = 1; // ids field name in request object if such exists. recommended field-name: `<entity-name>_ids`
209
+ required string items_field = 3; // items field name in response object.
210
+ optional Paging paging = 2; // present paging mechanism info, default will be of type=`CURSOR`
211
+ repeated string me_aliasable_field = 4; // collection of FQNs of fields that MAY be aliased with the const `"me"`
212
+ }
213
+
214
+ message GetDeletedMethodOptions {
215
+ optional string item_field = 2; // item field name in response object only. default is `<entity-name>`
216
+ optional string id_field = 1; // id field name in request object. default is `<entity-name>_id`
217
+ }
218
+
219
+ message RestoreFromTrashbinMethodOptions {
220
+ optional string item_field = 2; // item field name in response object only. default is `<entity-name>`
221
+ optional string id_field = 1; // id field name in request object. default is `<entity-name>_id`
222
+ }
223
+
224
+ message RemoveFromTrashbinMethodOptions {
225
+ optional string id_field = 1; // id field name in request object. default is `<entity-name>_id`
226
+ }
227
+
228
+ message CountOptions {
229
+ // The name of the endpoint that the count "copy" the WQL settings from - e.g inherit_wql_from: 'QueryProducts'
230
+ // Usually, that will be the query endpoint since you want the same filter capbilities for query and count
231
+ optional string inherit_wql_from = 1;
232
+ }
233
+
234
+ message Wql {
235
+ enum Operator {
236
+ option allow_alias = true;
237
+ ALL_APPLICABLE_OPERATORS = 0; // Applicable by type. i.e. if we allow LT/GT for **, it means for numeric fields only.
238
+ EQ = 1; // [Comparison] Matches values that are equal to a specified value.
239
+ GT = 2; // [Comparison] Matches values that are greater than a specified value.
240
+ GTE = 3; // [Comparison] Matches values that are greater than or equal to a specified value.
241
+ IN = 4; // [Comparison] Matches any of the values specified in an array.
242
+ LT = 5; // [Comparison] Matches values that are less than a specified value.
243
+ LTE = 6; // [Comparison] Matches values that are less than or equal to a specified value.
244
+ NE = 7; // [Comparison] Matches all values that are not equal to a specified value.
245
+ NIN = 8; // [Comparison] Matches none of the values specified in an array.
246
+ BEGINS = 9; // [Comparison] Matches strings that begin with a specified value (NOT case sensitive).
247
+ EXISTS = 10; // [Element] Matches documents that have the specified field.
248
+ ALL = 11 [deprecated = true]; // [Array] Matches arrays that contain all elements specified in the query.
249
+ HAS_ALL = 11; // [Array] Matches arrays that contain all elements specified in the query.
250
+ ANY = 12 [deprecated = true]; // [Array] Matches arrays that contain at least one element specified in the query.
251
+ HAS_SOME = 12; // [Array] Matches arrays that contain at least one element specified in the query.
252
+ EMPTY = 13; // [Array] Matches arrays that contain no elements.
253
+ MATCH_ALL = 14; // Matches all items. Intended for expressing intent in selecting everything for ex. destructive operations - bulk deletes, updates, etc.
254
+ MATCH_ITEMS = 16; // [Array] match multiple fields within array with AND operator semantics.
255
+ }
256
+ enum Sort {
257
+ NONE = 0; // no sorting enabled
258
+ ASC = 1; // ascending sort is supported
259
+ DESC = 2; // descending sort is supported
260
+ BOTH = 3; // sort is supported in both directions
261
+ }
262
+ message RequiredFields {
263
+ // this field is deprecated because we need sort direction alongside to field path
264
+ repeated string field = 1[(.wix.api.field_deprecated) = {
265
+ replaced_by: "required_field"
266
+ target_removal_date: "2023-03-31"
267
+ }];
268
+ message RequiredField {
269
+ required string path = 1; // a field path that that accepts this operator
270
+ optional Sort sort = 2; // sort type enabled for this glob
271
+ }
272
+ repeated RequiredField required_field = 2; // all required field configurations to satisfy composite index
273
+ }
274
+ message OperatorFieldSupport {
275
+ repeated Operator operator = 1; // Operators supported for fields that match the glob
276
+ // this field is deprecated because glob is hard to read. moved to a direct field config approach
277
+ optional string glob = 2 [(.wix.api.field_deprecated) = {
278
+ replaced_by: "field"
279
+ target_removal_date: "2023-03-31"
280
+ }];
281
+ repeated string field = 5; // a collection of field paths that that accepts this operator
282
+ optional Sort sort = 3; // sort type enabled for this glob
283
+ repeated RequiredFields required_fields = 4; // fields that match this glob, can be used only if the query is also filtered by required_fields
284
+ optional Maturity maturity = 6;
285
+ }
286
+ // this field is deprecated due to a better and shorter naming
287
+ repeated OperatorFieldSupport operator_field_support = 3 [(.wix.api.field_deprecated) = {
288
+ replaced_by: "pattern"
289
+ target_removal_date: "2023-03-31"
290
+ }];
291
+ repeated OperatorFieldSupport pattern = 4; // supported operators for subject query method
292
+ optional bool validate_query = 6; // false by default. all new services will have it set to true
293
+ }
294
+
295
+ message Search {
296
+ repeated string field = 1; // a collection of field paths that supports Free Text Search
297
+ optional Maturity maturity = 2;
298
+ }
299
+
300
+ message Hookable {
301
+ }
302
+
303
+ message Translatable {
304
+ enum Type {
305
+ UNDEFINED_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
306
+ SHORT_TEXT = 1;
307
+ LONG_TEXT = 2;
308
+ RICH_TEXT = 3;
309
+ RICH_CONTENT_EDITOR = 4;
310
+ SELECTION = 5;
311
+ MULTI_SELECTION = 6;
312
+ DOCUMENT = 7;
313
+ IMAGE = 8;
314
+ VIDEO = 9;
315
+ IMAGE_LINK = 10; // Image URI without metadata
316
+ }
317
+ optional string name = 1; // a human friendly field name
318
+ optional bool hidden = 2; // is this translatable field hidden in Multilingual
319
+ optional string grouping = 3; // fields in schema may be grouped under meaningful topic or category of the source entity
320
+ required Type type = 4; // translation input component type e.g. "freetext", "dropdown", etc..
321
+ optional bool display_only = 5; // is this field for preview and not translatable
322
+ }
323
+
324
+ message Conditional {
325
+ optional string permission = 1; // field will not be returned by the server, unless the client has this permission. If `requested_field` is also set, and a client explicitly requests this field but does not have permission, server will return 403-Forbidden error
326
+ optional string requested_field = 2; // field will not be returned by the server, unless the client explicitly requested it using `fields` parameter in the request, with the enum value specified by this annotation
327
+ }
328
+
329
+ message ServiceAppendix {
330
+ enum Type {
331
+ UNKNOWN_APPENDIX_TYPE = 0;
332
+ NILE = 1; // Nile(tm) FW configuration
333
+ MESSAGE_BUS = 2; // wix message bus / pub-sub configuration
334
+ }
335
+ required Type type = 1; // appendix type
336
+ required string path = 2; // absolute from module root
337
+ }
338
+
339
+ // Defines the target audience of your API
340
+ // @see https://bo.wix.com/wix-docs/rnd/p13n-guidelines---aips/guidance-aips/api-lifecycle/[2005]-exposure
341
+ enum Exposure {
342
+ // This API should only be used by your team. By default, no documentation is generated, but you can generate your own documentation using the Wix Docs Local Preview
343
+ PRIVATE = 0;
344
+ // Every Wix developer can use your API. Documentation is exposed automatically to Wix Internal Docs and will be visible to all Wix employees. When first exposing it, contact your API Master to review your API and remove it from the Draft category.
345
+ INTERNAL = 1;
346
+ // Anyone using the Wix Ecosystem can use this API. Documentation is exposed automatically to both Wix Internal Docs and to Wix Public Docs.
347
+ PUBLIC = 2;
348
+ }
349
+
350
+ enum Maturity {
351
+ ALPHA = 0;
352
+ BETA = 1;
353
+ IA = 2 [deprecated=true];
354
+ GA = 3;
355
+ NOT_IMPLEMENTED = 4;
356
+ }
@@ -0,0 +1,117 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+ import "wix/api/annotations.proto";
7
+
8
+ option java_multiple_files = true;
9
+ option java_outer_classname = "ApiErrorsProto";
10
+ option java_package = "com.wix.api";
11
+
12
+ /**
13
+ * Annotation for method returned errors
14
+ * example usage:
15
+ * import "wix/api/api_errors.proto";
16
+ * service FooService {
17
+ * rpc CreateFoo (CreateFooRequest) returns (CreateFooResponse) {
18
+ * // Description of the error. Accepts `markdown`
19
+ * // and multiline
20
+ * option (wix.api.error) = {
21
+ * http_code: FAILED_PRECONDITION
22
+ * application_code: "NO_FOO_SUPPLY"
23
+ * data: "com.wixpress.foo.v1.NoFooSupplyError"
24
+ * }
25
+ * //and you can specify multiple errors
26
+ * option (wix.api.custom_validation_error) = {
27
+ * rule_name: "INVALID_NOTE"
28
+ * data: "com.wixpress.foo.v1.MyRuleViolationError"
29
+ * }
30
+ * // this method MAY throw standard crud errors of BULK_UPDATE method type
31
+ * option (wix.api.inherit_crud_errors) = {
32
+ * method: BULK_UPDATE
33
+ * }
34
+ * }
35
+ * }
36
+ **/
37
+ extend google.protobuf.MethodOptions {
38
+ repeated Error error = 50801;
39
+ repeated CustomValidationError custom_validation_error = 50802;
40
+ repeated InheritCrudErrors inherit_crud_errors = 50803;
41
+ }
42
+
43
+ /**
44
+ ApplicationError: named Error for backwards compatibility
45
+ **/
46
+ message Error {
47
+ required StatusCodes.HttpStatusCode http_code = 1;
48
+ optional string application_code = 2;
49
+ optional string data = 3; // FQN path to the message that will be sent as payload for this error
50
+ }
51
+
52
+ /**
53
+ CustomValidationError: field level validation, only declare when you have specific validation in your service that is not coming from infra
54
+ **/
55
+ message CustomValidationError {
56
+ required string rule_name = 1;
57
+ optional string data = 2; // FQN path to the message that will be sent as payload for this error
58
+ }
59
+
60
+ /**
61
+ InheritCrudErrors: does this method throw standard crud errors?
62
+ **/
63
+ message InheritCrudErrors {
64
+ required Crud.Method method = 1; // types of crud methods to inherit default errors from
65
+ }
66
+
67
+ message StatusCodes {
68
+ enum HttpStatusCode {
69
+ OK = 0; // 200
70
+
71
+ //Default error codes (applicable to all endpoints)
72
+
73
+ // 401 - Identity missing (missing, invalid or expired oAuth token,
74
+ // signed instance or cookies)
75
+ UNAUTHENTICATED = 1;
76
+
77
+ // 403 - Identity does not have the permission needed for this method / resource
78
+ PERMISSION_DENIED = 2;
79
+
80
+ // 400 - Bad Request. The client sent malformed body
81
+ // or one of the arguments was invalid
82
+ INVALID_ARGUMENT = 3;
83
+
84
+ // 404 - Resource does not exist
85
+ NOT_FOUND = 4;
86
+
87
+ // 500 - Internal Server Error
88
+ INTERNAL = 5;
89
+
90
+ // 503 - Come back later, server is currently unavailable
91
+ UNAVAILABLE = 6;
92
+
93
+ // 429 - The client has sent too many requests
94
+ // in a given amount of time (rate limit)
95
+ RESOURCE_EXHAUSTED = 7;
96
+
97
+ //Custom error codes - need to be documented
98
+
99
+ // 499 - Request cancelled by the client
100
+ CANCELED = 8;
101
+
102
+ // 409 - Can't recreate same resource or concurrency conflict
103
+ ALREADY_EXISTS = 9; //409
104
+
105
+ // 428 - request cannot be executed in current system state
106
+ // such as deleting a non-empty folder or paying with no funds
107
+ FAILED_PRECONDITION = 10;
108
+
109
+ //DO NOT USE IN WIX
110
+ // ABORTED = 11; // 409
111
+ // OUT_OF_RANGE = 12; // 400
112
+ // DEADLINE_EXEEDED = 13; // 504
113
+ // DATA_LOSS = 14; // 500
114
+ // UNIMPLEMENTED = 15; // 501
115
+ }
116
+ }
117
+
@@ -0,0 +1,156 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+ import "wix/api/annotations.proto";
7
+
8
+ option java_multiple_files = true;
9
+ option java_outer_classname = "CallbackProto";
10
+ option java_package = "com.wix.api";
11
+
12
+ /*
13
+ callback option is used to denote two separate concepts:
14
+ 1. DomainEvents- these are events your service sends on all activities in your entity. Emitted as a result of this method.
15
+ service BlooperService {
16
+ option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; //the "main" entity
17
+ rpc CreateBlooper (CreateBlooperRequest) returns (CreateBlooperResponse) {
18
+ option (wix.api.callback) = {
19
+ event_type: CREATED
20
+ };
21
+ };
22
+ rpc MissedBlooper (MissedBlooperRequest) returns (MissedBlooperResponse) {
23
+ option (wix.api.callback) = {
24
+ event_type: Action
25
+ payload: "com.wixpress.examples.BlooperWasMissed"
26
+ };
27
+ };
28
+ }
29
+ message Blooper {
30
+ option (wix.api.entity) = {
31
+ fqdn: "wix.examples.Blooper"
32
+ };
33
+ }
34
+ message BlooperWasMissed {
35
+ int32 how_funny_it_could_have_been = 1;
36
+ }
37
+
38
+
39
+ 2. Kafka events that are internal to your domain and that are not related to a specific entity. Emitted as a result of this method.
40
+ service BlooperService {
41
+ rpc Update (Request) returns (Response) {
42
+ option (wix.api.callback) = {
43
+ segment: USERS
44
+ topic: "Blooper.Update"
45
+ payload: "BlooperUpdateNotification" //name of the Message that is sent as event
46
+ permission: "Some.Permission" //permission required to consume this event as a webhook
47
+ };
48
+ };
49
+ }
50
+ */
51
+ extend google.protobuf.MethodOptions {
52
+ repeated Callback callback = 50000;
53
+ repeated Emits emits = 50001;
54
+ }
55
+
56
+ /*
57
+ event option is used to denote two separate concepts:
58
+ 1. DomainEvents- these are events your service sends on all activities in your entity (see examples above)
59
+ 2. Kafka events that are internal to your domain and that are not related to a specific entity
60
+ Both are emitted by the service, not necessarily as a result of a method call (some internal process of the service)
61
+ Internal to domain event example:
62
+ service BlooperService {
63
+ option (wix.api.event) = {
64
+ segment: PUBLIC
65
+ topic: "Blooper.Update"
66
+ payload: "BlooperUpdateNotification" //name of the Message that is sent as event
67
+ permission: "Some.Permission" //permission required to consume this event as a webhook
68
+ };
69
+ rpc Update (Request) returns (Response) {
70
+ //...
71
+ };
72
+ }
73
+ */
74
+ extend google.protobuf.ServiceOptions {
75
+ repeated Callback event = 50000;
76
+ repeated CallbackDeprecation event_deprecated = 50001;
77
+ repeated DomainEvent domain_event = 50002;
78
+ }
79
+
80
+ message Callback {
81
+ enum EventType {
82
+ UNKNOWN = 0;
83
+ CREATED = 1;
84
+ UPDATED = 2;
85
+ DELETED = 3;
86
+ ACTION = 4;
87
+ }
88
+
89
+ optional string topic = 1;
90
+ optional Segment.SegmentName segment = 8; // currently defaults to "legacy", will be `required` when legacy cluster is removed
91
+ optional string payload = 2;
92
+ optional string permission = 3;
93
+ optional EventType event_type = 4;
94
+ optional Exposure exposure = 6;
95
+ optional Maturity maturity = 7;
96
+ }
97
+
98
+ message DomainEvent {
99
+ enum EventType {
100
+ UNKNOWN = 0;
101
+ CREATED = 1;
102
+ UPDATED = 2;
103
+ DELETED = 3;
104
+ ACTION = 4;
105
+ }
106
+ optional string action_message_fqn = 2; // Required when event_type == ACTION, otherwise must not be set
107
+ optional string webhook_permission_override = 3;
108
+ optional EventType event_type = 4;
109
+ optional Exposure exposure = 6;
110
+ optional Maturity maturity = 7;
111
+ }
112
+
113
+ message Emits {
114
+ required DomainEvent.EventType event_type = 1;
115
+ optional string action_message_fqn = 2; // Required when event_type == ACTION, otherwise must not be set
116
+ }
117
+
118
+ message CallbackDeprecation {
119
+ optional string replaced_by = 1;
120
+ optional string target_removal_date = 2;
121
+ optional Callback.EventType event_type = 3;
122
+ optional string custom_slug = 4; // required when event_type=action
123
+ optional string payload = 5;
124
+ }
125
+
126
+ message Segment {
127
+
128
+ /**
129
+ * [Segment] annotation registers to Confluent clusters.
130
+ * Existing topics might have a hard-coded segment in Greyhound, so this option is not required in proto.
131
+ * However, new topics must provide a segment, or greyhound will throw an exception.
132
+ * @see https://bo.wix.com/wix-docs/rnd/p13n-guidelines---aips/guidance-aips/design-patterns/[7016]-events#p13n-guidelines---aips_guidance-aips_design-patterns_[7016]-events_12-choose-the-right-segment
133
+ */
134
+ enum SegmentName {
135
+ UNSPECIFIED = 0; // currently means "auto-resolved for old topics", will be forbidden when legacy cluster is removed
136
+
137
+ /**
138
+ * For events that are consumed in 42 and uw2 only.
139
+ * This also includes a case where an event is produced from 84/AE1 via toMainDC
140
+ */
141
+ USERS = 1;
142
+
143
+ /**
144
+ * For events that are consumed in all DCs.
145
+ * This includes both cases where an event is published from 84/AE1 and cases where it's published from 42/uw2 and replicated via Raven to 84/AE1
146
+ */
147
+ PUBLIC = 2;
148
+
149
+ /**
150
+ * For DevEx services/migrations.
151
+ * Deployed on 42, uw2.
152
+ */
153
+ OTHERS = 3;
154
+ }
155
+ }
156
+
@@ -0,0 +1,19 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.api;
4
+
5
+ option java_multiple_files = true;
6
+ option java_outer_classname = "ContextProto";
7
+ option java_package = "com.wix.api";
8
+
9
+ message RequestContext {
10
+ map<string, string> aspects = 1;
11
+ }
12
+
13
+ message ResponseContext {
14
+ repeated ResponseContextEntry aspects = 1;
15
+ }
16
+
17
+ message ResponseContextEntry {
18
+ map<string, string> aspectEntry = 1;
19
+ }