@pidgeon-ai/cli 1.8.7 → 1.10.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/README.md +8 -0
- package/dist/{chunk-EPX6BZRJ.js → chunk-2LT3D2LK.js} +221 -2
- package/dist/chunk-2LT3D2LK.js.map +1 -0
- package/dist/{chunk-KSRTLFQR.js → chunk-3IL5C4Y5.js} +40 -12
- package/dist/{chunk-KSRTLFQR.js.map → chunk-3IL5C4Y5.js.map} +1 -1
- package/dist/cli.js +9 -4
- package/dist/cli.js.map +1 -1
- package/dist/commands.gen.d.ts +3 -1
- package/dist/commands.gen.js +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-EPX6BZRJ.js.map +0 -1
package/README.md
CHANGED
|
@@ -48,6 +48,14 @@ describes one command, with its endpoint and its flags. Documentation:
|
|
|
48
48
|
- A nested object takes JSON: `--some_field '{"a":1}'`.
|
|
49
49
|
- `PIDGEON_BASE_URL` points it somewhere other than production.
|
|
50
50
|
|
|
51
|
+
## Retrying a send
|
|
52
|
+
|
|
53
|
+
Every command that sends takes `--idempotency-key`. Run it again with the
|
|
54
|
+
same key and the message goes out once; the second run prints the first
|
|
55
|
+
answer. Without one, each run makes up its own key. `--verbose` prints it
|
|
56
|
+
on stderr before the call, and a failure that may already have sent (no
|
|
57
|
+
answer, or a 5xx) prints it in the error, so a script can retry with it.
|
|
58
|
+
|
|
51
59
|
## When it fails
|
|
52
60
|
|
|
53
61
|
A refusal from the API exits 1 and prints the status, the API's code and
|
|
@@ -204,6 +204,14 @@ var COMMANDS = [
|
|
|
204
204
|
"required": true,
|
|
205
205
|
"where": "path"
|
|
206
206
|
},
|
|
207
|
+
{
|
|
208
|
+
"name": "idempotency-key",
|
|
209
|
+
"kind": "string",
|
|
210
|
+
"required": false,
|
|
211
|
+
"where": "header",
|
|
212
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
213
|
+
"header": "Idempotency-Key"
|
|
214
|
+
},
|
|
207
215
|
{
|
|
208
216
|
"name": "title",
|
|
209
217
|
"kind": "string",
|
|
@@ -313,6 +321,22 @@ var COMMANDS = [
|
|
|
313
321
|
],
|
|
314
322
|
"required": false,
|
|
315
323
|
"where": "query"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "if-match",
|
|
327
|
+
"kind": "string",
|
|
328
|
+
"required": false,
|
|
329
|
+
"where": "header",
|
|
330
|
+
"describe": "The `etag` you last read. A stale one is a `409` naming the current version \u2014 two agents on one mailbox is the case this product is for, and last-write-wins loses a meeting.",
|
|
331
|
+
"header": "If-Match"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "idempotency-key",
|
|
335
|
+
"kind": "string",
|
|
336
|
+
"required": false,
|
|
337
|
+
"where": "header",
|
|
338
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
339
|
+
"header": "Idempotency-Key"
|
|
316
340
|
}
|
|
317
341
|
]
|
|
318
342
|
},
|
|
@@ -487,6 +511,22 @@ var COMMANDS = [
|
|
|
487
511
|
"required": true,
|
|
488
512
|
"where": "path"
|
|
489
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"name": "if-match",
|
|
516
|
+
"kind": "string",
|
|
517
|
+
"required": false,
|
|
518
|
+
"where": "header",
|
|
519
|
+
"describe": "The `etag` you last read. A stale one is a `409` naming the current version \u2014 two agents on one mailbox is the case this product is for, and last-write-wins loses a meeting.",
|
|
520
|
+
"header": "If-Match"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "idempotency-key",
|
|
524
|
+
"kind": "string",
|
|
525
|
+
"required": false,
|
|
526
|
+
"where": "header",
|
|
527
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
528
|
+
"header": "Idempotency-Key"
|
|
529
|
+
},
|
|
490
530
|
{
|
|
491
531
|
"name": "status",
|
|
492
532
|
"kind": "string",
|
|
@@ -526,6 +566,14 @@ var COMMANDS = [
|
|
|
526
566
|
"required": true,
|
|
527
567
|
"where": "path"
|
|
528
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"name": "if-match",
|
|
571
|
+
"kind": "string",
|
|
572
|
+
"required": false,
|
|
573
|
+
"where": "header",
|
|
574
|
+
"describe": "The `etag` you last read. A stale one is a `409` naming the current version \u2014 two agents on one mailbox is the case this product is for, and last-write-wins loses a meeting.",
|
|
575
|
+
"header": "If-Match"
|
|
576
|
+
},
|
|
529
577
|
{
|
|
530
578
|
"name": "timezone",
|
|
531
579
|
"kind": "string",
|
|
@@ -565,6 +613,22 @@ var COMMANDS = [
|
|
|
565
613
|
"required": false,
|
|
566
614
|
"where": "query"
|
|
567
615
|
},
|
|
616
|
+
{
|
|
617
|
+
"name": "if-match",
|
|
618
|
+
"kind": "string",
|
|
619
|
+
"required": false,
|
|
620
|
+
"where": "header",
|
|
621
|
+
"describe": "The `etag` you last read. A stale one is a `409` naming the current version \u2014 two agents on one mailbox is the case this product is for, and last-write-wins loses a meeting.",
|
|
622
|
+
"header": "If-Match"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "idempotency-key",
|
|
626
|
+
"kind": "string",
|
|
627
|
+
"required": false,
|
|
628
|
+
"where": "header",
|
|
629
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
630
|
+
"header": "Idempotency-Key"
|
|
631
|
+
},
|
|
568
632
|
{
|
|
569
633
|
"name": "title",
|
|
570
634
|
"kind": "string",
|
|
@@ -653,6 +717,14 @@ var COMMANDS = [
|
|
|
653
717
|
"path": "/domains",
|
|
654
718
|
"summary": "Connect a domain",
|
|
655
719
|
"flags": [
|
|
720
|
+
{
|
|
721
|
+
"name": "idempotency-key",
|
|
722
|
+
"kind": "string",
|
|
723
|
+
"required": false,
|
|
724
|
+
"where": "header",
|
|
725
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
726
|
+
"header": "Idempotency-Key"
|
|
727
|
+
},
|
|
656
728
|
{
|
|
657
729
|
"name": "domain",
|
|
658
730
|
"kind": "string",
|
|
@@ -827,6 +899,14 @@ var COMMANDS = [
|
|
|
827
899
|
"path": "/drafts",
|
|
828
900
|
"summary": "Write one without sending it",
|
|
829
901
|
"flags": [
|
|
902
|
+
{
|
|
903
|
+
"name": "idempotency-key",
|
|
904
|
+
"kind": "string",
|
|
905
|
+
"required": false,
|
|
906
|
+
"where": "header",
|
|
907
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
908
|
+
"header": "Idempotency-Key"
|
|
909
|
+
},
|
|
830
910
|
{
|
|
831
911
|
"name": "identity_id",
|
|
832
912
|
"kind": "string",
|
|
@@ -876,6 +956,13 @@ var COMMANDS = [
|
|
|
876
956
|
"where": "body",
|
|
877
957
|
"describe": "The plain-text body. Send this even when you send `html` \u2014 some clients only read it."
|
|
878
958
|
},
|
|
959
|
+
{
|
|
960
|
+
"name": "data",
|
|
961
|
+
"kind": "json",
|
|
962
|
+
"required": false,
|
|
963
|
+
"where": "body",
|
|
964
|
+
"describe": "Typed data: `{ schema, body }`, where `schema` is a URL naming what `body` is and `body` is up to 64 KB of JSON. Sent as its own part beside the text, never mixed into it."
|
|
965
|
+
},
|
|
879
966
|
{
|
|
880
967
|
"name": "in_reply_to_message_id",
|
|
881
968
|
"kind": "string",
|
|
@@ -989,6 +1076,14 @@ var COMMANDS = [
|
|
|
989
1076
|
"required": true,
|
|
990
1077
|
"where": "path"
|
|
991
1078
|
},
|
|
1079
|
+
{
|
|
1080
|
+
"name": "idempotency-key",
|
|
1081
|
+
"kind": "string",
|
|
1082
|
+
"required": false,
|
|
1083
|
+
"where": "header",
|
|
1084
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
1085
|
+
"header": "Idempotency-Key"
|
|
1086
|
+
},
|
|
992
1087
|
{
|
|
993
1088
|
"name": "send_at",
|
|
994
1089
|
"kind": "string",
|
|
@@ -1010,6 +1105,14 @@ var COMMANDS = [
|
|
|
1010
1105
|
"kind": "string",
|
|
1011
1106
|
"required": true,
|
|
1012
1107
|
"where": "path"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "idempotency-key",
|
|
1111
|
+
"kind": "string",
|
|
1112
|
+
"required": false,
|
|
1113
|
+
"where": "header",
|
|
1114
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
1115
|
+
"header": "Idempotency-Key"
|
|
1013
1116
|
}
|
|
1014
1117
|
]
|
|
1015
1118
|
},
|
|
@@ -1069,6 +1172,13 @@ var COMMANDS = [
|
|
|
1069
1172
|
"where": "body",
|
|
1070
1173
|
"describe": "The plain-text body. Send this even when you send `html` \u2014 some clients only read it."
|
|
1071
1174
|
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "data",
|
|
1177
|
+
"kind": "json",
|
|
1178
|
+
"required": false,
|
|
1179
|
+
"where": "body",
|
|
1180
|
+
"describe": "Typed data: `{ schema, body }`, where `schema` is a URL naming what `body` is and `body` is up to 64 KB of JSON. Sent as its own part beside the text, never mixed into it."
|
|
1181
|
+
},
|
|
1072
1182
|
{
|
|
1073
1183
|
"name": "attachment_ids",
|
|
1074
1184
|
"kind": "list",
|
|
@@ -1325,6 +1435,14 @@ var COMMANDS = [
|
|
|
1325
1435
|
"path": "/identities",
|
|
1326
1436
|
"summary": "Create an address",
|
|
1327
1437
|
"flags": [
|
|
1438
|
+
{
|
|
1439
|
+
"name": "idempotency-key",
|
|
1440
|
+
"kind": "string",
|
|
1441
|
+
"required": false,
|
|
1442
|
+
"where": "header",
|
|
1443
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
1444
|
+
"header": "Idempotency-Key"
|
|
1445
|
+
},
|
|
1328
1446
|
{
|
|
1329
1447
|
"name": "domain_id",
|
|
1330
1448
|
"kind": "string",
|
|
@@ -1858,6 +1976,14 @@ var COMMANDS = [
|
|
|
1858
1976
|
"path": "/labels",
|
|
1859
1977
|
"summary": "Create a label",
|
|
1860
1978
|
"flags": [
|
|
1979
|
+
{
|
|
1980
|
+
"name": "idempotency-key",
|
|
1981
|
+
"kind": "string",
|
|
1982
|
+
"required": false,
|
|
1983
|
+
"where": "header",
|
|
1984
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
1985
|
+
"header": "Idempotency-Key"
|
|
1986
|
+
},
|
|
1861
1987
|
{
|
|
1862
1988
|
"name": "identity_id",
|
|
1863
1989
|
"kind": "string",
|
|
@@ -2197,6 +2323,14 @@ var COMMANDS = [
|
|
|
2197
2323
|
"required": true,
|
|
2198
2324
|
"where": "path"
|
|
2199
2325
|
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "idempotency-key",
|
|
2328
|
+
"kind": "string",
|
|
2329
|
+
"required": false,
|
|
2330
|
+
"where": "header",
|
|
2331
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2332
|
+
"header": "Idempotency-Key"
|
|
2333
|
+
},
|
|
2200
2334
|
{
|
|
2201
2335
|
"name": "text",
|
|
2202
2336
|
"kind": "string",
|
|
@@ -2211,6 +2345,13 @@ var COMMANDS = [
|
|
|
2211
2345
|
"where": "body",
|
|
2212
2346
|
"describe": "The rich body. Sanitised on the way in; scripts and remote content are removed."
|
|
2213
2347
|
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "data",
|
|
2350
|
+
"kind": "json",
|
|
2351
|
+
"required": false,
|
|
2352
|
+
"where": "body",
|
|
2353
|
+
"describe": "Typed data: structured JSON sent beside the text, for software at the other end to read as fields. Travels as its own part; it is never mixed into the text."
|
|
2354
|
+
},
|
|
2214
2355
|
{
|
|
2215
2356
|
"name": "to",
|
|
2216
2357
|
"kind": "list",
|
|
@@ -2336,6 +2477,14 @@ var COMMANDS = [
|
|
|
2336
2477
|
"required": true,
|
|
2337
2478
|
"where": "path"
|
|
2338
2479
|
},
|
|
2480
|
+
{
|
|
2481
|
+
"name": "idempotency-key",
|
|
2482
|
+
"kind": "string",
|
|
2483
|
+
"required": false,
|
|
2484
|
+
"where": "header",
|
|
2485
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2486
|
+
"header": "Idempotency-Key"
|
|
2487
|
+
},
|
|
2339
2488
|
{
|
|
2340
2489
|
"name": "text",
|
|
2341
2490
|
"kind": "string",
|
|
@@ -2350,6 +2499,13 @@ var COMMANDS = [
|
|
|
2350
2499
|
"where": "body",
|
|
2351
2500
|
"describe": "The rich body. Sanitised on the way in; scripts and remote content are removed."
|
|
2352
2501
|
},
|
|
2502
|
+
{
|
|
2503
|
+
"name": "data",
|
|
2504
|
+
"kind": "json",
|
|
2505
|
+
"required": false,
|
|
2506
|
+
"where": "body",
|
|
2507
|
+
"describe": "Typed data: structured JSON sent beside the text, for software at the other end to read as fields. Travels as its own part; it is never mixed into the text."
|
|
2508
|
+
},
|
|
2353
2509
|
{
|
|
2354
2510
|
"name": "to",
|
|
2355
2511
|
"kind": "list",
|
|
@@ -2394,6 +2550,14 @@ var COMMANDS = [
|
|
|
2394
2550
|
"required": true,
|
|
2395
2551
|
"where": "path"
|
|
2396
2552
|
},
|
|
2553
|
+
{
|
|
2554
|
+
"name": "idempotency-key",
|
|
2555
|
+
"kind": "string",
|
|
2556
|
+
"required": false,
|
|
2557
|
+
"where": "header",
|
|
2558
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2559
|
+
"header": "Idempotency-Key"
|
|
2560
|
+
},
|
|
2397
2561
|
{
|
|
2398
2562
|
"name": "text",
|
|
2399
2563
|
"kind": "string",
|
|
@@ -2408,6 +2572,13 @@ var COMMANDS = [
|
|
|
2408
2572
|
"where": "body",
|
|
2409
2573
|
"describe": "The rich body. Sanitised on the way in; scripts and remote content are removed."
|
|
2410
2574
|
},
|
|
2575
|
+
{
|
|
2576
|
+
"name": "data",
|
|
2577
|
+
"kind": "json",
|
|
2578
|
+
"required": false,
|
|
2579
|
+
"where": "body",
|
|
2580
|
+
"describe": "Typed data: structured JSON sent beside the text, for software at the other end to read as fields. Travels as its own part; it is never mixed into the text."
|
|
2581
|
+
},
|
|
2411
2582
|
{
|
|
2412
2583
|
"name": "to",
|
|
2413
2584
|
"kind": "list",
|
|
@@ -2452,6 +2623,14 @@ var COMMANDS = [
|
|
|
2452
2623
|
"required": true,
|
|
2453
2624
|
"where": "path"
|
|
2454
2625
|
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "idempotency-key",
|
|
2628
|
+
"kind": "string",
|
|
2629
|
+
"required": false,
|
|
2630
|
+
"where": "header",
|
|
2631
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2632
|
+
"header": "Idempotency-Key"
|
|
2633
|
+
},
|
|
2455
2634
|
{
|
|
2456
2635
|
"name": "status",
|
|
2457
2636
|
"kind": "string",
|
|
@@ -2561,6 +2740,14 @@ var COMMANDS = [
|
|
|
2561
2740
|
"path": "/messages",
|
|
2562
2741
|
"summary": "Send a message",
|
|
2563
2742
|
"flags": [
|
|
2743
|
+
{
|
|
2744
|
+
"name": "idempotency-key",
|
|
2745
|
+
"kind": "string",
|
|
2746
|
+
"required": false,
|
|
2747
|
+
"where": "header",
|
|
2748
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2749
|
+
"header": "Idempotency-Key"
|
|
2750
|
+
},
|
|
2564
2751
|
{
|
|
2565
2752
|
"name": "from",
|
|
2566
2753
|
"kind": "string",
|
|
@@ -2610,6 +2797,13 @@ var COMMANDS = [
|
|
|
2610
2797
|
"where": "body",
|
|
2611
2798
|
"describe": "The rich body. Sanitised on the way in; scripts and remote content are removed."
|
|
2612
2799
|
},
|
|
2800
|
+
{
|
|
2801
|
+
"name": "data",
|
|
2802
|
+
"kind": "json",
|
|
2803
|
+
"required": false,
|
|
2804
|
+
"where": "body",
|
|
2805
|
+
"describe": "Typed data: structured JSON sent beside the text, for software at the other end to read as fields. Travels as its own part; it is never mixed into the text."
|
|
2806
|
+
},
|
|
2613
2807
|
{
|
|
2614
2808
|
"name": "attachment_ids",
|
|
2615
2809
|
"kind": "list",
|
|
@@ -2726,6 +2920,14 @@ var COMMANDS = [
|
|
|
2726
2920
|
"path": "/pods",
|
|
2727
2921
|
"summary": "Create a pod",
|
|
2728
2922
|
"flags": [
|
|
2923
|
+
{
|
|
2924
|
+
"name": "idempotency-key",
|
|
2925
|
+
"kind": "string",
|
|
2926
|
+
"required": false,
|
|
2927
|
+
"where": "header",
|
|
2928
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
2929
|
+
"header": "Idempotency-Key"
|
|
2930
|
+
},
|
|
2729
2931
|
{
|
|
2730
2932
|
"name": "name",
|
|
2731
2933
|
"kind": "string",
|
|
@@ -2802,7 +3004,16 @@ var COMMANDS = [
|
|
|
2802
3004
|
"method": "POST",
|
|
2803
3005
|
"path": "/routing-rules",
|
|
2804
3006
|
"summary": "Route an address somewhere",
|
|
2805
|
-
"flags": [
|
|
3007
|
+
"flags": [
|
|
3008
|
+
{
|
|
3009
|
+
"name": "idempotency-key",
|
|
3010
|
+
"kind": "string",
|
|
3011
|
+
"required": false,
|
|
3012
|
+
"where": "header",
|
|
3013
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
3014
|
+
"header": "Idempotency-Key"
|
|
3015
|
+
}
|
|
3016
|
+
]
|
|
2806
3017
|
},
|
|
2807
3018
|
{
|
|
2808
3019
|
"group": "routing",
|
|
@@ -3056,6 +3267,14 @@ var COMMANDS = [
|
|
|
3056
3267
|
"path": "/webhooks",
|
|
3057
3268
|
"summary": "Create a webhook",
|
|
3058
3269
|
"flags": [
|
|
3270
|
+
{
|
|
3271
|
+
"name": "idempotency-key",
|
|
3272
|
+
"kind": "string",
|
|
3273
|
+
"required": false,
|
|
3274
|
+
"where": "header",
|
|
3275
|
+
"describe": "Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing \u2014 no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.",
|
|
3276
|
+
"header": "Idempotency-Key"
|
|
3277
|
+
},
|
|
3059
3278
|
{
|
|
3060
3279
|
"name": "url",
|
|
3061
3280
|
"kind": "string",
|
|
@@ -3259,4 +3478,4 @@ export {
|
|
|
3259
3478
|
__export,
|
|
3260
3479
|
COMMANDS
|
|
3261
3480
|
};
|
|
3262
|
-
//# sourceMappingURL=chunk-
|
|
3481
|
+
//# sourceMappingURL=chunk-2LT3D2LK.js.map
|