@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.12 to 1.1.13
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -31,3 +31,3 @@ __type: "TYPE_STRING",__displayName: "markets/<market>/customers/<customer>", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.Customer.LabelsEntry", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
key: { | ||
@@ -41,3 +41,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.CreateCustomerRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -54,3 +54,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.UpdateCustomerRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -61,3 +61,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.DeleteCustomerRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.UndeleteCustomerRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -75,3 +75,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -91,3 +91,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customersList: { | ||
@@ -101,3 +101,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.customer.v1.Customer", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.GetCustomerRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -108,3 +108,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.customer.v1.ListCustomersPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -111,0 +111,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.Market", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -13,3 +13,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.CreateMarketRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
parent: { | ||
@@ -26,3 +26,3 @@ __type: "TYPE_STRING",__displayName: "市场的父亲可以是多种资源,目前仅支持 ResourceManager 系统中的资源", | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.GetMarketRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -33,3 +33,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.UpdateMarketRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -40,3 +40,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.market.v1.Market", | ||
schema.register(".xrc.ecnova.marketplace.admin.market.v1.DeleteMarketRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -43,0 +43,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -16,3 +16,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.CreateMerchantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -29,3 +29,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.UpdateMerchantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -36,3 +36,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -52,3 +52,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchantsList: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.merchant.v1.Merchant", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.DeleteMerchantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -69,3 +69,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.UndeleteMerchantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -76,3 +76,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.GetMerchantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.merchant.v1.ListMerchantsPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -86,0 +86,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -22,3 +22,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.CreateStorefrontRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -35,3 +35,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.UpdateStorefrontRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -42,3 +42,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -58,3 +58,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefrontsList: { | ||
@@ -68,3 +68,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.admin.storefront.v1.Storefront", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.GetStorefrontRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -75,3 +75,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.DeleteStorefrontRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -82,3 +82,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.UndeleteStorefrontRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -89,3 +89,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.admin.storefront.v1.ListStorefrontsPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
market: { | ||
@@ -92,0 +92,0 @@ __type: "TYPE_STRING", |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
itemsList: { | ||
@@ -19,3 +19,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.PlaceOrderRequest.Item", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -29,3 +29,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.OrderUpdateRecipientRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
order: { | ||
@@ -39,3 +39,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.CancelOrderRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -46,3 +46,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -59,3 +59,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListOrdersResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
ordersList: { | ||
@@ -69,3 +69,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Order", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.DeleteOrderRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -76,3 +76,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.GetOrderRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.FavoriteRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -93,3 +93,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.UndoFavoriteRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -103,3 +103,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -116,3 +116,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListFavoritesResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
productsList: { | ||
@@ -126,3 +126,3 @@ __type: "TYPE_STRING",__repeated: true, | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ModifyShoppingCartItemsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -136,3 +136,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.RemoveShoppingCartItemsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -146,3 +146,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -159,3 +159,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListShoppingCartItemsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
shoppingCartItemsList: { | ||
@@ -169,3 +169,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.CreateRecipientRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -182,3 +182,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.GetRecipientRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -189,3 +189,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.DeleteRecipientRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -196,3 +196,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.UpdateRecipientRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
recipient: { | ||
@@ -203,3 +203,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
customer: { | ||
@@ -216,3 +216,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ListRecipientsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
recipientsList: { | ||
@@ -226,3 +226,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Recipient", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -254,3 +254,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
paid: { | ||
@@ -276,3 +276,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Paid", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
vendor: { | ||
@@ -289,3 +289,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Cancelled", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
reason: { | ||
@@ -299,3 +299,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Processed", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
processTime: { | ||
@@ -306,3 +306,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.InTransit", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
trackingNumbersList: { | ||
@@ -316,3 +316,3 @@ __type: "TYPE_STRING",__repeated: true, | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Complete", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
completeTime: { | ||
@@ -323,3 +323,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Status.Refunded", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
amount: { | ||
@@ -333,3 +333,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.type.Money", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Item", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -394,3 +394,3 @@ __type: "TYPE_STRING",__displayName: "产品名称", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
displayName: { | ||
@@ -413,3 +413,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Order.Promotion.GiveawayItems", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
giveawayItemsList: { | ||
@@ -420,3 +420,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.customer.v1.Order.Item", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Profile", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
avatarUrl: { | ||
@@ -436,3 +436,3 @@ __type: "TYPE_STRING",__displayName: "头像链接", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.Recipient", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -458,3 +458,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.customer.v1.ShoppingCartItem", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -461,0 +461,0 @@ __type: "TYPE_STRING",__displayName: "对应的产品名称", |
@@ -302,61 +302,61 @@ "use strict"; | ||
] | ||
}), | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "GENDER_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "MALE", __number: 1, __displayName: "" }, | ||
{ __name: "FEMALE", __number: 2, __displayName: "" }, | ||
{ __name: "UNISEX", __number: 3, __displayName: "" }, | ||
] | ||
}), | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "SIZE_SYSTEM_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "US", __number: 1, __displayName: "" }, | ||
{ __name: "UK", __number: 2, __displayName: "" }, | ||
{ __name: "EU", __number: 3, __displayName: "" }, | ||
{ __name: "DE", __number: 4, __displayName: "" }, | ||
{ __name: "FR", __number: 5, __displayName: "" }, | ||
{ __name: "JP", __number: 6, __displayName: "" }, | ||
{ __name: "CN", __number: 7, __displayName: "" }, | ||
{ __name: "IT", __number: 8, __displayName: "" }, | ||
{ __name: "BR", __number: 9, __displayName: "" }, | ||
{ __name: "MEX", __number: 10, __displayName: "" }, | ||
{ __name: "AU", __number: 11, __displayName: "" }, | ||
] | ||
}), | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "SIZE_TYPE_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "REGULAR", __number: 1, __displayName: "标准" }, | ||
{ __name: "PETITE", __number: 2, __displayName: "小号" }, | ||
{ __name: "PLUS", __number: 3, __displayName: "加大" }, | ||
{ __name: "BIG_AND_TALL", __number: 4, __displayName: "加肥加大" }, | ||
{ __name: "MATERNITY", __number: 5, __displayName: "孕妇" }, | ||
] | ||
}), | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
__type: "TYPE_STRING", | ||
}, | ||
pageToken: { | ||
__type: "TYPE_STRING", | ||
}, | ||
pageSize: { | ||
__type: "TYPE_INT32", | ||
}, | ||
filter: { | ||
__type: "TYPE_STRING", | ||
}, | ||
orderBy: { | ||
__type: "TYPE_STRING", | ||
}, | ||
showDeleted: { | ||
__type: "TYPE_BOOL", | ||
}, | ||
}); | ||
}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "GENDER_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "MALE", __number: 1, __displayName: "" }, | ||
{ __name: "FEMALE", __number: 2, __displayName: "" }, | ||
{ __name: "UNISEX", __number: 3, __displayName: "" }, | ||
] | ||
}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "SIZE_SYSTEM_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "US", __number: 1, __displayName: "" }, | ||
{ __name: "UK", __number: 2, __displayName: "" }, | ||
{ __name: "EU", __number: 3, __displayName: "" }, | ||
{ __name: "DE", __number: 4, __displayName: "" }, | ||
{ __name: "FR", __number: 5, __displayName: "" }, | ||
{ __name: "JP", __number: 6, __displayName: "" }, | ||
{ __name: "CN", __number: 7, __displayName: "" }, | ||
{ __name: "IT", __number: 8, __displayName: "" }, | ||
{ __name: "BR", __number: 9, __displayName: "" }, | ||
{ __name: "MEX", __number: 10, __displayName: "" }, | ||
{ __name: "AU", __number: 11, __displayName: "" }, | ||
] | ||
}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
__type: "TYPE_ENUM", | ||
__enumItems: [ | ||
{ __name: "SIZE_TYPE_UNSPECIFIED", __number: 0, __displayName: "" }, | ||
{ __name: "REGULAR", __number: 1, __displayName: "标准" }, | ||
{ __name: "PETITE", __number: 2, __displayName: "小号" }, | ||
{ __name: "PLUS", __number: 3, __displayName: "加大" }, | ||
{ __name: "BIG_AND_TALL", __number: 4, __displayName: "加肥加大" }, | ||
{ __name: "MATERNITY", __number: 5, __displayName: "孕妇" }, | ||
] | ||
}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
__type: "TYPE_STRING", | ||
}, | ||
pageToken: { | ||
__type: "TYPE_STRING", | ||
}, | ||
pageSize: { | ||
__type: "TYPE_INT32", | ||
}, | ||
filter: { | ||
__type: "TYPE_STRING", | ||
}, | ||
orderBy: { | ||
__type: "TYPE_STRING", | ||
}, | ||
showDeleted: { | ||
__type: "TYPE_BOOL", | ||
}, | ||
}); | ||
schema_1.default.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
@@ -363,0 +363,0 @@ __type: "TYPE_MESSAGE", |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.CreateProductRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -16,3 +16,3 @@ __type: "TYPE_STRING",__displayName: "商人名称", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UpdateProductRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -23,3 +23,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -39,3 +39,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
productsList: { | ||
@@ -49,3 +49,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListProductsPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -62,3 +62,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetProductRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -69,3 +69,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteProductRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -76,3 +76,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteProductRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -83,3 +83,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.CreateVariantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -96,3 +96,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UpdateVariantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
variant: { | ||
@@ -103,3 +103,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -119,3 +119,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
variantsList: { | ||
@@ -129,3 +129,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListVariantsPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -142,3 +142,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetVariantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -149,3 +149,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteVariantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -156,3 +156,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.UndeleteVariantRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -163,3 +163,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ModifyStockQuantityRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -176,3 +176,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -273,3 +273,3 @@ __type: "TYPE_STRING",__displayName: "name 包含父亲以及 id,如果是变种,那么父亲部分是另一个 product,", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.InStock", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
oversellAllowed: { | ||
@@ -280,3 +280,3 @@ __type: "TYPE_BOOL",__displayName: "是否支持超卖",__description: "设置是否以 stock_quantity 作为严格限制,如果该选项为 true,当\nstock_quantity 为 0 时,用户仍可以继续下单,此时 stock_quantity\n会变为负数", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.PreOrder", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
availabilityDate: { | ||
@@ -287,3 +287,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.protobuf.Timestamp",__displayName: "预订商品的发货日期", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SalePrice", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
price: { | ||
@@ -300,3 +300,3 @@ __type: "TYPE_MESSAGE",__typeName: ".google.type.Money", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.LabelsEntry", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
key: { | ||
@@ -320,3 +320,3 @@ __type: "TYPE_STRING", | ||
] | ||
}), | ||
}) | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.Gender", { | ||
@@ -331,3 +331,3 @@ __type: "TYPE_ENUM", | ||
] | ||
}), | ||
}) | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeSystem", { | ||
@@ -350,3 +350,3 @@ __type: "TYPE_ENUM", | ||
] | ||
}), | ||
}) | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Product.SizeType", { | ||
@@ -363,5 +363,5 @@ __type: "TYPE_ENUM", | ||
] | ||
}), | ||
}) | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -387,3 +387,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
ordersList: { | ||
@@ -397,3 +397,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.merchant.v1.Order", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
merchant: { | ||
@@ -413,6 +413,6 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.ListOrdersFilter", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
}) | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.GetOrderRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -423,3 +423,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.AddParcelsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
order: { | ||
@@ -433,3 +433,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.DeleteParcelsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
order: { | ||
@@ -443,3 +443,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -492,3 +492,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -523,3 +523,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.merchant.v1.Product",__displayName: "商品", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Item.Discount", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
promotion: { | ||
@@ -536,3 +536,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.merchant.v1.Order.Parcel", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
itemsList: { | ||
@@ -549,3 +549,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", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
product: { | ||
@@ -552,0 +552,0 @@ __type: "TYPE_STRING", |
@@ -375,3 +375,2 @@ "use strict"; | ||
] | ||
}), | ||
; | ||
}); |
import schema from '@xrc-inc/schema' | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateTagRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -16,3 +16,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateTagRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
tag: { | ||
@@ -23,3 +23,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -30,3 +30,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListTagsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
tagsList: { | ||
@@ -37,3 +37,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.Tag", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteTagRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -44,3 +44,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetTagRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -51,3 +51,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Tag", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -73,3 +73,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateDataFlowRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -86,3 +86,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateDataFlowRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
dataFlow: { | ||
@@ -93,3 +93,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -100,3 +100,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListDataFlowsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
dataFlowsList: { | ||
@@ -107,3 +107,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetDataFlowRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -114,3 +114,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteDataFlowRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -121,3 +121,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -140,3 +140,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
proportionsList: { | ||
@@ -150,3 +150,3 @@ __type: "TYPE_INT32",__repeated: true, | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
title: { | ||
@@ -163,3 +163,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Gallery", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
imagesList: { | ||
@@ -170,3 +170,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Image", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Paragraph", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
content: { | ||
@@ -180,3 +180,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
demux: { | ||
@@ -202,3 +202,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Demux", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DataFlow.Component", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
nodesList: { | ||
@@ -209,3 +209,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.DataFlow.Node", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.CreateGoodsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -222,3 +222,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.GetGoodsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -229,3 +229,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.UpdateGoodsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
goods: { | ||
@@ -236,3 +236,3 @@ __type: "TYPE_MESSAGE",__typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -255,3 +255,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsFilter", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
tag: { | ||
@@ -265,3 +265,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsPageToken", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
storefront: { | ||
@@ -296,3 +296,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.ListGoodsResponse", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
goodsList: { | ||
@@ -306,3 +306,3 @@ __type: "TYPE_MESSAGE",__repeated: true,__typeName: ".xrc.ecnova.marketplace.storefront.v1.Goods", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.DeleteGoodsRequest", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -313,3 +313,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Goods", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -335,3 +335,3 @@ __type: "TYPE_STRING", | ||
schema.register(".xrc.ecnova.marketplace.storefront.v1.Goods.Product", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
name: { | ||
@@ -401,2 +401,2 @@ __type: "TYPE_STRING", | ||
] | ||
}), | ||
}) |
import schema from '@xrc-inc/schema' | ||
schema.register(".google.type.Color", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
red: { | ||
@@ -6,0 +6,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.Date", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
year: { | ||
@@ -6,0 +6,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.LatLng", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
latitude: { | ||
@@ -6,0 +6,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.Money", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
currencyCode: { | ||
@@ -6,0 +6,0 @@ __type: "TYPE_STRING",__displayName: "The 3-letter currency code defined in ISO 4217.", |
import schema from '@xrc-inc/schema' | ||
schema.register(".google.type.PostalAddress", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
revision: { | ||
@@ -6,0 +6,0 @@ __type: "TYPE_INT32",__displayName: "The schema revision of the `PostalAddress`.", |
import schema from '@xrc-inc/schema' | ||
schema.register(".google.type.TimeOfDay", { | ||
__type: "TYPE_MESSAGE", | ||
__type: "TYPE_MESSAGE", | ||
hours: { | ||
@@ -6,0 +6,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.12", | ||
"version": "1.1.13", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "tsc" |
2154675
53449