From dcd235ae0c577b7e7f6ac2a02d5ae025821a514f Mon Sep 17 00:00:00 2001 From: Dan Selman Date: Wed, 20 Jun 2018 10:41:07 +0100 Subject: [PATCH 1/4] Parse sample.txt and use it for sample instance Signed-off-by: Dan Selman --- build/acceptance-of-delivery@0.2.0.html | 45 +- .../archives/acceptance-of-delivery@0.2.0.cta | Bin 66660 -> 67042 bytes build/archives/copyright-license@0.2.0.cta | Bin 53613 -> 53995 bytes build/archives/demandforecast@0.1.0.cta | Bin 16911 -> 17293 bytes build/archives/helloworld@0.1.0.cta | Bin 15152 -> 15534 bytes build/archives/helloworldstate@0.1.0.cta | Bin 15902 -> 16284 bytes build/archives/installment-sale@0.1.0.cta | Bin 24545 -> 24927 bytes build/archives/ip-payment@0.1.0.cta | Bin 22834 -> 23216 bytes .../archives/latedeliveryandpenalty@0.1.0.cta | Bin 20721 -> 21103 bytes build/archives/perishable-goods@0.1.1.cta | Bin 54752 -> 55134 bytes build/archives/promissory-note@0.2.0.cta | Bin 54555 -> 54937 bytes build/archives/saft@0.3.0.cta | Bin 54481 -> 54863 bytes build/archives/safte@0.2.0.cta | Bin 54544 -> 54926 bytes .../archives/servicelevelagreement@0.1.0.cta | Bin 26197 -> 26579 bytes build/archives/supplyagreement@0.1.0.cta | Bin 56163 -> 56545 bytes build/archives/volumediscount@0.2.0.cta | Bin 21640 -> 22022 bytes build/copyright-license@0.2.0.html | 70 +- build/demandforecast@0.1.0.html | 43 +- build/helloworld@0.1.0.html | 33 +- build/helloworldstate@0.1.0.html | 33 +- build/installment-sale@0.1.0.html | 58 +- build/ip-payment@0.1.0.html | 55 +- build/latedeliveryandpenalty@0.1.0.html | 51 +- build/perishable-goods@0.1.1.html | 73 +- build/promissory-note@0.2.0.html | 68 +- build/saft@0.3.0.html | 90 +- build/safte@0.2.0.html | 90 +- build/servicelevelagreement@0.1.0.html | 54 +- build/supplyagreement@0.1.0.html | 116 +- build/template-library.json | 2 +- build/volumediscount@0.2.0.html | 44 +- package-lock.json | 4501 ++++++++++++++++- package.json | 25 +- run.js | 69 +- src/acceptance-of-delivery/sample.txt | 2 +- src/fragile-goods/lib/logic.js | 4 + views/developers.njk | 10 +- views/page.njk | 3 + views/template.njk | 2 +- 39 files changed, 4760 insertions(+), 781 deletions(-) diff --git a/build/acceptance-of-delivery@0.2.0.html b/build/acceptance-of-delivery@0.2.0.html index b5961ffd..54607d58 100644 --- a/build/acceptance-of-delivery@0.2.0.html +++ b/build/acceptance-of-delivery@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,10 +90,10 @@

Acceptance of Delivery

Sample

-
+                
 Acceptance of Delivery. "Party A" will be deemed to have completed its delivery obligations if in "Party B"'s opinion, the "Widgets" satisfies the Acceptance Criteria, and "Party B" notifies "Party A" in writing that it is accepting the "Widgets".
 
-Inspection and Notice. "Party A" will have 10 Business Days' to inspect and evaluate the "Widgets" on the delivery date before notifying "Party A" that it is either accepting or rejecting the "Widgets".
+Inspection and Notice. "Party B" will have 10 Business Days' to inspect and evaluate the "Widgets" on the delivery date before notifying "Party A" that it is either accepting or rejecting the "Widgets".
 
 Acceptance Criteria. The "Acceptance Criteria" are the specifications the "Widgets" must meet for the "Party A" to comply with its requirements and obligations under this agreement, detailed in "Attachment X", attached to this agreement.
                 
@@ -121,18 +124,18 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.acceptanceofdelivery.AcceptanceOfDeliveryClause",
-    "shipper": "resource:org.accordproject.organization.Organization#1429",
-    "receiver": "resource:org.accordproject.organization.Organization#8011",
-    "deliverable": "Amet non eu labore.",
-    "businessDays": 2275702977,
-    "attachment": "Non tempor.",
-    "clauseId": "51040970-6b68-11e8-9721-29834758953f"
+    "clauseId": "f68da431-7c5c-4fa9-88ec-d7656ab1b00b",
+    "shipper": "Party A",
+    "receiver": "Party B",
+    "deliverable": "Widgets",
+    "businessDays": 10,
+    "attachment": "Attachment X"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -148,12 +151,12 @@

Request Types

org.accordproject.acceptanceofdelivery.InspectDeliverable -
{
+        
{
     "$class": "org.accordproject.acceptanceofdelivery.InspectDeliverable",
-    "deliverableReceivedAt": "2018-06-08T22:07:21.486Z",
+    "deliverableReceivedAt": "2018-06-20T09:37:57.503Z",
     "inspectionPassed": false,
-    "transactionId": "5104f3d0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:21.486Z"
+    "transactionId": "9d5ac8f0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:57.503Z"
 }
@@ -172,13 +175,13 @@

Response Types

org.accordproject.acceptanceofdelivery.InspectionResponse -
{
+        
{
     "$class": "org.accordproject.acceptanceofdelivery.InspectionResponse",
     "status": "PASSED_TESTING",
-    "shipper": "resource:org.accordproject.organization.Organization#8112",
-    "receiver": "resource:org.accordproject.organization.Organization#3506",
-    "transactionId": "51051ae0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:21.486Z"
+    "shipper": "resource:org.accordproject.organization.Organization#5651",
+    "receiver": "resource:org.accordproject.organization.Organization#0302",
+    "transactionId": "9d5b1710-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:57.506Z"
 }
diff --git a/build/archives/acceptance-of-delivery@0.2.0.cta b/build/archives/acceptance-of-delivery@0.2.0.cta index 3e203b008c2ec44827e578de2675c0fce604d2bc..762bbaaec4a8f0fef18799523da06731873a9c6d 100644 GIT binary patch delta 809 zcmaFT!Sbk^g*U*PnT3l11orq`*~qKM$PA<>+c7Hh0cjsm`>OsxI|hb8yUqEG9V{wo zW)>-lCdP)k=ExPnp(OH+$W6m;z- zXY)l)KJUcO0Toi3Y|Ae{`K1QWWEl~`$uG18xr0)R3-a@dQ;`&N!o)CCZ_W~Wp$&Fq zsNH-HkR$ibvG}$5kDV?fqtj+Bhb0gnTy#_dDcbzaQ3ourS=Bjt+(R-1c#`Pjfl z&kcS6F}fl25Gz>3HM$!jaycf*4eUmZ#qwYouf>aFzycrsn}g`7T8zeMAv`sk(FiQH zfKi(1hW*sNjN;ZX?`;CQ6@(!%1&%HtQRTqEP@I@skdvxcQc)7%&B!DIRRPpDou83W z+C0RWfgv|PB{ip5A5GpTv92xo7tj95PESmGr};$s*{V!9?XqbOL=kr^nsEe0&u$P6`NHb~GV4lH<^nNb+5@*_~tWabhE lhMdeK4FB&g=&P%W0fr(F^Po6y_mb%jER1q&@r;Z>aR4Iw_1XXc delta 819 zcmaFV&GMv!g*U*PnT3l11YT`8v5{Agkr_x&wqsQ01JXXp{%>9!v|(U4XtOz=v4cg$ zz&s_BH6%bvoxDO&*opkFSNl%J++_D z0WzxAXJ*{y9tT}UM#s&&9G5`sNpw~MDcaoTtOFL;2M{a%g&krAiyV&WhKK~l1-XIUx@?I&Smwl%#W5hp^gKpJb1-8CBcm}|h)jRU z$Y=zXlw)F)4)L&KU~beI6+a_;tf=( zHT@kkqc~V)Kw{6nDU1vZAZ&=DazZdrrSfFoP=Vg)&c-$PWjLP diff --git a/build/archives/copyright-license@0.2.0.cta b/build/archives/copyright-license@0.2.0.cta index 957fb25a1076e9d31dc664c5ea9b34200431d09e..956422289389d987da01dc253e49574bb46655dd 100644 GIT binary patch delta 766 zcmaF6i23zWX5IjAW)?065ZLQ;Wg_nnW*{}0gHf3eNc&uV`DVhcU`)sMkWykcw|g|a8{bBH+1sfvl12{w}T@IN&uY? z1p+|YIfH>AH$Npcr&u4|4BvCoOc@!Iv(Bk1fXsMdJ5yMWm4N|-K{^p&dgkQy=j6Z+ zy8zVlIB)X73(COIkq7HT2{(i$AnQ>fR3RuB#lebqGV=VZ1zG^YS}2O|RDu=Ht>Bz| z=R6PCve)OOnHJWAg|#opfQ7s+NHexfK5#*0a@PfjiG@n;pZVPw7(iG9#YCZIpjI=m jwqF;d#nVqRFyv$=VFZKDMQNtalaoC!%CTjf0~r7Sus{OX delta 818 zcmaF8l=2mtBLX$%ax`6;P6 z#XxtX8hiS@G}Dc=$uG{Ug551}L7Is@W3uiAIWX4`$PLb&yr5AT7@X{rHS>9N&MzHBgmxN8R#U?~8D41Rzhs7;w7_GV_ S&BT3T^6^V@Y_HCMlmh@RQUfyp diff --git a/build/archives/demandforecast@0.1.0.cta b/build/archives/demandforecast@0.1.0.cta index eca346f8c9e8e96d5149c6d5a9ff946847dca066..297d1c259386fe8c1b439f065e6a64b0919ed1b3 100644 GIT binary patch delta 638 zcmeBgVeD;Z{8mS#+b&eVs2q# zY>;G;sB3O%Vxeo2m}se+n3QIwYiN*YX<%fYXlasWuz3TEAqQ7bYGG+=afyPi-Q@p# zqLU5ygE^o=N|W8Vo! zFo3Wz!{kIq<;lv9LYqx=vKc3@(6!q9T9=OvtmBXIAy%-V2QB5n0*@_^uz&?t*_ngs zCw9hYK{Z*`-UuueWiKuBLz#gg$koxs*Hte!CBU1JNrV9&*pnyPOEU$jOkQU%0aky~ zURvsfDg#4qeoAUiu|B%$e?Zl|YLlfMR24vecqNuPk&Bsu0fYs>@dqPp)F&r6$bpS) zbdY8$(SmqTQ&_76D+2=vYay#+$TbBjv;bQ+$5C3` d$eMv6Co>7d@#h?+nL?~5zjl;klXL(X005$ZYWan(LYvC#UFICK@H`S{Nr9rWqJo7$zGhZQj6Q$g#PQZ=xv3q{*x*;UIc* zyvk%ou)tSUC9r^$nhscCv!}W#Ggzci>kpG4$XX*==P$e285ls=cyhm%_U4_sWsH*- z>5ERb*4G2kn@jbX*ua{qOb@Yw&9%3d2MZ)xA7KFtXgHXI=_ChZG|x<4>|kUCvM4&1 zcdaqd=OD}p3IaIDP-0*Ra&>g^b=AvF3GilQ5@CP`(qw)|X{JL;lXV;=EI_8fH31nw z7ej#nkd9DcV93o+NzEzNM>nGeXhyBd`ipES}5doDyOhO>P1pjqhy^@`Q z0fdbiCM#N*P7YO3-dv{c!8rN2hSg>+O+GfT4r%>EtYAYQn8&6<4L+#D>y zYGI5PJd@oljKEUW7Sfj66c`wSTpe9}UG;KP0=yZSL>S;f?2|LCZLujZxIq{q3S@x6 z8pX-yEhNCEyt0s%;#6W_$jwhl%_-JLGh?#6r8JYC(qtP;RRxgGTqkX17dEAOqOnTpLO^H|HVSy_S% F0symTwjKZg delta 566 zcmZ2ixuJ|Vz?+$civa}QZ8))!H-M2DNKZ~+ROSQHKBZT?6>DV~7;0rVPh=EhRxvj< zv@kI+NzpYoPBGFoF*h*NO|(o+)J;rGF|%FWz^&u7=m0KU3^{ja#I4l8JR>F;9)b_z)G4)Mq#qAm4pSzk>D_c z5o!Fo3Wz!{h>6<;fRp z*e6@sa&P{pk8 z0Hmvx85nZ&Q&Mw^_0i4XwUK68pgdVeNm2(*%BRt3&T>a41_lrYnSuc4RVL@#$blU> z0jS?j9U2Vs3YZ~;(8a)DtA!L^;$X!)8F~KIvNAA$uokjf26H2zVhgY(t8Jyl|Clo{ ZW@VF9 z6VnvSRNYjA6mwk@Q{!Y^3p4XXT{Dvu!?Yx$6pO?}i_H?O8(B9;@=O#3nY8(>qBX=w zZRIGi(H+W4V2QQLI$(*-cT{qiz#`u2f0%?owi?Mgf7#8>zyQL=43pp4DNo*DC$zaw zE1Pk0j*jSLRvkSMz1d!ei4CmN#pn<#*lERWK%YQ?0FZtS)R&u|lA2SjkEUsIx2-gjfYRhW%98x(QWt`Iz2yDh=Yj1h5K&lEM2;KN>o1+0|N*{!WStnL0AYwI zIPiePBcQh8#N2|MRK1dl5;T32@5M=*&opFU$jwhl%_-JLllDohYfJtGGz5gjVJ3p< zeTI__;#KQG!SPqSEp`(t0|N*PpeTB41UDIMfnIV+KDrhE-HHyTF)}cKFfWSkvlejO z1^L*tY9vg)5--6NX9bM{VI6eCQDX|(^jKS@coSCu`C}&|&%aurA3#_OSuI1RD^Rfo kI40gCNQ>)vGce?2CZUJcWVu9XrU38B)`@a#Mlm1*0Oj!6LjV8( diff --git a/build/archives/ip-payment@0.1.0.cta b/build/archives/ip-payment@0.1.0.cta index 3e7559807bf078785ee43c341664c5dec283c19b..b5a8bd12afc466c64035064b98365f61aef42cb9 100644 GIT binary patch delta 701 zcmdnAiE+bLM&1B#W)?065IE>_Wh1W!BQubmY{96^2c&&$Zv3x|*JWUc*WH}Scz{_Y z$s{S&!pOi<*W4h*OxMITF-_Mp%`{2Z(8AE%(#+B_&A=pSvYv?K<}_9fL9U?G!qU{@ z5(Qnm$((|bll{f{IiNyHlV1zUPwo)snJgwGIC-0#Aa_t|aY24waVnBxPM8>m>dk#( zXT-n`jn$n7qBnoj-O2$LSZAgL7PxGt1NO>hCW{-)V3E7lf0zV8o(lf!xOyc!0|N*f zPqy<=nfyLnXtRQSHsjsj!Wj-8=rJ$^xjMS|y6WYo1b8zti7>!pVsdPl zbWo)}14D6QZb43}UP(m>nhGDdIY0)`Cr}^&qzx??7;^JdQge#+(KJmy6(-FTW-ZlBh!6qm-O0%Fua=d80fez=uMy>Na#HtE10qi>{!2+an zGL!UCyuEpW~f3vyERN-9bMycwB97~mm|;wYfcpg;gfFEpEM5FrY-E3vLE`4>lV7q!Fq?x{&PhJ%v2j-pzaxYj<-s`Ch3@G8ra*;e>qfmko#i;Xk zP{r(%OCll8?~9aXy6pxQJ{Kth*1waH=U*)=0|N+aq3Bok04mg(tQW-tw%;~NTKt7C ZER<0^Jvl#0nu*JAa!-^TTY4zS5CEU1%LV`d diff --git a/build/archives/latedeliveryandpenalty@0.1.0.cta b/build/archives/latedeliveryandpenalty@0.1.0.cta index 29f76ed524adb9e6cacfe4299a0aa71479218536..0f359b7a8cb956987fb16bda728a6aff01e0c1dd 100644 GIT binary patch delta 689 zcmeykkn#NzM&1B#W)?065IE>_Wg_o!W)O8WTI=HYG$fyl4@+Gn`CB?rfXnsn4D^uY?x|jZa(=Gm(*rHRxWO?pwz7)?4uLyjAQw-5u9gj=H;1aLFo6YXG?l;t3pI5Z!Hf%9U)jNo6GnfSctPF^ z{_D7UB|8Jd%FP!|moiSSH@Dh+$efQ2tmv|>D@2>L{UKJ6$m9nu@?aSzSA7n!fQhd; zn9lPx<^vgr2(8KMeT@`ALd;1oWZi*53&NbBFouIHjmeCD;$Z#Ke$rMqG#D6)6LSl4 zQuRtIN&>tYnM4@ivEl>Q1!Mr-3k3o|`oGrX0zXl(U5RyV$-jU?AS@150-;p2CvVV{ zoV?GE2W;P2KWV05oyo8K!2X%c<1fwRZ8G_dzw+dD{_K;3{UyN0!2<_qp)rbaUgl86 za$w`m1NFPu1BJ}N`gSt%{HtYUU;tq)6n#AoV12&!oRjkdAWo?ZkQNVgV_?Y1Owvd5 W^yCcz(oDr}lg|dou`Tuk83X{D2G8#R delta 583 zcmaFAgz@7-M&1B#W)?065csg+#6;fX%pmHzG9Qrg@!(y4bC)Uu!!Fg$9E>NJRV)*Y zQw&YhjCG9+EG%?Q3{y>YEz**bbrUTuk}Q&pEmKUA3?`rAlG@D2%Ei5Th2R-6kZF_4 zHL^kU=BFAeOke>XZ6&aPp|%bqn316Kl^x88F!{s83$ofs*7?hBb_Rysn-k5KGET0v z6rC(&sRyDr`&cruffWbZyF#?jbU4Hc5}6$5CJ&ZraMR}i3vBW;2h(r-jM02FS=Zl4 z0b~<%(hFI4p!Y$T6BG_`a7%4+y}vkE|4e^rSr2svhT_EBf}B*nl8TZ5Z$>5&26)I# zzUVJ)p0CNkkei>9np3QgChe10*OvSXXfg9E%1 zi~z7tCU*h3yNxCv3{;+cDnK6WV0h2~gU1-fs9mODg*t(9V558krJ0V|f`xhmMZkJ@ zGV=VZWo2LhVJ#HBeD*+v7GQmU0;R<-yD%{1WG12eW3pb5G}Bj?$=*S7Y^uH>0|29@ B!AAf9 diff --git a/build/archives/perishable-goods@0.1.1.cta b/build/archives/perishable-goods@0.1.1.cta index b4e28ae6ce39cfe603b0c03e56d2ec3b70ac8aac..4597d0d594e1fb21857ae03748dc0a966f33b90b 100644 GIT binary patch delta 862 zcmaE`n)%*3X5IjAW)?065IE#>Wh1W@BQubm?8T_e2c&(%ybNkS`7$tk^4(m`c!@>D zA}Phf+{7SFH#IrQP}juN+(6gDEX7>m}H*fI!#S9i$ z8>9plxD=!VcJ5}zkZ2yTNPNN{CP9$Hga10NUdhhD0K&$T4GUB@Pe`t1oGg}VwK+1C zj}5FiE8CS3thibBoWBbr0|N-_fD})DcbR+h`y4-r=?-}hAPnV#L#$w(FG?LDB0A+k zZXl7#jeF(6GK=?$2!jQ7T`&jJUoIGj3zghI^Sd!HfUpLN-nkWEg>mKVljE*J9GQDnTKv;K28Nu>B#f}1e^r`E QWdGznSLN6=FM$jK09ErBj{pDw delta 828 zcmcb&j`_iAX5IjAW)?065cs&^#715#MrI&A*^5z`4@mpuC9U>K@?l^|^4VO?c!@#0plER_+K9 zSyd6_1`?V4f1f;9MsdH0Fj&Cik~x?zx@3$N1d}&kGO_|WFKXo^#dctbfiNd1=-}Y1 zF9So6tD}prt6pwOfHxzP2m?HDC(B=!W?Jkw+2*o@1;`Y*CLjaoPbd%o(hGtZ7;^Jd zQge#+(aq=qnsGE}a$$%hKf2UKpwyS($qPb7br8>mQmvglP2a1iQTm1bNz`QsIp z$vIcW!CC_nd-hEMY6D?I6s^X2V67kW1u$H{lac3NEh_^92y3Be5-R{}QoSY$w$JvO zG}G-;uu$zaQLu%DO75Te-53}^SOZ0`d^uR*)oYMwe|=3_yksu}Lr!KAMxe`Hmu8x_ Pce2%WIkwdoK!yMS@J0;q diff --git a/build/archives/promissory-note@0.2.0.cta b/build/archives/promissory-note@0.2.0.cta index 417e27f5273adf47175a7abd4ea2346287b7c48f..044cb1d0816568312c0d968d643a02688247d617 100644 GIT binary patch delta 727 zcmbQeih1T*X5IjAW)?065IE#>Wg_n_W)SsCnGZ<$q@)-8W^!O)U~=#LX^@(%YhsybU~Fk%VPKk)w0S%0DrK&q)WXu#;t~a2yGhEC zlN zftqn*Acs!gWM2oOHyb--N`M9CM<{^>jzs7%f*GG9#aO@$p140uLLgrS|8-owlAVD8 zgpC;{^IcJ%eBrXtX8*)&#>t11tTwYH^Ra<-h-V&R1vBpCr8265v;sp34p@M!oXjMB zlmOhER`4zXq-S#YMRPDc@uD$WSWdol(Z~v9+QPHdB2hq7K$sJ5E{I|3$iNWf>geL@ zs+XG*;LXS+!T^t>$#$2dgSG(`6es2usfP<`e_n zjcV-bOVUj4QIk(xQU$yF1CU!5J(>5i9GI(jS(>Ro9vWEelS?m4C}4&q%q9@smjqP| z(f<*szatAMWC1qL^NKW+Zvj{ZU%tTPnOAsBv4t4j}pqrGIXs&BwY?P*Jkz!`4n`mL4Y++`Yl5CP@uz5S{D&@@|wfw|DCQWv7tOL=T z4?AW`fCcoUl)wTZQ96uZMsu_n3z#t{{tuH7$XX*==P$e285ls=m|=3yRprTkSA{m; zPs(PTyf;O3a#)HUh~7LQg^3NUb86NhRxl%~AeB)SWCYklP=WUNQ&M{FjZ9tF%WgqaMY|0O^}6rw->sx%Wn+a diff --git a/build/archives/saft@0.3.0.cta b/build/archives/saft@0.3.0.cta index aeffa9044e43a969ba7c7bb082df8b132c0aa51b..48b025ab4ecdd38147eb105c8f5293e0fa81c287 100644 GIT binary patch delta 785 zcmcb(lKK1^X5IjAW)?065IF2}Wh1XPBQubmY|W_52c&&e{~md9GlzlUX3pju#u=EB3rkarOB8hN zCTICZPF4uv=YR?+P3H5HpBx#&GuhHlP{t^hO92RKt+{HsRBO4ofEtSn^7D#Qk#usx z#89*{8cjCz72cc_Tq+56^R1lsAbRteTo)U#fbc3MuzIj zDv^SsHS;jcobGOyzp51(GV8wF}9%2PEl8&cB%sF-9CnT7T zostL3yf}3XtYq@W3+5n!$*(UMqlMpOor^|bslB>n@60gIw^d-P%sxhJgWu zA@Kl?3?Sj3&%jWem|KvOs#j7`65!3qBmz|dvf;u-Y4d5T85nZ&Q&Mw^_0gn#66@NM ze*p~vVR4v=V0!oJ$x4@0!A|kIB+c|{&E)h;ata`)Xe9Kytz}|h0AUjpJ)%1%FWhD} z`Sv9qutJnjLs2NQ8>mog@~NHNlWi{ZfGzR9EX~As7$~ef`TRjn9dw6!r=F>kWMp6f zVM7$NE}xiOc-$C6gI~b=JsW_EL0At(gY_w(2K7lNIVbyHf!G~)MOxha3W)gY` WO`dQ?nkn+kaU=gJqf0zV8)*8t=f7#8>zyQL=lMQxgPhNk8 zdvogUY{tpXdqpST*`o)dH;e6MVgqZGK75E3%y@7j6=J5xsh^ChAfv!ugAy!2Iwvzp zAH~m`)6N_NYo4rs$sAXH#y>i#9^kh3`q3_-4rF21gMxhVnOj7%a7 z@BsAr)oyJkZ^OU6`3#S=yX!6$3+VeoAUiG0=sm z#wOOaCI14N1j6Dl6T!6hs>us3tHy!6YP`zo!(X7KAS{5QC~7s_WUvK#$tC&dR%j&j zx~*kmU;tqg6y2@cCL8WBn;dzCM*$;pP!zW81S-@5#+5iYuufi)W}0viD5N~u_b?|v znuU`UuSzq89tTSwxXLm)^{NC|R|8OZ?+K_dBnjQQDlNYA6fEvgLS{1GHEE{XrzUG( LlVe+S0puD09sl-N diff --git a/build/archives/safte@0.2.0.cta b/build/archives/safte@0.2.0.cta index 2de9b8887d6074b57b3b0351f459e2d8e645269b..9e28ad0ded65072b2b9710b4bfeaca2301ff2b8b 100644 GIT binary patch delta 770 zcmbQRin(tsGjD)5GYc032psXbvXR%9kr_x&j%8Hl1JXX$JUg(H&#hGg%Y0s|1Cdc$zk?kta(CMwCP9#Ig8w?MUdhhD0K&$TUvJZ% zeEu@`W`$kZjFYGAw%UAsHy;~V!;6DIAx1noe25in_{x*=V42e=8^LBy_P=Njmgu}_ zj22LnPhB(uOZ~qn9WpVWfg#A%(Z$zQFE=H?n~_O`0Up>s|9b19EA1E%CsnVcq6AIf)Mik0Sy6RahQo0%|7z`jRfTC#W2Dr&!3-ppp^3ko(Na%H2%f!F{!X_xX6Lw5~v(0RB zlIP3F>|j-i%XqmV93c#LJyb8=dVaJ*_@vI=87EKzDpoO0Pqd`FaQ7m delta 671 zcmeBM%RFHfGjD)5GYc032z=deVk56FBQubm9LuQ82c&&Iy1fmJ&S7AP&e`0@D95T| zWNv7Xl$@NRo0^zpqHAK3XsK&yY+<5nk!Wd_lwy#YYGiD&`2t&m-{uElyCpzIZJw7e z12%K>-hz2{V8i3qD}iO2*XuxJHf`9!4i?GX@rOwWWUrB|^OxQ13=AM_%rN=j6|Kp> zSGhND*qzNdxo@xNWc9szAbNA+UM4oM&a}fnA!a2VJ;VyOMg6oqSjO{oBiQiCXD^w9 zCD<<;qxo&J$7Lh1RPAMHOU66~h9Fl*7hhMs+>`)sMkWykc=-7I>#d8fv}0fZVTdR= z=zxSm{^X07!9Je+=CZWZ!Lw`2yj@k0J1DidAV04-6-g;4Obku!=2LPLMM3VH9A`2S zL~s6NQY`=$C~#E*3ruy@VFWXdxZP(0GnRS&Vd4dOCit)8>Xqya3@bOU_gTs~Io8i= z^8!CUHn5_NA%|E&jLBtD@?e1(Q6U^)f%i$~U|KWT7%fO9XC)hfrRFC~hdeZ8U9np3QgChe10*OvSXXb1?4!%PIz67G`|QdAW{zUEru`(iT_0|N*Pq9}6r zn7lMa9;`?sq1SCKPyq-7qZt@N#Q3?}9K_*RpXF3r? zZ*DTH762RVt_0?*y6Z5486h6`nZOJ)?>|huAX|-Ooxkj6XJFX9+1_s{O{wB?gZ28JM4 zM;BjLz1)-lZ$>5&26&MAbTT%{Jkw%e0AYwI%mJ2FlM`-0ykC7oTFQMX14C|pN@`9q z&^ah(Ox|!qnki@L$SNh z&7`y&C}c3X^A-U(3?K{)2P7c37p(XGZcctQhfe-*OWNe|Ay@>Vgouyd e2QkMvq6`cm%!6bc0|V>f$@aJ9*iPR7i2?vsF!96y delta 622 zcmaF3llk#BX5IjAW)?065csy?#6;f5%pmHsG9QrgxjrHFjYK&EgGBje6~;5%Dk(-r zmZ^!x=DKMqW@)-6X(=hX7OBQ*x`s*SrY1?2Nk*p0mYYR*`-3Js1c`3;NL(fXGHvq5 z${-NE*{zCO8!QmAR0%9lxm1S{%viDPJv*2&Yu!wUh}nieOuQgB7|A+++0D+tuzR!p z=B132!?%h~{;)+4L~qvG%ESiNrN8?pM3?s7L#!Z?$sZ2MgJpyc9~A`)+`3^7rbTWV zqj_y|=uIQARM$;unUD$wh9Fl*7hhMs+>`)sMkWykc;HMvcvG5bWyR!sHzD5oc~e?y z`(g%$-29Z(oML@+)q1z2neHr}?0rjB0pySDy^(xJfc^ks0dRQ32=1kmC)|<)J7FVG z&)+qZ&)rf3>(NN)bz95CzyQJ~Fy&x+=DNvtyOk$rY!II8b(;sQ7#>hS3ye_|&)5i7 zJo7fhl3ll@nU?GX3K{62x!GqYBhSBDRt5$T)Bn;0lxFgNfesJ>MJ92Ek*FgpW0NnrTivR!s diff --git a/build/archives/volumediscount@0.2.0.cta b/build/archives/volumediscount@0.2.0.cta index a649c1ef15c97ce078483275043e5eb08f752fc7..b73aa87acfb17612b05e003103af50b50de54464 100644 GIT binary patch delta 707 zcmeBJ$=J4rkvG7bnT3l11djS#naI178AP2_<^xhbW~ssE6*>$I6*?P#ZDCe1O|?u; zHBC#=H8)E!)-|y(v(U9nOHS3bG&D<0GqOlFH#4-{e2HbDAXiXoVQFe{iGr@(13XqHI|fOc|1xJ_$jwhl%_-JLllDohYfJtGG#P}&;WmI6@)na7O#TJr&anmi-P=ZZvTraC*wLs#gKXYx2WUXafsNZ6EX_34 z11Mxs2J$SjN)|Xr0LY5+V_?Y1Ou}%ux50|d47Y&rH_KDh}{w RWdn)x0%1H*^~4|$4*;I%&4&O0 delta 640 zcmZo$!`QKskvG7bnT3l11io!JF_CvCGl)8=%m<`=xXe0Nz0hJ{c%ilN*A`}#R3lT1 zL__l=-Ne+CL|v1#G*ey6R1*_j0|S#pa|3fjQzN6K&6ijf3T|eWm?#P|X!3O3a1g!u zqpmO)Sb*I^2`r#vp~DDfL|b~ZfEg=o|1b%HY&DW~{<52$fdPb#CvWgj*?h~PmT~ea zC(+5tPI@4E^IRt;Hn65e9*0;#jLGSK@?e2ZKM}BTlNSV;gC%YS8Ke1SvUIQ!SSlb` zn(3GJd_sEtc?ZE5dgC8_%JZ!WF}#F%iCbZ_t(q}3?R${*8yVugX+l1PtQ!&%PJ1=W@Q73 Q^8#T!P_=L%1CV3@02712jsO4v diff --git a/build/copyright-license@0.2.0.html b/build/copyright-license@0.2.0.html index 5f71e3db..b8f45c16 100644 --- a/build/copyright-license@0.2.0.html +++ b/build/copyright-license@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Copyright License

