diff --git a/src/types.ts b/src/types.ts index a54c384..4f10f31 100644 --- a/src/types.ts +++ b/src/types.ts @@ -193,7 +193,7 @@ export interface GetSubscriptionModifiersBody { subscription_id?: string; } -export interface GetSubscriptionModifiersResponse { +export interface SubscriptionModifier { modifier_id: number; subscription_id: number; amount: number; @@ -202,6 +202,8 @@ export interface GetSubscriptionModifiersResponse { description: string; } +export type GetSubscriptionModifiersResponse = Array; + export interface CreateSubscriptionModifierBody { modifier_amount: number; modifier_description?: string;