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

Feat/fax api faxes (#48) #72

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Feat/fax api faxes (#48) #72

wants to merge 6 commits into from

Conversation

Dovchik
Copy link
Contributor

@Dovchik Dovchik commented May 23, 2024

Main PR for fax api support

  • The versions of the Microsoft.Extensions.Http and System.Text.Json packages has been updated to 8.0

  • feat: add FaxRegion and resolve url based on it

  • refactor: create fax request take either content url, stream or filePath

  • refactor: list query create query param

  • feat: add fax autolist

  • chore: add string output to debug for json responses

  • feat: upload fax as multipart/form data

  • feat:process other kind of api error

  • feat: impl get fax

  • feat: implement download fax, add example

  • feat: implement delete

  • feat: implement list

  • feat: add fax mock service

  • chore(http): add test for multipart content

  • feat: for last page add calculate if first page starting at 1

  • chore: add comment for unused StreamExtensions.cs

  • feat: add multiple or single send fax

  • feat: return contentresult with stream and filename for content download


Dovchik and others added 6 commits May 23, 2024 10:34
* The versions of the `Microsoft.Extensions.Http` and `System.Text.Json` packages in the `Sinch.csproj` file have been updated. 

* feat: add FaxRegion and resolve url based on it

* refactor: create fax request take either content url, stream or filePath

* refactor: list query create query param

* feat: add fax autolist

* chore: add string output to debug for json responses

* feat: upload fax as multipart/form data

* feat:process other kind of api error

* feat: impl get fax

* feat: implement download fax, add example

* feat: implement delete

* feat: implement list

* feat: add fax mock service

* chore(http): add test for multipart content


* feat: for last page add calculate if first page starting at 1

* chore: add comment for unused StreamExtensions.cs

* feat: add multiple or single send fax

* feat: return contentresult with stream and filename for content download

---------

Co-authored-by: spacedsweden <[email protected]>
* feat: add support for fax emails
* feat(fax): support services

Move service emails list implementation to Services
* feat: add fax hooks
* feat: add support for sending base64 files

with contentUrl prop independently
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.

None yet

1 participant