Skip to content

Why were usage category enums removed in 7.13.0? #799

@jiodice-tl

Description

@jiodice-tl

I noticed after updating my Twilio package from 7.12.2 to 7.13.0 I had a bunch of build errors in my Twilio service due to enums being removed? What was the reason for removing these?

We already use the usage API daily to pull in SMS/MMS usage and carrier fees per subaccount.

Image

One thing I am working on is adding the ability to pull fees for 10 DLC registrations, etc.
Looking at the documentation at https://www.twilio.com/docs/usage/api/usage-record#usage-all-categories
I only see one category for registration fees (a2p-registration-fees) but in the CategoryEnum class I see 8 different registration fee categories for A2P 10DLC

Image

So how would someone new to the API know about these additional categories if they are having to go based on the documentation since it is now just a string type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions