n8n-nodes-aevent 0.0.0-stage → 1.0.0

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 (41) hide show
  1. package/README.md +61 -2
  2. package/dist/credentials/AeventApi.credentials.d.ts +9 -0
  3. package/dist/credentials/AeventApi.credentials.js +43 -0
  4. package/dist/credentials/AeventApi.credentials.js.map +1 -0
  5. package/dist/nodes/Aevent/Aevent.node.d.ts +4 -0
  6. package/dist/nodes/Aevent/Aevent.node.js +53 -0
  7. package/dist/nodes/Aevent/Aevent.node.js.map +1 -0
  8. package/dist/nodes/Aevent/Aevent.node.json +18 -0
  9. package/dist/nodes/Aevent/AeventTrigger.node.d.ts +12 -0
  10. package/dist/nodes/Aevent/AeventTrigger.node.js +124 -0
  11. package/dist/nodes/Aevent/AeventTrigger.node.js.map +1 -0
  12. package/dist/nodes/Aevent/aevent.dark.svg +13 -0
  13. package/dist/nodes/Aevent/aevent.svg +13 -0
  14. package/dist/nodes/Aevent/aevent_logo_new.svg +20 -0
  15. package/dist/nodes/Aevent/resources/campaign/index.d.ts +2 -0
  16. package/dist/nodes/Aevent/resources/campaign/index.js +76 -0
  17. package/dist/nodes/Aevent/resources/campaign/index.js.map +1 -0
  18. package/dist/nodes/Aevent/resources/company/getAll.d.ts +2 -0
  19. package/dist/nodes/Aevent/resources/company/getAll.js +62 -0
  20. package/dist/nodes/Aevent/resources/company/getAll.js.map +1 -0
  21. package/dist/nodes/Aevent/resources/company/index.d.ts +2 -0
  22. package/dist/nodes/Aevent/resources/company/index.js +35 -0
  23. package/dist/nodes/Aevent/resources/company/index.js.map +1 -0
  24. package/dist/nodes/Aevent/resources/registrant/index.d.ts +2 -0
  25. package/dist/nodes/Aevent/resources/registrant/index.js +125 -0
  26. package/dist/nodes/Aevent/resources/registrant/index.js.map +1 -0
  27. package/dist/nodes/Aevent/resources/user/create.d.ts +2 -0
  28. package/dist/nodes/Aevent/resources/user/create.js +27 -0
  29. package/dist/nodes/Aevent/resources/user/create.js.map +1 -0
  30. package/dist/nodes/Aevent/resources/user/get.d.ts +2 -0
  31. package/dist/nodes/Aevent/resources/user/get.js +18 -0
  32. package/dist/nodes/Aevent/resources/user/get.js.map +1 -0
  33. package/dist/nodes/Aevent/resources/user/index.d.ts +2 -0
  34. package/dist/nodes/Aevent/resources/user/index.js +61 -0
  35. package/dist/nodes/Aevent/resources/user/index.js.map +1 -0
  36. package/dist/nodes/Aevent/resources/webinar/index.d.ts +2 -0
  37. package/dist/nodes/Aevent/resources/webinar/index.js +59 -0
  38. package/dist/nodes/Aevent/resources/webinar/index.js.map +1 -0
  39. package/dist/package.json +54 -0
  40. package/dist/tsconfig.tsbuildinfo +1 -0
  41. package/package.json +52 -4
