IT Glue's /flexible_assets endpoint refuses requests without a filter[flexible-asset-type-id] (returns 422 "Cannot index flexible assets without providing a flexible asset type ID filter"). The analyzer's Stage 2 search was caught and tolerated, but never returned docs. Added getFlexibleAssetsForOrganization(orgId) on ITGlueClient. It fetches the type list once per process (memoized), then fans out per-type fetches with Promise.allSettled so a permission-restricted type doesn't poison the whole org. Wired into itglue-search and aggregate-persistence. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| hooks | ||
| services | ||
| types | ||
| utils | ||
| auth-client.ts | ||
| auth-utils.ts | ||
| auth.ts | ||
| bootstrap.ts | ||
| permissions.ts | ||
| utils.ts | ||