Sample

-
+                
 Copyright License Agreement
 
 This COPYRIGHT LICENSE AGREEMENT (the "Agreement"), dated as of 01/01/2018 (the "Effective Date"), is made by and between "Me" ("Licensee"), a "NY" "Company" with offices located at "1 Broadway", and "Myself" ("Licensor"), a "NY" "Company" with offices located at "2 Broadway".
@@ -147,39 +150,36 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.copyrightlicense.CopyrightLicenseContract",
-    "effectiveDate": "2018-06-08T22:07:28.237Z",
-    "licenseeName": "Do.",
-    "licenseeState": "Excepteur incididunt nisi eu.",
-    "licenseeEntityType": "Quis sit do adipisicing tempor.",
-    "licenseeAddress": "Culpa dolore enim.",
-    "licensorName": "Magna consequat.",
-    "licensorState": "Tempor reprehenderit aute.",
-    "licensorEntityType": "Enim.",
-    "licensorAddress": "Laboris sint irure.",
-    "territory": "Excepteur.",
-    "purposeDescription": "Ullamco ullamco.",
-    "workDescription": "Reprehenderit.",
+    "contractId": "262ab145-5387-4787-942e-cc108e785157",
+    "effectiveDate": "2018-01-01",
+    "licenseeName": "Me",
+    "licenseeState": "NY",
+    "licenseeEntityType": "Company",
+    "licenseeAddress": "1 Broadway",
+    "licensorName": "Myself",
+    "licensorState": "NY",
+    "licensorEntityType": "Company",
+    "licensorAddress": "2 Broadway",
+    "territory": "United States",
+    "purposeDescription": "stuff",
+    "workDescription": "other stuff",
     "paymentClause": {
         "$class": "org.accordproject.copyrightlicense.PaymentClause",
-        "amountText": "Dolor voluptate ea labore eiusmod.",
+        "clauseId": "199fc556-6410-4f53-9bd2-252acbf6f389",
+        "amountText": "one hundred US Dollars",
         "amount": {
             "$class": "org.accordproject.money.MonetaryAmount",
-            "doubleValue": 177.039,
-            "currencyCode": "TWD"
+            "doubleValue": 100,
+            "currencyCode": "USD"
         },
-        "paymentProcedure": "Aliquip tempor ex.",
-        "clauseId": "5267"
-    },
-    "contractId": "550b39d0-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#3869"
-    ]
+        "paymentProcedure": "bank transfer"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -195,10 +195,10 @@

Request Types

