Skip to content

Commit

Permalink
Fix casing on InvoiceItem related events (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-stripe committed Mar 29, 2024
1 parent fee4d2c commit 0e89ca4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions types/EventTypes.d.ts
Expand Up @@ -97,8 +97,8 @@ declare module 'stripe' {
| InvoiceUpcomingEvent
| InvoiceUpdatedEvent
| InvoiceVoidedEvent
| InvoiceitemCreatedEvent
| InvoiceitemDeletedEvent
| InvoiceItemCreatedEvent
| InvoiceItemDeletedEvent
| IssuingAuthorizationCreatedEvent
| IssuingAuthorizationRequestEvent
| IssuingAuthorizationUpdatedEvent
Expand Down Expand Up @@ -1740,12 +1740,12 @@ declare module 'stripe' {
/**
* Occurs whenever an invoice item is created.
*/
interface InvoiceitemCreatedEvent extends EventBase {
interface InvoiceItemCreatedEvent extends EventBase {
type: 'invoiceitem.created';
data: InvoiceitemCreatedEvent.Data;
data: InvoiceItemCreatedEvent.Data;
}

namespace InvoiceitemCreatedEvent {
namespace InvoiceItemCreatedEvent {
interface Data extends Stripe.Event.Data {
object: Stripe.InvoiceItem;

Expand All @@ -1756,12 +1756,12 @@ declare module 'stripe' {
/**
* Occurs whenever an invoice item is deleted.
*/
interface InvoiceitemDeletedEvent extends EventBase {
interface InvoiceItemDeletedEvent extends EventBase {
type: 'invoiceitem.deleted';
data: InvoiceitemDeletedEvent.Data;
data: InvoiceItemDeletedEvent.Data;
}

namespace InvoiceitemDeletedEvent {
namespace InvoiceItemDeletedEvent {
interface Data extends Stripe.Event.Data {
object: Stripe.InvoiceItem;

Expand Down

0 comments on commit 0e89ca4

Please sign in to comment.