-
Notifications
You must be signed in to change notification settings - Fork 82
Cloud devices API #1549
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
base: main
Are you sure you want to change the base?
Cloud devices API #1549
Conversation
/gemini review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This PR introduces the first implementation of the Cloud Device API, which is a significant and well-structured addition. The new service, configuration updates, and tests are comprehensive for a first iteration. I have identified a few areas for improvement, primarily concerning configuration consistency, code simplification for maintainability, and naming conventions in the new typings to enhance clarity.
4ebc323
to
6c00487
Compare
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
f120890
to
7e82688
Compare
|
This PR introduces the first implementation of the Cloud device API:
POST
https://<Base-URL>/v1/merchants/{merchantAccount}/devices/{deviceId}/sync
POST
https://<Base-URL>/v1/merchants/{merchantAccount}/devices/{deviceId}/async
GET
https://<Base-URL>/v1/merchants/{merchantAccount}/devices/{deviceId}/status
GET
https://<Base-URL>/v1/merchants/{merchantAccount}/connectedDevices
Config
andClient
to define Cloud device region-based endpoints/sync
andasync
endpoints