org.accordproject.copyrightlicense.PaymentRequest -
{
+        
{
     "$class": "org.accordproject.copyrightlicense.PaymentRequest",
-    "transactionId": "550b87f0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:28.239Z"
+    "transactionId": "9e11e3f0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:58.703Z"
 }
@@ -217,15 +217,15 @@

Response Types

org.accordproject.copyrightlicense.PayOut -
{
+        
{
     "$class": "org.accordproject.copyrightlicense.PayOut",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 238.153,
-        "currencyCode": "SOS"
+        "doubleValue": 200.699,
+        "currencyCode": "PGK"
     },
-    "transactionId": "550baf00-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:28.240Z"
+    "transactionId": "9e120b00-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:58.704Z"
 }
diff --git a/build/demandforecast@0.1.0.html b/build/demandforecast@0.1.0.html index d9600322..cfba4082 100644 --- a/build/demandforecast@0.1.0.html +++ b/build/demandforecast@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Demand Forecast

Sample

-
+                
 On or before the 04/02/2018, and thereafter on or before the last day of each calendar quarter, the Purchaser "PETER" shall send the Supplier "DAN" a Supply Forecast. The Supply Forecast will be a binding commitment on the Purchaser’s behalf to purchase during the first quarter included in each Supply Forecast at least 85% of the quantity of the listed Product.
 
                 
@@ -116,17 +119,17 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.demandforecast.DemandForecastClause",
-    "purchaser": "Nulla.",
-    "supplier": "Sunt nisi occaecat incididunt.",
-    "effectiveDate": "2018-06-08T22:07:28.915Z",
-    "minimumPercentage": 9.844,
-    "clauseId": "5572ae30-6b68-11e8-9721-29834758953f"
+    "clauseId": "78430b8a-7948-4aa9-abf6-10a9027a94f0",
+    "purchaser": "PETER",
+    "supplier": "DAN",
+    "effectiveDate": "2018-04-02",
+    "minimumPercentage": 85
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -142,11 +145,11 @@

Request Types

org.accordproject.demandforecast.ForecastRequest -
{
+        
{
     "$class": "org.accordproject.demandforecast.ForecastRequest",
-    "supplyForecast": 54892,
-    "transactionId": "5572d540-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:28.916Z"
+    "supplyForecast": 47723,
+    "transactionId": "9e6dbf90-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:59.305Z"
 }
@@ -165,13 +168,13 @@

Response Types

org.accordproject.demandforecast.BindingResponse -
{
+        
{
     "$class": "org.accordproject.demandforecast.BindingResponse",
-    "requiredPurchase": 140.912,
-    "year": 45106,
-    "quarter": 37088,
-    "transactionId": "5572d541-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:28.916Z"
+    "requiredPurchase": 90.716,
+    "year": 62316,
+    "quarter": 40182,
+    "transactionId": "9e6de6a0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:37:59.306Z"
 }
diff --git a/build/helloworld@0.1.0.html b/build/helloworld@0.1.0.html index a1e0e4bd..39f840a8 100644 --- a/build/helloworld@0.1.0.html +++ b/build/helloworld@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Hello World

Sample

-
+                
 Name of the person to greet: "Fred Blogs".
 Thank you!
                 
@@ -116,14 +119,14 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.helloworld.HelloWorldClause",
-    "name": "Amet.",
-    "clauseId": "55d45630-6b68-11e8-9721-29834758953f"
+    "clauseId": "2351813e-bdae-45de-8cde-3c341dbf9f75",
+    "name": "Fred Blogs"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -139,11 +142,11 @@

Request Types

org.accordproject.helloworld.MyRequest -
{
+        
{
     "$class": "org.accordproject.helloworld.MyRequest",
-    "input": "Esse laboris ad magna.",
-    "transactionId": "55d45631-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:29.555Z"
+    "input": "Ex.",
+    "transactionId": "9f2e0250-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:00.565Z"
 }
@@ -162,11 +165,11 @@

Response Types

org.accordproject.helloworld.MyResponse -
{
+        
{
     "$class": "org.accordproject.helloworld.MyResponse",
-    "output": "Duis nisi.",
-    "transactionId": "55d45632-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:29.555Z"
+    "output": "Est voluptate non reprehenderit.",
+    "transactionId": "9f2e2960-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:00.566Z"
 }
diff --git a/build/helloworldstate@0.1.0.html b/build/helloworldstate@0.1.0.html index feb61f6c..ec892737 100644 --- a/build/helloworldstate@0.1.0.html +++ b/build/helloworldstate@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Hello World State

Sample

-
+                
 Name of the person to greet: "Fred Blogs".
 Thank you!
                 
@@ -116,14 +119,14 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.helloworldstate.HelloWorldClause",
-    "name": "Aliqua consequat dolore quis.",
-    "clauseId": "56307ff0-6b68-11e8-9721-29834758953f"
+    "clauseId": "1ad9790a-71d6-4883-a4a3-13409482562d",
+    "name": "Fred Blogs"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -139,11 +142,11 @@

Request Types

org.accordproject.helloworldstate.MyRequest -
{
+        
{
     "$class": "org.accordproject.helloworldstate.MyRequest",
-    "input": "Sint et aute pariatur.",
-    "transactionId": "56307ff1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:30.159Z"
+    "input": "Sunt incididunt commodo minim pariatur.",
+    "transactionId": "9f7f0880-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:01.096Z"
 }
@@ -162,11 +165,11 @@

Response Types

org.accordproject.helloworldstate.MyResponse -
{
+        
{
     "$class": "org.accordproject.helloworldstate.MyResponse",
-    "output": "Quis.",
-    "transactionId": "56307ff2-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:30.159Z"
+    "output": "Tempor adipisicing.",
+    "transactionId": "9f7f0881-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:01.096Z"
 }
diff --git a/build/installment-sale@0.1.0.html b/build/installment-sale@0.1.0.html index 5ca7422e..3b3dd6fc 100644 --- a/build/installment-sale@0.1.0.html +++ b/build/installment-sale@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Installment Sale

Sample

-
+                
 "Dan" agrees to pay to "Ned" the total sum e10000, in the manner following:
 
 E500 is to be paid at closing, and the remaining balance of E9500 shall be paid as follows:
@@ -124,23 +127,20 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.installmentsale.InstallmentSale",
-    "BUYER": "Ea.",
-    "SELLER": "Qui laboris.",
-    "INITIAL_DUE": 17.637,
-    "INTEREST_RATE": 130.992,
-    "TOTAL_DUE_BEFORE_CLOSING": 72.651,
-    "MIN_PAYMENT": 204.649,
-    "DUE_AT_CLOSING": 95.713,
-    "contractId": "56a784b0-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#0379"
-    ]
+    "contractId": "5bbd7ce3-fed7-498b-bf4e-60a7ea0b8b36",
+    "BUYER": "Dan",
+    "SELLER": "Ned",
+    "INITIAL_DUE": 10000,
+    "INTEREST_RATE": 1.5,
+    "TOTAL_DUE_BEFORE_CLOSING": 9500,
+    "MIN_PAYMENT": 500,
+    "DUE_AT_CLOSING": 500
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -156,21 +156,21 @@

Request Types

org.accordproject.installmentsale.ClosingPayment -
{
+        
{
     "$class": "org.accordproject.installmentsale.ClosingPayment",
-    "amount": 32.946,
-    "transactionId": "56a7d2d1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:30.941Z"
+    "amount": 48.914,
+    "transactionId": "9fe607b1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:01.771Z"
 }
org.accordproject.installmentsale.Installment -
{
+        
{
     "$class": "org.accordproject.installmentsale.Installment",
-    "amount": 47.939,
-    "transactionId": "56a7d2d0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:30.941Z"
+    "amount": 246.048,
+    "transactionId": "9fe607b0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:01.771Z"
 }
@@ -189,12 +189,12 @@

Response Types

org.accordproject.installmentsale.Balance -
{
+        
{
     "$class": "org.accordproject.installmentsale.Balance",
-    "balance": 148.774,
-    "total_paid": 2.937,
-    "transactionId": "56a7f9e0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:30.942Z"
+    "balance": 155.88,
+    "total_paid": 85.566,
+    "transactionId": "9fe607b3-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:01.771Z"
 }
diff --git a/build/ip-payment@0.1.0.html b/build/ip-payment@0.1.0.html index 1d887a1f..394f7b71 100644 --- a/build/ip-payment@0.1.0.html +++ b/build/ip-payment@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

IP Payment Clause

Sample

-
+                
 Payments.
 
 1.  Royalty. On or before the last business day of each Quarterly Period during the Term and any Sell-off Period, Licensee shall pay to Licensor a royalty of "four point five" percent (4.5%) of the Net Sales Price for the respective preceding Quarterly Period.
@@ -133,27 +136,27 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.ippayment.IntellectualPropertyPaymentClause",
-    "royaltyText": "Enim.",
-    "royaltyRate": 144.602,
-    "sublicensingRoyaltyText": "Nostrud laborum.",
-    "sublicensingRoyaltyRate": 173.047,
+    "clauseId": "b4be8209-70d6-45af-9f5b-18179699f04b",
+    "royaltyText": "four point five",
+    "royaltyRate": 4.5,
+    "sublicensingRoyaltyText": "five point two",
+    "sublicensingRoyaltyRate": 5.2,
     "paymentPeriod": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 46111578,
-        "unit": "hours"
+        "amount": 10,
+        "unit": "days"
     },
     "paymentPeriodWithPermission": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 2726884056,
-        "unit": "years"
-    },
-    "clauseId": "572cba40-6b68-11e8-9721-29834758953f"
+        "amount": 7,
+        "unit": "days"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -169,13 +172,13 @@

Request Types

org.accordproject.ippayment.PaymentRequest -
{
+        
{
     "$class": "org.accordproject.ippayment.PaymentRequest",
-    "netSaleRevenue": 242.38,
-    "sublicensingRevenue": 127.566,
-    "permissionGrantedBy": "2018-06-08T22:07:31.812Z",
-    "transactionId": "572cba41-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:31.812Z"
+    "netSaleRevenue": 43.785,
+    "sublicensingRevenue": 68.89,
+    "permissionGrantedBy": "2018-06-20T09:38:02.436Z",
+    "transactionId": "a04b8040-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:02.436Z"
 }
@@ -194,12 +197,12 @@

Response Types

org.accordproject.ippayment.PayOut -
{
+        
{
     "$class": "org.accordproject.ippayment.PayOut",
-    "totalAmount": 242.51,
-    "dueBy": "Anim exercitation proident minim.",
-    "transactionId": "572ce150-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:31.813Z"
+    "totalAmount": 175.205,
+    "dueBy": "Velit.",
+    "transactionId": "a04b8041-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:02.436Z"
 }
diff --git a/build/latedeliveryandpenalty@0.1.0.html b/build/latedeliveryandpenalty@0.1.0.html index 697ed5d8..e83141d8 100644 --- a/build/latedeliveryandpenalty@0.1.0.html +++ b/build/latedeliveryandpenalty@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Late Delivery And Penalty

Sample

-
+                
 Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, the Seller shall pay to the Buyer for every 2 days of delay penalty amounting to 10.5% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a days is to be considered a full days. The total amount of penalty shall not however, exceed 55% of the total value of the Equipment involved in late delivery. If the delay is more than 15 days, the Buyer is entitled to terminate this Contract.
                 
@@ -117,27 +120,27 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyClause",
-    "forceMajeure": false,
+    "clauseId": "b8452bb4-7e65-4e36-b60f-071ce1c1e177",
+    "forceMajeure": true,
     "penaltyDuration": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 936236513,
-        "unit": "minutes"
+        "amount": 2,
+        "unit": "days"
     },
-    "penaltyPercentage": 224.854,
-    "capPercentage": 120.623,
+    "penaltyPercentage": 10.5,
+    "capPercentage": 55,
     "termination": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 692585751,
-        "unit": "years"
+        "amount": 15,
+        "unit": "days"
     },
-    "fractionalPart": "weeks",
-    "clauseId": "57a322c0-6b68-11e8-9721-29834758953f"
+    "fractionalPart": "days"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -153,14 +156,14 @@

Request Types

org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest -
{
+        
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest",
     "forceMajeure": true,
-    "agreedDelivery": "2018-06-08T22:07:32.589Z",
-    "deliveredAt": "2018-06-08T22:07:32.589Z",
-    "goodsValue": 117.774,
-    "transactionId": "57a349d0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:32.589Z"
+    "agreedDelivery": "2018-06-20T09:38:03.098Z",
+    "deliveredAt": "2018-06-20T09:38:03.098Z",
+    "goodsValue": 205.789,
+    "transactionId": "a0b083a0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:03.098Z"
 }
@@ -179,12 +182,12 @@

Response Types

org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse -
{
+        
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse",
-    "penalty": 216.438,
+    "penalty": 168.466,
     "buyerMayTerminate": false,
-    "transactionId": "57a370e0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:32.590Z"
+    "transactionId": "a0b083a1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:03.098Z"
 }
diff --git a/build/perishable-goods@0.1.1.html b/build/perishable-goods@0.1.1.html index a8d5e43d..18998bac 100644 --- a/build/perishable-goods@0.1.1.html +++ b/build/perishable-goods@0.1.1.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Perishable Goods

Sample

-
+                
 On receipt of the shipment "SHIP_001" the importer "DAN" pays the grower "PETER" 1.50 USD per KG. The shipment must contain between 3000 and 3500 KG of "Grade I, Size 4, Zutano Mexican Avocados".
 
 Shipping containers used must be temperature and humidity controlled, and sensor readings must be logged at least 1 per hours.
@@ -139,33 +142,33 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.perishablegoods.PerishableGoodsClause",
-    "grower": "resource:org.accordproject.perishablegoods.Grower#2622",
-    "importer": "resource:org.accordproject.perishablegoods.Importer#4082",
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#1133",
-    "dueDate": "2018-06-08T22:07:35.675Z",
+    "clauseId": "8bd8740f-ecb1-4570-86d7-bef0d679c665",
+    "grower": "PETER",
+    "importer": "DAN",
+    "shipment": "SHIP_001",
+    "dueDate": "2018-07-02",
     "unitPrice": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 245.929,
-        "currencyCode": "TOP"
+        "doubleValue": 1.5,
+        "currencyCode": "USD"
     },
-    "unit": "GRAM",
-    "minUnits": 25026,
-    "maxUnits": 17707,
-    "product": "Consequat fugiat ea.",
-    "sensorReadingFrequency": 15746,
-    "duration": "years",
-    "minTemperature": 147.054,
-    "maxTemperature": 140.003,
-    "minHumidity": 0.571,
-    "maxHumidity": 53.367,
-    "penaltyFactor": 153.021,
-    "clauseId": "597a2cb0-6b68-11e8-9721-29834758953f"
+    "unit": "KG",
+    "minUnits": 3000,
+    "maxUnits": 3500,
+    "product": "Grade I, Size 4, Zutano Mexican Avocados",
+    "sensorReadingFrequency": 1,
+    "duration": "hours",
+    "minTemperature": 2,
+    "maxTemperature": 13,
+    "minHumidity": 70,
+    "maxHumidity": 90,
+    "penaltyFactor": 0.2
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -181,12 +184,12 @@

Request Types

org.accordproject.perishablegoods.ShipmentReceived -
{
+        
{
     "$class": "org.accordproject.perishablegoods.ShipmentReceived",
-    "unitCount": 10869,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#0400",
-    "transactionId": "597a7ad0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:35.677Z"
+    "unitCount": 32896,
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#7254",
+    "transactionId": "a16f66d0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:04.350Z"
 }
@@ -205,14 +208,14 @@

Response Types

org.accordproject.perishablegoods.PriceCalculation -
{
+        
{
     "$class": "org.accordproject.perishablegoods.PriceCalculation",
-    "totalPrice": 145.043,
-    "penalty": 143.491,
-    "late": true,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#5376",
-    "transactionId": "597aa1e0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:35.678Z"
+    "totalPrice": 86.114,
+    "penalty": 173.122,
+    "late": false,
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#3580",
+    "transactionId": "a16f8de0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:04.350Z"
 }
diff --git a/build/promissory-note@0.2.0.html b/build/promissory-note@0.2.0.html index 669f3323..e3ccbc9b 100644 --- a/build/promissory-note@0.2.0.html +++ b/build/promissory-note@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Promissory Note

Sample

-
+                
 PROMISSORY NOTE 
 1000 USD 01/30/2018
 
@@ -148,38 +151,35 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.promissorynote.PromissoryNote",
+    "contractId": "0aa9e94f-100f-430c-90ec-49a0390805db",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 233.317,
-        "currencyCode": "CRC"
+        "doubleValue": 1000,
+        "currencyCode": "USD"
     },
-    "date": "2018-06-08T22:07:37.350Z",
-    "maker": "Reprehenderit tempor occaecat.",
-    "interestRate": 15.259,
-    "individual": false,
-    "makerAddress": "Eu dolore.",
-    "lender": "Do in voluptate.",
-    "legalEntity": "LP",
-    "lenderAddress": "Incididunt deserunt reprehenderit.",
+    "date": "2018-01-30",
+    "maker": "Daniel Selman",
+    "interestRate": 3.8,
+    "individual": true,
+    "makerAddress": "1 Main Street",
+    "lender": "Clause",
+    "legalEntity": "CORP",
+    "lenderAddress": "246 5th Ave, 3rd Fl, New York, NY 10001",
     "principal": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 125.215,
-        "currencyCode": "RWF"
+        "doubleValue": 500,
+        "currencyCode": "USD"
     },
-    "maturityDate": "2018-06-08T22:07:37.350Z",
-    "defaultDays": 14016,
-    "insolvencyDays": 20174,
-    "jurisdiction": "Enim ipsum dolore consequat.",
-    "contractId": "5a79c260-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#4699"
-    ]
+    "maturityDate": "2019-01-20",
+    "defaultDays": 90,
+    "insolvencyDays": 90,
+    "jurisdiction": "New York, NY"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -195,15 +195,15 @@

Request Types

org.accordproject.promissorynote.Payment -
{
+        
{
     "$class": "org.accordproject.promissorynote.Payment",
     "amountPaid": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 89.802,
-        "currencyCode": "MRU"
+        "doubleValue": 154.983,
+        "currencyCode": "BMD"
     },
-    "transactionId": "5a7a1080-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:37.352Z"
+    "transactionId": "a21766a0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:05.450Z"
 }
@@ -222,11 +222,11 @@

Response Types

org.accordproject.promissorynote.Result -
{
+        
{
     "$class": "org.accordproject.promissorynote.Result",
-    "outstandingBalance": 225.143,
-    "transactionId": "5a7a1081-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:37.352Z"
+    "outstandingBalance": 55.512,
+    "transactionId": "a21766a1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:05.450Z"
 }
diff --git a/build/saft@0.3.0.html b/build/saft@0.3.0.html index 1873fdbf..aea6a831 100644 --- a/build/saft@0.3.0.html +++ b/build/saft@0.3.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

SAFT (Simple Agreement for Future To

Sample

-
+                
 NOTICE TO RESIDENTS OF THE UNITED STATES
 
 THE OFFER AND SALE OF THIS SECURITY INSTRUMENT HAS NOT BEEN REGISTERED UNDER THE U.S. SECURITIES ACT OF 1933, AS AMENDED (THE “SECURITIES ACT”), OR UNDER THE SECURITIES LAWS OF CERTAIN STATES.  THIS SECURITY MAY NOT BE OFFERED, SOLD OR OTHERWISE TRANSFERRED, PLEDGED OR HYPOTHECATED EXCEPT AS PERMITTED UNDER THE ACT AND APPLICABLE STATE SECURITIES LAWS PURSUANT TO AN EFFECTIVE REGISTRATION STATEMENT OR AN EXEMPTION THEREFROM.
@@ -214,41 +217,38 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.saft.Saft",
-    "token": "Dolor id reprehenderit duis.",
-    "company": "Eu non enim.",
-    "companyType": "PC",
-    "state": "CT",
-    "amendmentProvision": false,
+    "contractId": "253111f2-d109-4b64-b296-8f2cc278efab",
+    "token": "Clause Token",
+    "company": "Clause",
+    "companyType": "CORP",
+    "state": "NY",
+    "amendmentProvision": true,
     "purchaseAmount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 87.337,
-        "currencyCode": "XAU"
+        "doubleValue": 25,
+        "currencyCode": "USD"
     },
-    "currency": "JMD",
+    "currency": "EUR",
     "netProceedLimit": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 236.587,
-        "currencyCode": "BBD"
+        "doubleValue": 3000000,
+        "currencyCode": "USD"
     },
-    "date": "2018-06-08T22:07:40.523Z",
-    "deadlineDate": "2018-06-08T22:07:40.523Z",
-    "discountRatePercentage": 215.522,
-    "network": "Occaecat exercitation ex id.",
-    "coin": "Sunt.",
-    "exchanges": "Magna deserunt.",
-    "companyRepresentative": "Irure.",
-    "purchaser": "Est consequat.",
-    "description": "Sunt adipisicing fugiat.",
-    "contractId": "5c5debb0-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#4725"
-    ]
+    "date": "2017-10-04",
+    "deadlineDate": "2018-04-20",
+    "discountRatePercentage": 38,
+    "network": "Clause Network",
+    "coin": "Ether",
+    "exchanges": "itBit",
+    "companyRepresentative": "Peter Hunn",
+    "purchaser": "Daniel Charles Selman",
+    "description": "happiness and intergalactic equality"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -264,30 +264,30 @@

Request Types

org.accordproject.saft.Launch -
{
+        
{
     "$class": "org.accordproject.saft.Launch",
-    "exchangeRate": 219.906,
-    "transactionId": "5c5e39d0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:40.525Z"
+    "exchangeRate": 46.87,
+    "transactionId": "a2d9a530-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:06.723Z"
 }
org.accordproject.saft.Terminate -
{
+        
{
     "$class": "org.accordproject.saft.Terminate",
     "remainingFunds": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 98.958,
-        "currencyCode": "GBP"
+        "doubleValue": 109.664,
+        "currencyCode": "CUP"
     },
     "totalInvested": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 182.123,
-        "currencyCode": "TOP"
+        "doubleValue": 135.521,
+        "currencyCode": "ISK"
     },
-    "transactionId": "5c5e39d1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:40.525Z"
+    "transactionId": "a2d9a531-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:06.723Z"
 }
@@ -306,16 +306,16 @@

Response Types

org.accordproject.saft.Payout -
{
+        
{
     "$class": "org.accordproject.saft.Payout",
     "tokenAmount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 121.923,
-        "currencyCode": "NGN"
+        "doubleValue": 228.689,
+        "currencyCode": "NOK"
     },
-    "tokenAddress": "Ullamco.",
-    "transactionId": "5c5e60e1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:40.526Z"
+    "tokenAddress": "Deserunt officia sit.",
+    "transactionId": "a2d9cc41-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:06.724Z"
 }
diff --git a/build/safte@0.2.0.html b/build/safte@0.2.0.html index 35839784..c7267ee7 100644 --- a/build/safte@0.2.0.html +++ b/build/safte@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

SAFTE (Simple Agreement for

Sample

-
+                
 "ACME"
 
 SAFTE 
@@ -189,28 +192,25 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.safte.Safte",
-    "companyName": "Lorem pariatur irure velit reprehenderit.",
-    "companyRegistrationNumber": 2868856698,
-    "purchaser": "Nisi veniam incididunt consequat.",
-    "jurisdiction": "UT",
-    "purchaseAmount": 116.187,
-    "discount": 61.02,
-    "projectName": "Do aliquip nulla duis laboris.",
-    "projectDescription": "Officia labore.",
-    "months": 12787,
-    "monthsText": "Magna.",
-    "amount": 67.906,
-    "amountText": "Ut ea aliqua qui.",
-    "contractId": "5d47fd90-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#7148"
-    ]
+    "contractId": "4d719c20-68dd-4e10-8376-e041f11336ea",
+    "companyName": "ACME",
+    "companyRegistrationNumber": 555,
+    "purchaser": "Dan",
+    "jurisdiction": "NY",
+    "purchaseAmount": 25,
+    "discount": 7,
+    "projectName": "Umbrella",
+    "projectDescription": "manages umbrella tokens",
+    "months": 12,
+    "monthsText": "twelve",
+    "amount": 1000,
+    "amountText": "one thousand"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -226,31 +226,31 @@

Request Types

org.accordproject.safte.DissolutionEvent -
{
+        
{
     "$class": "org.accordproject.safte.DissolutionEvent",
-    "cause": "Officia commodo est.",
-    "transactionId": "5d484bb1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.059Z"
+    "cause": "Veniam cupidatat.",
+    "transactionId": "a3af92d2-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.125Z"
 }
org.accordproject.safte.EquityFinancing -
{
+        
{
     "$class": "org.accordproject.safte.EquityFinancing",
-    "sharePrice": 139.691,
-    "transactionId": "5d484bb0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.059Z"
+    "sharePrice": 252.755,
+    "transactionId": "a3af92d1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.125Z"
 }
org.accordproject.safte.TokenSale -
{
+        
{
     "$class": "org.accordproject.safte.TokenSale",
-    "tokenPrice": 128.987,
-    "transactionId": "5d4824a0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.058Z"
+    "tokenPrice": 74.575,
+    "transactionId": "a3af92d0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.125Z"
 }
@@ -269,31 +269,31 @@

Response Types

org.accordproject.safte.EquityShare -
{
+        
{
     "$class": "org.accordproject.safte.EquityShare",
-    "equityAmount": 246.115,
-    "transactionId": "5d484bb3-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.059Z"
+    "equityAmount": 221.244,
+    "transactionId": "a3af92d4-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.125Z"
 }
org.accordproject.safte.PayOut -
{
+        
{
     "$class": "org.accordproject.safte.PayOut",
-    "amount": 218.205,
-    "transactionId": "5d4872c0-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.060Z"
+    "amount": 156.445,
+    "transactionId": "a3afb9e0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.126Z"
 }
org.accordproject.safte.TokenShare -
{
+        
{
     "$class": "org.accordproject.safte.TokenShare",
-    "tokenAmount": 131.646,
-    "transactionId": "5d484bb2-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.059Z"
+    "tokenAmount": 118.548,
+    "transactionId": "a3af92d3-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.125Z"
 }
diff --git a/build/servicelevelagreement@0.1.0.html b/build/servicelevelagreement@0.1.0.html index 6efa2e74..f7f16c18 100644 --- a/build/servicelevelagreement@0.1.0.html +++ b/build/servicelevelagreement@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Service Level Agreement

Sample

-
+                
 1	Definitions
 
 1.1	In this Schedule:
@@ -178,23 +181,20 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.servicelevelagreement.ServiceLevelAgreement",
-    "paymentPeriod": 51930,
-    "monthlyCapPercentage": 96.952,
-    "yearlyCapPercentage": 232.012,
-    "availability1": 248.906,
-    "serviceCredit1": 17.674,
-    "availability2": 204.404,
-    "serviceCredit2": 161.777,
-    "contractId": "5dc43270-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#3200"
-    ]
+    "contractId": "0aafed6c-e3ac-41f7-8dc7-87e644241e1e",
+    "paymentPeriod": 30,
+    "monthlyCapPercentage": 10,
+    "yearlyCapPercentage": 10,
+    "availability1": 99.8,
+    "serviceCredit1": 2,
+    "availability2": 98,
+    "serviceCredit2": 3
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -210,14 +210,14 @@

Request Types

org.accordproject.servicelevelagreement.MonthSummary -
{
+        
{
     "$class": "org.accordproject.servicelevelagreement.MonthSummary",
-    "monthlyServiceLevel": 48.554,
-    "monthlyCharge": 246.599,
-    "last11MonthCredit": 194.809,
-    "last11MonthCharge": 242.371,
-    "transactionId": "5dc45980-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.872Z"
+    "monthlyServiceLevel": 232.363,
+    "monthlyCharge": 165.488,
+    "last11MonthCredit": 193.614,
+    "last11MonthCharge": 229.185,
+    "transactionId": "a40d4330-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.739Z"
 }
@@ -236,11 +236,11 @@

Response Types

org.accordproject.servicelevelagreement.InvoiceCredit -
{
+        
{
     "$class": "org.accordproject.servicelevelagreement.InvoiceCredit",
-    "monthlyCredit": 164.501,
-    "transactionId": "5dc45981-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:42.872Z"
+    "monthlyCredit": 50.617,
+    "transactionId": "a40d6a40-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:08.740Z"
 }
diff --git a/build/supplyagreement@0.1.0.html b/build/supplyagreement@0.1.0.html index c1758622..d98396bf 100644 --- a/build/supplyagreement@0.1.0.html +++ b/build/supplyagreement@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Supply Agreement

Sample

-
+                
 Supply Agreement
 
 This Supply Sales Agreement is made on 04/02/2018 (the "Effective Date") between "DAN" and "PETER".
@@ -230,36 +233,33 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.supplyagreement.SupplyAgreement",
-    "effectiveDate": "2018-06-08T22:07:44.977Z",
-    "supplier": "Veniam.",
-    "buyer": "Culpa veniam incididunt ipsum.",
-    "shortDescriptionOfTheProducts": "Magna proident consectetur culpa excepteur.",
-    "noticeWindow": 14135,
-    "cancellationWindow": 1973,
-    "minimumPercentage": 204.439,
-    "deliverables": "Culpa nisi ipsum commodo.",
-    "deliveryWindow": 2621,
-    "deliveryAttachment": "Nostrud laborum.",
-    "inspectionWindow": 65490,
-    "acceptanceAttachment": "Ea sunt reprehenderit.",
-    "priceUpdateWindow": 12167,
-    "accountNumber": "Nostrud sunt voluptate qui.",
-    "routingNumnber": "Culpa.",
-    "termYears": 44156,
-    "renewalYears": 17302,
-    "renewalWindow": 413,
-    "governingState": "IN",
-    "venueState": "NM",
-    "contractId": "5f058c10-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#5340"
-    ]
+    "contractId": "3338dd31-e793-4810-8eeb-f0fba66be97c",
+    "effectiveDate": "2018-04-02",
+    "supplier": "DAN",
+    "buyer": "PETER",
+    "shortDescriptionOfTheProducts": "Umbrellas",
+    "noticeWindow": 2,
+    "cancellationWindow": 10,
+    "minimumPercentage": 85,
+    "deliverables": "Colorful Umbrellas",
+    "deliveryWindow": 1,
+    "deliveryAttachment": "Annex A",
+    "inspectionWindow": 3,
+    "acceptanceAttachment": "Annex B",
+    "priceUpdateWindow": 15,
+    "accountNumber": "XXX-XX",
+    "routingNumnber": "YYY-YY",
+    "termYears": 2,
+    "renewalYears": 1,
+    "renewalWindow": 30,
+    "governingState": "NY",
+    "venueState": "NY"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -275,52 +275,52 @@

Request Types

org.accordproject.supplyagreement.DeliveryRequest -
{
+        
{
     "$class": "org.accordproject.supplyagreement.DeliveryRequest",
     "products": [
         {
             "$class": "org.accordproject.purchaseorder.Product",
-            "partNumber": "1808",
-            "name": "Consequat proident id do nostrud.",
-            "quantity": 217.129,
-            "unitPrice": 78.186
+            "partNumber": "2537",
+            "name": "Minim.",
+            "quantity": 252.25,
+            "unitPrice": 52.898
         }
     ],
-    "transactionId": "5f05da30-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.979Z"
+    "transactionId": "a4d993e0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.078Z"
 }
org.accordproject.supplyagreement.ForecastRequest -
{
+        
{
     "$class": "org.accordproject.supplyagreement.ForecastRequest",
-    "supplyForecast": 15939,
-    "transactionId": "5f05b320-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.978Z"
+    "supplyForecast": 60307,
+    "transactionId": "a4d96cd0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.077Z"
 }
org.accordproject.supplyagreement.PurchaseRequest -
{
+        
{
     "$class": "org.accordproject.supplyagreement.PurchaseRequest",
     "purchaseOrder": {
         "$class": "org.accordproject.purchaseorder.PurchaseOrder",
         "products": [
             {
                 "$class": "org.accordproject.purchaseorder.Product",
-                "partNumber": "9363",
-                "name": "Ut eiusmod veniam.",
-                "quantity": 131.364,
-                "unitPrice": 93.724
+                "partNumber": "1645",
+                "name": "Adipisicing ea id.",
+                "quantity": 174.253,
+                "unitPrice": 42.274
             }
         ],
-        "deliveryLocation": "Deserunt voluptate ex magna.",
-        "deliveryDate": "2018-06-08T22:07:44.978Z"
+        "deliveryLocation": "Aliqua occaecat sunt labore.",
+        "deliveryDate": "2018-06-20T09:38:10.077Z"
     },
-    "transactionId": "5f05b321-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.978Z"
+    "transactionId": "a4d96cd1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.077Z"
 }
@@ -339,28 +339,28 @@

Response Types

org.accordproject.supplyagreement.DeliveryResponse -
{
+        
{
     "$class": "org.accordproject.supplyagreement.DeliveryResponse",
-    "transactionId": "5f05da33-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.980Z"
+    "transactionId": "a4d9baf0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.079Z"
 }
org.accordproject.supplyagreement.ForecastResponse -
{
+        
{
     "$class": "org.accordproject.supplyagreement.ForecastResponse",
-    "transactionId": "5f05da31-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.979Z"
+    "transactionId": "a4d993e1-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.078Z"
 }
org.accordproject.supplyagreement.PurchaseResponse -
{
+        
{
     "$class": "org.accordproject.supplyagreement.PurchaseResponse",
-    "transactionId": "5f05da32-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:44.979Z"
+    "transactionId": "a4d993e2-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.078Z"
 }
diff --git a/build/template-library.json b/build/template-library.json index e0812dfc..7d9d31e1 100644 --- a/build/template-library.json +++ b/build/template-library.json @@ -1 +1 @@ -{"acceptance-of-delivery@0.0.3":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"demandforecast@0.0.6":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"fragile-goods@0.0.4":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"helloworld@0.0.5":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"helloworldstate@0.0.5":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"installment-sale@0.0.3":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.0.3","ciceroVersion":"^0.3.0","type":0},"ip-payment@0.0.3":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"latedeliveryandpenalty@0.0.4":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"perishable-goods@0.1.0":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.0","ciceroVersion":"^0.3.0","type":1},"promissory-note@0.0.4":{"name":"promissory-note","description":"A promissory note","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"saft@0.1.1":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"safte@0.1.1":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"servicelevelagreement@0.0.1":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.0.1","ciceroVersion":"^0.3.0","type":0},"supplyagreement@0.0.6":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.0.6","ciceroVersion":"^0.3.0","type":0},"volumediscount@0.0.6":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"acceptance-of-delivery@0.1.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"demandforecast@0.1.0":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"fragile-goods@0.1.0":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.1.0","ciceroVersion":"^0.4.0","type":1},"helloworld@0.1.0":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"helloworldstate@0.1.0":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"installment-sale@0.1.0":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"ip-payment@0.1.0":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"latedeliveryandpenalty@0.1.0":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"perishable-goods@0.1.1":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.1","ciceroVersion":"^0.4.1","type":1},"promissory-note@0.1.0":{"name":"promissory-note","description":"A promissory note","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"saft@0.2.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"safte@0.2.0":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"servicelevelagreement@0.1.0":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"supplyagreement@0.1.0":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.1.0":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"copyright-license@0.1.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.1.1":{"name":"promissory-note","description":"A promissory note","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.1.1":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"acceptance-of-delivery@0.2.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.2.0","ciceroVersion":"^0.4.1","type":1},"copyright-license@0.2.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.2.0":{"name":"promissory-note","description":"A promissory note","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"saft@0.3.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.3.0","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.2.0":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0}} \ No newline at end of file +{"acceptance-of-delivery@0.0.3":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"demandforecast@0.0.6":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"fragile-goods@0.0.4":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"helloworld@0.0.5":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"helloworldstate@0.0.5":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"installment-sale@0.0.3":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.0.3","ciceroVersion":"^0.3.0","type":0},"ip-payment@0.0.3":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"latedeliveryandpenalty@0.0.4":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"perishable-goods@0.1.0":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.0","ciceroVersion":"^0.3.0","type":1},"promissory-note@0.0.4":{"name":"promissory-note","description":"A promissory note","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"saft@0.1.1":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"safte@0.1.1":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"servicelevelagreement@0.0.1":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.0.1","ciceroVersion":"^0.3.0","type":0},"supplyagreement@0.0.6":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.0.6","ciceroVersion":"^0.3.0","type":0},"volumediscount@0.0.6":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"acceptance-of-delivery@0.1.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"demandforecast@0.1.0":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"fragile-goods@0.1.0":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.1.0","ciceroVersion":"^0.4.0","type":1},"helloworld@0.1.0":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"helloworldstate@0.1.0":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"installment-sale@0.1.0":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"ip-payment@0.1.0":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"latedeliveryandpenalty@0.1.0":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"perishable-goods@0.1.1":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.1","ciceroVersion":"^0.4.1","type":1},"promissory-note@0.1.0":{"name":"promissory-note","description":"A promissory note","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"saft@0.2.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"safte@0.2.0":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"servicelevelagreement@0.1.0":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"supplyagreement@0.1.0":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.1.0":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"copyright-license@0.1.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.1.1":{"name":"promissory-note","description":"A promissory note","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.1.1":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"acceptance-of-delivery@0.2.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.2.0","ciceroVersion":"^0.4.1","type":1},"copyright-license@0.2.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.2.0":{"name":"promissory-note","description":"A promissory note","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"saft@0.3.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.3.0","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.2.0":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"fragile-goods@0.2.0":{"name":"fragile-goods","description":"Calculate delivery penalties based on accelerometer readings for a package.","version":"0.2.0","ciceroVersion":"^0.4.1","type":1}} \ No newline at end of file diff --git a/build/volumediscount@0.2.0.html b/build/volumediscount@0.2.0.html index 6e48673b..29899eb5 100644 --- a/build/volumediscount@0.2.0.html +++ b/build/volumediscount@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -28,7 +31,7 @@ - + @@ -38,7 +41,7 @@ - + Accord Project Template Library @@ -87,7 +90,7 @@

Volume Discount

Sample

-
+                
 Volume-Based Card Acceptance Agreement [Abbreviated]
 
 This Agreement is by and between Card, Inc., a New York corporation, and you, the Merchant. By accepting the Card, you agree to be bound by the Agreement. 
@@ -143,21 +146,18 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.volumediscount.VolumeDiscount",
-    "firstVolume": 204.459,
-    "secondVolume": 246.731,
-    "firstRate": 104.73,
-    "secondRate": 62.742,
-    "thirdRate": 14.669,
-    "contractId": "5f7a6df0-6b68-11e8-9721-29834758953f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#1417"
-    ]
+    "contractId": "5e9ce5fd-76d3-4868-9fce-916af28c7619",
+    "firstVolume": 1,
+    "secondVolume": 10,
+    "firstRate": 3,
+    "secondRate": 2.9,
+    "thirdRate": 2.8
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -173,11 +173,11 @@

Request Types

org.accordproject.volumediscount.VolumeDiscountRequest -
{
+        
{
     "$class": "org.accordproject.volumediscount.VolumeDiscountRequest",
-    "netAnnualChargeVolume": 239.269,
-    "transactionId": "5f7a6df1-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:45.743Z"
+    "netAnnualChargeVolume": 245.105,
+    "transactionId": "a53b14d0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.717Z"
 }
@@ -196,11 +196,11 @@

Response Types

org.accordproject.volumediscount.VolumeDiscountResponse -
{
+        
{
     "$class": "org.accordproject.volumediscount.VolumeDiscountResponse",
-    "discountRate": 117.505,
-    "transactionId": "5f7a9500-6b68-11e8-9721-29834758953f",
-    "timestamp": "2018-06-08T22:07:45.744Z"
+    "discountRate": 241.305,
+    "transactionId": "a53b3be0-746d-11e8-8260-d364b0ca1709",
+    "timestamp": "2018-06-20T09:38:10.718Z"
 }
diff --git a/package-lock.json b/package-lock.json index fb3bb0de..5bded6d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -212,11 +212,180 @@ } } }, + "@babel/code-frame": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.49.tgz", + "integrity": "sha1-vs2AVIJzREDJ0TfkbXc0DmTX9Rs=", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.49" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.49.tgz", + "integrity": "sha1-6c/9qROZaszseTu8JauRvBnQv3o=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49", + "jsesc": "^2.5.1", + "lodash": "^4.17.5", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.49.tgz", + "integrity": "sha1-olwRGbnwNSeGcBJuAiXAMEHI3jI=", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.49", + "@babel/template": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.49.tgz", + "integrity": "sha1-z1Aj8y0q2S0Ic3STnOwJUby1FEE=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.49.tgz", + "integrity": "sha1-QNeO2glo0BGxxShm5XRs+yPldUg=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.49.tgz", + "integrity": "sha1-lr3GtD4TSCASumaRsQGEktOWIsw=", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", + "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } + } + }, + "@babel/parser": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.49.tgz", + "integrity": "sha1-lE0MW6KBK7FZ7b0iZ0Ov0mUXm9w=", + "dev": true + }, + "@babel/template": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.49.tgz", + "integrity": "sha1-44q+ghfLl5P0YaUwbXrXRdg+HSc=", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "lodash": "^4.17.5" + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.49.tgz", + "integrity": "sha1-TypzaCoYM07WYl0QCo0nMZ98LWg=", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.49", + "@babel/generator": "7.0.0-beta.49", + "@babel/helper-function-name": "7.0.0-beta.49", + "@babel/helper-split-export-declaration": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "debug": "^3.1.0", + "globals": "^11.1.0", + "invariant": "^2.2.0", + "lodash": "^4.17.5" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "globals": { + "version": "11.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.5.0.tgz", + "integrity": "sha512-hYyf+kI8dm3nORsiiXUQigOU62hDLfJ9G01uyGMxhc6BKsircrUhC4uJPQPUSuq2GrTmiiEt7ewxlMdBewfmKQ==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.49.tgz", + "integrity": "sha1-t+Oxw/TUz+Eb34yJ8e/V4WF7h6Y=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, "a-sync-waterfall": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.0.tgz", "integrity": "sha1-OOgxnXk3niRiiEW1O5ZyKyng5Hw=" }, + "abbrev": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", + "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=" + }, "acorn": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.1.2.tgz", @@ -227,11 +396,31 @@ "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.11.tgz", "integrity": "sha512-L8vcjDTCOIJk7wFvmlEUN7AsSb8T+2JrdP7KINBjzr24TJ5Mwj590sLu3BC7zNZowvJWa/JtPmD8eJCzdtDWjA==" }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "requires": { + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" + }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, "any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", @@ -247,6 +436,14 @@ "normalize-path": "^2.0.0" } }, + "append-transform": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-1.0.0.tgz", + "integrity": "sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw==", + "requires": { + "default-require-extensions": "^2.0.0" + } + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -280,6 +477,11 @@ "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", "optional": true }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" + }, "asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", @@ -320,6 +522,668 @@ "is-buffer": "^1.1.5" } }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "babel-core": { + "version": "6.26.3", + "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", + "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", + "requires": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", + "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", + "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", + "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", + "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", + "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", + "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", + "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", + "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", + "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", + "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", + "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helpers": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", + "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", + "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-istanbul": { + "version": "4.1.6", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz", + "integrity": "sha512-PWP9FQ1AhZhS01T/4qLSKoHGY/xvkZdVBGlKM/HuxxS3+sC66HhTNR7+MpbO/so/cz/wY94MeSWJuP1hXIPfwQ==", + "requires": { + "babel-plugin-syntax-object-rest-spread": "^6.13.0", + "find-up": "^2.1.0", + "istanbul-lib-instrument": "^1.10.1", + "test-exclude": "^4.2.1" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", + "dev": true + }, + "babel-plugin-syntax-object-rest-spread": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", + "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=" + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", + "dev": true + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", + "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", + "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", + "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", + "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", + "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", + "dev": true, + "requires": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", + "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", + "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", + "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", + "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", + "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", + "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", + "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", + "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", + "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", + "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", + "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", + "dev": true, + "requires": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", + "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", + "dev": true, + "requires": { + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", + "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", + "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", + "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", + "dev": true, + "requires": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", + "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", + "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", + "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", + "dev": true, + "requires": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", + "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", + "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", + "dev": true, + "requires": { + "regenerator-transform": "^0.10.0" + } + }, + "babel-plugin-transform-remove-strict-mode": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-strict-mode/-/babel-plugin-transform-remove-strict-mode-0.0.2.tgz", + "integrity": "sha1-kTaFqrlUOfOg7YjliPvV6ZeJBXk=" + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", + "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.23.0", + "babel-plugin-transform-es2015-classes": "^6.23.0", + "babel-plugin-transform-es2015-computed-properties": "^6.22.0", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", + "babel-plugin-transform-es2015-for-of": "^6.23.0", + "babel-plugin-transform-es2015-function-name": "^6.22.0", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-umd": "^6.23.0", + "babel-plugin-transform-es2015-object-super": "^6.22.0", + "babel-plugin-transform-es2015-parameters": "^6.23.0", + "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", + "babel-plugin-transform-exponentiation-operator": "^6.22.0", + "babel-plugin-transform-regenerator": "^6.22.0", + "browserslist": "^3.2.6", + "invariant": "^2.2.2", + "semver": "^5.3.0" + } + }, + "babel-register": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", + "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", + "requires": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + }, + "dependencies": { + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + } + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + }, + "dependencies": { + "core-js": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", + "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==" + } + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -416,6 +1280,16 @@ "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" }, + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" + } + }, "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -454,6 +1328,22 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" }, + "caniuse-lite": { + "version": "1.0.30000851", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000851.tgz", + "integrity": "sha512-Y1ecA1cL9wg0vni8t33nBw/poX8ypm+2c3fbwAESj8cm4ufK9CBFQ1+nUK8Dp5dtFo5Fc3JzkI5DKmQbuIo6hQ==", + "dev": true + }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "optional": true, + "requires": { + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" + } + }, "chai": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz", @@ -480,6 +1370,25 @@ "resolved": "https://registry.npmjs.org/chai-things/-/chai-things-0.2.0.tgz", "integrity": "sha1-xVEoN4+bs5nplPAAUhUZhO1uvnA=" }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "dependencies": { + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, "check-error": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", @@ -564,6 +1473,21 @@ "object-visit": "^1.0.0" } }, + "color-convert": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", + "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", + "dev": true, + "requires": { + "color-name": "^1.1.1" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, "colors": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", @@ -582,6 +1506,11 @@ "readable-stream": "^2.0.4" } }, + "compare-versions": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-3.2.1.tgz", + "integrity": "sha512-2y2nHcopMG/NAyk6vWXlLs86XeM9sik4jmx1tKIgzMi9/RQ2eo758RGpxQO3ErihHmg0RlQITPqgz73y6s7quA==" + }, "component-emitter": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", @@ -709,6 +1638,11 @@ "json5": "0.4.0" } }, + "convert-source-map": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" + }, "copy-descriptor": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", @@ -724,6 +1658,22 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "cross-env": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.1.6.tgz", + "integrity": "sha512-VWTDq+G4v383SzgRS7jsAVWqEWF0aKZpDz1GVjhONvPRgHB1LnxP2sXUVFKbykHkPSnfRKS8YdiDevWFwZmQ9g==", + "requires": { + "cross-spawn": "^5.1.0", + "is-windows": "^1.0.0" + }, + "dependencies": { + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" + } + } + }, "cross-spawn": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", @@ -772,6 +1722,19 @@ "type-detect": "^4.0.0" } }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" + }, + "default-require-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz", + "integrity": "sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc=", + "requires": { + "strip-bom": "^3.0.0" + } + }, "define-property": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", @@ -819,6 +1782,14 @@ } } }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "requires": { + "repeating": "^2.0.0" + } + }, "diff": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", @@ -838,6 +1809,12 @@ "isarray": "^1.0.0" } }, + "electron-to-chromium": { + "version": "1.3.48", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz", + "integrity": "sha1-07DYWTgUBE4JLs4hCPw6ya6kuQA=", + "dev": true + }, "error-ex": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", @@ -856,11 +1833,44 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, + "escodegen": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz", + "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=", + "requires": { + "esprima": "^2.7.1", + "estraverse": "^1.9.1", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.2.0" + }, + "dependencies": { + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + }, + "source-map": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz", + "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=", + "optional": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, "esprima": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" }, + "estraverse": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz", + "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=" + }, "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", @@ -931,12 +1941,26 @@ "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=" }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" + }, "filename-regex": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", "optional": true }, + "fileset": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz", + "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=", + "requires": { + "glob": "^7.0.3", + "minimatch": "^3.0.3" + } + }, "fill-range": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", @@ -1570,6 +2594,11 @@ } } }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" + }, "graceful-fs": { "version": "4.1.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", @@ -1580,6 +2609,49 @@ "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" }, + "handlebars": { + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.11.tgz", + "integrity": "sha1-Ywo13+ApS8KB7a5v/F0yn8eYLcw=", + "requires": { + "async": "^1.4.0", + "optimist": "^0.6.1", + "source-map": "^0.4.4", + "uglify-js": "^2.6" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" + }, + "optimist": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", + "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + } + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -1644,6 +2716,15 @@ "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=" }, + "home-or-tmp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", + "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + } + }, "homedir-polyfill": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", @@ -1696,6 +2777,14 @@ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "requires": { + "loose-envify": "^1.0.0" + } + }, "invert-kv": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", @@ -1786,6 +2875,14 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=" }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "requires": { + "number-is-nan": "^1.0.0" + } + }, "is-fullwidth-code-point": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", @@ -1815,7 +2912,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-odd/-/is-odd-2.0.0.tgz", "integrity": "sha512-OTiixgpZAT1M4NHgS5IguFp/Vz2VI3U7Goh4/HA1adtwyLtSBrxYlcSYkhpAE07s4fKEcjrFxyvtQBND4vFQyQ==", - "optional": true, "requires": { "is-number": "^4.0.0" }, @@ -1823,8 +2919,7 @@ "is-number": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "optional": true + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==" } } }, @@ -1860,6 +2955,11 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" + }, "is-windows": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-0.1.1.tgz", @@ -1889,6 +2989,181 @@ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, + "istanbul": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz", + "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=", + "requires": { + "abbrev": "1.0.x", + "async": "1.x", + "escodegen": "1.8.x", + "esprima": "2.7.x", + "glob": "^5.0.15", + "handlebars": "^4.0.1", + "js-yaml": "3.x", + "mkdirp": "0.5.x", + "nopt": "3.x", + "once": "1.x", + "resolve": "1.1.x", + "supports-color": "^3.1.0", + "which": "^1.1.1", + "wordwrap": "^1.0.0" + }, + "dependencies": { + "esprima": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", + "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=" + }, + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "requires": { + "has-flag": "^1.0.0" + } + }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + } + } + }, + "istanbul-api": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.1.tgz", + "integrity": "sha512-duj6AlLcsWNwUpfyfHt0nWIeRiZpuShnP40YTxOGQgtaN8fd6JYSxsvxUphTDy8V5MfDXo4s/xVCIIvVCO808g==", + "requires": { + "async": "^2.1.4", + "compare-versions": "^3.1.0", + "fileset": "^2.0.2", + "istanbul-lib-coverage": "^1.2.0", + "istanbul-lib-hook": "^1.2.0", + "istanbul-lib-instrument": "^1.10.1", + "istanbul-lib-report": "^1.1.4", + "istanbul-lib-source-maps": "^1.2.4", + "istanbul-reports": "^1.3.0", + "js-yaml": "^3.7.0", + "mkdirp": "^0.5.1", + "once": "^1.4.0" + }, + "dependencies": { + "async": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", + "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", + "requires": { + "lodash": "^4.17.10" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.0.tgz", + "integrity": "sha512-GvgM/uXRwm+gLlvkWHTjDAvwynZkL9ns15calTrmhGgowlwJBbWMYzWbKqE2DT6JDP1AFXKa+Zi0EkqNCUqY0A==" + }, + "istanbul-lib-hook": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.2.1.tgz", + "integrity": "sha512-eLAMkPG9FU0v5L02lIkcj/2/Zlz9OuluaXikdr5iStk8FDbSwAixTK9TkYxbF0eNnzAJTwM2fkV2A1tpsIp4Jg==", + "requires": { + "append-transform": "^1.0.0" + } + }, + "istanbul-lib-instrument": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.1.tgz", + "integrity": "sha512-1dYuzkOCbuR5GRJqySuZdsmsNKPL3PTuyPevQfoCXJePT9C8y1ga75neU+Tuy9+yS3G/dgx8wgOmp2KLpgdoeQ==", + "requires": { + "babel-generator": "^6.18.0", + "babel-template": "^6.16.0", + "babel-traverse": "^6.18.0", + "babel-types": "^6.18.0", + "babylon": "^6.18.0", + "istanbul-lib-coverage": "^1.2.0", + "semver": "^5.3.0" + } + }, + "istanbul-lib-report": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.4.tgz", + "integrity": "sha512-Azqvq5tT0U09nrncK3q82e/Zjkxa4tkFZv7E6VcqP0QCPn6oNljDPfrZEC/umNXds2t7b8sRJfs6Kmpzt8m2kA==", + "requires": { + "istanbul-lib-coverage": "^1.2.0", + "mkdirp": "^0.5.1", + "path-parse": "^1.0.5", + "supports-color": "^3.1.2" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", + "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=" + }, + "supports-color": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", + "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", + "requires": { + "has-flag": "^1.0.0" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.5.tgz", + "integrity": "sha512-8O2T/3VhrQHn0XcJbP1/GN7kXMiRAlPi+fj3uEHrjBD8Oz7Py0prSC25C09NuAZS6bgW1NNKAvCSHZXB0irSGA==", + "requires": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^1.2.0", + "mkdirp": "^0.5.1", + "rimraf": "^2.6.1", + "source-map": "^0.5.3" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "requires": { + "ms": "2.0.0" + } + } + } + }, + "istanbul-reports": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.3.0.tgz", + "integrity": "sha512-y2Z2IMqE1gefWUaVjrBm0mSKvUkaBy9Vqz8iwr/r40Y9hBbIteH5wqHG/9DLTfJ9xUnUT2j7A3+VVJ6EaYBllA==", + "requires": { + "handlebars": "^4.0.3" + } + }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" + }, "js-yaml": { "version": "3.10.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", @@ -1898,10 +3173,10 @@ "esprima": "^4.0.0" } }, - "json-format": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-format/-/json-format-1.0.1.tgz", - "integrity": "sha1-FD9n5irxKda//tKIpGJl6iPQ3ww=" + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" }, "json5": { "version": "0.4.0", @@ -1974,6 +3249,12 @@ "graceful-fs": "^4.1.9" } }, + "lazy-cache": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "optional": true + }, "lcid": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", @@ -1982,6 +3263,15 @@ "invert-kv": "^1.0.0" } }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, "lie": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz", @@ -2045,6 +3335,19 @@ "resolved": "https://registry.npmjs.org/lodash.tostring/-/lodash.tostring-4.1.4.tgz", "integrity": "sha1-Vgwn0fjq3eA8LM4Zj+9cAx2CmPs=" }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" + }, + "loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "requires": { + "js-tokens": "^3.0.0" + } + }, "lorem-ipsum": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/lorem-ipsum/-/lorem-ipsum-1.0.4.tgz", @@ -2208,7 +3511,6 @@ "version": "1.2.9", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz", "integrity": "sha512-n8R9bS8yQ6eSXaV6jHUpKzD8gLsin02w1HSFiegwrs9E098Ylhw5jdyKPaYqvHknHaSCKTPp7C8dGCQ0q9koXA==", - "optional": true, "requires": { "arr-diff": "^4.0.0", "array-unique": "^0.3.2", @@ -2227,26 +3529,22 @@ "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "optional": true + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" }, "array-unique": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "optional": true + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" }, "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "optional": true + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" }, "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", - "optional": true + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -2304,6 +3602,14 @@ } } }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "requires": { + "abbrev": "1" + } + }, "normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", @@ -2726,92 +4032,2203 @@ } } }, - "object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" + "nyc": { + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-12.0.2.tgz", + "integrity": "sha1-ikpO1pCWbBHsWH/4fuoMEsl0upk=", + "dev": true, + "requires": { + "archy": "^1.0.0", + "arrify": "^1.0.1", + "caching-transform": "^1.0.0", + "convert-source-map": "^1.5.1", + "debug-log": "^1.0.1", + "default-require-extensions": "^1.0.0", + "find-cache-dir": "^0.1.1", + "find-up": "^2.1.0", + "foreground-child": "^1.5.3", + "glob": "^7.0.6", + "istanbul-lib-coverage": "^1.2.0", + "istanbul-lib-hook": "^1.1.0", + "istanbul-lib-instrument": "^2.1.0", + "istanbul-lib-report": "^1.1.3", + "istanbul-lib-source-maps": "^1.2.5", + "istanbul-reports": "^1.4.1", + "md5-hex": "^1.2.0", + "merge-source-map": "^1.1.0", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.0", + "resolve-from": "^2.0.0", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.1", + "spawn-wrap": "^1.4.2", + "test-exclude": "^4.2.0", + "yargs": "11.1.0", + "yargs-parser": "^8.0.0" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "align-text": { + "version": "0.1.4", + "bundled": true, + "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "kind-of": "^3.0.2", + "longest": "^1.0.1", + "repeat-string": "^1.5.2" } - } - } - }, - "object-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "requires": { - "isobject": "^3.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } - } - }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "optional": true, - "requires": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" - } - }, - "object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "requires": { - "isobject": "^3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" - } - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { - "wrappy": "1" - } - }, - "optimist": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", - "integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=", - "requires": { - "wordwrap": "~0.0.2" - } - }, - "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", - "requires": { - "execa": "^0.7.0", - "lcid": "^1.0.0", - "mem": "^1.1.0" - } - }, + }, + "amdefine": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "ansi-regex": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "append-transform": { + "version": "0.4.0", + "bundled": true, + "dev": true, + "requires": { + "default-require-extensions": "^1.0.0" + } + }, + "archy": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "arr-diff": { + "version": "4.0.0", + "bundled": true, + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "bundled": true, + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "bundled": true, + "dev": true + }, + "arrify": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "async": { + "version": "1.5.2", + "bundled": true, + "dev": true + }, + "atob": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "base": { + "version": "0.11.2", + "bundled": true, + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "bundled": true, + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "builtin-modules": { + "version": "1.1.1", + "bundled": true, + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "caching-transform": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "md5-hex": "^1.2.0", + "mkdirp": "^0.5.1", + "write-file-atomic": "^1.1.4" + } + }, + "camelcase": { + "version": "1.2.1", + "bundled": true, + "dev": true, + "optional": true + }, + "center-align": { + "version": "0.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "align-text": "^0.1.3", + "lazy-cache": "^1.0.3" + } + }, + "class-utils": { + "version": "0.3.6", + "bundled": true, + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cliui": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + }, + "dependencies": { + "wordwrap": { + "version": "0.0.2", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "collection-visit": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "commondir": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "convert-source-map": { + "version": "1.5.1", + "bundled": true, + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "bundled": true, + "dev": true + }, + "cross-spawn": { + "version": "4.0.2", + "bundled": true, + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "debug": { + "version": "3.1.0", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "debug-log": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "decamelize": { + "version": "1.2.0", + "bundled": true, + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "bundled": true, + "dev": true + }, + "default-require-extensions": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "strip-bom": "^2.0.0" + } + }, + "define-property": { + "version": "2.0.2", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "error-ex": { + "version": "1.3.1", + "bundled": true, + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "execa": { + "version": "0.7.0", + "bundled": true, + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "bundled": true, + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "bundled": true, + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "extend-shallow": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "bundled": true, + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "fill-range": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "find-cache-dir": { + "version": "0.1.1", + "bundled": true, + "dev": true, + "requires": { + "commondir": "^1.0.1", + "mkdirp": "^0.5.1", + "pkg-dir": "^1.0.0" + } + }, + "find-up": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "for-in": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "foreground-child": { + "version": "1.5.6", + "bundled": true, + "dev": true, + "requires": { + "cross-spawn": "^4", + "signal-exit": "^3.0.0" + } + }, + "fragment-cache": { + "version": "0.2.1", + "bundled": true, + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "get-caller-file": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "get-value": { + "version": "2.0.6", + "bundled": true, + "dev": true + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.1.11", + "bundled": true, + "dev": true + }, + "handlebars": { + "version": "4.0.11", + "bundled": true, + "dev": true, + "requires": { + "async": "^1.4.0", + "optimist": "^0.6.1", + "source-map": "^0.4.4", + "uglify-js": "^2.6" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "bundled": true, + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "has-value": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hosted-git-info": { + "version": "2.6.0", + "bundled": true, + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "bundled": true, + "dev": true + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "invert-kv": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-arrayish": { + "version": "0.2.1", + "bundled": true, + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "bundled": true, + "dev": true + }, + "is-builtin-module": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "builtin-modules": "^1.0.0" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-descriptor": { + "version": "0.1.6", + "bundled": true, + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "bundled": true, + "dev": true + } + } + }, + "is-extendable": { + "version": "0.1.1", + "bundled": true, + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "is-number": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-odd": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-number": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "bundled": true, + "dev": true + } + } + }, + "is-plain-object": { + "version": "2.0.4", + "bundled": true, + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-stream": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "bundled": true, + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "isexe": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "isobject": { + "version": "3.0.1", + "bundled": true, + "dev": true + }, + "istanbul-lib-coverage": { + "version": "1.2.0", + "bundled": true, + "dev": true + }, + "istanbul-lib-hook": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "append-transform": "^0.4.0" + } + }, + "istanbul-lib-instrument": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-2.2.0.tgz", + "integrity": "sha512-ozQGtlIw+/a/F3n6QwWiuuyRAPp64+g2GVsKYsIez0sgIEzkU5ZpL2uZ5pmAzbEJ82anlRaPlOQZzkRXspgJyg==", + "dev": true, + "requires": { + "@babel/generator": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/template": "7.0.0-beta.49", + "@babel/traverse": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "istanbul-lib-coverage": "^2.0.0", + "semver": "^5.5.0" + }, + "dependencies": { + "istanbul-lib-coverage": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.0.tgz", + "integrity": "sha512-yMSw5xLIbdaxiVXHk3amfNM2WeBxLrwH/BCyZ9HvA/fylwziAIJOG2rKqWyLqEJqwKT725vxxqidv+SyynnGAA==", + "dev": true + } + } + }, + "istanbul-lib-report": { + "version": "1.1.3", + "bundled": true, + "dev": true, + "requires": { + "istanbul-lib-coverage": "^1.1.2", + "mkdirp": "^0.5.1", + "path-parse": "^1.0.5", + "supports-color": "^3.1.2" + }, + "dependencies": { + "has-flag": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "bundled": true, + "dev": true, + "requires": { + "has-flag": "^1.0.0" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "requires": { + "debug": "^3.1.0", + "istanbul-lib-coverage": "^1.2.0", + "mkdirp": "^0.5.1", + "rimraf": "^2.6.1", + "source-map": "^0.5.3" + } + }, + "istanbul-reports": { + "version": "1.4.1", + "bundled": true, + "dev": true, + "requires": { + "handlebars": "^4.0.3" + } + }, + "kind-of": { + "version": "3.2.2", + "bundled": true, + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + }, + "lazy-cache": { + "version": "1.0.4", + "bundled": true, + "dev": true, + "optional": true + }, + "lcid": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "load-json-file": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "dependencies": { + "path-exists": { + "version": "3.0.0", + "bundled": true, + "dev": true + } + } + }, + "longest": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "lru-cache": { + "version": "4.1.3", + "bundled": true, + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "map-cache": { + "version": "0.2.2", + "bundled": true, + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "md5-hex": { + "version": "1.3.0", + "bundled": true, + "dev": true, + "requires": { + "md5-o-matic": "^0.1.1" + } + }, + "md5-o-matic": { + "version": "0.1.1", + "bundled": true, + "dev": true + }, + "mem": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "merge-source-map": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "bundled": true, + "dev": true + } + } + }, + "micromatch": { + "version": "3.1.10", + "bundled": true, + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "mimic-fn": { + "version": "1.2.0", + "bundled": true, + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "mixin-deep": { + "version": "1.3.1", + "bundled": true, + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "nanomatch": { + "version": "1.2.9", + "bundled": true, + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-odd": "^2.0.0", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "normalize-package-data": { + "version": "2.4.0", + "bundled": true, + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "is-builtin-module": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "npm-run-path": { + "version": "2.0.2", + "bundled": true, + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "bundled": true, + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "bundled": true, + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "optimist": { + "version": "0.6.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "~0.0.1", + "wordwrap": "~0.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "os-locale": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + } + }, + "p-finally": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "p-limit": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "parse-json": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "pascalcase": { + "version": "0.1.1", + "bundled": true, + "dev": true + }, + "path-exists": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "path-key": { + "version": "2.0.1", + "bundled": true, + "dev": true + }, + "path-parse": { + "version": "1.0.5", + "bundled": true, + "dev": true + }, + "path-type": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "bundled": true, + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "bundled": true, + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "pkg-dir": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "find-up": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + } + } + }, + "posix-character-classes": { + "version": "0.1.1", + "bundled": true, + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "read-pkg": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + } + } + }, + "regex-not": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "repeat-element": { + "version": "1.1.2", + "bundled": true, + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "bundled": true, + "dev": true + }, + "require-directory": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "bundled": true, + "dev": true + }, + "resolve-from": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "bundled": true, + "dev": true + }, + "ret": { + "version": "0.1.15", + "bundled": true, + "dev": true + }, + "right-align": { + "version": "0.1.3", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "align-text": "^0.1.1" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "requires": { + "glob": "^7.0.5" + } + }, + "safe-regex": { + "version": "1.1.0", + "bundled": true, + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "set-value": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "shebang-command": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true + }, + "slide": { + "version": "1.1.6", + "bundled": true, + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "bundled": true, + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^3.2.0" + } + }, + "source-map": { + "version": "0.5.7", + "bundled": true, + "dev": true + }, + "source-map-resolve": { + "version": "0.5.2", + "bundled": true, + "dev": true, + "requires": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-url": { + "version": "0.4.0", + "bundled": true, + "dev": true + }, + "spawn-wrap": { + "version": "1.4.2", + "bundled": true, + "dev": true, + "requires": { + "foreground-child": "^1.5.6", + "mkdirp": "^0.5.0", + "os-homedir": "^1.0.1", + "rimraf": "^2.6.2", + "signal-exit": "^3.0.2", + "which": "^1.3.0" + } + }, + "spdx-correct": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.1.0", + "bundled": true, + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "bundled": true, + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.0", + "bundled": true, + "dev": true + }, + "split-string": { + "version": "3.1.0", + "bundled": true, + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "static-extend": { + "version": "0.1.2", + "bundled": true, + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "bundled": true, + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "string-width": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-eof": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "test-exclude": { + "version": "4.2.1", + "bundled": true, + "dev": true, + "requires": { + "arrify": "^1.0.1", + "micromatch": "^3.1.8", + "object-assign": "^4.1.0", + "read-pkg-up": "^1.0.1", + "require-main-filename": "^1.0.1" + } + }, + "to-object-path": { + "version": "0.3.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "to-regex": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "bundled": true, + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "uglify-js": { + "version": "2.8.29", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + }, + "dependencies": { + "yargs": { + "version": "3.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "union-value": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^0.4.3" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "set-value": { + "version": "0.4.3", + "bundled": true, + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.1", + "to-object-path": "^0.3.0" + } + } + } + }, + "unset-value": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "bundled": true, + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "bundled": true, + "dev": true + } + } + }, + "urix": { + "version": "0.1.0", + "bundled": true, + "dev": true + }, + "use": { + "version": "3.1.0", + "bundled": true, + "dev": true, + "requires": { + "kind-of": "^6.0.2" + }, + "dependencies": { + "kind-of": { + "version": "6.0.2", + "bundled": true, + "dev": true + } + } + }, + "validate-npm-package-license": { + "version": "3.0.3", + "bundled": true, + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "which": { + "version": "1.3.1", + "bundled": true, + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "bundled": true, + "dev": true + }, + "window-size": { + "version": "0.1.0", + "bundled": true, + "dev": true, + "optional": true + }, + "wordwrap": { + "version": "0.0.3", + "bundled": true, + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "bundled": true, + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "write-file-atomic": { + "version": "1.3.4", + "bundled": true, + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "slide": "^1.1.5" + } + }, + "y18n": { + "version": "3.2.1", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "2.1.2", + "bundled": true, + "dev": true + }, + "yargs": { + "version": "11.1.0", + "bundled": true, + "dev": true, + "requires": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "bundled": true, + "dev": true + }, + "cliui": { + "version": "4.1.0", + "bundled": true, + "dev": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "yargs-parser": { + "version": "9.0.2", + "bundled": true, + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, + "yargs-parser": { + "version": "8.1.0", + "bundled": true, + "dev": true, + "requires": { + "camelcase": "^4.1.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "bundled": true, + "dev": true + } + } + } + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "requires": { + "isobject": "^3.0.0" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + } + } + }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "optional": true, + "requires": { + "for-own": "^0.1.4", + "is-extendable": "^0.1.1" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "requires": { + "isobject": "^3.0.1" + }, + "dependencies": { + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + } + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "optimist": { + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz", + "integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=", + "requires": { + "wordwrap": "~0.0.2" + } + }, + "optionator": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", + "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.4", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "wordwrap": "~1.0.0" + }, + "dependencies": { + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" + } + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", @@ -2894,6 +6311,11 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, + "path-parse": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", + "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" + }, "path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", @@ -2912,6 +6334,19 @@ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "requires": { + "pinkie": "^2.0.0" + } + }, "plantuml-encoder": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/plantuml-encoder/-/plantuml-encoder-1.2.5.tgz", @@ -2931,20 +6366,29 @@ "posix-character-classes": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "optional": true + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "postinstall-build": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/postinstall-build/-/postinstall-build-5.0.1.tgz", "integrity": "sha1-uRepB5smF42aJK9aXNjLSpkdEbk=" }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" + }, "preserve": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", "optional": true }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" + }, "process-nextick-args": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", @@ -3044,6 +6488,28 @@ "set-immediate-shim": "^1.0.1" } }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + }, + "regenerator-transform": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", + "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", + "dev": true, + "requires": { + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" + } + }, "regex-cache": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", @@ -3062,6 +6528,40 @@ "safe-regex": "^1.1.0" } }, + "regexpu-core": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", + "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", + "dev": true, + "requires": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "regjsgen": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", + "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", @@ -3077,6 +6577,14 @@ "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "requires": { + "is-finite": "^1.0.0" + } + }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -3087,6 +6595,11 @@ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" }, + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=" + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -3097,6 +6610,15 @@ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "optional": true, + "requires": { + "align-text": "^0.1.1" + } + }, "rimraf": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", @@ -3233,19 +6755,191 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, - "snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=" + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "requires": { + "kind-of": "^3.2.0" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + }, + "source-map-resolve": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", + "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "requires": { + "atob": "^2.1.1", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", + "requires": { + "source-map": "^0.5.6" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" + }, + "spdx-correct": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", + "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", + "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==" + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", + "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==" + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" + "object-copy": "^0.1.0" }, "dependencies": { "define-property": { @@ -3255,33 +6949,265 @@ "requires": { "is-descriptor": "^0.1.0" } + } + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "requires": { - "is-extendable": "^0.1.0" + "ansi-regex": "^3.0.0" } } } }, - "snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" + }, + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "test-exclude": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-4.2.1.tgz", + "integrity": "sha512-qpqlP/8Zl+sosLxBcVKl9vYy26T9NPalxSzzCP/OY6K7j938ui2oKgo+kRZYfxAeIpLqpbVnsHq1tyV70E4lWQ==", + "requires": { + "arrify": "^1.0.1", + "micromatch": "^3.1.8", + "object-assign": "^4.1.0", + "read-pkg-up": "^1.0.1", + "require-main-filename": "^1.0.1" }, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=" + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=" + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", "requires": { - "is-descriptor": "^1.0.0" + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" } }, "is-accessor-descriptor": { @@ -3310,6 +7236,24 @@ "kind-of": "^6.0.2" } }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, "isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", @@ -3319,167 +7263,86 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" - } - } - }, - "snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "requires": { - "kind-of": "^3.2.0" - } - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - }, - "source-map-resolve": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", - "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", - "requires": { - "atob": "^2.1.1", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "source-map-url": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", - "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" - }, - "spdx-correct": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", - "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", - "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==" - }, - "spdx-expression-parse": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", - "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==" - }, - "split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "requires": { - "extend-shallow": "^3.0.0" - } - }, - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "stack-trace": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", - "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=" - }, - "static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", "requires": { - "is-descriptor": "^0.1.0" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" } - } - } - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", "requires": { - "ansi-regex": "^3.0.0" + "pinkie-promise": "^2.0.0" + } + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "requires": { + "is-utf8": "^0.2.0" } } } }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" - }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", - "requires": { - "has-flag": "^3.0.0" - } - }, "thenify": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.2.1.tgz", @@ -3496,6 +7359,11 @@ "thenify": ">= 3.1.0 < 4" } }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" + }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -3534,11 +7402,84 @@ } } }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "requires": { + "prelude-ls": "~1.1.2" + } + }, "type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" }, + "uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "optional": true, + "requires": { + "source-map": "~0.5.1", + "uglify-to-browserify": "~1.0.0", + "yargs": "~3.10.0" + }, + "dependencies": { + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "optional": true + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "optional": true, + "requires": { + "center-align": "^0.1.1", + "right-align": "^0.1.1", + "wordwrap": "0.0.2" + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "optional": true + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "optional": true + }, + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "optional": true, + "requires": { + "camelcase": "^1.0.2", + "cliui": "^2.1.0", + "decamelize": "^1.0.0", + "window-size": "0.1.0" + } + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "optional": true + }, "underscore": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz", diff --git a/package.json b/package.json index 4ea29d08..861fc3cc 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,26 @@ { "scripts": { "build": "node run.js", - "test": "SKIP_GENERATION=true node run.js", + "test": "nyc --exclude-after-remap=false mocha ---timeout 20000 ./src/**/test/*.js", "generate": "SKIP_TESTS=true node run.js" }, + "nyc": { + "include": [ + "src/**/lib/*.js" + ], + "exclude": [ + "src/**/test/*.js" + ], + "reporter": [ + "lcov", + "text-summary" + ], + "extension": [ + ".js" + ], + "cache": true, + "all": true + }, "dependencies": { "@accordproject/cicero-core": "0.4.1", "@accordproject/cicero-engine": "^0.4.1", @@ -15,7 +32,6 @@ "composer-common": "0.19.8", "fs-extra": "^6.0.1", "lodash": "^4.17.10", - "mkdirp": "^0.5.1", "mocha": "^5.2.0", "moment": "^2.22.2", "nunjucks": "^3.1.3", @@ -28,7 +44,10 @@ "description": "This repository host all Accord Project Cicero templates.", "version": "0.0.1", "main": "build.js", - "devDependencies": {}, + "devDependencies": { + "mkdirp": "^0.5.1", + "nyc": "^12.0.2" + }, "repository": { "type": "git", "url": "git+https://github.com/accordproject/cicero-template-library.git" diff --git a/run.js b/run.js index 0550a4db..7375f18f 100644 --- a/run.js +++ b/run.js @@ -16,10 +16,10 @@ const CodeGen = require('composer-common').CodeGen; const Template = require('@accordproject/cicero-core').Template; +const Clause = require('@accordproject/cicero-core').Clause; const rimraf = require('rimraf'); const path = require('path'); const nunjucks = require('nunjucks'); -const Mocha = require('mocha'); const plantumlEncoder = require('plantuml-encoder'); const showdown = require('showdown'); const uuidv1 = require('uuid/v1'); @@ -209,44 +209,23 @@ async function buildTemplates(preProcessor, postProcessor, selectedTemplate) { }; /** - * Runs the unit tests for a template + * Runs the standard tests for a template * @param {String} templatePath - the location of the template on disk * @param {Template} template */ async function templateUnitTester(templatePath, template) { - - if(process.env.SKIP_TESTS) { - console.log(`Skipping tests for ${templatePath}`); - return; - } - - console.log(`Running tests for ${templatePath}`); - - // Instantiate a Mocha instance. - var mocha = new Mocha({ - timeout: 20000 // allow 20 seconds for tests - }); - - var testDir = templatePath + '/test'; - - // Add each .js file to the mocha instance - fs.readdirSync(testDir).filter(function(file){ - // Only keep the .js files - return file.substr(-3) === '.js'; - - }).forEach(function(file){ - mocha.addFile( - path.join(testDir, file) - ); - }); - - // Run the tests - mocha.run(function(failures){ - if(failures) { - process.exitCode = failures ? -1 : 0; // exit with non-zero status if there were failures - throw new Error('Test failed for ' + templatePath); + // check that all the samples parse + const samples = template.getMetadata().getSamples(); + if(samples) { + const sampleValues = Object.values(samples); + + // should be TemplateInstance + const instance = new Clause(template); + + for(const s of sampleValues ) { + instance.parse(s); } - }); + } } /** @@ -287,10 +266,22 @@ async function templatePageGenerator(templatePath, template) { const sampleGenerationOptions = {}; sampleGenerationOptions.generate = true; sampleGenerationOptions.includeOptionalFields = true; - - const classDecl = template.getTemplateModel(); - const sampleInstance = template.getFactory().newResource( classDecl.getNamespace(), classDecl.getName(), uuidv1(), sampleGenerationOptions); - const instance = JSON.stringify(sampleInstance, null, 4); + let sampleInstanceText = null + + // parse the default sample and use it as the sample instance + const samples = template.getMetadata().getSamples(); + if(samples.default) { + // should be TemplateInstance + const instance = new Clause(template); + instance.parse(samples.default); + sampleInstanceText = JSON.stringify(instance.getData(), null, 4); + } + else { + // no sample was found, so we generate one + const classDecl = template.getTemplateModel(); + const sampleInstance = template.getFactory().newResource( classDecl.getNamespace(), classDecl.getName(), uuidv1(), sampleGenerationOptions); + sampleInstanceText = JSON.stringify(sampleInstance, null, 4); + } const requestTypes = {}; for(let type of template.getRequestTypes()) { @@ -319,7 +310,7 @@ async function templatePageGenerator(templatePath, template) { requestTypes: requestTypes, responseTypes: responseTypes, state: state, - instance: instance, + instance: sampleInstanceText, eventTypes: eventTypes }); await writeFile(`./build/${templatePageHtml}`, templateResult); diff --git a/src/acceptance-of-delivery/sample.txt b/src/acceptance-of-delivery/sample.txt index cc1c4695..4ca9634e 100644 --- a/src/acceptance-of-delivery/sample.txt +++ b/src/acceptance-of-delivery/sample.txt @@ -1,5 +1,5 @@ Acceptance of Delivery. "Party A" will be deemed to have completed its delivery obligations if in "Party B"'s opinion, the "Widgets" satisfies the Acceptance Criteria, and "Party B" notifies "Party A" in writing that it is accepting the "Widgets". -Inspection and Notice. "Party A" will have 10 Business Days' to inspect and evaluate the "Widgets" on the delivery date before notifying "Party A" that it is either accepting or rejecting the "Widgets". +Inspection and Notice. "Party B" will have 10 Business Days' to inspect and evaluate the "Widgets" on the delivery date before notifying "Party A" that it is either accepting or rejecting the "Widgets". Acceptance Criteria. The "Acceptance Criteria" are the specifications the "Widgets" must meet for the "Party A" to comply with its requirements and obligations under this agreement, detailed in "Attachment X", attached to this agreement. \ No newline at end of file diff --git a/src/fragile-goods/lib/logic.js b/src/fragile-goods/lib/logic.js index 0cb1849d..93b011bb 100644 --- a/src/fragile-goods/lib/logic.js +++ b/src/fragile-goods/lib/logic.js @@ -36,6 +36,10 @@ function execute(context) { res.amount.doubleValue = contract.deliveryPrice.doubleValue; res.amount.currencyCode = contract.deliveryPrice.currencyCode; + if(contract.deliveryPrice.currencyCode === 'XYZ') { + throw new Error("What!"); + } + req.accelerometerReadings.forEach(function(r){ if(r > data.accelerationMax){ res.amount.doubleValue -= contract.accelerationBreachPenalty.doubleValue; diff --git a/views/developers.njk b/views/developers.njk index 17969286..a20fba11 100644 --- a/views/developers.njk +++ b/views/developers.njk @@ -10,10 +10,10 @@

Sample Instance

-
{{instance}}
+
{{instance}}

State

-
{{state}}
+
{{state}}

Request Types

@@ -27,7 +27,7 @@ {% for type, sample in requestTypes |dictsort%} - + {% endfor %} @@ -45,7 +45,7 @@ {% for type, sample in responseTypes |dictsort%} - + {% endfor %} @@ -63,7 +63,7 @@ {% for type, sample in eventTypes |dictsort%} - + {% endfor %} diff --git a/views/page.njk b/views/page.njk index 3007de0f..74402b00 100644 --- a/views/page.njk +++ b/views/page.njk @@ -1,3 +1,6 @@ +{%set pre_style="white-space: pre-wrap; border: 0; background-color: transparent;"%} +{%set code_style="white-space: pre-wrap;"%} + diff --git a/views/template.njk b/views/template.njk index 09dfc406..f93078f1 100644 --- a/views/template.njk +++ b/views/template.njk @@ -39,7 +39,7 @@

Sample

-
+                
 {{template.getMetadata().getSample()}}
                 
From 6a27ab2286035f677978e2edb4ad4b172e4b7459 Mon Sep 17 00:00:00 2001 From: Dan Selman Date: Wed, 20 Jun 2018 14:43:32 +0100 Subject: [PATCH 2/4] Index page only displays latest versions. Template page includes version drop down Signed-off-by: Dan Selman --- build/acceptance-of-delivery@0.2.0.html | 71 +++- .../archives/acceptance-of-delivery@0.2.0.cta | Bin 52478 -> 52478 bytes build/archives/copyright-license@0.3.0.cta | Bin 58167 -> 58167 bytes build/archives/demandforecast@0.2.0.cta | Bin 30638 -> 30638 bytes build/archives/eat-apples@0.0.1.cta | Bin 30163 -> 30163 bytes build/archives/fragile-goods@0.2.0.cta | Bin 38171 -> 38171 bytes build/archives/helloworld@0.2.0.cta | Bin 28927 -> 28927 bytes build/archives/helloworldstate@0.2.0.cta | Bin 29822 -> 29822 bytes build/archives/installment-sale@0.2.0.cta | Bin 41071 -> 41071 bytes build/archives/ip-payment@0.1.0.cta | Bin 13978 -> 13978 bytes .../archives/latedeliveryandpenalty@0.2.0.cta | Bin 34546 -> 34546 bytes build/archives/one-time-payment@0.1.0.cta | Bin 27729 -> 27729 bytes build/archives/perishable-goods@0.2.0.cta | Bin 62319 -> 62319 bytes build/archives/promissory-note@0.2.0.cta | Bin 45460 -> 45460 bytes build/archives/saft@0.4.0.cta | Bin 66284 -> 66284 bytes build/archives/safte@0.3.0.cta | Bin 69871 -> 69871 bytes .../archives/servicelevelagreement@0.2.0.cta | Bin 41733 -> 41733 bytes ...supplyagreement-perishable-goods@0.1.0.cta | Bin 86266 -> 86266 bytes build/archives/supplyagreement@0.1.0.cta | Bin 37314 -> 37314 bytes build/archives/volumediscount@0.3.0.cta | Bin 35849 -> 35849 bytes build/copyright-license@0.3.0.html | 106 +++-- build/demandforecast@0.2.0.html | 79 +++- build/eat-apples@0.0.1.html | 67 ++- build/fragile-goods@0.2.0.html | 95 +++-- build/helloworld@0.2.0.html | 69 +++- build/helloworldstate@0.2.0.html | 69 +++- build/installment-sale@0.2.0.html | 104 +++-- build/ip-payment@0.1.0.html | 87 ++-- build/latedeliveryandpenalty@0.2.0.html | 85 +++- build/one-time-payment@0.1.0.html | 88 ++-- build/perishable-goods@0.2.0.html | 107 +++-- build/promissory-note@0.2.0.html | 106 +++-- build/saft@0.4.0.html | 130 ++++-- build/safte@0.3.0.html | 126 ++++-- build/servicelevelagreement@0.2.0.html | 90 ++-- ...upplyagreement-perishable-goods@0.1.0.html | 98 +++-- build/supplyagreement@0.1.0.html | 148 ++++--- build/template-library.json | 391 +++++++++++++++++- build/volumediscount@0.3.0.html | 88 +++- package.json | 1 + run.js | 55 ++- src/fragile-goods/lib/logic.js | 68 --- views/page.njk | 13 + views/template.njk | 19 + 44 files changed, 1765 insertions(+), 595 deletions(-) delete mode 100644 src/fragile-goods/lib/logic.js diff --git a/build/acceptance-of-delivery@0.2.0.html b/build/acceptance-of-delivery@0.2.0.html index 0b141418..5b63316b 100644 --- a/build/acceptance-of-delivery@0.2.0.html +++ b/build/acceptance-of-delivery@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -123,12 +166,12 @@

Technical Integration

Sample Instance

{
     "$class": "org.accordproject.acceptanceofdelivery.AcceptanceOfDeliveryClause",
-    "shipper": "resource:org.accordproject.organization.Organization#5993",
-    "receiver": "resource:org.accordproject.organization.Organization#3896",
-    "deliverable": "Sint non nostrud duis.",
-    "businessDays": 1680675505,
-    "attachment": "Consectetur magna quis sit consectetur.",
-    "clauseId": "b2074350-705d-11e8-8de1-21f5a797773f"
+    "clauseId": "fefeafa3-46ef-4276-b13b-471aa971f719",
+    "shipper": "Party A",
+    "receiver": "Party B",
+    "deliverable": "Widgets",
+    "businessDays": 10,
+    "attachment": "Attachment X"
 }

State

@@ -150,10 +193,10 @@

Request Types

@@ -174,11 +217,11 @@

Response Types

diff --git a/build/archives/acceptance-of-delivery@0.2.0.cta b/build/archives/acceptance-of-delivery@0.2.0.cta index 32b70205fe144da9290f555032333b936ae49041..c34138f5559a76479c6d976652973c26bfe7babb 100644 GIT binary patch delta 293 zcmex2llk9FX5IjAW)?065KzgzvXR$;kr_x&4q#LU(VNQ{<(R<&(^=+o00n&Z&awEl z*^c!R6IfK3LkXX#}S4opb`z t%BQTsbmA$9VTVt}f%z(@W59It=}<6z`*b*%Ha!yzrn}GRgXz6z908JUZ3zGX diff --git a/build/archives/copyright-license@0.3.0.cta b/build/archives/copyright-license@0.3.0.cta index fec61f2f19bfead5dc851079443ccf88e4879d03..c91e482d78cb489d6d4cabe0b8b3944190ab706f 100644 GIT binary patch delta 283 zcmdmfjCuPpX5IjAW)?065KzgzvXPgIkr_x&mSR)}(VHC@eTBgS6GY;{0-r=S3xNez zs4Ia5&Z_HxwQT;Q;mHaX@zDFj1ZKD!erE?W94!w)q}c2qKoq}p=!P)Lor2szY9^oQ zkO!-M*Kr{fEO79iIhg)^&lpS_-nR$S#rI9X^s4)&VEWO0BQP!gzzIypJg^4SvmSt5 mJo(RqI50oVO3{TdVdgXyNSI57RVEEG&zm+OP++;T?% DPpVYi delta 231 zcmZ4Yo^joKM&1B#W)?065U|xbKaux4Gmx6h&ZrEcH|sJUVFU|&VG0Ke_%Tn02s~j? z0t;}m>VO3{TdVdgXyNSI57RVEEG&zm+OP++;T?% DSC~*S diff --git a/build/archives/eat-apples@0.0.1.cta b/build/archives/eat-apples@0.0.1.cta index 12be1a59c854d176c2f48d4aad66f9f7517f8a92..71a3b4b0b6fdc6430e3827b127a8847c07447ff9 100644 GIT binary patch delta 232 zcmccon(^{$M&1B#W)?065Kzs%vXNJakr_x&R$^2J(VIOO7eWNyFcpIZl9=0}0xU{k z0YO$Bu)t;qHc=+9NCd|p2qT>PJ3Ck;Q1}olh%s4AQXVW|A!!&17RV_w2h+=njKTDs zB6~0`S8M{NLyJwpbZ@Z{m_AhO1g6PJ3Ck;Q1}olh%s4AQXVW|A!!&17RV_w2h+=njKTDs zB6~0`S8M{NLyJwpbZ@Z{m_AhO1g6047A0ZM9I!vFvP delta 249 zcmbQeifQ&LCf)#VW)?065OCBvzmZp)kr_x&wq{fY(VG()Wmv%i4QyRt0bce!EMS2% z+)7}9kK8(7Et?g1Ex047A0VrQs4*&oF diff --git a/build/archives/helloworld@0.2.0.cta b/build/archives/helloworld@0.2.0.cta index 2b72cbf97bbe687efcd456a0251e099d440c7f30..3782bf16fa17d53cb0ff8dad83493265d206bd81 100644 GIT binary patch delta 230 zcmezWkn#URM&1B#W)?065Kzm#vXM85kr_x&E@D&$(=!+o!1Qm%&tUo^Qxur?V^#vu zn~Rxsz#29$Vlid{i`-!Q17Td}{LT&*xhQyu6|8BRxI9>3hxpx4u)vI5b1;1=*BDH5 z3hxpx4u)vI5b1;1=*BDH5 zZjS`b1zyjih=3qLo&=^d& z7utjAlZ7TAdQy=om}^mF1g3L~oWS&^B5N@Hp(q|q2NlPG>CMHVV4Ax`A57bpI068d CR#cV% delta 230 zcmezOg7M!AM&1B#W)?065OC5tzmazpBQubmyo*s8Og~^u0MVPBnXDlajm%MCiF?dS zUZjS`b1zyjih=3qLo&=^d& z7utjAlZ7TAdQy=om}^mF1g3L~oWS&^B5N@Hp(q|q2NlPG>CMHVV4Ax`A57bpI068~ CC{Q>6 diff --git a/build/archives/installment-sale@0.2.0.cta b/build/archives/installment-sale@0.2.0.cta index b4aeb79686fffedf662522bc78209baff6082852..134e8e85c8829b0096b55131664f3293742de02c 100644 GIT binary patch delta 249 zcmaEVfa(1KCf)#VW)?065Kzy(vXPgYkr_x&mS$82(VHC^g_ywtVJul-fx|3Yn7{&6 z>`GvP`RqDiEt}7A++_uetmEs0h}aAK0ju3?C;XiqEM*~m2&`uEUj=!vfV|@BY7k@c z**WH5ntiS@n6{m352owqnt`GvP`RqDiEt}7A++_uetmEs0h}aAK0ju3?C;XiqEM*~m2&`uEUj=!vfV|@BY7k@c z**WH5ntiS@n6{m352owqnt?yVePfltCp zU;%Lv9k7LFH;$YgbGd9aM9_5`q!$#;y* z!4hJ|#$ejV*d9#x8JmFVqsFFS`meDOm^LzT0@LLt)?j+8Nj#VqH;n_+6{aCz`n+i< Nm{vE_2h)*ejsSe0RVDxc delta 247 zcmbQ0J1dtrz?+$civa{&bk1+&bzo!$(vt%il|l68GDZzfu)spDX?yVePfltCp zU;%Lv9k7LFH;$YgbGd9aM9_5`q!$#;y* z!4hJ|#$ejV*d9#x8JmFVqsFFS`meDOm^LzT0@LLt)?j+8Nj#VqH;n_+6{aCz`n+i< Nm{vE_2h)*ejsSF8P^tg` diff --git a/build/archives/latedeliveryandpenalty@0.2.0.cta b/build/archives/latedeliveryandpenalty@0.2.0.cta index 9d214bf81e9ff37e0fd28a2f0b7decfec9cbfa97..1b74fd3bec51a33c7bab138802c026690fce79c8 100644 GIT binary patch delta 247 zcmey=%k-(2i8sKTnT3l11T=E5Oys@E45D5tgQ(5?j8m9EjLFNGv%vx)EGiHIYc?gY zKmwZ%Bbd?8{*@ifXy^X}Ry^8W+wd)ld6Tt$;&E{Y_ zx7ip>FK)I6(@&dCz_d(@DVPpvF#^+_ElyziT#F5u=537!)A_A&VERI92$)uH3kB2l LZTet(W1AxYcfef5 delta 247 zcmey=%k-(2i8sKTnT3l11l)AaPvpJH45D5tgQ(5?j8m9EjLFNGv%vx)EGiHIYc?gY zKmwZ%Bbd?8{*@ifXy^X}Ry^8W+wd)ld6Tt$;&E{Y_ zx7ip>FK)I6(@&dCz_d(@DVPpvF#^+_ElyziT#F5u=537!)A_A&VERI92$)uH3kB2l LZTet(W1AxYeAZZH diff --git a/build/archives/one-time-payment@0.1.0.cta b/build/archives/one-time-payment@0.1.0.cta index 2d8194b661c2f3b2b8d483fbedc04e21d111d134..f1c2d5f5f8a0ef3bc9940f5c716eedb266f93ea7 100644 GIT binary patch delta 229 zcmcb3gYn`GM&1B#W)?065YWiIGLiQOGmx6h!Ke(T^%xg}=_`yAz;rrO2bliEqy(Zj zi!|l{Cf`?c^jLDVa@?e44;y!_3fma#kU|J>97)(cH z+JosinI>TRa;7Pm=FTz#(+*iqV7fKS8cZL~iU-rG*>PaHEjtuU-^|l{Cf`?c^jLDVa@?e44;y!_3fma#kU|J>97)(cH z+JosinI>TRa;7Pm=FTz#(+*iqV7fKS8cZL~iU-rG*>PaHEjtuU-^=(VLqXYgoVnjBKmH0_)j+F@pux za4CTWE^_IBwQS;v<^c=DN&H~~Gh(H`vx6Do%C2A~o9C-^Lm0Yh4=(VLqXYgoVnjBKmH0_)j+F@pux za4CTWE^_IBwQS;v<^c=DN&H~~Gh(H`vx6Do%C2A~o9C-^Lm0Yh4Est+L(;OlPjQ2Gh&e$Af9k Z4RK&PYeOiQKC~eQOe=2G2h+hD9RWlyVKe{$ delta 273 zcmbR8m}$ymCf)#VW)?065b)4BKauwhGl=@545BtGF|LyUF(zM@tOE;#NM%9<4j3tc z1)dt|FoGE(CSojLhOWgQCNM+C`a3(Aq2_#u70h_;k;Est+L(;OlPjQ2Gh&e$Af9k Z4RK&PYeOiQKC~eQOe=2G2h+hD9RU<|T+{#n diff --git a/build/archives/saft@0.4.0.cta b/build/archives/saft@0.4.0.cta index b0b9af5da9bc0d1752e086597ac0677c13615698..e6840e43c86a86bda9b116f03a2f35018dd721ea 100644 GIT binary patch delta 272 zcmaFU%JQa_g*U*PnT3l11hjImY~;0NWCqfceHoQO^yXs5g*IRTal7|m0Zw}th(JKK z5?G+LS_iCU^O70^Zm`Jp_CHKu#|n-)Nrza$jHxqHA&URb{0Xt>=WKbfjP#r} zNg&4LQ~%7tG|PWuFm3hU9!%H#Hv!X||C@s8*Z++`^i%~#CorALXbq+pGsc7H>8y;5 iabQLoBV#C-v5%242F#FUVvGbcDw!Dd!Hm^RjE(?dQD^P| delta 272 zcmaFU%JQa_g*U*PnT3l11iW<4Z{)RQWCqfceHoQO^yXs5g*IRTal7|m0Zw}th(JKK z5?G+LS_iCU^O70^Zm`Jp_CHKu#|n-)Nrza$jHxqHA&URb{0Xt>=WKbfjP#r} zNg&4LQ~%7tG|PWuFm3hU9!%H#Hv!X||C@s8*Z++`^i%~#CorALXbq+pGsc7H>8y;5 iabQLoBV#C-v5%242F#FUVvGbcDw!Dd!Hm^RjE(>w^<#Pf diff --git a/build/archives/safte@0.3.0.cta b/build/archives/safte@0.3.0.cta index 619f40ffc119650eaa507ec065105a3618ce99a0..6186362602b97cd21fbd59189d5fd1ce2cd8a20c 100644 GIT binary patch delta 264 zcmaFAkmdbC7Ty4FW)?065YW!OvXM8Qkr_x&&Sz8x(VM3-#@K@yUmRq>GMj~+=GlRj zY-vye%iL_xfyi()9bgBGobLR?1ZJG-`3?~|GUX>k&4Fo$Si!nm=g5PVET7X<0Aftn z;bk-jGtzh&jlqmLyo_MGr{CjcGy#i<@-do%8NPgsMqox0AEOhPah#9Q8q8qjXN(6k g()k(Vz>E|8jFDi5iU4CMm{B9Zs1IhW6JT@%0O(m=!vFvP delta 264 zcmaFAkmdbC7Ty4FW)?065b)MHzmYedkr_x&&Sz8x(VM3-#@K@yUmRq>GMj~+=GlRj zY-vye%iL_xfyi()9bgBGobLR?1ZJG-`3?~|GUX>k&4Fo$Si!nm=g5PVET7X<0Aftn z;bk-jGtzh&jlqmLyo_MGr{CjcGy#i<@-do%8NPgsMqox0AEOhPah#9Q8q8qjXN(6k g()k(Vz>E|8jFDi5iU4CMm{B9Zs1IhW6JT@%0NHn0n*aa+ diff --git a/build/archives/servicelevelagreement@0.2.0.cta b/build/archives/servicelevelagreement@0.2.0.cta index 0ef97ab13abb84653e006daf736a5be69a66f226..218508098a39c302b6b9aab3b9003f8dfa24f858 100644 GIT binary patch delta 258 zcmZoY#?*R@i8sKTnT3l11axw*Y~*EPWCqfcg&37V^kxgj-vVF(GoguKfm1@&5CIQm zC9puQvJP0w<~b_QnZP1#>VF`NR;};sV3B&GL#(Pm<9xvOKnWHgos*fQkK%yMX%;5w zAU%`k&Nm0s*XJ99Y2F3)VA_9y37BqMU<#)9EieMppBFfRX^Vw6V7h!^Jea<@Fb+&x QEeZwGlNRZN=_89A0l|e?`v3p{ delta 258 zcmZoY#?*R@i8sKTnT3l11blSPZ{%fSWCqfcg&37V^kxgj-vVF(GoguKfm1@&5CIQm zC9puQvJP0w<~b_QnZP1#>VF`NR;};sV3B&GL#(Pm<9xvOKnWHgos*fQkK%yMX%;5w zAU%`k&Nm0s*XJ99Y2F3)VA_9y37BqMU<#)9EieMppBFfRX^Vw6V7h!^Jea<@Fb+&x QEeZwGlNRZN=_89A0rT}%9{>OV diff --git a/build/archives/supplyagreement-perishable-goods@0.1.0.cta b/build/archives/supplyagreement-perishable-goods@0.1.0.cta index c8d5e7ce71ba1ed67d9b5513852f9fd17089da0e..bcc5df62af713952d8aa3a1f15641f80a3499d9c 100644 GIT binary patch delta 353 zcmeyhkoDI>R^9+_W)?065YWrLvXM7~kr_x&u3%IK(VOQn*6D)<PA3K?Ix= zmB0cSi8^2{o2MtOW&?}3W;$?!868D`n81wo((mkGMq{ljMDfYGZU`g1;Q@qU)pUpz ztmc2aBSgfxGsq1jGI_>%d9ci`^Vh3EjOkOn8O_0rbKZ=`UGpa#t<;$gdbx#n4#p) h7z1WB`ZI=t88=}J!vMx$ut<9VBRF)X?+jpc1OWK1f^`4@ delta 353 zcmeyhkoDI>R^9+_W)?065D3;ezmYeCkr_x&u3%IK(VOQn*6D)<PA3K?Ix= zmB0cSi8^2{o2MtOW&?}3W;$?!868D`n81wo((mkGMq{ljMDfYGZU`g1;Q@qU)pUpz ztmc2aBSgfxGsq1jGI_>%d9ci`^Vh3EjOkOn8O_0rbKZ=`UGpa#t<;$gdbx#n4#p) h7z1WB`ZI=t88=}J!vMx$ut<9VBRF)X?+jpc1OTwxeUAVD diff --git a/build/archives/supplyagreement@0.1.0.cta b/build/archives/supplyagreement@0.1.0.cta index 7381aee20d5e054f5849903786f5022a2d85be1e..344274bc920a1149e9ae1be7db5c25910f1e0eff 100644 GIT binary patch delta 290 zcmX@KnCZ}BCf)#VW)?065YWlJGLiQ;Gmx6h&8Q5b7aKC_g83$TK_Gf_ryjR9SYUdj z5?EkQqz)sP@jB`~JD71dX(mLZGUX2wSfnETJ4C7||0hH$ukaA7D$qP1u)R=%1xV*) zCh4O%Xmec`%J*}qCQhFeXGw1O!N0Uf$5NbYcM^j j-x*Bb=#K}}RukgD^y~?dVEX%nP%!O3Q6Eec`%J*}qCQhFeXGw1O!N0Uf$5NbYcM^j j-x*Bb=#K}}RukgD^y~?dVEX%nP%!O3Q6Ee#E5u)x9&b1;3o!x&5p zcG`pK;7$`T-PLIdrVn)*f$8s^PGH)m%LYtWcg2J0yIpZ$+O9hkOi%092h%6I9RW*t BR>S}R delta 230 zcmeC2!PGf}i8sKTnT3l11VVJqPvkw#45Dr;gQ(4njD=hv#^h4&aInC6ZefVPQ&A#E5u)x9&b1;3o!x&5p zcG`pK;7$`T-PLIdrVn)*f$8s^PGH)m%LYtWcg2J0yIpZ$+O9hkOi%092h%6I9RcrH BQ-lBj diff --git a/build/copyright-license@0.3.0.html b/build/copyright-license@0.3.0.html index 4f887271..c3f4e31d 100644 --- a/build/copyright-license@0.3.0.html +++ b/build/copyright-license@0.3.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Copyright License

Sample

-
+                
 Copyright License Agreement
 
 This COPYRIGHT LICENSE AGREEMENT (the "Agreement"), dated as of 01/01/2018 (the "Effective Date"), is made by and between "Me" ("Licensee"), a "NY" "Company" with offices located at "1 Broadway", and "Myself" ("Licensor"), a "NY" "Company" with offices located at "2 Broadway".
@@ -147,39 +190,36 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.copyrightlicense.CopyrightLicenseContract",
-    "effectiveDate": "2018-06-15T05:33:57.781Z",
-    "licenseeName": "Excepteur pariatur labore incididunt.",
-    "licenseeState": "Exercitation velit est velit.",
-    "licenseeEntityType": "Elit occaecat.",
-    "licenseeAddress": "Anim quis adipisicing in.",
-    "licensorName": "Officia occaecat dolore ullamco magna.",
-    "licensorState": "In consequat velit.",
-    "licensorEntityType": "Consectetur ad reprehenderit sit.",
-    "licensorAddress": "Eu sint labore.",
-    "territory": "Voluptate veniam eu.",
-    "purposeDescription": "Dolor pariatur pariatur dolor laborum.",
-    "workDescription": "Labore laboris.",
+    "contractId": "bb339af1-9d3a-4ec2-9082-5cfbdefdb454",
+    "effectiveDate": "2018-01-01",
+    "licenseeName": "Me",
+    "licenseeState": "NY",
+    "licenseeEntityType": "Company",
+    "licenseeAddress": "1 Broadway",
+    "licensorName": "Myself",
+    "licensorState": "NY",
+    "licensorEntityType": "Company",
+    "licensorAddress": "2 Broadway",
+    "territory": "United States",
+    "purposeDescription": "stuff",
+    "workDescription": "other stuff",
     "paymentClause": {
         "$class": "org.accordproject.copyrightlicense.PaymentClause",
-        "amountText": "Sit nisi sunt aliqua culpa.",
+        "clauseId": "7ecec691-c81a-4ca6-9b1d-20cb93590db4",
+        "amountText": "one hundred US Dollars",
         "amount": {
             "$class": "org.accordproject.money.MonetaryAmount",
-            "doubleValue": 110.192,
-            "currencyCode": "TRY"
+            "doubleValue": 100,
+            "currencyCode": "USD"
         },
-        "paymentProcedure": "Adipisicing laborum tempor.",
-        "clauseId": "2095"
-    },
-    "contractId": "b355bc50-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#1204"
-    ]
+        "paymentProcedure": "bank transfer"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -195,10 +235,10 @@

Request Types

- @@ -217,15 +257,15 @@

Response Types

- diff --git a/build/demandforecast@0.2.0.html b/build/demandforecast@0.2.0.html index c7a0f942..438823ee 100644 --- a/build/demandforecast@0.2.0.html +++ b/build/demandforecast@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Demand Forecast

Sample

-
+                
 On or before the 04/02/2018, and thereafter on or before the last day of each calendar quarter, the Purchaser "PETER" shall send the Supplier "DAN" a Supply Forecast. The Supply Forecast will be a binding commitment on the Purchaser’s behalf to purchase during the first quarter included in each Supply Forecast at least 85% of the quantity of the listed Product.
 
                 
@@ -116,17 +159,17 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.demandforecast.DemandForecastClause",
-    "purchaser": "Adipisicing adipisicing ipsum.",
-    "supplier": "Adipisicing labore.",
-    "effectiveDate": "2018-06-15T05:33:58.655Z",
-    "minimumPercentage": 100.355,
-    "clauseId": "b3db18f0-705d-11e8-8de1-21f5a797773f"
+    "clauseId": "656099de-4283-4173-85f2-ba7b61abd83a",
+    "purchaser": "PETER",
+    "supplier": "DAN",
+    "effectiveDate": "2018-04-02",
+    "minimumPercentage": 85
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -142,11 +185,11 @@

Request Types

- @@ -165,13 +208,13 @@

Response Types

- diff --git a/build/eat-apples@0.0.1.html b/build/eat-apples@0.0.1.html index 8cc7a6bb..31d699c6 100644 --- a/build/eat-apples@0.0.1.html +++ b/build/eat-apples@0.0.1.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,25 @@

+

Download Archive

@@ -87,7 +122,7 @@

Eat Apples!

Sample

-
+                
 Eating healthy clause between "Dan" (the Employee) and "ACME" (the Company). The canteen only sells apple products. Apples, apple juice, apple flapjacks, toffee apples. Employee gets fired if caught eating anything without apples in it. THE EMPLOYEE, IF ALLERGIC TO APPLES, SHALL ALWAYS BE HUNGRY. Apple products at the canteen are subject to a 4.5% tax.
                 
@@ -115,16 +150,16 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.canteen.CanteenClause",
-    "employee": "Consectetur labore ut.",
-    "company": "Veniam dolore ex.",
-    "tax": 210.896,
-    "clauseId": "b4eb0250-705d-11e8-8de1-21f5a797773f"
+    "clauseId": "7a2bc19d-e032-47ca-9fd1-df86bb420312",
+    "employee": "Dan",
+    "company": "ACME",
+    "tax": 4.5
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -140,12 +175,12 @@

Request Types

- @@ -164,11 +199,11 @@

Response Types

- diff --git a/build/fragile-goods@0.2.0.html b/build/fragile-goods@0.2.0.html index 458334a1..abd7df1b 100644 --- a/build/fragile-goods@0.2.0.html +++ b/build/fragile-goods@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Fragile Goods

Sample

-
+                
 6.1.7 Liquidated Damages for Delayed Delivery. 
 In the event the EXW delivery date of the Equipment is delayed beyond the delivery schedule as indicated in Annex A, solely through the fault of the Seller, and unless the parties mutually agreed to an extension thereto, the Buyer is entitled to claim liquidated damages in an amount equivalent to 200.00 USD. 
 Prior to implementing the provisions of Article 16.4 pursuant to this section, Buyer agrees that it shall discuss with Seller alternate remedies in good faith.. . . . 
@@ -132,35 +175,35 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "io.clause.demo.fragileGoods.FragileGoodsClause",
+    "clauseId": "1f9f0cf9-331d-45cf-8b08-b915fecd806e",
     "deliveryPrice": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 18.204,
-        "currencyCode": "DJF"
+        "doubleValue": 1000,
+        "currencyCode": "USD"
     },
-    "accelerationMin": 178.307,
-    "accelerationMax": 215.962,
+    "accelerationMin": -0.5,
+    "accelerationMax": 0.5,
     "accelerationBreachPenalty": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 37.563,
-        "currencyCode": "XBD"
+        "doubleValue": 5,
+        "currencyCode": "USD"
     },
     "deliveryLimitDuration": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 3833536835,
