Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

127 auto attendant functionality #128

Merged
merged 10 commits into from
Oct 29, 2024

Conversation

LivCurtis
Copy link
Contributor

Added new methods:

  • get.auto_attendant_user
  • get.auto_attendant_submenus
  • get.auto_attendant_submenu_usage
  • post.auto_attendant
  • post.auto_attendant_remove_user
  • post.auto_attendant_submenu
  • del.auto_attendant
  • del.auto_attendant_submenu

Added delete.auto_attendant method
Added auto_attendant_submenu method into delete.py
Added auto_attendant_user to get.py
Added auto_attendant_submenus method to get.py
Added auto_attendant_submenu_usage method to get.py
Added auto_attendant method to post.py
Added auto_attendant_remove_user and auto_attendant_submenu methods into post.py
@LivCurtis LivCurtis linked an issue Oct 23, 2024 that may be closed by this pull request
Corrected typo
Copy link
Owner

@Jordan-Prescott Jordan-Prescott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes regarding the payload Liv in the post method.

"""

endpoint = "/groups/auto-attendants"

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs update the existing payload otherwise your overwriting whatever is passed in the param.

Example:
payload['groupId'] = group_id

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally things where you have hard coded like "nameDialingEntries":"LastName + FirstName" we need to check this is empty and not passed in by the user before editing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've resolved this and pushed new commits.

Corrected typo in post.auto_attendant_submenu method
Updates post.auto_attendant method to ensure payload is not overwritten when passed as a parameter
Copy link
Owner

@Jordan-Prescott Jordan-Prescott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, nice work Liv!!

@Jordan-Prescott Jordan-Prescott merged commit ba52576 into main Oct 29, 2024
@Jordan-Prescott Jordan-Prescott deleted the 127-auto-attendant-functionality branch October 29, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto Attendant Functionality
2 participants