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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-metricool-or",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "n8n node to integrate with Metricool social media management platform",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -11,8 +11,7 @@
11
11
  "license": "MIT",
12
12
  "homepage": "https://github.com/kukis2107/n8n-nodes-metricool-or",
13
13
  "author": {
14
- "name": "Omar Awafi",
15
- "email": "mof9555@gmail.com"
14
+ "name": "kukis2107"
16
15
  },
17
16
  "repository": {
18
17
  "type": "git",
@@ -1,9 +0,0 @@
1
- import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class ExampleCredentialsApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- properties: INodeProperties[];
7
- authenticate: IAuthenticateGeneric;
8
- test: ICredentialTestRequest;
9
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExampleCredentialsApi = void 0;
4
- class ExampleCredentialsApi {
5
- constructor() {
6
- this.name = 'exampleCredentialsApi';
7
- this.displayName = 'Example Credentials API';
8
- this.documentationUrl = 'https://your-docs-url';
9
- this.properties = [
10
- {
11
- displayName: 'User Name',
12
- name: 'username',
13
- type: 'string',
14
- default: '',
15
- },
16
- {
17
- displayName: 'Password',
18
- name: 'password',
19
- type: 'string',
20
- typeOptions: {
21
- password: true,
22
- },
23
- default: '',
24
- },
25
- ];
26
- this.authenticate = {
27
- type: 'generic',
28
- properties: {
29
- auth: {
30
- username: '={{ $credentials.username }}',
31
- password: '={{ $credentials.password }}',
32
- },
33
- qs: {
34
- n8n: 'rocks',
35
- },
36
- },
37
- };
38
- this.test = {
39
- request: {
40
- baseURL: 'https://example.com/',
41
- url: '',
42
- },
43
- };
44
- }
45
- }
46
- exports.ExampleCredentialsApi = ExampleCredentialsApi;
47
- //# sourceMappingURL=ExampleCredentialsApi.credentials.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExampleCredentialsApi.credentials.js","sourceRoot":"","sources":["../../credentials/ExampleCredentialsApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,qBAAqB;IAAlC;QACC,SAAI,GAAG,uBAAuB,CAAC;QAC/B,gBAAW,GAAG,yBAAyB,CAAC;QAExC,qBAAgB,GAAG,uBAAuB,CAAC;QAE3C,eAAU,GAAsB;YAI/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAKF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,IAAI,EAAE;oBACL,QAAQ,EAAE,8BAA8B;oBACxC,QAAQ,EAAE,8BAA8B;iBACxC;gBACD,EAAE,EAAE;oBAEH,GAAG,EAAE,OAAO;iBACZ;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,sBAAsB;gBAC/B,GAAG,EAAE,EAAE;aACP;SACD,CAAC;IACH,CAAC;CAAA;AAnDD,sDAmDC"}
@@ -1,9 +0,0 @@
1
- import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class HttpBinApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- properties: INodeProperties[];
7
- authenticate: IAuthenticateGeneric;
8
- test: ICredentialTestRequest;
9
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpBinApi = void 0;
4
- class HttpBinApi {
5
- constructor() {
6
- this.name = 'httpbinApi';
7
- this.displayName = 'HttpBin API';
8
- this.documentationUrl = 'https://your-docs-url';
9
- this.properties = [
10
- {
11
- displayName: 'Token',
12
- name: 'token',
13
- type: 'string',
14
- default: '',
15
- typeOptions: {
16
- password: true,
17
- },
18
- },
19
- {
20
- displayName: 'Domain',
21
- name: 'domain',
22
- type: 'string',
23
- default: 'https://httpbin.org',
24
- },
25
- ];
26
- this.authenticate = {
27
- type: 'generic',
28
- properties: {
29
- headers: {
30
- Authorization: '={{"Bearer " + $credentials.token}}',
31
- },
32
- },
33
- };
34
- this.test = {
35
- request: {
36
- baseURL: '={{$credentials?.domain}}',
37
- url: '/bearer',
38
- },
39
- };
40
- }
41
- }
42
- exports.HttpBinApi = HttpBinApi;
43
- //# sourceMappingURL=HttpBinApi.credentials.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpBinApi.credentials.js","sourceRoot":"","sources":["../../credentials/HttpBinApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QACpB,gBAAW,GAAG,aAAa,CAAC;QAC5B,qBAAgB,GAAG,uBAAuB,CAAC;QAC3C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;aACD;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qBAAqB;aAC9B;SACD,CAAC;QAMF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,qCAAqC;iBACpD;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,SAAS;aACd;SACD,CAAC;IACH,CAAC;CAAA;AA1CD,gCA0CC"}
@@ -1,5 +0,0 @@
1
- import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class ExampleNode implements INodeType {
3
- description: INodeTypeDescription;
4
- execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExampleNode = void 0;
4
- const n8n_workflow_1 = require("n8n-workflow");
5
- class ExampleNode {
6
- constructor() {
7
- this.description = {
8
- displayName: 'Example Node',
9
- name: 'exampleNode',
10
- group: ['transform'],
11
- version: 1,
12
- description: 'Basic Example Node',
13
- defaults: {
14
- name: 'Example Node',
15
- },
16
- inputs: ["main"],
17
- outputs: ["main"],
18
- usableAsTool: true,
19
- properties: [
20
- {
21
- displayName: 'My String',
22
- name: 'myString',
23
- type: 'string',
24
- default: '',
25
- placeholder: 'Placeholder value',
26
- description: 'The description text',
27
- },
28
- ],
29
- };
30
- }
31
- async execute() {
32
- const items = this.getInputData();
33
- let item;
34
- let myString;
35
- for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
36
- try {
37
- myString = this.getNodeParameter('myString', itemIndex, '');
38
- item = items[itemIndex];
39
- item.json.myString = myString;
40
- }
41
- catch (error) {
42
- if (this.continueOnFail()) {
43
- items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
44
- }
45
- else {
46
- if (error.context) {
47
- error.context.itemIndex = itemIndex;
48
- throw error;
49
- }
50
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
51
- itemIndex,
52
- });
53
- }
54
- }
55
- }
56
- return [items];
57
- }
58
- }
59
- exports.ExampleNode = ExampleNode;
60
- //# sourceMappingURL=ExampleNode.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExampleNode.node.js","sourceRoot":"","sources":["../../../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AAI,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1F,CAAC;qBAAM,CAAC;oBAEP,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;wBAGnB,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;wBACpC,MAAM,KAAK,CAAC;oBACb,CAAC;oBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;wBACnD,SAAS;qBACT,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,KAAK,CAAC,CAAC;IAChB,CAAC;CACD;AApED,kCAoEC"}
@@ -1,4 +0,0 @@
1
- import { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class HttpBin implements INodeType {
3
- description: INodeTypeDescription;
4
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpBin = void 0;
4
- const HttpVerbDescription_1 = require("./HttpVerbDescription");
5
- class HttpBin {
6
- constructor() {
7
- this.description = {
8
- displayName: 'HttpBin',
9
- name: 'httpBin',
10
- icon: { light: 'file:httpbin.svg', dark: 'file:httpbin.svg' },
11
- group: ['transform'],
12
- version: 1,
13
- subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
14
- description: 'Interact with HttpBin API',
15
- defaults: {
16
- name: 'HttpBin',
17
- },
18
- inputs: ["main"],
19
- outputs: ["main"],
20
- usableAsTool: true,
21
- credentials: [
22
- {
23
- name: 'httpbinApi',
24
- required: false,
25
- },
26
- ],
27
- requestDefaults: {
28
- baseURL: 'https://httpbin.org',
29
- url: '',
30
- headers: {
31
- Accept: 'application/json',
32
- 'Content-Type': 'application/json',
33
- },
34
- },
35
- properties: [
36
- {
37
- displayName: 'Resource',
38
- name: 'resource',
39
- type: 'options',
40
- noDataExpression: true,
41
- options: [
42
- {
43
- name: 'HTTP Verb',
44
- value: 'httpVerb',
45
- },
46
- ],
47
- default: 'httpVerb',
48
- },
49
- ...HttpVerbDescription_1.httpVerbOperations,
50
- ...HttpVerbDescription_1.httpVerbFields,
51
- ],
52
- };
53
- }
54
- }
55
- exports.HttpBin = HttpBin;
56
- //# sourceMappingURL=HttpBin.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpBin.node.js","sourceRoot":"","sources":["../../../nodes/HttpBin/HttpBin.node.ts"],"names":[],"mappings":";;;AACA,+DAA2E;AAE3E,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,kBAAkB,EAAE;YAC7D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,MAAM,EAAE,QAAyB;YACjC,OAAO,EAAE,QAAyB;YAClC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,KAAK;iBACf;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,qBAAqB;gBAC9B,GAAG,EAAE,EAAE;gBACP,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YAYD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,WAAW;4BACjB,KAAK,EAAE,UAAU;yBACjB;qBACD;oBACD,OAAO,EAAE,UAAU;iBACnB;gBAED,GAAG,wCAAkB;gBACrB,GAAG,oCAAc;aACjB;SACD,CAAC;IACH,CAAC;CAAA;AA3DD,0BA2DC"}
@@ -1,18 +0,0 @@
1
- {
2
- "node": "n8n-nodes-base.httpbin",
3
- "nodeVersion": "1.0",
4
- "codexVersion": "1.0",
5
- "categories": ["Development", "Developer Tools"],
6
- "resources": {
7
- "credentialDocumentation": [
8
- {
9
- "url": "http://httpbin.org/#/Auth/get_bearer"
10
- }
11
- ],
12
- "primaryDocumentation": [
13
- {
14
- "url": "http://httpbin.org/"
15
- }
16
- ]
17
- }
18
- }
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const httpVerbOperations: INodeProperties[];
3
- export declare const httpVerbFields: INodeProperties[];
@@ -1,236 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.httpVerbFields = exports.httpVerbOperations = void 0;
4
- exports.httpVerbOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['httpVerb'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'GET',
18
- value: 'get',
19
- description: 'Perform a GET request',
20
- action: 'Perform a GET request',
21
- routing: {
22
- request: {
23
- method: 'GET',
24
- url: '/get',
25
- },
26
- },
27
- },
28
- {
29
- name: 'DELETE',
30
- value: 'delete',
31
- description: 'Perform a DELETE request',
32
- action: 'Perform a DELETE request',
33
- routing: {
34
- request: {
35
- method: 'DELETE',
36
- url: '/delete',
37
- },
38
- },
39
- },
40
- ],
41
- default: 'get',
42
- },
43
- ];
44
- const getOperation = [
45
- {
46
- displayName: 'Type of Data',
47
- name: 'typeofData',
48
- default: 'queryParameter',
49
- description: 'Select type of data to send [Query Parameters]',
50
- displayOptions: {
51
- show: {
52
- resource: ['httpVerb'],
53
- operation: ['get'],
54
- },
55
- },
56
- type: 'options',
57
- options: [
58
- {
59
- name: 'Query',
60
- value: 'queryParameter',
61
- },
62
- ],
63
- required: true,
64
- },
65
- {
66
- displayName: 'Query Parameters',
67
- name: 'arguments',
68
- default: {},
69
- description: "The request's query parameters",
70
- displayOptions: {
71
- show: {
72
- resource: ['httpVerb'],
73
- operation: ['get'],
74
- },
75
- },
76
- options: [
77
- {
78
- name: 'keyvalue',
79
- displayName: 'Key:Value',
80
- values: [
81
- {
82
- displayName: 'Key',
83
- name: 'key',
84
- type: 'string',
85
- default: '',
86
- required: true,
87
- description: 'Key of query parameter',
88
- },
89
- {
90
- displayName: 'Value',
91
- name: 'value',
92
- type: 'string',
93
- default: '',
94
- routing: {
95
- send: {
96
- property: '={{$parent.key}}',
97
- type: 'query',
98
- },
99
- },
100
- required: true,
101
- description: 'Value of query parameter',
102
- },
103
- ],
104
- },
105
- ],
106
- type: 'fixedCollection',
107
- typeOptions: {
108
- multipleValues: true,
109
- },
110
- },
111
- ];
112
- const deleteOperation = [
113
- {
114
- displayName: 'Type of Data',
115
- name: 'typeofData',
116
- default: 'queryParameter',
117
- description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
118
- displayOptions: {
119
- show: {
120
- resource: ['httpVerb'],
121
- operation: ['delete'],
122
- },
123
- },
124
- options: [
125
- {
126
- name: 'Query',
127
- value: 'queryParameter',
128
- },
129
- {
130
- name: 'JSON',
131
- value: 'jsonData',
132
- },
133
- ],
134
- required: true,
135
- type: 'options',
136
- },
137
- {
138
- displayName: 'Query Parameters',
139
- name: 'arguments',
140
- default: {},
141
- description: "The request's query parameters",
142
- displayOptions: {
143
- show: {
144
- resource: ['httpVerb'],
145
- operation: ['delete'],
146
- typeofData: ['queryParameter'],
147
- },
148
- },
149
- options: [
150
- {
151
- name: 'keyvalue',
152
- displayName: 'Key:Value',
153
- values: [
154
- {
155
- displayName: 'Key',
156
- name: 'key',
157
- type: 'string',
158
- default: '',
159
- required: true,
160
- description: 'Key of query parameter',
161
- },
162
- {
163
- displayName: 'Value',
164
- name: 'value',
165
- type: 'string',
166
- default: '',
167
- routing: {
168
- send: {
169
- property: '={{$parent.key}}',
170
- type: 'query',
171
- },
172
- },
173
- required: true,
174
- description: 'Value of query parameter',
175
- },
176
- ],
177
- },
178
- ],
179
- type: 'fixedCollection',
180
- typeOptions: {
181
- multipleValues: true,
182
- },
183
- },
184
- {
185
- displayName: 'JSON Object',
186
- name: 'arguments',
187
- default: {},
188
- description: "The request's JSON properties",
189
- displayOptions: {
190
- show: {
191
- resource: ['httpVerb'],
192
- operation: ['delete'],
193
- typeofData: ['jsonData'],
194
- },
195
- },
196
- options: [
197
- {
198
- name: 'keyvalue',
199
- displayName: 'Key:Value',
200
- values: [
201
- {
202
- displayName: 'Key',
203
- name: 'key',
204
- type: 'string',
205
- default: '',
206
- required: true,
207
- description: 'Key of JSON property',
208
- },
209
- {
210
- displayName: 'Value',
211
- name: 'value',
212
- type: 'string',
213
- default: '',
214
- routing: {
215
- send: {
216
- property: '={{$parent.key}}',
217
- type: 'body',
218
- },
219
- },
220
- required: true,
221
- description: 'Value of JSON property',
222
- },
223
- ],
224
- },
225
- ],
226
- type: 'fixedCollection',
227
- typeOptions: {
228
- multipleValues: true,
229
- },
230
- },
231
- ];
232
- exports.httpVerbFields = [
233
- ...getOperation,
234
- ...deleteOperation,
235
- ];
236
- //# sourceMappingURL=HttpVerbDescription.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpVerbDescription.js","sourceRoot":"","sources":["../../../nodes/HttpBin/HttpVerbDescription.ts"],"names":[],"mappings":";;;AAGa,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QAEtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBA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W,EAAE,wBAAwB;qBACrC;iBACD;aACD;SACD;QACD,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;KACD;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAIhD,GAAG,YAAY;IAKf,GAAG,eAAe;CAClB,CAAC"}
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve"> <image id="image0" width="32" height="32" x="0" y="0"
4
- href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJN
5
- AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElN
6
- RQfmBg4UAC/TqOZZAAACA0lEQVRIx5XVv09TURwF8M+jFHDSyRkGFhPAEfyRdDHi5uriXyDoYgKT
7
- MJDWzUT/Ahf/AiOEpajEgCESmpiYmDCxGowDTYE+h76+vte+15Zzk753b7733HNO772PbEw7ECba
8
- genswtEcgl0/PHARV72066YrIDSZ6k8KBym4741r0XsB284TdUX8chn1zrzwJUmw4KFXPqjFE0Y0
9
- u5YKEhpmfLZuy7f2wLKGI8WhDRYdaVhurdTCidmU5P44N+skaaGQH1IfFFrOYMotT932zNgQExve
10
- OfTeT8dtBceO3TFlOyopY7UPxV+/fWyn3Y0xrFhJjZWFXhs12pKdRO9ObGSuyB8Xbd9JjMjDc6HQ
11
- IcrKqAiVe8vyCEJPrGBWxZYqqtZt9RbmHabAvAAVdVUlJTvWshbMt0AYn40OmlchSKOePTyYIMQn
12
- rb8yI8TsDCrRs4od7Jv3KOoPGWKboBqp2LN3FQvdO7EPshSsRSTXrSop2cSiiUGkG/bj2JqaQiHW
13
- 4nv50mFcu28j30KQarAnEPhuzvwwGYQ975vx7+JwGXTjTIAzoYlhCArR5d0KkfauqJAVY6+FG5hD
14
- OS6veqyCuSiTAQT/jKmlQtyxIBCoZV28HQvN6LuQvJFC4xjvibfYOZUdUXd9taTWJbOubiIVXmjG
15
- W/fs9qpZcpr6pOe1U0udSf8BR7ef4yxyOskAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMTRU
16
- MTc6MDA6NDcrMDM6MDBfo1sRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTE0VDE3OjAwOjQ3
17
- KzAzOjAwLv7jrQAAAABJRU5ErkJggg==" />
18
- </svg>
@@ -1,3 +0,0 @@
1
- import { INodeProperties } from 'n8n-workflow';
2
- export declare const advertisingOperations: INodeProperties[];
3
- export declare const advertisingFields: INodeProperties[];