(key: IntegrationTaskKey, params: UpdateWebhookParams)
| 57 | } |
| 58 | |
| 59 | update(key: IntegrationTaskKey, params: UpdateWebhookParams): Promise<GetWebhookResponse> { |
| 60 | return this.runTask( |
| 61 | key, |
| 62 | async (client, task) => { |
| 63 | return client.webhooks.update(params); |
| 64 | }, |
| 65 | { |
| 66 | name: "Update Webhook", |
| 67 | params, |
| 68 | properties: [ |
| 69 | { |
| 70 | label: "Form ID", |
| 71 | text: params.uid, |
| 72 | }, |
| 73 | { |
| 74 | label: "Tag", |
| 75 | text: params.tag, |
| 76 | }, |
| 77 | ], |
| 78 | } |
| 79 | ); |
| 80 | } |
| 81 | |
| 82 | get(key: IntegrationTaskKey, params: GetWebhookParams): Promise<GetWebhookResponse> { |
| 83 | return this.runTask( |
no test coverage detected