package/README.md CHANGED
@@ -1,3 +1,62 @@
1
- # Temporary Holding Version
1
+ # n8n-nodes-aevent
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This is an n8n community node that lets you use [AEvent](https://aevent.com) in your n8n workflows.
4
+
5
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
6
+
7
+ [Installation](#installation) · [Operations](#operations) · [Credentials](#credentials) · [Usage](#usage) · [Development](#development) · [Resources](#resources)
8
+
9
+ ## Installation
10
+
11
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
12
+
13
+ 1. In your n8n instance, go to **Settings > Community Nodes**.
14
+ 2. Select **Install**.
15
+ 3. Enter `n8n-nodes-aevent` in the **npm Package Name** field.
16
+ 4. Agree to the risks and select **Install**.
17
+
18
+ ## Operations
19
+
20
+ ### AEvent node
21
+
22
+ | Resource | Operations |
23
+ |--------------|------------------|
24
+ | Registration | Create, Get Many |
25
+ | Webinar | Get, Get Many |
26
+ | Campaign | Get, Get Many |
27
+
28
+ ### AEvent Trigger node
29
+
30
+ | Event | Fires when |
31
+ |---------------------------|------------------------------------------------|
32
+ | Registrant Created | A new registrant is added |
33
+ | Timeline Action Triggered | A webinar timeline action fires |
34
+ | Webinar Attended | A webinar ends, with its attendance report |
35
+
36
+ ## Credentials
37
+
38
+ 1. In AEvent, open **Settings > Developer** and copy your API key.
39
+ 2. In n8n, create a new **AEvent API** credential.
40
+ 3. Paste the key into **API Key**.
41
+ 4. Leave **Base URL** as `https://app-api.aevent.com`, or set it to `https://dev-api.aevent.com` to use staging.
42
+
43
+ n8n checks the key when you save the credential.
44
+
45
+ ## Usage
46
+
47
+ The AEvent Trigger registers a webhook with AEvent when you activate the workflow. AEvent must be able to reach your n8n instance, so self-hosted instances need a public URL set in `WEBHOOK_URL`.
48
+
49
+ ## Development
50
+
51
+ ```bash
52
+ git clone https://github.com/automa8/n8n-nodes-aevent.git
53
+ cd n8n-nodes-aevent
54
+ npm install
55
+ npm run build
56
+ npm run lint
57
+ ```
58
+
59
+ ## Resources
60
+
61
+ * [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
62
+ * [AEvent](https://aevent.com)
@@ -0,0 +1,9 @@
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class AeventApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AeventApi = void 0;
4
+ class AeventApi {
5
+ constructor() {
6
+ this.name = 'aeventApi';
7
+ this.displayName = 'AEvent API';
8
+ this.documentationUrl = 'https://app.aevent.com/#/settings?developer';
9
+ this.properties = [
10
+ {
11
+ displayName: 'API Key',
12
+ name: 'apiKey',
13
+ type: 'string',
14
+ typeOptions: { password: true },
15
+ default: '',
16
+ },
17
+ {
18
+ displayName: 'Base URL',
19
+ name: 'baseUrl',
20
+ type: 'string',
21
+ default: 'https://app-api.aevent.com',
22
+ description: 'Use https://dev-api.aevent.com for staging',
23
+ },
24
+ ];
25
+ this.authenticate = {
26
+ type: 'generic',
27
+ properties: {
28
+ headers: {
29
+ Authorization: '={{ "Bearer " + $credentials.apiKey }}',
30
+ },
31
+ },
32
+ };
33
+ this.test = {
34
+ request: {
35
+ baseURL: '={{$credentials.baseUrl}}',
36
+ url: '/api/n8n/connect',
37
+ method: 'POST',
38
+ },
39
+ };
40
+ }
41
+ }
42
+ exports.AeventApi = AeventApi;
43
+ //# sourceMappingURL=AeventApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AeventApi.credentials.js","sourceRoot":"","sources":["../../credentials/AeventApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,SAAS;IAAtB;QACC,SAAI,GAAG,WAAW,CAAC;QACnB,gBAAW,GAAG,YAAY,CAAC;QAC3B,qBAAgB,GAAG,6CAA6C,CAAC;QACjE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,4CAA4C;aACzD;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,wCAAwC;iBACvD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,kBAAkB;gBACvB,MAAM,EAAE,MAAM;aACd;SACD,CAAC;IACH,CAAC;CAAA;AArCD,8BAqCC"}
@@ -0,0 +1,4 @@
1
+ import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Aevent implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Aevent = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const webinar_1 = require("./resources/webinar");
6
+ const campaign_1 = require("./resources/campaign");
7
+ const registrant_1 = require("./resources/registrant");
8
+ class Aevent {
9
+ constructor() {
10
+ this.description = {
11
+ displayName: 'AEvent',
12
+ name: 'aevent',
13
+ icon: 'file:aevent_logo_new.svg',
14
+ group: ['transform'],
15
+ version: 1,
16
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
17
+ description: 'Interact with the AEvent API',
18
+ defaults: {
19
+ name: 'AEvent',
20
+ },
21
+ usableAsTool: true,
22
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
23
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
24
+ credentials: [{ name: 'aeventApi', required: true }],
25
+ requestDefaults: {
26
+ baseURL: '={{$credentials.baseUrl}}/api',
27
+ headers: {
28
+ Accept: 'application/json',
29
+ 'Content-Type': 'application/json',
30
+ },
31
+ },
32
+ properties: [
33
+ {
34
+ displayName: 'Resource',
35
+ name: 'resource',
36
+ type: 'options',
37
+ noDataExpression: true,
38
+ options: [
39
+ { name: 'Registration', value: 'registration' },
40
+ { name: 'Webinar', value: 'webinar' },
41
+ { name: 'Campaign', value: 'campaign' },
42
+ ],
43
+ default: 'registration',
44
+ },
45
+ ...registrant_1.registrationDescription,
46
+ ...webinar_1.webinarDescription,
47
+ ...campaign_1.campaignDescription,
48
+ ],
49
+ };
50
+ }
51
+ }
52
+ exports.Aevent = Aevent;
53
+ //# sourceMappingURL=Aevent.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Aevent.node.js","sourceRoot":"","sources":["../../../nodes/Aevent/Aevent.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,iDAAyD;AACzD,mDAA2D;AAC3D,uDAAiE;AAEjE,MAAa,MAAM;IAAnB;QACI,gBAAW,GAAyB;YAChC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,0BAA0B;YAChC,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,8BAA8B;YAC3C,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;YACpD,eAAe,EAAE;gBACb,OAAO,EAAE,+BAA+B;gBACxC,OAAO,EAAE;oBACL,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBACrC;aACJ;YACD,UAAU,EAAE;gBACR;oBACI,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACL,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;wBAC/C,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;wBACrC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;qBAC1C;oBACD,OAAO,EAAE,cAAc;iBAC1B;gBACD,GAAG,oCAAuB;gBAC1B,GAAG,4BAAkB;gBACrB,GAAG,8BAAmB;aACzB;SACJ,CAAC;IACN,CAAC;CAAA;AAzCD,wBAyCC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-aevent",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Development", "Developer Tools"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://github.com/org/repo?tab=readme-ov-file#credentials"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://github.com/org/repo?tab=readme-ov-file"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,12 @@
1
+ import type { IHookFunctions, IWebhookFunctions, INodeType, INodeTypeDescription, IWebhookResponseData } from 'n8n-workflow';
2
+ export declare class AeventTrigger implements INodeType {
3
+ description: INodeTypeDescription;
4
+ webhookMethods: {
5
+ default: {
6
+ checkExists(this: IHookFunctions): Promise<boolean>;
7
+ create(this: IHookFunctions): Promise<boolean>;
8
+ delete(this: IHookFunctions): Promise<boolean>;
9
+ };
10
+ };
11
+ webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
12
+ }
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AeventTrigger = void 0;
4
+ class AeventTrigger {
5
+ constructor() {
6
+ this.description = {
7
+ displayName: 'AEvent Trigger',
8
+ name: 'aeventTrigger',
9
+ icon: 'file:aevent_logo_new.svg',
10
+ group: ['trigger'],
11
+ version: 1,
12
+ description: 'Triggers a workflow when events occur in AEvent',
13
+ defaults: {
14
+ name: 'AEvent Trigger',
15
+ },
16
+ inputs: [],
17
+ outputs: ['main'],
18
+ credentials: [
19
+ {
20
+ name: 'aeventApi',
21
+ required: true,
22
+ },
23
+ ],
24
+ webhooks: [
25
+ {
26
+ name: 'setup',
27
+ httpMethod: 'GET',
28
+ responseMode: 'onReceived',
29
+ path: 'webhook',
30
+ },
31
+ {
32
+ name: 'default',
33
+ httpMethod: 'POST',
34
+ responseMode: 'onReceived',
35
+ path: 'webhook',
36
+ },
37
+ ],
38
+ properties: [
39
+ {
40
+ displayName: 'Event',
41
+ name: 'event',
42
+ type: 'options',
43
+ options: [
44
+ {
45
+ name: 'Registrant Created',
46
+ value: 'registrant.created',
47
+ description: 'Triggers when a new registrant is added',
48
+ },
49
+ {
50
+ name: 'Timeline Action Triggered',
51
+ value: 'timeline.action',
52
+ description: 'Triggers when a timeline action fires',
53
+ },
54
+ {
55
+ name: 'Webinar Attended',
56
+ value: 'webinar.attended',
57
+ description: 'Triggers with the attendance report once a webinar has ended',
58
+ },
59
+ ],
60
+ default: 'registrant.created',
61
+ required: true,
62
+ },
63
+ ],
64
+ };
65
+ this.webhookMethods = {
66
+ default: {
67
+ async checkExists() {
68
+ return false;
69
+ },
70
+ async create() {
71
+ const webhookUrl = this.getNodeWebhookUrl('default');
72
+ const event = this.getNodeParameter('event');
73
+ const hookLabel = `n8n_${this.getNode().id}_${Date.now()}`;
74
+ const workflow = this.getWorkflow();
75
+ const { baseUrl } = await this.getCredentials('aeventApi');
76
+ const body = {
77
+ label: hookLabel,
78
+ hookUrl: webhookUrl,
79
+ event: event,
80
+ workflow_id: workflow.id,
81
+ workflow_name: workflow.name,
82
+ };
83
+ await this.helpers.httpRequestWithAuthentication.call(this, 'aeventApi', {
84
+ method: 'POST',
85
+ url: `${baseUrl}/api/n8n/consume`,
86
+ body,
87
+ json: true,
88
+ });
89
+ const staticData = this.getWorkflowStaticData('node');
90
+ staticData.hookLabel = hookLabel;
91
+ return true;
92
+ },
93
+ async delete() {
94
+ const staticData = this.getWorkflowStaticData('node');
95
+ const hookLabel = staticData.hookLabel;
96
+ if (hookLabel) {
97
+ const { baseUrl } = await this.getCredentials('aeventApi');
98
+ try {
99
+ await this.helpers.httpRequestWithAuthentication.call(this, 'aeventApi', {
100
+ method: 'DELETE',
101
+ url: `${baseUrl}/api/n8n/hooks/${encodeURIComponent(hookLabel)}`,
102
+ json: true,
103
+ });
104
+ }
105
+ catch (error) {
106
+ }
107
+ }
108
+ return true;
109
+ },
110
+ },
111
+ };
112
+ }
113
+ async webhook() {
114
+ if (this.getWebhookName() === 'setup') {
115
+ return { webhookResponse: { ok: true } };
116
+ }
117
+ const req = this.getRequestObject();
118
+ return {
119
+ workflowData: [this.helpers.returnJsonArray(req.body)],
120
+ };
121
+ }
122
+ }
123
+ exports.AeventTrigger = AeventTrigger;
124
+ //# sourceMappingURL=AeventTrigger.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AeventTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Aevent/AeventTrigger.node.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="aquamarine"
2
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
+ <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
+ <rect x="9" y="9" width="6" height="6"></rect>
5
+ <line x1="9" y1="1" x2="9" y2="4"></line>
6
+ <line x1="15" y1="1" x2="15" y2="4"></line>
7
+ <line x1="9" y1="20" x2="9" y2="23"></line>
8
+ <line x1="15" y1="20" x2="15" y2="23"></line>
9
+ <line x1="20" y1="9" x2="23" y2="9"></line>
10
+ <line x1="20" y1="14" x2="23" y2="14"></line>
11
+ <line x1="1" y1="9" x2="4" y2="9"></line>
12
+ <line x1="1" y1="14" x2="4" y2="14"></line>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="darkblue"
2
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cpu">
3
+ <rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect>
4
+ <rect x="9" y="9" width="6" height="6"></rect>
5
+ <line x1="9" y1="1" x2="9" y2="4"></line>
6
+ <line x1="15" y1="1" x2="15" y2="4"></line>
7
+ <line x1="9" y1="20" x2="9" y2="23"></line>
8
+ <line x1="15" y1="20" x2="15" y2="23"></line>
9
+ <line x1="20" y1="9" x2="23" y2="9"></line>
10
+ <line x1="20" y1="14" x2="23" y2="14"></line>
11
+ <line x1="1" y1="9" x2="4" y2="9"></line>
12
+ <line x1="1" y1="14" x2="4" y2="14"></line>
13
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg width="387" height="408" viewBox="0 0 387 408" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M56.2544 351.515C57.4426 351.515 58.0267 352.075 58.0267 353.185V360.426C58.0267 361.546 57.4426 362.106 56.2544 362.106H22.7195C21.0563 362.075 19.3953 362.241 17.7719 362.601C16.5703 362.863 15.4635 363.445 14.5717 364.286C13.7304 365.168 13.1606 366.27 12.9292 367.463C12.5909 369.105 12.4336 370.778 12.4599 372.454V373.217H55.83C56.0594 373.184 56.2933 373.205 56.5134 373.277C56.7334 373.349 56.9336 373.471 57.0981 373.633C57.2631 373.795 57.3878 373.994 57.4623 374.212C57.5368 374.431 57.5592 374.663 57.5274 374.892V380.913C57.5584 381.141 57.5357 381.373 57.4612 381.59C57.3867 381.808 57.2624 382.005 57.0981 382.167C56.9336 382.329 56.7334 382.451 56.5134 382.523C56.2933 382.596 56.0594 382.616 55.83 382.583H12.5048V383.897C12.4763 385.571 12.6337 387.243 12.9741 388.882C13.2045 390.074 13.7746 391.175 14.6166 392.054C15.5074 392.892 16.6125 393.471 17.8119 393.729C19.4349 394.092 21.0961 394.258 22.7595 394.225H56.2544C57.4426 394.225 58.0267 394.785 58.0267 395.895V403.135C58.0267 404.255 57.4426 404.815 56.2544 404.815H22.4849C19.1547 404.881 15.8297 404.526 12.5897 403.76C10.1174 403.177 7.83347 401.983 5.94961 400.291C4.16473 398.572 2.87097 396.413 2.20021 394.036C1.3454 390.999 0.943392 387.853 1.00699 384.699V371.631C0.940952 368.489 1.34304 365.354 2.20021 362.329C2.88135 359.966 4.18006 357.823 5.96459 356.119C7.85314 354.426 10.1342 353.222 12.6046 352.615C15.8427 351.837 19.1691 351.481 22.4998 351.555L56.2544 351.515Z" fill="white"/>
3
+ <path d="M74.8522 351.523C75.2547 351.495 75.6577 351.572 76.0174 351.746C76.2926 351.954 76.5224 352.212 76.6937 352.504L100.102 393.471C100.182 393.645 100.319 393.789 100.492 393.882C100.664 393.981 100.866 394.021 101.064 393.996H101.465C101.649 394.001 101.83 393.953 101.985 393.858C102.141 393.764 102.265 393.63 102.344 393.471L125.461 352.504C125.623 352.181 125.884 351.913 126.21 351.736C126.54 351.563 126.917 351.489 127.292 351.523H137.8C138.434 351.523 138.84 351.682 138.908 352.018C138.969 352.228 138.983 352.447 138.949 352.663C138.915 352.878 138.834 353.083 138.71 353.266L112.519 399.023C111.63 400.851 110.287 402.447 108.607 403.672C107.269 404.445 105.729 404.842 104.165 404.816H99.5297C97.7332 404.88 95.9516 404.485 94.3695 403.672C92.6237 402.481 91.2327 400.879 90.3329 399.023L63.8035 353.266C63.6782 353.084 63.5965 352.878 63.5642 352.662C63.5294 352.448 63.5418 352.228 63.6006 352.018C63.7359 351.682 64.1468 351.523 64.8439 351.523H74.8522Z" fill="white"/>
4
+ <path d="M195.967 351.515C197.187 351.515 197.794 352.075 197.794 353.185V360.426C197.794 361.546 197.185 362.106 195.967 362.106H161.401C159.687 362.075 157.975 362.241 156.302 362.601C155.065 362.863 153.926 363.446 153.008 364.286C152.14 365.167 151.552 366.27 151.316 367.463C150.964 369.104 150.802 370.778 150.832 372.454V373.217H195.53C195.766 373.185 196.007 373.206 196.234 373.279C196.46 373.352 196.666 373.474 196.835 373.636C197.004 373.799 197.132 373.996 197.208 374.214C197.284 374.432 197.307 374.664 197.274 374.892V380.913C197.307 381.141 197.284 381.372 197.208 381.59C197.132 381.807 197.005 382.005 196.837 382.167C196.667 382.329 196.461 382.451 196.234 382.523C196.007 382.596 195.766 382.616 195.53 382.583H150.878V383.897C150.846 385.571 151.009 387.243 151.362 388.882C151.6 390.073 152.185 391.173 153.05 392.054C153.97 392.891 155.111 393.47 156.348 393.729C158.021 394.092 159.733 394.258 161.447 394.225H196.014C197.233 394.225 197.835 394.785 197.835 395.895V403.135C197.835 404.255 197.233 404.815 196.014 404.815H161.128C157.692 404.881 154.262 404.526 150.919 403.76C148.375 403.176 146.024 401.983 144.086 400.291C142.242 398.579 140.903 396.425 140.207 394.051C139.321 391.014 138.906 387.868 138.977 384.714V371.631C138.904 368.489 139.318 365.353 140.207 362.329C140.911 359.966 142.249 357.825 144.086 356.119C146.03 354.427 148.377 353.223 150.919 352.615C154.26 351.837 157.692 351.48 161.128 351.555L195.967 351.515Z" fill="white"/>
5
+ <path d="M220.998 351.541C222.045 351.531 223.091 351.58 224.131 351.689C224.89 351.773 225.628 351.991 226.306 352.332C226.977 352.697 227.587 353.159 228.114 353.701C228.812 354.439 229.465 355.215 230.07 356.025L259.202 393.11C259.303 393.283 259.452 393.424 259.633 393.517C259.813 393.611 260.017 393.653 260.221 393.639H260.918C261.341 393.639 261.55 393.382 261.55 392.878V353.217C261.517 352.991 261.538 352.761 261.611 352.544C261.686 352.327 261.812 352.129 261.979 351.967C262.146 351.805 262.35 351.683 262.574 351.61C262.797 351.539 263.034 351.518 263.267 351.551H271.488C271.725 351.513 271.967 351.53 272.196 351.6C272.424 351.671 272.632 351.793 272.802 351.956C272.971 352.118 273.098 352.316 273.174 352.534C273.252 352.754 273.275 352.988 273.24 353.217V396.878C273.24 399.97 272.665 402.06 271.514 403.148C270.029 404.353 268.115 404.943 266.185 404.789H259.462C258.451 404.801 257.44 404.748 256.436 404.631C255.68 404.555 254.944 404.351 254.261 404.028C253.58 403.681 252.959 403.232 252.422 402.698C251.675 401.946 250.98 401.147 250.344 400.305L221.141 363.22C221.021 363.063 220.866 362.934 220.688 362.844C220.511 362.754 220.317 362.701 220.117 362.691H219.399C218.986 362.691 218.778 362.943 218.778 363.452V403.133C218.811 403.361 218.789 403.592 218.713 403.81C218.638 404.028 218.512 404.226 218.345 404.389C218.178 404.552 217.974 404.674 217.749 404.745C217.524 404.818 217.285 404.84 217.051 404.809H208.829C207.634 404.809 207.035 404.25 207.031 403.133V359.447C207.031 356.358 207.605 354.268 208.753 353.177C210.237 351.97 212.152 351.382 214.081 351.541H220.998Z" fill="white"/>
6
+ <path d="M343.203 351.515C344.388 351.515 344.985 352.075 344.985 353.184V360.649C345.019 360.885 344.996 361.126 344.919 361.352C344.843 361.584 344.712 361.795 344.536 361.967C344.36 362.139 344.144 362.268 343.907 362.342C343.675 362.418 343.43 362.44 343.188 362.407H318.75V403.126C318.782 403.354 318.76 403.586 318.684 403.804C318.611 404.023 318.484 404.222 318.315 404.383C318.149 404.547 317.946 404.671 317.723 404.745C317.5 404.818 317.262 404.841 317.029 404.809H308.556C308.322 404.841 308.085 404.818 307.862 404.745C307.638 404.671 307.436 404.547 307.27 404.383C307.101 404.222 306.974 404.023 306.901 403.804C306.825 403.586 306.803 403.354 306.835 403.126V362.392H282.412C282.17 362.425 281.924 362.402 281.692 362.326C281.461 362.25 281.25 362.123 281.078 361.954C280.905 361.785 280.775 361.579 280.697 361.353C280.62 361.127 280.597 360.886 280.63 360.649V353.193C280.63 352.084 281.223 351.525 282.412 351.525L343.203 351.515Z" fill="white"/>
7
+ <path d="M193.501 13L11.2949 327.766H375.707L193.501 13Z" stroke="#404041" stroke-width="12.3529" stroke-miterlimit="10"/>
8
+ <path d="M192.47 151.867L223.352 222.844C247.029 227.987 273.794 240.331 291.924 254.965L192.783 78.4858L93.6426 254.965C113.205 239.302 133.794 229.016 159.529 222.844L192.47 151.867Z" fill="#2563EB"/>
9
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M151.641 272.933H151.638C135.742 279.124 121.983 288.826 111.727 301.076H98.4004C106.372 289.968 116.863 280.392 129.232 272.932H129.235C147.915 261.701 170.082 255.685 192.787 255.685C215.492 255.685 237.658 261.701 256.338 272.932H256.34C268.711 280.39 279.202 289.966 287.172 301.076H273.845C263.589 288.826 249.83 279.124 233.934 272.933H233.932C220.983 267.909 206.964 265.312 192.787 265.312C178.609 265.312 164.59 267.909 151.641 272.933Z" fill="#2563EB"/>
10
+ <path d="M129.231 272.932C147.911 261.7 170.078 255.684 192.783 255.684C215.488 255.684 237.655 261.7 256.336 272.932H266.02L248.762 242.204C231.116 235.464 212.054 231.984 192.783 231.984C173.513 231.984 154.451 235.464 136.805 242.204L119.547 272.932H129.231Z" fill="#2563EB"/>
11
+ <path d="M248.768 242.204L266.026 272.932H256.341C268.712 280.389 279.203 289.966 287.173 301.075H317.809L313.213 292.928C298.561 270.426 275.961 252.638 248.768 242.204V242.204Z" fill="#2563EB"/>
12
+ <path d="M98.4026 301.075C106.375 289.967 116.865 280.391 129.234 272.932H119.55L136.808 242.204C109.618 252.639 87.0205 270.427 72.3708 292.928L67.7754 301.075H98.4026Z" fill="#2563EB"/>
13
+ <mask id="mask0_11172_25" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="64" y="231" width="257" height="71">
14
+ <rect x="64.8223" y="231.073" width="255.294" height="69.9479" fill="#D9D9D9"/>
15
+ </mask>
16
+ <g mask="url(#mask0_11172_25)">
17
+ <path d="M320.025 302.121C306.183 280.943 287.277 263.544 265.017 251.499C242.757 239.454 217.844 233.141 192.53 233.13C167.215 233.12 142.297 239.413 120.027 251.441C97.7577 263.468 78.8381 280.852 64.9785 302.019L101.017 325.58C110.959 310.396 124.53 297.927 140.505 289.299C156.479 280.672 174.354 276.157 192.512 276.165C210.671 276.172 228.542 280.7 244.509 289.341C260.477 297.981 274.039 310.462 283.968 325.654L320.025 302.121Z" fill="#2563EB"/>
18
+ </g>
19
+ <path d="M364.4 374.2V359.44H371.88C372.48 359.44 373.133 359.613 373.84 359.96C374.547 360.293 375.147 360.813 375.64 361.52C376.147 362.213 376.4 363.093 376.4 364.16C376.4 365.24 376.14 366.16 375.62 366.92C375.1 367.667 374.467 368.233 373.72 368.62C372.987 369.007 372.293 369.2 371.64 369.2H366.24V366.8H370.64C371.08 366.8 371.553 366.58 372.06 366.14C372.58 365.7 372.84 365.04 372.84 364.16C372.84 363.253 372.58 362.64 372.06 362.32C371.553 362 371.107 361.84 370.72 361.84H367.64V374.2H364.4ZM373.32 367.24L377 374.2H373.44L369.84 367.24H373.32ZM370 383C367.787 383 365.713 382.587 363.78 381.76C361.847 380.933 360.147 379.787 358.68 378.32C357.213 376.853 356.067 375.153 355.24 373.22C354.413 371.287 354 369.213 354 367C354 364.787 354.413 362.713 355.24 360.78C356.067 358.847 357.213 357.147 358.68 355.68C360.147 354.213 361.847 353.067 363.78 352.24C365.713 351.413 367.787 351 370 351C372.213 351 374.287 351.413 376.22 352.24C378.153 353.067 379.853 354.213 381.32 355.68C382.787 357.147 383.933 358.847 384.76 360.78C385.587 362.713 386 364.787 386 367C386 369.213 385.587 371.287 384.76 373.22C383.933 375.153 382.787 376.853 381.32 378.32C379.853 379.787 378.153 380.933 376.22 381.76C374.287 382.587 372.213 383 370 383ZM370 379.16C372.24 379.16 374.28 378.613 376.12 377.52C377.96 376.427 379.427 374.96 380.52 373.12C381.613 371.28 382.16 369.24 382.16 367C382.16 364.76 381.613 362.72 380.52 360.88C379.427 359.04 377.96 357.573 376.12 356.48C374.28 355.387 372.24 354.84 370 354.84C367.76 354.84 365.72 355.387 363.88 356.48C362.04 357.573 360.573 359.04 359.48 360.88C358.387 362.72 357.84 364.76 357.84 367C357.84 369.24 358.387 371.28 359.48 373.12C360.573 374.96 362.04 376.427 363.88 377.52C365.72 378.613 367.76 379.16 370 379.16Z" fill="white"/>
20
+ <script xmlns=""/></svg>
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const campaignDescription: INodeProperties[];
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.campaignDescription = void 0;
4
+ const showOnlyForCampaigns = {
5
+ resource: ['campaign'],
6
+ };
7
+ exports.campaignDescription = [
8
+ {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: showOnlyForCampaigns,
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Get',
19
+ value: 'get',
20
+ action: 'Get a campaign',
21
+ description: 'Get details of a single campaign',
22
+ routing: {
23
+ request: {
24
+ method: 'POST',
25
+ url: '/webinartimelineevent/get',
26
+ body: {
27
+ webinarTimeline: '={{ $parameter.campaignId }}',
28
+ },
29
+ },
30
+ },
31
+ },
32
+ {
33
+ name: 'Get Many',
34
+ value: 'getAll',
35
+ action: 'Get campaigns',
36
+ description: 'Retrieve a list of campaigns',
37
+ routing: {
38
+ request: {
39
+ method: 'POST',
40
+ url: '/webinartimelinemaster/get',
41
+ },
42
+ },
43
+ },
44
+ ],
45
+ default: 'getAll',
46
+ },
47
+ {
48
+ displayName: 'User ID',
49
+ name: 'userId',
50
+ type: 'string',
51
+ required: true,
52
+ default: '',
53
+ displayOptions: {
54
+ show: {
55
+ resource: ['campaign'],
56
+ operation: ['getAll'],
57
+ },
58
+ },
59
+ description: 'The User ID required by AEvent to list campaigns',
60
+ },
61
+ {
62
+ displayName: 'Campaign ID',
63
+ name: 'campaignId',
64
+ type: 'string',
65
+ required: true,
66
+ default: '',
67
+ displayOptions: {
68
+ show: {
69
+ resource: ['campaign'],
70
+ operation: ['get'],
71
+ },
72
+ },
73
+ description: 'The unique identifier (webinarTimeline) of the campaign',
74
+ },
75
+ ];
76
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Aevent/resources/campaign/index.ts"],"names":[],"mappings":";;;AAEA,MAAM,oBAAoB,GAAG;IACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;CACzB,CAAC;AAEW,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,oBAAoB;SAC7B;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,kCAAkC;gBAC/C,OAAO,EAAE;oBACL,OAAO,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,2BAA2B;wBAChC,IAAI,EAAE;4BACF,eAAe,EAAE,8BAA8B;yBAClD;qBACJ;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,8BAA8B;gBAC3C,OAAO,EAAE;oBACL,OAAO,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,4BAA4B;qBACpC;iBACJ;aACJ;SACJ;QACD,OAAO,EAAE,QAAQ;KACpB;IAKD;QACI,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;QACD,WAAW,EAAE,kDAAkD;KAClE;IAKD;QACI,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;QACD,WAAW,EAAE,yDAAyD;KACzE;CACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const companyGetManyDescription: INodeProperties[];
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.companyGetManyDescription = void 0;
4
+ const showOnlyForCompanyGetMany = {
5
+ operation: ['getAll'],
6
+ resource: ['company'],
7
+ };
8
+ exports.companyGetManyDescription = [
9
+ {
10
+ displayName: 'Limit',
11
+ name: 'limit',
12
+ type: 'number',
13
+ displayOptions: {
14
+ show: {
15
+ ...showOnlyForCompanyGetMany,
16
+ returnAll: [false],
17
+ },
18
+ },
19
+ typeOptions: {
20
+ minValue: 1,
21
+ maxValue: 100,
22
+ },
23
+ default: 50,
24
+ routing: {
25
+ send: {
26
+ type: 'query',
27
+ property: 'limit',
28
+ },
29
+ output: {
30
+ maxResults: '={{$value}}',
31
+ },
32
+ },
33
+ description: 'Max number of results to return',
34
+ },
35
+ {
36
+ displayName: 'Return All',
37
+ name: 'returnAll',
38
+ type: 'boolean',
39
+ displayOptions: {
40
+ show: showOnlyForCompanyGetMany,
41
+ },
42
+ default: false,
43
+ description: 'Whether to return all results or only up to a given limit',
44
+ routing: {
45
+ send: {
46
+ paginate: '={{ $value }}',
47
+ },
48
+ operations: {
49
+ pagination: {
50
+ type: 'offset',
51
+ properties: {
52
+ limitParameter: 'limit',
53
+ offsetParameter: 'offset',
54
+ pageSize: 100,
55
+ type: 'query',
56
+ },
57
+ },
58
+ },
59
+ },
60
+ },
61
+ ];
62
+ //# sourceMappingURL=getAll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Aevent/resources/company/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,yBAAyB,GAAG;IACjC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,yBAAyB;gBAC5B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACb;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;aACjB;YACD,MAAM,EAAE;gBACP,UAAU,EAAE,aAAa;aACzB;SACD;QACD,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE,yBAAyB;SAC/B;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,eAAe;aACzB;YACD,UAAU,EAAE;gBACX,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACX,cAAc,EAAE,OAAO;wBACvB,eAAe,EAAE,QAAQ;wBACzB,QAAQ,EAAE,GAAG;wBACb,IAAI,EAAE,OAAO;qBACb;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const companyDescription: INodeProperties[];
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.companyDescription = void 0;
4
+ const getAll_1 = require("./getAll");
5
+ const showOnlyForCompanies = {
6
+ resource: ['company'],
7
+ };
8
+ exports.companyDescription = [
9
+ {
10
+ displayName: 'Operation',
11
+ name: 'operation',
12
+ type: 'options',
13
+ noDataExpression: true,
14
+ displayOptions: {
15
+ show: showOnlyForCompanies,
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Get Many',
20
+ value: 'getAll',
21
+ action: 'Get companies',
22
+ description: 'Get companies',
23
+ routing: {
24
+ request: {
25
+ method: 'GET',
26
+ url: '/companies',
27
+ },
28
+ },
29
+ },
30
+ ],
31
+ default: 'getAll',
32
+ },
33
+ ...getAll_1.companyGetManyDescription,
34
+ ];
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Aevent/resources/company/index.ts"],"names":[],"mappings":";;;AACA,qCAAqD;AAErD,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,SAAS,CAAC;CACrB,CAAC;AAEW,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,oBAAoB;SAC1B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,eAAe;gBAC5B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,YAAY;qBACjB;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,kCAAyB;CAC5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const registrationDescription: INodeProperties[];