This PR introduces a new action to upload data to the Tidepool API. Here's a breakdown of the changes:
Created a new file src/actions/uploadData.ts to handle the new upload data action. This includes a function to make a POST request to the Tidepool API with the data to be uploaded.
Modified src/authentication.ts to handle the new POST request type for the upload data action. This involved adding a new case to the switch statement in the beforeRequest function to handle the new request type.
Modified src/data/types.ts to create a new data type for the data to be uploaded. This involved adding a new interface for the upload data type.
These changes allow users to upload data to the Tidepool API, expanding the functionality of the zapier-tidepool integration.
This PR introduces a new action to upload data to the Tidepool API. Here's a breakdown of the changes:
src/actions/uploadData.ts
to handle the new upload data action. This includes a function to make a POST request to the Tidepool API with the data to be uploaded.src/authentication.ts
to handle the new POST request type for the upload data action. This involved adding a new case to the switch statement in thebeforeRequest
function to handle the new request type.src/data/types.ts
to create a new data type for the data to be uploaded. This involved adding a new interface for the upload data type.These changes allow users to upload data to the Tidepool API, expanding the functionality of the zapier-tidepool integration.
Fixes #3.