n8n-nodes-metricool-or 0.1.2 → 0.1.3

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 (57) hide show
  1. package/package.json +2 -3
  2. package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +0 -9
  3. package/dist/credentials/ExampleCredentialsApi.credentials.js +0 -47
  4. package/dist/credentials/ExampleCredentialsApi.credentials.js.map +0 -1
  5. package/dist/credentials/HttpBinApi.credentials.d.ts +0 -9
  6. package/dist/credentials/HttpBinApi.credentials.js +0 -43
  7. package/dist/credentials/HttpBinApi.credentials.js.map +0 -1
  8. package/dist/nodes/ExampleNode/ExampleNode.node.d.ts +0 -5
  9. package/dist/nodes/ExampleNode/ExampleNode.node.js +0 -60
  10. package/dist/nodes/ExampleNode/ExampleNode.node.js.map +0 -1
  11. package/dist/nodes/HttpBin/HttpBin.node.d.ts +0 -4
  12. package/dist/nodes/HttpBin/HttpBin.node.js +0 -56
  13. package/dist/nodes/HttpBin/HttpBin.node.js.map +0 -1
  14. package/dist/nodes/HttpBin/HttpBin.node.json +0 -18
  15. package/dist/nodes/HttpBin/HttpVerbDescription.d.ts +0 -3
  16. package/dist/nodes/HttpBin/HttpVerbDescription.js +0 -236
  17. package/dist/nodes/HttpBin/HttpVerbDescription.js.map +0 -1
  18. package/dist/nodes/HttpBin/httpbin.svg +0 -18
  19. package/dist/nodes/Metricool/AdvertisingOperations.d.ts +0 -3
  20. package/dist/nodes/Metricool/AdvertisingOperations.js +0 -112
  21. package/dist/nodes/Metricool/AdvertisingOperations.js.map +0 -1
  22. package/dist/nodes/Metricool/BlueskyOperations.d.ts +0 -3
  23. package/dist/nodes/Metricool/BlueskyOperations.js +0 -78
  24. package/dist/nodes/Metricool/BlueskyOperations.js.map +0 -1
  25. package/dist/nodes/Metricool/CompetitorOperations.d.ts +0 -3
  26. package/dist/nodes/Metricool/CompetitorOperations.js +0 -136
  27. package/dist/nodes/Metricool/CompetitorOperations.js.map +0 -1
  28. package/dist/nodes/Metricool/FacebookOperations.d.ts +0 -3
  29. package/dist/nodes/Metricool/FacebookOperations.js +0 -112
  30. package/dist/nodes/Metricool/FacebookOperations.js.map +0 -1
  31. package/dist/nodes/Metricool/LinkedinOperations.d.ts +0 -3
  32. package/dist/nodes/Metricool/LinkedinOperations.js +0 -78
  33. package/dist/nodes/Metricool/LinkedinOperations.js.map +0 -1
  34. package/dist/nodes/Metricool/Metricool.node.json +0 -18
  35. package/dist/nodes/Metricool/MetricoolResources.d.ts +0 -2
  36. package/dist/nodes/Metricool/MetricoolResources.js +0 -66
  37. package/dist/nodes/Metricool/MetricoolResources.js.map +0 -1
  38. package/dist/nodes/Metricool/PinterestOperations.d.ts +0 -3
  39. package/dist/nodes/Metricool/PinterestOperations.js +0 -78
  40. package/dist/nodes/Metricool/PinterestOperations.js.map +0 -1
  41. package/dist/nodes/Metricool/ThreadsOperations.d.ts +0 -3
  42. package/dist/nodes/Metricool/ThreadsOperations.js +0 -78
  43. package/dist/nodes/Metricool/ThreadsOperations.js.map +0 -1
  44. package/dist/nodes/Metricool/TiktokOperations.d.ts +0 -3
  45. package/dist/nodes/Metricool/TiktokOperations.js +0 -78
  46. package/dist/nodes/Metricool/TiktokOperations.js.map +0 -1
  47. package/dist/nodes/Metricool/TwitchOperations.d.ts +0 -3
  48. package/dist/nodes/Metricool/TwitchOperations.js +0 -78
  49. package/dist/nodes/Metricool/TwitchOperations.js.map +0 -1
  50. package/dist/nodes/Metricool/TwitterOperations.d.ts +0 -3
  51. package/dist/nodes/Metricool/TwitterOperations.js +0 -78
  52. package/dist/nodes/Metricool/TwitterOperations.js.map +0 -1
  53. package/dist/nodes/Metricool/YoutubeOperations.d.ts +0 -3
  54. package/dist/nodes/Metricool/YoutubeOperations.js +0 -78
  55. package/dist/nodes/Metricool/YoutubeOperations.js.map +0 -1
  56. package/dist/package.json +0 -56
  57. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pinterestFields = exports.pinterestOperations = void 0;