+        "amount": 10,
         "unit": "seconds"
     },
     "lateDeliveryPenalty": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 186.284,
-        "currencyCode": "NZD"
-    },
-    "clauseId": "b64a6b40-705d-11e8-8de1-21f5a797773f"
+        "doubleValue": 200,
+        "currencyCode": "USD"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -176,16 +219,16 @@

Request Types

- @@ -204,15 +247,15 @@

Response Types

- diff --git a/build/helloworld@0.2.0.html b/build/helloworld@0.2.0.html index f9fc83c4..183e3136 100644 --- a/build/helloworld@0.2.0.html +++ b/build/helloworld@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Hello World

Sample

-
+                
 Name of the person to greet: "Fred Blogs".
 Thank you!
                 
@@ -116,14 +159,14 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.helloworld.HelloWorldClause",
-    "name": "Enim laborum ipsum labore officia.",
-    "clauseId": "b72fe940-705d-11e8-8de1-21f5a797773f"
+    "clauseId": "080cd491-80bf-4816-9a00-00fa7dca0063",
+    "name": "Fred Blogs"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -139,11 +182,11 @@

Request Types

- @@ -162,11 +205,11 @@

Response Types

- diff --git a/build/helloworldstate@0.2.0.html b/build/helloworldstate@0.2.0.html index f52f152c..48171fc7 100644 --- a/build/helloworldstate@0.2.0.html +++ b/build/helloworldstate@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Hello World State

