n8n-nodes-base 1.35.0 → 1.37.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 (92) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/credentials/icons/jwt.svg +112 -0
  3. package/dist/credentials/jwtAuth.credentials.d.ts +8 -0
  4. package/dist/credentials/jwtAuth.credentials.js +135 -0
  5. package/dist/credentials/jwtAuth.credentials.js.map +1 -0
  6. package/dist/known/credentials.json +15 -2
  7. package/dist/known/nodes.json +12 -0
  8. package/dist/methods/defined.json +3 -0
  9. package/dist/methods/referenced.json +3 -0
  10. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +10 -15
  11. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  12. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +16 -22
  13. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  14. package/dist/nodes/HttpRequest/GenericFunctions.d.ts +1 -0
  15. package/dist/nodes/HttpRequest/GenericFunctions.js +15 -0
  16. package/dist/nodes/HttpRequest/GenericFunctions.js.map +1 -1
  17. package/dist/nodes/HttpRequest/HttpRequest.node.js +2 -1
  18. package/dist/nodes/HttpRequest/HttpRequest.node.js.map +1 -1
  19. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +1 -1
  20. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  21. package/dist/nodes/Jwt/Jwt.node.d.ts +5 -0
  22. package/dist/nodes/Jwt/Jwt.node.js +410 -0
  23. package/dist/nodes/Jwt/Jwt.node.js.map +1 -0
  24. package/dist/nodes/Jwt/Jwt.node.json +19 -0
  25. package/dist/nodes/Jwt/jwt.svg +112 -0
  26. package/dist/nodes/Jwt/test/jwt.workflow.json +412 -0
  27. package/dist/nodes/MySql/MySql.node.js +2 -1
  28. package/dist/nodes/MySql/MySql.node.js.map +1 -1
  29. package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js +6 -0
  30. package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js.map +1 -1
  31. package/dist/nodes/MySql/v2/actions/versionDescription.js +1 -1
  32. package/dist/nodes/MySql/v2/actions/versionDescription.js.map +1 -1
  33. package/dist/nodes/Postgres/PostgresTrigger.functions.js +8 -0
  34. package/dist/nodes/Postgres/PostgresTrigger.functions.js.map +1 -1
  35. package/dist/nodes/Postgres/PostgresTrigger.node.js +26 -0
  36. package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
  37. package/dist/nodes/Postgres/v2/actions/common.descriptions.js +10 -0
  38. package/dist/nodes/Postgres/v2/actions/common.descriptions.js.map +1 -1
  39. package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.d.ts +3 -3
  40. package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js.map +1 -1
  41. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.d.ts +3 -3
  42. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
  43. package/dist/nodes/Postgres/v2/actions/database/insert.operation.d.ts +3 -3
  44. package/dist/nodes/Postgres/v2/actions/database/insert.operation.js.map +1 -1
  45. package/dist/nodes/Postgres/v2/actions/database/select.operation.d.ts +3 -3
  46. package/dist/nodes/Postgres/v2/actions/database/select.operation.js.map +1 -1
  47. package/dist/nodes/Postgres/v2/actions/database/update.operation.d.ts +3 -3
  48. package/dist/nodes/Postgres/v2/actions/database/update.operation.js +1 -1
  49. package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
  50. package/dist/nodes/Postgres/v2/actions/database/upsert.operation.d.ts +3 -3
  51. package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
  52. package/dist/nodes/Postgres/v2/actions/router.js +1 -1
  53. package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
  54. package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts +31 -0
  55. package/dist/nodes/Postgres/v2/methods/credentialTest.js.map +1 -1
  56. package/dist/nodes/Postgres/v2/methods/listSearch.js +2 -2
  57. package/dist/nodes/Postgres/v2/methods/listSearch.js.map +1 -1
  58. package/dist/nodes/Postgres/v2/methods/loadOptions.js +1 -1
  59. package/dist/nodes/Postgres/v2/methods/loadOptions.js.map +1 -1
  60. package/dist/nodes/Postgres/v2/methods/resourceMapping.js +1 -1
  61. package/dist/nodes/Postgres/v2/methods/resourceMapping.js.map +1 -1
  62. package/dist/nodes/Postgres/v2/transport/index.d.ts +2 -3
  63. package/dist/nodes/Postgres/v2/transport/index.js +4 -0
  64. package/dist/nodes/Postgres/v2/transport/index.js.map +1 -1
  65. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +76 -3
  66. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
  67. package/dist/nodes/Salesforce/GenericFunctions.d.ts +3 -3
  68. package/dist/nodes/Salesforce/GenericFunctions.js.map +1 -1
  69. package/dist/nodes/Salesforce/SalesforceTrigger.node.d.ts +10 -0
  70. package/dist/nodes/Salesforce/SalesforceTrigger.node.js +258 -0
  71. package/dist/nodes/Salesforce/SalesforceTrigger.node.js.map +1 -0
  72. package/dist/nodes/Twilio/GenericFunctions.d.ts +2 -1
  73. package/dist/nodes/Twilio/GenericFunctions.js +14 -1
  74. package/dist/nodes/Twilio/GenericFunctions.js.map +1 -1
  75. package/dist/nodes/Twilio/TwilioTrigger.node.d.ts +12 -0
  76. package/dist/nodes/Twilio/TwilioTrigger.node.js +148 -0
  77. package/dist/nodes/Twilio/TwilioTrigger.node.js.map +1 -0
  78. package/dist/nodes/Twilio/TwilioTrigger.node.json +19 -0
  79. package/dist/nodes/Webhook/Webhook.node.js +83 -17
  80. package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
  81. package/dist/nodes/Webhook/description.d.ts +2 -0
  82. package/dist/nodes/Webhook/description.js +100 -3
  83. package/dist/nodes/Webhook/description.js.map +1 -1
  84. package/dist/nodes/Webhook/utils.d.ts +29 -0
  85. package/dist/nodes/Webhook/utils.js +95 -0
  86. package/dist/nodes/Webhook/utils.js.map +1 -0
  87. package/dist/types/credentials.json +1 -0
  88. package/dist/types/nodes.json +15 -12
  89. package/dist/utils/utilities.d.ts +1 -1
  90. package/dist/utils/utilities.js +5 -2
  91. package/dist/utils/utilities.js.map +1 -1
  92. package/package.json +8 -5
