@xrc-inc/grpc-web
Advanced tools
Comparing version 1.1.45 to 1.1.46
@@ -16,9 +16,12 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "`authconns/<authconn_id>`", | ||
__displayName: "资源名称", | ||
__example: "authconns/<authconn_id>", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "显示名称", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
}, | ||
@@ -31,3 +34,3 @@ connection: { | ||
__typeName: ".xrc.ecnova.authconnect.type.OAuth2Config", | ||
__displayName: "oauth2 认证方式", | ||
__displayName: "oauth2 认证", | ||
}, | ||
@@ -37,3 +40,3 @@ wxauth: { | ||
__typeName: ".xrc.ecnova.authconnect.type.WXAuthConfig", | ||
__displayName: "微信 auth 认证方式", | ||
__displayName: "微信 auth 认证", | ||
}, | ||
@@ -43,3 +46,3 @@ smsauth: { | ||
__typeName: ".xrc.ecnova.authconnect.type.SMSAuthConfig", | ||
__displayName: "短信验证码认证方式", | ||
__displayName: "短信验证码认证", | ||
}, | ||
@@ -53,3 +56,4 @@ }, | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "id 通过用户传递,是 AuthConn 在诺闻系统中的唯一标识。", | ||
__displayName: "ID", | ||
__description: "指定一个 ID,如果不指定则随机生成。", | ||
}, | ||
@@ -72,3 +76,4 @@ authConn: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "`authconns/<authconn_id>`", | ||
__displayName: "资源名称", | ||
__example: "authconns/<authconn_id>", | ||
}, | ||
@@ -80,4 +85,5 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "`authconns/<authconn_id>`", | ||
__displayName: "资源名称", | ||
__example: "authconns/<authconn_id>", | ||
}, | ||
}); |
@@ -16,7 +16,8 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "auth conn 名称", | ||
}, | ||
redirectUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "如果在 oauth2 流程中使用 auth connect 的 callback 地址,该地址在认证了用户身", | ||
__example: "份后,会将 identity token 通过 redirect url 返回给客户端", | ||
__displayName: "重定向 url", | ||
__description: "如果在 oauth2 流程中使用 auth connect 的 callback", | ||
}, | ||
@@ -28,2 +29,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "授权码 url", | ||
}, | ||
@@ -35,8 +37,11 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "auth conn 名称", | ||
}, | ||
code: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "码", | ||
}, | ||
state: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "状态", | ||
}, | ||
@@ -48,2 +53,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "auth conn 名称", | ||
}, | ||
@@ -53,3 +59,4 @@ accessToken: { | ||
__typeName: ".xrc.ecnova.type.Token", | ||
__displayName: "Access Token", | ||
}, | ||
}); |
@@ -16,6 +16,8 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
phoneNumber: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "登录的手机号 (in E.164 format)", | ||
__displayName: "登录手机号", | ||
__description: "in E.164 format", | ||
}, | ||
@@ -27,6 +29,8 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
phoneNumber: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "登录的手机号 (in E.164 format)", | ||
__displayName: "登录手机号", | ||
__description: "in E.164 format", | ||
}, | ||
@@ -33,0 +37,0 @@ code: { |
@@ -16,20 +16,24 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标识原站应用的 client_id。", | ||
__displayName: "Client ID", | ||
__description: "标识原站应用的 client_id。", | ||
}, | ||
clientSecret: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "TODO(yan.dong) encrypt client secret", | ||
__example: "标识原站应用的 client_secret。", | ||
__displayName: "Client Secret", | ||
__description: "标识原站应用的 client_secret。", | ||
}, | ||
authUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "用于授权原站身份信息的 url。", | ||
__displayName: "授权 URL", | ||
__description: "用于授权原站身份信息的 url。", | ||
}, | ||
tokenUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "用于通过 code 和 state 换取原站的 access_token 的 url。", | ||
__displayName: "Token URL", | ||
__description: "用于通过 code 和 state 换取原站的 access_token 的 url。", | ||
}, | ||
redirectUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "原站会把 code 和 state 通过 redirect 方式传递给该地址,通常情况下,该地址会设置为 /oauth2/callback。", | ||
__displayName: "重定向地址", | ||
__description: "原站会把 code 和 state 通过 redirect", | ||
}, | ||
@@ -39,7 +43,8 @@ scopesList: { | ||
__repeated: true, | ||
__displayName: "原站认证的需要的 oauth2 scopes,将会出现在让用户授权的 consent 页面上。", | ||
__displayName: "Scopes", | ||
__description: "原站认证的需要的 oauth2 scopes。", | ||
}, | ||
authenticator: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "表示原站的认证方式。", | ||
__displayName: "原站认证方式", | ||
}, | ||
@@ -50,3 +55,4 @@ authenticatorArgumentsList: { | ||
__typeName: ".xrc.ecnova.authconnect.type.OAuth2Config.AuthenticatorArgumentsEntry", | ||
__displayName: "某些网站在进行认证的时候,需要传入一些参数。", | ||
__displayName: "认证参数", | ||
__description: "某些第三方平台在进行微信认证时,需要传入的一些参数。", | ||
}, | ||
@@ -53,0 +59,0 @@ }); |
@@ -16,11 +16,14 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "微信平台的唯一标识。", | ||
__displayName: "App ID", | ||
__description: "微信平台的唯一标识。", | ||
}, | ||
appSecret: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "微信平台的 secret。", | ||
__displayName: "App Secret", | ||
__description: "微信平台的 secret。", | ||
}, | ||
redirectUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "微信会把 code 和 state 通过 redirect 方式传递给该地址,通常情况下,该地址会设置为 /wxauth/callback。", | ||
__displayName: "重定向地址", | ||
__description: "微信会把 code 和 state 通过 redirect", | ||
}, | ||
@@ -33,3 +36,5 @@ scope: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "表示使用微信认证的第三方平台,如 36kr,如果不填写该字段,将会使用 openid 认证。", | ||
__displayName: "认证", | ||
__example: "36kr", | ||
__description: "表示使用微信认证的第三方平台,如果不填写该字段,将会使用 openid 认证。", | ||
}, | ||
@@ -40,3 +45,4 @@ authenticatorArgumentsList: { | ||
__typeName: ".xrc.ecnova.authconnect.type.WXAuthConfig.AuthenticatorArgumentsEntry", | ||
__displayName: "某些第三方平台在进行微信认证时,需要传入的一些参数。", | ||
__displayName: "认证参数", | ||
__description: "某些第三方平台在进行微信认证时,需要传入的一些参数。", | ||
}, | ||
@@ -43,0 +49,0 @@ }); |
@@ -16,3 +16,3 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "授权的 audience", | ||
__displayName: "Audience", | ||
}, | ||
@@ -22,3 +22,3 @@ scopesList: { | ||
__repeated: true, | ||
__displayName: "授权的 scopes", | ||
__displayName: "Scopes", | ||
}, | ||
@@ -30,6 +30,8 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
email: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "邮箱", | ||
}, | ||
}); |
@@ -16,7 +16,8 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
redirectUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "如果在微信认证流程中使用 auth connect 的 callback 地址,该地址在认证了用户身", | ||
__example: "份后,会将 identity token 通过 redirect url 返回给客户端", | ||
__displayName: "重定向地址", | ||
__description: "如果在微信认证流程中使用 auth connect 的 callback", | ||
}, | ||
@@ -28,2 +29,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "授权码地址", | ||
}, | ||
@@ -35,7 +37,8 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
redirectUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "如果在微信认证流程中使用 auth connect 的 callback 地址,该地址在认证了用户身", | ||
__example: "份后,会将 identity token 通过 redirect url 返回给客户端", | ||
__displayName: "重定向地址", | ||
__description: "如果在微信认证流程中使用 auth connect 的 callback", | ||
}, | ||
@@ -47,2 +50,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "扫码授权码地址", | ||
}, | ||
@@ -54,8 +58,12 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
code: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Code", | ||
__description: "微信返回的 code", | ||
}, | ||
state: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "State", | ||
}, | ||
@@ -67,5 +75,7 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
code: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Code", | ||
}, | ||
@@ -77,2 +87,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Auth Connection", | ||
}, | ||
@@ -82,3 +93,4 @@ accessToken: { | ||
__typeName: ".xrc.ecnova.type.Token", | ||
__displayName: "Access Token", | ||
}, | ||
}); |
@@ -16,7 +16,8 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "zones/<id>", | ||
__displayName: "资源名称", | ||
__example: "zones/<id>", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "名称", | ||
__displayName: "展示名称", | ||
}, | ||
@@ -34,3 +35,3 @@ description: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否删除", | ||
__displayName: "是否已删除", | ||
}, | ||
@@ -59,2 +60,4 @@ mailbox: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "zones/<id>", | ||
}, | ||
@@ -67,2 +70,4 @@ }); | ||
__repeated: true, | ||
__displayName: "资源名称", | ||
__example: "zones/<id>", | ||
}, | ||
@@ -89,2 +94,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "zones/<id>", | ||
}, | ||
@@ -96,3 +103,5 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "zones/<id>", | ||
}, | ||
}); |
@@ -16,14 +16,19 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标题", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
}, | ||
auditSubject: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "audit subject", | ||
}, | ||
avatarUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "头像网址", | ||
}, | ||
predicate: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "predicate", | ||
}, | ||
@@ -30,0 +35,0 @@ labelsList: { |
@@ -55,3 +55,4 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "zones/<zone>/services/<service>/resources/<id>", | ||
__displayName: "资源名称", | ||
__example: "zones/<zone>/services/<service>/resources/<id>", | ||
}, | ||
@@ -75,2 +76,3 @@ displayName: { | ||
__displayName: "创建时间", | ||
__description: "只读。", | ||
}, | ||
@@ -81,2 +83,3 @@ deleteTime: { | ||
__displayName: "删除时间", | ||
__description: "只读。", | ||
}, | ||
@@ -91,3 +94,3 @@ fullResourceName: { | ||
__displayName: "是否是分享的资源", | ||
__description: "只读,创建和更新不可修改该字段。", | ||
__description: "只读。", | ||
}, | ||
@@ -195,2 +198,3 @@ underlyingResource: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "service 名称", | ||
}, | ||
@@ -211,2 +215,4 @@ id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "zones/<zone>/services/<service>/resources/<id>", | ||
}, | ||
@@ -218,2 +224,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "zones/<zone>/services/<service>/resources/<id>", | ||
}, | ||
@@ -232,2 +240,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "service 名称", | ||
}, | ||
@@ -242,2 +251,3 @@ pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "过滤方式", | ||
}, | ||
@@ -260,5 +270,7 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "service 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Id", | ||
}, | ||
@@ -283,2 +295,3 @@ includeShared: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "zone 名称", | ||
}, | ||
@@ -307,6 +320,8 @@ pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "zone 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Id", | ||
}, | ||
}); |
@@ -12,2 +12,20 @@ "use strict"; | ||
const schema = __importStar(require("@xrc-inc/schema")); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.BatchGetPageComponentsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
idsList: { | ||
__type: schema.Types.TYPE_STRING, | ||
__repeated: true, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.BatchGetPageComponentsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
pageComponentsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.PageComponent", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.GetLandingPageRequest", { | ||
@@ -34,2 +52,15 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.Page", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "storefronts/<public_id>/pages/<id>", | ||
}, | ||
data: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "数据", | ||
__description: "该数据须符合模板中 json schema 描述的数据格式。", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.Storefront", { | ||
@@ -66,2 +97,7 @@ __type: schema.Types.TYPE_MESSAGE, | ||
}, | ||
defaultRecipient: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Recipient", | ||
__displayName: "默认收件人", | ||
}, | ||
}); | ||
@@ -427,1 +463,70 @@ schema.register(".xrc.ecnova.marketplace.buy.v1.GetMyProfileRequest", { | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.CreateRecipientRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "storefronts/<public_id>", | ||
}, | ||
recipient: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Recipient", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.UpdateRecipientRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
recipient: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Recipient", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.Recipient", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "storefronts/<public_id>/customers/<customer_id>/recipients/<id>", | ||
}, | ||
fullName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "姓名", | ||
}, | ||
phoneNumber: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码", | ||
}, | ||
email: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "邮箱", | ||
}, | ||
postalAddress: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__typeName: ".google.type.PostalAddress", | ||
__displayName: "收件地址", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.ListRecipientsRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
storefront: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.ListRecipientsResponse", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
recipientsList: { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
__repeated: true, | ||
__typeName: ".xrc.ecnova.marketplace.buy.v1.Recipient", | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.DeleteRecipientRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); | ||
schema.register(".xrc.ecnova.marketplace.buy.v1.UpdateDefaultRecipientRequest", { | ||
__type: schema.Types.TYPE_MESSAGE, | ||
name: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
}); |
@@ -69,5 +69,53 @@ import * as ecnova_api_marketplace_buy_v1_buy_proto_buy_pb from "../../../../../../ecnova/api/marketplace/buy/v1/buy_proto/buy_pb"; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.GetLandingPageRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.PageComponent; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Page; | ||
} | ||
class BatchGetPageComponent { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.BatchGetPageComponentsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.BatchGetPageComponentsResponse; | ||
} | ||
class CreateRecipient { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.CreateRecipientRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Recipient; | ||
} | ||
class ListRecipients { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.ListRecipientsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.ListRecipientsResponse; | ||
} | ||
class UpdateRecipient { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.UpdateRecipientRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Recipient; | ||
} | ||
class DeleteRecipient { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.DeleteRecipientRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class UpdateDefaultRecipient { | ||
static readonly methodName: string; | ||
static readonly service: typeof BuyService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.UpdateDefaultRecipientRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
} | ||
//# sourceMappingURL=buy_pb_service.d.ts.map |
@@ -89,4 +89,58 @@ "use strict"; | ||
GetLandingPage.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.GetLandingPageRequest; | ||
GetLandingPage.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.PageComponent; | ||
GetLandingPage.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Page; | ||
BuyService.GetLandingPage = GetLandingPage; | ||
class BatchGetPageComponent { | ||
} | ||
BatchGetPageComponent.methodName = "BatchGetPageComponent"; | ||
BatchGetPageComponent.service = BuyService; | ||
BatchGetPageComponent.requestStream = false; | ||
BatchGetPageComponent.responseStream = false; | ||
BatchGetPageComponent.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.BatchGetPageComponentsRequest; | ||
BatchGetPageComponent.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.BatchGetPageComponentsResponse; | ||
BuyService.BatchGetPageComponent = BatchGetPageComponent; | ||
class CreateRecipient { | ||
} | ||
CreateRecipient.methodName = "CreateRecipient"; | ||
CreateRecipient.service = BuyService; | ||
CreateRecipient.requestStream = false; | ||
CreateRecipient.responseStream = false; | ||
CreateRecipient.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.CreateRecipientRequest; | ||
CreateRecipient.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Recipient; | ||
BuyService.CreateRecipient = CreateRecipient; | ||
class ListRecipients { | ||
} | ||
ListRecipients.methodName = "ListRecipients"; | ||
ListRecipients.service = BuyService; | ||
ListRecipients.requestStream = false; | ||
ListRecipients.responseStream = false; | ||
ListRecipients.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.ListRecipientsRequest; | ||
ListRecipients.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.ListRecipientsResponse; | ||
BuyService.ListRecipients = ListRecipients; | ||
class UpdateRecipient { | ||
} | ||
UpdateRecipient.methodName = "UpdateRecipient"; | ||
UpdateRecipient.service = BuyService; | ||
UpdateRecipient.requestStream = false; | ||
UpdateRecipient.responseStream = false; | ||
UpdateRecipient.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.UpdateRecipientRequest; | ||
UpdateRecipient.responseType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.Recipient; | ||
BuyService.UpdateRecipient = UpdateRecipient; | ||
class DeleteRecipient { | ||
} | ||
DeleteRecipient.methodName = "DeleteRecipient"; | ||
DeleteRecipient.service = BuyService; | ||
DeleteRecipient.requestStream = false; | ||
DeleteRecipient.responseStream = false; | ||
DeleteRecipient.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.DeleteRecipientRequest; | ||
DeleteRecipient.responseType = google_protobuf_empty_pb.Empty; | ||
BuyService.DeleteRecipient = DeleteRecipient; | ||
class UpdateDefaultRecipient { | ||
} | ||
UpdateDefaultRecipient.methodName = "UpdateDefaultRecipient"; | ||
UpdateDefaultRecipient.service = BuyService; | ||
UpdateDefaultRecipient.requestStream = false; | ||
UpdateDefaultRecipient.responseStream = false; | ||
UpdateDefaultRecipient.requestType = ecnova_api_marketplace_buy_v1_buy_proto_buy_pb.UpdateDefaultRecipientRequest; | ||
UpdateDefaultRecipient.responseType = google_protobuf_empty_pb.Empty; | ||
BuyService.UpdateDefaultRecipient = UpdateDefaultRecipient; | ||
})(BuyService = exports.BuyService || (exports.BuyService = {})); |
@@ -7,2 +7,3 @@ // package: xrc.ecnova.marketplace.buy.v1 | ||
import * as google_type_money_pb from "../../../../../../google/type/money_pb"; | ||
import * as google_type_postal_address_pb from "../../../../../../google/type/postal_address_pb"; | ||
import * as google_api_annotations_pb from "../../../../../../google/api/annotations_pb"; | ||
@@ -16,2 +17,50 @@ import * as ecnova_api_marketplace_type_energyefficiencyclass_energyefficiencyclass_proto_energyefficiencyclass_pb from "../../../../../../ecnova/api/marketplace/type/energyefficiencyclass/energyefficiencyclass_proto/energyefficiencyclass_pb"; | ||
export class BatchGetPageComponentsRequest extends jspb.Message { | ||
getStorefront(): string; | ||
setStorefront(value: string): void; | ||
clearIdsList(): void; | ||
getIdsList(): Array<string>; | ||
setIdsList(value: Array<string>): void; | ||
addIds(value: string, index?: number): string; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): BatchGetPageComponentsRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: BatchGetPageComponentsRequest): BatchGetPageComponentsRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: BatchGetPageComponentsRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): BatchGetPageComponentsRequest; | ||
static deserializeBinaryFromReader(message: BatchGetPageComponentsRequest, reader: jspb.BinaryReader): BatchGetPageComponentsRequest; | ||
} | ||
export namespace BatchGetPageComponentsRequest { | ||
export type AsObject = { | ||
storefront: string, | ||
idsList: Array<string>, | ||
} | ||
} | ||
export class BatchGetPageComponentsResponse extends jspb.Message { | ||
clearPageComponentsList(): void; | ||
getPageComponentsList(): Array<PageComponent>; | ||
setPageComponentsList(value: Array<PageComponent>): void; | ||
addPageComponents(value?: PageComponent, index?: number): PageComponent; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): BatchGetPageComponentsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: BatchGetPageComponentsResponse): BatchGetPageComponentsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: BatchGetPageComponentsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): BatchGetPageComponentsResponse; | ||
static deserializeBinaryFromReader(message: BatchGetPageComponentsResponse, reader: jspb.BinaryReader): BatchGetPageComponentsResponse; | ||
} | ||
export namespace BatchGetPageComponentsResponse { | ||
export type AsObject = { | ||
pageComponentsList: Array<PageComponent.AsObject>, | ||
} | ||
} | ||
export class GetLandingPageRequest extends jspb.Message { | ||
@@ -61,2 +110,26 @@ getStorefront(): string; | ||
export class Page extends jspb.Message { | ||
getName(): string; | ||
setName(value: string): void; | ||
getData(): string; | ||
setData(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): Page.AsObject; | ||
static toObject(includeInstance: boolean, msg: Page): Page.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: Page, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): Page; | ||
static deserializeBinaryFromReader(message: Page, reader: jspb.BinaryReader): Page; | ||
} | ||
export namespace Page { | ||
export type AsObject = { | ||
name: string, | ||
data: string, | ||
} | ||
} | ||
export class Storefront extends jspb.Message { | ||
@@ -102,2 +175,7 @@ getName(): string; | ||
hasDefaultRecipient(): boolean; | ||
clearDefaultRecipient(): void; | ||
getDefaultRecipient(): Recipient | undefined; | ||
setDefaultRecipient(value?: Recipient): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -118,2 +196,3 @@ toObject(includeInstance?: boolean): MyProfile.AsObject; | ||
nickName: string, | ||
defaultRecipient?: Recipient.AsObject, | ||
} | ||
@@ -662,1 +741,169 @@ } | ||
export class CreateRecipientRequest extends jspb.Message { | ||
getStorefront(): string; | ||
setStorefront(value: string): void; | ||
hasRecipient(): boolean; | ||
clearRecipient(): void; | ||
getRecipient(): Recipient | undefined; | ||
setRecipient(value?: Recipient): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): CreateRecipientRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: CreateRecipientRequest): CreateRecipientRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: CreateRecipientRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): CreateRecipientRequest; | ||
static deserializeBinaryFromReader(message: CreateRecipientRequest, reader: jspb.BinaryReader): CreateRecipientRequest; | ||
} | ||
export namespace CreateRecipientRequest { | ||
export type AsObject = { | ||
storefront: string, | ||
recipient?: Recipient.AsObject, | ||
} | ||
} | ||
export class UpdateRecipientRequest extends jspb.Message { | ||
hasRecipient(): boolean; | ||
clearRecipient(): void; | ||
getRecipient(): Recipient | undefined; | ||
setRecipient(value?: Recipient): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): UpdateRecipientRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: UpdateRecipientRequest): UpdateRecipientRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: UpdateRecipientRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): UpdateRecipientRequest; | ||
static deserializeBinaryFromReader(message: UpdateRecipientRequest, reader: jspb.BinaryReader): UpdateRecipientRequest; | ||
} | ||
export namespace UpdateRecipientRequest { | ||
export type AsObject = { | ||
recipient?: Recipient.AsObject, | ||
} | ||
} | ||
export class Recipient extends jspb.Message { | ||
getName(): string; | ||
setName(value: string): void; | ||
getFullName(): string; | ||
setFullName(value: string): void; | ||
getPhoneNumber(): string; | ||
setPhoneNumber(value: string): void; | ||
getEmail(): string; | ||
setEmail(value: string): void; | ||
hasPostalAddress(): boolean; | ||
clearPostalAddress(): void; | ||
getPostalAddress(): google_type_postal_address_pb.PostalAddress | undefined; | ||
setPostalAddress(value?: google_type_postal_address_pb.PostalAddress): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): Recipient.AsObject; | ||
static toObject(includeInstance: boolean, msg: Recipient): Recipient.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: Recipient, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): Recipient; | ||
static deserializeBinaryFromReader(message: Recipient, reader: jspb.BinaryReader): Recipient; | ||
} | ||
export namespace Recipient { | ||
export type AsObject = { | ||
name: string, | ||
fullName: string, | ||
phoneNumber: string, | ||
email: string, | ||
postalAddress?: google_type_postal_address_pb.PostalAddress.AsObject, | ||
} | ||
} | ||
export class ListRecipientsRequest extends jspb.Message { | ||
getStorefront(): string; | ||
setStorefront(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListRecipientsRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListRecipientsRequest): ListRecipientsRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListRecipientsRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListRecipientsRequest; | ||
static deserializeBinaryFromReader(message: ListRecipientsRequest, reader: jspb.BinaryReader): ListRecipientsRequest; | ||
} | ||
export namespace ListRecipientsRequest { | ||
export type AsObject = { | ||
storefront: string, | ||
} | ||
} | ||
export class ListRecipientsResponse extends jspb.Message { | ||
clearRecipientsList(): void; | ||
getRecipientsList(): Array<Recipient>; | ||
setRecipientsList(value: Array<Recipient>): void; | ||
addRecipients(value?: Recipient, index?: number): Recipient; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): ListRecipientsResponse.AsObject; | ||
static toObject(includeInstance: boolean, msg: ListRecipientsResponse): ListRecipientsResponse.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: ListRecipientsResponse, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): ListRecipientsResponse; | ||
static deserializeBinaryFromReader(message: ListRecipientsResponse, reader: jspb.BinaryReader): ListRecipientsResponse; | ||
} | ||
export namespace ListRecipientsResponse { | ||
export type AsObject = { | ||
recipientsList: Array<Recipient.AsObject>, | ||
} | ||
} | ||
export class DeleteRecipientRequest extends jspb.Message { | ||
getName(): string; | ||
setName(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): DeleteRecipientRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: DeleteRecipientRequest): DeleteRecipientRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: DeleteRecipientRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): DeleteRecipientRequest; | ||
static deserializeBinaryFromReader(message: DeleteRecipientRequest, reader: jspb.BinaryReader): DeleteRecipientRequest; | ||
} | ||
export namespace DeleteRecipientRequest { | ||
export type AsObject = { | ||
name: string, | ||
} | ||
} | ||
export class UpdateDefaultRecipientRequest extends jspb.Message { | ||
getName(): string; | ||
setName(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
toObject(includeInstance?: boolean): UpdateDefaultRecipientRequest.AsObject; | ||
static toObject(includeInstance: boolean, msg: UpdateDefaultRecipientRequest): UpdateDefaultRecipientRequest.AsObject; | ||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; | ||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; | ||
static serializeBinaryToWriter(message: UpdateDefaultRecipientRequest, writer: jspb.BinaryWriter): void; | ||
static deserializeBinary(bytes: Uint8Array): UpdateDefaultRecipientRequest; | ||
static deserializeBinaryFromReader(message: UpdateDefaultRecipientRequest, reader: jspb.BinaryReader): UpdateDefaultRecipientRequest; | ||
} | ||
export namespace UpdateDefaultRecipientRequest { | ||
export type AsObject = { | ||
name: string, | ||
} | ||
} | ||
@@ -41,2 +41,7 @@ "use strict"; | ||
}, | ||
defaultRecipient: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "默认收件人", | ||
__description: "该用户的默认收件人 ID", | ||
}, | ||
}); | ||
@@ -43,0 +48,0 @@ schema.register(".xrc.ecnova.marketplace.membership.admin.customer.v1.Customer.Sex", { |
@@ -29,2 +29,5 @@ // package: xrc.ecnova.marketplace.membership.admin.customer.v1 | ||
getDefaultRecipient(): string; | ||
setDefaultRecipient(value: string): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -48,2 +51,3 @@ toObject(includeInstance?: boolean): Customer.AsObject; | ||
bio: string, | ||
defaultRecipient: string, | ||
} | ||
@@ -50,0 +54,0 @@ |
@@ -77,3 +77,4 @@ /** | ||
birthday: (f = msg.getBirthday()) && google_type_date_pb.Date.toObject(includeInstance, f), | ||
bio: jspb.Message.getFieldWithDefault(msg, 6, "") | ||
bio: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
defaultRecipient: jspb.Message.getFieldWithDefault(msg, 7, "") | ||
}; | ||
@@ -140,2 +141,6 @@ | ||
break; | ||
case 7: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setDefaultRecipient(value); | ||
break; | ||
default: | ||
@@ -213,2 +218,9 @@ reader.skipField(); | ||
} | ||
f = message.getDefaultRecipient(); | ||
if (f.length > 0) { | ||
writer.writeString( | ||
7, | ||
f | ||
); | ||
} | ||
}; | ||
@@ -331,3 +343,18 @@ | ||
/** | ||
* optional string default_recipient = 7; | ||
* @return {string} | ||
*/ | ||
proto.xrc.ecnova.marketplace.membership.admin.customer.v1.Customer.prototype.getDefaultRecipient = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); | ||
}; | ||
/** @param {string} value */ | ||
proto.xrc.ecnova.marketplace.membership.admin.customer.v1.Customer.prototype.setDefaultRecipient = function(value) { | ||
jspb.Message.setField(this, 7, value); | ||
}; | ||
/** | ||
@@ -334,0 +361,0 @@ * Generated by JsPbCodeGenerator. |
@@ -41,7 +41,7 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "ID", | ||
__displayName: "配送者 ID", | ||
__description: "指定一个 ID,如果不指定则随机生成。", | ||
@@ -73,3 +73,3 @@ }, | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
@@ -101,7 +101,7 @@ pageSize: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "distributor id", | ||
__displayName: "配送者 ID", | ||
}, | ||
@@ -108,0 +108,0 @@ showDeleted: { |
@@ -32,3 +32,3 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "ID", | ||
__displayName: "商户 ID", | ||
__description: "指定一个 ID,如果不指定则随机生成。", | ||
@@ -35,0 +35,0 @@ }, |
@@ -40,9 +40,7 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "image URL", | ||
__description: "店铺图片地址。", | ||
__displayName: "店铺图片 url", | ||
}, | ||
logoUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "logo URL", | ||
__description: "店铺 logo 地址。", | ||
__displayName: "店铺 logo url", | ||
}, | ||
@@ -61,3 +59,3 @@ deleted: { | ||
__displayName: "店铺首页", | ||
__description: "该字段是一个 component name,且必须属于此 storefront。", | ||
__description: "该字段是一个 page id,且必须属于此 storefront。", | ||
}, | ||
@@ -73,7 +71,7 @@ themeJsonSchema: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "ID", | ||
__displayName: "店铺 ID", | ||
__description: "指定一个 ID,如果不指定则随机生成。", | ||
@@ -121,3 +119,3 @@ }, | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
@@ -130,2 +128,6 @@ pageSize: { | ||
}, | ||
showDeleted: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否展示已删除", | ||
}, | ||
}); | ||
@@ -147,3 +149,3 @@ schema.register(".xrc.ecnova.marketplace.merchants.admin.storefront.v1.ListStorefrontsResponse", { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "merchant 名称", | ||
__displayName: "商户名称", | ||
}, | ||
@@ -154,2 +156,6 @@ id: { | ||
}, | ||
showDeleted: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否展示已删除", | ||
}, | ||
}); |
@@ -188,2 +188,5 @@ // package: xrc.ecnova.marketplace.merchants.admin.storefront.v1 | ||
getShowDeleted(): boolean; | ||
setShowDeleted(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -204,2 +207,3 @@ toObject(includeInstance?: boolean): ListStorefrontsRequest.AsObject; | ||
pageToken: string, | ||
showDeleted: boolean, | ||
} | ||
@@ -241,2 +245,5 @@ } | ||
getShowDeleted(): boolean; | ||
setShowDeleted(value: boolean): void; | ||
serializeBinary(): Uint8Array; | ||
@@ -256,4 +263,5 @@ toObject(includeInstance?: boolean): ListStorefrontsPageToken.AsObject; | ||
id: string, | ||
showDeleted: boolean, | ||
} | ||
} | ||
@@ -279,2 +279,18 @@ import * as ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb from "../../../../../../ecnova/api/marketplace/merchants/v1/merchants_proto/merchants_pb"; | ||
} | ||
class UpdateOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Order; | ||
} | ||
class SearchOrders { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchOrdersRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchOrdersResponse; | ||
} | ||
class CancelOrder { | ||
@@ -568,3 +584,235 @@ static readonly methodName: string; | ||
} | ||
class CreateInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class UpdateInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class GetInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class IssueInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.IssueInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class ReleaseInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReleaseInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class DeleteInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteInvoiceRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class VoidInvoice { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.VoidInvoiceRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
} | ||
class SearchInvoices { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchInvoicesRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchInvoicesResponse; | ||
} | ||
class CreatePurchaseOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePurchaseOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrder; | ||
} | ||
class GetPurchaseOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPurchaseOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrder; | ||
} | ||
class PurchaseOrderConfirmPayment { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrderConfirmPaymentRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class DeletePurchaseOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePurchaseOrderRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class SearchPurchaseOrders { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchPurchaseOrdersRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchPurchaseOrdersResponse; | ||
} | ||
class CreateReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateReturnOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
} | ||
class UpdateDraftReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateReturnOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
} | ||
class UpdateOpenedReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateReturnOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
} | ||
class GetReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetReturnOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
} | ||
class OpenReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.OpenReturnOrderRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class CloseReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CloseReturnOrderRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class DeleteReturnOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteReturnOrderRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class SearchReturnOrders { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchReturnOrdersRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchReturnOrdersResponse; | ||
} | ||
class CreateDistributorOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateDistributorOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
} | ||
class GetDistributorOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetDistributorOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
} | ||
class UpdateDistributorOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateDistributorOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
} | ||
class DispatchDistributorOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DispatchDistributorOrderRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
} | ||
class DistributorOrderSetParcels { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrderSetParcelsRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
} | ||
class DeleteDistributorOrder { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteDistributorOrderRequest; | ||
static readonly responseType: typeof google_protobuf_empty_pb.Empty; | ||
} | ||
class SearchDistributorOrders { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchDistributorOrdersRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchDistributorOrdersResponse; | ||
} | ||
class SearchShippingOrders { | ||
static readonly methodName: string; | ||
static readonly service: typeof MerchantsService; | ||
static readonly requestStream: boolean; | ||
static readonly responseStream: boolean; | ||
static readonly requestType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchShippingOrdersRequest; | ||
static readonly responseType: typeof ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchShippingOrdersResponse; | ||
} | ||
} | ||
//# sourceMappingURL=merchants_pb_service.d.ts.map |
@@ -325,2 +325,20 @@ "use strict"; | ||
MerchantsService.CreateOrder = CreateOrder; | ||
class UpdateOrder { | ||
} | ||
UpdateOrder.methodName = "UpdateOrder"; | ||
UpdateOrder.service = MerchantsService; | ||
UpdateOrder.requestStream = false; | ||
UpdateOrder.responseStream = false; | ||
UpdateOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateOrderRequest; | ||
UpdateOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Order; | ||
MerchantsService.UpdateOrder = UpdateOrder; | ||
class SearchOrders { | ||
} | ||
SearchOrders.methodName = "SearchOrders"; | ||
SearchOrders.service = MerchantsService; | ||
SearchOrders.requestStream = false; | ||
SearchOrders.responseStream = false; | ||
SearchOrders.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchOrdersRequest; | ||
SearchOrders.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchOrdersResponse; | ||
MerchantsService.SearchOrders = SearchOrders; | ||
class CancelOrder { | ||
@@ -650,2 +668,263 @@ } | ||
MerchantsService.DeleteMaterial = DeleteMaterial; | ||
class CreateInvoice { | ||
} | ||
CreateInvoice.methodName = "CreateInvoice"; | ||
CreateInvoice.service = MerchantsService; | ||
CreateInvoice.requestStream = false; | ||
CreateInvoice.responseStream = false; | ||
CreateInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateInvoiceRequest; | ||
CreateInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.CreateInvoice = CreateInvoice; | ||
class UpdateInvoice { | ||
} | ||
UpdateInvoice.methodName = "UpdateInvoice"; | ||
UpdateInvoice.service = MerchantsService; | ||
UpdateInvoice.requestStream = false; | ||
UpdateInvoice.responseStream = false; | ||
UpdateInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateInvoiceRequest; | ||
UpdateInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.UpdateInvoice = UpdateInvoice; | ||
class GetInvoice { | ||
} | ||
GetInvoice.methodName = "GetInvoice"; | ||
GetInvoice.service = MerchantsService; | ||
GetInvoice.requestStream = false; | ||
GetInvoice.responseStream = false; | ||
GetInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetInvoiceRequest; | ||
GetInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.GetInvoice = GetInvoice; | ||
class IssueInvoice { | ||
} | ||
IssueInvoice.methodName = "IssueInvoice"; | ||
IssueInvoice.service = MerchantsService; | ||
IssueInvoice.requestStream = false; | ||
IssueInvoice.responseStream = false; | ||
IssueInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.IssueInvoiceRequest; | ||
IssueInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.IssueInvoice = IssueInvoice; | ||
class ReleaseInvoice { | ||
} | ||
ReleaseInvoice.methodName = "ReleaseInvoice"; | ||
ReleaseInvoice.service = MerchantsService; | ||
ReleaseInvoice.requestStream = false; | ||
ReleaseInvoice.responseStream = false; | ||
ReleaseInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReleaseInvoiceRequest; | ||
ReleaseInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.ReleaseInvoice = ReleaseInvoice; | ||
class DeleteInvoice { | ||
} | ||
DeleteInvoice.methodName = "DeleteInvoice"; | ||
DeleteInvoice.service = MerchantsService; | ||
DeleteInvoice.requestStream = false; | ||
DeleteInvoice.responseStream = false; | ||
DeleteInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteInvoiceRequest; | ||
DeleteInvoice.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteInvoice = DeleteInvoice; | ||
class VoidInvoice { | ||
} | ||
VoidInvoice.methodName = "VoidInvoice"; | ||
VoidInvoice.service = MerchantsService; | ||
VoidInvoice.requestStream = false; | ||
VoidInvoice.responseStream = false; | ||
VoidInvoice.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.VoidInvoiceRequest; | ||
VoidInvoice.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.Invoice; | ||
MerchantsService.VoidInvoice = VoidInvoice; | ||
class SearchInvoices { | ||
} | ||
SearchInvoices.methodName = "SearchInvoices"; | ||
SearchInvoices.service = MerchantsService; | ||
SearchInvoices.requestStream = false; | ||
SearchInvoices.responseStream = false; | ||
SearchInvoices.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchInvoicesRequest; | ||
SearchInvoices.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchInvoicesResponse; | ||
MerchantsService.SearchInvoices = SearchInvoices; | ||
class CreatePurchaseOrder { | ||
} | ||
CreatePurchaseOrder.methodName = "CreatePurchaseOrder"; | ||
CreatePurchaseOrder.service = MerchantsService; | ||
CreatePurchaseOrder.requestStream = false; | ||
CreatePurchaseOrder.responseStream = false; | ||
CreatePurchaseOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreatePurchaseOrderRequest; | ||
CreatePurchaseOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrder; | ||
MerchantsService.CreatePurchaseOrder = CreatePurchaseOrder; | ||
class GetPurchaseOrder { | ||
} | ||
GetPurchaseOrder.methodName = "GetPurchaseOrder"; | ||
GetPurchaseOrder.service = MerchantsService; | ||
GetPurchaseOrder.requestStream = false; | ||
GetPurchaseOrder.responseStream = false; | ||
GetPurchaseOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetPurchaseOrderRequest; | ||
GetPurchaseOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrder; | ||
MerchantsService.GetPurchaseOrder = GetPurchaseOrder; | ||
class PurchaseOrderConfirmPayment { | ||
} | ||
PurchaseOrderConfirmPayment.methodName = "PurchaseOrderConfirmPayment"; | ||
PurchaseOrderConfirmPayment.service = MerchantsService; | ||
PurchaseOrderConfirmPayment.requestStream = false; | ||
PurchaseOrderConfirmPayment.responseStream = false; | ||
PurchaseOrderConfirmPayment.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.PurchaseOrderConfirmPaymentRequest; | ||
PurchaseOrderConfirmPayment.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.PurchaseOrderConfirmPayment = PurchaseOrderConfirmPayment; | ||
class DeletePurchaseOrder { | ||
} | ||
DeletePurchaseOrder.methodName = "DeletePurchaseOrder"; | ||
DeletePurchaseOrder.service = MerchantsService; | ||
DeletePurchaseOrder.requestStream = false; | ||
DeletePurchaseOrder.responseStream = false; | ||
DeletePurchaseOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeletePurchaseOrderRequest; | ||
DeletePurchaseOrder.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeletePurchaseOrder = DeletePurchaseOrder; | ||
class SearchPurchaseOrders { | ||
} | ||
SearchPurchaseOrders.methodName = "SearchPurchaseOrders"; | ||
SearchPurchaseOrders.service = MerchantsService; | ||
SearchPurchaseOrders.requestStream = false; | ||
SearchPurchaseOrders.responseStream = false; | ||
SearchPurchaseOrders.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchPurchaseOrdersRequest; | ||
SearchPurchaseOrders.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchPurchaseOrdersResponse; | ||
MerchantsService.SearchPurchaseOrders = SearchPurchaseOrders; | ||
class CreateReturnOrder { | ||
} | ||
CreateReturnOrder.methodName = "CreateReturnOrder"; | ||
CreateReturnOrder.service = MerchantsService; | ||
CreateReturnOrder.requestStream = false; | ||
CreateReturnOrder.responseStream = false; | ||
CreateReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateReturnOrderRequest; | ||
CreateReturnOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
MerchantsService.CreateReturnOrder = CreateReturnOrder; | ||
class UpdateDraftReturnOrder { | ||
} | ||
UpdateDraftReturnOrder.methodName = "UpdateDraftReturnOrder"; | ||
UpdateDraftReturnOrder.service = MerchantsService; | ||
UpdateDraftReturnOrder.requestStream = false; | ||
UpdateDraftReturnOrder.responseStream = false; | ||
UpdateDraftReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateReturnOrderRequest; | ||
UpdateDraftReturnOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
MerchantsService.UpdateDraftReturnOrder = UpdateDraftReturnOrder; | ||
class UpdateOpenedReturnOrder { | ||
} | ||
UpdateOpenedReturnOrder.methodName = "UpdateOpenedReturnOrder"; | ||
UpdateOpenedReturnOrder.service = MerchantsService; | ||
UpdateOpenedReturnOrder.requestStream = false; | ||
UpdateOpenedReturnOrder.responseStream = false; | ||
UpdateOpenedReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateReturnOrderRequest; | ||
UpdateOpenedReturnOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
MerchantsService.UpdateOpenedReturnOrder = UpdateOpenedReturnOrder; | ||
class GetReturnOrder { | ||
} | ||
GetReturnOrder.methodName = "GetReturnOrder"; | ||
GetReturnOrder.service = MerchantsService; | ||
GetReturnOrder.requestStream = false; | ||
GetReturnOrder.responseStream = false; | ||
GetReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetReturnOrderRequest; | ||
GetReturnOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.ReturnOrder; | ||
MerchantsService.GetReturnOrder = GetReturnOrder; | ||
class OpenReturnOrder { | ||
} | ||
OpenReturnOrder.methodName = "OpenReturnOrder"; | ||
OpenReturnOrder.service = MerchantsService; | ||
OpenReturnOrder.requestStream = false; | ||
OpenReturnOrder.responseStream = false; | ||
OpenReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.OpenReturnOrderRequest; | ||
OpenReturnOrder.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.OpenReturnOrder = OpenReturnOrder; | ||
class CloseReturnOrder { | ||
} | ||
CloseReturnOrder.methodName = "CloseReturnOrder"; | ||
CloseReturnOrder.service = MerchantsService; | ||
CloseReturnOrder.requestStream = false; | ||
CloseReturnOrder.responseStream = false; | ||
CloseReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CloseReturnOrderRequest; | ||
CloseReturnOrder.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.CloseReturnOrder = CloseReturnOrder; | ||
class DeleteReturnOrder { | ||
} | ||
DeleteReturnOrder.methodName = "DeleteReturnOrder"; | ||
DeleteReturnOrder.service = MerchantsService; | ||
DeleteReturnOrder.requestStream = false; | ||
DeleteReturnOrder.responseStream = false; | ||
DeleteReturnOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteReturnOrderRequest; | ||
DeleteReturnOrder.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteReturnOrder = DeleteReturnOrder; | ||
class SearchReturnOrders { | ||
} | ||
SearchReturnOrders.methodName = "SearchReturnOrders"; | ||
SearchReturnOrders.service = MerchantsService; | ||
SearchReturnOrders.requestStream = false; | ||
SearchReturnOrders.responseStream = false; | ||
SearchReturnOrders.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchReturnOrdersRequest; | ||
SearchReturnOrders.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchReturnOrdersResponse; | ||
MerchantsService.SearchReturnOrders = SearchReturnOrders; | ||
class CreateDistributorOrder { | ||
} | ||
CreateDistributorOrder.methodName = "CreateDistributorOrder"; | ||
CreateDistributorOrder.service = MerchantsService; | ||
CreateDistributorOrder.requestStream = false; | ||
CreateDistributorOrder.responseStream = false; | ||
CreateDistributorOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.CreateDistributorOrderRequest; | ||
CreateDistributorOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
MerchantsService.CreateDistributorOrder = CreateDistributorOrder; | ||
class GetDistributorOrder { | ||
} | ||
GetDistributorOrder.methodName = "GetDistributorOrder"; | ||
GetDistributorOrder.service = MerchantsService; | ||
GetDistributorOrder.requestStream = false; | ||
GetDistributorOrder.responseStream = false; | ||
GetDistributorOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.GetDistributorOrderRequest; | ||
GetDistributorOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
MerchantsService.GetDistributorOrder = GetDistributorOrder; | ||
class UpdateDistributorOrder { | ||
} | ||
UpdateDistributorOrder.methodName = "UpdateDistributorOrder"; | ||
UpdateDistributorOrder.service = MerchantsService; | ||
UpdateDistributorOrder.requestStream = false; | ||
UpdateDistributorOrder.responseStream = false; | ||
UpdateDistributorOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.UpdateDistributorOrderRequest; | ||
UpdateDistributorOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
MerchantsService.UpdateDistributorOrder = UpdateDistributorOrder; | ||
class DispatchDistributorOrder { | ||
} | ||
DispatchDistributorOrder.methodName = "DispatchDistributorOrder"; | ||
DispatchDistributorOrder.service = MerchantsService; | ||
DispatchDistributorOrder.requestStream = false; | ||
DispatchDistributorOrder.responseStream = false; | ||
DispatchDistributorOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DispatchDistributorOrderRequest; | ||
DispatchDistributorOrder.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
MerchantsService.DispatchDistributorOrder = DispatchDistributorOrder; | ||
class DistributorOrderSetParcels { | ||
} | ||
DistributorOrderSetParcels.methodName = "DistributorOrderSetParcels"; | ||
DistributorOrderSetParcels.service = MerchantsService; | ||
DistributorOrderSetParcels.requestStream = false; | ||
DistributorOrderSetParcels.responseStream = false; | ||
DistributorOrderSetParcels.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrderSetParcelsRequest; | ||
DistributorOrderSetParcels.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DistributorOrder; | ||
MerchantsService.DistributorOrderSetParcels = DistributorOrderSetParcels; | ||
class DeleteDistributorOrder { | ||
} | ||
DeleteDistributorOrder.methodName = "DeleteDistributorOrder"; | ||
DeleteDistributorOrder.service = MerchantsService; | ||
DeleteDistributorOrder.requestStream = false; | ||
DeleteDistributorOrder.responseStream = false; | ||
DeleteDistributorOrder.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.DeleteDistributorOrderRequest; | ||
DeleteDistributorOrder.responseType = google_protobuf_empty_pb.Empty; | ||
MerchantsService.DeleteDistributorOrder = DeleteDistributorOrder; | ||
class SearchDistributorOrders { | ||
} | ||
SearchDistributorOrders.methodName = "SearchDistributorOrders"; | ||
SearchDistributorOrders.service = MerchantsService; | ||
SearchDistributorOrders.requestStream = false; | ||
SearchDistributorOrders.responseStream = false; | ||
SearchDistributorOrders.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchDistributorOrdersRequest; | ||
SearchDistributorOrders.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchDistributorOrdersResponse; | ||
MerchantsService.SearchDistributorOrders = SearchDistributorOrders; | ||
class SearchShippingOrders { | ||
} | ||
SearchShippingOrders.methodName = "SearchShippingOrders"; | ||
SearchShippingOrders.service = MerchantsService; | ||
SearchShippingOrders.requestStream = false; | ||
SearchShippingOrders.responseStream = false; | ||
SearchShippingOrders.requestType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchShippingOrdersRequest; | ||
SearchShippingOrders.responseType = ecnova_api_marketplace_merchants_v1_merchants_proto_merchants_pb.SearchShippingOrdersResponse; | ||
MerchantsService.SearchShippingOrders = SearchShippingOrders; | ||
})(MerchantsService = exports.MerchantsService || (exports.MerchantsService = {})); |
@@ -16,9 +16,12 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "hubs/<id>", | ||
__displayName: "资源名称", | ||
__example: "hubs/<id>", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "显示名称", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
}, | ||
@@ -30,2 +33,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "hubs/<id>", | ||
}, | ||
@@ -37,2 +42,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "hubs/<id>", | ||
}, | ||
@@ -44,2 +51,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "ID", | ||
}, | ||
@@ -46,0 +54,0 @@ hub: { |
@@ -16,12 +16,16 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "hubs/<hub_id>/mailboxes/<mailbox_id>", | ||
__displayName: "资源名称", | ||
__example: "hubs/<hub_id>/mailboxes/<mailbox_id>", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "显示名称", | ||
}, | ||
description: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "描述", | ||
}, | ||
deleted: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否已删除", | ||
}, | ||
@@ -31,3 +35,3 @@ notificationSettings: { | ||
__typeName: ".xrc.ecnova.msghub.admin.mailbox.v1.Mailbox.NotificationSettings", | ||
__displayName: "通知相关的设置", | ||
__displayName: "通知相关设置", | ||
}, | ||
@@ -39,10 +43,13 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码 (in E.164 format)", | ||
__displayName: "电话号码", | ||
__description: "in E.164 format", | ||
}, | ||
notifyUrl: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "url must be a https endpoint.", | ||
__displayName: "通知地址", | ||
__description: "url must be a https endpoint.", | ||
}, | ||
email: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "邮箱", | ||
}, | ||
@@ -54,2 +61,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "hubs/<hub_id>/mailboxes/<mailbox_id>", | ||
}, | ||
@@ -61,2 +70,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "hubs/<hub_id>/mailboxes/<mailbox_id>", | ||
}, | ||
@@ -68,2 +79,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "hubs/<hub_id>/mailboxes/<mailbox_id>", | ||
}, | ||
@@ -75,5 +88,9 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "hub 名称", | ||
__example: "hubs/<hub_id>", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Id", | ||
__description: "mailbox id", | ||
}, | ||
@@ -96,2 +113,4 @@ mailbox: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "hub 名称", | ||
__example: "hubs/<hub_id>", | ||
}, | ||
@@ -106,2 +125,4 @@ pageSize: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否显示已删除信箱", | ||
__description: "为 true 显示,为 false 不显示", | ||
}, | ||
@@ -124,9 +145,15 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "hub 名称", | ||
__example: "hubs/<hub_id>", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Id", | ||
__description: "mailbox id", | ||
}, | ||
showDeleted: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否显示已删除信箱", | ||
__description: "为 true 显示,为 false 不显示", | ||
}, | ||
}); |
@@ -16,6 +16,8 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
__displayName: "资源名称", | ||
__example: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
}, | ||
title: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "标题", | ||
}, | ||
@@ -26,2 +28,3 @@ envelopesList: { | ||
__typeName: ".google.protobuf.Any", | ||
__displayName: "Envelopes", | ||
}, | ||
@@ -51,2 +54,4 @@ read: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
}, | ||
@@ -58,2 +63,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "mailbox 名称", | ||
}, | ||
@@ -68,2 +74,3 @@ id: { | ||
__typeName: ".xrc.ecnova.msghub.v1.InboundMessage", | ||
__displayName: "入站消息", | ||
}, | ||
@@ -75,2 +82,3 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "mailbox 名称", | ||
}, | ||
@@ -85,5 +93,7 @@ pageSize: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否显示已删除 message", | ||
}, | ||
filter: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "过滤方式", | ||
}, | ||
@@ -106,8 +116,11 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "mailbox 名称", | ||
}, | ||
id: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Id", | ||
}, | ||
showDeleted: { | ||
__type: schema.Types.TYPE_BOOL, | ||
__displayName: "是否显示已删除 message", | ||
}, | ||
@@ -117,2 +130,3 @@ read: { | ||
__typeName: ".xrc.ecnova.msghub.v1.IsReadFilter", | ||
__displayName: "Read 过滤方式", | ||
}, | ||
@@ -131,2 +145,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
}, | ||
@@ -138,2 +154,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
}, | ||
@@ -145,2 +163,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "<mailbox>/inboundmessages/<inboundmessage_id>", | ||
}, | ||
@@ -154,3 +174,3 @@ }); | ||
__number: 0, | ||
__displayName: "", | ||
__displayName: "未设置", | ||
}, | ||
@@ -157,0 +177,0 @@ { |
@@ -14,3 +14,3 @@ "use strict"; | ||
__type: schema.Types.TYPE_MESSAGE, | ||
id: { | ||
key: { | ||
__type: schema.Types.TYPE_STRING, | ||
@@ -69,2 +69,5 @@ __displayName: "用户传递,默认为 object id。", | ||
__type: schema.Types.TYPE_MESSAGE, | ||
key: { | ||
__type: schema.Types.TYPE_STRING, | ||
}, | ||
url: { | ||
@@ -71,0 +74,0 @@ __type: schema.Types.TYPE_STRING, |
@@ -7,4 +7,4 @@ // package: xrc.ecnova.qiniuuploadtoken.v1 | ||
export class UploadRequest extends jspb.Message { | ||
getId(): string; | ||
setId(value: string): void; | ||
getKey(): string; | ||
setKey(value: string): void; | ||
@@ -29,3 +29,3 @@ getForce(): boolean; | ||
export type AsObject = { | ||
id: string, | ||
key: string, | ||
force: boolean, | ||
@@ -67,2 +67,5 @@ type: UploadRequest.Type, | ||
export class UploadToken extends jspb.Message { | ||
getKey(): string; | ||
setKey(value: string): void; | ||
getUrl(): string; | ||
@@ -86,2 +89,3 @@ setUrl(value: string): void; | ||
export type AsObject = { | ||
key: string, | ||
url: string, | ||
@@ -88,0 +92,0 @@ token: string, |
@@ -66,3 +66,3 @@ /** | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
key: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
force: jspb.Message.getFieldWithDefault(msg, 2, false), | ||
@@ -108,3 +108,3 @@ type: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setId(value); | ||
msg.setKey(value); | ||
break; | ||
@@ -148,3 +148,3 @@ case 2: | ||
var f = undefined; | ||
f = message.getId(); | ||
f = message.getKey(); | ||
if (f.length > 0) { | ||
@@ -185,6 +185,6 @@ writer.writeString( | ||
/** | ||
* optional string id = 1; | ||
* optional string key = 1; | ||
* @return {string} | ||
*/ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadRequest.prototype.getId = function() { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadRequest.prototype.getKey = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -195,3 +195,3 @@ }; | ||
/** @param {string} value */ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadRequest.prototype.setId = function(value) { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadRequest.prototype.setKey = function(value) { | ||
jspb.Message.setField(this, 1, value); | ||
@@ -448,4 +448,5 @@ }; | ||
var f, obj = { | ||
url: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
token: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
key: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
url: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
token: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -489,6 +490,10 @@ | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setUrl(value); | ||
msg.setKey(value); | ||
break; | ||
case 2: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setUrl(value); | ||
break; | ||
case 3: | ||
var value = /** @type {string} */ (reader.readString()); | ||
msg.setToken(value); | ||
@@ -525,3 +530,3 @@ break; | ||
var f = undefined; | ||
f = message.getUrl(); | ||
f = message.getKey(); | ||
if (f.length > 0) { | ||
@@ -533,3 +538,3 @@ writer.writeString( | ||
} | ||
f = message.getToken(); | ||
f = message.getUrl(); | ||
if (f.length > 0) { | ||
@@ -541,2 +546,9 @@ writer.writeString( | ||
} | ||
f = message.getToken(); | ||
if (f.length > 0) { | ||
writer.writeString( | ||
3, | ||
f | ||
); | ||
} | ||
}; | ||
@@ -546,6 +558,6 @@ | ||
/** | ||
* optional string url = 1; | ||
* optional string key = 1; | ||
* @return {string} | ||
*/ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.getUrl = function() { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.getKey = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -556,3 +568,3 @@ }; | ||
/** @param {string} value */ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.setUrl = function(value) { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.setKey = function(value) { | ||
jspb.Message.setField(this, 1, value); | ||
@@ -563,6 +575,6 @@ }; | ||
/** | ||
* optional string token = 2; | ||
* optional string url = 2; | ||
* @return {string} | ||
*/ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.getToken = function() { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.getUrl = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); | ||
@@ -573,3 +585,3 @@ }; | ||
/** @param {string} value */ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.setToken = function(value) { | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.setUrl = function(value) { | ||
jspb.Message.setField(this, 2, value); | ||
@@ -579,3 +591,18 @@ }; | ||
/** | ||
* optional string token = 3; | ||
* @return {string} | ||
*/ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.getToken = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); | ||
}; | ||
/** @param {string} value */ | ||
proto.xrc.ecnova.qiniuuploadtoken.v1.UploadToken.prototype.setToken = function(value) { | ||
jspb.Message.setField(this, 3, value); | ||
}; | ||
/** | ||
@@ -582,0 +609,0 @@ * Generated by JsPbCodeGenerator. |
@@ -16,4 +16,4 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "ID", | ||
__description: "需要指定为 twilio 服务对应的账号 sid", | ||
__displayName: "Account ID", | ||
__description: "需要指定为 twilio 服务对应的账号 sid。", | ||
}, | ||
@@ -29,2 +29,4 @@ account: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "twiaccounts/<sid>", | ||
}, | ||
@@ -36,2 +38,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "twiaccounts/<sid>", | ||
}, | ||
@@ -50,7 +54,9 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "twiaccounts/<id>", | ||
__displayName: "资源名称", | ||
__example: "twiaccounts/<id>", | ||
}, | ||
authToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "twilio 账户的 auth token,在请求中用于身份验证。", | ||
__displayName: "Auth Token", | ||
__description: "twilio 账户的 auth token,在请求中用于身份验证。", | ||
}, | ||
@@ -57,0 +63,0 @@ accountSid: { |
@@ -16,14 +16,14 @@ "use strict"; | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "<account>/incomingphonenumbers/<sid>", | ||
__displayName: "资源名称", | ||
__example: "<account>/incomingphonenumbers/<sid>", | ||
}, | ||
displayName: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "A human readable descriptive text for this resource, up to 64 characters", | ||
__example: "long. By default, the FriendlyName is a nicely formatted version of the", | ||
__description: "phone number.", | ||
__displayName: "显示名称", | ||
}, | ||
phoneNumber: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "The incoming phone number. Formatted with a '+' and country code e.g.,", | ||
__example: "+16175551212 (E.164 format).", | ||
__displayName: "电话号码", | ||
__example: "+16175551212", | ||
__description: "in E.164 format", | ||
}, | ||
@@ -35,2 +35,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Account 名称", | ||
__example: "twiaccounts/<sid>", | ||
}, | ||
@@ -59,2 +61,3 @@ pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
}, | ||
@@ -66,3 +69,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "<account>/messages/<sid>", | ||
__displayName: "资源名称", | ||
__example: "<account>/messages/<sid>", | ||
}, | ||
@@ -75,7 +79,11 @@ body: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码 (in E.164 format)", | ||
__displayName: "发送方电话号码", | ||
__example: "+16175551212", | ||
__description: "in E.164 format", | ||
}, | ||
to: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码 (in E.164 format)", | ||
__displayName: "接收方电话号码", | ||
__example: "+16175551212", | ||
__description: "in E.164 format", | ||
}, | ||
@@ -85,4 +93,4 @@ createTime: { | ||
__typeName: ".google.protobuf.Timestamp", | ||
__displayName: "以下为只读属性", | ||
__description: "创建时间", | ||
__displayName: "创建时间", | ||
__description: "只读。", | ||
}, | ||
@@ -93,2 +101,3 @@ sendTime: { | ||
__displayName: "发送时间", | ||
__description: "只读。", | ||
}, | ||
@@ -99,2 +108,3 @@ updateTime: { | ||
__displayName: "更新时间", | ||
__description: "只读。", | ||
}, | ||
@@ -105,2 +115,3 @@ outboundType: { | ||
__displayName: "发送类型", | ||
__description: "只读。", | ||
}, | ||
@@ -110,4 +121,4 @@ error: { | ||
__typeName: ".google.rpc.Status", | ||
__displayName: "error contains error_code and error_message", | ||
__example: "https://www.twilio.com/docs/sms/api/message#delivery-related-errors", | ||
__displayName: "Error", | ||
__description: "error contains error_code and error_message,", | ||
}, | ||
@@ -118,2 +129,3 @@ status: { | ||
__displayName: "短信状态", | ||
__description: "只读。", | ||
}, | ||
@@ -127,3 +139,3 @@ }); | ||
__number: 0, | ||
__displayName: "this type indicates it's an inbound message", | ||
__displayName: "未指定", | ||
}, | ||
@@ -133,3 +145,3 @@ { | ||
__number: 1, | ||
__displayName: "", | ||
__displayName: "API", | ||
}, | ||
@@ -139,3 +151,3 @@ { | ||
__number: 2, | ||
__displayName: "", | ||
__displayName: "呼叫", | ||
}, | ||
@@ -145,3 +157,3 @@ { | ||
__number: 3, | ||
__displayName: "", | ||
__displayName: "回复", | ||
}, | ||
@@ -156,3 +168,3 @@ ] | ||
__number: 0, | ||
__displayName: "Default status is accept", | ||
__displayName: "未指定", | ||
}, | ||
@@ -162,3 +174,3 @@ { | ||
__number: 1, | ||
__displayName: "The API request to send a message was successful and the message is", | ||
__displayName: "排队中", | ||
}, | ||
@@ -168,3 +180,3 @@ { | ||
__number: 2, | ||
__displayName: "Twilio is in the process of dispatching your message to the nearest", | ||
__displayName: "发送中", | ||
}, | ||
@@ -174,3 +186,3 @@ { | ||
__number: 3, | ||
__displayName: "The message was successfully accepted by the nearest upstream carrier.", | ||
__displayName: "已发送", | ||
}, | ||
@@ -180,3 +192,3 @@ { | ||
__number: 4, | ||
__displayName: "The message could not be sent. This can happen for various reasons", | ||
__displayName: "发送失败", | ||
}, | ||
@@ -186,3 +198,3 @@ { | ||
__number: 5, | ||
__displayName: "Twilio has received confirmation of message delivery from the upstream", | ||
__displayName: "已送达", | ||
}, | ||
@@ -192,3 +204,3 @@ { | ||
__number: 6, | ||
__displayName: "Twilio has received a delivery receipt indicating that the message was", | ||
__displayName: "未送达", | ||
}, | ||
@@ -198,3 +210,3 @@ { | ||
__number: 7, | ||
__displayName: "The inbound message has been received by Twilio and is currently being", | ||
__displayName: "接收中", | ||
}, | ||
@@ -204,3 +216,3 @@ { | ||
__number: 8, | ||
__displayName: "On inbound messages only. The inbound message was received by one of your", | ||
__displayName: "已接收", | ||
}, | ||
@@ -213,2 +225,4 @@ ] | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Account 名称", | ||
__example: "twiaccounts/<sid>", | ||
}, | ||
@@ -224,2 +238,4 @@ message: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "资源名称", | ||
__example: "<account>/incomingphonenumbers/<sid>", | ||
}, | ||
@@ -231,2 +247,4 @@ }); | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "Account 名称", | ||
__example: "twiaccounts/<sid>", | ||
}, | ||
@@ -241,2 +259,3 @@ pageToken: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "过滤方式", | ||
}, | ||
@@ -261,11 +280,16 @@ }); | ||
__displayName: "发送时间", | ||
__description: "只读。", | ||
}, | ||
from: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码 (in E.164 format)", | ||
__displayName: "发送方电话号码", | ||
__example: "+16175551212", | ||
__description: "in E.164 format", | ||
}, | ||
to: { | ||
__type: schema.Types.TYPE_STRING, | ||
__displayName: "电话号码 (in E.164 format)", | ||
__displayName: "接收方电话号码", | ||
__example: "+16175551212", | ||
__description: "in E.164 format", | ||
}, | ||
}); |
{ | ||
"name": "@xrc-inc/grpc-web", | ||
"version": "1.1.45", | ||
"version": "1.1.46", | ||
"description": "Javascript sdk of ecnova apis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5090472
126466
62