Sample

-
+                
 Name of the person to greet: "Fred Blogs".
 Thank you!
                 
@@ -116,14 +159,14 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.helloworldstate.HelloWorldClause",
-    "name": "Lorem consectetur.",
-    "clauseId": "b81d2f70-705d-11e8-8de1-21f5a797773f"
+    "clauseId": "0cc24e4c-5d99-4c1c-8493-efe97b1e26a6",
+    "name": "Fred Blogs"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -139,11 +182,11 @@

Request Types

- @@ -162,11 +205,11 @@

Response Types

- diff --git a/build/installment-sale@0.2.0.html b/build/installment-sale@0.2.0.html index dc4d7ea2..1ad0b4e4 100644 --- a/build/installment-sale@0.2.0.html +++ b/build/installment-sale@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Installment Sale

Sample

-
+                
 "Dan" agrees to pay to "Ned" the total sum e10000, in the manner following:
 
 E500 is to be paid at closing, and the remaining balance of E9500 shall be paid as follows:
@@ -124,23 +167,20 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.installmentsale.InstallmentSaleContract",
-    "BUYER": "Consectetur dolore qui.",
-    "SELLER": "Fugiat.",
-    "INITIAL_DUE": 145.256,
-    "INTEREST_RATE": 102.135,
-    "TOTAL_DUE_BEFORE_CLOSING": 239.47,
-    "MIN_PAYMENT": 194.393,
-    "DUE_AT_CLOSING": 63.928,
-    "contractId": "b9372af0-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#8481"
-    ]
+    "contractId": "24173c00-721a-45b8-8fea-44201b48eff5",
+    "BUYER": "Dan",
+    "SELLER": "Ned",
+    "INITIAL_DUE": 10000,
+    "INTEREST_RATE": 1.5,
+    "TOTAL_DUE_BEFORE_CLOSING": 9500,
+    "MIN_PAYMENT": 500,
+    "DUE_AT_CLOSING": 500
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -156,21 +196,21 @@

