@daocloud-proto/zestu 0.2.0-dev-b79c9c3e → 0.2.0-dev-34d01d92

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.2.0-dev-b79c9c3e",
3
+ "version":"v0.2.0-dev-34d01d92",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -108,6 +108,7 @@ export type CreateContainerInstanceRequest = {
108
108
  serviceEnable?: ServiceEnable
109
109
  packageSource?: PackageSource
110
110
  volumeSpec?: VolumeSpec[]
111
+ sshKeyLoginEnable?: boolean
111
112
  }
112
113
 
113
114
  export type Image = {
@@ -82,6 +82,11 @@ export class Image {
82
82
  return fm.fetchReq<ZestuIoApiImageV1alpha1Image.ListPublicImagesRequest, ZestuIoApiImageV1alpha1Image.ListPublicImagesResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/public-images?${fm.renderURLSearchParams(req, ["regionId"])}`, {...initReq, method: "GET"})
83
83
  }
84
84
  }
85
+ export class Webhook {
86
+ static SyncSSHKey(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
87
+ return fm.fetchReq<GoogleProtobufEmpty.Empty, GoogleProtobufEmpty.Empty>(`/apis/zestu.io/v1/webhook/sshkeys`, {...initReq, method: "POST"})
88
+ }
89
+ }
85
90
  export class Agent {
86
91
  static PushEvent(req: ZestuIoApiMeteringV1alpha1Metering.PushEventRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
87
92
  return fm.fetchReq<ZestuIoApiMeteringV1alpha1Metering.PushEventRequest, GoogleProtobufEmpty.Empty>(`/zestu.io.api.v1alpha1.Agent/PushEvent`, {...initReq, method: "POST", body: JSON.stringify(req)})