@daocloud-proto/ghippo 0.45.0-dev2 → 0.45.0-rc2

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.45.0-dev2",
3
+ "version":"0.45.0-rc2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -114,6 +114,8 @@ export type GetUserResponse = {
114
114
  mainAccountId?: string
115
115
  mainAccountName?: string
116
116
  mainAccountWorkspace?: string
117
+ inviteUrl?: string
118
+ inviteCode?: string
117
119
  }
118
120
 
119
121
  export type ListAccessTokensRequest = {
@@ -0,0 +1,20 @@
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 RedirectRegisterRequest = {
9
+ callbackUrl?: string
10
+ inviteCode?: string
11
+ }
12
+
13
+ export type RedirectRegisterResponse = {
14
+ }
15
+
16
+ export class Register {
17
+ static RedirectRegister(req: RedirectRegisterRequest, initReq?: fm.InitReq): Promise<RedirectRegisterResponse> {
18
+ return fm.fetchReq<RedirectRegisterRequest, RedirectRegisterResponse>(`/apis/ghippo.io/v1alpha1/register?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
19
+ }
20
+ }
@@ -340,7 +340,7 @@ export class Webhook {
340
340
  return fm.fetchReq<ListWebhookRecordsByClientIdRequest, ListWebhookRecordsByClientIdResponse>(`/apis/ghippo.io/v1alpha1/webhook-record?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
341
341
  }
342
342
  static PublishWebhookEvent(req: PublishWebhookEventRequest, initReq?: fm.InitReq): Promise<PublishWebhookEventResponse> {
343
- return fm.fetchReq<PublishWebhookEventRequest, PublishWebhookEventResponse>(`/apis/ghippo.io/v1alpha1/webhook/event`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
343
+ return fm.fetchReq<PublishWebhookEventRequest, PublishWebhookEventResponse>(`/v1alpha1.webhook.Webhook/PublishWebhookEvent`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
344
344
  }
345
345
  static ListGproductWebhookEvents(req: ListGproductWebhookEventsRequest, initReq?: fm.InitReq): Promise<ListGproductWebhookEventsResponse> {
346
346
  return fm.fetchReq<ListGproductWebhookEventsRequest, ListGproductWebhookEventsResponse>(`/apis/ghippo.io/v1alpha1/gproduct-webhook-events?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})