lumnisai 0.2.18 → 0.3.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/dist/index.d.cts CHANGED
@@ -891,6 +891,51 @@ interface SpecializedAgentParams {
891
891
  * Used by deep_people_search when includeEngagementInScore is true.
892
892
  */
893
893
  engagementScoreWeight?: number;
894
+ /**
895
+ * Direct LinkedIn post URLs to extract candidates from.
896
+ * System will extract authors, reactors, and commenters with full profile data.
897
+ *
898
+ * **Format:** `['https://www.linkedin.com/posts/username_topic-activity-123456-hash']`
899
+ *
900
+ * **Note:** Only works reliably for recent posts (~1 month). Older posts return author only.
901
+ *
902
+ * **Cost:** ~11 + N credits per URL (N = people to enrich).
903
+ *
904
+ * Used by deep_people_search.
905
+ */
906
+ directPostUrls?: string[];
907
+ /**
908
+ * Maximum number of reactors to fetch per direct post URL.
909
+ * Range: 0-5000
910
+ * @default 500
911
+ * Used by deep_people_search when directPostUrls is provided.
912
+ */
913
+ directPostsMaxReactors?: number;
914
+ /**
915
+ * Maximum number of comments to fetch per direct post URL.
916
+ * Range: 0-5000
917
+ * @default 100
918
+ * Used by deep_people_search when directPostUrls is provided.
919
+ */
920
+ directPostsMaxComments?: number;
921
+ /**
922
+ * Whether to extract the post author as a candidate.
923
+ * @default true
924
+ * Used by deep_people_search when directPostUrls is provided.
925
+ */
926
+ directPostsExtractAuthor?: boolean;
927
+ /**
928
+ * Whether to extract post reactors as candidates.
929
+ * @default true
930
+ * Used by deep_people_search when directPostUrls is provided.
931
+ */
932
+ directPostsExtractReactors?: boolean;
933
+ /**
934
+ * Whether to extract post commenters as candidates.
935
+ * @default true
936
+ * Used by deep_people_search when directPostUrls is provided.
937
+ */
938
+ directPostsExtractCommenters?: boolean;
894
939
  /**
895
940
  * Additional parameters for any specialized agent
896
941
  * This allows flexibility for future agents without SDK updates
package/dist/index.d.mts CHANGED
@@ -891,6 +891,51 @@ interface SpecializedAgentParams {
891
891
  * Used by deep_people_search when includeEngagementInScore is true.
892
892
  */
893
893
  engagementScoreWeight?: number;
894
+ /**
895
+ * Direct LinkedIn post URLs to extract candidates from.
896
+ * System will extract authors, reactors, and commenters with full profile data.
897
+ *
898
+ * **Format:** `['https://www.linkedin.com/posts/username_topic-activity-123456-hash']`
899
+ *
900
+ * **Note:** Only works reliably for recent posts (~1 month). Older posts return author only.
901
+ *
902
+ * **Cost:** ~11 + N credits per URL (N = people to enrich).
903
+ *
904
+ * Used by deep_people_search.
905
+ */
906
+ directPostUrls?: string[];
907
+ /**
908
+ * Maximum number of reactors to fetch per direct post URL.
909
+ * Range: 0-5000
910
+ * @default 500
911
+ * Used by deep_people_search when directPostUrls is provided.
912
+ */
913
+ directPostsMaxReactors?: number;
914
+ /**
915
+ * Maximum number of comments to fetch per direct post URL.
916
+ * Range: 0-5000
917
+ * @default 100
918
+ * Used by deep_people_search when directPostUrls is provided.
919
+ */
920
+ directPostsMaxComments?: number;
921
+ /**
922
+ * Whether to extract the post author as a candidate.
923
+ * @default true
924
+ * Used by deep_people_search when directPostUrls is provided.
925
+ */
926
+ directPostsExtractAuthor?: boolean;
927
+ /**
928
+ * Whether to extract post reactors as candidates.
929
+ * @default true
930
+ * Used by deep_people_search when directPostUrls is provided.
931
+ */
932
+ directPostsExtractReactors?: boolean;
933
+ /**
934
+ * Whether to extract post commenters as candidates.
935
+ * @default true
936
+ * Used by deep_people_search when directPostUrls is provided.
937
+ */
938
+ directPostsExtractCommenters?: boolean;
894
939
  /**
895
940
  * Additional parameters for any specialized agent
896
941
  * This allows flexibility for future agents without SDK updates
package/dist/index.d.ts CHANGED
@@ -891,6 +891,51 @@ interface SpecializedAgentParams {
891
891
  * Used by deep_people_search when includeEngagementInScore is true.
892
892
  */
893
893
  engagementScoreWeight?: number;
894
+ /**
895
+ * Direct LinkedIn post URLs to extract candidates from.
896
+ * System will extract authors, reactors, and commenters with full profile data.
897
+ *
898
+ * **Format:** `['https://www.linkedin.com/posts/username_topic-activity-123456-hash']`
899
+ *
900
+ * **Note:** Only works reliably for recent posts (~1 month). Older posts return author only.
901
+ *
902
+ * **Cost:** ~11 + N credits per URL (N = people to enrich).
903
+ *
904
+ * Used by deep_people_search.
905
+ */
906
+ directPostUrls?: string[];
907
+ /**
908
+ * Maximum number of reactors to fetch per direct post URL.
909
+ * Range: 0-5000
910
+ * @default 500
911
+ * Used by deep_people_search when directPostUrls is provided.
912
+ */
913
+ directPostsMaxReactors?: number;
914
+ /**
915
+ * Maximum number of comments to fetch per direct post URL.
916
+ * Range: 0-5000
917
+ * @default 100
918
+ * Used by deep_people_search when directPostUrls is provided.
919
+ */
920
+ directPostsMaxComments?: number;
921
+ /**
922
+ * Whether to extract the post author as a candidate.
923
+ * @default true
924
+ * Used by deep_people_search when directPostUrls is provided.
925
+ */
926
+ directPostsExtractAuthor?: boolean;
927
+ /**
928
+ * Whether to extract post reactors as candidates.
929
+ * @default true
930
+ * Used by deep_people_search when directPostUrls is provided.
931
+ */
932
+ directPostsExtractReactors?: boolean;
933
+ /**
934
+ * Whether to extract post commenters as candidates.
935
+ * @default true
936
+ * Used by deep_people_search when directPostUrls is provided.
937
+ */
938
+ directPostsExtractCommenters?: boolean;
894
939
  /**
895
940
  * Additional parameters for any specialized agent
896
941
  * This allows flexibility for future agents without SDK updates
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumnisai",
3
3
  "type": "module",
4
- "version": "0.2.18",
4
+ "version": "0.3.0",
5
5
  "description": "Official Node.js SDK for the Lumnis AI API",
6
6
  "author": "Lumnis AI",
7
7
  "license": "MIT",