Request Types

- - @@ -189,12 +229,12 @@

Response Types

- @@ -213,12 +253,12 @@

Events Types

- diff --git a/build/ip-payment@0.1.0.html b/build/ip-payment@0.1.0.html index 1d0a0294..58d6df2a 100644 --- a/build/ip-payment@0.1.0.html +++ b/build/ip-payment@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,29 @@

+

Download Archive

@@ -87,7 +126,7 @@

IP Payment Clause

Sample

-
+                
 Payments.
 
 1.  Royalty. On or before the last business day of each Quarterly Period during the Term and any Sell-off Period, Licensee shall pay to Licensor a royalty of "four point five" percent (4.5%) of the Net Sales Price for the respective preceding Quarterly Period.
@@ -133,27 +172,27 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.ippayment.IntellectualPropertyPaymentClause",
-    "royaltyText": "Exercitation elit.",
-    "royaltyRate": 131.76,
-    "sublicensingRoyaltyText": "Ipsum officia.",
-    "sublicensingRoyaltyRate": 181.562,
+    "clauseId": "64eed582-16d6-465a-b53f-8ab16f23c393",
+    "royaltyText": "four point five",
+    "royaltyRate": 4.5,
+    "sublicensingRoyaltyText": "five point two",
+    "sublicensingRoyaltyRate": 5.2,
     "paymentPeriod": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 2676849767,
-        "unit": "years"
+        "amount": 10,
+        "unit": "days"
     },
     "paymentPeriodWithPermission": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 1800144811,
-        "unit": "seconds"
-    },
-    "clauseId": "ba772500-705d-11e8-8de1-21f5a797773f"
+        "amount": 7,
+        "unit": "days"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -169,13 +208,13 @@

Request Types

- @@ -194,12 +233,12 @@

Response Types

- diff --git a/build/latedeliveryandpenalty@0.2.0.html b/build/latedeliveryandpenalty@0.2.0.html index d250c400..e41c492f 100644 --- a/build/latedeliveryandpenalty@0.2.0.html +++ b/build/latedeliveryandpenalty@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Late Delivery And Penalty

Sample

-
+                
 Late Delivery and Penalty. In case of delayed delivery except for Force Majeure cases, the Seller shall pay to the Buyer for every 2 days of delay penalty amounting to 10.5% of the total value of the Equipment whose delivery has been delayed. Any fractional part of a days is to be considered a full days. The total amount of penalty shall not however, exceed 55% of the total value of the Equipment involved in late delivery. If the delay is more than 15 days, the Buyer is entitled to terminate this Contract.
                 
@@ -117,27 +160,27 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyClause",
+    "clauseId": "239fa511-3745-428c-8ff8-d8d9608d6778",
     "forceMajeure": true,
     "penaltyDuration": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 2178669850,
-        "unit": "hours"
+        "amount": 2,
+        "unit": "days"
     },
-    "penaltyPercentage": 37.989,
-    "capPercentage": 28.852,
+    "penaltyPercentage": 10.5,
+    "capPercentage": 55,
     "termination": {
         "$class": "org.accordproject.time.Duration",
-        "amount": 509211196,
-        "unit": "weeks"
+        "amount": 15,
+        "unit": "days"
     },
-    "fractionalPart": "hours",
-    "clauseId": "bc036a50-705d-11e8-8de1-21f5a797773f"
+    "fractionalPart": "days"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -153,14 +196,14 @@

Request Types

- @@ -179,12 +222,12 @@

Response Types

- diff --git a/build/one-time-payment@0.1.0.html b/build/one-time-payment@0.1.0.html index c393d57e..db285186 100644 --- a/build/one-time-payment@0.1.0.html +++ b/build/one-time-payment@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,25 @@

+

Download Archive

@@ -87,7 +122,7 @@

One Time Payment Contract

Sample

-
+                
 An initial payment of 0.01 USD shall be made by "Dan" to "Steve" upon execution of this Agreement.
 
                 
@@ -118,23 +153,20 @@

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.payment.onetime.OneTimePaymentContract",
-    "partyA": "Tempor id velit.",
-    "partyB": "Nulla aliqua.",
+    "contractId": "376fe27b-bccd-47ef-a911-823921ab68f9",
+    "partyA": "Dan",
+    "partyB": "Steve",
     "initialAmount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 94.647,
-        "currencyCode": "KGS"
-    },
-    "contractId": "bcdd9db0-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#5914"
-    ]
+        "doubleValue": 0.01,
+        "currencyCode": "USD"
+    }
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -150,10 +182,10 @@

Request Types

- @@ -172,10 +204,10 @@

Response Types

- @@ -194,20 +226,20 @@

Events Types

- diff --git a/build/perishable-goods@0.2.0.html b/build/perishable-goods@0.2.0.html index 13403f98..c1de8d00 100644 --- a/build/perishable-goods@0.2.0.html +++ b/build/perishable-goods@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Perishable Goods

Sample

-
+                
 On receipt of the shipment "SHIP_001" the importer "DAN" pays the grower "PETER" 1.50 USD per KG. The shipment must contain between 3000 and 3500 KG of "Grade I, Size 4, Zutano Mexican Avocados".
 
 Shipping containers used must be temperature and humidity controlled, and sensor readings must be logged at least 1 per hours.
@@ -139,33 +182,33 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.perishablegoods.PerishableGoodsClause",
-    "grower": "resource:org.accordproject.perishablegoods.Grower#6884",
-    "importer": "resource:org.accordproject.perishablegoods.Importer#9389",
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#7823",
-    "dueDate": "2018-06-15T05:34:16.095Z",
+    "clauseId": "274df2b0-a5a1-430e-8134-a1922e1758bc",
+    "grower": "PETER",
+    "importer": "DAN",
+    "shipment": "SHIP_001",
+    "dueDate": "2018-07-02",
     "unitPrice": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 139.328,
-        "currencyCode": "AOA"
+        "doubleValue": 1.5,
+        "currencyCode": "USD"
     },
-    "unit": "GRAM",
-    "minUnits": 14077,
-    "maxUnits": 42223,
-    "product": "Exercitation.",
-    "sensorReadingFrequency": 44802,
+    "unit": "KG",
+    "minUnits": 3000,
+    "maxUnits": 3500,
+    "product": "Grade I, Size 4, Zutano Mexican Avocados",
+    "sensorReadingFrequency": 1,
     "duration": "hours",
-    "minTemperature": 181.953,
-    "maxTemperature": 37.166,
-    "minHumidity": 60.75,
-    "maxHumidity": 124.132,
-    "penaltyFactor": 206.892,
-    "clauseId": "be403af0-705d-11e8-8de1-21f5a797773f"
+    "minTemperature": 2,
+    "maxTemperature": 13,
+    "minHumidity": 70,
+    "maxHumidity": 90,
+    "penaltyFactor": 0.2
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -181,12 +224,12 @@

Request Types

- @@ -205,14 +248,14 @@

Response Types

- diff --git a/build/promissory-note@0.2.0.html b/build/promissory-note@0.2.0.html index 9e06e9c7..395ceb46 100644 --- a/build/promissory-note@0.2.0.html +++ b/build/promissory-note@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,37 @@

+

Download Archive

@@ -87,7 +134,7 @@

Promissory Note

Sample

-
+                
 PROMISSORY NOTE 
 1000 USD 01/30/2018
 
@@ -148,38 +195,35 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.promissorynote.PromissoryNote",
+    "contractId": "7e872e6a-8a8e-48c4-a7a6-aac6c7892d72",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 8.057,
-        "currencyCode": "DKK"
+        "doubleValue": 1000,
+        "currencyCode": "USD"
     },
-    "date": "2018-06-15T05:34:17.499Z",
-    "maker": "Adipisicing pariatur dolore deserunt.",
-    "interestRate": 35.883,
+    "date": "2018-01-30",
+    "maker": "Daniel Selman",
+    "interestRate": 3.8,
     "individual": true,
-    "makerAddress": "Ipsum dolore quis anim.",
-    "lender": "Sunt sit amet.",
-    "legalEntity": "LLLP",
-    "lenderAddress": "Cillum ad exercitation aute.",
+    "makerAddress": "1 Main Street",
+    "lender": "Clause",
+    "legalEntity": "CORP",
+    "lenderAddress": "246 5th Ave, 3rd Fl, New York, NY 10001",
     "principal": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 28.526,
-        "currencyCode": "KZT"
+        "doubleValue": 500,
+        "currencyCode": "USD"
     },
-    "maturityDate": "2018-06-15T05:34:17.499Z",
-    "defaultDays": 23070,
-    "insolvencyDays": 30304,
-    "jurisdiction": "Duis nulla veniam.",
-    "contractId": "bf1676b0-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#4283"
-    ]
+    "maturityDate": "2019-01-20",
+    "defaultDays": 90,
+    "insolvencyDays": 90,
+    "jurisdiction": "New York, NY"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -195,15 +239,15 @@

Request Types

- @@ -222,11 +266,11 @@

Response Types

- diff --git a/build/saft@0.4.0.html b/build/saft@0.4.0.html index 7ad67d75..164ef9a6 100644 --- a/build/saft@0.4.0.html +++ b/build/saft@0.4.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,37 @@

+

Download Archive

@@ -87,7 +134,7 @@

SAFT (Simple Agreement for Future To

Sample

-
+                
 NOTICE TO RESIDENTS OF THE UNITED STATES
 
 THE OFFER AND SALE OF THIS SECURITY INSTRUMENT HAS NOT BEEN REGISTERED UNDER THE U.S. SECURITIES ACT OF 1933, AS AMENDED (THE “SECURITIES ACT”), OR UNDER THE SECURITIES LAWS OF CERTAIN STATES.  THIS SECURITY MAY NOT BE OFFERED, SOLD OR OTHERWISE TRANSFERRED, PLEDGED OR HYPOTHECATED EXCEPT AS PERMITTED UNDER THE ACT AND APPLICABLE STATE SECURITIES LAWS PURSUANT TO AN EFFECTIVE REGISTRATION STATEMENT OR AN EXEMPTION THEREFROM.
@@ -214,41 +261,38 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.saft.SaftContract",
-    "token": "Anim ad exercitation.",
-    "company": "Anim eu do esse occaecat.",
-    "companyType": "GENERAL_PARTNERSHIP",
-    "state": "SC",
-    "amendmentProvision": false,
+    "contractId": "680c63ab-08b0-48d6-85aa-19892b0a2d18",
+    "token": "Clause Token",
+    "company": "Clause",
+    "companyType": "CORP",
+    "state": "NY",
+    "amendmentProvision": true,
     "purchaseAmount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 7.757,
-        "currencyCode": "MKD"
+        "doubleValue": 25,
+        "currencyCode": "USD"
     },
-    "currency": "MVR",
+    "currency": "EUR",
     "netProceedLimit": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 54.319,
