@daocloud-proto/ghippo 0.42.0-dev3 → 0.42.0-dev4

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.0-dev3",
3
+ "version":"0.42.0-dev4",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as fm from "../fetch.pb"
8
+ export type GetDomainDetailRequest = {
9
+ name?: string
10
+ }
11
+
12
+ export type GetDomainDetailResponse = {
13
+ name?: string
14
+ alipay?: Alipay
15
+ }
16
+
17
+ export type Alipay = {
18
+ appId?: string
19
+ appPrivateKey?: string
20
+ alipayPublicKey?: string
21
+ isProduction?: boolean
22
+ }
23
+
24
+ export class Domain {
25
+ static GetDomainDetail(req: GetDomainDetailRequest, initReq?: fm.InitReq): Promise<GetDomainDetailResponse> {
26
+ return fm.fetchReq<GetDomainDetailRequest, GetDomainDetailResponse>(`/apis/leopard.io/v1alpha1/domain/${req["name"]}?${fm.renderURLSearchParams(req, ["name"])}`, {...initReq, method: "GET"})
27
+ }
28
+ }