ledger_sync 1.3.5 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (962) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -2
  3. data/.travis.yml +4 -0
  4. data/Gemfile.lock +13 -13
  5. data/LICENSE.txt +5 -97
  6. data/README.md +8 -505
  7. data/bin/quickbooks_online_oauth_server.rb +10 -9
  8. data/docs/CNAME +1 -0
  9. data/docs/assets/css/brands.min.css +5 -0
  10. data/docs/assets/css/fontawesome.min.css +5 -0
  11. data/docs/assets/css/main.css +1924 -0
  12. data/docs/assets/css/monokai.css +441 -0
  13. data/docs/assets/js/main.js +214 -0
  14. data/docs/assets/js/plugins.js +22 -0
  15. data/docs/assets/js/prism.js +9 -0
  16. data/docs/assets/webfonts/fa-brands-400.eot +0 -0
  17. data/docs/assets/webfonts/fa-brands-400.svg +3452 -0
  18. data/docs/assets/webfonts/fa-brands-400.ttf +0 -0
  19. data/docs/assets/webfonts/fa-brands-400.woff +0 -0
  20. data/docs/assets/webfonts/fa-brands-400.woff2 +0 -0
  21. data/docs/blog/index.html +303 -0
  22. data/docs/guides/architecture/clients/index.html +479 -0
  23. data/docs/guides/architecture/index.html +456 -0
  24. data/docs/guides/architecture/operations/index.html +486 -0
  25. data/docs/guides/architecture/resources/index.html +482 -0
  26. data/docs/guides/architecture/results/index.html +447 -0
  27. data/docs/guides/architecture/searchers/index.html +467 -0
  28. data/docs/guides/architecture/serialization/index.html +497 -0
  29. data/docs/guides/community/index.html +433 -0
  30. data/docs/guides/contribute/console/index.html +445 -0
  31. data/docs/guides/contribute/deployment/index.html +455 -0
  32. data/docs/guides/contribute/documentation/index.html +471 -0
  33. data/docs/guides/contribute/index.html +455 -0
  34. data/docs/guides/contribute/qa/index.html +457 -0
  35. data/docs/guides/contribute/testing/index.html +445 -0
  36. data/docs/guides/customization/custom_resources/index.html +482 -0
  37. data/docs/guides/customization/custom_serializers/index.html +481 -0
  38. data/docs/guides/customization/index.html +452 -0
  39. data/docs/guides/customization/resource_converters/index.html +512 -0
  40. data/docs/guides/getting-started/get-help/index.html +448 -0
  41. data/docs/guides/getting-started/index.html +442 -0
  42. data/docs/guides/getting-started/installation/index.html +454 -0
  43. data/docs/guides/getting-started/quick-start/index.html +552 -0
  44. data/docs/guides/index.html +449 -0
  45. data/docs/guides/ledgers/index.html +450 -0
  46. data/docs/guides/ledgers/netsuite/index.html +445 -0
  47. data/docs/guides/ledgers/netsuite_soap/index.html +445 -0
  48. data/docs/guides/ledgers/quickbooks_online/index.html +445 -0
  49. data/docs/guides/ledgers/stripe/index.html +445 -0
  50. data/docs/guides/modern-treasury/index.html +432 -0
  51. data/docs/guides/tips_and_more/index.html +492 -0
  52. data/docs/images/1.jpg +0 -0
  53. data/docs/images/10.jpg +0 -0
  54. data/docs/images/2.jpg +0 -0
  55. data/docs/images/3.jpg +0 -0
  56. data/docs/images/4.jpg +0 -0
  57. data/docs/images/5.jpg +0 -0
  58. data/docs/images/6.jpg +0 -0
  59. data/docs/images/7.jpg +0 -0
  60. data/docs/images/8.jpg +0 -0
  61. data/docs/images/9.jpg +0 -0
  62. data/docs/images/logo.svg +8 -0
  63. data/docs/index.html +400 -0
  64. data/docs/overview/index.html +430 -0
  65. data/docs/posts/introducing-docs/index.html +291 -0
  66. data/docs/posts/netsuite-authentication/index.html +645 -0
  67. data/docs/reference/architecture/clients/index.html +353 -0
  68. data/docs/reference/architecture/index.html +332 -0
  69. data/docs/reference/architecture/operations/index.html +323 -0
  70. data/docs/reference/architecture/resources/index.html +356 -0
  71. data/docs/reference/architecture/results/index.html +323 -0
  72. data/docs/reference/architecture/searchers/index.html +323 -0
  73. data/docs/reference/architecture/serialization/index.html +323 -0
  74. data/docs/reference/index.html +302 -0
  75. data/docs/reference/netsuite/authentication/index.html +413 -0
  76. data/docs/reference/netsuite/authentication/token_based_authentication/index.html +507 -0
  77. data/docs/reference/netsuite/index.html +409 -0
  78. data/docs/reference/netsuite/resources/account/index.html +505 -0
  79. data/docs/reference/netsuite/resources/check/index.html +513 -0
  80. data/docs/reference/netsuite/resources/check_line_item/index.html +481 -0
  81. data/docs/reference/netsuite/resources/currency/index.html +497 -0
  82. data/docs/reference/netsuite/resources/customer/index.html +509 -0
  83. data/docs/reference/netsuite/resources/customer_deposit/index.html +501 -0
  84. data/docs/reference/netsuite/resources/department/index.html +505 -0
  85. data/docs/reference/netsuite/resources/deposit/index.html +489 -0
  86. data/docs/reference/netsuite/resources/deposit_line_item/index.html +481 -0
  87. data/docs/reference/netsuite/resources/index.html +457 -0
  88. data/docs/reference/netsuite/resources/invoice/index.html +489 -0
  89. data/docs/reference/netsuite/resources/invoice_line_item/index.html +477 -0
  90. data/docs/reference/netsuite/resources/item/index.html +465 -0
  91. data/docs/reference/netsuite/resources/journal_entry/index.html +509 -0
  92. data/docs/reference/netsuite/resources/journal_entry_line_item/index.html +485 -0
  93. data/docs/reference/netsuite/resources/ledger_class/index.html +505 -0
  94. data/docs/reference/netsuite/resources/location/index.html +489 -0
  95. data/docs/reference/netsuite/resources/resource/index.html +461 -0
  96. data/docs/reference/netsuite/resources/subsidiary/index.html +469 -0
  97. data/docs/reference/netsuite/resources/vendor/index.html +513 -0
  98. data/docs/reference/netsuite_soap/index.html +324 -0
  99. data/docs/reference/netsuite_soap/resources/customer/index.html +385 -0
  100. data/docs/reference/netsuite_soap/resources/index.html +337 -0
  101. data/docs/reference/netsuite_soap/resources/resource/index.html +357 -0
  102. data/docs/reference/netsuite_soap/resources/subsidiary/index.html +377 -0
  103. data/docs/reference/quickbooks_online/authentication/index.html +463 -0
  104. data/docs/reference/quickbooks_online/errors/index.html +416 -0
  105. data/docs/reference/quickbooks_online/index.html +414 -0
  106. data/docs/reference/quickbooks_online/resources/account/index.html +551 -0
  107. data/docs/reference/quickbooks_online/resources/bill/index.html +555 -0
  108. data/docs/reference/quickbooks_online/resources/bill_line_item/index.html +517 -0
  109. data/docs/reference/quickbooks_online/resources/bill_payment/index.html +571 -0
  110. data/docs/reference/quickbooks_online/resources/bill_payment_line_item/index.html +509 -0
  111. data/docs/reference/quickbooks_online/resources/currency/index.html +513 -0
  112. data/docs/reference/quickbooks_online/resources/customer/index.html +535 -0
  113. data/docs/reference/quickbooks_online/resources/department/index.html +539 -0
  114. data/docs/reference/quickbooks_online/resources/deposit/index.html +547 -0
  115. data/docs/reference/quickbooks_online/resources/deposit_line_item/index.html +521 -0
  116. data/docs/reference/quickbooks_online/resources/expense/index.html +559 -0
  117. data/docs/reference/quickbooks_online/resources/expense_line_item/index.html +517 -0
  118. data/docs/reference/quickbooks_online/resources/index.html +505 -0
  119. data/docs/reference/quickbooks_online/resources/invoice/index.html +547 -0
  120. data/docs/reference/quickbooks_online/resources/invoice_sales_line_item/index.html +517 -0
  121. data/docs/reference/quickbooks_online/resources/item/index.html +505 -0
  122. data/docs/reference/quickbooks_online/resources/journal_entry/index.html +539 -0
  123. data/docs/reference/quickbooks_online/resources/journal_entry_line_item/index.html +525 -0
  124. data/docs/reference/quickbooks_online/resources/ledger_class/index.html +539 -0
  125. data/docs/reference/quickbooks_online/resources/payment/index.html +559 -0
  126. data/docs/reference/quickbooks_online/resources/payment_line_item/index.html +509 -0
  127. data/docs/reference/quickbooks_online/resources/preferences/index.html +547 -0
  128. data/docs/reference/quickbooks_online/resources/primary_email_addr/index.html +505 -0
  129. data/docs/reference/quickbooks_online/resources/primary_phone/index.html +505 -0
  130. data/docs/reference/quickbooks_online/resources/resource/index.html +501 -0
  131. data/docs/reference/quickbooks_online/resources/subsidiary/index.html +509 -0
  132. data/docs/reference/quickbooks_online/resources/transfer/index.html +543 -0
  133. data/docs/reference/quickbooks_online/resources/vendor/index.html +547 -0
  134. data/docs/reference/quickbooks_online/webhooks/index.html +448 -0
  135. data/docs/reference/stripe/index.html +314 -0
  136. data/docs/reference/stripe/resources/customer/index.html +387 -0
  137. data/docs/reference/stripe/resources/index.html +330 -0
  138. data/docs/reference/stripe/resources/resource/index.html +351 -0
  139. data/docs/style-guide/index.html +396 -0
  140. data/documentation/build.sh +8 -0
  141. data/documentation/generate.rb +32 -0
  142. data/documentation/generators/generator.rb +80 -0
  143. data/documentation/generators/guides/generator.rb +36 -0
  144. data/documentation/generators/reference/generator.rb +76 -0
  145. data/documentation/generators/reference/ledger/generator.rb +74 -0
  146. data/documentation/generators/template.rb +22 -0
  147. data/documentation/helper_methods.rb +17 -0
  148. data/documentation/site/CNAME +1 -0
  149. data/documentation/site/Gemfile +11 -0
  150. data/documentation/site/Gemfile.lock +69 -0
  151. data/documentation/site/LICENSE.md +40 -0
  152. data/documentation/site/README.md +8 -0
  153. data/documentation/site/_config.yml +113 -0
  154. data/documentation/site/_data/guides_sections.yml +10 -0
  155. data/documentation/site/_data/reference_sections.yml +5 -0
  156. data/documentation/site/_includes/action_link.html +8 -0
  157. data/documentation/site/_includes/alerts/base.html +3 -0
  158. data/documentation/site/_includes/alerts/danger.html +1 -0
  159. data/documentation/site/_includes/alerts/info.html +1 -0
  160. data/documentation/site/_includes/alerts/success.html +1 -0
  161. data/documentation/site/_includes/alerts/warning.html +1 -0
  162. data/documentation/site/_includes/cta_buttons.html +4 -0
  163. data/documentation/site/_includes/example.md +8 -0
  164. data/documentation/site/_includes/footer.html +25 -0
  165. data/documentation/site/_includes/getting_help.md +8 -0
  166. data/documentation/site/_includes/guides_menu.html +29 -0
  167. data/documentation/site/_includes/guides_submenu.html +7 -0
  168. data/documentation/site/_includes/header.html +35 -0
  169. data/documentation/site/_includes/installation_instructions.md +17 -0
  170. data/documentation/site/_includes/ledgers/Stripe_summary.md +1 -0
  171. data/documentation/site/_includes/ledgers/netsuite_soap_summary.md +1 -0
  172. data/documentation/site/_includes/ledgers/netsuite_summary.md +1 -0
  173. data/documentation/site/_includes/ledgers/netsuite_summary_shared.md +1 -0
  174. data/documentation/site/_includes/ledgers/quickbooks_online_summary.md +1 -0
  175. data/documentation/site/_includes/reference/netsuite/authentication/_token_based_authentication.md +99 -0
  176. data/documentation/site/_includes/reference/netsuite/authentication/index.md +15 -0
  177. data/documentation/site/_includes/reference/netsuite/authentication/token_based_authentication.md +6 -0
  178. data/documentation/site/_includes/reference/netsuite/index.md +25 -0
  179. data/documentation/site/_includes/reference/netsuite_soap/index.md +11 -0
  180. data/documentation/site/_includes/reference/quickbooks_online/authentication/index.md +55 -0
  181. data/documentation/site/_includes/reference/quickbooks_online/errors/index.md +9 -0
  182. data/documentation/site/_includes/reference/quickbooks_online/index.md +6 -0
  183. data/documentation/site/_includes/reference/quickbooks_online/webhooks/index.md +42 -0
  184. data/documentation/site/_includes/reference/stripe/index.md +6 -0
  185. data/documentation/site/_includes/section_content.html +34 -0
  186. data/documentation/site/_includes/section_cta.html +28 -0
  187. data/documentation/site/_includes/section_grid.html +60 -0
  188. data/documentation/site/_includes/section_guides.html +35 -0
  189. data/documentation/site/_includes/section_hero.html +28 -0
  190. data/documentation/site/_includes/submenu.html +8 -0
  191. data/documentation/site/_layouts/advanced.html +9 -0
  192. data/documentation/site/_layouts/base.html +34 -0
  193. data/documentation/site/_layouts/blog.html +51 -0
  194. data/documentation/site/_layouts/body.html +11 -0
  195. data/documentation/site/_layouts/guides.html +46 -0
  196. data/documentation/site/_layouts/page.html +26 -0
  197. data/documentation/site/_layouts/post.html +52 -0
  198. data/documentation/site/_layouts/reference.html +46 -0
  199. data/documentation/site/_layouts/reference_netsuite.html +46 -0
  200. data/documentation/site/_layouts/reference_netsuite_soap.html +46 -0
  201. data/documentation/site/_layouts/reference_quickbooks_online.html +46 -0
  202. data/documentation/site/_layouts/reference_stripe.html +46 -0
  203. data/documentation/site/_plugins/filters.rb +122 -0
  204. data/documentation/site/_plugins/hooks.rb +9 -0
  205. data/documentation/site/_posts/2020-06-01-introducing-docs.md +17 -0
  206. data/documentation/site/_posts/2020-06-10-netsuite-authentication.md +382 -0
  207. data/documentation/site/_sass/imports/_animations.scss +19 -0
  208. data/documentation/site/_sass/imports/_footer.scss +94 -0
  209. data/documentation/site/_sass/imports/_functions.scss +69 -0
  210. data/documentation/site/_sass/imports/_general.scss +687 -0
  211. data/documentation/site/_sass/imports/_guides.scss +300 -0
  212. data/documentation/site/_sass/imports/_header.scss +358 -0
  213. data/documentation/site/_sass/imports/_icons.scss +90 -0
  214. data/documentation/site/_sass/imports/_post-navigation.scss +67 -0
  215. data/documentation/site/_sass/imports/_posts-pages.scss +165 -0
  216. data/documentation/site/_sass/imports/_prism.scss +174 -0
  217. data/documentation/site/_sass/imports/_reset.scss +210 -0
  218. data/documentation/site/_sass/imports/_sections.scss +370 -0
  219. data/documentation/site/_sass/imports/_structure.scss +44 -0
  220. data/documentation/site/_templates/_layouts/reference_ledger.html.erb +46 -0
  221. data/documentation/site/_templates/guides/ledger.md.erb +9 -0
  222. data/documentation/site/_templates/reference/resources/index.md.erb +9 -0
  223. data/documentation/site/_templates/reference/resources/resource.md.erb +27 -0
  224. data/documentation/site/assets/css/brands.min.css +5 -0
  225. data/documentation/site/assets/css/fontawesome.min.css +5 -0
  226. data/documentation/site/assets/css/main.scss +45 -0
  227. data/documentation/site/assets/css/monokai.css +441 -0
  228. data/documentation/site/assets/js/main.js +214 -0
  229. data/documentation/site/assets/js/plugins.js +22 -0
  230. data/documentation/site/assets/js/prism.js +9 -0
  231. data/documentation/site/assets/webfonts/fa-brands-400.eot +0 -0
  232. data/documentation/site/assets/webfonts/fa-brands-400.svg +3452 -0
  233. data/documentation/site/assets/webfonts/fa-brands-400.ttf +0 -0
  234. data/documentation/site/assets/webfonts/fa-brands-400.woff +0 -0
  235. data/documentation/site/assets/webfonts/fa-brands-400.woff2 +0 -0
  236. data/documentation/site/blog/index.md +6 -0
  237. data/documentation/site/guides/architecture/clients.md +35 -0
  238. data/documentation/site/guides/architecture/index.md +14 -0
  239. data/documentation/site/guides/architecture/operations.md +45 -0
  240. data/documentation/site/guides/architecture/resources.md +40 -0
  241. data/documentation/site/guides/architecture/results.md +6 -0
  242. data/documentation/site/guides/architecture/searchers.md +28 -0
  243. data/documentation/site/guides/architecture/serialization.md +59 -0
  244. data/documentation/site/guides/community/index.md +8 -0
  245. data/documentation/site/guides/contribute/console.md +6 -0
  246. data/documentation/site/guides/contribute/deployment.md +17 -0
  247. data/documentation/site/guides/contribute/documentation.md +37 -0
  248. data/documentation/site/guides/contribute/index.md +18 -0
  249. data/documentation/site/guides/contribute/qa.md +16 -0
  250. data/documentation/site/guides/contribute/testing.md +6 -0
  251. data/documentation/site/guides/customization/custom_resources.md +50 -0
  252. data/documentation/site/guides/customization/custom_serializers.md +47 -0
  253. data/documentation/site/guides/customization/index.md +15 -0
  254. data/documentation/site/guides/customization/resource_converters.md +79 -0
  255. data/documentation/site/guides/getting-started/get-help.md +7 -0
  256. data/documentation/site/guides/getting-started/index.md +8 -0
  257. data/documentation/site/guides/getting-started/installation.md +7 -0
  258. data/documentation/site/guides/getting-started/quick-start.md +123 -0
  259. data/documentation/site/guides/index.md +16 -0
  260. data/documentation/site/guides/ledgers/index.md +12 -0
  261. data/documentation/site/guides/ledgers/netsuite.md +9 -0
  262. data/documentation/site/guides/ledgers/netsuite_soap.md +9 -0
  263. data/documentation/site/guides/ledgers/quickbooks_online.md +9 -0
  264. data/documentation/site/guides/ledgers/stripe.md +9 -0
  265. data/documentation/site/guides/modern-treasury/index.md +14 -0
  266. data/documentation/site/guides/tips_and_more/index.md +76 -0
  267. data/documentation/site/images/1.jpg +0 -0
  268. data/documentation/site/images/10.jpg +0 -0
  269. data/documentation/site/images/2.jpg +0 -0
  270. data/documentation/site/images/3.jpg +0 -0
  271. data/documentation/site/images/4.jpg +0 -0
  272. data/documentation/site/images/5.jpg +0 -0
  273. data/documentation/site/images/6.jpg +0 -0
  274. data/documentation/site/images/7.jpg +0 -0
  275. data/documentation/site/images/8.jpg +0 -0
  276. data/documentation/site/images/9.jpg +0 -0
  277. data/documentation/site/images/logo.svg +8 -0
  278. data/documentation/site/index.md +99 -0
  279. data/documentation/site/overview.md +21 -0
  280. data/documentation/site/reference/architecture/clients.md +33 -0
  281. data/documentation/site/reference/architecture/index.md +14 -0
  282. data/documentation/site/reference/architecture/operations.md +6 -0
  283. data/documentation/site/reference/architecture/resources.md +38 -0
  284. data/documentation/site/reference/architecture/results.md +6 -0
  285. data/documentation/site/reference/architecture/searchers.md +6 -0
  286. data/documentation/site/reference/architecture/serialization.md +6 -0
  287. data/documentation/site/reference/index.md +6 -0
  288. data/documentation/site/reference/netsuite/authentication/_token_based_authentication.md +99 -0
  289. data/documentation/site/reference/netsuite/authentication/index.md +15 -0
  290. data/documentation/site/reference/netsuite/authentication/token_based_authentication.md +6 -0
  291. data/documentation/site/reference/netsuite/index.md +25 -0
  292. data/documentation/site/reference/netsuite/resources/account.md +38 -0
  293. data/documentation/site/reference/netsuite/resources/check.md +49 -0
  294. data/documentation/site/reference/netsuite/resources/check_line_item.md +23 -0
  295. data/documentation/site/reference/netsuite/resources/currency.md +45 -0
  296. data/documentation/site/reference/netsuite/resources/customer.md +48 -0
  297. data/documentation/site/reference/netsuite/resources/customer_deposit.md +46 -0
  298. data/documentation/site/reference/netsuite/resources/department.md +47 -0
  299. data/documentation/site/reference/netsuite/resources/deposit.md +25 -0
  300. data/documentation/site/reference/netsuite/resources/deposit_line_item.md +23 -0
  301. data/documentation/site/reference/netsuite/resources/index.md +25 -0
  302. data/documentation/site/reference/netsuite/resources/invoice.md +25 -0
  303. data/documentation/site/reference/netsuite/resources/invoice_line_item.md +22 -0
  304. data/documentation/site/reference/netsuite/resources/item.md +19 -0
  305. data/documentation/site/reference/netsuite/resources/journal_entry.md +48 -0
  306. data/documentation/site/reference/netsuite/resources/journal_entry_line_item.md +24 -0
  307. data/documentation/site/reference/netsuite/resources/ledger_class.md +47 -0
  308. data/documentation/site/reference/netsuite/resources/location.md +43 -0
  309. data/documentation/site/reference/netsuite/resources/resource.md +18 -0
  310. data/documentation/site/reference/netsuite/resources/subsidiary.md +20 -0
  311. data/documentation/site/reference/netsuite/resources/vendor.md +49 -0
  312. data/documentation/site/reference/netsuite_soap/index.md +11 -0
  313. data/documentation/site/reference/netsuite_soap/resources/customer.md +34 -0
  314. data/documentation/site/reference/netsuite_soap/resources/index.md +9 -0
  315. data/documentation/site/reference/netsuite_soap/resources/resource.md +18 -0
  316. data/documentation/site/reference/netsuite_soap/resources/subsidiary.md +32 -0
  317. data/documentation/site/reference/quickbooks_online/authentication/index.md +55 -0
  318. data/documentation/site/reference/quickbooks_online/errors/index.md +9 -0
  319. data/documentation/site/reference/quickbooks_online/index.md +6 -0
  320. data/documentation/site/reference/quickbooks_online/resources/account.md +44 -0
  321. data/documentation/site/reference/quickbooks_online/resources/bill.md +45 -0
  322. data/documentation/site/reference/quickbooks_online/resources/bill_line_item.md +22 -0
  323. data/documentation/site/reference/quickbooks_online/resources/bill_payment.md +49 -0
  324. data/documentation/site/reference/quickbooks_online/resources/bill_payment_line_item.md +20 -0
  325. data/documentation/site/reference/quickbooks_online/resources/currency.md +21 -0
  326. data/documentation/site/reference/quickbooks_online/resources/customer.md +40 -0
  327. data/documentation/site/reference/quickbooks_online/resources/department.md +41 -0
  328. data/documentation/site/reference/quickbooks_online/resources/deposit.md +43 -0
  329. data/documentation/site/reference/quickbooks_online/resources/deposit_line_item.md +23 -0
  330. data/documentation/site/reference/quickbooks_online/resources/expense.md +46 -0
  331. data/documentation/site/reference/quickbooks_online/resources/expense_line_item.md +22 -0
  332. data/documentation/site/reference/quickbooks_online/resources/index.md +33 -0
  333. data/documentation/site/reference/quickbooks_online/resources/invoice.md +43 -0
  334. data/documentation/site/reference/quickbooks_online/resources/invoice_sales_line_item.md +22 -0
  335. data/documentation/site/reference/quickbooks_online/resources/item.md +19 -0
  336. data/documentation/site/reference/quickbooks_online/resources/journal_entry.md +41 -0
  337. data/documentation/site/reference/quickbooks_online/resources/journal_entry_line_item.md +24 -0
  338. data/documentation/site/reference/quickbooks_online/resources/ledger_class.md +41 -0
  339. data/documentation/site/reference/quickbooks_online/resources/payment.md +46 -0
  340. data/documentation/site/reference/quickbooks_online/resources/payment_line_item.md +20 -0
  341. data/documentation/site/reference/quickbooks_online/resources/preferences.md +34 -0
  342. data/documentation/site/reference/quickbooks_online/resources/primary_email_addr.md +19 -0
  343. data/documentation/site/reference/quickbooks_online/resources/primary_phone.md +19 -0
  344. data/documentation/site/reference/quickbooks_online/resources/resource.md +18 -0
  345. data/documentation/site/reference/quickbooks_online/resources/subsidiary.md +20 -0
  346. data/documentation/site/reference/quickbooks_online/resources/transfer.md +42 -0
  347. data/documentation/site/reference/quickbooks_online/resources/vendor.md +43 -0
  348. data/documentation/site/reference/quickbooks_online/webhooks/index.md +42 -0
  349. data/documentation/site/reference/stripe/index.md +6 -0
  350. data/documentation/site/reference/stripe/resources/customer.md +45 -0
  351. data/documentation/site/reference/stripe/resources/index.md +8 -0
  352. data/documentation/site/reference/stripe/resources/resource.md +18 -0
  353. data/documentation/site/style-guide.md +137 -0
  354. data/ledger_sync.gemspec +1 -1
  355. data/lib/ledger_sync.rb +40 -65
  356. data/lib/ledger_sync/core_ext/resonad.rb +2 -2
  357. data/lib/ledger_sync/deserializer.rb +55 -6
  358. data/lib/ledger_sync/error.rb +15 -0
  359. data/lib/ledger_sync/error/ledger_errors.rb +72 -0
  360. data/lib/ledger_sync/error/resource_errors.rb +34 -4
  361. data/lib/ledger_sync/ledger_configuration.rb +61 -0
  362. data/lib/ledger_sync/ledger_configuration_store.rb +56 -0
  363. data/lib/ledger_sync/ledgers/client.rb +112 -0
  364. data/lib/ledger_sync/ledgers/contract.rb +16 -0
  365. data/lib/ledger_sync/ledgers/dashboard_url_helper.rb +23 -0
  366. data/lib/ledger_sync/ledgers/mixins/infer_client_mixin.rb +28 -0
  367. data/lib/ledger_sync/ledgers/mixins/infer_resource_class_mixin.rb +25 -0
  368. data/lib/ledger_sync/ledgers/mixins/infer_serializer_mixin.rb +52 -0
  369. data/lib/ledger_sync/ledgers/mixins/infer_validation_contract_mixin.rb +27 -0
  370. data/lib/ledger_sync/ledgers/mixins/offset_and_limit_pagination_searcher_mixin.rb +37 -0
  371. data/lib/ledger_sync/ledgers/mixins/serialization_mixin.rb +41 -0
  372. data/lib/ledger_sync/ledgers/netsuite/account/deserializer.rb +23 -0
  373. data/lib/ledger_sync/ledgers/netsuite/account/operations/create.rb +28 -0
  374. data/lib/ledger_sync/ledgers/netsuite/account/operations/find.rb +28 -0
  375. data/lib/ledger_sync/ledgers/netsuite/account/searcher.rb +12 -0
  376. data/lib/ledger_sync/ledgers/netsuite/account/searcher_deserializer.rb +29 -0
  377. data/lib/ledger_sync/ledgers/netsuite/account/serializer.rb +21 -0
  378. data/lib/ledger_sync/ledgers/netsuite/check/deserializer.rb +29 -0
  379. data/lib/ledger_sync/ledgers/netsuite/check/operations/create.rb +27 -0
  380. data/lib/ledger_sync/ledgers/netsuite/check/operations/delete.rb +27 -0
  381. data/lib/ledger_sync/ledgers/netsuite/check/operations/find.rb +27 -0
  382. data/lib/ledger_sync/ledgers/netsuite/check/operations/update.rb +27 -0
  383. data/lib/ledger_sync/ledgers/netsuite/check/searcher.rb +15 -0
  384. data/lib/ledger_sync/ledgers/netsuite/check/searcher_deserializer.rb +16 -0
  385. data/lib/ledger_sync/ledgers/netsuite/check/serializer.rb +50 -0
  386. data/lib/ledger_sync/ledgers/netsuite/check_line_item/deserializer.rb +17 -0
  387. data/lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb +25 -0
  388. data/lib/ledger_sync/ledgers/netsuite/client.rb +184 -0
  389. data/lib/ledger_sync/ledgers/netsuite/config.rb +5 -0
  390. data/lib/ledger_sync/ledgers/netsuite/currency/deserializer.rb +23 -0
  391. data/lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb +25 -0
  392. data/lib/ledger_sync/ledgers/netsuite/currency/operations/delete.rb +23 -0
  393. data/lib/ledger_sync/ledgers/netsuite/currency/operations/find.rb +23 -0
  394. data/lib/ledger_sync/ledgers/netsuite/currency/operations/update.rb +23 -0
  395. data/lib/ledger_sync/ledgers/netsuite/currency/serializer.rb +21 -0
  396. data/lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb +22 -0
  397. data/lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb +26 -0
  398. data/lib/ledger_sync/ledgers/netsuite/customer/operations/delete.rb +26 -0
  399. data/lib/ledger_sync/ledgers/netsuite/customer/operations/find.rb +26 -0
  400. data/lib/ledger_sync/ledgers/netsuite/customer/operations/update.rb +26 -0
  401. data/lib/ledger_sync/ledgers/netsuite/customer/searcher.rb +12 -0
  402. data/lib/ledger_sync/ledgers/netsuite/customer/searcher_deserializer.rb +18 -0
  403. data/lib/ledger_sync/ledgers/netsuite/customer/serializer.rb +29 -0
  404. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/deserializer.rb +20 -0
  405. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/create.rb +24 -0
  406. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/delete.rb +24 -0
  407. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/find.rb +24 -0
  408. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/update.rb +24 -0
  409. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher.rb +12 -0
  410. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher_deserializer.rb +16 -0
  411. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb +25 -0
  412. data/lib/ledger_sync/ledgers/netsuite/dashboard_url_helper.rb +28 -0
  413. data/lib/ledger_sync/ledgers/netsuite/department/deserializer.rb +15 -0
  414. data/lib/ledger_sync/ledgers/netsuite/department/operations/create.rb +25 -0
  415. data/lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb +25 -0
  416. data/lib/ledger_sync/ledgers/netsuite/department/operations/find.rb +25 -0
  417. data/lib/ledger_sync/ledgers/netsuite/department/operations/update.rb +25 -0
  418. data/lib/ledger_sync/ledgers/netsuite/department/searcher.rb +12 -0
  419. data/lib/ledger_sync/ledgers/netsuite/department/searcher_deserializer.rb +19 -0
  420. data/lib/ledger_sync/ledgers/netsuite/department/serializer.rb +13 -0
  421. data/lib/ledger_sync/ledgers/netsuite/deserializer.rb +18 -0
  422. data/lib/ledger_sync/ledgers/netsuite/error.rb +18 -0
  423. data/lib/ledger_sync/ledgers/netsuite/journal_entry/deserializer.rb +31 -0
  424. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/create.rb +26 -0
  425. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/delete.rb +26 -0
  426. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/find.rb +26 -0
  427. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/update.rb +30 -0
  428. data/lib/ledger_sync/ledgers/netsuite/journal_entry/serializer.rb +36 -0
  429. data/lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/deserializer.rb +23 -0
  430. data/lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/serializer.rb +21 -0
  431. data/lib/ledger_sync/ledgers/netsuite/ledger_class/deserializer.rb +15 -0
  432. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb +25 -0
  433. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/delete.rb +25 -0
  434. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/find.rb +25 -0
  435. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/update.rb +25 -0
  436. data/lib/ledger_sync/ledgers/netsuite/ledger_class/searcher.rb +12 -0
  437. data/lib/ledger_sync/ledgers/netsuite/ledger_class/searcher_deserializer.rb +19 -0
  438. data/lib/ledger_sync/ledgers/netsuite/ledger_class/serializer.rb +13 -0
  439. data/lib/ledger_sync/ledgers/netsuite/location/deserializer.rb +15 -0
  440. data/lib/ledger_sync/ledgers/netsuite/location/operations/create.rb +21 -0
  441. data/lib/ledger_sync/ledgers/netsuite/location/operations/delete.rb +21 -0
  442. data/lib/ledger_sync/ledgers/netsuite/location/operations/find.rb +21 -0
  443. data/lib/ledger_sync/ledgers/netsuite/location/operations/update.rb +21 -0
  444. data/lib/ledger_sync/ledgers/netsuite/location/searcher.rb +12 -0
  445. data/lib/ledger_sync/ledgers/netsuite/location/serializer.rb +13 -0
  446. data/lib/ledger_sync/ledgers/netsuite/operation.rb +40 -0
  447. data/lib/ledger_sync/ledgers/netsuite/operation/create.rb +58 -0
  448. data/lib/ledger_sync/ledgers/netsuite/operation/delete.rb +49 -0
  449. data/lib/ledger_sync/ledgers/netsuite/operation/find.rb +60 -0
  450. data/lib/ledger_sync/ledgers/netsuite/operation/update.rb +61 -0
  451. data/lib/ledger_sync/ledgers/netsuite/record/http_method.rb +33 -0
  452. data/lib/ledger_sync/ledgers/netsuite/record/metadata.rb +105 -0
  453. data/lib/ledger_sync/ledgers/netsuite/record/parameter.rb +20 -0
  454. data/lib/ledger_sync/ledgers/netsuite/record/property.rb +22 -0
  455. data/lib/ledger_sync/ledgers/netsuite/reference/serializer.rb +13 -0
  456. data/lib/ledger_sync/ledgers/netsuite/resource.rb +10 -0
  457. data/lib/ledger_sync/ledgers/netsuite/resources/account.rb +44 -0
  458. data/lib/ledger_sync/ledgers/netsuite/resources/check.rb +23 -0
  459. data/lib/ledger_sync/ledgers/netsuite/resources/check_line_item.rb +15 -0
  460. data/lib/ledger_sync/ledgers/netsuite/resources/currency.rb +13 -0
  461. data/lib/ledger_sync/ledgers/netsuite/resources/customer.rb +19 -0
  462. data/lib/ledger_sync/ledgers/netsuite/resources/customer_deposit.rb +15 -0
  463. data/lib/ledger_sync/ledgers/netsuite/resources/department.rb +16 -0
  464. data/lib/ledger_sync/ledgers/netsuite/resources/deposit.rb +28 -0
  465. data/lib/ledger_sync/ledgers/netsuite/resources/deposit_line_item.rb +25 -0
  466. data/lib/ledger_sync/ledgers/netsuite/resources/invoice.rb +28 -0
  467. data/lib/ledger_sync/ledgers/netsuite/resources/invoice_line_item.rb +21 -0
  468. data/lib/ledger_sync/ledgers/netsuite/resources/item.rb +11 -0
  469. data/lib/ledger_sync/ledgers/netsuite/resources/journal_entry.rb +26 -0
  470. data/lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb +24 -0
  471. data/lib/ledger_sync/ledgers/netsuite/resources/ledger_class.rb +16 -0
  472. data/lib/ledger_sync/ledgers/netsuite/resources/location.rb +11 -0
  473. data/lib/ledger_sync/ledgers/netsuite/resources/subsidiary.rb +12 -0
  474. data/lib/ledger_sync/ledgers/netsuite/resources/vendor.rb +23 -0
  475. data/lib/ledger_sync/ledgers/netsuite/searcher.rb +64 -0
  476. data/lib/ledger_sync/ledgers/netsuite/serializer.rb +13 -0
  477. data/lib/ledger_sync/ledgers/netsuite/subsidiary/deserializer.rb +17 -0
  478. data/lib/ledger_sync/ledgers/netsuite/subsidiary/searcher.rb +12 -0
  479. data/lib/ledger_sync/ledgers/netsuite/subsidiary/searcher_deserializer.rb +15 -0
  480. data/lib/ledger_sync/ledgers/netsuite/subsidiary/serializer.rb +15 -0
  481. data/lib/ledger_sync/ledgers/netsuite/token.rb +158 -0
  482. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_active_type.rb +32 -0
  483. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_customer_type.rb +33 -0
  484. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_entity_type.rb +30 -0
  485. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_subsidiary_type.rb +33 -0
  486. data/lib/ledger_sync/ledgers/netsuite/vendor/deserializer.rb +30 -0
  487. data/lib/ledger_sync/ledgers/netsuite/vendor/operations/create.rb +27 -0
  488. data/lib/ledger_sync/ledgers/netsuite/vendor/operations/delete.rb +27 -0
  489. data/lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb +27 -0
  490. data/lib/ledger_sync/ledgers/netsuite/vendor/operations/update.rb +27 -0
  491. data/lib/ledger_sync/ledgers/netsuite/vendor/searcher.rb +12 -0
  492. data/lib/ledger_sync/ledgers/netsuite/vendor/searcher_deserializer.rb +21 -0
  493. data/lib/ledger_sync/ledgers/netsuite/vendor/serializer.rb +30 -0
  494. data/lib/ledger_sync/ledgers/netsuite_soap/client.rb +92 -0
  495. data/lib/ledger_sync/ledgers/netsuite_soap/config.rb +5 -0
  496. data/lib/ledger_sync/ledgers/netsuite_soap/customer/operations/create.rb +64 -0
  497. data/lib/ledger_sync/ledgers/netsuite_soap/customer/operations/find.rb +49 -0
  498. data/lib/ledger_sync/ledgers/netsuite_soap/operation.rb +40 -0
  499. data/lib/ledger_sync/ledgers/netsuite_soap/operation/create.rb +29 -0
  500. data/lib/ledger_sync/ledgers/netsuite_soap/operation/find.rb +15 -0
  501. data/lib/ledger_sync/ledgers/netsuite_soap/resource.rb +10 -0
  502. data/lib/ledger_sync/ledgers/netsuite_soap/resources/customer.rb +29 -0
  503. data/lib/ledger_sync/ledgers/netsuite_soap/resources/subsidiary.rb +12 -0
  504. data/lib/ledger_sync/ledgers/netsuite_soap/subsidiary/operations/create.rb +42 -0
  505. data/lib/ledger_sync/ledgers/netsuite_soap/subsidiary/operations/find.rb +38 -0
  506. data/lib/ledger_sync/ledgers/operation.rb +181 -0
  507. data/lib/ledger_sync/ledgers/quickbooks_online/account/deserializer.rb +43 -0
  508. data/lib/ledger_sync/ledgers/quickbooks_online/account/operations/create.rb +26 -0
  509. data/lib/ledger_sync/ledgers/quickbooks_online/account/operations/find.rb +26 -0
  510. data/lib/ledger_sync/ledgers/quickbooks_online/account/operations/update.rb +30 -0
  511. data/lib/ledger_sync/ledgers/quickbooks_online/account/searcher.rb +15 -0
  512. data/lib/ledger_sync/ledgers/quickbooks_online/account/serializer.rb +37 -0
  513. data/lib/ledger_sync/ledgers/quickbooks_online/bill/deserializer.rb +45 -0
  514. data/lib/ledger_sync/ledgers/quickbooks_online/bill/operations/create.rb +27 -0
  515. data/lib/ledger_sync/ledgers/quickbooks_online/bill/operations/find.rb +27 -0
  516. data/lib/ledger_sync/ledgers/quickbooks_online/bill/operations/update.rb +27 -0
  517. data/lib/ledger_sync/ledgers/quickbooks_online/bill/searcher.rb +14 -0
  518. data/lib/ledger_sync/ledgers/quickbooks_online/bill/serializer.rb +44 -0
  519. data/lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/deserializer.rb +25 -0
  520. data/lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/serializer.rb +29 -0
  521. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/deserializer.rb +59 -0
  522. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/create.rb +33 -0
  523. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/find.rb +33 -0
  524. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/update.rb +33 -0
  525. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/serializer.rb +77 -0
  526. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/deserializer.rb +18 -0
  527. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/serializer.rb +18 -0
  528. data/lib/ledger_sync/ledgers/quickbooks_online/client.rb +258 -0
  529. data/lib/ledger_sync/ledgers/quickbooks_online/config.rb +8 -0
  530. data/lib/ledger_sync/ledgers/quickbooks_online/currency/deserializer.rb +17 -0
  531. data/lib/ledger_sync/ledgers/quickbooks_online/currency/serializer.rb +16 -0
  532. data/lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb +19 -0
  533. data/lib/ledger_sync/ledgers/quickbooks_online/customer/operations/create.rb +26 -0
  534. data/lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb +26 -0
  535. data/lib/ledger_sync/ledgers/quickbooks_online/customer/operations/update.rb +26 -0
  536. data/lib/ledger_sync/ledgers/quickbooks_online/customer/searcher.rb +13 -0
  537. data/lib/ledger_sync/ledgers/quickbooks_online/customer/serializer.rb +19 -0
  538. data/lib/ledger_sync/ledgers/quickbooks_online/dashboard_url_helper.rb +34 -0
  539. data/lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb +28 -0
  540. data/lib/ledger_sync/ledgers/quickbooks_online/department/operations/create.rb +23 -0
  541. data/lib/ledger_sync/ledgers/quickbooks_online/department/operations/find.rb +23 -0
  542. data/lib/ledger_sync/ledgers/quickbooks_online/department/operations/update.rb +25 -0
  543. data/lib/ledger_sync/ledgers/quickbooks_online/department/searcher.rb +17 -0
  544. data/lib/ledger_sync/ledgers/quickbooks_online/department/serializer.rb +49 -0
  545. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/deserializer.rb +39 -0
  546. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/create.rb +25 -0
  547. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/find.rb +25 -0
  548. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/update.rb +27 -0
  549. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/searcher.rb +13 -0
  550. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/serializer.rb +39 -0
  551. data/lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/deserializer.rb +38 -0
  552. data/lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/serializer.rb +41 -0
  553. data/lib/ledger_sync/ledgers/quickbooks_online/deserializer.rb +98 -0
  554. data/lib/ledger_sync/ledgers/quickbooks_online/expense/deserializer.rb +58 -0
  555. data/lib/ledger_sync/ledgers/quickbooks_online/expense/operations/create.rb +28 -0
  556. data/lib/ledger_sync/ledgers/quickbooks_online/expense/operations/find.rb +28 -0
  557. data/lib/ledger_sync/ledgers/quickbooks_online/expense/operations/update.rb +28 -0
  558. data/lib/ledger_sync/ledgers/quickbooks_online/expense/searcher.rb +14 -0
  559. data/lib/ledger_sync/ledgers/quickbooks_online/expense/serializer.rb +59 -0
  560. data/lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/deserializer.rb +25 -0
  561. data/lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/serializer.rb +27 -0
  562. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/deserializer.rb +35 -0
  563. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/create.rb +27 -0
  564. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/find.rb +25 -0
  565. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/update.rb +25 -0
  566. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/serializer.rb +35 -0
  567. data/lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb +25 -0
  568. data/lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/serializer.rb +29 -0
  569. data/lib/ledger_sync/ledgers/quickbooks_online/item/deserializer.rb +13 -0
  570. data/lib/ledger_sync/ledgers/quickbooks_online/item/serializer.rb +12 -0
  571. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/deserializer.rb +33 -0
  572. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/create.rb +23 -0
  573. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb +23 -0
  574. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/update.rb +23 -0
  575. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/searcher.rb +14 -0
  576. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/serializer.rb +33 -0
  577. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/deserializer.rb +32 -0
  578. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/serializer.rb +36 -0
  579. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb +29 -0
  580. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb +23 -0
  581. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/find.rb +23 -0
  582. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/update.rb +25 -0
  583. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/searcher.rb +15 -0
  584. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/serializer.rb +24 -0
  585. data/lib/ledger_sync/ledgers/quickbooks_online/oauth_client.rb +93 -0
  586. data/lib/ledger_sync/ledgers/quickbooks_online/operation.rb +61 -0
  587. data/lib/ledger_sync/ledgers/quickbooks_online/operation/create.rb +26 -0
  588. data/lib/ledger_sync/ledgers/quickbooks_online/operation/find.rb +25 -0
  589. data/lib/ledger_sync/ledgers/quickbooks_online/operation/full_update.rb +44 -0
  590. data/lib/ledger_sync/ledgers/quickbooks_online/operation/sparse_update.rb +29 -0
  591. data/lib/ledger_sync/ledgers/quickbooks_online/payment/deserializer.rb +48 -0
  592. data/lib/ledger_sync/ledgers/quickbooks_online/payment/operations/create.rb +30 -0
  593. data/lib/ledger_sync/ledgers/quickbooks_online/payment/operations/find.rb +28 -0
  594. data/lib/ledger_sync/ledgers/quickbooks_online/payment/operations/update.rb +28 -0
  595. data/lib/ledger_sync/ledgers/quickbooks_online/payment/serializer.rb +48 -0
  596. data/lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb +18 -0
  597. data/lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/serializer.rb +18 -0
  598. data/lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb +43 -0
  599. data/lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb +30 -0
  600. data/lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb +43 -0
  601. data/lib/ledger_sync/ledgers/quickbooks_online/request.rb +98 -0
  602. data/lib/ledger_sync/ledgers/quickbooks_online/resource.rb +10 -0
  603. data/lib/ledger_sync/ledgers/quickbooks_online/resources/account.rb +355 -0
  604. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill.rb +31 -0
  605. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line_item.rb +21 -0
  606. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment.rb +42 -0
  607. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment_line_item.rb +19 -0
  608. data/lib/ledger_sync/ledgers/quickbooks_online/resources/currency.rb +13 -0
  609. data/lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb +19 -0
  610. data/lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb +16 -0
  611. data/lib/ledger_sync/ledgers/quickbooks_online/resources/deposit.rb +28 -0
  612. data/lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line_item.rb +25 -0
  613. data/lib/ledger_sync/ledgers/quickbooks_online/resources/expense.rb +40 -0
  614. data/lib/ledger_sync/ledgers/quickbooks_online/resources/expense_line_item.rb +21 -0
  615. data/lib/ledger_sync/ledgers/quickbooks_online/resources/invoice.rb +28 -0
  616. data/lib/ledger_sync/ledgers/quickbooks_online/resources/invoice_sales_line_item.rb +21 -0
  617. data/lib/ledger_sync/ledgers/quickbooks_online/resources/item.rb +11 -0
  618. data/lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry.rb +24 -0
  619. data/lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry_line_item.rb +29 -0
  620. data/lib/ledger_sync/ledgers/quickbooks_online/resources/ledger_class.rb +16 -0
  621. data/lib/ledger_sync/ledgers/quickbooks_online/resources/payment.rb +31 -0
  622. data/lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb +19 -0
  623. data/lib/ledger_sync/ledgers/quickbooks_online/resources/preferences.rb +24 -0
  624. data/lib/ledger_sync/ledgers/quickbooks_online/resources/primary_email_addr.rb +11 -0
  625. data/lib/ledger_sync/ledgers/quickbooks_online/resources/primary_phone.rb +11 -0
  626. data/lib/ledger_sync/ledgers/quickbooks_online/resources/subsidiary.rb +12 -0
  627. data/lib/ledger_sync/ledgers/quickbooks_online/resources/transfer.rb +24 -0
  628. data/lib/ledger_sync/ledgers/quickbooks_online/resources/vendor.rb +23 -0
  629. data/lib/ledger_sync/ledgers/quickbooks_online/searcher.rb +60 -0
  630. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/amount_float_to_integer_type.rb +21 -0
  631. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/deserialize_transaction_reference_type.rb +30 -0
  632. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/integer_to_amount_float_type.rb +21 -0
  633. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/serialize_transaction_reference_type.rb +30 -0
  634. data/lib/ledger_sync/ledgers/quickbooks_online/serializer.rb +71 -0
  635. data/lib/ledger_sync/ledgers/quickbooks_online/serialziation/type/mapping_type.rb +25 -0
  636. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/deserializer.rb +34 -0
  637. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/create.rb +24 -0
  638. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb +24 -0
  639. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/update.rb +26 -0
  640. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/serializer.rb +34 -0
  641. data/lib/ledger_sync/ledgers/quickbooks_online/util/error_matcher.rb +54 -0
  642. data/lib/ledger_sync/ledgers/quickbooks_online/util/error_parser.rb +27 -0
  643. data/lib/ledger_sync/ledgers/quickbooks_online/util/ledger_error_parser.rb +103 -0
  644. data/lib/ledger_sync/ledgers/quickbooks_online/util/operation_error_parser.rb +99 -0
  645. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb +25 -0
  646. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb +27 -0
  647. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/find.rb +27 -0
  648. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/update.rb +27 -0
  649. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/searcher.rb +15 -0
  650. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb +25 -0
  651. data/lib/ledger_sync/ledgers/quickbooks_online/webhook.rb +58 -0
  652. data/lib/ledger_sync/ledgers/quickbooks_online/webhook_event.rb +79 -0
  653. data/lib/ledger_sync/ledgers/quickbooks_online/webhook_notification.rb +42 -0
  654. data/lib/ledger_sync/ledgers/request.rb +57 -0
  655. data/lib/ledger_sync/ledgers/response.rb +55 -0
  656. data/lib/ledger_sync/ledgers/searcher.rb +73 -0
  657. data/lib/ledger_sync/ledgers/stripe/client.rb +37 -0
  658. data/lib/ledger_sync/ledgers/stripe/config.rb +5 -0
  659. data/lib/ledger_sync/ledgers/stripe/customer/operations/create.rb +44 -0
  660. data/lib/ledger_sync/ledgers/stripe/customer/operations/delete.rb +35 -0
  661. data/lib/ledger_sync/ledgers/stripe/customer/operations/find.rb +44 -0
  662. data/lib/ledger_sync/ledgers/stripe/customer/operations/update.rb +43 -0
  663. data/lib/ledger_sync/ledgers/stripe/dashboard_url_helper.rb +21 -0
  664. data/lib/ledger_sync/ledgers/stripe/operation.rb +35 -0
  665. data/lib/ledger_sync/ledgers/stripe/operation/create.rb +17 -0
  666. data/lib/ledger_sync/ledgers/stripe/operation/delete.rb +17 -0
  667. data/lib/ledger_sync/ledgers/stripe/operation/find.rb +15 -0
  668. data/lib/ledger_sync/ledgers/stripe/operation/update.rb +17 -0
  669. data/lib/ledger_sync/ledgers/stripe/resource.rb +10 -0
  670. data/lib/ledger_sync/ledgers/stripe/resources/customer.rb +13 -0
  671. data/lib/ledger_sync/operation.rb +23 -0
  672. data/lib/ledger_sync/resource.rb +12 -1
  673. data/lib/ledger_sync/resource_adaptor.rb +52 -0
  674. data/lib/ledger_sync/resource_attribute.rb +6 -7
  675. data/lib/ledger_sync/resource_attribute/dirty_mixin.rb +4 -0
  676. data/lib/ledger_sync/resource_attribute/mixin.rb +1 -1
  677. data/lib/ledger_sync/resource_attribute/reference/many.rb +10 -18
  678. data/lib/ledger_sync/resource_attribute/reference/one.rb +6 -1
  679. data/lib/ledger_sync/result.rb +3 -3
  680. data/lib/ledger_sync/serialization/attribute.rb +4 -10
  681. data/lib/ledger_sync/serialization/attribute_set_mixin.rb +1 -1
  682. data/lib/ledger_sync/serialization/deserializer_attribute.rb +30 -12
  683. data/lib/ledger_sync/serialization/deserializer_attribute_set.rb +1 -1
  684. data/lib/ledger_sync/serialization/mixin.rb +12 -14
  685. data/lib/ledger_sync/serialization/serializer_attribute.rb +16 -3
  686. data/lib/ledger_sync/serialization/serializer_attribute_set.rb +1 -1
  687. data/lib/ledger_sync/serialization/type/deserializer_references_many_type.rb +26 -0
  688. data/lib/ledger_sync/serialization/type/deserializer_references_one_type.rb +12 -0
  689. data/lib/ledger_sync/serialization/type/deserializer_type.rb +29 -0
  690. data/lib/ledger_sync/serialization/type/format_date_type.rb +23 -0
  691. data/lib/ledger_sync/serialization/type/mapping_type.rb +23 -0
  692. data/lib/ledger_sync/serialization/type/parse_date_type.rb +23 -0
  693. data/lib/ledger_sync/serialization/type/serializer_references_many_type.rb +21 -0
  694. data/lib/ledger_sync/serialization/type/serializer_references_one_type.rb +12 -0
  695. data/lib/ledger_sync/serialization/type/serializer_type.rb +5 -5
  696. data/lib/ledger_sync/serializer.rb +49 -0
  697. data/lib/ledger_sync/type/boolean.rb +2 -0
  698. data/lib/ledger_sync/type/date.rb +1 -1
  699. data/lib/ledger_sync/type/float.rb +2 -0
  700. data/lib/ledger_sync/type/hash.rb +6 -2
  701. data/lib/ledger_sync/type/id.rb +6 -2
  702. data/lib/ledger_sync/type/integer.rb +2 -0
  703. data/lib/ledger_sync/type/reference_many.rb +15 -5
  704. data/lib/ledger_sync/type/reference_one.rb +9 -22
  705. data/lib/ledger_sync/type/string.rb +2 -0
  706. data/lib/ledger_sync/type/string_from_set.rb +43 -0
  707. data/lib/ledger_sync/type/value_mixin.rb +37 -7
  708. data/lib/ledger_sync/util/mixins/delegate_iterable_methods_mixin.rb +1 -0
  709. data/lib/ledger_sync/util/mixins/resource_registerable_mixin.rb +29 -0
  710. data/lib/ledger_sync/util/resource_converter.rb +113 -0
  711. data/lib/ledger_sync/util/resource_converter/attribute.rb +131 -0
  712. data/lib/ledger_sync/util/resource_converter/attribute_set.rb +42 -0
  713. data/lib/ledger_sync/util/resource_converter/type/references_many_type.rb +27 -0
  714. data/lib/ledger_sync/util/resource_converter/type/references_one_type.rb +14 -0
  715. data/lib/ledger_sync/util/resource_converter/type/resource_converter_type.rb +26 -0
  716. data/lib/ledger_sync/util/resources_builder.rb +19 -11
  717. data/lib/ledger_sync/util/string_helpers.rb +3 -3
  718. data/lib/ledger_sync/util/url_helpers.rb +38 -0
  719. data/lib/ledger_sync/util/validator.rb +3 -1
  720. data/lib/ledger_sync/version.rb +1 -1
  721. data/licenses/BSL.txt +97 -0
  722. data/licenses/documentation_site.txt +7 -0
  723. metadata +683 -243
  724. data/.ruby-version +0 -1
  725. data/_config.yml +0 -1
  726. data/lib/ledger_sync/adaptor_configuration.rb +0 -61
  727. data/lib/ledger_sync/adaptor_configuration_store.rb +0 -56
  728. data/lib/ledger_sync/adaptors/adaptor.rb +0 -100
  729. data/lib/ledger_sync/adaptors/contract.rb +0 -16
  730. data/lib/ledger_sync/adaptors/dashboard_url_helper.rb +0 -23
  731. data/lib/ledger_sync/adaptors/ledger_serializer.rb +0 -143
  732. data/lib/ledger_sync/adaptors/ledger_serializer_attribute.rb +0 -178
  733. data/lib/ledger_sync/adaptors/ledger_serializer_attribute_set.rb +0 -56
  734. data/lib/ledger_sync/adaptors/ledger_serializer_type/mapping_type.rb +0 -41
  735. data/lib/ledger_sync/adaptors/ledger_serializer_type/references_many_type.rb +0 -24
  736. data/lib/ledger_sync/adaptors/ledger_serializer_type/references_one_type.rb +0 -22
  737. data/lib/ledger_sync/adaptors/ledger_serializer_type/value_type.rb +0 -17
  738. data/lib/ledger_sync/adaptors/mixins/infer_adaptor_class_mixin.rb +0 -24
  739. data/lib/ledger_sync/adaptors/mixins/infer_ledger_serializer_mixin.rb +0 -61
  740. data/lib/ledger_sync/adaptors/mixins/infer_resource_class_mixin.rb +0 -22
  741. data/lib/ledger_sync/adaptors/mixins/infer_validation_contract_mixin.rb +0 -27
  742. data/lib/ledger_sync/adaptors/mixins/offset_and_limit_pagination_searcher_mixin.rb +0 -37
  743. data/lib/ledger_sync/adaptors/netsuite/account/ledger_deserializer.rb +0 -24
  744. data/lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb +0 -22
  745. data/lib/ledger_sync/adaptors/netsuite/account/operations/create.rb +0 -28
  746. data/lib/ledger_sync/adaptors/netsuite/account/operations/find.rb +0 -28
  747. data/lib/ledger_sync/adaptors/netsuite/account/searcher.rb +0 -12
  748. data/lib/ledger_sync/adaptors/netsuite/account/searcher_ledger_deserializer.rb +0 -30
  749. data/lib/ledger_sync/adaptors/netsuite/adaptor.rb +0 -161
  750. data/lib/ledger_sync/adaptors/netsuite/config.rb +0 -5
  751. data/lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb +0 -28
  752. data/lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb +0 -25
  753. data/lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb +0 -25
  754. data/lib/ledger_sync/adaptors/netsuite/currency/operations/delete.rb +0 -23
  755. data/lib/ledger_sync/adaptors/netsuite/currency/operations/find.rb +0 -23
  756. data/lib/ledger_sync/adaptors/netsuite/currency/operations/update.rb +0 -23
  757. data/lib/ledger_sync/adaptors/netsuite/customer/ledger_deserializer.rb +0 -27
  758. data/lib/ledger_sync/adaptors/netsuite/customer/ledger_serializer.rb +0 -38
  759. data/lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb +0 -24
  760. data/lib/ledger_sync/adaptors/netsuite/customer/operations/delete.rb +0 -24
  761. data/lib/ledger_sync/adaptors/netsuite/customer/operations/find.rb +0 -24
  762. data/lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb +0 -24
  763. data/lib/ledger_sync/adaptors/netsuite/customer/searcher.rb +0 -12
  764. data/lib/ledger_sync/adaptors/netsuite/customer/searcher_ledger_deserializer.rb +0 -23
  765. data/lib/ledger_sync/adaptors/netsuite/dashboard_url_helper.rb +0 -24
  766. data/lib/ledger_sync/adaptors/netsuite/department/ledger_serializer.rb +0 -17
  767. data/lib/ledger_sync/adaptors/netsuite/department/operations/create.rb +0 -25
  768. data/lib/ledger_sync/adaptors/netsuite/department/operations/delete.rb +0 -25
  769. data/lib/ledger_sync/adaptors/netsuite/department/operations/find.rb +0 -25
  770. data/lib/ledger_sync/adaptors/netsuite/department/operations/update.rb +0 -25
  771. data/lib/ledger_sync/adaptors/netsuite/department/searcher.rb +0 -12
  772. data/lib/ledger_sync/adaptors/netsuite/department/searcher_ledger_deserializer.rb +0 -21
  773. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer.rb +0 -30
  774. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/active_type.rb +0 -26
  775. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/reference_type.rb +0 -24
  776. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/subsidiary_type.rb +0 -22
  777. data/lib/ledger_sync/adaptors/netsuite/location/ledger_serializer.rb +0 -18
  778. data/lib/ledger_sync/adaptors/netsuite/location/operations/create.rb +0 -21
  779. data/lib/ledger_sync/adaptors/netsuite/location/operations/delete.rb +0 -21
  780. data/lib/ledger_sync/adaptors/netsuite/location/operations/find.rb +0 -21
  781. data/lib/ledger_sync/adaptors/netsuite/location/operations/update.rb +0 -21
  782. data/lib/ledger_sync/adaptors/netsuite/location/searcher.rb +0 -12
  783. data/lib/ledger_sync/adaptors/netsuite/operation.rb +0 -19
  784. data/lib/ledger_sync/adaptors/netsuite/operation/create.rb +0 -65
  785. data/lib/ledger_sync/adaptors/netsuite/operation/delete.rb +0 -49
  786. data/lib/ledger_sync/adaptors/netsuite/operation/find.rb +0 -56
  787. data/lib/ledger_sync/adaptors/netsuite/operation/update.rb +0 -68
  788. data/lib/ledger_sync/adaptors/netsuite/record/http_method.rb +0 -33
  789. data/lib/ledger_sync/adaptors/netsuite/record/metadata.rb +0 -105
  790. data/lib/ledger_sync/adaptors/netsuite/record/parameter.rb +0 -20
  791. data/lib/ledger_sync/adaptors/netsuite/record/property.rb +0 -22
  792. data/lib/ledger_sync/adaptors/netsuite/searcher.rb +0 -58
  793. data/lib/ledger_sync/adaptors/netsuite/token.rb +0 -162
  794. data/lib/ledger_sync/adaptors/netsuite/vendor/ledger_deserializer.rb +0 -32
  795. data/lib/ledger_sync/adaptors/netsuite/vendor/ledger_serializer.rb +0 -35
  796. data/lib/ledger_sync/adaptors/netsuite/vendor/operations/create.rb +0 -27
  797. data/lib/ledger_sync/adaptors/netsuite/vendor/operations/delete.rb +0 -27
  798. data/lib/ledger_sync/adaptors/netsuite/vendor/operations/find.rb +0 -27
  799. data/lib/ledger_sync/adaptors/netsuite/vendor/operations/update.rb +0 -27
  800. data/lib/ledger_sync/adaptors/netsuite/vendor/searcher.rb +0 -12
  801. data/lib/ledger_sync/adaptors/netsuite/vendor/searcher_ledger_deserializer.rb +0 -23
  802. data/lib/ledger_sync/adaptors/netsuite_soap/adaptor.rb +0 -92
  803. data/lib/ledger_sync/adaptors/netsuite_soap/config.rb +0 -5
  804. data/lib/ledger_sync/adaptors/netsuite_soap/customer/ledger_serializer.rb +0 -13
  805. data/lib/ledger_sync/adaptors/netsuite_soap/customer/operations/create.rb +0 -64
  806. data/lib/ledger_sync/adaptors/netsuite_soap/customer/operations/find.rb +0 -49
  807. data/lib/ledger_sync/adaptors/netsuite_soap/ledger_serializer.rb +0 -25
  808. data/lib/ledger_sync/adaptors/netsuite_soap/operation.rb +0 -40
  809. data/lib/ledger_sync/adaptors/netsuite_soap/operation/create.rb +0 -29
  810. data/lib/ledger_sync/adaptors/netsuite_soap/operation/find.rb +0 -15
  811. data/lib/ledger_sync/adaptors/netsuite_soap/subsidiary/operations/create.rb +0 -42
  812. data/lib/ledger_sync/adaptors/netsuite_soap/subsidiary/operations/find.rb +0 -38
  813. data/lib/ledger_sync/adaptors/operation.rb +0 -180
  814. data/lib/ledger_sync/adaptors/quickbooks_online/account/ledger_serializer.rb +0 -37
  815. data/lib/ledger_sync/adaptors/quickbooks_online/account/operations/create.rb +0 -26
  816. data/lib/ledger_sync/adaptors/quickbooks_online/account/operations/find.rb +0 -26
  817. data/lib/ledger_sync/adaptors/quickbooks_online/account/operations/update.rb +0 -30
  818. data/lib/ledger_sync/adaptors/quickbooks_online/account/searcher.rb +0 -15
  819. data/lib/ledger_sync/adaptors/quickbooks_online/adaptor.rb +0 -258
  820. data/lib/ledger_sync/adaptors/quickbooks_online/bill/ledger_serializer.rb +0 -46
  821. data/lib/ledger_sync/adaptors/quickbooks_online/bill/operations/create.rb +0 -27
  822. data/lib/ledger_sync/adaptors/quickbooks_online/bill/operations/find.rb +0 -27
  823. data/lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb +0 -27
  824. data/lib/ledger_sync/adaptors/quickbooks_online/bill/searcher.rb +0 -14
  825. data/lib/ledger_sync/adaptors/quickbooks_online/bill_line_item/ledger_serializer.rb +0 -30
  826. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment/ledger_serializer.rb +0 -76
  827. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/create.rb +0 -33
  828. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/find.rb +0 -33
  829. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/update.rb +0 -33
  830. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment_line_item/ledger_serializer.rb +0 -19
  831. data/lib/ledger_sync/adaptors/quickbooks_online/config.rb +0 -8
  832. data/lib/ledger_sync/adaptors/quickbooks_online/currency/ledger_serializer.rb +0 -17
  833. data/lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb +0 -23
  834. data/lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb +0 -22
  835. data/lib/ledger_sync/adaptors/quickbooks_online/customer/operations/find.rb +0 -22
  836. data/lib/ledger_sync/adaptors/quickbooks_online/customer/operations/update.rb +0 -24
  837. data/lib/ledger_sync/adaptors/quickbooks_online/customer/searcher.rb +0 -13
  838. data/lib/ledger_sync/adaptors/quickbooks_online/dashboard_url_helper.rb +0 -34
  839. data/lib/ledger_sync/adaptors/quickbooks_online/department/ledger_serializer.rb +0 -41
  840. data/lib/ledger_sync/adaptors/quickbooks_online/department/operations/create.rb +0 -23
  841. data/lib/ledger_sync/adaptors/quickbooks_online/department/operations/find.rb +0 -23
  842. data/lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb +0 -25
  843. data/lib/ledger_sync/adaptors/quickbooks_online/department/searcher.rb +0 -17
  844. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/ledger_serializer.rb +0 -40
  845. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/create.rb +0 -25
  846. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/find.rb +0 -25
  847. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/update.rb +0 -27
  848. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/searcher.rb +0 -13
  849. data/lib/ledger_sync/adaptors/quickbooks_online/deposit_line_item/ledger_serializer.rb +0 -34
  850. data/lib/ledger_sync/adaptors/quickbooks_online/expense/ledger_serializer.rb +0 -52
  851. data/lib/ledger_sync/adaptors/quickbooks_online/expense/operations/create.rb +0 -28
  852. data/lib/ledger_sync/adaptors/quickbooks_online/expense/operations/find.rb +0 -28
  853. data/lib/ledger_sync/adaptors/quickbooks_online/expense/operations/update.rb +0 -28
  854. data/lib/ledger_sync/adaptors/quickbooks_online/expense/searcher.rb +0 -14
  855. data/lib/ledger_sync/adaptors/quickbooks_online/expense_line_item/ledger_serializer.rb +0 -30
  856. data/lib/ledger_sync/adaptors/quickbooks_online/invoice/ledger_serializer.rb +0 -36
  857. data/lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/create.rb +0 -27
  858. data/lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/find.rb +0 -25
  859. data/lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/update.rb +0 -25
  860. data/lib/ledger_sync/adaptors/quickbooks_online/invoice_sales_line_item/ledger_serializer.rb +0 -30
  861. data/lib/ledger_sync/adaptors/quickbooks_online/item/ledger_serializer.rb +0 -13
  862. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/ledger_serializer.rb +0 -34
  863. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb +0 -23
  864. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/find.rb +0 -23
  865. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/update.rb +0 -23
  866. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/searcher.rb +0 -14
  867. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry_line_item/ledger_serializer.rb +0 -37
  868. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_class/ledger_serializer.rb +0 -25
  869. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/create.rb +0 -23
  870. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/find.rb +0 -23
  871. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/update.rb +0 -25
  872. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_class/searcher.rb +0 -15
  873. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer.rb +0 -131
  874. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_sub_type.rb +0 -305
  875. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_type.rb +0 -51
  876. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/amount_type.rb +0 -23
  877. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb +0 -23
  878. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/date_type.rb +0 -23
  879. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/department_reference_type.rb +0 -26
  880. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/entity_reference_type.rb +0 -49
  881. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/journal_entry_line_item_type.rb +0 -20
  882. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/payment_type.rb +0 -21
  883. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/transaction_reference_type.rb +0 -49
  884. data/lib/ledger_sync/adaptors/quickbooks_online/oauth_client.rb +0 -93
  885. data/lib/ledger_sync/adaptors/quickbooks_online/operation.rb +0 -60
  886. data/lib/ledger_sync/adaptors/quickbooks_online/operation/create.rb +0 -26
  887. data/lib/ledger_sync/adaptors/quickbooks_online/operation/find.rb +0 -25
  888. data/lib/ledger_sync/adaptors/quickbooks_online/operation/full_update.rb +0 -44
  889. data/lib/ledger_sync/adaptors/quickbooks_online/operation/sparse_update.rb +0 -29
  890. data/lib/ledger_sync/adaptors/quickbooks_online/payment/ledger_serializer.rb +0 -50
  891. data/lib/ledger_sync/adaptors/quickbooks_online/payment/operations/create.rb +0 -30
  892. data/lib/ledger_sync/adaptors/quickbooks_online/payment/operations/find.rb +0 -28
  893. data/lib/ledger_sync/adaptors/quickbooks_online/payment/operations/update.rb +0 -28
  894. data/lib/ledger_sync/adaptors/quickbooks_online/payment_line_item/ledger_serializer.rb +0 -19
  895. data/lib/ledger_sync/adaptors/quickbooks_online/preferences/ledger_serializer.rb +0 -45
  896. data/lib/ledger_sync/adaptors/quickbooks_online/preferences/operations/find.rb +0 -38
  897. data/lib/ledger_sync/adaptors/quickbooks_online/request.rb +0 -98
  898. data/lib/ledger_sync/adaptors/quickbooks_online/resources/preferences.rb +0 -24
  899. data/lib/ledger_sync/adaptors/quickbooks_online/searcher.rb +0 -61
  900. data/lib/ledger_sync/adaptors/quickbooks_online/transfer/ledger_serializer.rb +0 -36
  901. data/lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/create.rb +0 -24
  902. data/lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb +0 -24
  903. data/lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/update.rb +0 -26
  904. data/lib/ledger_sync/adaptors/quickbooks_online/util/adaptor_error_parser.rb +0 -103
  905. data/lib/ledger_sync/adaptors/quickbooks_online/util/error_matcher.rb +0 -54
  906. data/lib/ledger_sync/adaptors/quickbooks_online/util/error_parser.rb +0 -27
  907. data/lib/ledger_sync/adaptors/quickbooks_online/util/operation_error_parser.rb +0 -99
  908. data/lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb +0 -25
  909. data/lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/create.rb +0 -27
  910. data/lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb +0 -27
  911. data/lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb +0 -27
  912. data/lib/ledger_sync/adaptors/quickbooks_online/vendor/searcher.rb +0 -15
  913. data/lib/ledger_sync/adaptors/quickbooks_online/webhook.rb +0 -58
  914. data/lib/ledger_sync/adaptors/quickbooks_online/webhook_event.rb +0 -79
  915. data/lib/ledger_sync/adaptors/quickbooks_online/webhook_notification.rb +0 -42
  916. data/lib/ledger_sync/adaptors/request.rb +0 -53
  917. data/lib/ledger_sync/adaptors/response.rb +0 -55
  918. data/lib/ledger_sync/adaptors/searcher.rb +0 -72
  919. data/lib/ledger_sync/adaptors/stripe/adaptor.rb +0 -37
  920. data/lib/ledger_sync/adaptors/stripe/config.rb +0 -5
  921. data/lib/ledger_sync/adaptors/stripe/customer/operations/create.rb +0 -44
  922. data/lib/ledger_sync/adaptors/stripe/customer/operations/delete.rb +0 -35
  923. data/lib/ledger_sync/adaptors/stripe/customer/operations/find.rb +0 -44
  924. data/lib/ledger_sync/adaptors/stripe/customer/operations/update.rb +0 -43
  925. data/lib/ledger_sync/adaptors/stripe/dashboard_url_helper.rb +0 -21
  926. data/lib/ledger_sync/adaptors/stripe/operation.rb +0 -35
  927. data/lib/ledger_sync/adaptors/stripe/operation/create.rb +0 -17
  928. data/lib/ledger_sync/adaptors/stripe/operation/delete.rb +0 -17
  929. data/lib/ledger_sync/adaptors/stripe/operation/find.rb +0 -15
  930. data/lib/ledger_sync/adaptors/stripe/operation/update.rb +0 -17
  931. data/lib/ledger_sync/adaptors/test/customer/ledger_serializer.rb +0 -12
  932. data/lib/ledger_sync/adaptors/test/ledger_serializer.rb +0 -12
  933. data/lib/ledger_sync/error/adaptor_errors.rb +0 -72
  934. data/lib/ledger_sync/resources/account.rb +0 -17
  935. data/lib/ledger_sync/resources/bill.rb +0 -27
  936. data/lib/ledger_sync/resources/bill_line_item.rb +0 -17
  937. data/lib/ledger_sync/resources/bill_payment.rb +0 -32
  938. data/lib/ledger_sync/resources/bill_payment_line_item.rb +0 -15
  939. data/lib/ledger_sync/resources/currency.rb +0 -9
  940. data/lib/ledger_sync/resources/customer.rb +0 -25
  941. data/lib/ledger_sync/resources/department.rb +0 -14
  942. data/lib/ledger_sync/resources/deposit.rb +0 -24
  943. data/lib/ledger_sync/resources/deposit_line_item.rb +0 -22
  944. data/lib/ledger_sync/resources/expense.rb +0 -33
  945. data/lib/ledger_sync/resources/expense_line_item.rb +0 -17
  946. data/lib/ledger_sync/resources/invoice.rb +0 -24
  947. data/lib/ledger_sync/resources/invoice_sales_line_item.rb +0 -17
  948. data/lib/ledger_sync/resources/item.rb +0 -5
  949. data/lib/ledger_sync/resources/journal_entry.rb +0 -20
  950. data/lib/ledger_sync/resources/journal_entry_line_item.rb +0 -20
  951. data/lib/ledger_sync/resources/ledger_class.rb +0 -14
  952. data/lib/ledger_sync/resources/location.rb +0 -7
  953. data/lib/ledger_sync/resources/payment.rb +0 -27
  954. data/lib/ledger_sync/resources/payment_line_item.rb +0 -15
  955. data/lib/ledger_sync/resources/subsidiary.rb +0 -8
  956. data/lib/ledger_sync/resources/transfer.rb +0 -20
  957. data/lib/ledger_sync/resources/vendor.rb +0 -19
  958. data/lib/ledger_sync/serialization/deserializer_delegator.rb +0 -17
  959. data/lib/ledger_sync/serialization/serializer_delegator.rb +0 -17
  960. data/lib/ledger_sync/serialization/type/references_many_type.rb +0 -19
  961. data/lib/ledger_sync/serialization/type/references_one_type.rb +0 -12
  962. data/lib/ledger_sync/serialization/type/value_type.rb +0 -15
