@daocloud-proto/zestu 0.5.0-dev-efcfd45c → 0.5.0-dev-021d3071

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/zestu",
3
- "version":"v0.5.0-dev-efcfd45c",
3
+ "version":"v0.5.0-dev-021d3071",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -110,4 +110,9 @@ export type DeleteArtifactRequest = {
110
110
  regionId?: string
111
111
  repository?: string
112
112
  artifact?: string
113
+ }
114
+
115
+ export type UpdateUserPasswordRequest = {
116
+ regionId?: string
117
+ password?: string
113
118
  }
@@ -166,4 +166,7 @@ export class Registry {
166
166
  static DeleteArtifact(req: ZestuIoApiRegistryV1alpha1Registry.DeleteArtifactRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
167
167
  return fm.fetchReq<ZestuIoApiRegistryV1alpha1Registry.DeleteArtifactRequest, GoogleProtobufEmpty.Empty>(`/apis/zestu.io/v1/region/${req["regionId"]}/registries/repositories/${req["repository"]}/artifacts/${req["artifact"]}`, {...initReq, method: "DELETE", body: JSON.stringify(req)})
168
168
  }
169
+ static UpdateUserPassword(req: ZestuIoApiRegistryV1alpha1Registry.UpdateUserPasswordRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
170
+ return fm.fetchReq<ZestuIoApiRegistryV1alpha1Registry.UpdateUserPasswordRequest, GoogleProtobufEmpty.Empty>(`/apis/zestu.io/v1/region/${req["regionId"]}/registries/password`, {...initReq, method: "PUT", body: JSON.stringify(req)})
171
+ }
169
172
  }