@@ -0,0 +1,410 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Jwt = void 0;
7
+ const n8n_workflow_1 = require("n8n-workflow");
8
+ const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
9
+ const utilities_1 = require("../../utils/utilities");
10
+ const utils_1 = require("../Set/v2/helpers/utils");
11
+ const prettifyOperation = (operation) => {
12
+ if (operation === 'sign') {
13
+ return 'Sign a JWT';
14
+ }
15
+ if (operation === 'decode') {
16
+ return 'Decode a JWT';
17
+ }
18
+ if (operation === 'verify') {
19
+ return 'Verify a JWT';
20
+ }
21
+ return operation;
22
+ };
23
+ const getToken = (ctx, itemIndex = 0) => {
24
+ const token = ctx.getNodeParameter('token', itemIndex);
25
+ if (!token) {
26
+ throw new n8n_workflow_1.NodeOperationError(ctx.getNode(), 'The JWT token was not provided', {
27
+ itemIndex,
28
+ description: "Be sure to add a valid JWT token to the 'Token' parameter",
29
+ });
30
+ }
31
+ return token;
32
+ };
33
+ class Jwt {
34
+ constructor() {
35
+ this.description = {
36
+ displayName: 'JWT',
37
+ name: 'jwt',
38
+ icon: 'file:jwt.svg',
39
+ group: ['transform'],
40
+ version: 1,
41
+ description: 'JWT',
42
+ subtitle: `={{(${prettifyOperation})($parameter.operation)}}`,
43
+ defaults: {
44
+ name: 'JWT',
45
+ },
46
+ inputs: ['main'],
47
+ outputs: ['main'],
48
+ credentials: [
49
+ {
50
+ name: 'jwtAuth',
51
+ required: true,
52
+ },
53
+ ],
54
+ properties: [
55
+ {
56
+ displayName: 'Operation',
57
+ name: 'operation',
58
+ type: 'options',
59
+ noDataExpression: true,
60
+ options: [
61
+ {
62
+ name: 'Decode',
63
+ value: 'decode',
64
+ action: 'Decode a JWT',
65
+ },
66
+ {
67
+ name: 'Sign',
68
+ value: 'sign',
69
+ action: 'Sign a JWT',
70
+ },
71
+ {
72
+ name: 'Verify',
73
+ value: 'verify',
74
+ action: 'Verify a JWT',
75
+ },
76
+ ],
77
+ default: 'sign',
78
+ },
79
+ {
80
+ displayName: 'Use JSON to Build Payload',
81
+ name: 'useJson',
82
+ type: 'boolean',
83
+ default: false,
84
+ description: 'Whether to use JSON to build the claims',
85
+ displayOptions: {
86
+ show: {
87
+ operation: ['sign'],
88
+ },
89
+ },
90
+ },
91
+ {
92
+ displayName: 'Payload Claims',
93
+ name: 'claims',
94
+ type: 'collection',
95
+ placeholder: 'Add Claim',
96
+ default: {},
97
+ options: [
98
+ {
99
+ displayName: 'Audience',
100
+ name: 'audience',
101
+ type: 'string',
102
+ placeholder: 'e.g. https://example.com',
103
+ default: '',
104
+ description: 'Identifies the recipients that the JWT is intended for',
105
+ },
106
+ {
107
+ displayName: 'Expires In',
108
+ name: 'expiresIn',
109
+ type: 'number',
110
+ placeholder: 'e.g. 3600',
111
+ default: 3600,
112
+ description: 'The lifetime of the token in seconds',
113
+ typeOptions: {
114
+ minValue: 0,
115
+ },
116
+ },
117
+ {
118
+ displayName: 'Issuer',
119
+ name: 'issuer',
120
+ type: 'string',
121
+ placeholder: 'e.g. https://example.com',
122
+ default: '',
123
+ description: 'Identifies the principal that issued the JWT',
124
+ },
125
+ {
126
+ displayName: 'JWT ID',
127
+ name: 'jwtid',
128
+ type: 'string',
129
+ placeholder: 'e.g. 123456',
130
+ default: '',
131
+ description: 'Unique identifier for the JWT',
132
+ },
133
+ {
134
+ displayName: 'Not Before',
135
+ name: 'notBefore',
136
+ type: 'number',
137
+ default: 0,
138
+ description: 'The time before which the JWT must not be accepted for processing',
139
+ typeOptions: {
140
+ minValue: 0,
141
+ },
142
+ },
143
+ {
144
+ displayName: 'Subject',
145
+ name: 'subject',
146
+ type: 'string',
147
+ default: '',
148
+ description: 'Identifies the principal that is the subject of the JWT',
149
+ },
150
+ ],
151
+ displayOptions: {
152
+ show: {
153
+ operation: ['sign'],
154
+ useJson: [false],
155
+ },
156
+ },
157
+ },
158
+ {
159
+ displayName: 'Payload Claims (JSON)',
160
+ name: 'claimsJson',
161
+ type: 'json',
162
+ description: 'Claims to add to the token in JSON format',
163
+ default: '{\n "my_field_1": "value 1",\n "my_field_2": "value 2"\n}\n',
164
+ validateType: 'object',
165
+ ignoreValidationDuringExecution: true,
166
+ typeOptions: {
167
+ rows: 5,
168
+ },
169
+ displayOptions: {
170
+ show: {
171
+ operation: ['sign'],
172
+ useJson: [true],
173
+ },
174
+ },
175
+ },
176
+ {
177
+ displayName: 'Token',
178
+ name: 'token',
179
+ type: 'string',
180
+ typeOptions: { password: true },
181
+ required: true,
182
+ validateType: 'jwt',
183
+ default: '',
184
+ description: 'The token to verify or decode',
185
+ displayOptions: {
186
+ show: {
187
+ operation: ['verify', 'decode'],
188
+ },
189
+ },
190
+ },
191
+ {
192
+ displayName: 'Options',
193
+ name: 'options',
194
+ type: 'collection',
195
+ placeholder: 'Add Option',
196
+ default: {},
197
+ options: [
198
+ {
199
+ displayName: 'Return Additional Info',
200
+ name: 'complete',
201
+ type: 'boolean',
202
+ default: false,
203
+ description: 'Whether to return the complete decoded token with information about the header and signature or just the payload',
204
+ displayOptions: {
205
+ show: {
206
+ '/operation': ['verify', 'decode'],
207
+ },
208
+ },
209
+ },
210
+ {
211
+ displayName: 'Ignore Expiration',
212
+ name: 'ignoreExpiration',
213
+ type: 'boolean',
214
+ default: false,
215
+ description: 'Whether to ignore the expiration of the token',
216
+ displayOptions: {
217
+ show: {
218
+ '/operation': ['verify'],
219
+ },
220
+ },
221
+ },
222
+ {
223
+ displayName: 'Ignore Not Before Claim',
224
+ name: 'ignoreNotBefore',
225
+ type: 'boolean',
226
+ default: false,
227
+ description: 'Whether to ignore the not before claim of the token',
228
+ displayOptions: {
229
+ show: {
230
+ '/operation': ['verify'],
231
+ },
232
+ },
233
+ },
234
+ {
235
+ displayName: 'Clock Tolerance',
236
+ name: 'clockTolerance',
237
+ type: 'number',
238
+ default: 0,
239
+ description: 'Number of seconds to tolerate when checking the nbf and exp claims, to deal with small clock differences among different servers',
240
+ typeOptions: {
241
+ minValue: 0,
242
+ },
243
+ displayOptions: {
244
+ show: {
245
+ '/operation': ['verify'],
246
+ },
247
+ },
248
+ },
249
+ {
250
+ displayName: 'Override Algorithm',
251
+ name: 'algorithm',
252
+ type: 'options',
253
+ options: [
254
+ {
255
+ name: 'ES256',
256
+ value: 'ES256',
257
+ },
258
+ {
259
+ name: 'ES384',
260
+ value: 'ES384',
261
+ },
262
+ {
263
+ name: 'ES512',
264
+ value: 'ES512',
265
+ },
266
+ {
267
+ name: 'HS256',
268
+ value: 'HS256',
269
+ },
270
+ {
271
+ name: 'HS384',
272
+ value: 'HS384',
273
+ },
274
+ {
275
+ name: 'HS512',
276
+ value: 'HS512',
277
+ },
278
+ {
279
+ name: 'PS256',
280
+ value: 'PS256',
281
+ },
282
+ {
283
+ name: 'PS384',
284
+ value: 'PS384',
285
+ },
286
+ {
287
+ name: 'PS512',
288
+ value: 'PS512',
289
+ },
290
+ {
291
+ name: 'RS256',
292
+ value: 'RS256',
293
+ },
294
+ {
295
+ name: 'RS384',
296
+ value: 'RS384',
297
+ },
298
+ {
299
+ name: 'RS512',
300
+ value: 'RS512',
301
+ },
302
+ ],
303
+ default: 'HS256',
304
+ description: 'The algorithm to use for signing or verifying the token, overrides algorithm in credentials',
305
+ displayOptions: {
306
+ show: {
307
+ '/operation': ['sign', 'verify'],
308
+ },
309
+ },
310
+ },
311
+ ],
312
+ },
313
+ ],
314
+ };
315
+ }
316
+ async execute() {
317
+ var _a, _b;
318
+ const items = this.getInputData();
319
+ const returnData = [];
320
+ const operation = this.getNodeParameter('operation', 0);
321
+ const credentials = (await this.getCredentials('jwtAuth'));
322
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
323
+ const options = this.getNodeParameter('options', itemIndex, {});
324
+ try {
325
+ if (operation === 'sign') {
326
+ const useJson = this.getNodeParameter('useJson', itemIndex);
327
+ let payload = {};
328
+ if (useJson) {
329
+ payload = (0, utils_1.parseJsonParameter)(this.getNodeParameter('claimsJson', itemIndex), this.getNode(), itemIndex);
330
+ }
331
+ else {
332
+ payload = this.getNodeParameter('claims', itemIndex);
333
+ }
334
+ let secretOrPrivateKey;
335
+ if (credentials.keyType === 'passphrase') {
336
+ secretOrPrivateKey = credentials.secret;
337
+ }
338
+ else {
339
+ secretOrPrivateKey = (0, utilities_1.formatPrivateKey)(credentials.privateKey);
340
+ }
341
+ const token = jsonwebtoken_1.default.sign(payload, secretOrPrivateKey, {
342
+ algorithm: (_a = options.algorithm) !== null && _a !== void 0 ? _a : credentials.algorithm,
343
+ });
344
+ returnData.push({
345
+ json: { token },
346
+ pairedItem: itemIndex,
347
+ });
348
+ }
349
+ if (operation === 'verify') {
350
+ const token = getToken(this, itemIndex);
351
+ let secretOrPublicKey;
352
+ if (credentials.keyType === 'passphrase') {
353
+ secretOrPublicKey = credentials.secret;
354
+ }
355
+ else {
356
+ secretOrPublicKey = (0, utilities_1.formatPrivateKey)(credentials.publicKey, true);
357
+ }
358
+ const { ignoreExpiration, ignoreNotBefore, clockTolerance, complete } = options;
359
+ const data = jsonwebtoken_1.default.verify(token, secretOrPublicKey, {
360
+ algorithms: [(_b = options.algorithm) !== null && _b !== void 0 ? _b : credentials.algorithm],
361
+ ignoreExpiration,
362
+ ignoreNotBefore,
363
+ clockTolerance,
364
+ complete,
365
+ });
366
+ const json = options.complete && data ? data : { payload: data };
367
+ returnData.push({
368
+ json,
369
+ pairedItem: itemIndex,
370
+ });
371
+ }
372
+ if (operation === 'decode') {
373
+ const token = getToken(this, itemIndex);
374
+ const data = jsonwebtoken_1.default.decode(token, { complete: options.complete });
375
+ const json = options.complete && data ? data : { payload: data };
376
+ returnData.push({
377
+ json,
378
+ pairedItem: itemIndex,
379
+ });
380
+ }
381
+ }
382
+ catch (error) {
383
+ if (error.message === 'invalid signature') {
384
+ error = new n8n_workflow_1.NodeOperationError(this.getNode(), "The JWT token can't be verified", {
385
+ itemIndex,
386
+ description: 'Be sure that the provided JWT token is correctly encoded and matches the selected credentials',
387
+ });
388
+ }
389
+ if (this.continueOnFail()) {
390
+ returnData.push({
391
+ json: this.getInputData(itemIndex)[0].json,
392
+ error,
393
+ pairedItem: itemIndex,
394
+ });
395
+ continue;
396
+ }
397
+ if (error.context) {
398
+ error.context.itemIndex = itemIndex;
399
+ throw error;
400
+ }
401
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
402
+ itemIndex,
403
+ });
404
+ }
405
+ }
406
+ return [returnData];
407
+ }
408
+ }
409
+ exports.Jwt = Jwt;
410
+ //# sourceMappingURL=Jwt.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Jwt.node.js","sourceRoot":"","sources":["../../../nodes/Jwt/Jwt.node.ts"],"names":[],"mappings":";;;;;;AAOA,+CAAkD;AAElD,gEAA+B;AAE/B,qDAAyD;AACzD,mDAA6D;AAE7D,MAAM,iBAAiB,GAAG,CAAC,SAAiB,EAAE,EAAE;IAC/C,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;QAC1B,OAAO,YAAY,CAAC;IACrB,CAAC;IAED,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAC5B,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,GAAsB,EAAE,SAAS,GAAG,CAAC,EAAE,EAAE;IAC1D,MAAM,KAAK,GAAG,GAAG,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C,OAAO,EAAE,EAAE,iCAAiC,EAAE;wBACjF,SAAS;wBACT,WAAW,EACV,+FAA+F;qBAChG,CAAC,CAAC;gBACJ,CAAC;gBACD,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;wBAC1C,KAAK;wBACL,UAAU,EAAE,SAAS;qBACrB,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;oBACnB,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;oBACpC,MAAM,KAAK,CAAC;gBACb,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;oBACnD,SAAS;iBACT,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA7ZD,kBA6ZC"}
@@ -0,0 +1,19 @@
1
+ {
2
+ "node": "n8n-nodes-base.jwt",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Development"],
6
+ "alias": ["Token", "Key", "JSON", "Payload", "Sign", "Verify", "Decode"],
7
+ "resources": {
8
+ "credentialDocumentation": [
9
+ {
10
+ "url": "https://docs.n8n.io/credentials/jwt"
11
+ }
12
+ ],
13
+ "primaryDocumentation": [
14
+ {
15
+ "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.jwt/"
16
+ }
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,112 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ width="200px"
4
+ height="200px"
5
+ viewBox="0 0 200 200"
6
+ version="1.1"
7
+ id="svg10"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlns:svg="http://www.w3.org/2000/svg"
10
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
11
+ xmlns:cc="http://creativecommons.org/ns#"
12
+ xmlns:dc="http://purl.org/dc/elements/1.1/">
13
+ <!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
14
+ <title
15
+ id="title1">Group</title>
16
+ <desc
17
+ id="desc1">Created with Sketch.</desc>
18
+ <defs
19
+ id="defs1">
20
+ <filter
21
+ style="color-interpolation-filters:sRGB"
22
+ id="filter11"
23
+ x="-0.18346753"
24
+ y="-0.076523014"
25
+ width="1.3669351"
26
+ height="1.153046">
27
+ <feGaussianBlur
28
+ stdDeviation="1.2230926"
29
+ id="feGaussianBlur11" />
30
+ </filter>
31
+ <filter
32
+ style="color-interpolation-filters:sRGB"
33
+ id="filter12"
34
+ x="-0.18346753"
35
+ y="-0.076523014"
36
+ width="1.3669351"
37
+ height="1.153046">
38
+ <feGaussianBlur
39
+ stdDeviation="1.2230926"
40
+ id="feGaussianBlur12" />
41
+ </filter>
42
+ </defs>
43
+ <g
44
+ id="layer1" />
45
+ <g
46
+ transform="translate(57.626456,48.948311)"
47
+ id="Shape-6">
48
+ <g
49
+ id="g12"
50
+ transform="matrix(1.8791546,0,0,1.8791546,-51.584186,-42.862227)">
51
+ <path
52
+ d="M 42.223544,27.435493 V -0.303311 H 58.223226 V 27.435493 L 50.223385,38.05668 Z"
53
+ fill="#ffffff"
54
+ id="path11"
55
+ style="fill:#ececec;stroke-width:1.04876;filter:url(#filter12)" />
56
+ <path
57
+ d="M 57.5,26.9 V 0 h -15 V 26.9 L 50,37.2 Z"
58
+ fill="#ffffff"
59
+ id="path1-7" />
60
+ <path
61
+ d="M 42.223544,72.517876 V 100.25668 H 58.223226 V 72.517876 L 50.223385,61.896689 Z"
62
+ fill="#ffffff"
63
+ id="path10"
64
+ style="fill:#ececec;stroke-width:1.04876;filter:url(#filter11)" />
65
+ <path
66
+ d="m 42.623319,73.156936 v 26.900004 h 15 V 73.156936 l -7.5,-10.3 z"
67
+ fill="#ffffff"
68
+ id="path2-5" />
69
+ <path
70
+ d="M 57.5,73.1 73.3,94.9 85.5,86 69.6,64.3 57.5,60.3 Z"
71
+ fill="#00f2e6"
72
+ id="path3-3" />
73
+ <path
74
+ d="M 42.5,26.9 26.7,5.1 14.5,14 l 15.9,21.7 12.1,4 z"
75
+ fill="#00f2e6"
76
+ id="path4-5" />
77
+ <path
78
+ d="M 30.4,35.7 4.8,27.4 0.1,41.7 25.7,50 37.9,46.1 Z"
79
+ fill="#00b9f1"
80
+ id="path5-6" />
81
+ <path
82
+ d="M 62.1,53.9 69.6,64.3 95.2,72.6 99.9,58.3 74.3,50 Z"
83
+ fill="#00b9f1"
84
+ id="path6-2" />
85
+ <path
86
+ d="M 74.3,50 99.9,41.7 95.2,27.4 69.6,35.7 62.1,46.1 Z"
87
+ fill="#d63aff"
88
+ id="path7-9" />
89
+ <path
90
+ d="M 25.7,50 0.1,58.3 4.8,72.6 30.4,64.3 37.9,53.9 Z"
91
+ fill="#d63aff"
92
+ id="path8-1" />
93
+ <path
94
+ d="M 30.4,64.3 14.5,86 26.7,94.9 42.5,73.1 V 60.3 Z"
95
+ fill="#fb015b"
96
+ id="path9-2" />
97
+ <path
98
+ d="M 69.6,35.7 85.5,14 73.3,5.1 57.5,26.9 v 12.8 z"
99
+ fill="#fb015b"
100
+ id="path10-7" />
101
+ </g>
102
+ </g>
103
+ <metadata
104
+ id="metadata12">
105
+ <rdf:RDF>
106
+ <cc:Work
107
+ rdf:about="">
108
+ <dc:title>Group</dc:title>
109
+ </cc:Work>
110
+ </rdf:RDF>
111
+ </metadata>
112
+ </svg>