n8n-nodes-base 1.63.0 → 1.64.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 (80) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/credentials/GongApi.credentials.d.ts +9 -0
  3. package/dist/credentials/GongApi.credentials.js +53 -0
  4. package/dist/credentials/GongApi.credentials.js.map +1 -0
  5. package/dist/credentials/GongOAuth2Api.credentials.d.ts +8 -0
  6. package/dist/credentials/GongOAuth2Api.credentials.js +59 -0
  7. package/dist/credentials/GongOAuth2Api.credentials.js.map +1 -0
  8. package/dist/known/credentials.json +18 -0
  9. package/dist/known/nodes.json +4 -0
  10. package/dist/methods/defined.json +1 -1
  11. package/dist/methods/referenced.json +1 -1
  12. package/dist/nodes/Code/JsTaskRunnerSandbox.d.ts +1 -1
  13. package/dist/nodes/Code/JsTaskRunnerSandbox.js +18 -31
  14. package/dist/nodes/Code/JsTaskRunnerSandbox.js.map +1 -1
  15. package/dist/nodes/Code/errors/WrappedExecutionError.d.ts +8 -0
  16. package/dist/nodes/Code/errors/WrappedExecutionError.js +27 -0
  17. package/dist/nodes/Code/errors/WrappedExecutionError.js.map +1 -0
  18. package/dist/nodes/Gong/GenericFunctions.d.ts +9 -0
  19. package/dist/nodes/Gong/GenericFunctions.js +175 -0
  20. package/dist/nodes/Gong/GenericFunctions.js.map +1 -0
  21. package/dist/nodes/Gong/Gong.node.d.ts +10 -0
  22. package/dist/nodes/Gong/Gong.node.js +139 -0
  23. package/dist/nodes/Gong/Gong.node.js.map +1 -0
  24. package/dist/nodes/Gong/Gong.node.json +18 -0
  25. package/dist/nodes/Gong/descriptions/CallDescription.d.ts +3 -0
  26. package/dist/nodes/Gong/descriptions/CallDescription.js +551 -0
  27. package/dist/nodes/Gong/descriptions/CallDescription.js.map +1 -0
  28. package/dist/nodes/Gong/descriptions/UserDescription.d.ts +3 -0
  29. package/dist/nodes/Gong/descriptions/UserDescription.js +265 -0
  30. package/dist/nodes/Gong/descriptions/UserDescription.js.map +1 -0
  31. package/dist/nodes/Gong/descriptions/index.d.ts +2 -0
  32. package/dist/nodes/Gong/descriptions/index.js +19 -0
  33. package/dist/nodes/Gong/descriptions/index.js.map +1 -0
  34. package/dist/nodes/Gong/gong.svg +4 -0
  35. package/dist/nodes/Gong/test/mocks.d.ts +540 -0
  36. package/dist/nodes/Gong/test/mocks.js +772 -0
  37. package/dist/nodes/Gong/test/mocks.js.map +1 -0
  38. package/dist/nodes/Google/Ads/CampaignDescription.js +2 -2
  39. package/dist/nodes/Google/Ads/GoogleAds.node.js +1 -1
  40. package/dist/nodes/Google/Calendar/EventDescription.js +58 -1
  41. package/dist/nodes/Google/Calendar/EventDescription.js.map +1 -1
  42. package/dist/nodes/Google/Calendar/GoogleCalendar.node.d.ts +1 -1
  43. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +21 -5
  44. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
  45. package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js +3 -1
  46. package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js.map +1 -1
  47. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +3 -3
  48. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  49. package/dist/nodes/Line/Line.node.js +6 -0
  50. package/dist/nodes/Line/Line.node.js.map +1 -1
  51. package/dist/nodes/MySql/v2/helpers/utils.js +19 -19
  52. package/dist/nodes/MySql/v2/helpers/utils.js.map +1 -1
  53. package/dist/nodes/N8nTrigger/N8nTrigger.node.js +23 -2
  54. package/dist/nodes/N8nTrigger/N8nTrigger.node.js.map +1 -1
  55. package/dist/nodes/Set/v2/SetV2.node.js +38 -0
  56. package/dist/nodes/Set/v2/SetV2.node.js.map +1 -1
  57. package/dist/nodes/Strava/GenericFunctions.js +1 -1
  58. package/dist/nodes/Strava/GenericFunctions.js.map +1 -1
  59. package/dist/nodes/Strava/StravaTrigger.node.js +4 -5
  60. package/dist/nodes/Strava/StravaTrigger.node.js.map +1 -1
  61. package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.d.ts +3 -4
  62. package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.js +11 -183
  63. package/dist/nodes/Transform/RemoveDuplicates/RemoveDuplicates.node.js.map +1 -1
  64. package/dist/nodes/Transform/RemoveDuplicates/utils.d.ts +2 -1
  65. package/dist/nodes/Transform/RemoveDuplicates/utils.js +89 -0
  66. package/dist/nodes/Transform/RemoveDuplicates/utils.js.map +1 -1
  67. package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.d.ts +6 -0
  68. package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.js +111 -0
  69. package/dist/nodes/Transform/RemoveDuplicates/v1/RemoveDuplicatesV1.node.js.map +1 -0
  70. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.d.ts +2 -0
  71. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.js +271 -0
  72. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.description.js.map +1 -0
  73. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.d.ts +6 -0
  74. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.js +206 -0
  75. package/dist/nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.js.map +1 -0
  76. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js +7 -0
  77. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js.map +1 -1
  78. package/dist/types/credentials.json +2 -0
  79. package/dist/types/nodes.json +12 -10
  80. package/package.json +7 -4