4
- exports.pinterestOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['pinterest'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Pins',
18
- value: 'getPins',
19
- description: 'Get Pinterest pins from your Metricool brand account',
20
- action: 'Get pinterest pins',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/pinterest/pins',
25
- qs: {
26
- blog_id: '={{$parameter.blogId}}',
27
- init_date: '={{$parameter.startDate}}',
28
- end_date: '={{$parameter.endDate}}',
29
- },
30
- },
31
- },
32
- },
33
- ],
34
- default: 'getPins',
35
- },
36
- ];
37
- exports.pinterestFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['pinterest'],
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: ['pinterest'],
59
- },
60
- },
61
- default: '',
62
- description: 'Start date for retrieving pins (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: ['pinterest'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving pins (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=PinterestOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PinterestOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/PinterestOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACrD;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,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,SAAS;gBAChB,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;SACD;QACD,OAAO,EAAE,SAAS;KAClB;CACD,CAAC;AAEW,QAAA,eAAe,GAAsB;IACjD;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,WAAW,CAAC;aACvB;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,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qDAAqD;KAClE;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,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;KAChE;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const threadsOperations: INodeProperties[];
3
- export declare const threadsFields: INodeProperties[];
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.threadsFields = exports.threadsOperations = void 0;
4
- exports.threadsOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['threads'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Posts',
18
- value: 'getPosts',
19
- description: 'Get Threads posts from your Metricool brand account',
20
- action: 'Get threads posts',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/threads/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.threadsFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['threads'],
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: ['threads'],
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: ['threads'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving posts (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=ThreadsOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThreadsOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/ThreadsOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,qDAAqD;gBAClE,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iBAAiB;wBACtB,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,aAAa,GAAsB;IAC/C;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,SAAS,CAAC;aACrB;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,SAAS,CAAC;aACrB;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oDAAoD;KACjE;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const tiktokOperations: INodeProperties[];
3
- export declare const tiktokFields: INodeProperties[];
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.tiktokFields = exports.tiktokOperations = void 0;
4
- exports.tiktokOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['tiktok'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Videos',
18
- value: 'getVideos',
19
- description: 'Get TikTok videos from your Metricool account',
20
- action: 'Get tik tok videos',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/tiktok/videos',
25
- qs: {
26
- blog_id: '={{$parameter.blogId}}',
27
- init_date: '={{$parameter.startDate}}',
28
- end_date: '={{$parameter.endDate}}',
29
- },
30
- },
31
- },
32
- },
33
- ],
34
- default: 'getVideos',
35
- },
36
- ];
37
- exports.tiktokFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['tiktok'],
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: ['tiktok'],
59
- },
60
- },
61
- default: '',
62
- description: 'Start date for retrieving videos (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: ['tiktok'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving videos (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=TiktokOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TiktokOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/TiktokOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IAClD;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,+CAA+C;gBAC5D,MAAM,EAAE,oBAAoB;gBAC5B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iBAAiB;wBACtB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,WAAW;KACpB;CACD,CAAC;AAEW,QAAA,YAAY,GAAsB;IAC9C;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,QAAQ,CAAC;aACpB;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uDAAuD;KACpE;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qDAAqD;KAClE;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const twitchOperations: INodeProperties[];
3
- export declare const twitchFields: INodeProperties[];
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.twitchFields = exports.twitchOperations = void 0;
4
- exports.twitchOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['twitch'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Videos',
18
- value: 'getVideos',
19
- description: 'Get Twitch videos from your Metricool account',
20
- action: 'Get twitch videos',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/twitch/videos',
25
- qs: {
26
- blog_id: '={{$parameter.blogId}}',
27
- init_date: '={{$parameter.startDate}}',
28
- end_date: '={{$parameter.endDate}}',
29
- },
30
- },
31
- },
32
- },
33
- ],
34
- default: 'getVideos',
35
- },
36
- ];
37
- exports.twitchFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['twitch'],
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: ['twitch'],
59
- },
60
- },
61
- default: '',
62
- description: 'Start date for retrieving videos (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: ['twitch'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving videos (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=TwitchOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwitchOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/TwitchOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IAClD;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,+CAA+C;gBAC5D,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iBAAiB;wBACtB,EAAE,EAAE;4BACH,OAAO,EAAE,wBAAwB;4BACjC,SAAS,EAAE,2BAA2B;4BACtC,QAAQ,EAAE,yBAAyB;yBACnC;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,WAAW;KACpB;CACD,CAAC;AAEW,QAAA,YAAY,GAAsB;IAC9C;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,QAAQ,CAAC;aACpB;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uDAAuD;KACpE;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,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qDAAqD;KAClE;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const twitterOperations: INodeProperties[];
3
- export declare const twitterFields: INodeProperties[];
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.twitterFields = exports.twitterOperations = void 0;
4
- exports.twitterOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['twitter'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Posts',
18
- value: 'getPosts',
19
- description: 'Get X (Twitter) posts from your Metricool account',
20
- action: 'Get x twitter posts',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/x/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.twitterFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['twitter'],
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: ['twitter'],
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: ['twitter'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving posts (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=TwitterOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TwitterOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/TwitterOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,mDAAmD;gBAChE,MAAM,EAAE,qBAAqB;gBAC7B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;wBAChB,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,aAAa,GAAsB;IAC/C;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,SAAS,CAAC;aACrB;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,SAAS,CAAC;aACrB;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oDAAoD;KACjE;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const youtubeOperations: INodeProperties[];
3
- export declare const youtubeFields: INodeProperties[];
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.youtubeFields = exports.youtubeOperations = void 0;
4
- exports.youtubeOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['youtube'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Videos',
18
- value: 'getVideos',
19
- description: 'Get YouTube videos from your Metricool brand account',
20
- action: 'Get you tube videos',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '=/youtube/videos',
25
- qs: {
26
- blog_id: '={{$parameter.blogId}}',
27
- init_date: '={{$parameter.startDate}}',
28
- end_date: '={{$parameter.endDate}}',
29
- },
30
- },
31
- },
32
- },
33
- ],
34
- default: 'getVideos',
35
- },
36
- ];
37
- exports.youtubeFields = [
38
- {
39
- displayName: 'Blog ID',
40
- name: 'blogId',
41
- type: 'number',
42
- required: true,
43
- displayOptions: {
44
- show: {
45
- resource: ['youtube'],
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: ['youtube'],
59
- },
60
- },
61
- default: '',
62
- description: 'Start date for retrieving videos (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: ['youtube'],
72
- },
73
- },
74
- default: '',
75
- description: 'End date for retrieving videos (format: YYYY-MM-DD)',
76
- },
77
- ];
78
- //# sourceMappingURL=YoutubeOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"YoutubeOperations.js","sourceRoot":"","sources":["../../../nodes/Metricool/YoutubeOperations.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,WAAW;gBAClB,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,WAAW;KACpB;CACD,CAAC;AAEW,QAAA,aAAa,GAAsB;IAC/C;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,SAAS,CAAC;aACrB;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uDAAuD;KACpE;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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qDAAqD;KAClE;CACD,CAAC"}
package/dist/package.json DELETED
@@ -1,56 +0,0 @@
1
- {
2
- "name": "n8n-nodes-metricool",
3
- "version": "0.1.1",
4
- "description": "n8n node to integrate with Metricool social media management platform",
5
- "keywords": [
6
- "n8n-community-node-package",
7
- "metricool",
8
- "social-media",
9
- "marketing"
10
- ],
11
- "license": "MIT",
12
- "homepage": "https://github.com/omar3wafi/n8n-nodes-metricool",
13
- "author": {
14
- "name": "Omar Awafi",
15
- "email": "mof9555@gmail.com"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "https://github.com/omar3wafi/n8n-nodes-metricool.git"
20
- },
21
- "engines": {
22
- "node": ">=20.15"
23
- },
24
- "main": "index.js",
25
- "scripts": {
26
- "build": "npx rimraf dist && tsc && gulp build:icons",
27
- "dev": "tsc --watch",
28
- "format": "prettier nodes credentials --write",
29
- "lint": "eslint nodes credentials package.json",
30
- "lintfix": "eslint nodes credentials package.json --fix",
31
- "prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
32
- },
33
- "files": [
34
- "dist"
35
- ],
36
- "n8n": {
37
- "n8nNodesApiVersion": 1,
38
- "credentials": [
39
- "dist/credentials/MetricoolApi.credentials.js"
40
- ],
41
- "nodes": [
42
- "dist/nodes/Metricool/Metricool.node.js"
43
- ]
44
- },
45
- "devDependencies": {
46
- "@typescript-eslint/parser": "~8.32.0",
47
- "eslint": "^8.57.0",
48
- "eslint-plugin-n8n-nodes-base": "^1.16.3",
49
- "gulp": "^5.0.0",
50
- "prettier": "^3.5.3",
51
- "typescript": "^5.8.2"
52
- },
53
- "peerDependencies": {
54
- "n8n-workflow": "*"
55
- }
56
- }