n8n-nodes-metricool-or 0.1.2

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 (84) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +73 -0
  3. package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +9 -0
  4. package/dist/credentials/ExampleCredentialsApi.credentials.js +47 -0
  5. package/dist/credentials/ExampleCredentialsApi.credentials.js.map +1 -0
  6. package/dist/credentials/HttpBinApi.credentials.d.ts +9 -0
  7. package/dist/credentials/HttpBinApi.credentials.js +43 -0
  8. package/dist/credentials/HttpBinApi.credentials.js.map +1 -0
  9. package/dist/credentials/MetricoolApi.credentials.d.ts +32 -0
  10. package/dist/credentials/MetricoolApi.credentials.d.ts.map +1 -0
  11. package/dist/credentials/MetricoolApi.credentials.js +59 -0
  12. package/dist/credentials/MetricoolApi.credentials.js.map +1 -0
  13. package/dist/nodes/ExampleNode/ExampleNode.node.d.ts +5 -0
  14. package/dist/nodes/ExampleNode/ExampleNode.node.js +60 -0
  15. package/dist/nodes/ExampleNode/ExampleNode.node.js.map +1 -0
  16. package/dist/nodes/HttpBin/HttpBin.node.d.ts +4 -0
  17. package/dist/nodes/HttpBin/HttpBin.node.js +56 -0
  18. package/dist/nodes/HttpBin/HttpBin.node.js.map +1 -0
  19. package/dist/nodes/HttpBin/HttpBin.node.json +18 -0
  20. package/dist/nodes/HttpBin/HttpVerbDescription.d.ts +3 -0
  21. package/dist/nodes/HttpBin/HttpVerbDescription.js +236 -0
  22. package/dist/nodes/HttpBin/HttpVerbDescription.js.map +1 -0
  23. package/dist/nodes/HttpBin/httpbin.svg +18 -0
  24. package/dist/nodes/Metricool/AdvertisingOperations.d.ts +3 -0
  25. package/dist/nodes/Metricool/AdvertisingOperations.js +112 -0
  26. package/dist/nodes/Metricool/AdvertisingOperations.js.map +1 -0
  27. package/dist/nodes/Metricool/AnalyticsOperations.d.ts +4 -0
  28. package/dist/nodes/Metricool/AnalyticsOperations.d.ts.map +1 -0
  29. package/dist/nodes/Metricool/AnalyticsOperations.js +163 -0
  30. package/dist/nodes/Metricool/AnalyticsOperations.js.map +1 -0
  31. package/dist/nodes/Metricool/BlueskyOperations.d.ts +3 -0
  32. package/dist/nodes/Metricool/BlueskyOperations.js +78 -0
  33. package/dist/nodes/Metricool/BlueskyOperations.js.map +1 -0
  34. package/dist/nodes/Metricool/BrandOperations.d.ts +4 -0
  35. package/dist/nodes/Metricool/BrandOperations.d.ts.map +1 -0
  36. package/dist/nodes/Metricool/BrandOperations.js +33 -0
  37. package/dist/nodes/Metricool/BrandOperations.js.map +1 -0
  38. package/dist/nodes/Metricool/CompetitorOperations.d.ts +3 -0
  39. package/dist/nodes/Metricool/CompetitorOperations.js +136 -0
  40. package/dist/nodes/Metricool/CompetitorOperations.js.map +1 -0
  41. package/dist/nodes/Metricool/FacebookOperations.d.ts +3 -0
  42. package/dist/nodes/Metricool/FacebookOperations.js +112 -0
  43. package/dist/nodes/Metricool/FacebookOperations.js.map +1 -0
  44. package/dist/nodes/Metricool/InstagramOperations.d.ts +4 -0
  45. package/dist/nodes/Metricool/InstagramOperations.d.ts.map +1 -0
  46. package/dist/nodes/Metricool/InstagramOperations.js +79 -0
  47. package/dist/nodes/Metricool/InstagramOperations.js.map +1 -0
  48. package/dist/nodes/Metricool/LinkedinOperations.d.ts +3 -0
  49. package/dist/nodes/Metricool/LinkedinOperations.js +78 -0
  50. package/dist/nodes/Metricool/LinkedinOperations.js.map +1 -0
  51. package/dist/nodes/Metricool/Metricool.node.d.ts +6 -0
  52. package/dist/nodes/Metricool/Metricool.node.d.ts.map +1 -0
  53. package/dist/nodes/Metricool/Metricool.node.js +215 -0
  54. package/dist/nodes/Metricool/Metricool.node.js.map +1 -0
  55. package/dist/nodes/Metricool/Metricool.node.json +18 -0
  56. package/dist/nodes/Metricool/MetricoolResources.d.ts +2 -0
  57. package/dist/nodes/Metricool/MetricoolResources.js +66 -0
  58. package/dist/nodes/Metricool/MetricoolResources.js.map +1 -0
  59. package/dist/nodes/Metricool/PinterestOperations.d.ts +3 -0
  60. package/dist/nodes/Metricool/PinterestOperations.js +78 -0
  61. package/dist/nodes/Metricool/PinterestOperations.js.map +1 -0
  62. package/dist/nodes/Metricool/PostOperations.d.ts +4 -0
  63. package/dist/nodes/Metricool/PostOperations.d.ts.map +1 -0
  64. package/dist/nodes/Metricool/PostOperations.js +299 -0
  65. package/dist/nodes/Metricool/PostOperations.js.map +1 -0
  66. package/dist/nodes/Metricool/ThreadsOperations.d.ts +3 -0
  67. package/dist/nodes/Metricool/ThreadsOperations.js +78 -0
  68. package/dist/nodes/Metricool/ThreadsOperations.js.map +1 -0
  69. package/dist/nodes/Metricool/TiktokOperations.d.ts +3 -0
  70. package/dist/nodes/Metricool/TiktokOperations.js +78 -0
  71. package/dist/nodes/Metricool/TiktokOperations.js.map +1 -0
  72. package/dist/nodes/Metricool/TwitchOperations.d.ts +3 -0
  73. package/dist/nodes/Metricool/TwitchOperations.js +78 -0
  74. package/dist/nodes/Metricool/TwitchOperations.js.map +1 -0
  75. package/dist/nodes/Metricool/TwitterOperations.d.ts +3 -0
  76. package/dist/nodes/Metricool/TwitterOperations.js +78 -0
  77. package/dist/nodes/Metricool/TwitterOperations.js.map +1 -0
  78. package/dist/nodes/Metricool/YoutubeOperations.d.ts +3 -0
  79. package/dist/nodes/Metricool/YoutubeOperations.js +78 -0
  80. package/dist/nodes/Metricool/YoutubeOperations.js.map +1 -0
  81. package/dist/nodes/Metricool/metricool.svg +3 -0
  82. package/dist/package.json +56 -0
  83. package/dist/tsconfig.tsbuildinfo +1 -0
  84. package/package.json +54 -0
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.brandFields = exports.brandOperations = void 0;
4
+ exports.brandOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['brand'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Brands',
18
+ value: 'getBrands',
19
+ description: 'Get a list of brands from your Metricool account',
20
+ action: 'Get a list of brands',
21
+ },
22
+ {
23
+ name: 'Get Brands (Complete)',
24
+ value: 'getBrandsComplete',
25
+ description: 'Get a detailed list of brands from your Metricool account',
26
+ action: 'Get a detailed list of brands',
27
+ },
28
+ ],
29
+ default: 'getBrands',
30
+ },
31
+ ];
32
+ exports.brandFields = [];
33
+ //# sourceMappingURL=BrandOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrandOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/BrandOperations.ts"],"names":[],"mappings":";;;AAIa,QAAA,eAAe,GAAsB;IAC9C;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,OAAO,CAAC;aACtB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,kDAAkD;gBAC/D,MAAM,EAAE,sBAAsB;aACjC;YACD;gBACI,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,mBAAmB;gBAC1B,WAAW,EAAE,2DAA2D;gBACxE,MAAM,EAAE,+BAA+B;aAC1C;SACJ;QACD,OAAO,EAAE,WAAW;KACvB;CACJ,CAAC;AAEW,QAAA,WAAW,GAAsB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const competitorOperations: INodeProperties[];
3
+ export declare const competitorFields: INodeProperties[];
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.competitorFields = exports.competitorOperations = void 0;
4
+ exports.competitorOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['competitor'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Network Competitors',
18
+ value: 'getNetworkCompetitors',
19
+ description: 'Get the list of competitors from your Metricool brand account (Instagram, Facebook, X, Bluesky, YouTube and Twitch)',
20
+ action: 'Get network competitors',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/network/competitors',
25
+ qs: {
26
+ blog_id: '={{$parameter.blogId}}',
27
+ network: '={{$parameter.network}}',
28
+ },
29
+ },
30
+ },
31
+ },
32
+ {
33
+ name: 'Get Network Competitors Posts',
34
+ value: 'getNetworkCompetitorsPosts',
35
+ description: 'Get and analyze the posts of competitors from your Metricool brand account (Instagram, Facebook, X, Bluesky, YouTube and Twitch)',
36
+ action: 'Get network competitors posts',
37
+ routing: {
38
+ request: {
39
+ method: 'GET',
40
+ url: '=/network/competitors/posts',
41
+ qs: {
42
+ blog_id: '={{$parameter.blogId}}',
43
+ network: '={{$parameter.network}}',
44
+ init_date: '={{$parameter.startDate}}',
45
+ end_date: '={{$parameter.endDate}}',
46
+ },
47
+ },
48
+ },
49
+ },
50
+ ],
51
+ default: 'getNetworkCompetitors',
52
+ },
53
+ ];
54
+ exports.competitorFields = [
55
+ {
56
+ displayName: 'Blog ID',
57
+ name: 'blogId',
58
+ type: 'number',
59
+ required: true,
60
+ displayOptions: {
61
+ show: {
62
+ resource: ['competitor'],
63
+ },
64
+ },
65
+ default: 0,
66
+ description: 'The blog ID of the Metricool brand account',
67
+ },
68
+ {
69
+ displayName: 'Network',
70
+ name: 'network',
71
+ type: 'options',
72
+ required: true,
73
+ displayOptions: {
74
+ show: {
75
+ resource: ['competitor'],
76
+ },
77
+ },
78
+ options: [
79
+ {
80
+ name: 'Bluesky',
81
+ value: 'bluesky',
82
+ },
83
+ {
84
+ name: 'Facebook',
85
+ value: 'facebook',
86
+ },
87
+ {
88
+ name: 'Instagram',
89
+ value: 'instagram',
90
+ },
91
+ {
92
+ name: 'Twitch',
93
+ value: 'twitch',
94
+ },
95
+ {
96
+ name: 'X (Twitter)',
97
+ value: 'twitter',
98
+ },
99
+ {
100
+ name: 'YouTube',
101
+ value: 'youtube',
102
+ },
103
+ ],
104
+ default: 'instagram',
105
+ description: 'Social media network to analyze competitors for',
106
+ },
107
+ {
108
+ displayName: 'Start Date',
109
+ name: 'startDate',
110
+ type: 'dateTime',
111
+ required: true,
112
+ displayOptions: {
113
+ show: {
114
+ resource: ['competitor'],
115
+ operation: ['getNetworkCompetitorsPosts'],
116
+ },
117
+ },
118
+ default: '',
119
+ description: 'Start date for retrieving competitor posts (format: YYYY-MM-DD)',
120
+ },
121
+ {
122
+ displayName: 'End Date',
123
+ name: 'endDate',
124
+ type: 'dateTime',
125
+ required: true,
126
+ displayOptions: {
127
+ show: {
128
+ resource: ['competitor'],
129
+ operation: ['getNetworkCompetitorsPosts'],
130
+ },
131
+ },
132
+ default: '',
133
+ description: 'End date for retrieving competitor posts (format: YYYY-MM-DD)',
134
+ },
135
+ ];
136
+ //# sourceMappingURL=CompetitorOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompetitorOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/CompetitorOperations.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const facebookOperations: INodeProperties[];
3
+ export declare const facebookFields: INodeProperties[];
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.facebookFields = exports.facebookOperations = void 0;
4
+ exports.facebookOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['facebook'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Posts',
18
+ value: 'getPosts',
19
+ description: 'Get Facebook posts from your Metricool brand account',
20
+ action: 'Get facebook posts',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/facebook/posts',
25
+ qs: {
26
+ blog_id: '={{$parameter.blogId}}',
27
+ init_date: '={{$parameter.startDate}}',
28
+ end_date: '={{$parameter.endDate}}',
29
+ },
30
+ },
31
+ },
32
+ },
33
+ {
34
+ name: 'Get Reels',
35
+ value: 'getReels',
36
+ description: 'Get Facebook reels from your Metricool brand account',
37
+ action: 'Get facebook reels',
38
+ routing: {
39
+ request: {
40
+ method: 'GET',
41
+ url: '=/facebook/reels',
42
+ qs: {
43
+ blog_id: '={{$parameter.blogId}}',
44
+ init_date: '={{$parameter.startDate}}',
45
+ end_date: '={{$parameter.endDate}}',
46
+ },
47
+ },
48
+ },
49
+ },
50
+ {
51
+ name: 'Get Stories',
52
+ value: 'getStories',
53
+ description: 'Get Facebook stories from your Metricool brand account',
54
+ action: 'Get facebook stories',
55
+ routing: {
56
+ request: {
57
+ method: 'GET',
58
+ url: '=/facebook/stories',
59
+ qs: {
60
+ blog_id: '={{$parameter.blogId}}',
61
+ init_date: '={{$parameter.startDate}}',
62
+ end_date: '={{$parameter.endDate}}',
63
+ },
64
+ },
65
+ },
66
+ },
67
+ ],
68
+ default: 'getPosts',
69
+ },
70
+ ];
71
+ exports.facebookFields = [
72
+ {
73
+ displayName: 'Blog ID',
74
+ name: 'blogId',
75
+ type: 'number',
76
+ required: true,
77
+ displayOptions: {
78
+ show: {
79
+ resource: ['facebook'],
80
+ },
81
+ },
82
+ default: 0,
83
+ description: 'The blog ID of the Metricool brand account',
84
+ },
85
+ {
86
+ displayName: 'Start Date',
87
+ name: 'startDate',
88
+ type: 'dateTime',
89
+ required: true,
90
+ displayOptions: {
91
+ show: {
92
+ resource: ['facebook'],
93
+ },
94
+ },
95
+ default: '',
96
+ description: 'Start date for retrieving content (format: YYYY-MM-DD)',
97
+ },
98
+ {
99
+ displayName: 'End Date',
100
+ name: 'endDate',
101
+ type: 'dateTime',
102
+ required: true,
103
+ displayOptions: {
104
+ show: {
105
+ resource: ['facebook'],
106
+ },
107
+ },
108
+ default: '',
109
+ description: 'End date for retrieving content (format: YYYY-MM-DD)',
110
+ },
111
+ ];
112
+ //# sourceMappingURL=FacebookOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FacebookOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/FacebookOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,sDAAsD;gBACnE,MAAM,EAAE,oBAAoB;gBAC5B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,kBAAkB;wBACvB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,sDAAsD;gBACnE,MAAM,EAAE,oBAAoB;gBAC5B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,kBAAkB;wBACvB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,wDAAwD;gBACrE,MAAM,EAAE,sBAAsB;gBAC9B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,oBAAoB;wBACzB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,UAAU;KACnB;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,4CAA4C;KACzD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wDAAwD;KACrE;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sDAAsD;KACnE;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const instagramOperations: INodeProperties[];
3
+ export declare const instagramFields: INodeProperties[];
4
+ //# sourceMappingURL=InstagramOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstagramOperations.d.ts","sourceRoot":"","sources":["../../../nodes/Metricool/InstagramOperations.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EAClB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,mBAAmB,EAAE,eAAe,EAiChD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,EAwC5C,CAAC"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.instagramFields = exports.instagramOperations = void 0;
4
+ exports.instagramOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['instagram'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Posts',
18
+ value: 'getPosts',
19
+ description: 'Get Instagram posts from your Metricool account',
20
+ action: 'Get instagram posts',
21
+ },
22
+ {
23
+ name: 'Get Reels',
24
+ value: 'getReels',
25
+ description: 'Get Instagram reels from your Metricool account',
26
+ action: 'Get instagram reels',
27
+ },
28
+ {
29
+ name: 'Get Stories',
30
+ value: 'getStories',
31
+ description: 'Get Instagram stories from your Metricool account',
32
+ action: 'Get instagram stories',
33
+ },
34
+ ],
35
+ default: 'getPosts',
36
+ },
37
+ ];
38
+ exports.instagramFields = [
39
+ {
40
+ displayName: 'Blog ID',
41
+ name: 'blogId',
42
+ type: 'number',
43
+ required: true,
44
+ displayOptions: {
45
+ show: {
46
+ resource: ['instagram'],
47
+ },
48
+ },
49
+ default: 0,
50
+ description: 'The blog ID of the Metricool brand account',
51
+ },
52
+ {
53
+ displayName: 'Start Date',
54
+ name: 'startDate',
55
+ type: 'dateTime',
56
+ required: true,
57
+ displayOptions: {
58
+ show: {
59
+ resource: ['instagram'],
60
+ },
61
+ },
62
+ default: '',
63
+ description: 'Start date for retrieving content (format: YYYY-MM-DD)',
64
+ },
65
+ {
66
+ displayName: 'End Date',
67
+ name: 'endDate',
68
+ type: 'dateTime',
69
+ required: true,
70
+ displayOptions: {
71
+ show: {
72
+ resource: ['instagram'],
73
+ },
74
+ },
75
+ default: '',
76
+ description: 'End date for retrieving content (format: YYYY-MM-DD)',
77
+ },
78
+ ];
79
+ //# sourceMappingURL=InstagramOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstagramOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/InstagramOperations.ts"],"names":[],"mappings":";;;AAIa,QAAA,mBAAmB,GAAsB;IAClD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,iDAAiD;gBAC9D,MAAM,EAAE,qBAAqB;aAChC;YACD;gBACI,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,iDAAiD;gBAC9D,MAAM,EAAE,qBAAqB;aAChC;YACD;gBACI,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,mDAAmD;gBAChE,MAAM,EAAE,uBAAuB;aAClC;SACJ;QACD,OAAO,EAAE,UAAU;KACtB;CACJ,CAAC;AAEW,QAAA,eAAe,GAAsB;IAC9C;QACI,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,4CAA4C;KAC5D;IACD;QACI,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wDAAwD;KACxE;IACD;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,WAAW,CAAC;aAC1B;SACJ;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sDAAsD;KACtE;CACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const linkedinOperations: INodeProperties[];
3
+ export declare const linkedinFields: INodeProperties[];
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.linkedinFields = exports.linkedinOperations = void 0;
4
+ exports.linkedinOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['linkedin'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Posts',
18
+ value: 'getPosts',
19
+ description: 'Get LinkedIn posts from your Metricool brand account',
20
+ action: 'Get linked in posts',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '=/linkedin/posts',
25
+ qs: {
26
+ blog_id: '={{$parameter.blogId}}',
27
+ init_date: '={{$parameter.startDate}}',
28
+ end_date: '={{$parameter.endDate}}',
29
+ },
30
+ },
31
+ },
32
+ },
33
+ ],
34
+ default: 'getPosts',
35
+ },
36
+ ];
37
+ exports.linkedinFields = [
38
+ {
39
+ displayName: 'Blog ID',
40
+ name: 'blogId',
41
+ type: 'number',
42
+ required: true,
43
+ displayOptions: {
44
+ show: {
45
+ resource: ['linkedin'],
46
+ },
47
+ },
48
+ default: 0,
49
+ description: 'The blog ID of the Metricool brand account',
50
+ },
51
+ {
52
+ displayName: 'Start Date',
53
+ name: 'startDate',
54
+ type: 'dateTime',
55
+ required: true,
56
+ displayOptions: {
57
+ show: {
58
+ resource: ['linkedin'],
59
+ },
60
+ },
61
+ default: '',
62
+ description: 'Start date for retrieving posts (format: YYYY-MM-DD)',
63
+ },
64
+ {
65
+ displayName: 'End Date',
66
+ name: 'endDate',
67
+ type: 'dateTime',
68
+ required: true,
69
+ displayOptions: {
70
+ show: {
71
+ resource: ['linkedin'],
72
+ },
73
+ },
74
+ default: '',
75
+ description: 'End date for retrieving posts (format: YYYY-MM-DD)',
76
+ },
77
+ ];
78
+ //# sourceMappingURL=LinkedinOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkedinOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/LinkedinOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,sDAAsD;gBACnE,MAAM,EAAE,qBAAqB;gBAC7B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,kBAAkB;wBACvB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,UAAU;KACnB;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,4CAA4C;KACzD;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sDAAsD;KACnE;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oDAAoD;KACjE;CACD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Metricool implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
6
+ //# sourceMappingURL=Metricool.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Metricool.node.d.ts","sourceRoot":"","sources":["../../../nodes/Metricool/Metricool.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAEvB,MAAM,cAAc,CAAC;AAOtB,qBAAa,SAAU,YAAW,SAAS;IACvC,WAAW,EAAE,oBAAoB,CAuD/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAoJ1E"}