n8n/packages/nodes-base/nodes/Onfleet/Onfleet.svg
Ricardo Espinoza 401e626a64
Add Onfleet Node & Trigger (#2845)
* feat: added Onfleet nodes

Added Onfleet nodes for working with different endpoints like:
organizations, administrators, workers, hubs, teams, destinations, recipients,
containers and webhooks.

* style: fixed typos, arrays uniformity, unnecesary files

* refactor: changed add to create in comments and labels

* feat: added name field to onfleet trigger node

* feat: added team endpoints to onfleet node

Added team auto-dispatch and driver time estimate endpoints to Onfleet
node

* style: remove dots in descriptions and fixed some typos

* feat: added fixes according to comments made on the n8n PR

added new fixed collections, refactored the code according to comments
made on the n8n pr

* fix: fixed recipient and destination cretion

* docs: added docstrings for format some functions

added docstrings for new functions addded for formatting the destination
and recipient objects

* style: formatting the code according to n8n nodelinter

* fix: typos and better descriptions

* [INT-510] n8n: Address additional problems from n8n code review (#5)

* Fixed some error creating a worker, moving some fields under additional fields collection

* Fixed returned values for delete operations, making some changes for style code

* Added operational error since required property is not working for dateTime fields

*  Improvements to #2593

*  Improvements

* 🐛 Fix issue with wrong interface

*  Improvements

*  Improvements

*  Minor improvement

Co-authored-by: Santiago Botero Ruiz <[email protected]>
Co-authored-by: ilsemaj <[email protected]>
Co-authored-by: Santiago Botero Ruiz <[email protected]>
Co-authored-by: Jan Oberhauser <[email protected]>
2022-02-28 09:48:17 +01:00

15 lines
5.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg width="60px" height="60px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Group 2</title>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="WIP-Illustrations" transform="translate(-1086.000000, -1490.000000)">
<g id="Group-2" transform="translate(1086.000000, 1490.000000)">
<rect id="Rectangle" fill="#AA81F3" x="0" y="0" width="60" height="60"></rect>
<g id="Icon_white" transform="translate(13.000000, 22.000000)" fill="#FFFFFF">
<path d="M19.5506423,10.0656088 C20.0318974,10.5200534 20.7568258,11.1320386 21.6949686,11.8773277 C22.6331113,12.5983796 23.8636622,13.422439 25.3378865,14.0647206 C26.0871823,14.3555651 26.8913047,14.5979355 27.7502535,14.6221726 C28.1766821,14.6221726 28.6092024,14.6221726 29.0112636,14.4888688 C29.2244779,14.4646318 29.4133248,14.3555651 29.6021717,14.2767947 C29.7910186,14.1677281 29.9798655,14.0889577 30.1626206,13.9556539 C30.5098552,13.7132835 30.8570899,13.422439 31.1251307,13.0528242 C31.3931715,12.6832093 31.6368449,12.2832981 31.8500592,11.8288536 C32.227753,10.9260238 32.4653346,9.90806807 32.5201611,8.84769752 C32.5749876,7.78126771 32.4409673,6.69060085 32.0937326,5.64840808 C31.746498,4.63651161 31.186049,3.70338553 30.3819267,3.11563728 C29.6082635,2.55818533 28.6152943,2.34611122 27.5431311,2.50365199 C27.0070496,2.61271868 26.4466006,2.7460224 25.9105191,2.98233355 C25.6424783,3.09140024 25.3744375,3.22470397 25.0820294,3.35800769 C24.8139886,3.51554846 24.5459478,3.64885219 24.277907,3.81245221 C23.2057439,4.45473381 22.1640399,5.2484969 21.1710707,6.1028526 C20.6898156,6.55729713 20.1781014,6.98144535 19.7273056,7.46012691 C19.4836321,7.70249732 19.2460505,7.91457143 19.0328362,8.18117888 L18.3079078,8.9264679 C17.369765,9.91412733 16.2976019,10.9502608 15.2254388,11.8591499 C14.1289083,12.792276 12.9775513,13.6466317 11.6921739,14.3919207 C10.4311638,15.1129727 9.01176605,15.7249579 7.43398053,15.9370321 C6.62985818,16.0460987 5.80136849,16.0158024 4.99724614,15.8279654 C4.19312379,15.6401283 3.41946062,15.2705134 2.773726,14.7615356 C2.12799139,14.2525577 1.622369,13.6405724 1.24467517,13.0043501 C0.866981339,12.3620685 0.574573211,11.7016091 0.385726296,11.0047942 C0.19687938,10.3382755 0.0933181685,9.64751988 0.0384916447,8.98100124 C-0.0163348792,8.31448261 -0.0163348792,7.64796398 0.0628589886,7.01174165 C0.190787544,5.72111921 0.538022195,4.49714863 1.12283845,3.37618547 C1.41524658,2.81873353 1.76857306,2.30975566 2.19500158,1.85531114 C2.59706276,1.40086662 3.0783178,1.00095544 3.61439937,0.710110945 C4.15048094,0.419266451 4.71092985,0.201133081 5.27747059,0.122362697 C5.8379195,0.0193552722 6.39836841,0.0496515736 6.93444998,0.098125656 C7.97615393,0.231429382 8.88992933,0.60710352 9.6635925,1.00095544 C11.2170107,1.85531114 12.3440003,2.83691131 13.2273166,3.69126701 C14.0862654,4.54562271 14.7015409,5.29091173 15.1279694,5.79383033 L15.7432448,6.56335639 L15.0183163,5.89683775 C14.5370613,5.44239323 13.8121328,4.83040794 12.8739901,4.10935597 C11.9358473,3.38830399 10.7052965,2.56424459 9.23107215,1.921963 C8.48177632,1.63111851 7.67765397,1.3887481 6.8187051,1.36451106 C5.9902154,1.34027402 5.13126653,1.52205182 4.43679723,2.03102969 C4.08956258,2.2734001 3.74232792,2.56424459 3.47428714,2.93385947 C3.20624636,3.30347435 2.93820557,3.70338553 2.74935866,4.15783005 C2.34729748,5.06065983 2.10362404,6.1028526 2.0792567,7.16928242 C2.02443018,8.23571223 2.15845057,9.32637908 2.50568522,10.3685718 C2.85291987,11.3804683 3.41336878,12.3135944 4.21749113,12.8710464 C4.9911543,13.4284983 5.98412357,13.6405724 7.0562867,13.4587946 C7.19030709,13.4587946 7.32432748,13.4042613 7.45834788,13.3800242 C7.59236827,13.3557872 7.72638866,13.3254909 7.86040905,13.2709575 L8.26247023,13.1376538 L8.6645314,12.980113 C8.79855179,12.9255797 8.93257218,12.8710464 9.06659258,12.792276 L9.46865375,12.6044389 C9.73669453,12.4468981 10.0047353,12.3135944 10.2727761,12.1499944 C11.3449392,11.5077128 12.3866432,10.7139497 13.3796125,9.85959399 C14.3725817,8.98100124 15.2802653,8.1024085 16.2732345,7.06021573 L16.998163,6.31492671 C17.2418365,6.04831926 17.5098773,5.80594885 17.7474589,5.5696377 C18.2591731,5.06065983 18.7891628,4.58197827 19.3252444,4.13359301 C20.4217749,3.20046693 21.5731319,2.34611122 22.8585092,1.60082221 C24.1195193,0.879770234 25.5389171,0.267784944 27.1167026,0.0557108339 C27.920825,-0.0533558513 28.7493146,0.00117749129 29.553437,0.18901456 C30.3575593,0.376851629 31.1312225,0.776762809 31.7525898,1.27968141 C32.3983244,1.78865928 32.8795794,2.40064457 33.2816406,3.0368669 C33.6593345,3.67914849 33.9517426,4.33960786 34.1405895,5.03642279 C34.3294364,5.70294143 34.4329976,6.3936971 34.4878241,7.06021573 C34.5426507,7.72673436 34.5426507,8.36295669 34.4634568,9.02947533 C34.3294364,10.3079792 33.9822018,11.5622461 33.4217528,12.652913 C33.1293447,13.2103649 32.7760182,13.7193428 32.3495897,14.1737873 C31.9475285,14.6282318 31.4662735,15.028143 30.9058246,15.3189875 C30.6377838,15.4765283 30.369743,15.585595 30.0773349,15.6946616 C29.7849268,15.773432 29.516886,15.8824987 29.218386,15.9067358 C28.6579371,16.0158024 28.0913964,15.9855061 27.5553148,15.9309728 C26.5136108,15.773432 25.5998354,15.3977579 24.8261723,14.9978467 C23.2727541,14.143491 22.1457644,13.1315945 21.2624482,12.2832981 C20.4034993,11.4289424 19.7882239,10.6836534 19.3617954,10.1807348 L18.74652,9.41120872 C18.8257138,9.3990902 19.5506423,10.0656088 19.5506423,10.0656088 Z" id="Path"></path>
</g>
</g>
</g>
</g>
</svg>