phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
99 stars 10 forks source link

Accomodate API endpoint response cleanup. #1394

Closed mathew-horner closed 3 months ago

mathew-horner commented 3 months ago

These changes are not in API yet (not until I update phylum-types, as I did here), but we can pre-empt them here in CLI.

The only affected type from phylum-types that we were using here seems to be JobDescriptor (through AllJobsStatusResponse). There was a test fixture related to that type that needed to be updated (also, we previously were not returning action in that response, so I went ahead and removed that too).

We are using our own local Package type here as we begin to transition from phylum-types, so I had to remove issue_impacts locally, too.

ref https://github.com/phylum-dev/roadmap/issues/400