- Adds the API endpoint and schema for analyze and analysis status.
- Adds `requestCreateAnalysis` and `requestAnalysisCreationStatus` methods for products.
- Updated `pollForAnalysisCompleted` to poll the analysis status api instead of analysis.
- Polling now has an initial wait of 30s and will poll every 1s after that for 3 more minutes when analyze status is pending.
- Polling will skip the wait and check every 1s (for 3 minutes) if analysis is already in progress.
- Removed exponential backoff as the new api gives updated progress with the status, so better to get it consistently.
- Removed links to external analysis triggers.
- Update ShoppingSidebarChild `updateContent` to check if there is an analysis in progress and if so wait for it to finish before requesting the analysis.
NOTE: Now that `pollForAnalysisCompleted` has a status api to poll, it returns a status result. The analysis data will now need to be requested with `requestAnalysis` after the polling has finished.
Differential Revision: https://phabricator.services.mozilla.com/D187818