Skip to content

Releases: ordercloud-api/ordercloud-javascript-sdk

4.6.6

18 Apr 19:29

Choose a tag to compare

Fixed

  • bug where new models from v4.6.5 were not being bundled in the final output

4.6.5

15 Apr 02:14

Choose a tag to compare

Added

  • new models for message sender payloads
  • new models for integration event payloads
  • new models for oidc payloads and response #67

4.5.5

07 Apr 17:03

Choose a tag to compare

Fixed

  • bug where filter with boolean false was being dropped (#66)

4.5.4

23 Mar 19:15
0ada8d8

Choose a tag to compare

SDK up to date with API v1.0.233

4.4.4

09 Mar 15:46

Choose a tag to compare

Added

4.3.4

08 Mar 03:17

Choose a tag to compare

Fixed

  • bug where methods for the Cert resource were using the wrong url

4.3.3

17 Feb 21:50

Choose a tag to compare

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

11 Jan 19:09

Choose a tag to compare

Added

  • SDK up to date with API v1.0.214 which includes new multi-location inventory feature

4.2.2

15 Nov 16:56

Choose a tag to compare

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

29 Jul 15:22

Choose a tag to compare

Added

Fixed

  • cookieOption defaults were being clobbered and as a result defaults were not being applied