woodsportal-client-sdk 1.1.4-dev.53 → 1.1.4-dev.55

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.
@@ -1,6 +1,6 @@
1
1
  import { bindStoreWithActions } from '../../chunk-Y5MRAAGK.js';
2
- import { createAdapterHooks } from '../../chunk-2M5KO5R3.js';
3
- import '../../chunk-3WO26LA6.js';
2
+ import { createAdapterHooks } from '../../chunk-FU5YZ6LI.js';
3
+ import '../../chunk-BF22MF22.js';
4
4
  import '../../chunk-24HIDVUO.js';
5
5
  import { inject, DestroyRef, signal } from '@angular/core';
6
6
 
@@ -1,5 +1,5 @@
1
- import { createAdapterHooks } from '../../chunk-2M5KO5R3.js';
2
- import '../../chunk-3WO26LA6.js';
1
+ import { createAdapterHooks } from '../../chunk-FU5YZ6LI.js';
2
+ import '../../chunk-BF22MF22.js';
3
3
  import '../../chunk-24HIDVUO.js';
4
4
  import { useSyncExternalStore } from 'react';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { bindStoreWithActions } from '../../chunk-Y5MRAAGK.js';
2
- import { createAdapterHooks } from '../../chunk-2M5KO5R3.js';
3
- import '../../chunk-3WO26LA6.js';
2
+ import { createAdapterHooks } from '../../chunk-FU5YZ6LI.js';
3
+ import '../../chunk-BF22MF22.js';
4
4
  import '../../chunk-24HIDVUO.js';
5
5
  import { reactive, onScopeDispose } from 'vue';
6
6
 
@@ -418,9 +418,11 @@ function getTotalParentLength(data) {
418
418
  var generatePath = (breadcrumbs, breadcrumb, index) => {
419
419
  const bc = convertToBase64(breadcrumbs.slice(0, index + 1));
420
420
  if (index === 0) {
421
+ const pathBase = breadcrumb?.pt || `/${breadcrumb?.o_t_id}`;
422
+ const normalizedPath = pathBase.startsWith("/") ? pathBase : `/${pathBase}`;
421
423
  return {
422
424
  name: breadcrumb?.n,
423
- path: `/${breadcrumb?.pt || breadcrumb?.o_t_id}?b=${bc}`
425
+ path: `${normalizedPath}?b=${bc}`
424
426
  };
425
427
  } else if (index === 1) {
426
428
  if (breadcrumb?.isHome) {
@@ -1227,7 +1229,7 @@ var Client = {
1227
1229
  ...props?.queryParams,
1228
1230
  ...urlParam
1229
1231
  };
1230
- if (hubspotObjectTypeId) queryParams.hubspotObjectTypeId = hubspotObjectTypeId;
1232
+ if (hubspotObjectTypeId) queryParams.parentObjectTypeId = hubspotObjectTypeId;
1231
1233
  const apiUrl = generateApiUrl({ route: API_ENDPOINTS.OBJECTS_DETAILS, params, queryParams });
1232
1234
  return HttpClient.get(apiUrl);
1233
1235
  },
@@ -1248,7 +1250,7 @@ var Client = {
1248
1250
  { cardParentMerge }
1249
1251
  );
1250
1252
  const queryParams = {};
1251
- if (hubspotObjectTypeId) queryParams.hubspotObjectTypeId = hubspotObjectTypeId;
1253
+ if (hubspotObjectTypeId) queryParams.parentObjectTypeId = hubspotObjectTypeId;
1252
1254
  const apiUrl = generateApiUrl({ route: API_ENDPOINTS.RECORDS_UPDATE, params, queryParams });
1253
1255
  return HttpClient.put(apiUrl, body);
1254
1256
  }
@@ -3267,5 +3269,5 @@ var routeParam = {
3267
3269
  };
3268
3270
 
3269
3271
  export { DEFAULT_HUBSPOT_TIMEZONE, actions2 as actions, actions3 as actions2, actions4 as actions3, actions5 as actions4, actions6 as actions5, actions7 as actions6, api, breadcrumbsDetails, client_exports, emailStore, formatGmtOffset, formatHubSpotActivityDateTime, formatHubSpotActivityDateTimeParts, getCurrentTimeZone, getFieldErrors, getFormErrors, initializeHttpClient, multiObjectStore, normalizeToTimestamp, noteStore, routeParam, store, syncStore, tableStore2 as tableStore, uploaderStore, url };
3270
- //# sourceMappingURL=chunk-3WO26LA6.js.map
3271
- //# sourceMappingURL=chunk-3WO26LA6.js.map
3272
+ //# sourceMappingURL=chunk-BF22MF22.js.map
3273
+ //# sourceMappingURL=chunk-BF22MF22.js.map