@frogbotai/piece-pagerduty 0.39.0 → 0.40.0
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/dist/define.d.ts +190 -104
- package/dist/define.d.ts.map +1 -1
- package/dist/index.d.ts +318 -162
- package/dist/index.d.ts.map +1 -1
- package/dist/triggers.d.ts +318 -162
- package/dist/triggers.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -216,49 +216,36 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
216
216
|
} | undefined;
|
|
217
217
|
} & {
|
|
218
218
|
type: "webhook";
|
|
219
|
-
onEnable(args:
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
query
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
219
|
+
onEnable(args: {
|
|
220
|
+
input: Record<string, never>;
|
|
221
|
+
options: {
|
|
222
|
+
signingSecret?: string | undefined;
|
|
223
|
+
};
|
|
224
|
+
client: {
|
|
225
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
226
|
+
method: string;
|
|
227
|
+
path: string;
|
|
228
|
+
query?: {
|
|
229
|
+
[x: string]: string | string[] | undefined;
|
|
230
|
+
};
|
|
231
|
+
body?: unknown;
|
|
232
|
+
fromEmail?: string;
|
|
233
|
+
redirect?: RequestRedirect;
|
|
234
|
+
}) => Promise<unknown>;
|
|
235
|
+
authorize: (headers: Headers) => void;
|
|
236
|
+
};
|
|
237
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
238
|
+
} & {
|
|
234
239
|
webhookUrl: string;
|
|
235
240
|
}): Promise<{
|
|
236
241
|
webhookUrl: string;
|
|
237
242
|
}>;
|
|
238
|
-
onDisable(args:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
242
|
-
method: string;
|
|
243
|
-
path: string;
|
|
244
|
-
query?: {
|
|
245
|
-
[x: string]: string | string[] | undefined;
|
|
246
|
-
};
|
|
247
|
-
body?: unknown;
|
|
248
|
-
fromEmail?: string;
|
|
249
|
-
redirect?: RequestRedirect;
|
|
250
|
-
}) => Promise<unknown>;
|
|
251
|
-
authorize: (headers: Headers) => void;
|
|
252
|
-
}> & {
|
|
253
|
-
state: {
|
|
254
|
-
webhookUrl: string;
|
|
255
|
-
};
|
|
256
|
-
}): Promise<void>;
|
|
257
|
-
renew?: {
|
|
258
|
-
schedule: string;
|
|
259
|
-
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, {
|
|
243
|
+
onDisable(args: {
|
|
244
|
+
input: Record<string, never>;
|
|
245
|
+
options: {
|
|
260
246
|
signingSecret?: string | undefined;
|
|
261
|
-
}
|
|
247
|
+
};
|
|
248
|
+
client: {
|
|
262
249
|
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
263
250
|
method: string;
|
|
264
251
|
path: string;
|
|
@@ -270,7 +257,35 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
270
257
|
redirect?: RequestRedirect;
|
|
271
258
|
}) => Promise<unknown>;
|
|
272
259
|
authorize: (headers: Headers) => void;
|
|
273
|
-
}
|
|
260
|
+
};
|
|
261
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
262
|
+
} & {
|
|
263
|
+
state: {
|
|
264
|
+
webhookUrl: string;
|
|
265
|
+
};
|
|
266
|
+
}): Promise<void>;
|
|
267
|
+
renew?: {
|
|
268
|
+
schedule: string;
|
|
269
|
+
run(args: {
|
|
270
|
+
input: Record<string, never>;
|
|
271
|
+
options: {
|
|
272
|
+
signingSecret?: string | undefined;
|
|
273
|
+
};
|
|
274
|
+
client: {
|
|
275
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
276
|
+
method: string;
|
|
277
|
+
path: string;
|
|
278
|
+
query?: {
|
|
279
|
+
[x: string]: string | string[] | undefined;
|
|
280
|
+
};
|
|
281
|
+
body?: unknown;
|
|
282
|
+
fromEmail?: string;
|
|
283
|
+
redirect?: RequestRedirect;
|
|
284
|
+
}) => Promise<unknown>;
|
|
285
|
+
authorize: (headers: Headers) => void;
|
|
286
|
+
};
|
|
287
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
288
|
+
} & {
|
|
274
289
|
state: {
|
|
275
290
|
webhookUrl: string;
|
|
276
291
|
};
|
|
@@ -279,21 +294,26 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
279
294
|
webhookUrl: string;
|
|
280
295
|
}>;
|
|
281
296
|
} | undefined;
|
|
282
|
-
run(args:
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
query
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
+
run(args: {
|
|
298
|
+
input: Record<string, never>;
|
|
299
|
+
options: {
|
|
300
|
+
signingSecret?: string | undefined;
|
|
301
|
+
};
|
|
302
|
+
client: {
|
|
303
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
304
|
+
method: string;
|
|
305
|
+
path: string;
|
|
306
|
+
query?: {
|
|
307
|
+
[x: string]: string | string[] | undefined;
|
|
308
|
+
};
|
|
309
|
+
body?: unknown;
|
|
310
|
+
fromEmail?: string;
|
|
311
|
+
redirect?: RequestRedirect;
|
|
312
|
+
}) => Promise<unknown>;
|
|
313
|
+
authorize: (headers: Headers) => void;
|
|
314
|
+
};
|
|
315
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
316
|
+
} & {
|
|
297
317
|
state: {
|
|
298
318
|
webhookUrl: string;
|
|
299
319
|
};
|
|
@@ -305,6 +325,38 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
305
325
|
event_type: string;
|
|
306
326
|
};
|
|
307
327
|
}>[]>;
|
|
328
|
+
reply?(args: {
|
|
329
|
+
input: Record<string, never>;
|
|
330
|
+
options: {
|
|
331
|
+
signingSecret?: string | undefined;
|
|
332
|
+
};
|
|
333
|
+
client: {
|
|
334
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
335
|
+
method: string;
|
|
336
|
+
path: string;
|
|
337
|
+
query?: {
|
|
338
|
+
[x: string]: string | string[] | undefined;
|
|
339
|
+
};
|
|
340
|
+
body?: unknown;
|
|
341
|
+
fromEmail?: string;
|
|
342
|
+
redirect?: RequestRedirect;
|
|
343
|
+
}) => Promise<unknown>;
|
|
344
|
+
authorize: (headers: Headers) => void;
|
|
345
|
+
};
|
|
346
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
347
|
+
} & {
|
|
348
|
+
state: {
|
|
349
|
+
webhookUrl: string;
|
|
350
|
+
};
|
|
351
|
+
events: import("frogbot/pieces").TriggerEvent<{
|
|
352
|
+
[x: string]: unknown;
|
|
353
|
+
event: {
|
|
354
|
+
[x: string]: unknown;
|
|
355
|
+
id: string;
|
|
356
|
+
event_type: string;
|
|
357
|
+
};
|
|
358
|
+
}>[];
|
|
359
|
+
}): Response | Promise<Response>;
|
|
308
360
|
} & {
|
|
309
361
|
slug: "newIncident";
|
|
310
362
|
}, {
|
|
@@ -328,49 +380,36 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
328
380
|
} | undefined;
|
|
329
381
|
} & {
|
|
330
382
|
type: "webhook";
|
|
331
|
-
onEnable(args:
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
query
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
383
|
+
onEnable(args: {
|
|
384
|
+
input: Record<string, never>;
|
|
385
|
+
options: {
|
|
386
|
+
signingSecret?: string | undefined;
|
|
387
|
+
};
|
|
388
|
+
client: {
|
|
389
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
390
|
+
method: string;
|
|
391
|
+
path: string;
|
|
392
|
+
query?: {
|
|
393
|
+
[x: string]: string | string[] | undefined;
|
|
394
|
+
};
|
|
395
|
+
body?: unknown;
|
|
396
|
+
fromEmail?: string;
|
|
397
|
+
redirect?: RequestRedirect;
|
|
398
|
+
}) => Promise<unknown>;
|
|
399
|
+
authorize: (headers: Headers) => void;
|
|
400
|
+
};
|
|
401
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
402
|
+
} & {
|
|
346
403
|
webhookUrl: string;
|
|
347
404
|
}): Promise<{
|
|
348
405
|
webhookUrl: string;
|
|
349
406
|
}>;
|
|
350
|
-
onDisable(args:
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
354
|
-
method: string;
|
|
355
|
-
path: string;
|
|
356
|
-
query?: {
|
|
357
|
-
[x: string]: string | string[] | undefined;
|
|
358
|
-
};
|
|
359
|
-
body?: unknown;
|
|
360
|
-
fromEmail?: string;
|
|
361
|
-
redirect?: RequestRedirect;
|
|
362
|
-
}) => Promise<unknown>;
|
|
363
|
-
authorize: (headers: Headers) => void;
|
|
364
|
-
}> & {
|
|
365
|
-
state: {
|
|
366
|
-
webhookUrl: string;
|
|
367
|
-
};
|
|
368
|
-
}): Promise<void>;
|
|
369
|
-
renew?: {
|
|
370
|
-
schedule: string;
|
|
371
|
-
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, {
|
|
407
|
+
onDisable(args: {
|
|
408
|
+
input: Record<string, never>;
|
|
409
|
+
options: {
|
|
372
410
|
signingSecret?: string | undefined;
|
|
373
|
-
}
|
|
411
|
+
};
|
|
412
|
+
client: {
|
|
374
413
|
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
375
414
|
method: string;
|
|
376
415
|
path: string;
|
|
@@ -382,7 +421,35 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
382
421
|
redirect?: RequestRedirect;
|
|
383
422
|
}) => Promise<unknown>;
|
|
384
423
|
authorize: (headers: Headers) => void;
|
|
385
|
-
}
|
|
424
|
+
};
|
|
425
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
426
|
+
} & {
|
|
427
|
+
state: {
|
|
428
|
+
webhookUrl: string;
|
|
429
|
+
};
|
|
430
|
+
}): Promise<void>;
|
|
431
|
+
renew?: {
|
|
432
|
+
schedule: string;
|
|
433
|
+
run(args: {
|
|
434
|
+
input: Record<string, never>;
|
|
435
|
+
options: {
|
|
436
|
+
signingSecret?: string | undefined;
|
|
437
|
+
};
|
|
438
|
+
client: {
|
|
439
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
440
|
+
method: string;
|
|
441
|
+
path: string;
|
|
442
|
+
query?: {
|
|
443
|
+
[x: string]: string | string[] | undefined;
|
|
444
|
+
};
|
|
445
|
+
body?: unknown;
|
|
446
|
+
fromEmail?: string;
|
|
447
|
+
redirect?: RequestRedirect;
|
|
448
|
+
}) => Promise<unknown>;
|
|
449
|
+
authorize: (headers: Headers) => void;
|
|
450
|
+
};
|
|
451
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
452
|
+
} & {
|
|
386
453
|
state: {
|
|
387
454
|
webhookUrl: string;
|
|
388
455
|
};
|
|
@@ -391,21 +458,26 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
391
458
|
webhookUrl: string;
|
|
392
459
|
}>;
|
|
393
460
|
} | undefined;
|
|
394
|
-
run(args:
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
query
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
461
|
+
run(args: {
|
|
462
|
+
input: Record<string, never>;
|
|
463
|
+
options: {
|
|
464
|
+
signingSecret?: string | undefined;
|
|
465
|
+
};
|
|
466
|
+
client: {
|
|
467
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
468
|
+
method: string;
|
|
469
|
+
path: string;
|
|
470
|
+
query?: {
|
|
471
|
+
[x: string]: string | string[] | undefined;
|
|
472
|
+
};
|
|
473
|
+
body?: unknown;
|
|
474
|
+
fromEmail?: string;
|
|
475
|
+
redirect?: RequestRedirect;
|
|
476
|
+
}) => Promise<unknown>;
|
|
477
|
+
authorize: (headers: Headers) => void;
|
|
478
|
+
};
|
|
479
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
480
|
+
} & {
|
|
409
481
|
state: {
|
|
410
482
|
webhookUrl: string;
|
|
411
483
|
};
|
|
@@ -417,6 +489,38 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
417
489
|
event_type: string;
|
|
418
490
|
};
|
|
419
491
|
}>[]>;
|
|
492
|
+
reply?(args: {
|
|
493
|
+
input: Record<string, never>;
|
|
494
|
+
options: {
|
|
495
|
+
signingSecret?: string | undefined;
|
|
496
|
+
};
|
|
497
|
+
client: {
|
|
498
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
499
|
+
method: string;
|
|
500
|
+
path: string;
|
|
501
|
+
query?: {
|
|
502
|
+
[x: string]: string | string[] | undefined;
|
|
503
|
+
};
|
|
504
|
+
body?: unknown;
|
|
505
|
+
fromEmail?: string;
|
|
506
|
+
redirect?: RequestRedirect;
|
|
507
|
+
}) => Promise<unknown>;
|
|
508
|
+
authorize: (headers: Headers) => void;
|
|
509
|
+
};
|
|
510
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
511
|
+
} & {
|
|
512
|
+
state: {
|
|
513
|
+
webhookUrl: string;
|
|
514
|
+
};
|
|
515
|
+
events: import("frogbot/pieces").TriggerEvent<{
|
|
516
|
+
[x: string]: unknown;
|
|
517
|
+
event: {
|
|
518
|
+
[x: string]: unknown;
|
|
519
|
+
id: string;
|
|
520
|
+
event_type: string;
|
|
521
|
+
};
|
|
522
|
+
}>[];
|
|
523
|
+
}): Response | Promise<Response>;
|
|
420
524
|
} & {
|
|
421
525
|
slug: "incidentResolved";
|
|
422
526
|
}, {
|
|
@@ -440,49 +544,36 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
440
544
|
} | undefined;
|
|
441
545
|
} & {
|
|
442
546
|
type: "webhook";
|
|
443
|
-
onEnable(args:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
query
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
547
|
+
onEnable(args: {
|
|
548
|
+
input: Record<string, never>;
|
|
549
|
+
options: {
|
|
550
|
+
signingSecret?: string | undefined;
|
|
551
|
+
};
|
|
552
|
+
client: {
|
|
553
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
554
|
+
method: string;
|
|
555
|
+
path: string;
|
|
556
|
+
query?: {
|
|
557
|
+
[x: string]: string | string[] | undefined;
|
|
558
|
+
};
|
|
559
|
+
body?: unknown;
|
|
560
|
+
fromEmail?: string;
|
|
561
|
+
redirect?: RequestRedirect;
|
|
562
|
+
}) => Promise<unknown>;
|
|
563
|
+
authorize: (headers: Headers) => void;
|
|
564
|
+
};
|
|
565
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
566
|
+
} & {
|
|
458
567
|
webhookUrl: string;
|
|
459
568
|
}): Promise<{
|
|
460
569
|
webhookUrl: string;
|
|
461
570
|
}>;
|
|
462
|
-
onDisable(args:
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
466
|
-
method: string;
|
|
467
|
-
path: string;
|
|
468
|
-
query?: {
|
|
469
|
-
[x: string]: string | string[] | undefined;
|
|
470
|
-
};
|
|
471
|
-
body?: unknown;
|
|
472
|
-
fromEmail?: string;
|
|
473
|
-
redirect?: RequestRedirect;
|
|
474
|
-
}) => Promise<unknown>;
|
|
475
|
-
authorize: (headers: Headers) => void;
|
|
476
|
-
}> & {
|
|
477
|
-
state: {
|
|
478
|
-
webhookUrl: string;
|
|
479
|
-
};
|
|
480
|
-
}): Promise<void>;
|
|
481
|
-
renew?: {
|
|
482
|
-
schedule: string;
|
|
483
|
-
run(args: import("frogbot/pieces").PieceRunArgs<Record<string, never>, {
|
|
571
|
+
onDisable(args: {
|
|
572
|
+
input: Record<string, never>;
|
|
573
|
+
options: {
|
|
484
574
|
signingSecret?: string | undefined;
|
|
485
|
-
}
|
|
575
|
+
};
|
|
576
|
+
client: {
|
|
486
577
|
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
487
578
|
method: string;
|
|
488
579
|
path: string;
|
|
@@ -494,7 +585,35 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
494
585
|
redirect?: RequestRedirect;
|
|
495
586
|
}) => Promise<unknown>;
|
|
496
587
|
authorize: (headers: Headers) => void;
|
|
497
|
-
}
|
|
588
|
+
};
|
|
589
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
590
|
+
} & {
|
|
591
|
+
state: {
|
|
592
|
+
webhookUrl: string;
|
|
593
|
+
};
|
|
594
|
+
}): Promise<void>;
|
|
595
|
+
renew?: {
|
|
596
|
+
schedule: string;
|
|
597
|
+
run(args: {
|
|
598
|
+
input: Record<string, never>;
|
|
599
|
+
options: {
|
|
600
|
+
signingSecret?: string | undefined;
|
|
601
|
+
};
|
|
602
|
+
client: {
|
|
603
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
604
|
+
method: string;
|
|
605
|
+
path: string;
|
|
606
|
+
query?: {
|
|
607
|
+
[x: string]: string | string[] | undefined;
|
|
608
|
+
};
|
|
609
|
+
body?: unknown;
|
|
610
|
+
fromEmail?: string;
|
|
611
|
+
redirect?: RequestRedirect;
|
|
612
|
+
}) => Promise<unknown>;
|
|
613
|
+
authorize: (headers: Headers) => void;
|
|
614
|
+
};
|
|
615
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
616
|
+
} & {
|
|
498
617
|
state: {
|
|
499
618
|
webhookUrl: string;
|
|
500
619
|
};
|
|
@@ -503,21 +622,26 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
503
622
|
webhookUrl: string;
|
|
504
623
|
}>;
|
|
505
624
|
} | undefined;
|
|
506
|
-
run(args:
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
query
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
625
|
+
run(args: {
|
|
626
|
+
input: Record<string, never>;
|
|
627
|
+
options: {
|
|
628
|
+
signingSecret?: string | undefined;
|
|
629
|
+
};
|
|
630
|
+
client: {
|
|
631
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
632
|
+
method: string;
|
|
633
|
+
path: string;
|
|
634
|
+
query?: {
|
|
635
|
+
[x: string]: string | string[] | undefined;
|
|
636
|
+
};
|
|
637
|
+
body?: unknown;
|
|
638
|
+
fromEmail?: string;
|
|
639
|
+
redirect?: RequestRedirect;
|
|
640
|
+
}) => Promise<unknown>;
|
|
641
|
+
authorize: (headers: Headers) => void;
|
|
642
|
+
};
|
|
643
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
644
|
+
} & {
|
|
521
645
|
state: {
|
|
522
646
|
webhookUrl: string;
|
|
523
647
|
};
|
|
@@ -529,6 +653,38 @@ export declare const createPagerduty: import("frogbot/pieces").PieceFactory<{
|
|
|
529
653
|
event_type: string;
|
|
530
654
|
};
|
|
531
655
|
}>[]>;
|
|
656
|
+
reply?(args: {
|
|
657
|
+
input: Record<string, never>;
|
|
658
|
+
options: {
|
|
659
|
+
signingSecret?: string | undefined;
|
|
660
|
+
};
|
|
661
|
+
client: {
|
|
662
|
+
request: ({ method, path, query, body, fromEmail, redirect, }: {
|
|
663
|
+
method: string;
|
|
664
|
+
path: string;
|
|
665
|
+
query?: {
|
|
666
|
+
[x: string]: string | string[] | undefined;
|
|
667
|
+
};
|
|
668
|
+
body?: unknown;
|
|
669
|
+
fromEmail?: string;
|
|
670
|
+
redirect?: RequestRedirect;
|
|
671
|
+
}) => Promise<unknown>;
|
|
672
|
+
authorize: (headers: Headers) => void;
|
|
673
|
+
};
|
|
674
|
+
req: import("frogbot/pieces").FrogBotRequest;
|
|
675
|
+
} & {
|
|
676
|
+
state: {
|
|
677
|
+
webhookUrl: string;
|
|
678
|
+
};
|
|
679
|
+
events: import("frogbot/pieces").TriggerEvent<{
|
|
680
|
+
[x: string]: unknown;
|
|
681
|
+
event: {
|
|
682
|
+
[x: string]: unknown;
|
|
683
|
+
id: string;
|
|
684
|
+
event_type: string;
|
|
685
|
+
};
|
|
686
|
+
}>[];
|
|
687
|
+
}): Response | Promise<Response>;
|
|
532
688
|
} & {
|
|
533
689
|
slug: "incidentAcknowledged";
|
|
534
690
|
}];
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAKpD,eAAO,MAAM,gBAAgB,wHAOnB,CAAC;AACX,eAAO,MAAM,iBAAiB,sEAIpB,CAAC;AACX,eAAO,MAAM,eAAe,aAAc,CAAC;AAE3C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAbxB,CAAC;;;gBACF,CAAC;qBACO,CAAC;oBACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAHN,CAAC;;;gBACF,CAAC;qBACO,CAAC;oBACH,CAAC;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