@daocloud-proto/zestu 0.10.0-dev-84569db3 → 0.10.0-dev-34e242ee

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.10.0-dev-84569db3",
3
+ "version":"v0.10.0-dev-34e242ee",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,8 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type CommonInfoResponse = {
7
+ contactNumber?: string
8
+ }
@@ -7,6 +7,7 @@
7
7
  import * as fm from "../../../fetch.pb"
8
8
  import * as GoogleProtobufEmpty from "../../../google/api/empty.pb"
9
9
  import * as ZestuIoApiAuditV1alpha1Audit from "../audit/v1alpha1/audit.pb"
10
+ import * as ZestuIoApiCommonV1alpha1Common from "../common/v1alpha1/common.pb"
10
11
  import * as ZestuIoApiContainerinstanceV1alpha1Containerinstance from "../containerinstance/v1alpha1/containerinstance.pb"
11
12
  import * as ZestuIoApiFile_storageV1alpha1Storage from "../file_storage/v1alpha1/storage.pb"
12
13
  import * as ZestuIoApiImageV1alpha1Image from "../image/v1alpha1/image.pb"
@@ -203,4 +204,9 @@ export class Registry {
203
204
  static CheckUserNameExists(req: ZestuIoApiRegistryV1alpha1Registry.CheckUserNameExistsRequest, initReq?: fm.InitReq): Promise<ZestuIoApiRegistryV1alpha1Registry.CheckUserNameExistsResponse> {
204
205
  return fm.fetchReq<ZestuIoApiRegistryV1alpha1Registry.CheckUserNameExistsRequest, ZestuIoApiRegistryV1alpha1Registry.CheckUserNameExistsResponse>(`/apis/zestu.io/v1/region/${req["regionId"]}/registries/checkusername`, {...initReq, method: "POST", body: JSON.stringify(req)})
205
206
  }
207
+ }
208
+ export class Common {
209
+ static GetCommonInfo(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<ZestuIoApiCommonV1alpha1Common.CommonInfoResponse> {
210
+ return fm.fetchReq<GoogleProtobufEmpty.Empty, ZestuIoApiCommonV1alpha1Common.CommonInfoResponse>(`/apis/zestu.io/v1/common/info?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
211
+ }
206
212
  }