@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.36 to 1.1.37
@@ -12,2 +12,248 @@ "use strict"; | ||
const schema = __importStar(require("@xrc-inc/schema")); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateColorRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
color: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Color", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdateColorRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
color: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Color", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListColorsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListColorsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
colorsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Color", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListColorsPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetColorRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeleteColorRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Color", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
skuNumber: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreatePatternRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pattern: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Pattern", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdatePatternRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
pattern: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Pattern", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPatternsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPatternsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
patternsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Pattern", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPatternsPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetPatternRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeletePatternRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Pattern", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
skuNumber: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateMaterialRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
material: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Material", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdateMaterialRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
material: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Material", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListMaterialsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListMaterialsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
materialsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Material", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListMaterialsPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetMaterialRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeleteMaterialRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Material", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
skuNumber: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.SKU", { | ||
@@ -59,3 +305,3 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}, | ||
brandId: { | ||
brand: { | ||
__type: schema.Types.TYPE_STRING, | ||
@@ -95,3 +341,3 @@ __displayName: "商品的品牌 id", | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "商品的颜色", | ||
__displayName: "商品的颜色 id", | ||
}, | ||
@@ -105,7 +351,7 @@ gender: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "材质", | ||
__displayName: "材质 id", | ||
}, | ||
pattern: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "图案", | ||
__displayName: "图案 id", | ||
}, | ||
@@ -222,2 +468,6 @@ size: { | ||
}, | ||
skuNumber: { | ||
__type: schema.Types.TYPE_INT32, | ||
__displayName: "包含的 sku 的数量", | ||
}, | ||
}); | ||
@@ -335,2 +585,6 @@ schema.register(".xrc.ecnova.marketplace.merchants.v1.Product.DetailsMedia", { | ||
}, | ||
publicId: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "公开标识符", | ||
}, | ||
title: { | ||
@@ -360,76 +614,7 @@ __type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Page", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
isOpen: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否开业", | ||
}, | ||
title: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "页面名称", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "页面描述", | ||
}, | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "页面图片地址", | ||
}, | ||
resourcesList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Page.Resource", | ||
__displayName: "该页面包含的资源", | ||
}, | ||
detailsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".google.protobuf.Any", | ||
__displayName: "只读选项,View 类型为 FULL 时返回为对应的 resource 的数据", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Page.Resource", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
attributesList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Page.Resource.AttributesEntry", | ||
}, | ||
id: { | ||
__displayName: "", | ||
__description: "", | ||
__oneOfItems: { | ||
sku: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
product: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
collection: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
productType: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
brand: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
page: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "page id indicates another page in the same storefront", | ||
}, | ||
}, | ||
} | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Page.Resource.AttributesEntry", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
key: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
value: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Distributor", { | ||
@@ -596,2 +781,49 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListProductsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
filter: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListProductsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
productsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Product", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListProductsPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
merchant: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
isEmpty: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".google.protobuf.BoolValue", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListProductsFilter", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
isEmpty: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".google.protobuf.BoolValue", | ||
__displayName: "为 true 筛选 sku 数量为 0 的商品,为 false 筛选包含 sku 的商品,为 nil 返回所有商品。", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.SearchProductsRequest", { | ||
@@ -982,115 +1214,2 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreatePageRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
page: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Page", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPagesRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
view: { | ||
__type: schema.Types.TYPE_ENUM, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.ListPagesRequest.View", | ||
__displayName: "如果 View 为 full,则需要将具体的资源数据返回", | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
filter: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPagesRequest.View", { | ||
__type: schema.Types.TYPE_ENUM, | ||
__enumItems: [ | ||
{ | ||
__name: "BASIC", | ||
__number: 0, | ||
__displayName: "", | ||
}, | ||
{ | ||
__name: "FULL", | ||
__number: 1, | ||
__displayName: "", | ||
}, | ||
] | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPagesResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
pagesList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Page", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPagesPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListPagesFilter", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
idPrefix: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetPageRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
view: { | ||
__type: schema.Types.TYPE_ENUM, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.GetPageRequest.View", | ||
__displayName: "如果 View 为 full,则需要将具体的资源数据返回", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetPageRequest.View", { | ||
__type: schema.Types.TYPE_ENUM, | ||
__enumItems: [ | ||
{ | ||
__name: "BASIC", | ||
__number: 0, | ||
__displayName: "", | ||
}, | ||
{ | ||
__name: "FULL", | ||
__number: 1, | ||
__displayName: "", | ||
}, | ||
] | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdatePageRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
page: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Page", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeletePageRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateDistributorRequest", { | ||
@@ -1097,0 +1216,0 @@ __type: schema.Types.TYPE_MESSAGE, |
@@ -87,2 +87,10 @@ import * as ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb from "../../../../../../ecnova/api/marketplace/merchants/v1/merchants_proto/merchants_pb"; | ||
} | ||
class ListProducts { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListProductsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListProductsResponse; | ||
} | ||
class UpdateProduct { | ||
@@ -304,3 +312,3 @@ static readonly methodName: string; | ||
} | ||
class CreatePage { | ||
class CreateDistributor { | ||
static readonly methodName: string; | ||
@@ -310,6 +318,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePageRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
} | ||
class ListPages { | ||
class GetDistributor { | ||
static readonly methodName: string; | ||
@@ -319,6 +327,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPagesRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPagesResponse; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
} | ||
class GetPage { | ||
class ListDistributors { | ||
static readonly methodName: string; | ||
@@ -328,6 +336,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPageRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListDistributorsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListDistributorsResponse; | ||
} | ||
class UpdatePage { | ||
class UpdateDistributor { | ||
static readonly methodName: string; | ||
@@ -337,6 +345,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdatePageRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
} | ||
class DeletePage { | ||
class DeleteDistributor { | ||
static readonly methodName: string; | ||
@@ -346,6 +354,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePageRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
} | ||
class CreateDistributor { | ||
class UndeleteDistributor { | ||
static readonly methodName: string; | ||
@@ -355,6 +363,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateDistributorRequest; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UndeleteDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
} | ||
class GetDistributor { | ||
class CreateColor { | ||
static readonly methodName: string; | ||
@@ -364,6 +372,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateColorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
} | ||
class ListDistributors { | ||
class UpdateColor { | ||
static readonly methodName: string; | ||
@@ -373,6 +381,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListDistributorsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListDistributorsResponse; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateColorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
} | ||
class UpdateDistributor { | ||
class ListColors { | ||
static readonly methodName: string; | ||
@@ -382,6 +390,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListColorsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListColorsResponse; | ||
} | ||
class DeleteDistributor { | ||
class GetColor { | ||
static readonly methodName: string; | ||
@@ -391,6 +399,6 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetColorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
} | ||
class UndeleteDistributor { | ||
class DeleteColor { | ||
static readonly methodName: string; | ||
@@ -400,6 +408,86 @@ static readonly service: typeof MerchantsService; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UndeleteDistributorRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Distributor; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteColorRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class CreatePattern { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePatternRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
} | ||
class UpdatePattern { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdatePatternRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
} | ||
class ListPatterns { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPatternsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPatternsResponse; | ||
} | ||
class GetPattern { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPatternRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
} | ||
class DeletePattern { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePatternRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class CreateMaterial { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateMaterialRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
} | ||
class UpdateMaterial { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateMaterialRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
} | ||
class ListMaterials { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListMaterialsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListMaterialsResponse; | ||
} | ||
class GetMaterial { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetMaterialRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
} | ||
class DeleteMaterial { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteMaterialRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
} | ||
//# sourceMappingURL=merchants_pb_service.d.ts.map |
@@ -109,2 +109,11 @@ "use strict"; | ||
MerchantsService.GetProduct = GetProduct; | ||
class ListProducts { | ||
} | ||
ListProducts.methodName = "ListProducts"; | ||
ListProducts.service = MerchantsService; | ||
ListProducts.requestStream = false; | ||
ListProducts.responseStream = false; | ||
ListProducts.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListProductsRequest; | ||
ListProducts.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListProductsResponse; | ||
MerchantsService.ListProducts = ListProducts; | ||
class UpdateProduct { | ||
@@ -353,47 +362,2 @@ } | ||
MerchantsService.ListStorefronts = ListStorefronts; | ||
class CreatePage { | ||
} | ||
CreatePage.methodName = "CreatePage"; | ||
CreatePage.service = MerchantsService; | ||
CreatePage.requestStream = false; | ||
CreatePage.responseStream = false; | ||
CreatePage.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePageRequest; | ||
CreatePage.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
MerchantsService.CreatePage = CreatePage; | ||
class ListPages { | ||
} | ||
ListPages.methodName = "ListPages"; | ||
ListPages.service = MerchantsService; | ||
ListPages.requestStream = false; | ||
ListPages.responseStream = false; | ||
ListPages.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPagesRequest; | ||
ListPages.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPagesResponse; | ||
MerchantsService.ListPages = ListPages; | ||
class GetPage { | ||
} | ||
GetPage.methodName = "GetPage"; | ||
GetPage.service = MerchantsService; | ||
GetPage.requestStream = false; | ||
GetPage.responseStream = false; | ||
GetPage.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPageRequest; | ||
GetPage.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
MerchantsService.GetPage = GetPage; | ||
class UpdatePage { | ||
} | ||
UpdatePage.methodName = "UpdatePage"; | ||
UpdatePage.service = MerchantsService; | ||
UpdatePage.requestStream = false; | ||
UpdatePage.responseStream = false; | ||
UpdatePage.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdatePageRequest; | ||
UpdatePage.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Page; | ||
MerchantsService.UpdatePage = UpdatePage; | ||
class DeletePage { | ||
} | ||
DeletePage.methodName = "DeletePage"; | ||
DeletePage.service = MerchantsService; | ||
DeletePage.requestStream = false; | ||
DeletePage.responseStream = false; | ||
DeletePage.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePageRequest; | ||
DeletePage.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeletePage = DeletePage; | ||
class CreateDistributor { | ||
@@ -453,2 +417,137 @@ } | ||
MerchantsService.UndeleteDistributor = UndeleteDistributor; | ||
class CreateColor { | ||
} | ||
CreateColor.methodName = "CreateColor"; | ||
CreateColor.service = MerchantsService; | ||
CreateColor.requestStream = false; | ||
CreateColor.responseStream = false; | ||
CreateColor.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateColorRequest; | ||
CreateColor.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
MerchantsService.CreateColor = CreateColor; | ||
class UpdateColor { | ||
} | ||
UpdateColor.methodName = "UpdateColor"; | ||
UpdateColor.service = MerchantsService; | ||
UpdateColor.requestStream = false; | ||
UpdateColor.responseStream = false; | ||
UpdateColor.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateColorRequest; | ||
UpdateColor.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
MerchantsService.UpdateColor = UpdateColor; | ||
class ListColors { | ||
} | ||
ListColors.methodName = "ListColors"; | ||
ListColors.service = MerchantsService; | ||
ListColors.requestStream = false; | ||
ListColors.responseStream = false; | ||
ListColors.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListColorsRequest; | ||
ListColors.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListColorsResponse; | ||
MerchantsService.ListColors = ListColors; | ||
class GetColor { | ||
} | ||
GetColor.methodName = "GetColor"; | ||
GetColor.service = MerchantsService; | ||
GetColor.requestStream = false; | ||
GetColor.responseStream = false; | ||
GetColor.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetColorRequest; | ||
GetColor.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Color; | ||
MerchantsService.GetColor = GetColor; | ||
class DeleteColor { | ||
} | ||
DeleteColor.methodName = "DeleteColor"; | ||
DeleteColor.service = MerchantsService; | ||
DeleteColor.requestStream = false; | ||
DeleteColor.responseStream = false; | ||
DeleteColor.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteColorRequest; | ||
DeleteColor.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteColor = DeleteColor; | ||
class CreatePattern { | ||
} | ||
CreatePattern.methodName = "CreatePattern"; | ||
CreatePattern.service = MerchantsService; | ||
CreatePattern.requestStream = false; | ||
CreatePattern.responseStream = false; | ||
CreatePattern.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePatternRequest; | ||
CreatePattern.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
MerchantsService.CreatePattern = CreatePattern; | ||
class UpdatePattern { | ||
} | ||
UpdatePattern.methodName = "UpdatePattern"; | ||
UpdatePattern.service = MerchantsService; | ||
UpdatePattern.requestStream = false; | ||
UpdatePattern.responseStream = false; | ||
UpdatePattern.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdatePatternRequest; | ||
UpdatePattern.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
MerchantsService.UpdatePattern = UpdatePattern; | ||
class ListPatterns { | ||
} | ||
ListPatterns.methodName = "ListPatterns"; | ||
ListPatterns.service = MerchantsService; | ||
ListPatterns.requestStream = false; | ||
ListPatterns.responseStream = false; | ||
ListPatterns.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPatternsRequest; | ||
ListPatterns.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListPatternsResponse; | ||
MerchantsService.ListPatterns = ListPatterns; | ||
class GetPattern { | ||
} | ||
GetPattern.methodName = "GetPattern"; | ||
GetPattern.service = MerchantsService; | ||
GetPattern.requestStream = false; | ||
GetPattern.responseStream = false; | ||
GetPattern.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPatternRequest; | ||
GetPattern.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Pattern; | ||
MerchantsService.GetPattern = GetPattern; | ||
class DeletePattern { | ||
} | ||
DeletePattern.methodName = "DeletePattern"; | ||
DeletePattern.service = MerchantsService; | ||
DeletePattern.requestStream = false; | ||
DeletePattern.responseStream = false; | ||
DeletePattern.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePatternRequest; | ||
DeletePattern.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeletePattern = DeletePattern; | ||
class CreateMaterial { | ||
} | ||
CreateMaterial.methodName = "CreateMaterial"; | ||
CreateMaterial.service = MerchantsService; | ||
CreateMaterial.requestStream = false; | ||
CreateMaterial.responseStream = false; | ||
CreateMaterial.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateMaterialRequest; | ||
CreateMaterial.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
MerchantsService.CreateMaterial = CreateMaterial; | ||
class UpdateMaterial { | ||
} | ||
UpdateMaterial.methodName = "UpdateMaterial"; | ||
UpdateMaterial.service = MerchantsService; | ||
UpdateMaterial.requestStream = false; | ||
UpdateMaterial.responseStream = false; | ||
UpdateMaterial.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateMaterialRequest; | ||
UpdateMaterial.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
MerchantsService.UpdateMaterial = UpdateMaterial; | ||
class ListMaterials { | ||
} | ||
ListMaterials.methodName = "ListMaterials"; | ||
ListMaterials.service = MerchantsService; | ||
ListMaterials.requestStream = false; | ||
ListMaterials.responseStream = false; | ||
ListMaterials.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListMaterialsRequest; | ||
ListMaterials.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListMaterialsResponse; | ||
MerchantsService.ListMaterials = ListMaterials; | ||
class GetMaterial { | ||
} | ||
GetMaterial.methodName = "GetMaterial"; | ||
GetMaterial.service = MerchantsService; | ||
GetMaterial.requestStream = false; | ||
GetMaterial.responseStream = false; | ||
GetMaterial.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetMaterialRequest; | ||
GetMaterial.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Material; | ||
MerchantsService.GetMaterial = GetMaterial; | ||
class DeleteMaterial { | ||
} | ||
DeleteMaterial.methodName = "DeleteMaterial"; | ||
DeleteMaterial.service = MerchantsService; | ||
DeleteMaterial.requestStream = false; | ||
DeleteMaterial.responseStream = false; | ||
DeleteMaterial.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteMaterialRequest; | ||
DeleteMaterial.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteMaterial = DeleteMaterial; | ||
})(MerchantsService = exports.MerchantsService || (exports.MerchantsService = {})); |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.36", | ||
"version": "1.1.37", | ||
"description": "Javascript sdk of ecnova apis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3630605
91258