Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-sinina committed Dec 29, 2023
1 parent 0468e39 commit 3a4b103
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions yeti_switch_api/orm/billing/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ class Meta:
originated_amount_spent = AttributeField("originated-amount-spent")
originated_amount_earned = AttributeField("originated-amount-earned")
originated_calls_count = AttributeField("originated-calls-count")
originated_successful_calls_count = AttributeField("originated-successful-calls-count")
originated_successful_calls_count = AttributeField(
"originated-successful-calls-count"
)
originated_calls_duration = AttributeField("originated-calls-duration")
originated_billing_duration = AttributeField("originated-billing-duration")
originated_first_call_at = AttributeField("originated-first-call-at")
Expand All @@ -32,15 +34,13 @@ class Meta:
terminated_amount_spent = AttributeField("terminated-amount-spent")
terminated_amount_earned = AttributeField("terminated-amount-earned")
terminated_calls_count = AttributeField("terminated-calls-count")
terminated_successful_calls_count = AttributeField("terminated-successful-calls-count")
terminated_successful_calls_count = AttributeField(
"terminated-successful-calls-count"
)
terminated_calls_duration = AttributeField("terminated-calls-duration")
terminated_billing_duration = AttributeField("terminated-billing-duration")
terminated_first_call_at = AttributeField("terminated-first-call-at")
terminated_last_call_at = AttributeField("terminated-last-call-at")

def creatable_fields(self):
return [
"account",
"start_date",
"end_date"
]
return ["account", "start_date", "end_date"]

0 comments on commit 3a4b103

Please sign in to comment.