@@ -0,0 +1,300 @@
1
+ /**
2
+ * Docs
3
+ */
4
+
5
+ .guides-content {
6
+ padding-top: 2.5em;
7
+ }
8
+
9
+ .post.type-guides {
10
+ margin-bottom: 5.625em;
11
+ max-width: 800px;
12
+ h1 {
13
+ font-size: 1.875rem;
14
+ }
15
+ h2 {
16
+ font-size: 1.5rem;
17
+ }
18
+ h3 {
19
+ font-size: 1.25rem;
20
+ }
21
+ h4 {
22
+ font-size: 1.125rem;
23
+ }
24
+ h5,
25
+ h6 {
26
+ font-size: 1rem;
27
+ }
28
+ .hash-link {
29
+ border: 0;
30
+ color: _palette(meta);
31
+ display: inline-block;
32
+ margin-left: -21px;
33
+ opacity: 0;
34
+ padding-right: 5px;
35
+ -webkit-transition: opacity .3s ease;
36
+ transition: opacity .3s ease;
37
+ .icon-copy {
38
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367758d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-link'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'%3E%3C/path%3E%3C/svg%3E");
39
+ display: inline-block;
40
+ height: 16px;
41
+ width: 16px;
42
+ }
43
+ }
44
+ h2,
45
+ h3 {
46
+ &:hover,
47
+ &:focus {
48
+ .hash-link {
49
+ opacity: 1;
50
+ }
51
+ }
52
+ }
53
+ .post-inside {
54
+ background: #fff;
55
+ border: 1px solid _palette(border);
56
+ border-radius: 5px;
57
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
58
+ box-sizing: border-box;
59
+ padding: 2.5em 0;
60
+ }
61
+ .post-title {
62
+ font-size: 1.875rem;
63
+ margin: 0 0 2.5rem;
64
+ padding: 0 7%;
65
+ }
66
+ .post-content {
67
+ padding: 0 7%;
68
+ }
69
+ }
70
+
71
+ .guides-section-items {
72
+ display: -ms-flexbox;
73
+ display: -webkit-flex;
74
+ display: flex;
75
+ -webkit-flex-wrap: wrap;
76
+ -ms-flex-wrap: wrap;
77
+ flex-wrap: wrap;
78
+ list-style: none;
79
+ margin-left: -0.3125em;
80
+ margin-right: -0.3125em;
81
+ padding: 0;
82
+ .guides-section-item {
83
+ -webkit-flex: 1 1 240px;
84
+ -ms-flex: 1 1 240px;
85
+ flex: 1 1 240px;
86
+ margin: 0 0.3125em 0.9375em;
87
+ }
88
+ .guides-item-link {
89
+ border: 1px solid _palette(border);
90
+ border-radius: 3px;
91
+ color: _palette(secondary);
92
+ display: block;
93
+ font-weight: bold;
94
+ padding: 0.9375em;
95
+ position: relative;
96
+ &:hover {
97
+ border-color: _palette(accent);
98
+ color: _palette(accent);
99
+ }
100
+ }
101
+ }
102
+
103
+ .guides-nav {
104
+ margin-bottom: 1.875em;
105
+ .guides-nav-toggle {
106
+ color: _palette(secondary);
107
+ font-size: 1.125rem;
108
+ height: 30px;
109
+ margin: 0;
110
+ padding-right: 30px;
111
+ position: relative;
112
+ text-align: left;
113
+ width: 100%;
114
+ }
115
+ .submenu-toggle {
116
+ color: _palette(meta);
117
+ height: 30px;
118
+ position: absolute;
119
+ right: 0;
120
+ top: 0;
121
+ width: 30px;
122
+ }
123
+ }
124
+
125
+ .guides-toc {
126
+ color: _palette(secondary);
127
+ font-weight: bold;
128
+ line-height: 1.5;
129
+ list-style: none;
130
+ margin: 0;
131
+ padding: 0;
132
+ &>.toc-item>a {
133
+ padding: 0.1875rem 0;
134
+ }
135
+ a {
136
+ border: 0;
137
+ color: inherit;
138
+ display: block;
139
+ &:hover,
140
+ &:focus {
141
+ color: _palette(accent);
142
+ }
143
+ }
144
+ }
145
+
146
+ .toc-submenu {
147
+ border-left: 1px solid _palette(border);
148
+ color: _palette(primary);
149
+ display: none;
150
+ font-size: 0.875rem;
151
+ font-weight: normal;
152
+ list-style: none;
153
+ margin-top: 0.625rem;
154
+ padding-left: 1.25rem;
155
+ }
156
+
157
+ .toc-item {
158
+ color: inherit;
159
+ margin-bottom: 0.625rem;
160
+ &.current,
161
+ &.current-parent {
162
+ color: _palette(accent);
163
+ }
164
+ &.has-children {
165
+ padding-right: 30px;
166
+ position: relative;
167
+ &.active {
168
+ .toc-submenu {
169
+ display: block;
170
+ }
171
+ &>.submenu-toggle {
172
+ .icon-angle-right {
173
+ -webkit-transform: rotate(135deg);
174
+ transform: rotate(135deg);
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+ .page-nav {
182
+ display: none;
183
+ .page-nav-title {
184
+ font-size: 1rem;
185
+ margin: 0 0 0.625rem;
186
+ &:only-child {
187
+ display: none;
188
+ }
189
+ }
190
+ ul {
191
+ font-size: 0.8125rem;
192
+ line-height: 1.5;
193
+ list-style: none;
194
+ padding: 0;
195
+ ul {
196
+ border-left: 1px solid _palette(border);
197
+ margin-top: 0.625rem;
198
+ padding-left: 1.25rem;
199
+ }
200
+ }
201
+ li {
202
+ margin-bottom: 0.625rem;
203
+ &.active>a {
204
+ color: _palette(accent);
205
+ }
206
+ }
207
+ a {
208
+ color: _palette(primary);
209
+ border: 0;
210
+ display: block;
211
+ &:hover,
212
+ &:focus {
213
+ color: _palette(accent);
214
+ }
215
+ }
216
+ }
217
+
218
+ @media only screen and (min-width: 801px) {
219
+ .guides-content {
220
+ display: -webkit-box;
221
+ display: -ms-flexbox;
222
+ display: flex;
223
+ padding-top: 3.75em;
224
+ }
225
+ .post.type-guides {
226
+ -webkit-flex: 1 1 auto;
227
+ -ms-flex: 1 1 auto;
228
+ flex: 1 1 auto;
229
+ overflow: hidden;
230
+ }
231
+ .guides-nav,
232
+ .page-nav {
233
+ -webkit-flex-shrink: 0;
234
+ -ms-flex-negative: 0;
235
+ flex-shrink: 0;
236
+ margin-bottom: 5.625em;
237
+ .sticky {
238
+ position: -webkit-sticky;
239
+ position: sticky;
240
+ top: 1.875rem;
241
+ }
242
+ }
243
+ .guides-nav {
244
+ padding-right: 1.5em;
245
+ width: 12.5em;
246
+ }
247
+ .page-nav {
248
+ padding-left: 1.5em;
249
+ width: 9.5em;
250
+ }
251
+ .guides-nav-toggle {
252
+ display: none;
253
+ }
254
+ }
255
+
256
+ @media only screen and (min-width: 1091px) {
257
+ .page-nav {
258
+ display: block;
259
+ }
260
+ }
261
+
262
+ @media only screen and (max-width: 800px) {
263
+ .guides-nav {
264
+ background: #fff;
265
+ border: 1px solid _palette(border);
266
+ border-radius: 5px;
267
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08);
268
+ box-sizing: border-box;
269
+ margin-bottom: 5%;
270
+ padding: 0.75em 1em;
271
+ }
272
+ .guides-toc-wrap {
273
+ display: none;
274
+ }
275
+ .toc--opened {
276
+ .guides-toc-wrap {
277
+ display: block;
278
+ }
279
+ .guides-nav-toggle {
280
+ .icon-angle-right {
281
+ -webkit-transform: rotate(135deg);
282
+ transform: rotate(135deg);
283
+ }
284
+ }
285
+ }
286
+ .guides-toc {
287
+ border-top: 1px solid _palette(border);
288
+ margin-top: 1.25rem;
289
+ padding-top: 1.25rem;
290
+ }
291
+ }
292
+
293
+ @media only screen and (max-width: 640px) {
294
+ .post.type-guides {
295
+ .post-title,
296
+ .post-content {
297
+ padding: 0 2.25rem;
298
+ }
299
+ }
300
+ }
@@ -0,0 +1,358 @@
1
+ /**
2
+ * Site Header
3
+ */
4
+ .site-header {
5
+ background: #fff;
6
+ padding-bottom: 1.25em;
7
+ padding-top: 1.125em;
8
+ }
9
+
10
+ .site-header-inside {
11
+ -webkit-box-align: center;
12
+ -ms-flex-align: center;
13
+ align-items: center;
14
+ display: -webkit-box;
15
+ display: -ms-flexbox;
16
+ display: flex;
17
+ }
18
+
19
+ .site-branding {
20
+ -webkit-box-flex: 0;
21
+ -ms-flex: 0 1 auto;
22
+ flex: 0 1 auto;
23
+
24
+ a {
25
+ border: 0;
26
+ color: inherit;
27
+ display: inline-block;
28
+ }
29
+ }
30
+
31
+ .site-title {
32
+ color: _palette(secondary);
33
+ font-size: 1.75rem;
34
+ font-weight: bold;
35
+ line-height: 1.2;
36
+ margin: 0;
37
+ }
38
+
39
+ .site-logo {
40
+ margin: 0;
41
+
42
+ img {
43
+ max-height: 36px;
44
+ }
45
+ }
46
+
47
+ .site-navigation {
48
+ margin-left: auto;
49
+ }
50
+
51
+ .menu,
52
+ .submenu {
53
+ list-style: none;
54
+ margin: 0;
55
+ padding: 0;
56
+ }
57
+
58
+ .menu-item {
59
+ position: relative;
60
+
61
+ &.current-menu-item {
62
+ color: _palette(accent);
63
+ }
64
+
65
+ a {
66
+ &:not(.button) {
67
+ border: 0;
68
+ color: inherit;
69
+ display: inline-block;
70
+ font-size: 14px;
71
+ line-height: 1.5;
72
+
73
+ &:hover {
74
+ color: _palette(accent);
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ .menu-toggle {
81
+ display: none;
82
+ }
83
+
84
+ @media only screen and (min-width: 801px) {
85
+ .menu {
86
+ -webkit-box-align: center;
87
+ -ms-flex-align: center;
88
+ align-items: center;
89
+ display: -webkit-box;
90
+ display: -ms-flexbox;
91
+ display: flex;
92
+ }
93
+
94
+ .menu-item {
95
+ margin-left: 20px;
96
+ padding-bottom: 0.1875em;
97
+ padding-top: 0.1875em;
98
+
99
+ a {
100
+ padding-bottom: 0.5em;
101
+ padding-top: 0.5em;
102
+
103
+ &.button:not(.button-icon) {
104
+ padding-left: 1.25em;
105
+ padding-right: 1.25em;
106
+ }
107
+ }
108
+
109
+ &.has-children > a {
110
+ padding-right: 15px;
111
+ position: relative;
112
+
113
+ &:after {
114
+ background: 0;
115
+ border-color: currentColor;
116
+ border-style: solid;
117
+ border-width: 1px 1px 0 0;
118
+ box-sizing: border-box;
119
+ content: "";
120
+ height: 6px;
121
+ position: absolute;
122
+ right: 0;
123
+ top: 50%;
124
+ width: 6px;
125
+ -webkit-transform: translateY(-50%) rotate(135deg);
126
+ transform: translateY(-50%) rotate(135deg);
127
+ }
128
+
129
+ &.button:not(.button-icon) {
130
+ padding-right: 2.25em;
131
+
132
+ &:after {
133
+ right: 1.25em;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .submenu {
140
+ background: #fff;
141
+ border: 1px solid _palette(border);
142
+ border-radius: 3px;
143
+ left: 0;
144
+ min-width: 180px;
145
+ opacity: 0;
146
+ padding: 0.75em 0;
147
+ position: absolute;
148
+ text-align: left;
149
+ top: 100%;
150
+ -webkit-transition: opacity .2s, visibility 0s .2s;
151
+ transition: opacity .2s, visibility 0s .2s;
152
+ visibility: hidden;
153
+ width: 100%;
154
+ z-index: 99;
155
+ }
156
+
157
+ .menu-item {
158
+ .submenu-toggle {
159
+ display: none;
160
+ }
161
+
162
+ &.has-children:hover > .submenu {
163
+ opacity: 1;
164
+ -webkit-transition: margin .3s, opacity .2s;
165
+ transition: margin .3s, opacity .2s;
166
+ visibility: visible;
167
+ }
168
+ }
169
+
170
+ .submenu {
171
+ .menu-item {
172
+ display: block;
173
+ margin: 0;
174
+ padding: 0 15px;
175
+ }
176
+
177
+ a {
178
+ &:not(.button-icon) {
179
+ display: block;
180
+ }
181
+
182
+ &.button:not(.button-icon) {
183
+ margin: 0.5em 0;
184
+ }
185
+ }
186
+ }
187
+ }
188
+
189
+ @media only screen and (max-width: 800px) {
190
+ .site {
191
+ overflow: hidden;
192
+ position: relative;
193
+ }
194
+
195
+ .site-branding {
196
+ margin-right: 10px;
197
+ }
198
+
199
+ .site-header {
200
+ &:after {
201
+ background: rgba(_palette(primary),.6);
202
+ content: "";
203
+ height: 100vh;
204
+ left: 0;
205
+ opacity: 0;
206
+ position: absolute;
207
+ top: 0;
208
+ -webkit-transition: opacity .15s ease-in-out,visibility 0s ease-in-out .15s;
209
+ transition: opacity .15s ease-in-out,visibility 0s ease-in-out .15s;
210
+ visibility: hidden;
211
+ width: 100%;
212
+ z-index: 998;
213
+ }
214
+ }
215
+
216
+ #menu-open {
217
+ display: block;
218
+ margin-left: auto;
219
+ }
220
+
221
+ .site-navigation {
222
+ background: #fff;
223
+ box-sizing: border-box;
224
+ height: 100vh;
225
+ margin: 0;
226
+ max-width: 360px;
227
+ -webkit-overflow-scrolling: touch;
228
+ position: absolute;
229
+ right: -100%;
230
+ top: 0;
231
+ -webkit-transition: right .3s ease-in-out, visibility 0s .3s ease-in-out;
232
+ transition: right .3s ease-in-out, visibility 0s .3s ease-in-out;
233
+ visibility: hidden;
234
+ width: 100%;
235
+ z-index: 999;
236
+ }
237
+
238
+ .site-nav-inside {
239
+ height: 100%;
240
+ overflow: auto;
241
+ -webkit-overflow-scrolling: touch;
242
+ position: relative;
243
+ }
244
+
245
+ .menu--opened {
246
+ .site {
247
+ height: 100%;
248
+ left: 0;
249
+ overflow: hidden;
250
+ position: fixed;
251
+ top: 0;
252
+ -webkit-transform: translate3d(0, 0, 0);
253
+ transform: translate3d(0, 0, 0);
254
+ width: 100%;
255
+ z-index: 997;
256
+ }
257
+
258
+ .site-navigation {
259
+ right: 0;
260
+ -webkit-transition: right .3s ease-in-out;
261
+ transition: right .3s ease-in-out;
262
+ visibility: visible;
263
+ }
264
+
265
+ .site-header:after {
266
+ opacity: 1;
267
+ -webkit-transition-delay: 0s;
268
+ transition-delay: 0s;
269
+ visibility: visible;
270
+ }
271
+ }
272
+
273
+ #menu-close {
274
+ display: block;
275
+ position: absolute;
276
+ right: 3vw;
277
+ top: 1.125rem;
278
+ }
279
+
280
+ .menu {
281
+ padding: 4.5rem 3vw 3rem;
282
+ }
283
+
284
+ .submenu {
285
+ border-top: 1px solid _palette(border);
286
+ display: none;
287
+ padding-left: 15px;
288
+
289
+ &.active {
290
+ display: block;
291
+ }
292
+ }
293
+
294
+ .menu-item {
295
+ border-top: 1px solid _palette(border);
296
+ display: block;
297
+ margin: 0;
298
+
299
+ &:not(.menu-button):last-child {
300
+ border-bottom: 1px solid _palette(border);
301
+ }
302
+
303
+ a {
304
+ &:not(.button),
305
+ &.button-icon {
306
+ padding: 1em 0;
307
+ }
308
+
309
+ &:not(.button-icon) {
310
+ display: block;
311
+ }
312
+ }
313
+
314
+ &.has-children > a {
315
+ margin-right: 30px;
316
+ }
317
+
318
+ .menu-item {
319
+ &:first-child {
320
+ border-top: 0;
321
+ }
322
+
323
+ &:last-child {
324
+ border-bottom: 0;
325
+ }
326
+ }
327
+
328
+ .submenu-toggle {
329
+ background: 0;
330
+ border: 0;
331
+ border-radius: 0;
332
+ color: _palette(meta);
333
+ display: block;
334
+ height: 48px;
335
+ padding: 0;
336
+ position: absolute;
337
+ right: 0;
338
+ top: 0;
339
+ width: 30px;
340
+
341
+ &.active .icon-angle-right {
342
+ -webkit-transform: rotate(135deg);
343
+ transform: rotate(135deg);
344
+ }
345
+ }
346
+ }
347
+
348
+ .menu-button {
349
+ & > .button:not(.button-icon) {
350
+ margin-bottom: 1em;
351
+ margin-top: 1em;
352
+ }
353
+
354
+ & + .menu-button {
355
+ border-top: 0;
356
+ }
357
+ }
358
+ }