syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.application_profile.provider.v1;
option java_package = "com.wixpress.appservice.api.upstream.wix.application_profile.provider.v1";

import "google/api/annotations.proto";
import "wix/spi/definitions.proto";
import "wix/api/annotations.proto";
import "wix/common/spi.proto";
import "components_catalog_data/application_profile/com/wixpress/appservice/api/upstream/wix/application_profile/provider/v1/application_profile.proto";

message ImplementedMethods {
    option (.wix.api.decomposite_of) = "wix.application_profile.provider.v1.ImplementedMethods";
  bool get_my_application_profile = 1; // Implement QueryApplicationProfiles
}

message ApplicationProfileProviderConfig {
    option (.wix.api.decomposite_of) = "wix.application_profile.provider.v1.ApplicationProfileProviderConfig";
  // URI where the SPI implementer is deployed
  .wix.common.spi.SpiBaseUri deployment_uri = 1;
  // Implemented methods
  ImplementedMethods implemented_methods = 2;
  // default application profile
  ApplicationProfile default_application_profile = 3;
}
