Skip to content

Commit

Permalink
trunk group group added
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Prescott committed Feb 12, 2024
1 parent 67256aa commit f3562a0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion odins_spear/methods/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,18 @@ def group_services_assigned(self, group_id: str, service_provider_id: str, servi
# TIME ZONES
# TRUNK GROUPS

def group_trunk_groups_call_capacity(self, service_provider_id, group_id):
def group_trunk_groups_call_capacity(self, service_provider_id: str, group_id: str):

endpoint = f"/groups/trunk-groups/call-capacity?serviceProviderId={service_provider_id}&groupId={group_id}"

return self.requester.get(endpoint)


def group_trunk_group(self, service_provider_id: str, group_id: str, trunk_group_name: str):

endpoint = f"/groups/trunk-groups?serviceProviderId={service_provider_id}&groupId={group_id}&name={trunk_group_name}"

return self.requester.get(endpoint)

# TWO STAGE DIALING
# USERS
Expand Down

0 comments on commit f3562a0

Please sign in to comment.