-        "currencyCode": "NZD"
+        "doubleValue": 3000000,
+        "currencyCode": "USD"
     },
-    "date": "2018-06-15T05:34:21.121Z",
-    "deadlineDate": "2018-06-15T05:34:21.121Z",
-    "discountRatePercentage": 190.391,
-    "network": "Tempor cupidatat voluptate.",
-    "coin": "Duis.",
-    "exchanges": "Cillum minim reprehenderit.",
-    "companyRepresentative": "Mollit cupidatat cupidatat.",
-    "purchaser": "Qui.",
-    "description": "Est pariatur culpa aute cillum.",
-    "contractId": "c13f2310-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#7985"
-    ]
+    "date": "2017-10-04",
+    "deadlineDate": "2018-04-20",
+    "discountRatePercentage": 38,
+    "network": "Clause Network",
+    "coin": "Ether",
+    "exchanges": "itBit",
+    "companyRepresentative": "Peter Hunn",
+    "purchaser": "Daniel Charles Selman",
+    "description": "happiness and intergalactic equality"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -264,30 +308,30 @@

Request Types

- - @@ -306,16 +350,16 @@

Response Types

- diff --git a/build/safte@0.3.0.html b/build/safte@0.3.0.html index e543fcfe..8655676b 100644 --- a/build/safte@0.3.0.html +++ b/build/safte@0.3.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

SAFTE (Simple Agreement for

Sample

-
+                
 "ACME"
 
 SAFTE 
@@ -189,28 +232,25 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.safte.SafteContract",
-    "companyName": "Tempor ad nisi aliquip.",
-    "companyRegistrationNumber": 3336489292,
-    "purchaser": "Nisi pariatur est sunt nostrud.",
-    "jurisdiction": "SC",
-    "purchaseAmount": 60.876,
-    "discount": 178.69,
-    "projectName": "Officia velit sunt minim pariatur.",
-    "projectDescription": "Ullamco ex.",
-    "months": 51320,
-    "monthsText": "Occaecat.",
-    "amount": 181.379,
-    "amountText": "Magna occaecat ad cupidatat pariatur.",
-    "contractId": "c26b4700-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#1984"
-    ]
+    "contractId": "0961b571-eb1a-4922-95c9-4a7ef71c5419",
+    "companyName": "ACME",
+    "companyRegistrationNumber": 555,
+    "purchaser": "Dan",
+    "jurisdiction": "NY",
+    "purchaseAmount": 25,
+    "discount": 7,
+    "projectName": "Umbrella",
+    "projectDescription": "manages umbrella tokens",
+    "months": 12,
+    "monthsText": "twelve",
+    "amount": 1000,
+    "amountText": "one thousand"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -226,31 +266,31 @@

Request Types

- - - @@ -269,31 +309,31 @@

Response Types

- - - diff --git a/build/servicelevelagreement@0.2.0.html b/build/servicelevelagreement@0.2.0.html index 10c1be19..8b5b30b8 100644 --- a/build/servicelevelagreement@0.2.0.html +++ b/build/servicelevelagreement@0.2.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,33 @@

+

Download Archive

@@ -87,7 +130,7 @@

Service Level Agreement

Sample

-
+                
 1	Definitions
 
 1.1	In this Schedule:
@@ -178,23 +221,20 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.servicelevelagreement.ServiceLevelAgreementContract",
-    "paymentPeriod": 61721,
-    "monthlyCapPercentage": 240.415,
-    "yearlyCapPercentage": 224.364,
-    "availability1": 157.09,
-    "serviceCredit1": 81.2,
-    "availability2": 107.725,
-    "serviceCredit2": 150.94,
-    "contractId": "c3d1b4d0-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#8825"
-    ]
+    "contractId": "6a5334c2-1a5e-4ae9-a7c8-a5a642054c0b",
+    "paymentPeriod": 30,
+    "monthlyCapPercentage": 10,
+    "yearlyCapPercentage": 10,
+    "availability1": 99.8,
+    "serviceCredit1": 2,
+    "availability2": 98,
+    "serviceCredit2": 3
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -210,14 +250,14 @@

Request Types

- @@ -236,11 +276,11 @@

Response Types

- diff --git a/build/supplyagreement-perishable-goods@0.1.0.html b/build/supplyagreement-perishable-goods@0.1.0.html index 534814d0..0e328a3d 100644 --- a/build/supplyagreement-perishable-goods@0.1.0.html +++ b/build/supplyagreement-perishable-goods@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,25 @@

+

Download Archive

@@ -87,7 +122,7 @@

Supply Agreement with Perishable Goo

Sample

-
+                
 Supply Agreement
 
 This SUPPLY AGREEMENT (together with all schedules attached hereto, the “Agreement”) is entered into as of 06/30/2018 (the “Execution Date”) between "SUPPLIER CORPORATION", a Delaware corporation (“Supplier”), having a principal place of business at 12345 Main Street, California 92705, and "BUYER CORPORATION", a company organized and existing under the laws of Delaware (“Purchaser”), with a place of business at 12345 Second Avenue, New York, NY 10001.
@@ -249,32 +284,29 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.perishablegoods.contract.SupplyAgreementPerishableGoodsContract",
-    "grower": "resource:org.accordproject.perishablegoods.Grower#6048",
-    "importer": "resource:org.accordproject.perishablegoods.Importer#0266",
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#8730",
-    "dueDate": "2018-06-15T05:34:38.864Z",
-    "unitPrice": 141.353,
+    "contractId": "49573a18-8c78-41fe-83e0-189a101e1f5f",
+    "grower": "SUPPLIER CORPORATION",
+    "importer": "BUYER CORPORATION",
+    "shipment": "SHIP_001",
+    "dueDate": "2018-06-30",
+    "unitPrice": 1.5,
     "unit": "KG",
-    "minUnits": 33473,
-    "maxUnits": 24218,
-    "product": "Magna ex officia mollit irure.",
-    "sensorReadingFrequency": 54453,
-    "duration": "weeks",
-    "minTemperature": 62.796,
-    "maxTemperature": 176.862,
-    "minHumidity": 14.225,
-    "maxHumidity": 228.759,
-    "penaltyFactor": 62.707,
-    "contractId": "cbd28100-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#6728"
-    ]
+    "minUnits": 2995,
+    "maxUnits": 3005,
+    "product": "Grade I, Size 4, Zutano Mexican Avocados",
+    "sensorReadingFrequency": 1,
+    "duration": "hours",
+    "minTemperature": 2,
+    "maxTemperature": 13,
+    "minHumidity": 70,
+    "maxHumidity": 90,
+    "penaltyFactor": 0.2
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -290,12 +322,12 @@

Request Types

- @@ -314,14 +346,14 @@

Response Types

- diff --git a/build/supplyagreement@0.1.0.html b/build/supplyagreement@0.1.0.html index d06f8f0f..b9df1fc2 100644 --- a/build/supplyagreement@0.1.0.html +++ b/build/supplyagreement@0.1.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,29 @@

+

Download Archive

@@ -87,7 +126,7 @@

Supply Agreement

Sample

-
+                
 Supply Agreement
 
 This Supply Sales Agreement is made on 04/02/2018 (the "Effective Date") between "DAN" and "PETER".
@@ -230,36 +269,33 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.supplyagreement.SupplyAgreement",
-    "effectiveDate": "2018-06-15T05:34:31.163Z",
-    "supplier": "Aute officia officia exercitation quis.",
-    "buyer": "Duis quis minim id.",
-    "shortDescriptionOfTheProducts": "Mollit.",
-    "noticeWindow": 21710,
-    "cancellationWindow": 6019,
-    "minimumPercentage": 129.752,
-    "deliverables": "Sunt fugiat eiusmod.",
-    "deliveryWindow": 42851,
-    "deliveryAttachment": "Consectetur commodo aute fugiat.",
-    "inspectionWindow": 62088,
-    "acceptanceAttachment": "Culpa dolor cillum ex ea.",
-    "priceUpdateWindow": 40837,
-    "accountNumber": "Aute.",
-    "routingNumnber": "Laborum ad sit aliquip.",
-    "termYears": 30661,
-    "renewalYears": 2139,
-    "renewalWindow": 43423,
-    "governingState": "MI",
-    "venueState": "MS",
-    "contractId": "c73b6cb0-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#4462"
-    ]
+    "contractId": "e0aadbab-aa35-447e-b3d9-3f6922c68a30",
+    "effectiveDate": "2018-04-02",
+    "supplier": "DAN",
+    "buyer": "PETER",
+    "shortDescriptionOfTheProducts": "Umbrellas",
+    "noticeWindow": 2,
+    "cancellationWindow": 10,
+    "minimumPercentage": 85,
+    "deliverables": "Colorful Umbrellas",
+    "deliveryWindow": 1,
+    "deliveryAttachment": "Annex A",
+    "inspectionWindow": 3,
+    "acceptanceAttachment": "Annex B",
+    "priceUpdateWindow": 15,
+    "accountNumber": "XXX-XX",
+    "routingNumnber": "YYY-YY",
+    "termYears": 2,
+    "renewalYears": 1,
+    "renewalWindow": 30,
+    "governingState": "NY",
+    "venueState": "NY"
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -275,52 +311,52 @@

Request Types

- - - @@ -339,28 +375,28 @@

Response Types

