syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wix.ecommerce.additional_fees_spi.api.v1;

import "wix/spi/definitions.proto";
import "wix/api/annotations.proto";
import "google/protobuf/wrappers.proto";
import "google/protobuf/struct.proto";

message AdditionalFeesSPIConfig {
    option (.wix.api.decomposite_of) = "com.wix.ecommerce.additional_fees_spi.api.v1.AdditionalFeesSPIConfig";
  // Base URI where the endpoints are called.
  // Wix eCommerce appends the endpoint path to the base URI.
  // For example, to call the Calculate Additional Fees endpoint at `https://my-additional-fees.com/v1/calculateAdditionalFees`,
  // the base URI you provide here is `https://my-additional-fees.com/`.
  string deployment_uri = 1 [(.wix.spi.base_uri) = true];
  
  reserved 2;

  /*
  * Optional WQL filter to apply to the `CalculateAdditionalFeesRequest`.
  * When provided, only requests that match the filter will be forwarded to the implementer.
  *
  * Learn more about how to define a [WQL filter](https://dev.wix.com/docs/rest/articles/get-started/api-query-language#filters).
  */
  google.protobuf.Struct filter = 3 [
    (.wix.api.field_exposure) = INTERNAL,
    (.wix.api.field_maturity) = BETA
  ];
}