@@ -0,0 +1,206 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoveDuplicatesV2 = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const RemoveDuplicatesV2_description_1 = require("./RemoveDuplicatesV2.description");
6
+ const utils_1 = require("../utils");
7
+ const versionDescription = {
8
+ displayName: 'Remove Duplicates',
9
+ name: 'removeDuplicates',
10
+ icon: 'file:removeDuplicates.svg',
11
+ group: ['transform'],
12
+ subtitle: '',
13
+ version: [2],
14
+ description: 'Delete items with matching field values',
15
+ defaults: {
16
+ name: 'Remove Duplicates',
17
+ },
18
+ inputs: ["main"],
19
+ outputs: ["main"],
20
+ outputNames: ['Kept', 'Discarded'],
21
+ hints: [
22
+ {
23
+ message: 'The dedupe key set in “Value to Dedupe On” has no value',
24
+ displayCondition: '={{ $parameter["operation"] === "removeItemsSeenInPreviousExecutions" && ($parameter["logic"] === "removeItemsWithAlreadySeenKeyValues" && $parameter["dedupeValue"] === undefined) || ($parameter["logic"] === "removeItemsUpToStoredIncrementalKey" && $parameter["incrementalDedupeValue"] === undefined) || ($parameter["logic"] === "removeItemsUpToStoredDate" && $parameter["dateDedupeValue"] === undefined) }}',
25
+ whenToDisplay: 'beforeExecution',
26
+ location: 'outputPane',
27
+ },
28
+ ],
29
+ properties: [...RemoveDuplicatesV2_description_1.removeDuplicatesNodeFields],
30
+ };
31
+ class RemoveDuplicatesV2 {
32
+ constructor(baseDescription) {
33
+ this.description = {
34
+ ...baseDescription,
35
+ ...versionDescription,
36
+ };
37
+ }
38
+ async execute() {
39
+ const items = this.getInputData();
40
+ const operation = this.getNodeParameter('operation', 0);
41
+ const returnData = [];
42
+ const DEFAULT_MAX_ENTRIES = 10000;
43
+ try {
44
+ switch (operation) {
45
+ case 'removeDuplicateInputItems': {
46
+ return (0, utils_1.removeDuplicateInputItems)(this, items);
47
+ }
48
+ case 'removeItemsSeenInPreviousExecutions': {
49
+ const logic = this.getNodeParameter('logic', 0);
50
+ const scope = this.getNodeParameter('options.scope', 0, 'node');
51
+ if (logic === 'removeItemsWithAlreadySeenKeyValues') {
52
+ if (!['node', 'workflow'].includes(scope)) {
53
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The scope '${scope}' is not supported. Please select either "node" or "workflow".`);
54
+ }
55
+ let checkValue;
56
+ const itemMapping = {};
57
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
58
+ checkValue = this.getNodeParameter('dedupeValue', itemIndex, '')?.toString() ?? '';
59
+ if (itemMapping[checkValue]) {
60
+ itemMapping[checkValue].push(items[itemIndex]);
61
+ }
62
+ else {
63
+ itemMapping[checkValue] = [items[itemIndex]];
64
+ }
65
+ }
66
+ const maxEntries = this.getNodeParameter('options.historySize', 0, DEFAULT_MAX_ENTRIES);
67
+ const maxEntriesNum = Number(maxEntries);
68
+ const currentProcessedDataCount = await this.helpers.getProcessedDataCount(scope, {
69
+ mode: 'entries',
70
+ maxEntries,
71
+ });
72
+ if (currentProcessedDataCount + items.length > maxEntriesNum) {
73
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'The number of items to be processed exceeds the maximum history size. Please increase the history size or reduce the number of items to be processed.');
74
+ }
75
+ const itemsProcessed = await this.helpers.checkProcessedAndRecord(Object.keys(itemMapping), scope, { mode: 'entries', maxEntries });
76
+ const processedDataCount = await this.helpers.getProcessedDataCount(scope, {
77
+ mode: 'entries',
78
+ maxEntries,
79
+ });
80
+ returnData.push(itemsProcessed.new
81
+ .map((key) => {
82
+ return itemMapping[key];
83
+ })
84
+ .flat(), itemsProcessed.processed
85
+ .map((key) => {
86
+ return itemMapping[key];
87
+ })
88
+ .flat());
89
+ if (maxEntriesNum > 0 && processedDataCount / maxEntriesNum > 0.5) {
90
+ return new n8n_workflow_1.NodeExecutionOutput(returnData, [
91
+ {
92
+ message: `Some duplicates may be not be removed since you're approaching the maximum history size (${maxEntriesNum} items). You can raise this limit using the ‘history size’ option.`,
93
+ location: 'outputPane',
94
+ },
95
+ ]);
96
+ }
97
+ else
98
+ return returnData;
99
+ }
100
+ else if (logic === 'removeItemsUpToStoredIncrementalKey') {
101
+ if (!['node', 'workflow'].includes(scope)) {
102
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The scope '${scope}' is not supported. Please select either "node" or "workflow".`);
103
+ }
104
+ let parsedIncrementalKey;
105
+ const itemMapping = {};
106
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
107
+ const incrementalKey = this.getNodeParameter('incrementalDedupeValue', itemIndex, '');
108
+ if (!incrementalKey?.toString()) {
109
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'The `Value to Dedupe` On is empty. Please provide a value.');
110
+ }
111
+ parsedIncrementalKey = Number(incrementalKey);
112
+ if (isNaN(parsedIncrementalKey)) {
113
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The value '${incrementalKey}' is not a number. Please provide a number.`);
114
+ }
115
+ if (itemMapping[parsedIncrementalKey]) {
116
+ itemMapping[parsedIncrementalKey].push(items[itemIndex]);
117
+ }
118
+ else {
119
+ itemMapping[parsedIncrementalKey] = [items[itemIndex]];
120
+ }
121
+ }
122
+ const itemsProcessed = await this.helpers.checkProcessedAndRecord(Object.keys(itemMapping), scope, { mode: 'latestIncrementalKey' });
123
+ returnData.push(itemsProcessed.new
124
+ .map((key) => {
125
+ return itemMapping[key];
126
+ })
127
+ .flat(), itemsProcessed.processed
128
+ .map((key) => {
129
+ return itemMapping[key];
130
+ })
131
+ .flat());
132
+ return returnData;
133
+ }
134
+ else if (logic === 'removeItemsUpToStoredDate') {
135
+ if (!['node', 'workflow'].includes(scope)) {
136
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The scope '${scope}' is not supported. Please select either "node" or "workflow".`);
137
+ }
138
+ let checkValue;
139
+ const itemMapping = {};
140
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
141
+ checkValue =
142
+ this.getNodeParameter('dateDedupeValue', itemIndex, '')?.toString() ?? '';
143
+ if (!checkValue) {
144
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'The `Value to Dedupe` On is empty. Please provide a value.');
145
+ }
146
+ try {
147
+ (0, n8n_workflow_1.tryToParseDateTime)(checkValue);
148
+ }
149
+ catch (error) {
150
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The value '${checkValue}' is not a valid date. Please provide a valid date.`);
151
+ }
152
+ if (itemMapping[checkValue]) {
153
+ itemMapping[checkValue].push(items[itemIndex]);
154
+ }
155
+ else {
156
+ itemMapping[checkValue] = [items[itemIndex]];
157
+ }
158
+ }
159
+ const itemsProcessed = await this.helpers.checkProcessedAndRecord(Object.keys(itemMapping), scope, { mode: 'latestDate' });
160
+ returnData.push(itemsProcessed.new
161
+ .map((key) => {
162
+ return itemMapping[key];
163
+ })
164
+ .flat(), itemsProcessed.processed
165
+ .map((key) => {
166
+ return itemMapping[key];
167
+ })
168
+ .flat());
169
+ return returnData;
170
+ }
171
+ else {
172
+ return [items];
173
+ }
174
+ }
175
+ case 'clearDeduplicationHistory': {
176
+ const mode = this.getNodeParameter('mode', 0);
177
+ if (mode === 'updateKeyValuesInDatabase') {
178
+ }
179
+ else if (mode === 'deleteKeyValuesFromDatabase') {
180
+ }
181
+ else if (mode === 'cleanDatabase') {
182
+ const scope = this.getNodeParameter('options.scope', 0, 'node');
183
+ await this.helpers.clearAllProcessedItems(scope, {
184
+ mode: 'entries',
185
+ });
186
+ }
187
+ return [items];
188
+ }
189
+ default: {
190
+ return [items];
191
+ }
192
+ }
193
+ }
194
+ catch (error) {
195
+ if (this.continueOnFail()) {
196
+ returnData.push([{ json: this.getInputData(0)[0].json, error }]);
197
+ }
198
+ else {
199
+ throw error;
200
+ }
201
+ }
202
+ return returnData;
203
+ }
204
+ }
205
+ exports.RemoveDuplicatesV2 = RemoveDuplicatesV2;
206
+ //# sourceMappingURL=RemoveDuplicatesV2.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemoveDuplicatesV2.node.js","sourceRoot":"","sources":["../../../../../nodes/Transform/RemoveDuplicates/v2/RemoveDuplicatesV2.node.ts"],"names":[],"mappings":";;;AAAA,+CAKsB;AAUtB,qFAA8E;AAC9E,oCAAqD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C,KAAK,EAAE;4BAChD,IAAI,EAAE,SAAS;yBACf,CAAC,CAAC;oBACJ,CAAC;oBAED,OAAO,CAAC,KAAK,CAAC,CAAC;gBAChB,CAAC;gBACD,OAAO,CAAC,CAAC,CAAC;oBACT,OAAO,CAAC,KAAK,CAAC,CAAC;gBAChB,CAAC;YACF,CAAC;QACF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC3B,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;YAClE,CAAC;iBAAM,CAAC;gBACP,MAAM,KAAK,CAAC;YACb,CAAC;QACF,CAAC;QACD,OAAO,UAAU,CAAC;IACnB,CAAC;CACD;AAzOD,gDAyOC"}
@@ -5,6 +5,7 @@ class WorkflowTrigger {
5
5
  constructor() {
6
6
  this.description = {
7
7
  displayName: 'Workflow Trigger',
8
+ hidden: true,
8
9
  name: 'workflowTrigger',
9
10
  icon: 'fa:network-wired',
10
11
  iconColor: 'orange-red',
@@ -21,6 +22,12 @@ class WorkflowTrigger {
21
22
  inputs: [],
22
23
  outputs: ["main"],
23
24
  properties: [
25
+ {
26
+ displayName: "This node is deprecated and would not be updated in the future. Please use 'n8n Trigger' node instead.",
27
+ name: 'oldVersionNotice',
28
+ type: 'notice',
29
+ default: '',
30
+ },
24
31
  {
25
32
  displayName: 'Events',
26
33
  name: 'events',
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowTrigger.node.js","sourceRoot":"","sources":["../../../nodes/WorkflowTrigger/WorkflowTrigger.node.ts"],"names":[],"mappings":";;;AAWA,MAAa,eAAe;IAA5B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,kBAAkB;YAC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AAe,CAAC;oBAC5B,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE;iBAClF,CAAC;aACF,CAAC,CAAC;QACJ,CAAC;QAED,MAAM,qBAAqB,GAAG,KAAK,IAAI,EAAE;YACxC,IAAI,CAAC,IAAI,CAAC;gBACT,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC;oBAC5B;wBACC,KAAK,EAAE,kBAAkB;wBACzB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;wBACnC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE;qBAClC;iBACD,CAAC;aACF,CAAC,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACN,qBAAqB;SACrB,CAAC;IACH,CAAC;CACD;AAlFD,0CAkFC"}
1
+ {"version":3,"file":"WorkflowTrigger.node.js","sourceRoot":"","sources":["../../../nodes/WorkflowTrigger/WorkflowTrigger.node.ts"],"names":[],"mappings":";;;AAWA,MAAa,eAAe;IAA5B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,kBAAkB;YAC/B,MAAM,EAAE,IAAI;YACZ,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,kBAAkB;YACxB,SAAS,EAAE,YAAY;YACvB,KAAK,EAAE,CAAC,SAAS,CAAC;YAClB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,+EAA+E;YAC5F,uBAAuB,EAAE,EAAE;YAC3B,mBAAmB,EAAE,IAAI;YACzB,iBAAiB,EAAE,0EAA0E;YAC7F,QAAQ,EAAE;gBACT,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,SAAS;aAChB;YACD,MAAM,EAAE,EAAE;YACV,OAAO,EAAE,QAAyB;YAClC,UAAU,EAAE;gBACX;oBACC,WAAW,EACV,wGAAwG;oBACzG,IAAI,EAAE,kBAAkB;oBACxB,I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AAC,eAAe,CAAC;oBAC5B;wBACC,KAAK,EAAE,kBAAkB;wBACzB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;wBACnC,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE;qBAClC;iBACD,CAAC;aACF,CAAC,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO;YACN,qBAAqB;SACrB,CAAC;IACH,CAAC;CACD;AA1FD,0CA0FC"}
@@ -103,6 +103,8 @@
103
103
  {"name":"gitlabOAuth2Api","extends":["oAuth2Api"],"displayName":"GitLab OAuth2 API","documentationUrl":"gitlab","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Gitlab Server","name":"server","type":"string","default":"https://gitlab.com"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"={{$self[\"server\"]}}/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"={{$self[\"server\"]}}/oauth/token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"api"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}],"supportedNodes":["n8n-nodes-base.gitlab","n8n-nodes-base.gitlabTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Gitlab/gitlab.svg"},
104
104
  {"name":"gitPassword","displayName":"Git","documentationUrl":"git","properties":[{"displayName":"Username","name":"username","type":"string","default":"","description":"The username to authenticate with"},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":"","description":"The password to use in combination with the user"}],"supportedNodes":["n8n-nodes-base.git"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Git/git.svg"},
105
105
  {"name":"gmailOAuth2","extends":["googleOAuth2Api"],"displayName":"Gmail OAuth2 API","documentationUrl":"google/oauth-single-service","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose"}],"supportedNodes":["n8n-nodes-base.gmail","n8n-nodes-base.gmailTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Gmail/gmail.svg"},
106
+ {"name":"gongApi","displayName":"Gong API","documentationUrl":"gong","properties":[{"displayName":"Base URL","name":"baseUrl","type":"string","default":"https://api.gong.io"},{"displayName":"Access Key","name":"accessKey","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Access Key Secret","name":"accessKeySecret","type":"string","default":"","typeOptions":{"password":true}}],"authenticate":{"type":"generic","properties":{"auth":{"username":"={{ $credentials.accessKey }}","password":"={{ $credentials.accessKeySecret }}"}}},"test":{"request":{"baseURL":"={{ $credentials.baseUrl.replace(new RegExp(\"/$\"), \"\") }}","url":"/v2/users"}},"supportedNodes":["n8n-nodes-base.gong"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Gong/gong.svg"},
107
+ {"name":"gongOAuth2Api","extends":["oAuth2Api"],"displayName":"Gong OAuth2 API","documentationUrl":"gong","properties":[{"displayName":"Base URL","name":"baseUrl","type":"string","default":"https://api.gong.io"},{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://app.gong.io/oauth2/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://app.gong.io/oauth2/generate-customer-token","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"api:calls:read:transcript api:provisioning:read api:workspaces:read api:meetings:user:delete api:crm:get-objects api:data-privacy:delete api:crm:schema api:flows:write api:crm:upload api:meetings:integration:status api:calls:read:extensive api:meetings:user:update api:integration-settings:write api:settings:scorecards:read api:stats:scorecards api:stats:interaction api:stats:user-actions api:crm:integration:delete api:calls:read:basic api:calls:read:media-url api:digital-interactions:write api:crm:integrations:read api:library:read api:data-privacy:read api:users:read api:logs:read api:calls:create api:meetings:user:create api:stats:user-actions:detailed api:settings:trackers:read api:crm:integration:register api:provisioning:read-write api:engagement-data:write api:permission-profile:read api:permission-profile:write api:flows:read api:crm-calls:manual-association:read"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}],"supportedNodes":["n8n-nodes-base.gong"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Gong/gong.svg"},
106
108
  {"name":"googleAdsOAuth2Api","extends":["googleOAuth2Api"],"displayName":"Google Ads OAuth2 API","documentationUrl":"google/oauth-single-service","properties":[{"displayName":"Developer Token","name":"developerToken","type":"string","typeOptions":{"password":true},"default":"","required":true},{"displayName":"Scope","name":"scope","type":"hidden","default":"https://www.googleapis.com/auth/adwords"}],"supportedNodes":["n8n-nodes-base.googleAds"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Ads/googleAds.svg"},
107
109
  {"name":"googleAnalyticsOAuth2","extends":["googleOAuth2Api"],"displayName":"Google Analytics OAuth2 API","documentationUrl":"google/oauth-single-service","properties":[{"displayName":"Scope","name":"scope","type":"hidden","default":"https://www.googleapis.com/auth/analytics https://www.googleapis.com/auth/analytics.readonly"}],"supportedNodes":["n8n-nodes-base.googleAnalytics"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Analytics/analytics.svg"},
108
110
  {"name":"googleApi","displayName":"Google Service Account API","documentationUrl":"google/service-account","properties":[{"displayName":"Service Account Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"The Google Service account similar to user-808@project.iam.gserviceaccount.com","required":true},{"displayName":"Private Key","name":"privateKey","type":"string","default":"","placeholder":"-----BEGIN PRIVATE KEY-----\nXIYEvQIBADANBg<...>0IhA7TMoGYPQc=\n-----END PRIVATE KEY-----\n","description":"Enter the private key located in the JSON file downloaded from Google Cloud Console","required":true,"typeOptions":{"password":true}},{"displayName":"Impersonate a User","name":"inpersonate","type":"boolean","default":false},{"displayName":"Email","name":"delegatedEmail","type":"string","default":"","displayOptions":{"show":{"inpersonate":[true]}},"description":"The email address of the user for which the application is requesting delegated access"},{"displayName":"Set up for use in HTTP Request node","name":"httpNode","type":"boolean","default":false},{"displayName":"When using the HTTP Request node, you must specify the scopes you want to send. In other nodes, they're added automatically","name":"httpWarning","type":"notice","default":"","displayOptions":{"show":{"httpNode":[true]}}},{"displayName":"Scope(s)","name":"scopes","type":"string","default":"","description":"You can find the scopes for services <a href=\"https://developers.google.com/identity/protocols/oauth2/scopes\" target=\"_blank\">here</a>","displayOptions":{"show":{"httpNode":[true]}}}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Google.svg","supportedNodes":["n8n-nodes-base.googleBigQuery","n8n-nodes-base.googleBooks","n8n-nodes-base.googleChat","n8n-nodes-base.googleDocs","n8n-nodes-base.googleDrive","n8n-nodes-base.googleDriveTrigger","n8n-nodes-base.googleFirebaseCloudFirestore","n8n-nodes-base.gmail","n8n-nodes-base.gmailTrigger","n8n-nodes-base.googleSheets","n8n-nodes-base.googleSlides","n8n-nodes-base.googleTranslate"],"authenticate":{}},