// SPI proto:
// https://github.com/wix-private/restaurants-bazel/blob/master/local-delivery/proto/com/wixpress/localdelivery/spi/v1/local_delivery_provider.proto

syntax = "proto3";

package com.wixpress.appservice.api;

import "wix/api/validations.proto";
import "wix/api/annotations.proto";
import "wix/spi/definitions.proto";

// Local Delivery component
message LocalDeliveryComponentData {
  option (.wix.api.decomposite_of) = "com.wixpress.appservice.api.LocalDeliveryComponentData";

  // URL for the Delivery provider registration web page.
  // The App Instance and Account Id query parameters are attached to the registration URL
  // so that you can identify your account when accessing the vendor api. [learn more](https://devforum.wix.com/en/article/app-instance)
  string registration_url = 1 [(wix.api.format) = WEB_URL];

  // The base URL for all the local delivery api calls.
  // Description of end points and schema can be find in the local delivery documentation.
  string api_base_uri = 2 [(.wix.spi.base_uri) = true];
}