@jam-nodes/nodes 0.2.8 → 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.
Files changed (118) hide show
  1. package/README.md +147 -0
  2. package/dist/ai/draft-emails.d.ts +1 -1
  3. package/dist/index.d.ts +199 -9
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +21 -3
  6. package/dist/index.js.map +1 -1
  7. package/dist/integrations/apollo/search-contacts.d.ts +4 -4
  8. package/dist/integrations/dataforseo/keyword-research.d.ts +6 -6
  9. package/dist/integrations/dataforseo/keyword-research.d.ts.map +1 -1
  10. package/dist/integrations/dataforseo/keyword-research.js +2 -8
  11. package/dist/integrations/dataforseo/keyword-research.js.map +1 -1
  12. package/dist/integrations/devto/create-article.d.ts +20 -0
  13. package/dist/integrations/devto/create-article.d.ts.map +1 -0
  14. package/dist/integrations/devto/create-article.js +67 -0
  15. package/dist/integrations/devto/create-article.js.map +1 -0
  16. package/dist/integrations/devto/credentials.d.ts +2 -0
  17. package/dist/integrations/devto/credentials.d.ts.map +1 -0
  18. package/dist/integrations/devto/credentials.js +17 -0
  19. package/dist/integrations/devto/credentials.js.map +1 -0
  20. package/dist/integrations/devto/get-articles.d.ts +21 -0
  21. package/dist/integrations/devto/get-articles.d.ts.map +1 -0
  22. package/dist/integrations/devto/get-articles.js +78 -0
  23. package/dist/integrations/devto/get-articles.js.map +1 -0
  24. package/dist/integrations/devto/index.d.ts +6 -0
  25. package/dist/integrations/devto/index.d.ts.map +1 -0
  26. package/dist/integrations/devto/index.js +6 -0
  27. package/dist/integrations/devto/index.js.map +1 -0
  28. package/dist/integrations/devto/schemas.d.ts +243 -0
  29. package/dist/integrations/devto/schemas.d.ts.map +1 -0
  30. package/dist/integrations/devto/schemas.js +69 -0
  31. package/dist/integrations/devto/schemas.js.map +1 -0
  32. package/dist/integrations/devto/update-article.d.ts +19 -0
  33. package/dist/integrations/devto/update-article.d.ts.map +1 -0
  34. package/dist/integrations/devto/update-article.js +65 -0
  35. package/dist/integrations/devto/update-article.js.map +1 -0
  36. package/dist/integrations/discord/schemas.d.ts +2 -2
  37. package/dist/integrations/discord/send-message.d.ts +1 -1
  38. package/dist/integrations/firecrawl/crawl.d.ts +3 -3
  39. package/dist/integrations/firecrawl/extract.d.ts +3 -3
  40. package/dist/integrations/firecrawl/scrape.d.ts +10 -10
  41. package/dist/integrations/index.d.ts +3 -1
  42. package/dist/integrations/index.d.ts.map +1 -1
  43. package/dist/integrations/index.js +5 -1
  44. package/dist/integrations/index.js.map +1 -1
  45. package/dist/integrations/social/credentials.d.ts +2 -0
  46. package/dist/integrations/social/credentials.d.ts.map +1 -0
  47. package/dist/integrations/social/credentials.js +36 -0
  48. package/dist/integrations/social/credentials.js.map +1 -0
  49. package/dist/integrations/social/index.d.ts +8 -0
  50. package/dist/integrations/social/index.d.ts.map +1 -1
  51. package/dist/integrations/social/index.js +8 -0
  52. package/dist/integrations/social/index.js.map +1 -1
  53. package/dist/integrations/social/twitter-client.d.ts +6 -0
  54. package/dist/integrations/social/twitter-client.d.ts.map +1 -0
  55. package/dist/integrations/social/twitter-client.js +140 -0
  56. package/dist/integrations/social/twitter-client.js.map +1 -0
  57. package/dist/integrations/social/twitter-create-tweet.d.ts +61 -0
  58. package/dist/integrations/social/twitter-create-tweet.d.ts.map +1 -0
  59. package/dist/integrations/social/twitter-create-tweet.js +83 -0
  60. package/dist/integrations/social/twitter-create-tweet.js.map +1 -0
  61. package/dist/integrations/social/twitter-delete-tweet.d.ts +23 -0
  62. package/dist/integrations/social/twitter-delete-tweet.d.ts.map +1 -0
  63. package/dist/integrations/social/twitter-delete-tweet.js +41 -0
  64. package/dist/integrations/social/twitter-delete-tweet.js.map +1 -0
  65. package/dist/integrations/social/twitter-get-user-by-username.d.ts +39 -0
  66. package/dist/integrations/social/twitter-get-user-by-username.d.ts.map +1 -0
  67. package/dist/integrations/social/twitter-get-user-by-username.js +56 -0
  68. package/dist/integrations/social/twitter-get-user-by-username.js.map +1 -0
  69. package/dist/integrations/social/twitter-like-tweet.d.ts +23 -0
  70. package/dist/integrations/social/twitter-like-tweet.d.ts.map +1 -0
  71. package/dist/integrations/social/twitter-like-tweet.js +48 -0
  72. package/dist/integrations/social/twitter-like-tweet.js.map +1 -0
  73. package/dist/integrations/social/twitter-retweet.d.ts +23 -0
  74. package/dist/integrations/social/twitter-retweet.d.ts.map +1 -0
  75. package/dist/integrations/social/twitter-retweet.js +48 -0
  76. package/dist/integrations/social/twitter-retweet.js.map +1 -0
  77. package/dist/integrations/social/twitter-search-tweets.d.ts +77 -0
  78. package/dist/integrations/social/twitter-search-tweets.d.ts.map +1 -0
  79. package/dist/integrations/social/twitter-search-tweets.js +76 -0
  80. package/dist/integrations/social/twitter-search-tweets.js.map +1 -0
  81. package/dist/integrations/social/twitter-send-dm.d.ts +39 -0
  82. package/dist/integrations/social/twitter-send-dm.d.ts.map +1 -0
  83. package/dist/integrations/social/twitter-send-dm.js +67 -0
  84. package/dist/integrations/social/twitter-send-dm.js.map +1 -0
  85. package/dist/integrations/wordpress/createPost.d.ts +25 -0
  86. package/dist/integrations/wordpress/createPost.d.ts.map +1 -0
  87. package/dist/integrations/wordpress/createPost.js +67 -0
  88. package/dist/integrations/wordpress/createPost.js.map +1 -0
  89. package/dist/integrations/wordpress/credentials.d.ts +2 -0
  90. package/dist/integrations/wordpress/credentials.d.ts.map +1 -0
  91. package/dist/integrations/wordpress/credentials.js +25 -0
  92. package/dist/integrations/wordpress/credentials.js.map +1 -0
  93. package/dist/integrations/wordpress/getPosts.d.ts +28 -0
  94. package/dist/integrations/wordpress/getPosts.d.ts.map +1 -0
  95. package/dist/integrations/wordpress/getPosts.js +70 -0
  96. package/dist/integrations/wordpress/getPosts.js.map +1 -0
  97. package/dist/integrations/wordpress/index.d.ts +8 -0
  98. package/dist/integrations/wordpress/index.d.ts.map +1 -0
  99. package/dist/integrations/wordpress/index.js +7 -0
  100. package/dist/integrations/wordpress/index.js.map +1 -0
  101. package/dist/integrations/wordpress/schemas.d.ts +411 -0
  102. package/dist/integrations/wordpress/schemas.d.ts.map +1 -0
  103. package/dist/integrations/wordpress/schemas.js +110 -0
  104. package/dist/integrations/wordpress/schemas.js.map +1 -0
  105. package/dist/integrations/wordpress/updatePost.d.ts +21 -0
  106. package/dist/integrations/wordpress/updatePost.d.ts.map +1 -0
  107. package/dist/integrations/wordpress/updatePost.js +59 -0
  108. package/dist/integrations/wordpress/updatePost.js.map +1 -0
  109. package/dist/integrations/wordpress/uploadMedia.d.ts +15 -0
  110. package/dist/integrations/wordpress/uploadMedia.d.ts.map +1 -0
  111. package/dist/integrations/wordpress/uploadMedia.js +56 -0
  112. package/dist/integrations/wordpress/uploadMedia.js.map +1 -0
  113. package/dist/integrations/wordpress/utils.d.ts +15 -0
  114. package/dist/integrations/wordpress/utils.d.ts.map +1 -0
  115. package/dist/integrations/wordpress/utils.js +15 -0
  116. package/dist/integrations/wordpress/utils.js.map +1 -0
  117. package/dist/schemas/ai.d.ts +6 -6
  118. package/package.json +2 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"twitter-search-tweets.js","sourceRoot":"","sources":["../../../src/integrations/social/twitter-search-tweets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAiBrD,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAA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,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,yBAAyB;aAC1E,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ export declare const TwitterSendDMInputSchema: z.ZodObject<{
3
+ recipientId: z.ZodString;
4
+ text: z.ZodString;
5
+ mediaId: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ text: string;
8
+ recipientId: string;
9
+ mediaId?: string | undefined;
10
+ }, {
11
+ text: string;
12
+ recipientId: string;
13
+ mediaId?: string | undefined;
14
+ }>;
15
+ export type TwitterSendDMInput = z.infer<typeof TwitterSendDMInputSchema>;
16
+ export declare const TwitterSendDMOutputSchema: z.ZodObject<{
17
+ conversationId: z.ZodString;
18
+ dmEventId: z.ZodString;
19
+ text: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ text: string;
22
+ conversationId: string;
23
+ dmEventId: string;
24
+ }, {
25
+ text: string;
26
+ conversationId: string;
27
+ dmEventId: string;
28
+ }>;
29
+ export type TwitterSendDMOutput = z.infer<typeof TwitterSendDMOutputSchema>;
30
+ export declare const twitterSendDMNode: import("@jam-nodes/core").NodeDefinition<{
31
+ text: string;
32
+ recipientId: string;
33
+ mediaId?: string | undefined;
34
+ }, {
35
+ conversationId: string;
36
+ dmEventId: string;
37
+ text: string;
38
+ }>;
39
+ //# sourceMappingURL=twitter-send-dm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"twitter-send-dm.d.ts","sourceRoot":"","sources":["../../../src/integrations/social/twitter-send-dm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,iBAAiB;;;;;;;;EA2D5B,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { z } from 'zod';
2
+ import { defineNode } from '@jam-nodes/core';
3
+ import { twitterRequest } from './twitter-client.js';
4
+ export const TwitterSendDMInputSchema = z.object({
5
+ recipientId: z.string().min(1),
6
+ text: z.string().min(1),
7
+ mediaId: z.string().optional(),
8
+ });
9
+ export const TwitterSendDMOutputSchema = z.object({
10
+ conversationId: z.string(),
11
+ dmEventId: z.string(),
12
+ text: z.string(),
13
+ });
14
+ export const twitterSendDMNode = defineNode({
15
+ type: 'twitter_send_dm',
16
+ name: 'Twitter Send DM',
17
+ description: 'Send a direct message on Twitter/X',
18
+ category: 'integration',
19
+ inputSchema: TwitterSendDMInputSchema,
20
+ outputSchema: TwitterSendDMOutputSchema,
21
+ estimatedDuration: 8,
22
+ capabilities: {
23
+ supportsRerun: true,
24
+ },
25
+ executor: async (input, context) => {
26
+ try {
27
+ const payload = {
28
+ text: input.text,
29
+ };
30
+ if (input.mediaId) {
31
+ payload['attachments'] = {
32
+ media_id: input.mediaId,
33
+ };
34
+ }
35
+ const response = await twitterRequest(context, `/2/dm_conversations/with/${encodeURIComponent(input.recipientId)}/messages`, {
36
+ method: 'POST',
37
+ headers: {
38
+ 'Content-Type': 'application/json',
39
+ },
40
+ body: JSON.stringify(payload),
41
+ });
42
+ const conversationId = response.data?.dm_conversation_id;
43
+ const dmEventId = response.data?.dm_event_id;
44
+ if (!conversationId || !dmEventId) {
45
+ return {
46
+ success: false,
47
+ error: 'Twitter API returned an invalid DM response.',
48
+ };
49
+ }
50
+ return {
51
+ success: true,
52
+ output: {
53
+ conversationId,
54
+ dmEventId,
55
+ text: response.data?.text || input.text,
56
+ },
57
+ };
58
+ }
59
+ catch (error) {
60
+ return {
61
+ success: false,
62
+ error: error instanceof Error ? error.message : 'Failed to send direct message',
63
+ };
64
+ }
65
+ },
66
+ });
67
+ //# sourceMappingURL=twitter-send-dm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"twitter-send-dm.js","sourceRoot":"","sources":["../../../src/integrations/social/twitter-send-dm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAUrD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAC;IAC1C,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,iBAAiB,EAAE,CAAC;IACpB,YAAY,EAAE;QACZ,aAAa,EAAE,IAAI;KACpB;IACD,QAAQ,EAAE,KAAK,EAAE,KA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ode: import("@jam-nodes/core").NodeDefinition<{
2
+ title: string;
3
+ content: string;
4
+ status?: "pending" | "publish" | "draft" | "private" | undefined;
5
+ slug?: string | undefined;
6
+ tags?: number[] | undefined;
7
+ categories?: number[] | undefined;
8
+ excerpt?: string | undefined;
9
+ featuredMediaId?: number | undefined;
10
+ }, {
11
+ status: string;
12
+ date: string;
13
+ id: number;
14
+ title: string;
15
+ link: string;
16
+ author: number;
17
+ slug: string;
18
+ tags: number[];
19
+ modified: string;
20
+ featuredMedia: number;
21
+ categories: number[];
22
+ content?: string | undefined;
23
+ excerpt?: string | undefined;
24
+ }>;
25
+ //# sourceMappingURL=createPost.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPost.d.ts","sourceRoot":"","sources":["../../../src/integrations/wordpress/createPost.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;EAkElC,CAAA"}
@@ -0,0 +1,67 @@
1
+ import { defineNode } from '@jam-nodes/core';
2
+ import { fetchWithRetry } from '../../utils/http.js';
3
+ import { resolveWordPressAuth } from './utils.js';
4
+ import { WordPressCreatePostInputSchema, WordPressCreatePostOutputSchema, normalizeWordPressPost, } from './schemas.js';
5
+ export const wordpressCreatePostNode = defineNode({
6
+ type: 'wordpress_create_post',
7
+ name: 'WordPress Create Post',
8
+ description: 'Create a new post on WordPress (defaults to draft)',
9
+ category: 'integration',
10
+ inputSchema: WordPressCreatePostInputSchema,
11
+ outputSchema: WordPressCreatePostOutputSchema,
12
+ estimatedDuration: 5,
13
+ capabilities: {
14
+ supportsRerun: true,
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 postBody = {
24
+ title: input.title,
25
+ content: input.content,
26
+ status: input.status ?? 'draft',
27
+ };
28
+ if (input.categories !== undefined)
29
+ postBody['categories'] = input.categories;
30
+ if (input.tags !== undefined)
31
+ postBody['tags'] = input.tags;
32
+ if (input.featuredMediaId !== undefined)
33
+ postBody['featured_media'] = input.featuredMediaId;
34
+ if (input.excerpt !== undefined)
35
+ postBody['excerpt'] = input.excerpt;
36
+ if (input.slug !== undefined)
37
+ postBody['slug'] = input.slug;
38
+ const response = await fetchWithRetry(`${baseUrl}/wp-json/wp/v2/posts`, {
39
+ method: 'POST',
40
+ headers: {
41
+ Authorization: authHeader,
42
+ 'Content-Type': 'application/json',
43
+ },
44
+ body: JSON.stringify(postBody),
45
+ }, { maxRetries: 3, backoffMs: 1000, timeoutMs: 30000 });
46
+ if (!response.ok) {
47
+ const errorText = await response.text();
48
+ return {
49
+ success: false,
50
+ error: `WordPress API error ${response.status}: ${errorText}`,
51
+ };
52
+ }
53
+ const data = (await response.json());
54
+ return {
55
+ success: true,
56
+ output: normalizeWordPressPost(data),
57
+ };
58
+ }
59
+ catch (error) {
60
+ return {
61
+ success: false,
62
+ error: error instanceof Error ? error.message : 'Unknown error',
63
+ };
64
+ }
65
+ },
66
+ });
67
+ //# sourceMappingURL=createPost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPost.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/createPost.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,8BAA8B,EAC9B,+BAA+B,EAG/B,sBAAsB,GACvB,MAAM,cAAc,CAAA;AAErB,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;IAChD,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,8BAA8B;IA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M,EAAE,MAAM;gBACd,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU;oBACzB,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;aAC/B,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,CAAqB,CAAA;YAExD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE,sBAAsB,CAAC,IAAI,CAAC;aACrC,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,2 @@
1
+ export declare const WordPressCredential: import("@jam-nodes/core").BasicCredentialDefinition;
2
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../src/integrations/wordpress/credentials.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,qDAsB9B,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { defineBasicCredential } from '@jam-nodes/core';
3
+ export const WordPressCredential = defineBasicCredential({
4
+ name: 'wordpress',
5
+ displayName: 'WordPress Application Password',
6
+ documentationUrl: 'https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/',
7
+ schema: z.object({
8
+ siteUrl: z.string().url(),
9
+ username: z.string(),
10
+ applicationPassword: z.string(),
11
+ }),
12
+ authenticate: {
13
+ type: 'header',
14
+ properties: {
15
+ // Authorization header is computed at runtime as:
16
+ // Basic base64(username:applicationPassword)
17
+ Authorization: 'Basic {{base64(username:applicationPassword)}}',
18
+ },
19
+ },
20
+ testRequest: {
21
+ url: '{{siteUrl}}/wp-json/wp/v2/users/me',
22
+ method: 'GET',
23
+ },
24
+ });
25
+ //# sourceMappingURL=credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAEvD,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;IACvD,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,gCAAgC;IAC7C,gBAAgB,EACd,qFAAqF;IACvF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACzB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;QACpB,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE;KAChC,CAAC;IACF,YAAY,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,kDAAkD;YAClD,6CAA6C;YAC7C,aAAa,EAAE,gDAAgD;SAChE;KACF;IACD,WAAW,EAAE;QACX,GAAG,EAAE,oCAAoC;QACzC,MAAM,EAAE,KAAK;KACd;CACF,CAAC,CAAA"}
@@ -0,0 +1,28 @@
1
+ export declare const wordpressGetPostsNode: import("@jam-nodes/core").NodeDefinition<{
2
+ status?: "pending" | "publish" | "draft" | "private" | "future" | "trash" | "any" | undefined;
3
+ page?: number | undefined;
4
+ perPage?: number | undefined;
5
+ search?: string | undefined;
6
+ }, {
7
+ posts: {
8
+ status: string;
9
+ date: string;
10
+ id: number;
11
+ title: string;
12
+ link: string;
13
+ author: number;
14
+ slug: string;
15
+ tags: number[];
16
+ modified: string;
17
+ featuredMedia: number;
18
+ categories: number[];
19
+ content?: string | undefined;
20
+ excerpt?: string | undefined;
21
+ }[];
22
+ meta: {
23
+ totalFound: number;
24
+ limit: number;
25
+ offset: number;
26
+ };
27
+ }>;
28
+ //# sourceMappingURL=getPosts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPosts.d.ts","sourceRoot":"","sources":["../../../src/integrations/wordpress/getPosts.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;EAsEhC,CAAA"}
@@ -0,0 +1,70 @@
1
+ import { defineNode } from '@jam-nodes/core';
2
+ import { fetchWithRetry } from '../../utils/http.js';
3
+ import { resolveWordPressAuth } from './utils.js';
4
+ import { WordPressGetPostsInputSchema, WordPressGetPostsOutputSchema, normalizeWordPressPost, } from './schemas.js';
5
+ const DEFAULT_PER_PAGE = 10;
6
+ export const wordpressGetPostsNode = defineNode({
7
+ type: 'wordpress_get_posts',
8
+ name: 'WordPress Get Posts',
9
+ description: 'Retrieve posts from a WordPress site',
10
+ category: 'integration',
11
+ inputSchema: WordPressGetPostsInputSchema,
12
+ outputSchema: WordPressGetPostsOutputSchema,
13
+ estimatedDuration: 5,
14
+ capabilities: {
15
+ supportsRerun: true,
16
+ },
17
+ executor: async (input, context) => {
18
+ try {
19
+ const authResult = resolveWordPressAuth(context.credentials?.wordpress);
20
+ if ('error' in authResult) {
21
+ return { success: false, error: authResult.error };
22
+ }
23
+ const { baseUrl, authHeader } = authResult;
24
+ const perPage = input.perPage ?? DEFAULT_PER_PAGE;
25
+ const page = input.page ?? 1;
26
+ const params = new URLSearchParams({
27
+ per_page: String(perPage),
28
+ page: String(page),
29
+ });
30
+ if (input.status !== undefined)
31
+ params.set('status', input.status);
32
+ if (input.search !== undefined)
33
+ params.set('search', input.search);
34
+ const response = await fetchWithRetry(`${baseUrl}/wp-json/wp/v2/posts?${params.toString()}`, {
35
+ method: 'GET',
36
+ headers: {
37
+ Authorization: authHeader,
38
+ },
39
+ }, { maxRetries: 3, backoffMs: 1000, timeoutMs: 30000 });
40
+ if (!response.ok) {
41
+ const errorText = await response.text();
42
+ return {
43
+ success: false,
44
+ error: `WordPress API error ${response.status}: ${errorText}`,
45
+ };
46
+ }
47
+ const totalFound = parseInt(response.headers.get('X-WP-Total') ?? '0', 10);
48
+ const data = (await response.json());
49
+ const posts = data.map(normalizeWordPressPost);
50
+ return {
51
+ success: true,
52
+ output: {
53
+ posts,
54
+ meta: {
55
+ totalFound: isNaN(totalFound) ? 0 : totalFound,
56
+ limit: perPage,
57
+ offset: (page - 1) * perPage,
58
+ },
59
+ },
60
+ };
61
+ }
62
+ catch (error) {
63
+ return {
64
+ success: false,
65
+ error: error instanceof Error ? error.message : 'Unknown error',
66
+ };
67
+ }
68
+ },
69
+ });
70
+ //# sourceMappingURL=getPosts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPosts.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/getPosts.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,4BAA4B,EAC5B,6BAA6B,EAG7B,sBAAsB,GACvB,MAAM,cAAc,CAAA;AAErB,MAAM,gBAAgB,GAAG,EAAE,CAAA;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC9C,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EA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;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,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,EAAE,EAAE,CAAC,CAAA;YAC1E,MAAM,IAAI,GAAG,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAuB,CAAA;YAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;YAE9C,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,MAAM,EAAE;oBACN,KAAK;oBACL,IAAI,EAAE;wBACJ,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU;wBAC9C,KAAK,EAAE,OAAO;wBACd,MAAM,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,OAAO;qBAC7B;iBACF;aACF,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,8 @@
1
+ export { wordpressCreatePostNode } from './createPost.js';
2
+ export { wordpressUpdatePostNode } from './updatePost.js';
3
+ export { wordpressGetPostsNode } from './getPosts.js';
4
+ export { wordpressUploadMediaNode } from './uploadMedia.js';
5
+ export { WordPressCredential } from './credentials.js';
6
+ export { WordPressPostSchema, WordPressCreatePostInputSchema, WordPressCreatePostOutputSchema, WordPressUpdatePostInputSchema, WordPressUpdatePostOutputSchema, WordPressGetPostsInputSchema, WordPressGetPostsOutputSchema, WordPressMediaSchema, WordPressUploadMediaInputSchema, WordPressUploadMediaOutputSchema, normalizeWordPressPost, normalizeWordPressMedia, } from './schemas.js';
7
+ export type { WordPressPost, WordPressCreatePostInput, WordPressCreatePostOutput, WordPressUpdatePostInput, WordPressUpdatePostOutput, WordPressGetPostsInput, WordPressGetPostsOutput, WordPressMedia, WordPressUploadMediaInput, WordPressUploadMediaOutput, } from './schemas.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/wordpress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC7B,oBAAoB,EACpB,+BAA+B,EAC/B,gCAAgC,EAChC,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,cAAc,CAAA;AACrB,YAAY,EACV,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACd,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,cAAc,CAAA"}
@@ -0,0 +1,7 @@
1
+ export { wordpressCreatePostNode } from './createPost.js';
2
+ export { wordpressUpdatePostNode } from './updatePost.js';
3
+ export { wordpressGetPostsNode } from './getPosts.js';
4
+ export { wordpressUploadMediaNode } from './uploadMedia.js';
5
+ export { WordPressCredential } from './credentials.js';
6
+ export { WordPressPostSchema, WordPressCreatePostInputSchema, WordPressCreatePostOutputSchema, WordPressUpdatePostInputSchema, WordPressUpdatePostOutputSchema, WordPressGetPostsInputSchema, WordPressGetPostsOutputSchema, WordPressMediaSchema, WordPressUploadMediaInputSchema, WordPressUploadMediaOutputSchema, normalizeWordPressPost, normalizeWordPressMedia, } from './schemas.js';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/wordpress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EACL,mBAAmB,EACnB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC7B,oBAAoB,EACpB,+BAA+B,EAC/B,gCAAgC,EAChC,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,cAAc,CAAA"}