Releases: ordercloud-api/ordercloud-javascript-sdk
Releases · ordercloud-api/ordercloud-javascript-sdk
4.6.6
Fixed
- bug where new models from v4.6.5 were not being bundled in the final output
4.6.5
4.5.5
4.5.4
SDK up to date with API v1.0.233
4.4.4
Added
- SDK up to date with API v1.0.231
4.3.4
Fixed
- bug where methods for the Cert resource were using the wrong url
4.3.3
Fixed
Bug where type parameters are wrong on models that have properties that are complex types that have their own type parameters. An example of this is OrderWorksheet
Previously:
export interface OrderWorksheet<TFromUserXp = any, TBillingAddressXp = any, TOrderXp = any, TProductXp = any, TVariantXp = any, TShippingAddressXp = any, TShipFromAddressXp = any, TLineItemsXp = any, TShipEstimatesXp = any, TShipEstimateResponseXp = any, TOrderCalculateResponseXp = any, TOrderSubmitResponseXp = any, TOrderSubmitForApprovalResponseXp = any, TOrderApprovedResponseXp = any> {
Order?: Order<TOrderXp,TFromUserXp,TBillingAddressXp>
LineItems?: LineItem<TProductXp,TVariantXp,TShippingAddressXp,TShipFromAddressXp, TLineItemsXp>[]
ShipEstimateResponse?: ShipEstimateResponse<TShipEstimateResponseXp,TShipEstimatesXp>
OrderCalculateResponse?: OrderCalculateResponse<TOrderCalculateResponseXp>
OrderSubmitResponse?: OrderSubmitResponse<TOrderSubmitResponseXp>
OrderSubmitForApprovalResponse?: OrderSubmitForApprovalResponse<TOrderSubmitForApprovalResponseXp>
OrderApprovedResponse?: OrderApprovedResponse<TOrderApprovedResponseXp>
}Note that the LineItems property is defined as a LineItem with LineItemsXp as the last type parameter. This is wrong, it should actually be the first one so that it matches the type parameters expected by LineItem
4.3.2
Added
- SDK up to date with API v1.0.214 which includes new multi-location inventory feature
4.2.2
Added
- SDK up to date with API v1.0.214 which includes new feature around multi-language and multi-currency
Regen SDK and bugfix for cookieOptions
Added
- SDK up to date with API v1.0.214
Fixed
- cookieOption defaults were being clobbered and as a result defaults were not being applied