@daocloud-proto/zestu 0.10.0-dev-8d2016c5 → 0.10.0-dev-6c648ec1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -174,6 +174,9 @@ export class User {
|
|
|
174
174
|
static ListSubAccounts(req: ZestuIoApiUserV1alpha1User.ListSubAccountsRequest, initReq?: fm.InitReq): Promise<ZestuIoApiUserV1alpha1User.ListSubAccountsResponse> {
|
|
175
175
|
return fm.fetchReq<ZestuIoApiUserV1alpha1User.ListSubAccountsRequest, ZestuIoApiUserV1alpha1User.ListSubAccountsResponse>(`/apis/zestu.io/v1/subaccounts?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
176
176
|
}
|
|
177
|
+
static GetSubAccount(req: ZestuIoApiUserV1alpha1User.GetSubAccountRequest, initReq?: fm.InitReq): Promise<ZestuIoApiUserV1alpha1User.GetSubAccountResponse> {
|
|
178
|
+
return fm.fetchReq<ZestuIoApiUserV1alpha1User.GetSubAccountRequest, ZestuIoApiUserV1alpha1User.GetSubAccountResponse>(`/apis/zestu.io/v1/subaccount/${req["name"]}?${fm.renderURLSearchParams(req, ["name"])}`, {...initReq, method: "GET"})
|
|
179
|
+
}
|
|
177
180
|
}
|
|
178
181
|
export class Registry {
|
|
179
182
|
static GetRegistryDetail(req: ZestuIoApiRegistryV1alpha1Registry.GetRegistryDetailRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegistryV1alpha1Registry.GetRegistryDetailResponse> {
|