MCPcopy Create free account
hub / github.com/triggerdotdev/trigger.dev / create

Method create

integrations/typeform/src/webhooks.ts:17–38  ·  view source on GitHub ↗
(key: IntegrationTaskKey, params: CreateWebhookParams)

Source from the content-addressed store, hash-verified

15 constructor(private runTask: TypeformRunTask) {}
16
17 create(key: IntegrationTaskKey, params: CreateWebhookParams): Promise<GetWebhookResponse> {
18 return this.runTask(
19 key,
20 async (client, task) => {
21 return client.webhooks.create(params);
22 },
23 {
24 name: "Create Webhook",
25 params,
26 properties: [
27 {
28 label: "Form ID",
29 text: params.uid,
30 },
31 {
32 label: "Tag",
33 text: params.tag,
34 },
35 ],
36 }
37 );
38 }
39
40 list(key: IntegrationTaskKey, params: ListWebhooksParams): Promise<ListWebhooksResponse> {
41 return this.runTask(

Callers

nothing calls this directly

Calls 2

createMethod · 0.65
runTaskMethod · 0.45

Tested by

no test coverage detected