@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.Customer", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer", { | ||
name: { | ||
@@ -34,3 +34,3 @@ __type: "TYPE_STRING", __displayName: "markets/<market>/customers/<customer>", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.Customer.LabelsEntry", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer.LabelsEntry", { | ||
key: { | ||
@@ -43,3 +43,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.CreateCustomerRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.CreateCustomerRequest", { | ||
market: { | ||
@@ -55,3 +55,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.UpdateCustomerRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.UpdateCustomerRequest", { | ||
customer: { | ||
@@ -61,3 +61,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.DeleteCustomerRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.DeleteCustomerRequest", { | ||
name: { | ||
@@ -67,3 +67,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.UndeleteCustomerRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.UndeleteCustomerRequest", { | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersRequest", { | ||
market: { | ||
@@ -88,3 +88,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersResponse", { | ||
customersList: { | ||
@@ -97,3 +97,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.GetCustomerRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.GetCustomerRequest", { | ||
name: { | ||
@@ -103,3 +103,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersPageToken", { | ||
market: { | ||
@@ -106,0 +106,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.Customer", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer", { | ||
name: { | ||
@@ -29,3 +29,3 @@ __type: "TYPE_STRING",__displayName: "markets/<market>/customers/<customer>", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.Customer.LabelsEntry", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer.LabelsEntry", { | ||
key: { | ||
@@ -38,3 +38,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.CreateCustomerRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.CreateCustomerRequest", { | ||
market: { | ||
@@ -50,3 +50,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.UpdateCustomerRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.UpdateCustomerRequest", { | ||
customer: { | ||
@@ -56,3 +56,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.DeleteCustomerRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.DeleteCustomerRequest", { | ||
name: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.UndeleteCustomerRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.UndeleteCustomerRequest", { | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersRequest", { | ||
market: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersResponse", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersResponse", { | ||
customersList: { | ||
@@ -92,3 +92,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.GetCustomerRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.GetCustomerRequest", { | ||
name: { | ||
@@ -98,3 +98,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.customer.v1.ListCustomersPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersPageToken", { | ||
market: { | ||
@@ -101,0 +101,0 @@ __type: "TYPE_STRING", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.market.v1.Market", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.market.v1.Market", { | ||
name: { | ||
@@ -16,3 +16,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.market.v1.CreateMarketRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.market.v1.CreateMarketRequest", { | ||
parent: { | ||
@@ -28,3 +28,3 @@ __type: "TYPE_STRING", __displayName: "市场的父亲可以是多种资源,目前仅支持 ResourceManager 系统中的资源", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.market.v1.GetMarketRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.market.v1.GetMarketRequest", { | ||
name: { | ||
@@ -34,3 +34,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.market.v1.UpdateMarketRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.market.v1.UpdateMarketRequest", { | ||
market: { | ||
@@ -40,3 +40,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.admin.market.v1.Market", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.market.v1.DeleteMarketRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.market.v1.DeleteMarketRequest", { | ||
name: { | ||
@@ -43,0 +43,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.admin.market.v1.Market", { | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.Market", { | ||
name: { | ||
@@ -11,3 +11,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.market.v1.CreateMarketRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.CreateMarketRequest", { | ||
parent: { | ||
@@ -23,3 +23,3 @@ __type: "TYPE_STRING",__displayName: "市场的父亲可以是多种资源,目前仅支持 ResourceManager 系统中的资源", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.market.v1.GetMarketRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.GetMarketRequest", { | ||
name: { | ||
@@ -29,3 +29,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.market.v1.UpdateMarketRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.UpdateMarketRequest", { | ||
market: { | ||
@@ -35,3 +35,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.market.v1.Market", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.market.v1.DeleteMarketRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.DeleteMarketRequest", { | ||
name: { | ||
@@ -38,0 +38,0 @@ __type: "TYPE_STRING", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.Merchant", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", { | ||
name: { | ||
@@ -19,3 +19,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.CreateMerchantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.CreateMerchantRequest", { | ||
market: { | ||
@@ -31,3 +31,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.UpdateMerchantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.UpdateMerchantRequest", { | ||
merchant: { | ||
@@ -37,3 +37,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsRequest", { | ||
market: { | ||
@@ -52,3 +52,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsResponse", { | ||
merchantsList: { | ||
@@ -61,3 +61,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.DeleteMerchantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.DeleteMerchantRequest", { | ||
name: { | ||
@@ -67,3 +67,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.UndeleteMerchantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.UndeleteMerchantRequest", { | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.GetMerchantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.GetMerchantRequest", { | ||
name: { | ||
@@ -79,3 +79,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsPageToken", { | ||
market: { | ||
@@ -82,0 +82,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.Merchant", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", { | ||
name: { | ||
@@ -14,3 +14,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.CreateMerchantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.CreateMerchantRequest", { | ||
market: { | ||
@@ -26,3 +26,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.UpdateMerchantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.UpdateMerchantRequest", { | ||
merchant: { | ||
@@ -32,3 +32,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsRequest", { | ||
market: { | ||
@@ -47,3 +47,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsResponse", { | ||
merchantsList: { | ||
@@ -56,3 +56,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.DeleteMerchantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.DeleteMerchantRequest", { | ||
name: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.UndeleteMerchantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.UndeleteMerchantRequest", { | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.GetMerchantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.GetMerchantRequest", { | ||
name: { | ||
@@ -74,3 +74,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsPageToken", { | ||
market: { | ||
@@ -77,0 +77,0 @@ __type: "TYPE_STRING", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.Storefront", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", { | ||
name: { | ||
@@ -25,3 +25,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.CreateStorefrontRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.CreateStorefrontRequest", { | ||
market: { | ||
@@ -37,3 +37,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.UpdateStorefrontRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.UpdateStorefrontRequest", { | ||
storefront: { | ||
@@ -43,3 +43,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsRequest", { | ||
market: { | ||
@@ -58,3 +58,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsResponse", { | ||
storefrontsList: { | ||
@@ -67,3 +67,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.GetStorefrontRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.GetStorefrontRequest", { | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.DeleteStorefrontRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.DeleteStorefrontRequest", { | ||
name: { | ||
@@ -79,3 +79,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.UndeleteStorefrontRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.UndeleteStorefrontRequest", { | ||
name: { | ||
@@ -85,3 +85,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsPageToken", { | ||
market: { | ||
@@ -88,0 +88,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.Storefront", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", { | ||
name: { | ||
@@ -20,3 +20,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.CreateStorefrontRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.CreateStorefrontRequest", { | ||
market: { | ||
@@ -32,3 +32,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.UpdateStorefrontRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.UpdateStorefrontRequest", { | ||
storefront: { | ||
@@ -38,3 +38,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsRequest", { | ||
market: { | ||
@@ -53,3 +53,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsResponse", { | ||
storefrontsList: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.GetStorefrontRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.GetStorefrontRequest", { | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.DeleteStorefrontRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.DeleteStorefrontRequest", { | ||
name: { | ||
@@ -74,3 +74,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.UndeleteStorefrontRequest", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.UndeleteStorefrontRequest", { | ||
name: { | ||
@@ -80,3 +80,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsPageToken", { | ||
market: { | ||
@@ -83,0 +83,0 @@ __type: "TYPE_STRING", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest", { | ||
itemsList: { | ||
@@ -22,3 +22,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", { | ||
product: { | ||
@@ -31,3 +31,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.OrderUpdateRecipientRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.OrderUpdateRecipientRequest", { | ||
order: { | ||
@@ -40,3 +40,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.CancelOrderRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.CancelOrderRequest", { | ||
name: { | ||
@@ -46,3 +46,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListOrdersRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersRequest", { | ||
customer: { | ||
@@ -58,3 +58,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListOrdersResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersResponse", { | ||
ordersList: { | ||
@@ -67,3 +67,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.customer.v1.Order", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.DeleteOrderRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.DeleteOrderRequest", { | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.GetOrderRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.GetOrderRequest", { | ||
name: { | ||
@@ -79,3 +79,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.FavoriteRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.FavoriteRequest", { | ||
customer: { | ||
@@ -88,3 +88,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.UndoFavoriteRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.UndoFavoriteRequest", { | ||
customer: { | ||
@@ -97,3 +97,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListFavoritesRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesRequest", { | ||
customer: { | ||
@@ -109,3 +109,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListFavoritesResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesResponse", { | ||
productsList: { | ||
@@ -118,3 +118,3 @@ __type: "TYPE_STRING", __repeated: true, | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ModifyShoppingCartItemsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ModifyShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -127,3 +127,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.RemoveShoppingCartItemsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.RemoveShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -136,3 +136,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -148,3 +148,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsResponse", { | ||
shoppingCartItemsList: { | ||
@@ -157,3 +157,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.CreateRecipientRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.CreateRecipientRequest", { | ||
customer: { | ||
@@ -169,3 +169,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.GetRecipientRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.GetRecipientRequest", { | ||
name: { | ||
@@ -175,3 +175,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.DeleteRecipientRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.DeleteRecipientRequest", { | ||
name: { | ||
@@ -181,3 +181,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.UpdateRecipientRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.UpdateRecipientRequest", { | ||
recipient: { | ||
@@ -187,3 +187,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListRecipientsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsRequest", { | ||
customer: { | ||
@@ -199,3 +199,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ListRecipientsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsResponse", { | ||
recipientsList: { | ||
@@ -208,3 +208,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order", { | ||
name: { | ||
@@ -235,3 +235,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status", { | ||
paid: { | ||
@@ -256,3 +256,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", { | ||
vendor: { | ||
@@ -268,3 +268,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Cancelled", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Cancelled", { | ||
reason: { | ||
@@ -277,3 +277,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Processed", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Processed", { | ||
processTime: { | ||
@@ -283,3 +283,3 @@ __type: "TYPE_MESSAGE", __typeName: ".google.protobuf.Timestamp", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.InTransit", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.InTransit", { | ||
trackingNumbersList: { | ||
@@ -292,3 +292,3 @@ __type: "TYPE_STRING", __repeated: true, | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Complete", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Complete", { | ||
completeTime: { | ||
@@ -298,3 +298,3 @@ __type: "TYPE_MESSAGE", __typeName: ".google.protobuf.Timestamp", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Refunded", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Refunded", { | ||
amount: { | ||
@@ -307,3 +307,3 @@ __type: "TYPE_MESSAGE", __typeName: ".google.type.Money", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Item", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Item", { | ||
product: { | ||
@@ -367,3 +367,3 @@ __type: "TYPE_STRING", __displayName: "产品名称", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Promotion", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion", { | ||
displayName: { | ||
@@ -385,3 +385,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Order.Promotion.GiveawayItems", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion.GiveawayItems", { | ||
giveawayItemsList: { | ||
@@ -391,3 +391,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Item", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Profile", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Profile", { | ||
avatarUrl: { | ||
@@ -406,3 +406,3 @@ __type: "TYPE_STRING", __displayName: "头像链接", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.Recipient", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.Recipient", { | ||
name: { | ||
@@ -427,3 +427,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", { | ||
product: { | ||
@@ -430,0 +430,0 @@ __type: "TYPE_STRING", __displayName: "对应的产品名称", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest", { | ||
itemsList: { | ||
@@ -17,3 +17,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", { | ||
product: { | ||
@@ -26,3 +26,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.OrderUpdateRecipientRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.OrderUpdateRecipientRequest", { | ||
order: { | ||
@@ -35,3 +35,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.CancelOrderRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.CancelOrderRequest", { | ||
name: { | ||
@@ -41,3 +41,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListOrdersRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersRequest", { | ||
customer: { | ||
@@ -53,3 +53,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListOrdersResponse", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersResponse", { | ||
ordersList: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Order", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.DeleteOrderRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.DeleteOrderRequest", { | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.GetOrderRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.GetOrderRequest", { | ||
name: { | ||
@@ -74,3 +74,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.FavoriteRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.FavoriteRequest", { | ||
customer: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.UndoFavoriteRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.UndoFavoriteRequest", { | ||
customer: { | ||
@@ -92,3 +92,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListFavoritesRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesRequest", { | ||
customer: { | ||
@@ -104,3 +104,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListFavoritesResponse", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesResponse", { | ||
productsList: { | ||
@@ -113,3 +113,3 @@ __type: "TYPE_STRING",__repeated: true, | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ModifyShoppingCartItemsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ModifyShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -122,3 +122,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.RemoveShoppingCartItemsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.RemoveShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -131,3 +131,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsRequest", { | ||
customer: { | ||
@@ -143,3 +143,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsResponse", { | ||
shoppingCartItemsList: { | ||
@@ -152,3 +152,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.CreateRecipientRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.CreateRecipientRequest", { | ||
customer: { | ||
@@ -164,3 +164,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.GetRecipientRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.GetRecipientRequest", { | ||
name: { | ||
@@ -170,3 +170,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.DeleteRecipientRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.DeleteRecipientRequest", { | ||
name: { | ||
@@ -176,3 +176,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.UpdateRecipientRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.UpdateRecipientRequest", { | ||
recipient: { | ||
@@ -182,3 +182,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListRecipientsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsRequest", { | ||
customer: { | ||
@@ -194,3 +194,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ListRecipientsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsResponse", { | ||
recipientsList: { | ||
@@ -203,3 +203,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order", { | ||
name: { | ||
@@ -230,3 +230,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status", { | ||
paid: { | ||
@@ -251,3 +251,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", { | ||
vendor: { | ||
@@ -263,3 +263,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Cancelled", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Cancelled", { | ||
reason: { | ||
@@ -272,3 +272,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Processed", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Processed", { | ||
processTime: { | ||
@@ -278,3 +278,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.InTransit", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.InTransit", { | ||
trackingNumbersList: { | ||
@@ -287,3 +287,3 @@ __type: "TYPE_STRING",__repeated: true, | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Complete", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Complete", { | ||
completeTime: { | ||
@@ -293,3 +293,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Status.Refunded", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Refunded", { | ||
amount: { | ||
@@ -302,3 +302,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.type.Money", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Item", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Item", { | ||
product: { | ||
@@ -362,3 +362,3 @@ __type: "TYPE_STRING",__displayName: "产品名称", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Promotion", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion", { | ||
displayName: { | ||
@@ -380,3 +380,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Order.Promotion.GiveawayItems", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion.GiveawayItems", { | ||
giveawayItemsList: { | ||
@@ -386,3 +386,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Item", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Profile", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Profile", { | ||
avatarUrl: { | ||
@@ -401,3 +401,3 @@ __type: "TYPE_STRING",__displayName: "头像链接", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.Recipient", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Recipient", { | ||
name: { | ||
@@ -422,3 +422,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", { | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", { | ||
product: { | ||
@@ -425,0 +425,0 @@ __type: "TYPE_STRING",__displayName: "对应的产品名称", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.CreateProductRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.CreateProductRequest", { | ||
merchant: { | ||
@@ -19,3 +19,3 @@ __type: "TYPE_STRING", __displayName: "商人名称", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.UpdateProductRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.UpdateProductRequest", { | ||
product: { | ||
@@ -25,3 +25,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListProductsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsRequest", { | ||
merchant: { | ||
@@ -40,3 +40,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListProductsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsResponse", { | ||
productsList: { | ||
@@ -49,3 +49,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListProductsPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsPageToken", { | ||
merchant: { | ||
@@ -61,3 +61,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.GetProductRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.GetProductRequest", { | ||
name: { | ||
@@ -67,3 +67,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.DeleteProductRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.DeleteProductRequest", { | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.UndeleteProductRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteProductRequest", { | ||
name: { | ||
@@ -79,3 +79,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.CreateVariantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.CreateVariantRequest", { | ||
product: { | ||
@@ -91,3 +91,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.UpdateVariantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.UpdateVariantRequest", { | ||
variant: { | ||
@@ -97,3 +97,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsRequest", { | ||
product: { | ||
@@ -112,3 +112,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsResponse", { | ||
variantsList: { | ||
@@ -121,3 +121,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsPageToken", { | ||
product: { | ||
@@ -133,3 +133,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.GetVariantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.GetVariantRequest", { | ||
name: { | ||
@@ -139,3 +139,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.DeleteVariantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.DeleteVariantRequest", { | ||
name: { | ||
@@ -145,3 +145,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.UndeleteVariantRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteVariantRequest", { | ||
name: { | ||
@@ -151,3 +151,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ModifyStockQuantityRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ModifyStockQuantityRequest", { | ||
name: { | ||
@@ -163,3 +163,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product", { | ||
name: { | ||
@@ -259,3 +259,3 @@ __type: "TYPE_STRING", __displayName: "name 包含父亲以及 id,如果是变种,那么父亲部分是另一个 product,", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.InStock", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.InStock", { | ||
oversellAllowed: { | ||
@@ -265,3 +265,3 @@ __type: "TYPE_BOOL", __displayName: "是否支持超卖", __description: "设置是否以 stock_quantity 作为严格限制,如果该选项为 true,当\nstock_quantity 为 0 时,用户仍可以继续下单,此时 stock_quantity\n会变为负数", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.PreOrder", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.PreOrder", { | ||
availabilityDate: { | ||
@@ -271,3 +271,3 @@ __type: "TYPE_MESSAGE", __typeName: ".google.protobuf.Timestamp", __displayName: "预订商品的发货日期", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.SalePrice", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SalePrice", { | ||
price: { | ||
@@ -283,3 +283,3 @@ __type: "TYPE_MESSAGE", __typeName: ".google.type.Money", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.LabelsEntry", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.LabelsEntry", { | ||
key: { | ||
@@ -292,3 +292,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.AgeGroup", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.AgeGroup", { | ||
__enumItems: [ | ||
@@ -303,3 +303,3 @@ { __name: "AGE_GROUP_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
__enumItems: [ | ||
@@ -312,3 +312,3 @@ { __name: "GENDER_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
__enumItems: [ | ||
@@ -329,3 +329,3 @@ { __name: "SIZE_SYSTEM_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
__enumItems: [ | ||
@@ -340,3 +340,3 @@ { __name: "SIZE_TYPE_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
merchant: { | ||
@@ -361,3 +361,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
ordersList: { | ||
@@ -370,3 +370,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.merchant.v1.Order", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersPageToken", { | ||
merchant: { | ||
@@ -385,4 +385,4 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersFilter", {}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.GetOrderRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersFilter", {}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.GetOrderRequest", { | ||
name: { | ||
@@ -392,3 +392,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.AddParcelsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.AddParcelsRequest", { | ||
order: { | ||
@@ -401,3 +401,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.DeleteParcelsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.DeleteParcelsRequest", { | ||
order: { | ||
@@ -410,3 +410,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Order", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Order", { | ||
name: { | ||
@@ -458,3 +458,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Order.Item", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item", { | ||
product: { | ||
@@ -488,3 +488,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", __displayName: "商品", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Order.Item.Discount", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item.Discount", { | ||
promotion: { | ||
@@ -500,3 +500,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Order.Parcel", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Order.Parcel", { | ||
itemsList: { | ||
@@ -512,3 +512,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", { | ||
product: { | ||
@@ -515,0 +515,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.CreateProductRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.CreateProductRequest", { | ||
merchant: { | ||
@@ -14,3 +14,3 @@ __type: "TYPE_STRING",__displayName: "商人名称", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.UpdateProductRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UpdateProductRequest", { | ||
product: { | ||
@@ -20,3 +20,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListProductsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsRequest", { | ||
merchant: { | ||
@@ -35,3 +35,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListProductsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsResponse", { | ||
productsList: { | ||
@@ -44,3 +44,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListProductsPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsPageToken", { | ||
merchant: { | ||
@@ -56,3 +56,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.GetProductRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetProductRequest", { | ||
name: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.DeleteProductRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteProductRequest", { | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.UndeleteProductRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteProductRequest", { | ||
name: { | ||
@@ -74,3 +74,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.CreateVariantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.CreateVariantRequest", { | ||
product: { | ||
@@ -86,3 +86,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.UpdateVariantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UpdateVariantRequest", { | ||
variant: { | ||
@@ -92,3 +92,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsRequest", { | ||
product: { | ||
@@ -107,3 +107,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsResponse", { | ||
variantsList: { | ||
@@ -116,3 +116,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListVariantsPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsPageToken", { | ||
product: { | ||
@@ -128,3 +128,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.GetVariantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetVariantRequest", { | ||
name: { | ||
@@ -134,3 +134,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.DeleteVariantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteVariantRequest", { | ||
name: { | ||
@@ -140,3 +140,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.UndeleteVariantRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteVariantRequest", { | ||
name: { | ||
@@ -146,3 +146,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ModifyStockQuantityRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ModifyStockQuantityRequest", { | ||
name: { | ||
@@ -158,3 +158,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product", { | ||
name: { | ||
@@ -254,3 +254,3 @@ __type: "TYPE_STRING",__displayName: "name 包含父亲以及 id,如果是变种,那么父亲部分是另一个 product,", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.InStock", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.InStock", { | ||
oversellAllowed: { | ||
@@ -260,3 +260,3 @@ __type: "TYPE_BOOL",__displayName: "是否支持超卖",__description: "设置是否以 stock_quantity 作为严格限制,如果该选项为 true,当\nstock_quantity 为 0 时,用户仍可以继续下单,此时 stock_quantity\n会变为负数", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.PreOrder", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.PreOrder", { | ||
availabilityDate: { | ||
@@ -266,3 +266,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp",__displayName: "预订商品的发货日期", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.SalePrice", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SalePrice", { | ||
price: { | ||
@@ -278,3 +278,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.type.Money", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.LabelsEntry", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.LabelsEntry", { | ||
key: { | ||
@@ -287,3 +287,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.AgeGroup", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.AgeGroup", { | ||
__enumItems: [ | ||
@@ -299,3 +299,3 @@ { __name: "AGE_GROUP_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
__enumItems: [ | ||
@@ -309,3 +309,3 @@ { __name: "GENDER_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
__enumItems: [ | ||
@@ -327,3 +327,3 @@ { __name: "SIZE_SYSTEM_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
__enumItems: [ | ||
@@ -339,3 +339,3 @@ { __name: "SIZE_TYPE_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
}), | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
merchant: { | ||
@@ -360,3 +360,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
ordersList: { | ||
@@ -369,3 +369,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Order", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersPageToken", { | ||
merchant: { | ||
@@ -384,5 +384,5 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.ListOrdersFilter", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersFilter", { | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.GetOrderRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetOrderRequest", { | ||
name: { | ||
@@ -392,3 +392,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.AddParcelsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.AddParcelsRequest", { | ||
order: { | ||
@@ -401,3 +401,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.DeleteParcelsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteParcelsRequest", { | ||
order: { | ||
@@ -410,3 +410,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Order", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order", { | ||
name: { | ||
@@ -458,3 +458,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Order.Item", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item", { | ||
product: { | ||
@@ -488,3 +488,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product",__displayName: "商品", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Order.Item.Discount", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item.Discount", { | ||
promotion: { | ||
@@ -500,3 +500,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Order.Parcel", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Parcel", { | ||
itemsList: { | ||
@@ -512,3 +512,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", { | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Parcel.Item", { | ||
product: { | ||
@@ -515,0 +515,0 @@ __type: "TYPE_STRING", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.CreateTagRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.CreateTagRequest", { | ||
storefront: { | ||
@@ -19,3 +19,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.UpdateTagRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.UpdateTagRequest", { | ||
tag: { | ||
@@ -25,3 +25,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListTagsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsRequest", { | ||
storefront: { | ||
@@ -31,3 +31,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListTagsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsResponse", { | ||
tagsList: { | ||
@@ -37,3 +37,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DeleteTagRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DeleteTagRequest", { | ||
name: { | ||
@@ -43,3 +43,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.GetTagRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.GetTagRequest", { | ||
name: { | ||
@@ -49,3 +49,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.Tag", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.Tag", { | ||
name: { | ||
@@ -70,3 +70,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.CreateDataFlowRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.CreateDataFlowRequest", { | ||
storefront: { | ||
@@ -82,3 +82,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.UpdateDataFlowRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.UpdateDataFlowRequest", { | ||
dataFlow: { | ||
@@ -88,3 +88,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListDataFlowsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsRequest", { | ||
storefront: { | ||
@@ -94,3 +94,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListDataFlowsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsResponse", { | ||
dataFlowsList: { | ||
@@ -100,3 +100,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.GetDataFlowRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.GetDataFlowRequest", { | ||
name: { | ||
@@ -106,3 +106,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DeleteDataFlowRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DeleteDataFlowRequest", { | ||
name: { | ||
@@ -112,3 +112,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow", { | ||
name: { | ||
@@ -130,3 +130,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", { | ||
proportionsList: { | ||
@@ -139,3 +139,3 @@ __type: "TYPE_INT32", __repeated: true, | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", { | ||
title: { | ||
@@ -151,3 +151,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Gallery", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Gallery", { | ||
imagesList: { | ||
@@ -157,3 +157,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Paragraph", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Paragraph", { | ||
content: { | ||
@@ -166,3 +166,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", { | ||
demux: { | ||
@@ -187,3 +187,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Component", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Component", { | ||
nodesList: { | ||
@@ -193,3 +193,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.CreateGoodsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.CreateGoodsRequest", { | ||
storefront: { | ||
@@ -205,3 +205,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.GetGoodsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.GetGoodsRequest", { | ||
name: { | ||
@@ -211,3 +211,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.UpdateGoodsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.UpdateGoodsRequest", { | ||
goods: { | ||
@@ -217,3 +217,3 @@ __type: "TYPE_MESSAGE", __typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsRequest", { | ||
storefront: { | ||
@@ -235,3 +235,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsFilter", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsFilter", { | ||
tag: { | ||
@@ -244,3 +244,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsPageToken", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsPageToken", { | ||
storefront: { | ||
@@ -274,3 +274,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsResponse", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsResponse", { | ||
goodsList: { | ||
@@ -283,3 +283,3 @@ __type: "TYPE_MESSAGE", __repeated: true, __typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.DeleteGoodsRequest", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.DeleteGoodsRequest", { | ||
name: { | ||
@@ -289,3 +289,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.Goods", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.Goods", { | ||
name: { | ||
@@ -310,3 +310,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.Goods.Product", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.Goods.Product", { | ||
name: { | ||
@@ -367,3 +367,3 @@ __type: "TYPE_STRING", | ||
}); | ||
schema_1.default.register("xrc.ecnova.marketplace.storefront.v1.Goods.Product.Availability", { | ||
schema_1.default.register(".xrc.ecnova.marketplace.storefront.v1.Goods.Product.Availability", { | ||
__enumItems: [ | ||
@@ -370,0 +370,0 @@ { __name: "AVAILABILITY_UNSPECIFIED", __number: 0, __displayName: "" }, |
import schema from '@xrc-inc/schema' | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.CreateTagRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateTagRequest", { | ||
storefront: { | ||
@@ -14,3 +14,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.UpdateTagRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateTagRequest", { | ||
tag: { | ||
@@ -20,3 +20,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListTagsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsRequest", { | ||
storefront: { | ||
@@ -26,3 +26,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListTagsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsResponse", { | ||
tagsList: { | ||
@@ -32,3 +32,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DeleteTagRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteTagRequest", { | ||
name: { | ||
@@ -38,3 +38,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.GetTagRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetTagRequest", { | ||
name: { | ||
@@ -44,3 +44,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.Tag", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Tag", { | ||
name: { | ||
@@ -65,3 +65,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.CreateDataFlowRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateDataFlowRequest", { | ||
storefront: { | ||
@@ -77,3 +77,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.UpdateDataFlowRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateDataFlowRequest", { | ||
dataFlow: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListDataFlowsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsRequest", { | ||
storefront: { | ||
@@ -89,3 +89,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListDataFlowsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsResponse", { | ||
dataFlowsList: { | ||
@@ -95,3 +95,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.GetDataFlowRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetDataFlowRequest", { | ||
name: { | ||
@@ -101,3 +101,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DeleteDataFlowRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteDataFlowRequest", { | ||
name: { | ||
@@ -107,3 +107,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow", { | ||
name: { | ||
@@ -125,3 +125,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", { | ||
proportionsList: { | ||
@@ -134,3 +134,3 @@ __type: "TYPE_INT32",__repeated: true, | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", { | ||
title: { | ||
@@ -146,3 +146,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Gallery", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Gallery", { | ||
imagesList: { | ||
@@ -152,3 +152,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Paragraph", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Paragraph", { | ||
content: { | ||
@@ -161,3 +161,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", { | ||
demux: { | ||
@@ -182,3 +182,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DataFlow.Component", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Component", { | ||
nodesList: { | ||
@@ -188,3 +188,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.CreateGoodsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateGoodsRequest", { | ||
storefront: { | ||
@@ -200,3 +200,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.GetGoodsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetGoodsRequest", { | ||
name: { | ||
@@ -206,3 +206,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.UpdateGoodsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateGoodsRequest", { | ||
goods: { | ||
@@ -212,3 +212,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsRequest", { | ||
storefront: { | ||
@@ -230,3 +230,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsFilter", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsFilter", { | ||
tag: { | ||
@@ -239,3 +239,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsPageToken", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsPageToken", { | ||
storefront: { | ||
@@ -269,3 +269,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.ListGoodsResponse", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsResponse", { | ||
goodsList: { | ||
@@ -278,3 +278,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.DeleteGoodsRequest", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteGoodsRequest", { | ||
name: { | ||
@@ -284,3 +284,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.Goods", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Goods", { | ||
name: { | ||
@@ -305,3 +305,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.Goods.Product", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Goods.Product", { | ||
name: { | ||
@@ -362,3 +362,3 @@ __type: "TYPE_STRING", | ||
}) | ||
schema.register("xrc.ecnova.marketplace.storefront.v1.Goods.Product.Availability", { | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Goods.Product.Availability", { | ||
__enumItems: [ | ||
@@ -365,0 +365,0 @@ { __name: "AVAILABILITY_UNSPECIFIED", __number: 0, __displayName: "" }, |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.Color", { | ||
schema_1.default.register(".google.type.Color", { | ||
red: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_FLOAT", __displayName: "The amount of red in the color as a value in the interval [0, 1].", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.Color", { | ||
schema.register(".google.type.Color", { | ||
red: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_FLOAT",__displayName: "The amount of red in the color as a value in the interval [0, 1].", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.Date", { | ||
schema_1.default.register(".google.type.Date", { | ||
year: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_INT32", __displayName: "Year of date. Must be from 1 to 9999, or 0 if specifying a date without", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.Date", { | ||
schema.register(".google.type.Date", { | ||
year: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_INT32",__displayName: "Year of date. Must be from 1 to 9999, or 0 if specifying a date without", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.LatLng", { | ||
schema_1.default.register(".google.type.LatLng", { | ||
latitude: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_DOUBLE", __displayName: "The latitude in degrees. It must be in the range [-90.0, +90.0].", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.LatLng", { | ||
schema.register(".google.type.LatLng", { | ||
latitude: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_DOUBLE",__displayName: "The latitude in degrees. It must be in the range [-90.0, +90.0].", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.Money", { | ||
schema_1.default.register(".google.type.Money", { | ||
currencyCode: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_STRING", __displayName: "The 3-letter currency code defined in ISO 4217.", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.Money", { | ||
schema.register(".google.type.Money", { | ||
currencyCode: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_STRING",__displayName: "The 3-letter currency code defined in ISO 4217.", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.PostalAddress", { | ||
schema_1.default.register(".google.type.PostalAddress", { | ||
revision: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_INT32", __displayName: "The schema revision of the `PostalAddress`.", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.PostalAddress", { | ||
schema.register(".google.type.PostalAddress", { | ||
revision: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_INT32",__displayName: "The schema revision of the `PostalAddress`.", |
@@ -7,3 +7,3 @@ "use strict"; | ||
const schema_1 = __importDefault(require("@xrc-inc/schema")); | ||
schema_1.default.register("google.type.TimeOfDay", { | ||
schema_1.default.register(".google.type.TimeOfDay", { | ||
hours: { | ||
@@ -10,0 +10,0 @@ __type: "TYPE_INT32", __displayName: "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose", |
import schema from '@xrc-inc/schema' | ||
schema.register("google.type.TimeOfDay", { | ||
schema.register(".google.type.TimeOfDay", { | ||
hours: { | ||
@@ -5,0 +5,0 @@ __type: "TYPE_INT32",__displayName: "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose", |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "tsc" |
2147156