getPackingSlip and getPackingSlips, getShippingLabel and more are missing
optikalefx opened this issue ยท comments
These are probably old docs. We codegen the client from official OpenAPI specs. We cannot manually add endpoints.
I suggest you raise this issue in the official repo of sp API.
@moltar these are in the official docs.
Perhaps this library just needs to regen?
I actually see that these generated 11 hours ago. So I think this is still an issue.
This is someone else's generated docs from the swagger from the github comments.
@nguyentoanit please check to make sure we have all models covered.
@optikalefx Thank you for the reported issue. We'll look into it.
Thanks! I believe this is the offending line, just not exporting them all.
import {
Configuration,
CustomerInvoicesApi,
} from '../api-models/vendor-direct-fulfillment-shipping-api-model'
Looks like swagger generates three classes for vendor-direct-fulfillment-shipping-api
- CustomerInvoicesApi
- VendorShippingApi
- VendorShippingLabelsApi
Seems like the scale leap generator template is looking for a one-to-one mapping. This is causing the first-class CustomerInvoicesApi to be used as the base class excluding the other two.
Any change to modify the generator template to accept more than one class per model?
Thank you @josh-fisher for your assessment. We'll fix this soon. It's definitely an oversight. Cheers!
๐ This issue has been resolved in version 4.1.2 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