@wix/bex-utils 2.4.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 (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,86 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+ import "wix/api/annotations.proto";
7
+ import "wix/api/callback.proto";
8
+
9
+ option java_multiple_files = true;
10
+ option java_outer_classname = "EntityProto";
11
+ option java_package = "com.wix.api";
12
+
13
+ /*
14
+ Marks that message X is the "main" entity of service Y
15
+ Key requirement for DomainEvents used in callback/event
16
+
17
+ package com.wixpress.examples;
18
+
19
+ service BlooperService {
20
+ option (wix.api.service_entity).message = "com.wixpress.examples.Blooper"; //the "main" entity
21
+ rpc Update (BlooperRequest) returns (BlooperResponse) {
22
+ //...
23
+ };
24
+ }
25
+
26
+ message Blooper {
27
+ option (wix.api.entity) = {
28
+ fqdn: "wix.examples.Blooper" // A fully qualified domain name for this entity. Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
29
+ exposure: PUBLIC //Optional exposure field. Will be used by systems like corvid and webhooks to decide if to expose events related to this entity to external parties
30
+
31
+ };
32
+ }
33
+ */
34
+
35
+ extend google.protobuf.ServiceOptions {
36
+ optional ServiceEntity service_entity = 50500;
37
+ }
38
+
39
+ message ServiceEntity {
40
+ required string message = 1;
41
+ optional string namespace = 50501; // use to avoid naming collisions between functions listed under the same fqdn/entity. Business Schema service shall use it using this hierarchy: [Entity > namespace > action]
42
+ }
43
+
44
+ extend google.protobuf.MessageOptions {
45
+ optional Entity entity = 50500;
46
+ }
47
+
48
+ message Entity {
49
+ required string fqdn = 1;
50
+ optional Exposure exposure = 2 [deprecated=true];
51
+ repeated MessageAppendix appendix_files = 3; // declare external configuration info
52
+ optional string old_fqdn_for_backwards_compatibility = 4; // Topic name for domain events will be based on this attribute if present (only for known legacy FQDNs)
53
+ optional Segment.SegmentName segment = 5; // the cluster to which domain events will be produced
54
+ repeated string implements = 6; // FQDNs of interfaces (i.e. SPIs) that this entity implements. Must begin with `wix.interfaces.`
55
+ optional Extensible extensible = 7; // Indicates that this entity can be extended by apps using data-extension mechanism.
56
+ optional bool trashbin = 8; // Indicates whether trash-bin is exposed on this entity.
57
+ optional string plural = 9; // plural form of this entity. e.g. singular: `entity`; plural: `entities`;
58
+ optional string domain_events_read_permission = 10; // permission to consume all event types of this entity from topic. affects internal/external consumers. For external webhook subscribers - MAY be overridden by event/callback `permission` field.
59
+ optional string app_def_id = 11; // the app in devcenter that owns this entity
60
+ optional DomainEventOptions domain_events = 12;
61
+ }
62
+
63
+ message Extensible {
64
+
65
+ optional string nested_extension_field_path = 1;
66
+ // Indicates whether this entity supports filtering by extended fields which are marked in schema as `x-wix-filterable`
67
+ optional bool filterable = 2;
68
+ }
69
+
70
+ message MessageAppendix {
71
+ enum Type {
72
+ UNKNOWN_APPENDIX_TYPE = 0;
73
+ AUTO_VELO = 1; // auto velo configuration
74
+ DOCS_CONF = 2; // wix docs configuration: `documentation.yaml`
75
+ MULTILINGUAL = 3; // wix multilingual configuration
76
+ SEARCH = 4; // nile search configuration
77
+ }
78
+ required Type type = 1; // appendix type
79
+ required string path = 2; // absolute from module root
80
+ }
81
+
82
+ message DomainEventOptions {
83
+ optional bool event_sequence_number = 1; // indicated whenever `entity_event_sequence` in the envelope is set/populated for CUD events.
84
+ optional bool deleted_include_entity = 2; // indicated whenever `deleted_entity_as_json` is set/populated for EntityDeletedEvent events.
85
+ optional bool updated_include_modified_fields = 3; // indicated whenever `modified_fields` is set/populated for EntityUpdatedEvent events.
86
+ }
@@ -0,0 +1,119 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.api;
4
+
5
+ option java_package = "com.wix.api";
6
+
7
+ import "google/protobuf/struct.proto";
8
+ import "google/protobuf/wrappers.proto";
9
+
10
+ message Details {
11
+ oneof kind {
12
+ ApplicationError application_error = 1;
13
+ ValidationError validation_error = 2;
14
+ SystemError system_error = 4;
15
+ }
16
+ map<string, string> tracing = 3 [deprecated = true]; // deprecated in API's - to enable migration from rendering arbitrary tracing to rest response
17
+ }
18
+
19
+ message ApplicationError {
20
+ // Error code.
21
+ string code = 1;
22
+ // Description of the error.
23
+ string description = 2;
24
+ // Data related to the error.
25
+ google.protobuf.Struct data = 3;
26
+ }
27
+
28
+ message SystemError {
29
+ // Error code.
30
+ google.protobuf.StringValue errorCode = 1;
31
+ }
32
+
33
+ /**
34
+ example result:
35
+ {
36
+ "fieldViolations": [
37
+ {
38
+ "field": "fieldA",
39
+ "description": "invalid music note. supported notes: [do,re,mi,fa,sol,la,ti]",
40
+ "violatedRule": "OTHER",
41
+ "ruleName": "INVALID_NOTE",
42
+ "data": {
43
+ "value": "FI"
44
+ }
45
+ },
46
+ {
47
+ "field": "fieldB",
48
+ "description": "field value out of range. supported range: [0-20]",
49
+ "violatedRule": "MAX",
50
+ "data": {
51
+ "threshold": 20
52
+ }
53
+ },
54
+ {
55
+ "field": "fieldC",
56
+ "description": "invalid phone number. provide a valid phone number of size: [7-12], supported characters: [0-9, +, -, (, )]",
57
+ "violatedRule": "FORMAT",
58
+ "data": {
59
+ "type": "PHONE"
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ **/
65
+ message ValidationError {
66
+ enum RuleType {
67
+ VALIDATION = 0;
68
+ OTHER = 1;
69
+ MAX = 2;
70
+ MIN = 3;
71
+ MAX_LENGTH = 4;
72
+ MIN_LENGTH = 5;
73
+ MAX_SIZE = 6;
74
+ MIN_SIZE = 7;
75
+ FORMAT = 8;
76
+ DECIMAL_LTE = 9;
77
+ DECIMAL_GTE = 10;
78
+ DECIMAL_LT = 11;
79
+ DECIMAL_GT = 12;
80
+ DECIMAL_MAX_SCALE = 13;
81
+ INVALID_ENUM_VALUE = 14;
82
+ REQUIRED_FIELD = 15;
83
+ FIELD_NOT_ALLOWED = 16;
84
+ ONE_OF_ALIGNMENT = 17;
85
+ }
86
+ message FieldViolation {
87
+ string field = 1;
88
+ string description = 2;
89
+ RuleType violated_rule = 3;
90
+ google.protobuf.StringValue rule_name = 4; // applicable when violated_rule=OTHER
91
+ google.protobuf.Struct data = 5;
92
+ }
93
+ repeated FieldViolation field_violations = 1;
94
+ }
95
+
96
+ // for all kinds of min/max violations - match to type provided in annotation
97
+ message LimitRuleInt32DataPayload {
98
+ int32 threshold = 1;
99
+ }
100
+
101
+ // for all kinds of min/max violations - match to type provided in annotation
102
+ message LimitRuleDoubleDataPayload {
103
+ double threshold = 1;
104
+ }
105
+
106
+ // for all kinds of min/max violations - match to type provided in annotation
107
+ message LimitRuleStringDataPayload {
108
+ string threshold = 1;
109
+ }
110
+
111
+ // for format violations
112
+ message FormatRuleDataPayload {
113
+ string type = 1;
114
+ }
115
+
116
+ // for enum violations
117
+ message EnumRuleDataPayload {
118
+ repeated string supported = 1;
119
+ }
@@ -0,0 +1,40 @@
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 = "PermissionsProto";
9
+ option java_package = "com.wix.api";
10
+
11
+ /**
12
+ * Annotation for method permission rules
13
+ * example usage:
14
+ * import "wix/api/permissions.proto";
15
+ * service Bloop {
16
+ * rpc Create (CreateBloopRequest) returns (CreateBloopResponse) {
17
+ * option (wix.api.permission).name = "SOME_PERMISSION_NAME";
18
+ * }
19
+ * rpc SpecialDelete (SpecialDeleteBloopRequest) returns (SpecialDeleteResponse) {
20
+ * option (wix.api.permission) = {
21
+ * name: "SOME_PERMISSION_NAME"
22
+ * type: MANUAL
23
+ * }
24
+ * }
25
+ * }
26
+ **/
27
+ extend google.protobuf.MethodOptions {
28
+ optional PermissionRule permission = 50301;
29
+ repeated PermissionRule additional_permission = 50302;
30
+ }
31
+
32
+ message PermissionRule {
33
+ optional string name = 1;
34
+ optional PermissionType type = 2;
35
+ }
36
+
37
+ enum PermissionType {
38
+ AUTO = 0;
39
+ MANUAL = 1;
40
+ }
@@ -0,0 +1,24 @@
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 = "SlaProto";
9
+ option java_package = "com.wix.api";
10
+
11
+ extend google.protobuf.MethodOptions {
12
+ optional Sla sla = 50700;
13
+ }
14
+
15
+ message Sla {
16
+ /*
17
+ * Number of milliseconds after which the method will timeout
18
+ * and return TIMEOUT (504) response for http or DEADLINE_EXCEEDED
19
+ * for grpc.
20
+ * This default deadline will be applied automatically
21
+ * iff request does not contain deadline information.
22
+ */
23
+ optional int32 response_time_ms = 1;
24
+ }
@@ -0,0 +1,32 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "google/protobuf/descriptor.proto";
6
+ import "wix/api/callback.proto";
7
+
8
+ option java_multiple_files = true;
9
+ option java_outer_classname = "SubscriptionProto";
10
+ option java_package = "com.wix.api";
11
+
12
+ /*
13
+ Marks a method as a topic consumer.
14
+ service BlooperService {
15
+ rpc Update (BlooperUpdateNotification) returns (google.protobuf.Empty) {
16
+ option (wix.api.subscription) = {
17
+ topic: "Blooper.Update"
18
+ };
19
+ };
20
+ }
21
+ */
22
+ extend google.protobuf.MethodOptions {
23
+ optional Subscription subscription = 50400;
24
+ }
25
+
26
+ message Subscription {
27
+ optional string topic = 1;
28
+ optional Segment.SegmentName segment = 4; // currently defaults to "legacy", will be `required` when legacy cluster is removed
29
+ optional bool batch = 2 [deprecated = true];
30
+ optional string entity = 3;
31
+ optional bool dynamic = 5;
32
+ }
@@ -0,0 +1,134 @@
1
+ syntax = "proto2";
2
+
3
+ package wix.api;
4
+
5
+ import "wix/api/api_errors.proto";
6
+ import "google/protobuf/descriptor.proto";
7
+
8
+ option java_multiple_files = true;
9
+ option java_outer_classname = "ValidationsProto";
10
+ option java_package = "com.wix.api";
11
+
12
+ /**
13
+ * Annotation for field validation rules
14
+ * example usage:
15
+ * import "wix/api/validations.proto";
16
+ *
17
+ * message User {
18
+ * string id = 1 [(wix.api.readOnly)=true, (wix.api.format)=GUID];
19
+ * double age = 2 [(wix.api.max)=120, (wix.api.min)=0];
20
+ * string email = 3 [(wix.api.format)=EMAIL];
21
+ * string username = 4 [(wix.api.minLength)=3];
22
+ * string phone = 5 [(wix.api.format)=PHONE];
23
+ * }
24
+ *
25
+ * message Invoice {
26
+ * string id = 1 [(wix.api.readOnly)=true, (wix.api.format)=GUID];
27
+ * string amount_paid = 2 [(wix.api.decimalValue) = { gte: "0.01" lt: "10" maxScale: 2 }];
28
+ * }
29
+ **/
30
+ extend google.protobuf.FieldOptions {
31
+ // max possible value
32
+ optional double max = 50201;
33
+ // min possible value
34
+ optional double min = 50202;
35
+ // max length for strings
36
+ optional int32 maxLength = 50203;
37
+ // min length for strings
38
+ optional int32 minLength = 50204;
39
+ // max size for repeated field, map
40
+ optional int32 maxSize = 50209;
41
+ // min size for repeated field, map
42
+ optional int32 minSize = 50210;
43
+ // common known formats like email, URI, etc.
44
+ optional Format format = 50205;
45
+ // indicates this field cannot be set by the client. E.g. Id field assigned by the server
46
+ optional bool readOnly = 50208;
47
+ // indicates this field can be set by the client, but can never be changed or updated
48
+ optional bool immutable = 50212;
49
+ // decimal value format
50
+ optional DecimalValueOptions decimalValue = 50211;
51
+ // declare custom field validation for all methods
52
+ optional CustomValidationError custom_validation = 50214;
53
+ }
54
+
55
+ /**
56
+ * Decimal value validation rules.
57
+ * Based on java.math.BigDecimal, implies (wix.api.format) = DECIMAL_VALUE
58
+ */
59
+ message DecimalValueOptions {
60
+ optional string lte = 1; // less than or equal
61
+ optional string gte = 2; // greater than or equal
62
+ optional string lt = 3; // less than
63
+ optional string gt = 4; // greater than
64
+ optional int32 maxScale = 5; // max number of fractional digits
65
+ }
66
+
67
+ /**
68
+ * Annotation for method validation rules
69
+ * example usage:
70
+ * import "wix/api/validations.proto";
71
+ * service Bloop {
72
+ * rpc Create (CreateBloopRequest) returns (CreateBloopResponse) {
73
+ * option (wix.api.required) = "CreateBloopRequest.Bloop.name";
74
+ * }
75
+ * }
76
+ **/
77
+ extend google.protobuf.MethodOptions {
78
+ // Specify which fields are required in this method.
79
+ // Annotating a nested field as `required` does not imply that the whole path to that field is required, eg.
80
+ // `option (wix.api.required) = "person.pet.name";` means that if a `person` has a `pet`, then the `pet` must have
81
+ // a `name` set; it does not mean that `person` or `person.pet` themselves are required - these fields should be
82
+ // annotated individually if needed.
83
+ // This option can be repeated multiple times to specify multiple fields.
84
+ // example use:
85
+ // option (wix.api.required) = "userId";
86
+ // option (wix.api.required) = "userName";
87
+ repeated string required = 50200;
88
+ // Specify list of `immutable` fields which can be writable in this method.
89
+ // Most common in Create methods
90
+ // Only `immutable` AND NOT `readOnly` fields are allowed to be referenced via this annotation
91
+ // example use:
92
+ // option (wix.api.writable) = "id"; // user-generated id is enabled
93
+ repeated string writable = 50213;
94
+
95
+ }
96
+
97
+ extend google.protobuf.OneofOptions {
98
+ // name of the enum field that must be aligned with this oneof (AIP 7015)
99
+ // ADR 038: Linking oneOf with Enum: https://github.com/wix-private/server-infra/blob/master/framework/docs/adr/adr-038-aligned-with-enum.md
100
+ optional AlignedWithEnum aligned_with_enum = 50800;
101
+ }
102
+
103
+ message AlignedWithEnum {
104
+ required string field = 1;
105
+ // defaults to _options if not specified
106
+ optional string suffix = 2;
107
+ }
108
+
109
+ enum Format {
110
+ EMAIL = 0;
111
+ HOSTNAME = 1;
112
+ IPV4 = 2;
113
+ IPV6 = 3;
114
+ URI = 4;
115
+ WEB_URL = 5; // HTTP or HTTPS
116
+ PHONE = 7;
117
+ CREDIT_CARD = 8;
118
+ GUID = 9;
119
+ COUNTRY = 10; // 2 letters ISO-3166-1
120
+ LANGUAGE = 11; // 2 letters ISO-639-1
121
+ /*
122
+ Use this on string or stringValue types to validate the format of that field is same as a decimal value.
123
+ This will ensure keeping the precision of decimal value, such as when passing monetary values.
124
+ */
125
+ DECIMAL_VALUE = 12;
126
+ CURRENCY = 13; // 3 letters - all available currencies
127
+ LANGUAGE_TAG = 14; // IETF BCP 47 language tag (e.g. en-US)
128
+ COLOR_HEX = 15; // hex color format as defined by the MDN https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
129
+ LOCAL_DATE = 16; // ISO-8601 extended local date format (YYYY-MM-DD)
130
+ LOCAL_TIME = 17; // ISO-8601 extended local time format (hh:mm[:ss][.sss])
131
+ LOCAL_DATE_TIME = 18; // ISO-8601 extended local date-time format (YYYY-MM-DDThh:mm[:ss][.sss])
132
+ URL_SLUG = 19;
133
+ SYSTEM_SLUG = 20;
134
+ }
@@ -0,0 +1,140 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ import "google/protobuf/wrappers.proto";
9
+ import "wix/api/annotations.proto";
10
+ import "wix/api/validations.proto";
11
+
12
+ // A common address format to use if you plan to store addresses in your service
13
+
14
+ // Physical address
15
+ message Address {
16
+ option (.wix.api.decomposition_minimum_fields) = {
17
+ field: "country"
18
+ field: "subdivision"
19
+ field: "city"
20
+ field: "postal_code"
21
+ field: "street_address"
22
+ field: "formatted_address"
23
+ };
24
+ option (.wix.api.decomposition_minimum_fields) = {
25
+ field: "country"
26
+ field: "subdivision"
27
+ field: "city"
28
+ field: "postal_code"
29
+ field: "address_line"
30
+ field: "address_line_2"
31
+ field: "formatted_address"
32
+ };
33
+ google.protobuf.StringValue country = 1 [(.wix.api.format) = COUNTRY]; // Country code.
34
+ google.protobuf.StringValue subdivision = 2; // Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).
35
+ google.protobuf.StringValue city = 3 [(.wix.api.pii) = true]; // City name.
36
+ google.protobuf.StringValue postal_code = 4 [(.wix.api.pii) = true]; // Zip/postal code.
37
+ oneof street {
38
+ StreetAddress street_address = 5; // Street name and number.
39
+ google.protobuf.StringValue address_line = 6 [(.wix.api.pii) = true]; // Main address line, usually street and number as free text.
40
+ }
41
+ google.protobuf.StringValue address_line_2 = 7 [(.wix.api.pii) = true]; // Free text providing more detailed address info. Usually contains Apt, Suite, and Floor.
42
+
43
+ google.protobuf.StringValue formatted_address = 8 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // A string containing the full address of this location.
44
+ google.protobuf.StringValue hint = 9 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Free text to help find the address.
45
+ AddressLocation geocode = 10 [(.wix.api.field_exposure) = PRIVATE]; // Coordinates of the physical address.
46
+ google.protobuf.StringValue country_fullname = 11 [(.wix.api.pii) = false, (.wix.api.field_exposure) = PRIVATE]; // Country full name.
47
+ google.protobuf.StringValue subdivision_fullname = 13 [(.wix.api.pii) = false, (.wix.api.field_exposure) = PRIVATE]; // Subdivision full name.
48
+ repeated Subdivision subdivisions = 12 [(.wix.api.field_exposure) = PRIVATE, (.wix.api.maxSize) = 6]; // Multi-level subdivisions from top to bottom.
49
+ }
50
+
51
+ message Subdivision {
52
+ enum SubdivisionType {
53
+ UNKNOWN_SUBDIVISION_TYPE = 0;
54
+ ADMINISTRATIVE_AREA_LEVEL_1 = 1; // State
55
+ ADMINISTRATIVE_AREA_LEVEL_2 = 2; // County
56
+ ADMINISTRATIVE_AREA_LEVEL_3 = 3; // City/town
57
+ ADMINISTRATIVE_AREA_LEVEL_4 = 4; // Neighborhood/quarter
58
+ ADMINISTRATIVE_AREA_LEVEL_5 = 5; // Street/block
59
+ COUNTRY = 6; // ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder.
60
+ }
61
+ option (.wix.api.decomposition_minimum_fields) = {
62
+ field: "code"
63
+ };
64
+ string code = 1; // Short subdivision code.
65
+ string name = 2; // Subdivision full name.
66
+ SubdivisionType type = 3 [(.wix.api.field_exposure) = PRIVATE]; // Subdivision level
67
+ google.protobuf.StringValue type_info = 4 [(.wix.api.field_exposure) = PRIVATE]; // Free text description of subdivision type.
68
+ }
69
+
70
+ message StreetAddress {
71
+ option (.wix.api.decomposition_minimum_fields) = {
72
+ field: "number"
73
+ field: "name"
74
+ };
75
+ string number = 1 [(.wix.api.pii) = true]; // Street number.
76
+ string name = 2 [(.wix.api.pii) = true]; // Street name.
77
+ string apt = 3 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Apartment number.
78
+ google.protobuf.StringValue formatted_address_line = 4 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Optional address line 1
79
+ }
80
+
81
+ //Contact details for the address
82
+ message AddressContactDetails {
83
+ option (.wix.api.decomposition_minimum_fields) = {
84
+ field: "full_name"
85
+ };
86
+ google.protobuf.StringValue full_name = 1 [(.wix.api.pii) = true]; // Contact's full name.
87
+ google.protobuf.StringValue phone = 2 [(.wix.api.pii) = true, (.wix.api.format) = PHONE]; // Contact's phone number.
88
+ google.protobuf.StringValue company = 3; // Contact's company name.
89
+ google.protobuf.StringValue email = 4 [(.wix.api.pii) = true, (.wix.api.format) = EMAIL]; // Email associated with the address.
90
+ }
91
+
92
+ //Full contact details for an address
93
+ message FullAddressContactDetails {
94
+ option (.wix.api.decomposition_minimum_fields) = {
95
+ field: "first_name"
96
+ field: "last_name"
97
+ };
98
+ option (.wix.api.decomposition_minimum_fields) = {
99
+ field: "full_name"
100
+ };
101
+ google.protobuf.StringValue first_name = 1 [(.wix.api.pii) = true]; // Contact's first name.
102
+ google.protobuf.StringValue last_name = 2 [(.wix.api.pii) = true]; // Contact's last name.
103
+ google.protobuf.StringValue full_name = 8 [(.wix.api.pii) = true, (.wix.api.field_exposure) = PRIVATE]; // Contact's full name.
104
+ google.protobuf.StringValue phone = 3 [(.wix.api.pii) = true, (.wix.api.format) = PHONE]; // Contact's phone number.
105
+ google.protobuf.StringValue company = 4; // Contact's company name.
106
+ google.protobuf.StringValue email = 5 [(.wix.api.pii) = true, (.wix.api.format) = EMAIL]; // Email associated with the address.
107
+ VatId vat_id = 7; // Tax info. Currently usable only in Brazil.
108
+ }
109
+
110
+ message VatId {
111
+ option (.wix.api.decomposition_minimum_fields) = {
112
+ field: "id"
113
+ field: "type"
114
+ };
115
+ string id = 1 [(.wix.api.pii) = true]; // Customer's tax ID.
116
+ /*
117
+ Tax type.
118
+
119
+ Supported values:
120
+ + `CPF`: for individual tax payers
121
+ + `CNPJ`: for corporations
122
+ */
123
+ VatType type = 2;
124
+ }
125
+
126
+ // tax info types
127
+ enum VatType {
128
+ UNSPECIFIED = 0;
129
+ CPF = 1; // CPF - for individual tax payers.
130
+ CNPJ = 2; // CNPJ - for corporations
131
+ }
132
+
133
+ message AddressLocation {
134
+ option (.wix.api.decomposition_minimum_fields) = {
135
+ field: "latitude"
136
+ field: "longitude"
137
+ };
138
+ google.protobuf.DoubleValue latitude = 1 [(.wix.api.pii) = true]; // Address latitude.
139
+ google.protobuf.DoubleValue longitude = 2 [(.wix.api.pii) = true]; // Address longitude.
140
+ }
@@ -0,0 +1,53 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ import "google/protobuf/wrappers.proto";
9
+ import "wix/api/annotations.proto";
10
+ import "wix/api/errors.proto";
11
+
12
+ message BulkActionMetadata {
13
+ // Number of items that were successfully processed.
14
+ int32 total_successes = 1;
15
+ // Number of items that couldn't be processed.
16
+ int32 total_failures = 2;
17
+ // Number of failures without details because detailed failure threshold was exceeded.
18
+ int32 undetailed_failures = 3;
19
+ }
20
+
21
+ message ItemMetadata {
22
+ // Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).
23
+ google.protobuf.StringValue id = 1;
24
+ // Index of the item within the request array. Allows for correlation between request and response items.
25
+ int32 original_index = 2;
26
+ // Whether the requested action was successful for this item. When `false`, the `error` field is populated.
27
+ bool success = 3;
28
+ // Details about the error in case of failure.
29
+ .wix.api.ApplicationError error = 4;
30
+ }
31
+
32
+ enum BulkActionType {
33
+ UNKNOWN_ACTION_TYPE = 0;
34
+ INSERT = 1;
35
+ UPDATE = 2;
36
+ DELETE = 3;
37
+ }
38
+
39
+ /*
40
+
41
+ Example for using it in your service:
42
+
43
+ message BulkOrderResult {
44
+ ItemMetadata item_metadata = 1;
45
+ Order item = 2;
46
+ }
47
+
48
+ message BulkArchiveOrdersResponse {
49
+ repeated BulkOrderResult results = 1;
50
+ BulkActionMetadata bulk_action_metadata = 2;
51
+ }
52
+
53
+ */
@@ -0,0 +1,40 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ import "google/protobuf/wrappers.proto";
9
+ import "wix/api/validations.proto";
10
+ import "wix/api/annotations.proto";
11
+
12
+ message IdentificationData {
13
+ option (.wix.api.decomposition_minimum_fields) = {
14
+ field: "identity_type"
15
+ field: "anonymous_visitor_id"
16
+ field: "member_id"
17
+ field: "wix_user_id"
18
+ field: "app_id"
19
+ };
20
+ enum IdentityType {
21
+ UNKNOWN = 0;
22
+ ANONYMOUS_VISITOR = 1;
23
+ MEMBER = 2;
24
+ WIX_USER = 3;
25
+ APP = 4;
26
+ }
27
+ // ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
28
+ google.protobuf.StringValue contact_id = 1 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.contacts.v4.contact"];
29
+ IdentityType identity_type = 6 [(.wix.api.readOnly) = true, (.wix.api.field_exposure) = PRIVATE];
30
+ oneof id {
31
+ // ID of a site visitor that has not logged in to the site.
32
+ string anonymous_visitor_id = 2 [(.wix.api.format) = GUID];
33
+ // ID of a site visitor that has logged in to the site.
34
+ string member_id = 3 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
35
+ // ID of a Wix user (site owner, contributor, etc.).
36
+ string wix_user_id = 4 [(.wix.api.format) = GUID];
37
+ // ID of an app.
38
+ string app_id = 5 [(.wix.api.format) = GUID];
39
+ }
40
+ }
@@ -0,0 +1,8 @@
1
+ syntax = "proto3";
2
+
3
+ package wix.common;
4
+
5
+ option java_multiple_files = true;
6
+ option java_package = "com.wix.common";
7
+
8
+ //Moved to media.proto - please update your references