Skip to content

Commit

Permalink
Add failed status for webhooks on the docs (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyKitchell authored Aug 30, 2023
1 parent fa0b2b5 commit fb20bc6
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 18 deletions.
26 changes: 25 additions & 1 deletion dist/lob-api-bundled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: Lob
version: 1.19.12
version: 1.19.13
description: >
The Lob API is organized around REST. Our API is designed to have
predictable, resource-oriented URLs and uses HTTP response codes to indicate
Expand Down Expand Up @@ -655,6 +655,11 @@ tags:
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A postcard receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>postcard.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A postcard receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>postcard.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -733,6 +738,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A self_mailer receives an "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>self_mailer.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A self_mailer receives an "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>self_mailer.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -811,6 +821,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A letter receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>letter.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A letter receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>letter.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -964,6 +979,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A check receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>check.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A check receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>check.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -10066,6 +10086,7 @@ components:
- postcard.rendered_thumbnails
- postcard.deleted
- postcard.delivered
- postcard.failed
- postcard.mailed
- postcard.in_transit
- postcard.in_local_area
Expand All @@ -10083,6 +10104,7 @@ components:
- self_mailer.rendered_thumbnails
- self_mailer.deleted
- self_mailer.delivered
- self_mailer.failed
- self_mailer.mailed
- self_mailer.in_transit
- self_mailer.in_local_area
Expand All @@ -10100,6 +10122,7 @@ components:
- letter.rendered_thumbnails
- letter.deleted
- letter.delivered
- letter.failed
- letter.mailed
- letter.in_transit
- letter.in_local_area
Expand Down Expand Up @@ -10134,6 +10157,7 @@ components:
- check.rendered_thumbnails
- check.deleted
- check.delivered
- check.failed
- check.mailed
- check.in_transit
- check.in_local_area
Expand Down
48 changes: 34 additions & 14 deletions docs/index.html

Large diffs are not rendered by default.

22 changes: 21 additions & 1 deletion lob-api-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.3

info:
title: Lob
version: "1.19.12"
version: "1.19.13"
description: >
The Lob API is organized around REST. Our API is designed to have predictable,
resource-oriented URLs and uses HTTP response codes to indicate any API errors.
Expand Down Expand Up @@ -551,6 +551,11 @@ tags:
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A postcard receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>postcard.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A postcard receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>postcard.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -627,6 +632,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A self_mailer receives an "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>self_mailer.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A self_mailer receives an "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>self_mailer.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -703,6 +713,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A letter receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>letter.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A letter receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>letter.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down Expand Up @@ -854,6 +869,11 @@ tags:
<td style="white-space: nowrap"><code>true</code></td>
<td style="white-space: nowrap">A check receives a "Delivered" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>check.failed</code></td>
<td style="white-space: nowrap"><code>false</code></td>
<td style="white-space: nowrap">A check receives a "Failed" <a href='#operation/tracking_event'>tracking event</a>.</td>
</tr>
<tr>
<td style="white-space: nowrap"><code>check.re-routed</code></td>
<td style="white-space: nowrap"><code>true</code></td>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lob/openapi",
"version": "1.19.12",
"version": "1.19.13",
"engines": {
"node": ">=14.16.0",
"npm": ">=7.9.0"
Expand Down
1 change: 1 addition & 0 deletions resources/events/attributes/check_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum:
- check.rendered_thumbnails
- check.deleted
- check.delivered
- check.failed
- check.mailed
- check.in_transit
- check.in_local_area
Expand Down
1 change: 1 addition & 0 deletions resources/events/attributes/letter_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum:
- letter.rendered_thumbnails
- letter.deleted
- letter.delivered
- letter.failed
- letter.mailed
- letter.in_transit
- letter.in_local_area
Expand Down
1 change: 1 addition & 0 deletions resources/events/attributes/postcard_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum:
- postcard.rendered_thumbnails
- postcard.deleted
- postcard.delivered
- postcard.failed
- postcard.mailed
- postcard.in_transit
- postcard.in_local_area
Expand Down
1 change: 1 addition & 0 deletions resources/events/attributes/self_mailer_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum:
- self_mailer.rendered_thumbnails
- self_mailer.deleted
- self_mailer.delivered
- self_mailer.failed
- self_mailer.mailed
- self_mailer.in_transit
- self_mailer.in_local_area
Expand Down

0 comments on commit fb20bc6

Please sign in to comment.