Skip to content

Commit

Permalink
added event types
Browse files Browse the repository at this point in the history
  • Loading branch information
hzargar2 committed Jun 30, 2023
1 parent 56303e9 commit ae4ebbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/resources/webhook_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ pub enum EventType {
CustomerSubscriptionCreated,
#[serde(rename = "customer.subscription.deleted")]
CustomerSubscriptionDeleted,
#[serde(rename = "customer.subscription.paused")]
CustomerSubscriptionPaused,
#[serde(rename = "customer.subscription.pending_update_applied")]
CustomerSubscriptionPendingUpdateApplied,
#[serde(rename = "customer.subscription.pending_update_expired")]
CustomerSubscriptionPendingUpdateExpired,
#[serde(rename = "customer.subscription.resumed")]
CustomerSubscriptionResumed,
#[serde(rename = "customer.subscription.trial_will_end")]
CustomerSubscriptionTrialWillEnd,
#[serde(rename = "customer.subscription.updated")]
Expand Down

0 comments on commit ae4ebbe

Please sign in to comment.