@djust-b2b/djust-front-sdk 1.29.1 → 1.29.3

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.
@@ -28,6 +28,7 @@ export interface BestOffer {
28
28
  }
29
29
  export interface OfferPriceResponse {
30
30
  id: string;
31
+ externalId: string;
31
32
  offerPriceType: string;
32
33
  itemPerPack: number;
33
34
  customerAccountId: string;
@@ -610,7 +610,7 @@ export declare function deleteCommercialOrderLines({ commercialOrderId, body, }:
610
610
  * This function retrieves commercial order's data needed for the punchout, with order identified by the `commercialOrderId`.
611
611
  * This `commercialOrderId` parameter is required and validated before the request is executed.
612
612
  *
613
- * 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}` [ORDER-150]
613
+ * 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
614
614
  *
615
615
  * | Parameter | Type | Required | Description |
616
616
  * |------------------------------------|--------------------------------------|-----------------|----------------------------------------------------------------|
@@ -779,7 +779,7 @@ async function getCommercialOrderLines({ commercialOrderId, page, size, sort, su
779
779
  async function updateCommercialOrderLines({ commercialOrderId, customFieldIdType, lineIdType, lineType, updateOrderCommercialLines, updateOrderLineIdType, updateOrderLineType, }) {
780
780
  (0, parameters_validation_1.required)({ commercialOrderId });
781
781
  const { data } = await (0, fetch_instance_1.enhancedFetch)({
782
- method: "DELETE",
782
+ method: "PUT",
783
783
  path: `/v2/shop/commercial-orders/${commercialOrderId}/lines`,
784
784
  body: JSON.stringify({
785
785
  customFieldIdType,
@@ -832,7 +832,7 @@ async function deleteCommercialOrderLines({ commercialOrderId, body, }) {
832
832
  * This function retrieves commercial order's data needed for the punchout, with order identified by the `commercialOrderId`.
833
833
  * This `commercialOrderId` parameter is required and validated before the request is executed.
834
834
  *
835
- * 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}` [ORDER-150]
835
+ * 🛠 **Endpoint**: `GET /punchout/oci/${tenantConfigurationKey}/commercial-orders/${commercialOrderId}`
836
836
  *
837
837
  * | Parameter | Type | Required | Description |
838
838
  * |------------------------------------|--------------------------------------|-----------------|----------------------------------------------------------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djust-b2b/djust-front-sdk",
3
- "version": "1.29.1",
3
+ "version": "1.29.3",
4
4
  "description": "DJUST Front SDK is a versatile JavaScript Software Development Kit (SDK)",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",