@whiplashmerch/whiplash-api-client 1.0.24 → 1.0.26

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.
@@ -19537,7 +19537,7 @@ var ApiV2EntitiesBillOfLadingBolType;
19537
19537
  (function (ApiV2EntitiesBillOfLadingBolType) {
19538
19538
  ApiV2EntitiesBillOfLadingBolType["Child"] = "child";
19539
19539
  ApiV2EntitiesBillOfLadingBolType["Master"] = "master";
19540
- ApiV2EntitiesBillOfLadingBolType["LoadLevelChild"] = "load_level_child";
19540
+ ApiV2EntitiesBillOfLadingBolType["CombinedChild"] = "combined_child";
19541
19541
  })(ApiV2EntitiesBillOfLadingBolType || (ApiV2EntitiesBillOfLadingBolType = {}));
19542
19542
  /** the freight charge */
19543
19543
  var ApiV2EntitiesBillOfLadingFreightCharge;
@@ -20339,7 +20339,7 @@ var PostApiV21BillOfLadingsBolType;
20339
20339
  (function (PostApiV21BillOfLadingsBolType) {
20340
20340
  PostApiV21BillOfLadingsBolType["Child"] = "child";
20341
20341
  PostApiV21BillOfLadingsBolType["Master"] = "master";
20342
- PostApiV21BillOfLadingsBolType["LoadLevelChild"] = "load_level_child";
20342
+ PostApiV21BillOfLadingsBolType["CombinedChild"] = "combined_child";
20343
20343
  })(PostApiV21BillOfLadingsBolType || (PostApiV21BillOfLadingsBolType = {}));
20344
20344
  /** the freight charge */
20345
20345
  var PostApiV21BillOfLadingsFreightCharge;
@@ -21152,7 +21152,7 @@ var PostApiV2BillOfLadingsBolType;
21152
21152
  (function (PostApiV2BillOfLadingsBolType) {
21153
21153
  PostApiV2BillOfLadingsBolType["Child"] = "child";
21154
21154
  PostApiV2BillOfLadingsBolType["Master"] = "master";
21155
- PostApiV2BillOfLadingsBolType["LoadLevelChild"] = "load_level_child";
21155
+ PostApiV2BillOfLadingsBolType["CombinedChild"] = "combined_child";
21156
21156
  })(PostApiV2BillOfLadingsBolType || (PostApiV2BillOfLadingsBolType = {}));
21157
21157
  /** the freight charge */
21158
21158
  var PostApiV2BillOfLadingsFreightCharge;
@@ -25524,7 +25524,7 @@ const putApiV21OrderBatchesIdGenerateBol = (client, orderBatchId) => {
25524
25524
  });
25525
25525
  };
25526
25526
  const orderBatchRelations = {
25527
- bill_of_lading: { idKey: 'order_batch_id', entityKey: 'bill_of_lading', func: getApiV21BillOfLadings, type: RelationType.Indirect, single: true },
25527
+ bill_of_lading: { idKey: 'bill_of_lading_id', entityKey: 'bill_of_lading', func: getApiV21BillOfLadings, type: RelationType.Direct },
25528
25528
  };
25529
25529
  /**
25530
25530
  * @returns ApiV21EntitiesOrderBatchExtended[]
@@ -26082,7 +26082,7 @@ const getApiV21ItemQuantitiesByRoles = (client, id) => {
26082
26082
  };
26083
26083
 
26084
26084
  const loadRelations = {
26085
- bill_of_lading: { idKey: 'load_id', entityKey: 'bill_of_lading', func: getApiV21BillOfLadings, type: RelationType.Indirect, single: true },
26085
+ bill_of_lading: { idKey: 'bill_of_lading_id', entityKey: 'bill_of_lading', func: getApiV21BillOfLadings, type: RelationType.Direct },
26086
26086
  };
26087
26087
  /**
26088
26088
  * @returns ApiV21EntitiesLoadExtended[]