Skip to content

Commit

Permalink
Update generated code for v981
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 23, 2024
1 parent 7df8b4b commit d56a355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v980
v981
6 changes: 3 additions & 3 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ type EventReasonAutomationActionStripeSendWebhookCustomEvent struct {
type EventReasonAutomationAction struct {
StripeSendWebhookCustomEvent *EventReasonAutomationActionStripeSendWebhookCustomEvent `json:"stripe_send_webhook_custom_event"`
// The trigger name of the automation that triggered this action.
// Please visit [Revenue and retention automations](https://stripe.com/docs/billing/revenue-recovery/automations#choose-a-trigger) for all possible trigger names.
// Please visit [Revenue and retention automations](https://stripe.com/docs/billing/automations#choose-a-trigger) for all possible trigger names.
Trigger string `json:"trigger"`
// The type of the `automation_action`.
Type EventReasonAutomationActionType `json:"type"`
Expand All @@ -355,7 +355,7 @@ type EventReasonRequest struct {
IdempotencyKey string `json:"idempotency_key"`
}

// Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://stripe.com/docs/billing/revenue-recovery/automations) action.
// Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://stripe.com/docs/billing/automations) action.
type EventReason struct {
AutomationAction *EventReasonAutomationAction `json:"automation_action"`
Request *EventReasonRequest `json:"request"`
Expand Down Expand Up @@ -424,7 +424,7 @@ type Event struct {
Object string `json:"object"`
// Number of webhooks that haven't been successfully delivered (for example, to return a 20x response) to the URLs you specify.
PendingWebhooks int64 `json:"pending_webhooks"`
// Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://stripe.com/docs/billing/revenue-recovery/automations) action.
// Information about the action that causes the event. Only present when the event is triggered by an API request or an [Automation](https://stripe.com/docs/billing/automations) action.
Reason *EventReason `json:"reason"`
// Information on the API request that triggers the event.
Request *EventRequest `json:"request"`
Expand Down

0 comments on commit d56a355

Please sign in to comment.