@jam-nodes/nodes 0.2.7 → 0.2.10
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/README.md +147 -0
- package/dist/ai/analyze-posts.d.ts +3 -3
- package/dist/ai/draft-emails.d.ts +1 -1
- package/dist/index.d.ts +363 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -3
- package/dist/index.js.map +1 -1
- package/dist/integrations/apollo/search-contacts.d.ts +4 -4
- package/dist/integrations/dataforseo/keyword-research.d.ts +6 -6
- package/dist/integrations/dataforseo/keyword-research.d.ts.map +1 -1
- package/dist/integrations/dataforseo/keyword-research.js +2 -8
- package/dist/integrations/dataforseo/keyword-research.js.map +1 -1
- package/dist/integrations/devto/create-article.d.ts +20 -0
- package/dist/integrations/devto/create-article.d.ts.map +1 -0
- package/dist/integrations/devto/create-article.js +67 -0
- package/dist/integrations/devto/create-article.js.map +1 -0
- package/dist/integrations/devto/credentials.d.ts +2 -0
- package/dist/integrations/devto/credentials.d.ts.map +1 -0
- package/dist/integrations/devto/credentials.js +17 -0
- package/dist/integrations/devto/credentials.js.map +1 -0
- package/dist/integrations/devto/get-articles.d.ts +21 -0
- package/dist/integrations/devto/get-articles.d.ts.map +1 -0
- package/dist/integrations/devto/get-articles.js +78 -0
- package/dist/integrations/devto/get-articles.js.map +1 -0
- package/dist/integrations/devto/index.d.ts +6 -0
- package/dist/integrations/devto/index.d.ts.map +1 -0
- package/dist/integrations/devto/index.js +6 -0
- package/dist/integrations/devto/index.js.map +1 -0
- package/dist/integrations/devto/schemas.d.ts +243 -0
- package/dist/integrations/devto/schemas.d.ts.map +1 -0
- package/dist/integrations/devto/schemas.js +69 -0
- package/dist/integrations/devto/schemas.js.map +1 -0
- package/dist/integrations/devto/update-article.d.ts +19 -0
- package/dist/integrations/devto/update-article.d.ts.map +1 -0
- package/dist/integrations/devto/update-article.js +65 -0
- package/dist/integrations/devto/update-article.js.map +1 -0
- package/dist/integrations/discord/schemas.d.ts +2 -2
- package/dist/integrations/discord/send-message.d.ts +1 -1
- package/dist/integrations/firecrawl/crawl.d.ts +121 -0
- package/dist/integrations/firecrawl/crawl.d.ts.map +1 -0
- package/dist/integrations/firecrawl/crawl.js +168 -0
- package/dist/integrations/firecrawl/crawl.js.map +1 -0
- package/dist/integrations/firecrawl/extract.d.ts +82 -0
- package/dist/integrations/firecrawl/extract.d.ts.map +1 -0
- package/dist/integrations/firecrawl/extract.js +168 -0
- package/dist/integrations/firecrawl/extract.js.map +1 -0
- package/dist/integrations/firecrawl/index.d.ts +4 -0
- package/dist/integrations/firecrawl/index.d.ts.map +1 -0
- package/dist/integrations/firecrawl/index.js +4 -0
- package/dist/integrations/firecrawl/index.js.map +1 -0
- package/dist/integrations/firecrawl/scrape.d.ts +1208 -0
- package/dist/integrations/firecrawl/scrape.d.ts.map +1 -0
- package/dist/integrations/firecrawl/scrape.js +254 -0
- package/dist/integrations/firecrawl/scrape.js.map +1 -0
- package/dist/integrations/index.d.ts +4 -1
- package/dist/integrations/index.d.ts.map +1 -1
- package/dist/integrations/index.js +7 -1
- package/dist/integrations/index.js.map +1 -1
- package/dist/integrations/social/credentials.d.ts +2 -0
- package/dist/integrations/social/credentials.d.ts.map +1 -0
- package/dist/integrations/social/credentials.js +36 -0
- package/dist/integrations/social/credentials.js.map +1 -0
- package/dist/integrations/social/index.d.ts +8 -0
- package/dist/integrations/social/index.d.ts.map +1 -1
- package/dist/integrations/social/index.js +8 -0
- package/dist/integrations/social/index.js.map +1 -1
- package/dist/integrations/social/twitter-client.d.ts +6 -0
- package/dist/integrations/social/twitter-client.d.ts.map +1 -0
- package/dist/integrations/social/twitter-client.js +140 -0
- package/dist/integrations/social/twitter-client.js.map +1 -0
- package/dist/integrations/social/twitter-create-tweet.d.ts +61 -0
- package/dist/integrations/social/twitter-create-tweet.d.ts.map +1 -0
- package/dist/integrations/social/twitter-create-tweet.js +83 -0
- package/dist/integrations/social/twitter-create-tweet.js.map +1 -0
- package/dist/integrations/social/twitter-delete-tweet.d.ts +23 -0
- package/dist/integrations/social/twitter-delete-tweet.d.ts.map +1 -0
- package/dist/integrations/social/twitter-delete-tweet.js +41 -0
- package/dist/integrations/social/twitter-delete-tweet.js.map +1 -0
- package/dist/integrations/social/twitter-get-user-by-username.d.ts +39 -0
- package/dist/integrations/social/twitter-get-user-by-username.d.ts.map +1 -0
- package/dist/integrations/social/twitter-get-user-by-username.js +56 -0
- package/dist/integrations/social/twitter-get-user-by-username.js.map +1 -0
- package/dist/integrations/social/twitter-like-tweet.d.ts +23 -0
- package/dist/integrations/social/twitter-like-tweet.d.ts.map +1 -0
- package/dist/integrations/social/twitter-like-tweet.js +48 -0
- package/dist/integrations/social/twitter-like-tweet.js.map +1 -0
- package/dist/integrations/social/twitter-retweet.d.ts +23 -0
- package/dist/integrations/social/twitter-retweet.d.ts.map +1 -0
- package/dist/integrations/social/twitter-retweet.js +48 -0
- package/dist/integrations/social/twitter-retweet.js.map +1 -0
- package/dist/integrations/social/twitter-search-tweets.d.ts +77 -0
- package/dist/integrations/social/twitter-search-tweets.d.ts.map +1 -0
- package/dist/integrations/social/twitter-search-tweets.js +76 -0
- package/dist/integrations/social/twitter-search-tweets.js.map +1 -0
- package/dist/integrations/social/twitter-send-dm.d.ts +39 -0
- package/dist/integrations/social/twitter-send-dm.d.ts.map +1 -0
- package/dist/integrations/social/twitter-send-dm.js +67 -0
- package/dist/integrations/social/twitter-send-dm.js.map +1 -0
- package/dist/integrations/wordpress/createPost.d.ts +25 -0
- package/dist/integrations/wordpress/createPost.d.ts.map +1 -0
- package/dist/integrations/wordpress/createPost.js +67 -0
- package/dist/integrations/wordpress/createPost.js.map +1 -0
- package/dist/integrations/wordpress/credentials.d.ts +2 -0
- package/dist/integrations/wordpress/credentials.d.ts.map +1 -0
- package/dist/integrations/wordpress/credentials.js +25 -0
- package/dist/integrations/wordpress/credentials.js.map +1 -0
- package/dist/integrations/wordpress/getPosts.d.ts +28 -0
- package/dist/integrations/wordpress/getPosts.d.ts.map +1 -0
- package/dist/integrations/wordpress/getPosts.js +70 -0
- package/dist/integrations/wordpress/getPosts.js.map +1 -0
- package/dist/integrations/wordpress/index.d.ts +8 -0
- package/dist/integrations/wordpress/index.d.ts.map +1 -0
- package/dist/integrations/wordpress/index.js +7 -0
- package/dist/integrations/wordpress/index.js.map +1 -0
- package/dist/integrations/wordpress/schemas.d.ts +411 -0
- package/dist/integrations/wordpress/schemas.d.ts.map +1 -0
- package/dist/integrations/wordpress/schemas.js +110 -0
- package/dist/integrations/wordpress/schemas.js.map +1 -0
- package/dist/integrations/wordpress/updatePost.d.ts +21 -0
- package/dist/integrations/wordpress/updatePost.d.ts.map +1 -0
- package/dist/integrations/wordpress/updatePost.js +59 -0
- package/dist/integrations/wordpress/updatePost.js.map +1 -0
- package/dist/integrations/wordpress/uploadMedia.d.ts +15 -0
- package/dist/integrations/wordpress/uploadMedia.d.ts.map +1 -0
- package/dist/integrations/wordpress/uploadMedia.js +56 -0
- package/dist/integrations/wordpress/uploadMedia.js.map +1 -0
- package/dist/integrations/wordpress/utils.d.ts +15 -0
- package/dist/integrations/wordpress/utils.d.ts.map +1 -0
- package/dist/integrations/wordpress/utils.js +15 -0
- package/dist/integrations/wordpress/utils.js.map +1 -0
- package/dist/schemas/ai.d.ts +20 -20
- package/package.json +2 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineNode } from '@jam-nodes/core';
|
|
2
|
+
import { fetchWithRetry } from '../../utils/http.js';
|
|
3
|
+
import { resolveWordPressAuth } from './utils.js';
|
|
4
|
+
import { WordPressUploadMediaInputSchema, WordPressUploadMediaOutputSchema, normalizeWordPressMedia, } from './schemas.js';
|
|
5
|
+
export const wordpressUploadMediaNode = defineNode({
|
|
6
|
+
type: 'wordpress_upload_media',
|
|
7
|
+
name: 'WordPress Upload Media',
|
|
8
|
+
description: 'Upload a media file to the WordPress media library',
|
|
9
|
+
category: 'integration',
|
|
10
|
+
inputSchema: WordPressUploadMediaInputSchema,
|
|
11
|
+
outputSchema: WordPressUploadMediaOutputSchema,
|
|
12
|
+
estimatedDuration: 10,
|
|
13
|
+
capabilities: {
|
|
14
|
+
supportsRerun: false,
|
|
15
|
+
},
|
|
16
|
+
executor: async (input, context) => {
|
|
17
|
+
try {
|
|
18
|
+
const authResult = resolveWordPressAuth(context.credentials?.wordpress);
|
|
19
|
+
if ('error' in authResult) {
|
|
20
|
+
return { success: false, error: authResult.error };
|
|
21
|
+
}
|
|
22
|
+
const { baseUrl, authHeader } = authResult;
|
|
23
|
+
const fileBuffer = Buffer.from(input.contentBase64, 'base64');
|
|
24
|
+
const formData = new FormData();
|
|
25
|
+
const blob = new Blob([fileBuffer], { type: input.mimeType });
|
|
26
|
+
formData.append('file', blob, input.filename);
|
|
27
|
+
const response = await fetchWithRetry(`${baseUrl}/wp-json/wp/v2/media`, {
|
|
28
|
+
method: 'POST',
|
|
29
|
+
headers: {
|
|
30
|
+
Authorization: authHeader,
|
|
31
|
+
'Content-Disposition': `attachment; filename="${input.filename}"`,
|
|
32
|
+
},
|
|
33
|
+
body: formData,
|
|
34
|
+
}, { maxRetries: 3, backoffMs: 1000, timeoutMs: 60000 });
|
|
35
|
+
if (!response.ok) {
|
|
36
|
+
const errorText = await response.text();
|
|
37
|
+
return {
|
|
38
|
+
success: false,
|
|
39
|
+
error: `WordPress API error ${response.status}: ${errorText}`,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
const data = (await response.json());
|
|
43
|
+
return {
|
|
44
|
+
success: true,
|
|
45
|
+
output: normalizeWordPressMedia(data),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
catch (error) {
|
|
49
|
+
return {
|
|
50
|
+
success: false,
|
|
51
|
+
error: error instanceof Error ? error.message : 'Unknown error',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=uploadMedia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadMedia.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/uploadMedia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EAGhC,uBAAuB,GACxB,MAAM,cAAc,CAAA;AAErB,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,+BAA+B;IAC5C,YAAY,EAAE,gCAAgC;IAC9C,iBAAiB,EAAE,EAAE;IACrB,YAAY,EAAE;QACZ,aAAa,EAAE,KAAK;KACrB;IACD,QAAQ,EAAE,KAAK,EAAE,KAAgC,EAAE,OAAO,EAAE,EAAE;QAC5D,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,oBAAoB,CAAC,OAAO,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;YACvE,IAAI,OAAO,IAAI,UAAU,EAAE,CAAC;gBAC1B,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,CAAA;YACpD,CAAC;YACD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAAA;YAE1C,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAA;YAC7D,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAA;YAC/B,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;YAC7D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;YAE7C,MAAM,QAAQ,GAAG,MAAM,cAAc,CACnC,GAAG,OAAO,sBAAsB,EAChC;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU;oBACzB,qBAAqB,EAAE,yBAAyB,KAAK,CAAC,QAAQ,GAAG;iBAClE;gBACD,IAAI,EAAE,QAAQ;aACf,EACD,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CACrD,CAAA;YAED,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;gBACjB,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAA;gBACvC,OAAO;oBACL,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE,uBAAuB,QAAQ,CAAC,MAAM,KAAK,SAAS,EAAE;iBAC9D,CAAA;YACH,CAAC;YAED,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAsB,CAAA;YAEzD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAC;aACtC,CAAA;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;aAChE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve WordPress credentials and return computed baseUrl and authHeader.
|
|
3
|
+
* Returns error if credentials are missing.
|
|
4
|
+
*/
|
|
5
|
+
export declare function resolveWordPressAuth(creds: {
|
|
6
|
+
siteUrl?: string;
|
|
7
|
+
username?: string;
|
|
8
|
+
applicationPassword?: string;
|
|
9
|
+
} | undefined): {
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
authHeader: string;
|
|
12
|
+
} | {
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/integrations/wordpress/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B,GAAG,SAAS,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAY1E"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve WordPress credentials and return computed baseUrl and authHeader.
|
|
3
|
+
* Returns error if credentials are missing.
|
|
4
|
+
*/
|
|
5
|
+
export function resolveWordPressAuth(creds) {
|
|
6
|
+
if (!creds?.siteUrl || !creds?.username || !creds?.applicationPassword) {
|
|
7
|
+
return {
|
|
8
|
+
error: 'WordPress credentials not configured. Please provide context.credentials.wordpress with siteUrl, username, and applicationPassword.',
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
const baseUrl = creds.siteUrl.replace(/\/+$/, '');
|
|
12
|
+
const authHeader = `Basic ${Buffer.from(`${creds.username}:${creds.applicationPassword}`).toString('base64')}`;
|
|
13
|
+
return { baseUrl, authHeader };
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAIxB;IACX,IAAI,CAAC,KAAK,EAAE,OAAO,IAAI,CAAC,KAAK,EAAE,QAAQ,IAAI,CAAC,KAAK,EAAE,mBAAmB,EAAE,CAAC;QACvE,OAAO;YACL,KAAK,EACH,qIAAqI;SACxI,CAAA;IACH,CAAC;IAED,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IACjD,MAAM,UAAU,GAAG,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAA;IAE9G,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,CAAA;AAChC,CAAC"}
|
package/dist/schemas/ai.d.ts
CHANGED
|
@@ -81,14 +81,14 @@ export declare const ContactSchema: z.ZodObject<{
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
id: string;
|
|
83
83
|
title: string | null;
|
|
84
|
-
company: string | null;
|
|
85
84
|
name: string;
|
|
85
|
+
company: string | null;
|
|
86
86
|
email: string | null;
|
|
87
87
|
}, {
|
|
88
88
|
id: string;
|
|
89
89
|
title: string | null;
|
|
90
|
-
company: string | null;
|
|
91
90
|
name: string;
|
|
91
|
+
company: string | null;
|
|
92
92
|
email: string | null;
|
|
93
93
|
}>;
|
|
94
94
|
export type Contact = z.infer<typeof ContactSchema>;
|
|
@@ -103,14 +103,14 @@ export declare const DraftEmailsInputSchema: z.ZodObject<{
|
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
id: string;
|
|
105
105
|
title: string | null;
|
|
106
|
-
company: string | null;
|
|
107
106
|
name: string;
|
|
107
|
+
company: string | null;
|
|
108
108
|
email: string | null;
|
|
109
109
|
}, {
|
|
110
110
|
id: string;
|
|
111
111
|
title: string | null;
|
|
112
|
-
company: string | null;
|
|
113
112
|
name: string;
|
|
113
|
+
company: string | null;
|
|
114
114
|
email: string | null;
|
|
115
115
|
}>, "many">;
|
|
116
116
|
/** Description of the product/service being offered */
|
|
@@ -134,8 +134,8 @@ export declare const DraftEmailsInputSchema: z.ZodObject<{
|
|
|
134
134
|
contacts: {
|
|
135
135
|
id: string;
|
|
136
136
|
title: string | null;
|
|
137
|
-
company: string | null;
|
|
138
137
|
name: string;
|
|
138
|
+
company: string | null;
|
|
139
139
|
email: string | null;
|
|
140
140
|
}[];
|
|
141
141
|
productDescription: string;
|
|
@@ -149,8 +149,8 @@ export declare const DraftEmailsInputSchema: z.ZodObject<{
|
|
|
149
149
|
contacts: {
|
|
150
150
|
id: string;
|
|
151
151
|
title: string | null;
|
|
152
|
-
company: string | null;
|
|
153
152
|
name: string;
|
|
153
|
+
company: string | null;
|
|
154
154
|
email: string | null;
|
|
155
155
|
}[];
|
|
156
156
|
productDescription: string;
|
|
@@ -775,7 +775,7 @@ export declare const AnalyzedPostSchema: z.ZodObject<{
|
|
|
775
775
|
relevanceScore: number;
|
|
776
776
|
sentiment: "positive" | "negative" | "neutral";
|
|
777
777
|
isComplaint: boolean;
|
|
778
|
-
urgencyLevel: "
|
|
778
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
779
779
|
aiSummary: string;
|
|
780
780
|
matchedKeywords: string[];
|
|
781
781
|
title?: string | undefined;
|
|
@@ -798,7 +798,7 @@ export declare const AnalyzedPostSchema: z.ZodObject<{
|
|
|
798
798
|
relevanceScore: number;
|
|
799
799
|
sentiment: "positive" | "negative" | "neutral";
|
|
800
800
|
isComplaint: boolean;
|
|
801
|
-
urgencyLevel: "
|
|
801
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
802
802
|
aiSummary: string;
|
|
803
803
|
matchedKeywords: string[];
|
|
804
804
|
title?: string | undefined;
|
|
@@ -858,7 +858,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
858
858
|
relevanceScore: number;
|
|
859
859
|
sentiment: "positive" | "negative" | "neutral";
|
|
860
860
|
isComplaint: boolean;
|
|
861
|
-
urgencyLevel: "
|
|
861
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
862
862
|
aiSummary: string;
|
|
863
863
|
matchedKeywords: string[];
|
|
864
864
|
title?: string | undefined;
|
|
@@ -881,7 +881,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
881
881
|
relevanceScore: number;
|
|
882
882
|
sentiment: "positive" | "negative" | "neutral";
|
|
883
883
|
isComplaint: boolean;
|
|
884
|
-
urgencyLevel: "
|
|
884
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
885
885
|
aiSummary: string;
|
|
886
886
|
matchedKeywords: string[];
|
|
887
887
|
title?: string | undefined;
|
|
@@ -939,7 +939,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
939
939
|
relevanceScore: number;
|
|
940
940
|
sentiment: "positive" | "negative" | "neutral";
|
|
941
941
|
isComplaint: boolean;
|
|
942
|
-
urgencyLevel: "
|
|
942
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
943
943
|
aiSummary: string;
|
|
944
944
|
matchedKeywords: string[];
|
|
945
945
|
title?: string | undefined;
|
|
@@ -962,7 +962,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
962
962
|
relevanceScore: number;
|
|
963
963
|
sentiment: "positive" | "negative" | "neutral";
|
|
964
964
|
isComplaint: boolean;
|
|
965
|
-
urgencyLevel: "
|
|
965
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
966
966
|
aiSummary: string;
|
|
967
967
|
matchedKeywords: string[];
|
|
968
968
|
title?: string | undefined;
|
|
@@ -1020,7 +1020,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1020
1020
|
relevanceScore: number;
|
|
1021
1021
|
sentiment: "positive" | "negative" | "neutral";
|
|
1022
1022
|
isComplaint: boolean;
|
|
1023
|
-
urgencyLevel: "
|
|
1023
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1024
1024
|
aiSummary: string;
|
|
1025
1025
|
matchedKeywords: string[];
|
|
1026
1026
|
title?: string | undefined;
|
|
@@ -1043,7 +1043,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1043
1043
|
relevanceScore: number;
|
|
1044
1044
|
sentiment: "positive" | "negative" | "neutral";
|
|
1045
1045
|
isComplaint: boolean;
|
|
1046
|
-
urgencyLevel: "
|
|
1046
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1047
1047
|
aiSummary: string;
|
|
1048
1048
|
matchedKeywords: string[];
|
|
1049
1049
|
title?: string | undefined;
|
|
@@ -1072,7 +1072,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1072
1072
|
relevanceScore: number;
|
|
1073
1073
|
sentiment: "positive" | "negative" | "neutral";
|
|
1074
1074
|
isComplaint: boolean;
|
|
1075
|
-
urgencyLevel: "
|
|
1075
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1076
1076
|
aiSummary: string;
|
|
1077
1077
|
matchedKeywords: string[];
|
|
1078
1078
|
title?: string | undefined;
|
|
@@ -1096,7 +1096,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1096
1096
|
relevanceScore: number;
|
|
1097
1097
|
sentiment: "positive" | "negative" | "neutral";
|
|
1098
1098
|
isComplaint: boolean;
|
|
1099
|
-
urgencyLevel: "
|
|
1099
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1100
1100
|
aiSummary: string;
|
|
1101
1101
|
matchedKeywords: string[];
|
|
1102
1102
|
title?: string | undefined;
|
|
@@ -1120,7 +1120,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1120
1120
|
relevanceScore: number;
|
|
1121
1121
|
sentiment: "positive" | "negative" | "neutral";
|
|
1122
1122
|
isComplaint: boolean;
|
|
1123
|
-
urgencyLevel: "
|
|
1123
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1124
1124
|
aiSummary: string;
|
|
1125
1125
|
matchedKeywords: string[];
|
|
1126
1126
|
title?: string | undefined;
|
|
@@ -1149,7 +1149,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1149
1149
|
relevanceScore: number;
|
|
1150
1150
|
sentiment: "positive" | "negative" | "neutral";
|
|
1151
1151
|
isComplaint: boolean;
|
|
1152
|
-
urgencyLevel: "
|
|
1152
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1153
1153
|
aiSummary: string;
|
|
1154
1154
|
matchedKeywords: string[];
|
|
1155
1155
|
title?: string | undefined;
|
|
@@ -1173,7 +1173,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1173
1173
|
relevanceScore: number;
|
|
1174
1174
|
sentiment: "positive" | "negative" | "neutral";
|
|
1175
1175
|
isComplaint: boolean;
|
|
1176
|
-
urgencyLevel: "
|
|
1176
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1177
1177
|
aiSummary: string;
|
|
1178
1178
|
matchedKeywords: string[];
|
|
1179
1179
|
title?: string | undefined;
|
|
@@ -1197,7 +1197,7 @@ export declare const SocialAiAnalyzeOutputSchema: z.ZodObject<{
|
|
|
1197
1197
|
relevanceScore: number;
|
|
1198
1198
|
sentiment: "positive" | "negative" | "neutral";
|
|
1199
1199
|
isComplaint: boolean;
|
|
1200
|
-
urgencyLevel: "
|
|
1200
|
+
urgencyLevel: "medium" | "low" | "high";
|
|
1201
1201
|
aiSummary: string;
|
|
1202
1202
|
matchedKeywords: string[];
|
|
1203
1203
|
title?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jam-nodes/nodes",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "Built-in workflow nodes for jam-nodes framework",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
6
7
|
"main": "./dist/index.js",
|
|
7
8
|
"types": "./dist/index.d.ts",
|
|
8
9
|
"exports": {
|