- - - diff --git a/build/template-library.json b/build/template-library.json index 3a27b7af..66842f98 100644 --- a/build/template-library.json +++ b/build/template-library.json @@ -1 +1,390 @@ -{"acceptance-of-delivery@0.0.3":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"demandforecast@0.0.6":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"fragile-goods@0.0.4":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"helloworld@0.0.5":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"helloworldstate@0.0.5":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.0.5","ciceroVersion":"^0.3.0","type":1},"installment-sale@0.0.3":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.0.3","ciceroVersion":"^0.3.0","type":0},"ip-payment@0.0.3":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.0.3","ciceroVersion":"^0.3.0","type":1},"latedeliveryandpenalty@0.0.4":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"perishable-goods@0.1.0":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.0","ciceroVersion":"^0.3.0","type":1},"promissory-note@0.0.4":{"name":"promissory-note","description":"A promissory note","version":"0.0.4","ciceroVersion":"^0.3.0","type":1},"saft@0.1.1":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"safte@0.1.1":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.1.1","ciceroVersion":"^0.3.0","type":0},"servicelevelagreement@0.0.1":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.0.1","ciceroVersion":"^0.3.0","type":0},"supplyagreement@0.0.6":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.0.6","ciceroVersion":"^0.3.0","type":0},"volumediscount@0.0.6":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.0.6","ciceroVersion":"^0.3.0","type":1},"acceptance-of-delivery@0.1.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"demandforecast@0.1.0":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"fragile-goods@0.1.0":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.1.0","ciceroVersion":"^0.4.3","type":1},"helloworld@0.1.0":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"helloworldstate@0.1.0":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"installment-sale@0.1.0":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"ip-payment@0.1.0":{"name":"ip-payment","description":"This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.","version":"0.1.0","ciceroVersion":"^0.4.4","type":1},"latedeliveryandpenalty@0.1.0":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"perishable-goods@0.1.1":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.1","ciceroVersion":"^0.4.1","type":1},"promissory-note@0.1.0":{"name":"promissory-note","description":"A promissory note","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"saft@0.2.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"safte@0.2.0":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"servicelevelagreement@0.1.0":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"supplyagreement@0.1.0":{"name":"supplyagreement","description":"A sample supply agreement.","version":"0.1.0","ciceroVersion":"^0.4.4","type":0},"volumediscount@0.1.0":{"name":"volumediscount","description":"A sample volume discount clause.","version":"0.1.0","ciceroVersion":"^0.4.1","type":1},"copyright-license@0.1.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.1.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.1.1":{"name":"promissory-note","description":"A promissory note","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"volumediscount@0.1.1":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.1.1","ciceroVersion":"^0.4.1","type":0},"acceptance-of-delivery@0.2.0":{"name":"acceptance-of-delivery","description":"This clause allows the receiver of goods to inspect them for a given time period after delivery.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"copyright-license@0.2.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"promissory-note@0.2.0":{"name":"promissory-note","description":"A promissory note","version":"0.2.0","ciceroVersion":"^0.4.4","type":0,"language":0},"saft@0.3.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.3.0","ciceroVersion":"^0.4.3","type":0},"volumediscount@0.2.0":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.2.0","ciceroVersion":"^0.4.1","type":0},"copyright-license@0.3.0":{"name":"copyright-license","description":"This clause is a copyright license agreement.","version":"0.3.0","ciceroVersion":"^0.4.4","type":0,"language":0},"demandforecast@0.2.0":{"name":"demandforecast","description":"A sample demandforecast clause.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"helloworld@0.2.0":{"name":"helloworld","description":"This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"helloworldstate@0.2.0":{"name":"helloworldstate","description":"This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"eat-apples@0.0.1":{"name":"eat-apples","description":"This is a clause enforcing healthy eating habits in employees.","version":"0.0.1","ciceroVersion":"^0.4.4","type":1,"language":0},"latedeliveryandpenalty@0.2.0":{"name":"latedeliveryandpenalty","description":"A sample Late Delivery And Penalty clause.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"installment-sale@0.2.0":{"name":"installment-sale","description":"This is a clause for a simple installment sale.","version":"0.2.0","ciceroVersion":"^0.4.4","type":0,"language":0},"perishable-goods@0.2.0":{"name":"perishable-goods","description":"This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0},"safte@0.3.0":{"name":"safte","description":"The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.","version":"0.3.0","ciceroVersion":"^0.4.4","type":0,"language":0},"servicelevelagreement@0.2.0":{"name":"servicelevelagreement","description":"A service level agreement that gives invoice credit based on service availability.","version":"0.2.0","ciceroVersion":"^0.4.4","type":0,"language":0},"volumediscount@0.3.0":{"name":"volumediscount","description":"A sample volume discount contract.","version":"0.3.0","ciceroVersion":"^0.4.4","type":0,"language":0},"supplyagreement-perishable-goods@0.1.0":{"name":"supplyagreement-perishable-goods","description":"This supply agreement specifies penalties if the transport conditions (temperature and humidity) for a package are breached.","version":"0.1.0","ciceroVersion":"^0.4.4","type":0,"language":0},"one-time-payment@0.1.0":{"name":"one-time-payment","description":"This is a one time payment contract applicable at execution of that contract.","version":"0.1.0","ciceroVersion":"^0.4.4","type":0,"language":0},"saft@0.4.0":{"name":"saft","description":"The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.","version":"0.4.0","ciceroVersion":"^0.4.4","type":0,"language":0},"fragile-goods@0.2.0":{"name":"fragile-goods","description":"This clause specifies penalties for shocks caused to a fragile package in transport.","version":"0.2.0","ciceroVersion":"^0.4.4","type":1,"language":0}} \ No newline at end of file +{ + "acceptance-of-delivery@0.0.3": { + "name": "acceptance-of-delivery", + "description": "This clause allows the receiver of goods to inspect them for a given time period after delivery.", + "version": "0.0.3", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "demandforecast@0.0.6": { + "name": "demandforecast", + "description": "A sample demandforecast clause.", + "version": "0.0.6", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "fragile-goods@0.0.4": { + "name": "fragile-goods", + "description": "This clause specifies penalties for shocks caused to a fragile package in transport.", + "version": "0.0.4", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "helloworld@0.0.5": { + "name": "helloworld", + "description": "This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.", + "version": "0.0.5", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "helloworldstate@0.0.5": { + "name": "helloworldstate", + "description": "This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.", + "version": "0.0.5", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "installment-sale@0.0.3": { + "name": "installment-sale", + "description": "This is a clause for a simple installment sale.", + "version": "0.0.3", + "ciceroVersion": "^0.3.0", + "type": 0 + }, + "ip-payment@0.0.3": { + "name": "ip-payment", + "description": "This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.", + "version": "0.0.3", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "latedeliveryandpenalty@0.0.4": { + "name": "latedeliveryandpenalty", + "description": "A sample Late Delivery And Penalty clause.", + "version": "0.0.4", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "perishable-goods@0.1.0": { + "name": "perishable-goods", + "description": "This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.", + "version": "0.1.0", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "promissory-note@0.0.4": { + "name": "promissory-note", + "description": "A promissory note", + "version": "0.0.4", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "saft@0.1.1": { + "name": "saft", + "description": "The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.", + "version": "0.1.1", + "ciceroVersion": "^0.3.0", + "type": 0 + }, + "safte@0.1.1": { + "name": "safte", + "description": "The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.", + "version": "0.1.1", + "ciceroVersion": "^0.3.0", + "type": 0 + }, + "servicelevelagreement@0.0.1": { + "name": "servicelevelagreement", + "description": "A service level agreement that gives invoice credit based on service availability.", + "version": "0.0.1", + "ciceroVersion": "^0.3.0", + "type": 0 + }, + "supplyagreement@0.0.6": { + "name": "supplyagreement", + "description": "A sample supply agreement.", + "version": "0.0.6", + "ciceroVersion": "^0.3.0", + "type": 0 + }, + "volumediscount@0.0.6": { + "name": "volumediscount", + "description": "A sample volume discount clause.", + "version": "0.0.6", + "ciceroVersion": "^0.3.0", + "type": 1 + }, + "acceptance-of-delivery@0.1.0": { + "name": "acceptance-of-delivery", + "description": "This clause allows the receiver of goods to inspect them for a given time period after delivery.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "demandforecast@0.1.0": { + "name": "demandforecast", + "description": "A sample demandforecast clause.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "fragile-goods@0.1.0": { + "name": "fragile-goods", + "description": "This clause specifies penalties for shocks caused to a fragile package in transport.", + "version": "0.1.0", + "ciceroVersion": "^0.4.3", + "type": 1 + }, + "helloworld@0.1.0": { + "name": "helloworld", + "description": "This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "helloworldstate@0.1.0": { + "name": "helloworldstate", + "description": "This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "installment-sale@0.1.0": { + "name": "installment-sale", + "description": "This is a clause for a simple installment sale.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "ip-payment@0.1.0": { + "name": "ip-payment", + "description": "This clause is a payment clause for IP agreement, such as trademark or copyright licenses aggreements.", + "version": "0.1.0", + "ciceroVersion": "^0.4.4", + "type": 1 + }, + "latedeliveryandpenalty@0.1.0": { + "name": "latedeliveryandpenalty", + "description": "A sample Late Delivery And Penalty clause.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "perishable-goods@0.1.1": { + "name": "perishable-goods", + "description": "This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.", + "version": "0.1.1", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "promissory-note@0.1.0": { + "name": "promissory-note", + "description": "A promissory note", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "saft@0.2.0": { + "name": "saft", + "description": "The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.", + "version": "0.2.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "safte@0.2.0": { + "name": "safte", + "description": "The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.", + "version": "0.2.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "servicelevelagreement@0.1.0": { + "name": "servicelevelagreement", + "description": "A service level agreement that gives invoice credit based on service availability.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "supplyagreement@0.1.0": { + "name": "supplyagreement", + "description": "A sample supply agreement.", + "version": "0.1.0", + "ciceroVersion": "^0.4.4", + "type": 0 + }, + "volumediscount@0.1.0": { + "name": "volumediscount", + "description": "A sample volume discount clause.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 1 + }, + "copyright-license@0.1.0": { + "name": "copyright-license", + "description": "This clause is a copyright license agreement.", + "version": "0.1.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "promissory-note@0.1.1": { + "name": "promissory-note", + "description": "A promissory note", + "version": "0.1.1", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "volumediscount@0.1.1": { + "name": "volumediscount", + "description": "A sample volume discount contract.", + "version": "0.1.1", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "acceptance-of-delivery@0.2.0": { + "name": "acceptance-of-delivery", + "description": "This clause allows the receiver of goods to inspect them for a given time period after delivery.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "copyright-license@0.2.0": { + "name": "copyright-license", + "description": "This clause is a copyright license agreement.", + "version": "0.2.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "promissory-note@0.2.0": { + "name": "promissory-note", + "description": "A promissory note", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "saft@0.3.0": { + "name": "saft", + "description": "The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.", + "version": "0.3.0", + "ciceroVersion": "^0.4.3", + "type": 0 + }, + "volumediscount@0.2.0": { + "name": "volumediscount", + "description": "A sample volume discount contract.", + "version": "0.2.0", + "ciceroVersion": "^0.4.1", + "type": 0 + }, + "copyright-license@0.3.0": { + "name": "copyright-license", + "description": "This clause is a copyright license agreement.", + "version": "0.3.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "demandforecast@0.2.0": { + "name": "demandforecast", + "description": "A sample demandforecast clause.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "helloworld@0.2.0": { + "name": "helloworld", + "description": "This is the Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "helloworldstate@0.2.0": { + "name": "helloworldstate", + "description": "This is the stateful Hello World of Accord Protocol Templates. Executing the clause will simply echo back the text that occurs after the string `Hello` prepended to text that is passed in the request along with the number of times the clause has been called.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "eat-apples@0.0.1": { + "name": "eat-apples", + "description": "This is a clause enforcing healthy eating habits in employees.", + "version": "0.0.1", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "latedeliveryandpenalty@0.2.0": { + "name": "latedeliveryandpenalty", + "description": "A sample Late Delivery And Penalty clause.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "installment-sale@0.2.0": { + "name": "installment-sale", + "description": "This is a clause for a simple installment sale.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "perishable-goods@0.2.0": { + "name": "perishable-goods", + "description": "This clause specifies penalties if the transport conditions (temperature and humidity) for a package are breached.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + }, + "safte@0.3.0": { + "name": "safte", + "description": "The SAFTE contract is a futures contract where a person invests in a company in exchange for receiving either utility tokens that may be used when a product launches or equity in the company.", + "version": "0.3.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "servicelevelagreement@0.2.0": { + "name": "servicelevelagreement", + "description": "A service level agreement that gives invoice credit based on service availability.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "volumediscount@0.3.0": { + "name": "volumediscount", + "description": "A sample volume discount contract.", + "version": "0.3.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "supplyagreement-perishable-goods@0.1.0": { + "name": "supplyagreement-perishable-goods", + "description": "This supply agreement specifies penalties if the transport conditions (temperature and humidity) for a package are breached.", + "version": "0.1.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "one-time-payment@0.1.0": { + "name": "one-time-payment", + "description": "This is a one time payment contract applicable at execution of that contract.", + "version": "0.1.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "saft@0.4.0": { + "name": "saft", + "description": "The SAFT contract is a futures contract where a person invests in a company in exchange for receiving utility tokens that may be used when a product launches.", + "version": "0.4.0", + "ciceroVersion": "^0.4.4", + "type": 0, + "language": 0 + }, + "fragile-goods@0.2.0": { + "name": "fragile-goods", + "description": "This clause specifies penalties for shocks caused to a fragile package in transport.", + "version": "0.2.0", + "ciceroVersion": "^0.4.4", + "type": 1, + "language": 0 + } +} \ No newline at end of file diff --git a/build/volumediscount@0.3.0.html b/build/volumediscount@0.3.0.html index b1c924de..b4a86299 100644 --- a/build/volumediscount@0.3.0.html +++ b/build/volumediscount@0.3.0.html @@ -1,3 +1,6 @@ + + + @@ -9,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + @@ -73,6 +89,41 @@

+

Download Archive

@@ -87,7 +138,7 @@

Volume Discount

Sample

-
+                
 Volume-Based Card Acceptance Agreement [Abbreviated]
 
 This Agreement is by and between Card, Inc., a New York corporation, and you, the Merchant. By accepting the Card, you agree to be bound by the Agreement. 
@@ -143,21 +194,18 @@ 

Technical Integration

Sample Instance

-
{
+    
{
     "$class": "org.accordproject.volumediscount.VolumeDiscountContract",
-    "firstVolume": 20.485,
-    "secondVolume": 214.314,
-    "firstRate": 80.132,
-    "secondRate": 146.707,
-    "thirdRate": 88.903,
-    "contractId": "cce52980-705d-11e8-8de1-21f5a797773f",
-    "parties": [
-        "resource:org.accordproject.cicero.contract.AccordParty#9318"
-    ]
+    "contractId": "5a8dd426-2a66-4cd5-838b-a86656b51811",
+    "firstVolume": 1,
+    "secondVolume": 10,
+    "firstRate": 3,
+    "secondRate": 2.9,
+    "thirdRate": 2.8
 }

State

-
{
+    
{
     "state": "tbd"
 }
@@ -173,11 +221,11 @@

Request Types

- @@ -196,11 +244,11 @@

Response Types

- diff --git a/package.json b/package.json index a0f8ba50..f20f3845 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "nunjucks": "^3.1.3", "plantuml-encoder": "^1.2.5", "rimraf": "^2.6.2", + "semver": "^5.5.0", "showdown": "^1.8.6", "uuid": "^3.2.1" }, diff --git a/run.js b/run.js index 5c3b1558..7de9da48 100644 --- a/run.js +++ b/run.js @@ -23,6 +23,7 @@ const nunjucks = require('nunjucks'); const plantumlEncoder = require('plantuml-encoder'); const showdown = require('showdown'); const uuidv1 = require('uuid/v1'); +const semver = require('semver') const { promisify @@ -88,11 +89,14 @@ nunjucks.configure('./views', { // copy the logo to build directory await fs.copy('accord_logo.png', './build/accord_logo.png'); + // get the latest versions of each template + const latestIndex = filterTemplateIndex(templateIndex); + // generate the index html page const serverRoot = process.env.SERVER_ROOT; const templateResult = nunjucks.render('index.njk', { serverRoot: serverRoot, - templateIndex: templateIndex + templateIndex: latestIndex }); await writeFile('./build/index.html', templateResult); } @@ -102,6 +106,38 @@ nunjucks.configure('./views', { } })(); +/** + * Returns a template index that only contains the latest version + * of each template + * + * @param {object} templateIndex - the template index + * @returns {object} a new template index that only contains the latest version of each template + */ +function filterTemplateIndex(templateIndex) { + const result = {}; + const nameToVersion = {}; + + // build a map of the latest version of each template + for(let template of Object.keys(templateIndex)) { + const atIndex = template.indexOf('@'); + const name = template.substring(0,atIndex); + const version = template.substring(atIndex+1); + + const existingVersion = nameToVersion[name]; + + if(!existingVersion || semver.lt(existingVersion, version)) { + nameToVersion[name] = version; + } + } + + // now build the result + for(let name in nameToVersion) { + const id = `${name}@${nameToVersion[name]}`; + result[id] = templateIndex[id]; + } + + return result; +} /** * Get all the files beneath a subdirectory @@ -193,7 +229,7 @@ async function buildTemplates(preProcessor, postProcessor, selectedTemplate) { templateIndex[template.getIdentifier()] = indexData; // call the post template processor - await postProcessor(templatePath, template); + await postProcessor(templateIndex, templatePath, template); } } catch (err) { console.log(err); @@ -203,7 +239,7 @@ async function buildTemplates(preProcessor, postProcessor, selectedTemplate) { } // save the index - await writeFile(templateLibraryPath, JSON.stringify(templateIndex)); + await writeFile(templateLibraryPath, JSON.stringify(templateIndex, null, 4)); // return the updated index return templateIndex; @@ -231,10 +267,11 @@ async function templateUnitTester(templatePath, template) { /** * Generates html and other resources from a valid template + * @param {object} templateIndex - the existing template index * @param {String} templatePath - the location of the template on disk * @param {Template} template */ -async function templatePageGenerator(templatePath, template) { +async function templatePageGenerator(templateIndex, templatePath, template) { console.log(`Generating html for ${templatePath}`); @@ -308,6 +345,13 @@ async function templatePageGenerator(templatePath, template) { } } + // get all the versions of the template + const templateVersions = Object.keys(templateIndex).filter((item) => { + const atIndex = item.indexOf('@'); + const name = item.substring(0,atIndex); + return name == template.getName(); + }); + const templateResult = nunjucks.render('template.njk', { serverRoot: serverRoot, umlURL : umlURL, @@ -319,7 +363,8 @@ async function templatePageGenerator(templatePath, template) { responseTypes: responseTypes, state: state, instance: sampleInstanceText, - eventTypes: eventTypes + eventTypes: eventTypes, + templateVersions: templateVersions }); await writeFile(`./build/${templatePageHtml}`, templateResult); } \ No newline at end of file diff --git a/src/fragile-goods/lib/logic.js b/src/fragile-goods/lib/logic.js deleted file mode 100644 index 93b011bb..00000000 --- a/src/fragile-goods/lib/logic.js +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -'use strict'; - -/* eslint-disable no-unused-vars */ -/* eslint-disable no-undef */ -/* eslint-disable no-var */ - -/** - * Execute the smart clause - * @param {Context} context - the Accord context - * @param {io.clause.demo.fragileGoods.DeliveryUpdate} context.request - the incoming request - * @param {io.clause.demo.fragileGoods.PayOut} context.response - the response - * @AccordClauseLogic - */ -function execute(context) { - // logger.info(context); - var req = context.request; - var res = context.response; - var contract = context.contract; - - // contract data is read-only, so we need to clone - res.amount = factory.newConcept( contract.deliveryPrice.getNamespace(), contract.deliveryPrice.getType()); - res.amount.doubleValue = contract.deliveryPrice.doubleValue; - res.amount.currencyCode = contract.deliveryPrice.currencyCode; - - if(contract.deliveryPrice.currencyCode === 'XYZ') { - throw new Error("What!"); - } - - req.accelerometerReadings.forEach(function(r){ - if(r > data.accelerationMax){ - res.amount.doubleValue -= contract.accelerationBreachPenalty.doubleValue; - } - if(r < data.accelerationMin){ - res.amount.doubleValue -= contract.accelerationBreachPenalty.doubleValue; - } - }); - - if(req.status=='ARRIVED'){ - switch(data.deliveryLimitDuration.unit){ - case 'seconds': - var duration = req.finishTime.getTime() - req.startTime.getTime(); - if((duration / 1000) > contract.deliveryLimitDuration.amount){ - res.amount.doubleValue -= contract.lateDeliveryPenalty.doubleValue; - } - break; - default: - // TODO (MR) Implement other units - } - } - -} - -/* eslint-enable no-unused-vars */ -/* eslint-enable no-undef */ diff --git a/views/page.njk b/views/page.njk index 74402b00..77a67137 100644 --- a/views/page.njk +++ b/views/page.njk @@ -12,6 +12,19 @@ gtag('js', new Date()); gtag('config', 'UA-120382669-1'); + + diff --git a/views/template.njk b/views/template.njk index f93078f1..3856ea76 100644 --- a/views/template.njk +++ b/views/template.njk @@ -26,6 +26,25 @@

+

Download Archive

From 87275d14a55a97e4e271dce9b4794ae9bba3c2ed Mon Sep 17 00:00:00 2001 From: Dan Selman Date: Wed, 20 Jun 2018 14:50:37 +0100 Subject: [PATCH 3/4] fix timeout Signed-off-by: Dan Selman --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f20f3845..7459308a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "build": "node run.js", - "test": "nyc --exclude-after-remap=false mocha ---timeout 20000 ./src/**/test/*.js", + "test": "nyc --exclude-after-remap=false mocha ---timeout=20000 ./src/**/test/*.js", "generate": "SKIP_TESTS=true node run.js" }, "nyc": { From f134502ff3eafe6c7c5895fac7f1282471777030 Mon Sep 17 00:00:00 2001 From: Dan Selman Date: Wed, 20 Jun 2018 14:56:43 +0100 Subject: [PATCH 4/4] fix timeout Signed-off-by: Dan Selman --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7459308a..a14a313e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "build": "node run.js", - "test": "nyc --exclude-after-remap=false mocha ---timeout=20000 ./src/**/test/*.js", + "test": "nyc --exclude-after-remap=false mocha ./src/**/test/*.js --timeout 20000 ", "generate": "SKIP_TESTS=true node run.js" }, "nyc": {
{{type}}
{{sample}}
{{sample}}
{{type}}
{{sample}}
{{sample}}
{{type}}
{{sample}}
{{sample}}
org.accordproject.acceptanceofdelivery.InspectDeliverable
{
     "$class": "org.accordproject.acceptanceofdelivery.InspectDeliverable",
-    "deliverableReceivedAt": "2018-06-15T05:33:55.595Z",
+    "deliverableReceivedAt": "2018-06-20T13:41:08.390Z",
     "inspectionPassed": true,
-    "transactionId": "b2082db0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:55.595Z"
+    "transactionId": "96337460-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:08.390Z"
 }
org.accordproject.acceptanceofdelivery.InspectionResponse
{
     "$class": "org.accordproject.acceptanceofdelivery.InspectionResponse",
-    "status": "OUTSIDE_INSPECTION_PERIOD",
-    "shipper": "resource:org.accordproject.organization.Organization#4128",
-    "receiver": "resource:org.accordproject.organization.Organization#3266",
-    "transactionId": "b2082db1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:55.595Z"
+    "status": "FAILED_TESTING",
+    "shipper": "resource:org.accordproject.organization.Organization#3844",
+    "receiver": "resource:org.accordproject.organization.Organization#0395",
+    "transactionId": "9633c280-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:08.393Z"
 }
org.accordproject.copyrightlicense.PaymentRequest
{
+        
{
     "$class": "org.accordproject.copyrightlicense.PaymentRequest",
-    "transactionId": "b3560a70-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:57.783Z"
+    "transactionId": "972156d0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:09.949Z"
 }
org.accordproject.copyrightlicense.PayOut
{
+        
{
     "$class": "org.accordproject.copyrightlicense.PayOut",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 221.968,
-        "currencyCode": "BIF"
+        "doubleValue": 64.737,
+        "currencyCode": "CLF"
     },
-    "transactionId": "b3560a71-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:57.783Z"
+    "transactionId": "97217de0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:09.950Z"
 }
org.accordproject.demandforecast.ForecastRequest
{
+        
{
     "$class": "org.accordproject.demandforecast.ForecastRequest",
-    "supplyForecast": 38153,
-    "transactionId": "b3db4000-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:58.656Z"
+    "supplyForecast": 20009,
+    "transactionId": "97965fc0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:10.716Z"
 }
org.accordproject.demandforecast.BindingResponse
{
+        
{
     "$class": "org.accordproject.demandforecast.BindingResponse",
-    "requiredPurchase": 250.531,
-    "year": 31527,
-    "quarter": 30149,
-    "transactionId": "b3db6710-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:33:58.657Z"
+    "requiredPurchase": 136.76,
+    "year": 12628,
+    "quarter": 14778,
+    "transactionId": "979686d0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:10.717Z"
 }
org.accordproject.canteen.Food
{
+        
{
     "$class": "org.accordproject.canteen.Food",
-    "produce": "Id.",
-    "price": 23.68,
-    "transactionId": "b4eb2960-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:00.438Z"
+    "produce": "Incididunt.",
+    "price": 226.983,
+    "transactionId": "980e9d00-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:11.504Z"
 }
org.accordproject.canteen.Outcome
{
+        
{
     "$class": "org.accordproject.canteen.Outcome",
-    "notice": "Aliquip excepteur non velit.",
-    "transactionId": "b4eb2961-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:00.438Z"
+    "notice": "Ea duis consequat aliquip.",
+    "transactionId": "980e9d01-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:11.504Z"
 }
io.clause.demo.fragileGoods.DeliveryUpdate
{
+        
{
     "$class": "io.clause.demo.fragileGoods.DeliveryUpdate",
-    "startTime": "2018-06-15T05:34:02.742Z",
-    "finishTime": "2018-06-15T05:34:02.742Z",
-    "status": "IN_TRANSIT",
+    "startTime": "2018-06-20T13:41:12.603Z",
+    "finishTime": "2018-06-20T13:41:12.603Z",
+    "status": "ARRIVED",
     "accelerometerReadings": [
-        59.89
+        141.805
     ],
-    "transactionId": "b64ab960-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:02.742Z"
+    "transactionId": "98b64eb0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:12.603Z"
 }
io.clause.demo.fragileGoods.PayOut
{
+        
{
     "$class": "io.clause.demo.fragileGoods.PayOut",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 10.655,
-        "currencyCode": "RWF"
+        "doubleValue": 60.54,
+        "currencyCode": "XSU"
     },
-    "transactionId": "b64ae070-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:02.743Z"
+    "transactionId": "98b675c0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:12.604Z"
 }
org.accordproject.helloworld.MyRequest
{
+        
{
     "$class": "org.accordproject.helloworld.MyRequest",
-    "input": "Proident laboris exercitation dolor adipisicing.",
-    "transactionId": "b7301050-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:04.245Z"
+    "input": "Ex consequat minim duis.",
+    "transactionId": "99289880-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:13.352Z"
 }
org.accordproject.helloworld.MyResponse
{
+        
{
     "$class": "org.accordproject.helloworld.MyResponse",
-    "output": "Voluptate.",
-    "transactionId": "b7301051-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:04.245Z"
+    "output": "Officia magna dolor in ipsum.",
+    "transactionId": "99289881-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:13.352Z"
 }
org.accordproject.helloworldstate.MyRequest
{
+        
{
     "$class": "org.accordproject.helloworldstate.MyRequest",
-    "input": "Culpa commodo qui pariatur.",
-    "transactionId": "b81d5680-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:05.800Z"
+    "input": "Dolore cupidatat incididunt dolore.",
+    "transactionId": "99969c90-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:14.073Z"
 }
org.accordproject.helloworldstate.MyResponse
{
+        
{
     "$class": "org.accordproject.helloworldstate.MyResponse",
-    "output": "Id.",
-    "transactionId": "b81d5681-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:05.800Z"
+    "output": "Dolor reprehenderit laboris consectetur.",
+    "transactionId": "99969c91-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:14.073Z"
 }
org.accordproject.installmentsale.ClosingPayment
{
+        
{
     "$class": "org.accordproject.installmentsale.ClosingPayment",
-    "amount": 42.863,
-    "transactionId": "b9377911-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:07.649Z"
+    "amount": 89.894,
+    "transactionId": "9a43a570-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.207Z"
 }
org.accordproject.installmentsale.Installment
{
+        
{
     "$class": "org.accordproject.installmentsale.Installment",
-    "amount": 140.682,
-    "transactionId": "b9377910-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:07.649Z"
+    "amount": 201.842,
+    "transactionId": "9a437e60-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.207Z"
 }
org.accordproject.installmentsale.Balance
{
+        
{
     "$class": "org.accordproject.installmentsale.Balance",
-    "balance": 143.218,
-    "total_paid": 177.521,
-    "transactionId": "b937a021-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:07.650Z"
+    "balance": 159.405,
+    "total_paid": 24.243,
+    "transactionId": "9a43cc80-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.208Z"
 }
org.accordproject.installmentsale.PaymentObligation
{
+        
{
     "$class": "org.accordproject.installmentsale.PaymentObligation",
-    "amount": 119.072,
-    "party": "Ad id ex dolore.",
-    "eventId": "b937c730-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:07.651Z"
+    "amount": 8.025,
+    "party": "Quis nostrud sint.",
+    "eventId": "9a43f390-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.209Z"
 }
org.accordproject.ippayment.PaymentRequest
{
+        
{
     "$class": "org.accordproject.ippayment.PaymentRequest",
-    "netSaleRevenue": 139.97,
-    "sublicensingRevenue": 154.914,
-    "permissionGrantedBy": "2018-06-15T05:34:09.745Z",
-    "transactionId": "ba774c10-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:09.745Z"
+    "netSaleRevenue": 109.929,
+    "sublicensingRevenue": 139.376,
+    "permissionGrantedBy": "2018-06-20T13:41:15.907Z",
+    "transactionId": "9aae4e20-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.907Z"
 }
org.accordproject.ippayment.PayOut
{
+        
{
     "$class": "org.accordproject.ippayment.PayOut",
-    "totalAmount": 82.157,
-    "dueBy": "Velit laboris incididunt ex mollit.",
-    "transactionId": "ba774c11-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:09.746Z"
+    "totalAmount": 220.388,
+    "dueBy": "Anim.",
+    "transactionId": "9aae7530-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:15.907Z"
 }
org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest
{
+        
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest",
     "forceMajeure": true,
-    "agreedDelivery": "2018-06-15T05:34:12.342Z",
-    "deliveredAt": "2018-06-15T05:34:12.342Z",
-    "goodsValue": 155.523,
-    "transactionId": "bc039160-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:12.342Z"
+    "agreedDelivery": "2018-06-20T13:41:16.796Z",
+    "deliveredAt": "2018-06-20T13:41:16.796Z",
+    "goodsValue": 149.752,
+    "transactionId": "9b361bc0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:16.796Z"
 }
org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse
{
+        
{
     "$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyResponse",
-    "penalty": 169.204,
+    "penalty": 130.751,
     "buyerMayTerminate": false,
-    "transactionId": "bc039161-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:12.342Z"
+    "transactionId": "9b3642d0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:16.797Z"
 }
org.accordproject.payment.onetime.MyRequest
{
+        
{
     "$class": "org.accordproject.payment.onetime.MyRequest",
-    "transactionId": "bcddc4c0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:13.772Z"
+    "transactionId": "9babc0f0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:17.567Z"
 }
org.accordproject.payment.onetime.MyResponse
{
+        
{
     "$class": "org.accordproject.payment.onetime.MyResponse",
-    "transactionId": "bcddebd0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:13.773Z"
+    "transactionId": "9babc0f1-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:17.567Z"
 }
org.accordproject.cicero.runtime.PaymentObligation
{
+        
{
     "$class": "org.accordproject.cicero.runtime.PaymentObligation",
     "amount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 235.796,
-        "currencyCode": "CUC"
+        "doubleValue": 240.595,
+        "currencyCode": "TJS"
     },
-    "description": "Elit commodo irure velit.",
-    "contract": "resource:org.accordproject.payment.onetime.OneTimePaymentContract#6946",
-    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#1424",
-    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#6386",
-    "deadline": "2018-06-15T05:34:13.773Z",
-    "eventId": "bcddebd1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:13.773Z"
+    "description": "Adipisicing.",
+    "contract": "resource:org.accordproject.payment.onetime.OneTimePaymentContract#6213",
+    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#6597",
+    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#6967",
+    "deadline": "2018-06-20T13:41:17.567Z",
+    "eventId": "9babc0f2-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:17.567Z"
 }
org.accordproject.perishablegoods.ShipmentReceived
{
+        
{
     "$class": "org.accordproject.perishablegoods.ShipmentReceived",
-    "unitCount": 51017,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#2207",
-    "transactionId": "be406200-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:16.096Z"
+    "unitCount": 26204,
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#6589",
+    "transactionId": "9cb0d4e0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:19.278Z"
 }
org.accordproject.perishablegoods.PriceCalculation
{
+        
{
     "$class": "org.accordproject.perishablegoods.PriceCalculation",
-    "totalPrice": 213.154,
-    "penalty": 152.701,
-    "late": true,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#9282",
-    "transactionId": "be412550-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:16.101Z"
+    "totalPrice": 207.224,
+    "penalty": 195.128,
+    "late": false,
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#2493",
+    "transactionId": "9cb0fbf0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:19.279Z"
 }
org.accordproject.promissorynote.Payment
{
+        
{
     "$class": "org.accordproject.promissorynote.Payment",
     "amountPaid": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 138.457,
-        "currencyCode": "PAB"
+        "doubleValue": 106.358,
+        "currencyCode": "SBD"
     },
-    "transactionId": "bf16c4d0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:17.501Z"
+    "transactionId": "9d6530c0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:20.460Z"
 }
org.accordproject.promissorynote.Result
{
+        
{
     "$class": "org.accordproject.promissorynote.Result",
-    "outstandingBalance": 224.929,
-    "transactionId": "bf16ebe0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:17.502Z"
+    "outstandingBalance": 189.857,
+    "transactionId": "9d6557d0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:20.461Z"
 }
org.accordproject.saft.Launch
{
+        
{
     "$class": "org.accordproject.saft.Launch",
-    "exchangeRate": 57.389,
-    "transactionId": "c13f7130-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:21.123Z"
+    "exchangeRate": 78.896,
+    "transactionId": "9e40eac0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:21.900Z"
 }
org.accordproject.saft.Terminate
{
+        
{
     "$class": "org.accordproject.saft.Terminate",
     "remainingFunds": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 23.658,
-        "currencyCode": "BAM"
+        "doubleValue": 243.594,
+        "currencyCode": "COU"
     },
     "totalInvested": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 175.943,
-        "currencyCode": "AWG"
+        "doubleValue": 152.627,
+        "currencyCode": "MGA"
     },
-    "transactionId": "c13f9840-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:21.124Z"
+    "transactionId": "9e40eac1-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:21.900Z"
 }
org.accordproject.saft.Payout
{
+        
{
     "$class": "org.accordproject.saft.Payout",
     "tokenAmount": {
         "$class": "org.accordproject.money.MonetaryAmount",
-        "doubleValue": 180.699,
-        "currencyCode": "KHR"
+        "doubleValue": 206.968,
+        "currencyCode": "MKD"
     },
-    "tokenAddress": "Enim.",
-    "transactionId": "c13fbf50-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:21.125Z"
+    "tokenAddress": "Sit fugiat nostrud sit eiusmod.",
+    "transactionId": "9e4111d1-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:21.901Z"
 }
org.accordproject.safte.DissolutionEvent
{
+        
{
     "$class": "org.accordproject.safte.DissolutionEvent",
-    "cause": "Fugiat duis ipsum voluptate minim.",
-    "transactionId": "c26b9521-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.090Z"
+    "cause": "Ut voluptate labore excepteur.",
+    "transactionId": "9f4d0390-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.657Z"
 }
org.accordproject.safte.EquityFinancing
{
+        
{
     "$class": "org.accordproject.safte.EquityFinancing",
-    "sharePrice": 241.767,
-    "transactionId": "c26b9520-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.090Z"
+    "sharePrice": 79.718,
+    "transactionId": "9f4cdc81-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.657Z"
 }
org.accordproject.safte.TokenSale
{
+        
{
     "$class": "org.accordproject.safte.TokenSale",
-    "tokenPrice": 152.568,
-    "transactionId": "c26b6e10-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.089Z"
+    "tokenPrice": 4.399,
+    "transactionId": "9f4cdc80-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.656Z"
 }
org.accordproject.safte.EquityShare
{
+        
{
     "$class": "org.accordproject.safte.EquityShare",
-    "equityAmount": 64.321,
-    "transactionId": "c26b9523-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.090Z"
+    "equityAmount": 195.319,
+    "transactionId": "9f4d0392-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.657Z"
 }
org.accordproject.safte.PayOut
{
+        
{
     "$class": "org.accordproject.safte.PayOut",
-    "amount": 128.775,
-    "transactionId": "c26b9524-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.090Z"
+    "amount": 172.433,
+    "transactionId": "9f4d0393-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.657Z"
 }
org.accordproject.safte.TokenShare
{
+        
{
     "$class": "org.accordproject.safte.TokenShare",
-    "tokenAmount": 133.615,
-    "transactionId": "c26b9522-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:23.090Z"
+    "tokenAmount": 249.68,
+    "transactionId": "9f4d0391-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:23.657Z"
 }
org.accordproject.servicelevelagreement.MonthSummary
{
+        
{
     "$class": "org.accordproject.servicelevelagreement.MonthSummary",
-    "monthlyServiceLevel": 189.053,
-    "monthlyCharge": 100.636,
-    "last11MonthCredit": 223.661,
-    "last11MonthCharge": 58.037,
-    "transactionId": "c3d25110-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:25.441Z"
+    "monthlyServiceLevel": 200.965,
+    "monthlyCharge": 49.136,
+    "last11MonthCredit": 235.813,
+    "last11MonthCharge": 215.895,
+    "transactionId": "9fd6f410-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:24.561Z"
 }
org.accordproject.servicelevelagreement.InvoiceCredit
{
+        
{
     "$class": "org.accordproject.servicelevelagreement.InvoiceCredit",
-    "monthlyCredit": 82.187,
-    "transactionId": "c3d25111-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:25.441Z"
+    "monthlyCredit": 113.529,
+    "transactionId": "9fd6f411-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:24.561Z"
 }
org.accordproject.perishablegoods.ShipmentReceived
{
+        
{
     "$class": "org.accordproject.perishablegoods.ShipmentReceived",
-    "unitCount": 48366,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#9787",
-    "transactionId": "cbd2cf20-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:38.866Z"
+    "unitCount": 37885,
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#6146",
+    "transactionId": "a257f9a0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:28.762Z"
 }
org.accordproject.perishablegoods.PriceCalculation
{
+        
{
     "$class": "org.accordproject.perishablegoods.PriceCalculation",
-    "totalPrice": 86.817,
-    "penalty": 149.328,
+    "totalPrice": 176.494,
+    "penalty": 100.191,
     "late": true,
-    "shipment": "resource:org.accordproject.perishablegoods.Shipment#8612",
-    "transactionId": "cbd2cf21-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:38.866Z"
+    "shipment": "resource:org.accordproject.perishablegoods.Shipment#7969",
+    "transactionId": "a25820b0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:28.763Z"
 }
org.accordproject.supplyagreement.DeliveryRequest
{
+        
{
     "$class": "org.accordproject.supplyagreement.DeliveryRequest",
     "products": [
         {
             "$class": "org.accordproject.purchaseorder.Product",
-            "partNumber": "9227",
-            "name": "Culpa.",
-            "quantity": 207.066,
-            "unitPrice": 247.192
+            "partNumber": "1464",
+            "name": "Enim incididunt commodo sint aliqua.",
+            "quantity": 160.757,
+            "unitPrice": 211.686
         }
     ],
-    "transactionId": "c73bbad0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.165Z"
+    "transactionId": "a09b0760-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.846Z"
 }
org.accordproject.supplyagreement.ForecastRequest
{
+        
{
     "$class": "org.accordproject.supplyagreement.ForecastRequest",
-    "supplyForecast": 9452,
-    "transactionId": "c73b93c0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.164Z"
+    "supplyForecast": 540,
+    "transactionId": "a09ae050-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.845Z"
 }
org.accordproject.supplyagreement.PurchaseRequest
{
+        
{
     "$class": "org.accordproject.supplyagreement.PurchaseRequest",
     "purchaseOrder": {
         "$class": "org.accordproject.purchaseorder.PurchaseOrder",
         "products": [
             {
                 "$class": "org.accordproject.purchaseorder.Product",
-                "partNumber": "0820",
-                "name": "Velit tempor adipisicing dolor.",
-                "quantity": 0.657,
-                "unitPrice": 90.362
+                "partNumber": "5302",
+                "name": "Eiusmod nulla est.",
+                "quantity": 181.758,
+                "unitPrice": 241.443
             }
         ],
-        "deliveryLocation": "Nisi consequat laboris esse.",
-        "deliveryDate": "2018-06-15T05:34:31.164Z"
+        "deliveryLocation": "Ad nisi non.",
+        "deliveryDate": "2018-06-20T13:41:25.845Z"
     },
-    "transactionId": "c73b93c1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.164Z"
+    "transactionId": "a09ae051-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.845Z"
 }
org.accordproject.supplyagreement.DeliveryResponse
{
+        
{
     "$class": "org.accordproject.supplyagreement.DeliveryResponse",
-    "transactionId": "c73be1e1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.166Z"
+    "transactionId": "a09b2e70-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.847Z"
 }
org.accordproject.supplyagreement.ForecastResponse
{
+        
{
     "$class": "org.accordproject.supplyagreement.ForecastResponse",
-    "transactionId": "c73bbad1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.165Z"
+    "transactionId": "a09b0761-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.846Z"
 }
org.accordproject.supplyagreement.PurchaseResponse
{
+        
{
     "$class": "org.accordproject.supplyagreement.PurchaseResponse",
-    "transactionId": "c73be1e0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:31.166Z"
+    "transactionId": "a09b0762-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:25.846Z"
 }
org.accordproject.volumediscount.VolumeDiscountRequest
{
+        
{
     "$class": "org.accordproject.volumediscount.VolumeDiscountRequest",
-    "netAnnualChargeVolume": 138.929,
-    "transactionId": "cce577a0-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:40.666Z"
+    "netAnnualChargeVolume": 148.376,
+    "transactionId": "a2d9fae0-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:29.614Z"
 }
org.accordproject.volumediscount.VolumeDiscountResponse
{
+        
{
     "$class": "org.accordproject.volumediscount.VolumeDiscountResponse",
-    "discountRate": 135.928,
-    "transactionId": "cce577a1-705d-11e8-8de1-21f5a797773f",
-    "timestamp": "2018-06-15T05:34:40.666Z"
+    "discountRate": 144.48,
+    "transactionId": "a2d9fae1-748f-11e8-bd9a-f3ef533384e7",
+    "timestamp": "2018-06-20T13:41:29.614Z"
 }