@daocloud-proto/ghippo 0.42.1 → 0.42.2
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 +1 -1
- package/v1alpha1/account.pb.ts +0 -3
package/package.json
CHANGED
package/v1alpha1/account.pb.ts
CHANGED
|
@@ -215,9 +215,6 @@ export class Accounts {
|
|
|
215
215
|
static CreateSubAccount(req: CreateSubAccountRequest, initReq?: fm.InitReq): Promise<CreateSubAccountResponse> {
|
|
216
216
|
return fm.fetchReq<CreateSubAccountRequest, CreateSubAccountResponse>(`/apis/ghippo.io/v1alpha1/sub-accounts`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
217
217
|
}
|
|
218
|
-
static DeleteSubAccount(req: DeleteSubAccountRequest, initReq?: fm.InitReq): Promise<DeleteSubAccountResponse> {
|
|
219
|
-
return fm.fetchReq<DeleteSubAccountRequest, DeleteSubAccountResponse>(`/apis/ghippo.io/v1alpha1/sub-accounts/${req["id"]}`, {...initReq, method: "DELETE"})
|
|
220
|
-
}
|
|
221
218
|
static UpdateSubAccount(req: UpdateSubAccountRequest, initReq?: fm.InitReq): Promise<UpdateSubAccountResponse> {
|
|
222
219
|
return fm.fetchReq<UpdateSubAccountRequest, UpdateSubAccountResponse>(`/apis/ghippo.io/v1alpha1/sub-accounts/${req["id"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
223
220
|
}
|