@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
|
@@ -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
|
+
}
|
package/v1alpha1/webhook.pb.ts
CHANGED
|
@@ -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>(`/
|
|
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"})
|