@labdigital/commercetools-mock 2.57.0 → 2.57.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1580,6 +1580,11 @@ var OrderRepository = class extends AbstractResourceRepository {
1580
1580
  shippingAddress: createAddress(draft.shippingAddress, context.projectKey, this._storage),
1581
1581
  custom: createCustomFields(draft.custom, context.projectKey, this._storage),
1582
1582
  customerEmail: draft.customerEmail,
1583
+ customerId: draft.customerId,
1584
+ businessUnit: draft.businessUnit?.key ? {
1585
+ typeId: "business-unit",
1586
+ key: draft.businessUnit.key
1587
+ } : void 0,
1583
1588
  lastMessageSequenceNumber: 0,
1584
1589
  orderNumber: draft.orderNumber,
1585
1590
  orderState: draft.orderState || "Open",