@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.37 to 1.1.38
@@ -12,2 +12,53 @@ "use strict"; | ||
const schema = __importStar(require("@xrc-inc/schema")); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Template", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "显示名称", | ||
__description: "首页模板", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
__description: "该模板可用于创建首页", | ||
}, | ||
imageUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "图片 URL", | ||
}, | ||
dataJsonSchema: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "页面所含数据的格式", | ||
__description: "json schema 用于描述数据的格式。", | ||
}, | ||
componentNumber: { | ||
__type: schema.Types.TYPE_INT32, | ||
__displayName: "实例数量", | ||
__description: "只读,创建、删除实例时随之变动", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.Component", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "显示名称", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "说明", | ||
}, | ||
data: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "数据", | ||
__description: "该数据须符合模板中 json schema 描述的数据格式。", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateColorRequest", { | ||
@@ -635,2 +686,144 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateTemplateRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "storefront 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "id", | ||
}, | ||
template: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Template", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetTemplateRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdateTemplateRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
template: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Template", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListTemplatesRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "storefront 名称", | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListTemplatesResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
templatesList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Template", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListTemplatesPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "storefront 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "id", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeleteTemplateRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateComponentRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
template: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "template 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "id", | ||
}, | ||
component: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Component", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.GetComponentRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.UpdateComponentRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
component: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Component", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListComponentsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
template: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "template 名称", | ||
}, | ||
pageSize: { | ||
__type: schema.Types.TYPE_INT32, | ||
}, | ||
pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListComponentsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
componentsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.merchants.v1.Component", | ||
}, | ||
nextPageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.ListComponentsPageToken", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
template: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "template 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "id", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.DeleteComponentRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.merchants.v1.CreateSKURequest", { | ||
@@ -820,3 +1013,3 @@ __type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".google.protobuf.BoolValue", | ||
__displayName: "为 true 筛选 sku 数量为 0 的商品,为 false 筛选包含 sku 的商品,为 nil 返回所有商品。", | ||
__displayName: "为 true 筛选 sku 数量为 0 的商品,为 false 筛选包含 sku 的商品,为 nil", | ||
}, | ||
@@ -823,0 +1016,0 @@ }); |
@@ -359,2 +359,82 @@ import * as ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb from "../../../../../../ecnova/api/marketplace/merchants/v1/merchants_proto/merchants_pb"; | ||
} | ||
class CreateTemplate { | ||
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.CreateTemplateRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
} | ||
class GetTemplate { | ||
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.GetTemplateRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
} | ||
class UpdateTemplate { | ||
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.UpdateTemplateRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
} | ||
class ListTemplates { | ||
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.ListTemplatesRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListTemplatesResponse; | ||
} | ||
class DeleteTemplate { | ||
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.DeleteTemplateRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class CreateComponent { | ||
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.CreateComponentRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
} | ||
class GetComponent { | ||
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.GetComponentRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
} | ||
class UpdateComponent { | ||
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.UpdateComponentRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
} | ||
class ListComponents { | ||
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.ListComponentsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListComponentsResponse; | ||
} | ||
class DeleteComponent { | ||
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.DeleteComponentRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class CreateColor { | ||
@@ -361,0 +441,0 @@ static readonly methodName: string; |
@@ -415,2 +415,92 @@ "use strict"; | ||
MerchantsService.UndeleteDistributor = UndeleteDistributor; | ||
class CreateTemplate { | ||
} | ||
CreateTemplate.methodName = "CreateTemplate"; | ||
CreateTemplate.service = MerchantsService; | ||
CreateTemplate.requestStream = false; | ||
CreateTemplate.responseStream = false; | ||
CreateTemplate.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateTemplateRequest; | ||
CreateTemplate.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
MerchantsService.CreateTemplate = CreateTemplate; | ||
class GetTemplate { | ||
} | ||
GetTemplate.methodName = "GetTemplate"; | ||
GetTemplate.service = MerchantsService; | ||
GetTemplate.requestStream = false; | ||
GetTemplate.responseStream = false; | ||
GetTemplate.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetTemplateRequest; | ||
GetTemplate.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
MerchantsService.GetTemplate = GetTemplate; | ||
class UpdateTemplate { | ||
} | ||
UpdateTemplate.methodName = "UpdateTemplate"; | ||
UpdateTemplate.service = MerchantsService; | ||
UpdateTemplate.requestStream = false; | ||
UpdateTemplate.responseStream = false; | ||
UpdateTemplate.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateTemplateRequest; | ||
UpdateTemplate.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Template; | ||
MerchantsService.UpdateTemplate = UpdateTemplate; | ||
class ListTemplates { | ||
} | ||
ListTemplates.methodName = "ListTemplates"; | ||
ListTemplates.service = MerchantsService; | ||
ListTemplates.requestStream = false; | ||
ListTemplates.responseStream = false; | ||
ListTemplates.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListTemplatesRequest; | ||
ListTemplates.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListTemplatesResponse; | ||
MerchantsService.ListTemplates = ListTemplates; | ||
class DeleteTemplate { | ||
} | ||
DeleteTemplate.methodName = "DeleteTemplate"; | ||
DeleteTemplate.service = MerchantsService; | ||
DeleteTemplate.requestStream = false; | ||
DeleteTemplate.responseStream = false; | ||
DeleteTemplate.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteTemplateRequest; | ||
DeleteTemplate.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteTemplate = DeleteTemplate; | ||
class CreateComponent { | ||
} | ||
CreateComponent.methodName = "CreateComponent"; | ||
CreateComponent.service = MerchantsService; | ||
CreateComponent.requestStream = false; | ||
CreateComponent.responseStream = false; | ||
CreateComponent.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateComponentRequest; | ||
CreateComponent.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
MerchantsService.CreateComponent = CreateComponent; | ||
class GetComponent { | ||
} | ||
GetComponent.methodName = "GetComponent"; | ||
GetComponent.service = MerchantsService; | ||
GetComponent.requestStream = false; | ||
GetComponent.responseStream = false; | ||
GetComponent.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetComponentRequest; | ||
GetComponent.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
MerchantsService.GetComponent = GetComponent; | ||
class UpdateComponent { | ||
} | ||
UpdateComponent.methodName = "UpdateComponent"; | ||
UpdateComponent.service = MerchantsService; | ||
UpdateComponent.requestStream = false; | ||
UpdateComponent.responseStream = false; | ||
UpdateComponent.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateComponentRequest; | ||
UpdateComponent.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Component; | ||
MerchantsService.UpdateComponent = UpdateComponent; | ||
class ListComponents { | ||
} | ||
ListComponents.methodName = "ListComponents"; | ||
ListComponents.service = MerchantsService; | ||
ListComponents.requestStream = false; | ||
ListComponents.responseStream = false; | ||
ListComponents.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListComponentsRequest; | ||
ListComponents.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ListComponentsResponse; | ||
MerchantsService.ListComponents = ListComponents; | ||
class DeleteComponent { | ||
} | ||
DeleteComponent.methodName = "DeleteComponent"; | ||
DeleteComponent.service = MerchantsService; | ||
DeleteComponent.requestStream = false; | ||
DeleteComponent.responseStream = false; | ||
DeleteComponent.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteComponentRequest; | ||
DeleteComponent.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteComponent = DeleteComponent; | ||
class CreateColor { | ||
@@ -417,0 +507,0 @@ } |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.37", | ||
"version": "1.1.38", | ||
"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
3765118
94487