@growth-operations/ui-shared 1.10.0 → 1.11.0
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/package.json +1 -1
- package/src/sdk/hubspot/lists.js +5 -3
package/package.json
CHANGED
package/src/sdk/hubspot/lists.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// HubSpot list fetcher (for list-selection pickers).
|
|
2
2
|
//
|
|
3
|
-
// Paginates crm/v3/lists/search until all
|
|
4
|
-
//
|
|
3
|
+
// Paginates crm/v3/lists/search until all lists are collected — MANUAL
|
|
4
|
+
// (static), DYNAMIC (active), and SNAPSHOT, so a picker isn't silently
|
|
5
|
+
// missing hand-curated test/segment lists. The POST body is a plain OBJECT —
|
|
6
|
+
// callHubSpotApi sends it as-is (NEVER JSON.stringify).
|
|
5
7
|
import { buildHubSpotUrl, callHubSpotApi } from "./base";
|
|
6
8
|
|
|
7
9
|
// context is accepted for signature consistency. query: optional name filter.
|
|
@@ -20,7 +22,7 @@ export async function getLists(context, token, query = "", objectTypeId = null)
|
|
|
20
22
|
query: query,
|
|
21
23
|
count: count,
|
|
22
24
|
offset: offset,
|
|
23
|
-
processingTypes: ["DYNAMIC"],
|
|
25
|
+
processingTypes: ["MANUAL", "DYNAMIC", "SNAPSHOT"],
|
|
24
26
|
...(objectTypeId ? { objectTypeId } : {}),
|
|
25
27
|
};
|
|
26
28
|
|