@daocloud-proto/ghippo 0.42.1-rc3 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.42.1-rc3",
3
+ "version":"0.42.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -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
  }