[VSA parity] Move EE API requests into api/analytics_api module
Summary
Refactors the EE VSA api requests, moving them from the ee/api.js
file, into the ee/api/analytics_api
This follows on from the work in:
- [VSA][FE] Introduce a default value stream (!63397 - merged)
- Refactor/Reorganize api.js for better tree-shaking (!50038 - merged)
Affected lines
Improvements
- This will align the EE api requests with the work done for CE
- This will help simplify future updates in [VSA parity] Make the API endpoints configurabl... (#382492 - closed)
Implementation guide
- Move the
cycleAnalytics*
api requests into theanalytics_api
module - Rename requests to remove
cycleAnalytics
from the name - Update related tests