ledger_sync 1.3.4 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (683) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -2
  3. data/.overcommit.yml +30 -0
  4. data/.rubocop.yml +14 -1
  5. data/.travis.yml +12 -2
  6. data/Dockerfile +2 -2
  7. data/Gemfile +2 -0
  8. data/Gemfile.lock +99 -39
  9. data/LICENSE.txt +5 -21
  10. data/README.md +9 -489
  11. data/Rakefile +2 -0
  12. data/bin/console +1 -0
  13. data/bin/quickbooks_online_oauth_server.rb +103 -0
  14. data/docs/.gitignore +4 -0
  15. data/documentation/build.sh +10 -0
  16. data/documentation/generate.rb +32 -0
  17. data/documentation/generators/generator.rb +80 -0
  18. data/documentation/generators/guides/generator.rb +36 -0
  19. data/documentation/generators/reference/generator.rb +76 -0
  20. data/documentation/generators/reference/ledger/generator.rb +74 -0
  21. data/documentation/generators/template.rb +22 -0
  22. data/documentation/helper_methods.rb +17 -0
  23. data/documentation/site/CNAME +1 -0
  24. data/documentation/site/LICENSE.md +40 -0
  25. data/documentation/site/README.md +8 -0
  26. data/documentation/site/_config.yml +119 -0
  27. data/documentation/site/_data/guides_sections.yml +10 -0
  28. data/documentation/site/_data/reference_sections.yml +5 -0
  29. data/documentation/site/_includes/action_link.html +11 -0
  30. data/documentation/site/_includes/alerts/base.html +3 -0
  31. data/documentation/site/_includes/alerts/danger.html +1 -0
  32. data/documentation/site/_includes/alerts/info.html +1 -0
  33. data/documentation/site/_includes/alerts/success.html +1 -0
  34. data/documentation/site/_includes/alerts/warning.html +1 -0
  35. data/documentation/site/_includes/cta_buttons.html +4 -0
  36. data/documentation/site/_includes/example.md +8 -0
  37. data/documentation/site/_includes/footer.html +20 -0
  38. data/documentation/site/_includes/getting_help.md +8 -0
  39. data/documentation/site/_includes/guides_menu.html +29 -0
  40. data/documentation/site/_includes/guides_submenu.html +7 -0
  41. data/documentation/site/_includes/header.html +35 -0
  42. data/documentation/site/_includes/installation_instructions.md +17 -0
  43. data/documentation/site/_includes/ledgers/netsuite_soap_summary.md +1 -0
  44. data/documentation/site/_includes/ledgers/netsuite_summary.md +1 -0
  45. data/documentation/site/_includes/ledgers/netsuite_summary_shared.md +1 -0
  46. data/documentation/site/_includes/ledgers/quickbooks_online_summary.md +1 -0
  47. data/documentation/site/_includes/ledgers/stripe_summary.md +1 -0
  48. data/documentation/site/_includes/reference/netsuite/authentication/_token_based_authentication.md +99 -0
  49. data/documentation/site/_includes/reference/netsuite/authentication/index.md +15 -0
  50. data/documentation/site/_includes/reference/netsuite/authentication/token_based_authentication.md +6 -0
  51. data/documentation/site/_includes/reference/netsuite/index.md +25 -0
  52. data/documentation/site/_includes/reference/netsuite_soap/index.md +11 -0
  53. data/documentation/site/_includes/reference/quickbooks_online/authentication/index.md +55 -0
  54. data/documentation/site/_includes/reference/quickbooks_online/errors/index.md +9 -0
  55. data/documentation/site/_includes/reference/quickbooks_online/index.md +6 -0
  56. data/documentation/site/_includes/reference/quickbooks_online/webhooks/index.md +42 -0
  57. data/documentation/site/_includes/reference/stripe/index.md +6 -0
  58. data/documentation/site/_includes/section_content.html +29 -0
  59. data/documentation/site/_includes/section_cta.html +24 -0
  60. data/documentation/site/_includes/section_grid.html +45 -0
  61. data/documentation/site/_includes/section_guides.html +35 -0
  62. data/documentation/site/_includes/section_hero.html +23 -0
  63. data/documentation/site/_includes/submenu.html +7 -0
  64. data/documentation/site/_layouts/advanced.html +8 -0
  65. data/documentation/site/_layouts/base.html +34 -0
  66. data/documentation/site/_layouts/blog.html +51 -0
  67. data/documentation/site/_layouts/body.html +11 -0
  68. data/documentation/site/_layouts/guides.html +46 -0
  69. data/documentation/site/_layouts/page.html +26 -0
  70. data/documentation/site/_layouts/post.html +52 -0
  71. data/documentation/site/_layouts/reference.html +46 -0
  72. data/documentation/site/_layouts/reference_netsuite.html +46 -0
  73. data/documentation/site/_layouts/reference_netsuite_soap.html +46 -0
  74. data/documentation/site/_layouts/reference_quickbooks_online.html +46 -0
  75. data/documentation/site/_layouts/reference_stripe.html +46 -0
  76. data/documentation/site/_plugins/filters.rb +122 -0
  77. data/documentation/site/_plugins/hooks.rb +9 -0
  78. data/documentation/site/_posts/2020-06-01-introducing-docs.md +17 -0
  79. data/documentation/site/_posts/2020-06-10-netsuite-authentication.md +382 -0
  80. data/documentation/site/_sass/imports/_animations.scss +19 -0
  81. data/documentation/site/_sass/imports/_footer.scss +94 -0
  82. data/documentation/site/_sass/imports/_functions.scss +69 -0
  83. data/documentation/site/_sass/imports/_general.scss +687 -0
  84. data/documentation/site/_sass/imports/_guides.scss +300 -0
  85. data/documentation/site/_sass/imports/_header.scss +358 -0
  86. data/documentation/site/_sass/imports/_icons.scss +90 -0
  87. data/documentation/site/_sass/imports/_post-navigation.scss +67 -0
  88. data/documentation/site/_sass/imports/_posts-pages.scss +165 -0
  89. data/documentation/site/_sass/imports/_prism.scss +174 -0
  90. data/documentation/site/_sass/imports/_reset.scss +210 -0
  91. data/documentation/site/_sass/imports/_sections.scss +370 -0
  92. data/documentation/site/_sass/imports/_structure.scss +44 -0
  93. data/documentation/site/_templates/_layouts/reference_ledger.html.erb +46 -0
  94. data/documentation/site/_templates/guides/ledger.md.erb +9 -0
  95. data/documentation/site/_templates/reference/resources/index.md.erb +9 -0
  96. data/documentation/site/_templates/reference/resources/resource.md.erb +41 -0
  97. data/documentation/site/assets/css/brands.min.css +5 -0
  98. data/documentation/site/assets/css/fontawesome.min.css +5 -0
  99. data/documentation/site/assets/css/main.scss +45 -0
  100. data/documentation/site/assets/css/monokai.css +441 -0
  101. data/documentation/site/assets/js/main.js +214 -0
  102. data/documentation/site/assets/js/plugins.js +22 -0
  103. data/documentation/site/assets/js/prism.js +9 -0
  104. data/documentation/site/assets/webfonts/fa-brands-400.eot +0 -0
  105. data/documentation/site/assets/webfonts/fa-brands-400.svg +3452 -0
  106. data/documentation/site/assets/webfonts/fa-brands-400.ttf +0 -0
  107. data/documentation/site/assets/webfonts/fa-brands-400.woff +0 -0
  108. data/documentation/site/assets/webfonts/fa-brands-400.woff2 +0 -0
  109. data/documentation/site/blog/index.md +6 -0
  110. data/documentation/site/guides/architecture/clients.md +35 -0
  111. data/documentation/site/guides/architecture/index.md +14 -0
  112. data/documentation/site/guides/architecture/operations.md +45 -0
  113. data/documentation/site/guides/architecture/resources.md +40 -0
  114. data/documentation/site/guides/architecture/results.md +6 -0
  115. data/documentation/site/guides/architecture/searchers.md +28 -0
  116. data/documentation/site/guides/architecture/serialization.md +59 -0
  117. data/documentation/site/guides/community/index.md +8 -0
  118. data/documentation/site/guides/contribute/console.md +6 -0
  119. data/documentation/site/guides/contribute/deployment.md +17 -0
  120. data/documentation/site/guides/contribute/documentation.md +37 -0
  121. data/documentation/site/guides/contribute/index.md +18 -0
  122. data/documentation/site/guides/contribute/qa.md +16 -0
  123. data/documentation/site/guides/contribute/testing.md +6 -0
  124. data/documentation/site/guides/customization/custom_resources.md +50 -0
  125. data/documentation/site/guides/customization/custom_serializers.md +47 -0
  126. data/documentation/site/guides/customization/index.md +15 -0
  127. data/documentation/site/guides/customization/resource_converters.md +79 -0
  128. data/documentation/site/guides/getting-started/get-help.md +7 -0
  129. data/documentation/site/guides/getting-started/index.md +8 -0
  130. data/documentation/site/guides/getting-started/installation.md +7 -0
  131. data/documentation/site/guides/getting-started/quick-start.md +123 -0
  132. data/documentation/site/guides/index.md +16 -0
  133. data/documentation/site/guides/ledgers/index.md +12 -0
  134. data/documentation/site/guides/ledgers/netsuite.md +9 -0
  135. data/documentation/site/guides/ledgers/netsuite_soap.md +9 -0
  136. data/documentation/site/guides/ledgers/quickbooks_online.md +9 -0
  137. data/documentation/site/guides/ledgers/stripe.md +9 -0
  138. data/documentation/site/guides/modern-treasury/index.md +14 -0
  139. data/documentation/site/guides/tips_and_more/index.md +76 -0
  140. data/documentation/site/images/1.jpg +0 -0
  141. data/documentation/site/images/10.jpg +0 -0
  142. data/documentation/site/images/2.jpg +0 -0
  143. data/documentation/site/images/3.jpg +0 -0
  144. data/documentation/site/images/4.jpg +0 -0
  145. data/documentation/site/images/5.jpg +0 -0
  146. data/documentation/site/images/6.jpg +0 -0
  147. data/documentation/site/images/7.jpg +0 -0
  148. data/documentation/site/images/8.jpg +0 -0
  149. data/documentation/site/images/9.jpg +0 -0
  150. data/documentation/site/images/logo.svg +8 -0
  151. data/documentation/site/index.md +99 -0
  152. data/documentation/site/overview.md +21 -0
  153. data/documentation/site/reference/index.md +6 -0
  154. data/documentation/site/reference/netsuite/authentication/_token_based_authentication.md +99 -0
  155. data/documentation/site/reference/netsuite/authentication/index.md +15 -0
  156. data/documentation/site/reference/netsuite/authentication/token_based_authentication.md +6 -0
  157. data/documentation/site/reference/netsuite/index.md +25 -0
  158. data/documentation/site/reference/netsuite/resources/account.md +44 -0
  159. data/documentation/site/reference/netsuite/resources/check.md +55 -0
  160. data/documentation/site/reference/netsuite/resources/check_line_item.md +27 -0
  161. data/documentation/site/reference/netsuite/resources/currency.md +49 -0
  162. data/documentation/site/reference/netsuite/resources/customer.md +54 -0
  163. data/documentation/site/reference/netsuite/resources/customer_deposit.md +52 -0
  164. data/documentation/site/reference/netsuite/resources/department.md +53 -0
  165. data/documentation/site/reference/netsuite/resources/deposit.md +29 -0
  166. data/documentation/site/reference/netsuite/resources/deposit_line_item.md +27 -0
  167. data/documentation/site/reference/netsuite/resources/index.md +25 -0
  168. data/documentation/site/reference/netsuite/resources/invoice.md +29 -0
  169. data/documentation/site/reference/netsuite/resources/invoice_line_item.md +26 -0
  170. data/documentation/site/reference/netsuite/resources/item.md +23 -0
  171. data/documentation/site/reference/netsuite/resources/journal_entry.md +52 -0
  172. data/documentation/site/reference/netsuite/resources/journal_entry_line_item.md +28 -0
  173. data/documentation/site/reference/netsuite/resources/ledger_class.md +53 -0
  174. data/documentation/site/reference/netsuite/resources/location.md +49 -0
  175. data/documentation/site/reference/netsuite/resources/resource.md +22 -0
  176. data/documentation/site/reference/netsuite/resources/subsidiary.md +26 -0
  177. data/documentation/site/reference/netsuite/resources/vendor.md +55 -0
  178. data/documentation/site/reference/netsuite_soap/index.md +11 -0
  179. data/documentation/site/reference/netsuite_soap/resources/customer.md +38 -0
  180. data/documentation/site/reference/netsuite_soap/resources/index.md +9 -0
  181. data/documentation/site/reference/netsuite_soap/resources/resource.md +22 -0
  182. data/documentation/site/reference/netsuite_soap/resources/subsidiary.md +36 -0
  183. data/documentation/site/reference/quickbooks_online/authentication/index.md +55 -0
  184. data/documentation/site/reference/quickbooks_online/errors/index.md +9 -0
  185. data/documentation/site/reference/quickbooks_online/index.md +6 -0
  186. data/documentation/site/reference/quickbooks_online/resources/account.md +50 -0
  187. data/documentation/site/reference/quickbooks_online/resources/bill.md +51 -0
  188. data/documentation/site/reference/quickbooks_online/resources/bill_line_item.md +26 -0
  189. data/documentation/site/reference/quickbooks_online/resources/bill_payment.md +53 -0
  190. data/documentation/site/reference/quickbooks_online/resources/bill_payment_line_item.md +24 -0
  191. data/documentation/site/reference/quickbooks_online/resources/currency.md +25 -0
  192. data/documentation/site/reference/quickbooks_online/resources/customer.md +46 -0
  193. data/documentation/site/reference/quickbooks_online/resources/department.md +47 -0
  194. data/documentation/site/reference/quickbooks_online/resources/deposit.md +49 -0
  195. data/documentation/site/reference/quickbooks_online/resources/deposit_line_item.md +27 -0
  196. data/documentation/site/reference/quickbooks_online/resources/expense.md +52 -0
  197. data/documentation/site/reference/quickbooks_online/resources/expense_line_item.md +26 -0
  198. data/documentation/site/reference/quickbooks_online/resources/index.md +33 -0
  199. data/documentation/site/reference/quickbooks_online/resources/invoice.md +47 -0
  200. data/documentation/site/reference/quickbooks_online/resources/invoice_sales_line_item.md +26 -0
  201. data/documentation/site/reference/quickbooks_online/resources/item.md +23 -0
  202. data/documentation/site/reference/quickbooks_online/resources/journal_entry.md +47 -0
  203. data/documentation/site/reference/quickbooks_online/resources/journal_entry_line_item.md +28 -0
  204. data/documentation/site/reference/quickbooks_online/resources/ledger_class.md +47 -0
  205. data/documentation/site/reference/quickbooks_online/resources/payment.md +50 -0
  206. data/documentation/site/reference/quickbooks_online/resources/payment_line_item.md +24 -0
  207. data/documentation/site/reference/quickbooks_online/resources/preferences.md +38 -0
  208. data/documentation/site/reference/quickbooks_online/resources/primary_email_addr.md +23 -0
  209. data/documentation/site/reference/quickbooks_online/resources/primary_phone.md +23 -0
  210. data/documentation/site/reference/quickbooks_online/resources/resource.md +22 -0
  211. data/documentation/site/reference/quickbooks_online/resources/subsidiary.md +24 -0
  212. data/documentation/site/reference/quickbooks_online/resources/transfer.md +46 -0
  213. data/documentation/site/reference/quickbooks_online/resources/vendor.md +49 -0
  214. data/documentation/site/reference/quickbooks_online/webhooks/index.md +42 -0
  215. data/documentation/site/reference/stripe/index.md +6 -0
  216. data/documentation/site/reference/stripe/resources/customer.md +49 -0
  217. data/documentation/site/reference/stripe/resources/index.md +8 -0
  218. data/documentation/site/reference/stripe/resources/resource.md +22 -0
  219. data/documentation/site/style-guide.md +137 -0
  220. data/ledger_sync.gemspec +8 -2
  221. data/lib/ledger_sync.rb +47 -62
  222. data/lib/ledger_sync/concerns/validatable.rb +2 -0
  223. data/lib/ledger_sync/core_ext/resonad.rb +2 -2
  224. data/lib/ledger_sync/deserializer.rb +108 -0
  225. data/lib/ledger_sync/error.rb +15 -0
  226. data/lib/ledger_sync/error/{adaptor_errors.rb → ledger_errors.rb} +13 -13
  227. data/lib/ledger_sync/error/operation_errors.rb +1 -1
  228. data/lib/ledger_sync/error/resource_errors.rb +49 -19
  229. data/lib/ledger_sync/{adaptor_configuration.rb → ledger_configuration.rb} +12 -12
  230. data/lib/ledger_sync/ledger_configuration_store.rb +60 -0
  231. data/lib/ledger_sync/{adaptors/adaptor.rb → ledgers/client.rb} +35 -17
  232. data/lib/ledger_sync/{adaptors → ledgers}/contract.rb +1 -1
  233. data/lib/ledger_sync/ledgers/dashboard_url_helper.rb +23 -0
  234. data/lib/ledger_sync/ledgers/mixins/infer_client_mixin.rb +28 -0
  235. data/lib/ledger_sync/{adaptors → ledgers}/mixins/infer_resource_class_mixin.rb +5 -2
  236. data/lib/ledger_sync/ledgers/mixins/infer_serializer_mixin.rb +54 -0
  237. data/lib/ledger_sync/{adaptors → ledgers}/mixins/infer_validation_contract_mixin.rb +1 -1
  238. data/lib/ledger_sync/{adaptors → ledgers}/mixins/offset_and_limit_pagination_searcher_mixin.rb +1 -1
  239. data/lib/ledger_sync/ledgers/mixins/serialization_mixin.rb +41 -0
  240. data/lib/ledger_sync/ledgers/netsuite/account/deserializer.rb +23 -0
  241. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/account/operations/create.rb +4 -4
  242. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/account/operations/find.rb +4 -4
  243. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/account/searcher.rb +2 -2
  244. data/lib/ledger_sync/ledgers/netsuite/account/searcher_deserializer.rb +29 -0
  245. data/lib/ledger_sync/ledgers/netsuite/account/serializer.rb +21 -0
  246. data/lib/ledger_sync/ledgers/netsuite/check/deserializer.rb +29 -0
  247. data/lib/ledger_sync/ledgers/netsuite/check/operations/create.rb +27 -0
  248. data/lib/ledger_sync/ledgers/netsuite/check/operations/delete.rb +27 -0
  249. data/lib/ledger_sync/ledgers/netsuite/check/operations/find.rb +27 -0
  250. data/lib/ledger_sync/ledgers/netsuite/check/operations/update.rb +27 -0
  251. data/lib/ledger_sync/ledgers/netsuite/check/searcher.rb +15 -0
  252. data/lib/ledger_sync/ledgers/netsuite/check/searcher_deserializer.rb +16 -0
  253. data/lib/ledger_sync/ledgers/netsuite/check/serializer.rb +51 -0
  254. data/lib/ledger_sync/ledgers/netsuite/check_line_item/deserializer.rb +17 -0
  255. data/lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb +25 -0
  256. data/lib/ledger_sync/{adaptors/netsuite/adaptor.rb → ledgers/netsuite/client.rb} +47 -16
  257. data/lib/ledger_sync/ledgers/netsuite/config.rb +5 -0
  258. data/lib/ledger_sync/ledgers/netsuite/currency/deserializer.rb +23 -0
  259. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/currency/operations/create.rb +3 -3
  260. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/currency/operations/delete.rb +3 -3
  261. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/currency/operations/find.rb +3 -3
  262. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/currency/operations/update.rb +3 -3
  263. data/lib/ledger_sync/ledgers/netsuite/currency/serializer.rb +21 -0
  264. data/lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb +22 -0
  265. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/customer/operations/create.rb +7 -5
  266. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/customer/operations/delete.rb +7 -5
  267. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/customer/operations/find.rb +7 -5
  268. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/customer/operations/update.rb +7 -5
  269. data/lib/ledger_sync/{adaptors/netsuite/department → ledgers/netsuite/customer}/searcher.rb +2 -2
  270. data/lib/ledger_sync/ledgers/netsuite/customer/searcher_deserializer.rb +18 -0
  271. data/lib/ledger_sync/ledgers/netsuite/customer/serializer.rb +29 -0
  272. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/deserializer.rb +20 -0
  273. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/create.rb +24 -0
  274. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/delete.rb +24 -0
  275. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/find.rb +24 -0
  276. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/update.rb +24 -0
  277. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher.rb +12 -0
  278. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher_deserializer.rb +16 -0
  279. data/lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb +25 -0
  280. data/lib/ledger_sync/ledgers/netsuite/dashboard_url_helper.rb +28 -0
  281. data/lib/ledger_sync/ledgers/netsuite/department/deserializer.rb +15 -0
  282. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/department/operations/create.rb +3 -3
  283. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/department/operations/delete.rb +3 -3
  284. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/department/operations/find.rb +3 -3
  285. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/department/operations/update.rb +3 -3
  286. data/lib/ledger_sync/ledgers/netsuite/department/searcher.rb +12 -0
  287. data/lib/ledger_sync/ledgers/netsuite/department/searcher_deserializer.rb +19 -0
  288. data/lib/ledger_sync/ledgers/netsuite/department/serializer.rb +13 -0
  289. data/lib/ledger_sync/ledgers/netsuite/deserializer.rb +18 -0
  290. data/lib/ledger_sync/ledgers/netsuite/error.rb +19 -0
  291. data/lib/ledger_sync/ledgers/netsuite/journal_entry/deserializer.rb +31 -0
  292. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/create.rb +26 -0
  293. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/delete.rb +26 -0
  294. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/find.rb +26 -0
  295. data/lib/ledger_sync/ledgers/netsuite/journal_entry/operations/update.rb +30 -0
  296. data/lib/ledger_sync/ledgers/netsuite/journal_entry/serializer.rb +36 -0
  297. data/lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/deserializer.rb +20 -0
  298. data/lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/serializer.rb +21 -0
  299. data/lib/ledger_sync/ledgers/netsuite/ledger_class/deserializer.rb +15 -0
  300. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb +25 -0
  301. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/delete.rb +25 -0
  302. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/find.rb +25 -0
  303. data/lib/ledger_sync/ledgers/netsuite/ledger_class/operations/update.rb +25 -0
  304. data/lib/ledger_sync/ledgers/netsuite/ledger_class/searcher.rb +12 -0
  305. data/lib/ledger_sync/ledgers/netsuite/ledger_class/searcher_deserializer.rb +19 -0
  306. data/lib/ledger_sync/ledgers/netsuite/ledger_class/serializer.rb +13 -0
  307. data/lib/ledger_sync/ledgers/netsuite/location/deserializer.rb +15 -0
  308. data/lib/ledger_sync/ledgers/netsuite/location/operations/create.rb +21 -0
  309. data/lib/ledger_sync/ledgers/netsuite/location/operations/delete.rb +21 -0
  310. data/lib/ledger_sync/ledgers/netsuite/location/operations/find.rb +21 -0
  311. data/lib/ledger_sync/ledgers/netsuite/location/operations/update.rb +21 -0
  312. data/lib/ledger_sync/ledgers/netsuite/location/searcher.rb +12 -0
  313. data/lib/ledger_sync/ledgers/netsuite/location/serializer.rb +13 -0
  314. data/lib/ledger_sync/ledgers/netsuite/operation.rb +40 -0
  315. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/operation/create.rb +6 -13
  316. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/operation/delete.rb +4 -4
  317. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/operation/find.rb +9 -5
  318. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/operation/update.rb +6 -13
  319. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/record/http_method.rb +3 -3
  320. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/record/metadata.rb +17 -13
  321. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/record/parameter.rb +2 -2
  322. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/record/property.rb +2 -2
  323. data/lib/ledger_sync/ledgers/netsuite/reference/serializer.rb +13 -0
  324. data/lib/ledger_sync/ledgers/netsuite/resource.rb +10 -0
  325. data/lib/ledger_sync/ledgers/netsuite/resources/account.rb +43 -0
  326. data/lib/ledger_sync/ledgers/netsuite/resources/check.rb +23 -0
  327. data/lib/ledger_sync/ledgers/netsuite/resources/check_line_item.rb +15 -0
  328. data/lib/ledger_sync/ledgers/netsuite/resources/currency.rb +13 -0
  329. data/lib/ledger_sync/ledgers/netsuite/resources/customer.rb +19 -0
  330. data/lib/ledger_sync/ledgers/netsuite/resources/customer_deposit.rb +15 -0
  331. data/lib/ledger_sync/ledgers/netsuite/resources/department.rb +16 -0
  332. data/lib/ledger_sync/ledgers/netsuite/resources/deposit.rb +28 -0
  333. data/lib/ledger_sync/ledgers/netsuite/resources/deposit_line_item.rb +25 -0
  334. data/lib/ledger_sync/ledgers/netsuite/resources/invoice.rb +28 -0
  335. data/lib/ledger_sync/ledgers/netsuite/resources/invoice_line_item.rb +21 -0
  336. data/lib/ledger_sync/ledgers/netsuite/resources/item.rb +11 -0
  337. data/lib/ledger_sync/ledgers/netsuite/resources/journal_entry.rb +26 -0
  338. data/lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb +24 -0
  339. data/lib/ledger_sync/ledgers/netsuite/resources/ledger_class.rb +16 -0
  340. data/lib/ledger_sync/ledgers/netsuite/resources/location.rb +11 -0
  341. data/lib/ledger_sync/ledgers/netsuite/resources/subsidiary.rb +12 -0
  342. data/lib/ledger_sync/ledgers/netsuite/resources/vendor.rb +23 -0
  343. data/lib/ledger_sync/ledgers/netsuite/searcher.rb +66 -0
  344. data/lib/ledger_sync/ledgers/netsuite/serializer.rb +13 -0
  345. data/lib/ledger_sync/ledgers/netsuite/subsidiary/deserializer.rb +17 -0
  346. data/lib/ledger_sync/ledgers/netsuite/subsidiary/searcher.rb +12 -0
  347. data/lib/ledger_sync/ledgers/netsuite/subsidiary/searcher_deserializer.rb +15 -0
  348. data/lib/ledger_sync/ledgers/netsuite/subsidiary/serializer.rb +15 -0
  349. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/token.rb +19 -23
  350. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_active_type.rb +32 -0
  351. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_customer_type.rb +33 -0
  352. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_entity_type.rb +30 -0
  353. data/lib/ledger_sync/ledgers/netsuite/type/deserializer_subsidiary_type.rb +33 -0
  354. data/lib/ledger_sync/ledgers/netsuite/vendor/deserializer.rb +30 -0
  355. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/vendor/operations/create.rb +3 -3
  356. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/vendor/operations/delete.rb +3 -3
  357. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/vendor/operations/find.rb +3 -3
  358. data/lib/ledger_sync/{adaptors → ledgers}/netsuite/vendor/operations/update.rb +3 -3
  359. data/lib/ledger_sync/ledgers/netsuite/vendor/searcher.rb +12 -0
  360. data/lib/ledger_sync/ledgers/netsuite/vendor/searcher_deserializer.rb +21 -0
  361. data/lib/ledger_sync/ledgers/netsuite/vendor/serializer.rb +30 -0
  362. data/lib/ledger_sync/{adaptors/netsuite_soap/adaptor.rb → ledgers/netsuite_soap/client.rb} +17 -23
  363. data/lib/ledger_sync/ledgers/netsuite_soap/config.rb +5 -0
  364. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/customer/operations/create.rb +5 -3
  365. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/customer/operations/find.rb +3 -3
  366. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/operation.rb +5 -5
  367. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/operation/create.rb +5 -5
  368. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/operation/find.rb +2 -2
  369. data/lib/ledger_sync/ledgers/netsuite_soap/resource.rb +10 -0
  370. data/lib/ledger_sync/ledgers/netsuite_soap/resources/customer.rb +29 -0
  371. data/lib/ledger_sync/ledgers/netsuite_soap/resources/subsidiary.rb +12 -0
  372. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/subsidiary/operations/create.rb +3 -3
  373. data/lib/ledger_sync/{adaptors → ledgers}/netsuite_soap/subsidiary/operations/find.rb +3 -3
  374. data/lib/ledger_sync/{adaptors → ledgers}/operation.rb +41 -34
  375. data/lib/ledger_sync/ledgers/quickbooks_online/account/deserializer.rb +43 -0
  376. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/account/operations/create.rb +6 -4
  377. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/account/operations/find.rb +6 -4
  378. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/account/operations/update.rb +4 -4
  379. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/account/searcher.rb +2 -2
  380. data/lib/ledger_sync/ledgers/quickbooks_online/account/serializer.rb +37 -0
  381. data/lib/ledger_sync/ledgers/quickbooks_online/bill/deserializer.rb +45 -0
  382. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill/operations/create.rb +5 -3
  383. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill/operations/find.rb +5 -3
  384. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill/operations/update.rb +5 -3
  385. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill/searcher.rb +2 -2
  386. data/lib/ledger_sync/ledgers/quickbooks_online/bill/serializer.rb +44 -0
  387. data/lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/deserializer.rb +25 -0
  388. data/lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/serializer.rb +29 -0
  389. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/deserializer.rb +59 -0
  390. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill_payment/operations/create.rb +3 -3
  391. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill_payment/operations/find.rb +3 -3
  392. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/bill_payment/operations/update.rb +3 -3
  393. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment/serializer.rb +77 -0
  394. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/deserializer.rb +18 -0
  395. data/lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/serializer.rb +18 -0
  396. data/lib/ledger_sync/{adaptors/quickbooks_online/adaptor.rb → ledgers/quickbooks_online/client.rb} +30 -17
  397. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/config.rb +1 -1
  398. data/lib/ledger_sync/ledgers/quickbooks_online/currency/deserializer.rb +17 -0
  399. data/lib/ledger_sync/ledgers/quickbooks_online/currency/serializer.rb +16 -0
  400. data/lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb +19 -0
  401. data/lib/ledger_sync/ledgers/quickbooks_online/customer/operations/create.rb +26 -0
  402. data/lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb +26 -0
  403. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/customer/operations/update.rb +8 -6
  404. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/customer/searcher.rb +5 -3
  405. data/lib/ledger_sync/ledgers/quickbooks_online/customer/serializer.rb +19 -0
  406. data/lib/ledger_sync/ledgers/quickbooks_online/dashboard_url_helper.rb +34 -0
  407. data/lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb +28 -0
  408. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/department/operations/create.rb +5 -3
  409. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/department/operations/find.rb +5 -3
  410. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/department/operations/update.rb +3 -3
  411. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/department/searcher.rb +3 -3
  412. data/lib/ledger_sync/ledgers/quickbooks_online/department/serializer.rb +49 -0
  413. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/deserializer.rb +39 -0
  414. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/deposit/operations/create.rb +5 -3
  415. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/deposit/operations/find.rb +5 -3
  416. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/deposit/operations/update.rb +3 -3
  417. data/lib/ledger_sync/{adaptors/quickbooks_online/expense → ledgers/quickbooks_online/deposit}/searcher.rb +2 -2
  418. data/lib/ledger_sync/ledgers/quickbooks_online/deposit/serializer.rb +39 -0
  419. data/lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/deserializer.rb +38 -0
  420. data/lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/serializer.rb +41 -0
  421. data/lib/ledger_sync/ledgers/quickbooks_online/deserializer.rb +100 -0
  422. data/lib/ledger_sync/ledgers/quickbooks_online/expense/deserializer.rb +59 -0
  423. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/expense/operations/create.rb +5 -3
  424. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/expense/operations/find.rb +5 -3
  425. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/expense/operations/update.rb +5 -3
  426. data/lib/ledger_sync/{adaptors/quickbooks_online/deposit → ledgers/quickbooks_online/expense}/searcher.rb +3 -2
  427. data/lib/ledger_sync/ledgers/quickbooks_online/expense/serializer.rb +59 -0
  428. data/lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/deserializer.rb +25 -0
  429. data/lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/serializer.rb +27 -0
  430. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/deserializer.rb +35 -0
  431. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/invoice/operations/create.rb +3 -3
  432. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/invoice/operations/find.rb +5 -3
  433. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/invoice/operations/update.rb +5 -3
  434. data/lib/ledger_sync/ledgers/quickbooks_online/invoice/serializer.rb +35 -0
  435. data/lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb +25 -0
  436. data/lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/serializer.rb +29 -0
  437. data/lib/ledger_sync/{adaptors/quickbooks_online/item/ledger_serializer.rb → ledgers/quickbooks_online/item/deserializer.rb} +3 -3
  438. data/lib/ledger_sync/ledgers/quickbooks_online/item/serializer.rb +12 -0
  439. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/deserializer.rb +33 -0
  440. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/journal_entry/operations/create.rb +5 -3
  441. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/journal_entry/operations/find.rb +5 -3
  442. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/journal_entry/operations/update.rb +5 -3
  443. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/journal_entry/searcher.rb +2 -2
  444. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry/serializer.rb +33 -0
  445. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/deserializer.rb +32 -0
  446. data/lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/serializer.rb +36 -0
  447. data/lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb +28 -0
  448. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/ledger_class/operations/create.rb +5 -3
  449. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/ledger_class/operations/find.rb +5 -3
  450. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/ledger_class/operations/update.rb +3 -3
  451. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/ledger_class/searcher.rb +3 -3
  452. data/lib/ledger_sync/{adaptors/quickbooks_online/ledger_class/ledger_serializer.rb → ledgers/quickbooks_online/ledger_class/serializer.rb} +8 -9
  453. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/oauth_client.rb +1 -1
  454. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/operation.rb +8 -7
  455. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/operation/create.rb +4 -4
  456. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/operation/find.rb +3 -3
  457. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/operation/full_update.rb +11 -12
  458. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/operation/sparse_update.rb +5 -5
  459. data/lib/ledger_sync/ledgers/quickbooks_online/payment/deserializer.rb +48 -0
  460. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/payment/operations/create.rb +3 -3
  461. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/payment/operations/find.rb +5 -3
  462. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/payment/operations/update.rb +5 -3
  463. data/lib/ledger_sync/ledgers/quickbooks_online/payment/serializer.rb +48 -0
  464. data/lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb +18 -0
  465. data/lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/serializer.rb +18 -0
  466. data/lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb +43 -0
  467. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/preferences/operations/find.rb +2 -10
  468. data/lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb +43 -0
  469. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/request.rb +13 -13
  470. data/lib/ledger_sync/ledgers/quickbooks_online/resource.rb +10 -0
  471. data/lib/ledger_sync/ledgers/quickbooks_online/resources/account.rb +355 -0
  472. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill.rb +31 -0
  473. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line_item.rb +21 -0
  474. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment.rb +42 -0
  475. data/lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment_line_item.rb +19 -0
  476. data/lib/ledger_sync/ledgers/quickbooks_online/resources/currency.rb +13 -0
  477. data/lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb +23 -0
  478. data/lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb +16 -0
  479. data/lib/ledger_sync/ledgers/quickbooks_online/resources/deposit.rb +28 -0
  480. data/lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line_item.rb +25 -0
  481. data/lib/ledger_sync/ledgers/quickbooks_online/resources/expense.rb +40 -0
  482. data/lib/ledger_sync/ledgers/quickbooks_online/resources/expense_line_item.rb +21 -0
  483. data/lib/ledger_sync/ledgers/quickbooks_online/resources/invoice.rb +28 -0
  484. data/lib/ledger_sync/ledgers/quickbooks_online/resources/invoice_sales_line_item.rb +21 -0
  485. data/lib/ledger_sync/ledgers/quickbooks_online/resources/item.rb +11 -0
  486. data/lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry.rb +24 -0
  487. data/lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry_line_item.rb +29 -0
  488. data/lib/ledger_sync/ledgers/quickbooks_online/resources/ledger_class.rb +16 -0
  489. data/lib/ledger_sync/ledgers/quickbooks_online/resources/payment.rb +31 -0
  490. data/lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb +19 -0
  491. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/resources/preferences.rb +2 -2
  492. data/lib/ledger_sync/ledgers/quickbooks_online/resources/primary_email_addr.rb +11 -0
  493. data/lib/ledger_sync/ledgers/quickbooks_online/resources/primary_phone.rb +11 -0
  494. data/lib/ledger_sync/ledgers/quickbooks_online/resources/subsidiary.rb +12 -0
  495. data/lib/ledger_sync/ledgers/quickbooks_online/resources/transfer.rb +24 -0
  496. data/lib/ledger_sync/ledgers/quickbooks_online/resources/vendor.rb +23 -0
  497. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/searcher.rb +6 -7
  498. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/amount_float_to_integer_type.rb +21 -0
  499. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/deserialize_transaction_reference_type.rb +30 -0
  500. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/integer_to_amount_float_type.rb +21 -0
  501. data/lib/ledger_sync/ledgers/quickbooks_online/serialization/type/serialize_transaction_reference_type.rb +30 -0
  502. data/lib/ledger_sync/ledgers/quickbooks_online/serializer.rb +71 -0
  503. data/lib/ledger_sync/ledgers/quickbooks_online/serialziation/type/mapping_type.rb +25 -0
  504. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/deserializer.rb +34 -0
  505. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/transfer/operations/create.rb +5 -3
  506. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/transfer/operations/find.rb +5 -3
  507. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/transfer/operations/update.rb +3 -3
  508. data/lib/ledger_sync/ledgers/quickbooks_online/transfer/serializer.rb +34 -0
  509. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/util/error_matcher.rb +11 -8
  510. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/util/error_parser.rb +3 -3
  511. data/lib/ledger_sync/{adaptors/quickbooks_online/util/adaptor_error_parser.rb → ledgers/quickbooks_online/util/ledger_error_parser.rb} +19 -19
  512. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/util/operation_error_parser.rb +9 -9
  513. data/lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb +25 -0
  514. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/vendor/operations/create.rb +3 -3
  515. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/vendor/operations/find.rb +4 -4
  516. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/vendor/operations/update.rb +3 -3
  517. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/vendor/searcher.rb +2 -2
  518. data/lib/ledger_sync/{adaptors/quickbooks_online/vendor/ledger_serializer.rb → ledgers/quickbooks_online/vendor/serializer.rb} +7 -7
  519. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/webhook.rb +1 -1
  520. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/webhook_event.rb +12 -10
  521. data/lib/ledger_sync/{adaptors → ledgers}/quickbooks_online/webhook_notification.rb +5 -4
  522. data/lib/ledger_sync/{adaptors → ledgers}/request.rb +11 -7
  523. data/lib/ledger_sync/{adaptors → ledgers}/response.rb +4 -2
  524. data/lib/ledger_sync/{adaptors → ledgers}/searcher.rb +11 -10
  525. data/lib/ledger_sync/ledgers/stripe/client.rb +37 -0
  526. data/lib/ledger_sync/{adaptors → ledgers}/stripe/config.rb +1 -1
  527. data/lib/ledger_sync/{adaptors → ledgers}/stripe/customer/operations/create.rb +3 -3
  528. data/lib/ledger_sync/{adaptors → ledgers}/stripe/customer/operations/delete.rb +3 -3
  529. data/lib/ledger_sync/{adaptors → ledgers}/stripe/customer/operations/find.rb +3 -3
  530. data/lib/ledger_sync/{adaptors → ledgers}/stripe/customer/operations/update.rb +3 -3
  531. data/lib/ledger_sync/ledgers/stripe/dashboard_url_helper.rb +21 -0
  532. data/lib/ledger_sync/{adaptors → ledgers}/stripe/operation.rb +5 -5
  533. data/lib/ledger_sync/{adaptors → ledgers}/stripe/operation/create.rb +2 -4
  534. data/lib/ledger_sync/{adaptors → ledgers}/stripe/operation/delete.rb +2 -4
  535. data/lib/ledger_sync/{adaptors → ledgers}/stripe/operation/find.rb +2 -2
  536. data/lib/ledger_sync/{adaptors → ledgers}/stripe/operation/update.rb +2 -4
  537. data/lib/ledger_sync/ledgers/stripe/resource.rb +10 -0
  538. data/lib/ledger_sync/ledgers/stripe/resources/customer.rb +13 -0
  539. data/lib/ledger_sync/operation.rb +23 -0
  540. data/lib/ledger_sync/resource.rb +24 -10
  541. data/lib/ledger_sync/resource_adaptor.rb +52 -0
  542. data/lib/ledger_sync/resource_attribute.rb +31 -9
  543. data/lib/ledger_sync/resource_attribute/dirty_mixin.rb +5 -1
  544. data/lib/ledger_sync/resource_attribute/mixin.rb +17 -27
  545. data/lib/ledger_sync/resource_attribute/reference/many.rb +21 -23
  546. data/lib/ledger_sync/resource_attribute/reference/one.rb +16 -5
  547. data/lib/ledger_sync/resource_attribute_set.rb +4 -8
  548. data/lib/ledger_sync/result.rb +9 -14
  549. data/lib/ledger_sync/serialization/attribute.rb +41 -0
  550. data/lib/ledger_sync/serialization/attribute_set_mixin.rb +27 -0
  551. data/lib/ledger_sync/serialization/deserializer_attribute.rb +82 -0
  552. data/lib/ledger_sync/serialization/deserializer_attribute_set.rb +22 -0
  553. data/lib/ledger_sync/serialization/mixin.rb +70 -0
  554. data/lib/ledger_sync/serialization/serializer_attribute.rb +64 -0
  555. data/lib/ledger_sync/serialization/serializer_attribute_set.rb +22 -0
  556. data/lib/ledger_sync/serialization/type/deserializer_references_many_type.rb +26 -0
  557. data/lib/ledger_sync/serialization/type/deserializer_references_one_type.rb +12 -0
  558. data/lib/ledger_sync/serialization/type/deserializer_type.rb +29 -0
  559. data/lib/ledger_sync/serialization/type/format_date_type.rb +23 -0
  560. data/lib/ledger_sync/serialization/type/mapping_type.rb +23 -0
  561. data/lib/ledger_sync/serialization/type/parse_date_type.rb +23 -0
  562. data/lib/ledger_sync/serialization/type/serializer_references_many_type.rb +21 -0
  563. data/lib/ledger_sync/serialization/type/serializer_references_one_type.rb +12 -0
  564. data/lib/ledger_sync/serialization/type/serializer_type.rb +23 -0
  565. data/lib/ledger_sync/serializer.rb +97 -0
  566. data/lib/ledger_sync/type/boolean.rb +2 -0
  567. data/lib/ledger_sync/type/date.rb +3 -1
  568. data/lib/ledger_sync/type/float.rb +2 -0
  569. data/lib/ledger_sync/type/hash.rb +6 -2
  570. data/lib/ledger_sync/type/id.rb +8 -2
  571. data/lib/ledger_sync/type/integer.rb +2 -0
  572. data/lib/ledger_sync/type/reference_many.rb +15 -5
  573. data/lib/ledger_sync/type/reference_one.rb +8 -17
  574. data/lib/ledger_sync/type/string.rb +2 -0
  575. data/lib/ledger_sync/type/string_from_set.rb +43 -0
  576. data/lib/ledger_sync/type/value_mixin.rb +37 -7
  577. data/lib/ledger_sync/util/hash_helpers.rb +12 -2
  578. data/lib/ledger_sync/util/mixins/delegate_iterable_methods_mixin.rb +44 -0
  579. data/lib/ledger_sync/util/mixins/dupable_mixin.rb +13 -0
  580. data/lib/ledger_sync/util/mixins/resource_registerable_mixin.rb +29 -0
  581. data/lib/ledger_sync/util/read_only_object.rb +1 -1
  582. data/lib/ledger_sync/util/resource_converter.rb +117 -0
  583. data/lib/ledger_sync/util/resource_converter/attribute.rb +133 -0
  584. data/lib/ledger_sync/util/resource_converter/attribute_set.rb +43 -0
  585. data/lib/ledger_sync/util/resource_converter/type/references_many_type.rb +27 -0
  586. data/lib/ledger_sync/util/resource_converter/type/references_one_type.rb +14 -0
  587. data/lib/ledger_sync/util/resource_converter/type/resource_converter_type.rb +26 -0
  588. data/lib/ledger_sync/util/resources_builder.rb +24 -16
  589. data/lib/ledger_sync/util/string_helpers.rb +3 -3
  590. data/lib/ledger_sync/util/url_helpers.rb +38 -0
  591. data/lib/ledger_sync/util/validator.rb +3 -1
  592. data/lib/ledger_sync/version.rb +3 -1
  593. data/licenses/BSL.txt +97 -0
  594. data/licenses/documentation_site.txt +7 -0
  595. metadata +626 -220
  596. data/_config.yml +0 -1
  597. data/lib/ledger_sync/adaptor_configuration_store.rb +0 -56
  598. data/lib/ledger_sync/adaptors/ledger_serializer.rb +0 -143
  599. data/lib/ledger_sync/adaptors/ledger_serializer_attribute.rb +0 -178
  600. data/lib/ledger_sync/adaptors/ledger_serializer_attribute_set.rb +0 -58
  601. data/lib/ledger_sync/adaptors/ledger_serializer_type/mapping_type.rb +0 -41
  602. data/lib/ledger_sync/adaptors/ledger_serializer_type/references_many_type.rb +0 -24
  603. data/lib/ledger_sync/adaptors/ledger_serializer_type/references_one_type.rb +0 -22
  604. data/lib/ledger_sync/adaptors/ledger_serializer_type/value_type.rb +0 -17
  605. data/lib/ledger_sync/adaptors/mixins/infer_adaptor_class_mixin.rb +0 -24
  606. data/lib/ledger_sync/adaptors/mixins/infer_ledger_serializer_mixin.rb +0 -45
  607. data/lib/ledger_sync/adaptors/netsuite/account/ledger_deserializer.rb +0 -24
  608. data/lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb +0 -22
  609. data/lib/ledger_sync/adaptors/netsuite/config.rb +0 -5
  610. data/lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb +0 -28
  611. data/lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb +0 -25
  612. data/lib/ledger_sync/adaptors/netsuite/customer/ledger_deserializer.rb +0 -27
  613. data/lib/ledger_sync/adaptors/netsuite/customer/ledger_serializer.rb +0 -38
  614. data/lib/ledger_sync/adaptors/netsuite/department/ledger_serializer.rb +0 -17
  615. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer.rb +0 -30
  616. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/reference_type.rb +0 -24
  617. data/lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/subsidiary_type.rb +0 -22
  618. data/lib/ledger_sync/adaptors/netsuite/operation.rb +0 -19
  619. data/lib/ledger_sync/adaptors/netsuite/searcher.rb +0 -36
  620. data/lib/ledger_sync/adaptors/netsuite/vendor/ledger_deserializer.rb +0 -32
  621. data/lib/ledger_sync/adaptors/netsuite/vendor/ledger_serializer.rb +0 -35
  622. data/lib/ledger_sync/adaptors/netsuite_soap/config.rb +0 -5
  623. data/lib/ledger_sync/adaptors/netsuite_soap/customer/ledger_serializer.rb +0 -13
  624. data/lib/ledger_sync/adaptors/netsuite_soap/ledger_serializer.rb +0 -25
  625. data/lib/ledger_sync/adaptors/quickbooks_online/account/ledger_serializer.rb +0 -37
  626. data/lib/ledger_sync/adaptors/quickbooks_online/bill/ledger_serializer.rb +0 -46
  627. data/lib/ledger_sync/adaptors/quickbooks_online/bill_line_item/ledger_serializer.rb +0 -30
  628. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment/ledger_serializer.rb +0 -76
  629. data/lib/ledger_sync/adaptors/quickbooks_online/bill_payment_line_item/ledger_serializer.rb +0 -19
  630. data/lib/ledger_sync/adaptors/quickbooks_online/currency/ledger_serializer.rb +0 -17
  631. data/lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb +0 -23
  632. data/lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb +0 -22
  633. data/lib/ledger_sync/adaptors/quickbooks_online/customer/operations/find.rb +0 -22
  634. data/lib/ledger_sync/adaptors/quickbooks_online/dashboard_url_helper.rb +0 -59
  635. data/lib/ledger_sync/adaptors/quickbooks_online/department/ledger_serializer.rb +0 -38
  636. data/lib/ledger_sync/adaptors/quickbooks_online/deposit/ledger_serializer.rb +0 -40
  637. data/lib/ledger_sync/adaptors/quickbooks_online/deposit_line_item/ledger_serializer.rb +0 -34
  638. data/lib/ledger_sync/adaptors/quickbooks_online/expense/ledger_serializer.rb +0 -52
  639. data/lib/ledger_sync/adaptors/quickbooks_online/expense_line_item/ledger_serializer.rb +0 -30
  640. data/lib/ledger_sync/adaptors/quickbooks_online/invoice/ledger_serializer.rb +0 -36
  641. data/lib/ledger_sync/adaptors/quickbooks_online/invoice_sales_line_item/ledger_serializer.rb +0 -30
  642. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry/ledger_serializer.rb +0 -34
  643. data/lib/ledger_sync/adaptors/quickbooks_online/journal_entry_line_item/ledger_serializer.rb +0 -37
  644. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer.rb +0 -131
  645. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_sub_type.rb +0 -305
  646. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_type.rb +0 -51
  647. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/amount_type.rb +0 -23
  648. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb +0 -23
  649. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/date_type.rb +0 -23
  650. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/entity_reference_type.rb +0 -49
  651. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/journal_entry_line_item_type.rb +0 -20
  652. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/payment_type.rb +0 -21
  653. data/lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/transaction_reference_type.rb +0 -49
  654. data/lib/ledger_sync/adaptors/quickbooks_online/payment/ledger_serializer.rb +0 -50
  655. data/lib/ledger_sync/adaptors/quickbooks_online/payment_line_item/ledger_serializer.rb +0 -19
  656. data/lib/ledger_sync/adaptors/quickbooks_online/preferences/ledger_serializer.rb +0 -45
  657. data/lib/ledger_sync/adaptors/quickbooks_online/transfer/ledger_serializer.rb +0 -36
  658. data/lib/ledger_sync/adaptors/stripe/adaptor.rb +0 -45
  659. data/lib/ledger_sync/adaptors/test/customer/ledger_serializer.rb +0 -12
  660. data/lib/ledger_sync/adaptors/test/ledger_serializer.rb +0 -12
  661. data/lib/ledger_sync/resources/account.rb +0 -17
  662. data/lib/ledger_sync/resources/bill.rb +0 -27
  663. data/lib/ledger_sync/resources/bill_line_item.rb +0 -17
  664. data/lib/ledger_sync/resources/bill_payment.rb +0 -32
  665. data/lib/ledger_sync/resources/bill_payment_line_item.rb +0 -15
  666. data/lib/ledger_sync/resources/currency.rb +0 -9
  667. data/lib/ledger_sync/resources/customer.rb +0 -25
  668. data/lib/ledger_sync/resources/department.rb +0 -14
  669. data/lib/ledger_sync/resources/deposit.rb +0 -24
  670. data/lib/ledger_sync/resources/deposit_line_item.rb +0 -22
  671. data/lib/ledger_sync/resources/expense.rb +0 -33
  672. data/lib/ledger_sync/resources/expense_line_item.rb +0 -17
  673. data/lib/ledger_sync/resources/invoice.rb +0 -24
  674. data/lib/ledger_sync/resources/invoice_sales_line_item.rb +0 -17
  675. data/lib/ledger_sync/resources/item.rb +0 -5
  676. data/lib/ledger_sync/resources/journal_entry.rb +0 -20
  677. data/lib/ledger_sync/resources/journal_entry_line_item.rb +0 -20
  678. data/lib/ledger_sync/resources/ledger_class.rb +0 -14
  679. data/lib/ledger_sync/resources/payment.rb +0 -27
  680. data/lib/ledger_sync/resources/payment_line_item.rb +0 -15
  681. data/lib/ledger_sync/resources/subsidiary.rb +0 -8
  682. data/lib/ledger_sync/resources/transfer.rb +0 -20
  683. data/lib/ledger_sync/resources/vendor.rb +0 -19
@@ -6,16 +6,18 @@ module LedgerSync
6
6
  attr_reader :cast,
7
7
  :data,
8
8
  :ignore_unrecognized_attributes,
9
+ :ledger,
9
10
  :root_resource_external_id,
10
11
  :root_resource_type
11
12
 
12
- def initialize(cast: true, data:, ignore_unrecognized_attributes: false, root_resource_external_id:, root_resource_type:)
13
- @all_resources = {}
14
- @cast = cast
15
- @data = Util::HashHelpers.deep_symbolize_keys(data)
16
- @ignore_unrecognized_attributes = ignore_unrecognized_attributes
17
- @root_resource_external_id = root_resource_external_id
18
- @root_resource_type = root_resource_type
13
+ def initialize(args = {})
14
+ @all_resources = {}
15
+ @ledger = args.fetch(:ledger)
16
+ @cast = args.fetch(:cast, true)
17
+ @data = Util::HashHelpers.deep_symbolize_keys(args.fetch(:data))
18
+ @ignore_unrecognized_attributes = args.fetch(:ignore_unrecognized_attributes, false)
19
+ @root_resource_external_id = args.fetch(:root_resource_external_id)
20
+ @root_resource_type = args.fetch(:root_resource_type)
19
21
  end
20
22
 
21
23
  def resource
@@ -34,15 +36,19 @@ module LedgerSync
34
36
 
35
37
  private
36
38
 
37
- def build_resource(external_id:, type:)
38
- external_id = external_id.to_sym
39
- type = type.to_sym
40
-
41
- ledger_id = @data.dig(type, external_id, :ledger_id)
39
+ def build_resource(args = {}) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity
40
+ external_id = args.fetch(:external_id).to_sym
41
+ type = args.fetch(:type).to_sym
42
+ ledger_id = @data.dig(type, external_id, :ledger_id)
42
43
  current_data = @data.dig(type, external_id, :data)
44
+
43
45
  raise "No data provided for #{type} (ID: #{external_id})" if current_data.nil?
44
46
 
45
- resource_class = LedgerSync.resources[type]
47
+ resource_class = if ledger == :root
48
+ LedgerSync.resources.find { |e| e.resource_type == type }
49
+ else
50
+ LedgerSync.ledgers.send(ledger).client_class.resources[type]
51
+ end
46
52
  raise "#{type} is an invalid resource type" if resource_class.nil?
47
53
 
48
54
  current_data = Hash[
@@ -50,7 +56,9 @@ module LedgerSync
50
56
  k = k.to_sym
51
57
 
52
58
  attribute = resource_class.resource_attributes[k]
53
- raise "Unrecognized attribute for #{resource_class.name}: #{k}" if attribute.nil? && !ignore_unrecognized_attributes
59
+ if attribute.nil? && !ignore_unrecognized_attributes
60
+ raise "Unrecognized attribute for #{resource_class.name}: #{k}"
61
+ end
54
62
 
55
63
  v = if attribute.is_a?(ResourceAttribute::Reference::One)
56
64
  resource_type = resource_type_by(external_id: current_data[k])
@@ -66,7 +74,7 @@ module LedgerSync
66
74
  )
67
75
  end
68
76
  elsif cast
69
- attribute.type.cast(v)
77
+ attribute.type.cast(value: v)
70
78
  else
71
79
  v
72
80
  end
@@ -87,7 +95,7 @@ module LedgerSync
87
95
  @external_id_to_type_hash ||= begin
88
96
  ret = {}
89
97
  data.each do |type, type_resources|
90
- type_resources.keys.each do |external_id|
98
+ type_resources.each_key do |external_id|
91
99
  ret[external_id] = type
92
100
  end
93
101
  end
@@ -6,7 +6,7 @@ module LedgerSync
6
6
  module_function
7
7
 
8
8
  def camelcase(str)
9
- str.to_s.split('/').map { |e| inflect(e.split('_').collect(&:capitalize).join) }.join('::')
9
+ str.to_s.split('/').map { |e| inflect(e.split('_').collect(&:camelcase).join) }.join('::')
10
10
  end
11
11
 
12
12
  def underscore!(str)
@@ -22,9 +22,9 @@ module LedgerSync
22
22
  end
23
23
 
24
24
  def inflect(str)
25
- return str unless LedgerSync.respond_to?(:adaptors)
25
+ return str unless LedgerSync.respond_to?(:ledgers)
26
26
 
27
- LedgerSync.adaptors.inflections.each do |inflection|
27
+ LedgerSync.ledgers.inflections.each do |inflection|
28
28
  next unless inflection.downcase == str.downcase
29
29
 
30
30
  return inflection
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module LedgerSync
4
+ module Util
5
+ class URLHelpers
6
+ def self.merge_params_in_url(args = {})
7
+ params = args.fetch(:params)
8
+ uri = args.fetch(:url)
9
+
10
+ uri = URI.parse(uri) unless uri.is_a?(URI::HTTPS) || uri.is_a?(URI::HTTP)
11
+ uri.query = URI.encode_www_form(
12
+ params.inject(URI.decode_www_form(String(uri.query))) { |prev, param| prev << param }
13
+ )
14
+
15
+ uri.to_s
16
+ end
17
+
18
+ def self.merge_params_in_path(args = {})
19
+ params = args.fetch(:params)
20
+ path = args.fetch(:path)
21
+
22
+ root, str_params = path.split('?')
23
+ str_params = Rack::Utils.parse_nested_query(str_params)
24
+
25
+ [
26
+ root,
27
+ Rack::Utils.build_query(str_params.merge(HashHelpers.deep_stringify_keys(params)))
28
+ ].compact.join('?')
29
+ end
30
+
31
+ def self.id_from_url(args = {})
32
+ uri = args.fetch(:url)
33
+
34
+ URI.parse(uri).path.split('/').last
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module LedgerSync
2
4
  module Util
3
5
  class Validator
@@ -14,7 +16,7 @@ module LedgerSync
14
16
  end
15
17
 
16
18
  def full_messages
17
- @full_messages ||= errors.messages.map { |e| "#{e.path.map(&:to_s).join(' ')} #{e.text}"}
19
+ @full_messages ||= errors.messages.map { |e| "#{e.path.map(&:to_s).join(' ')} #{e.text}" }
18
20
  end
19
21
 
20
22
  def message
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module LedgerSync
2
- VERSION = '1.3.4'.freeze
4
+ VERSION = '1.4.4'
3
5
  end
@@ -0,0 +1,97 @@
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: Modern Treasury Corp.
6
+ Licensed Work: LedgerSync
7
+ The Licensed Work is (c) 2020 Modern Treasury Corp.
8
+ Additional Use Grant: You may make use of the Licensed Work, provided that you
9
+ may not use the Licensed Work for a Connector Service.
10
+
11
+ A “Connector Service” is a commercial offering that
12
+ allows third parties (other than your employees and
13
+ contractors) to access the functionality of the Licensed
14
+ Work by connecting to and exchanging information with
15
+ general ledgers, accounting software, or other
16
+ clients defined in the library that are controlled
17
+ by such third parties.
18
+
19
+ Notice
20
+
21
+ The Business Source License (this document, or the “License”) is not an Open
22
+ Source license. However, the Licensed Work will eventually be made available
23
+ under an Open Source License, as stated in this License.
24
+
25
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
26
+ “Business Source License” is a trademark of MariaDB Corporation Ab.
27
+
28
+ -----------------------------------------------------------------------------
29
+
30
+ Business Source License 1.1
31
+
32
+ Terms
33
+
34
+ The Licensor hereby grants you the right to copy, modify, create derivative
35
+ works, redistribute, and make non-production use of the Licensed Work. The
36
+ Licensor may make an Additional Use Grant, above, permitting limited
37
+ production use.
38
+
39
+ Effective on the Change Date, or the fourth anniversary of the first publicly
40
+ available distribution of a specific version of the Licensed Work under this
41
+ License, whichever comes first, the Licensor hereby grants you rights under
42
+ the terms of the Change License, and the rights granted in the paragraph
43
+ above terminate.
44
+
45
+ If your use of the Licensed Work does not comply with the requirements
46
+ currently in effect as described in this License, you must purchase a
47
+ commercial license from the Licensor, its affiliated entities, or authorized
48
+ resellers, or you must refrain from using the Licensed Work.
49
+
50
+ All copies of the original and modified Licensed Work, and derivative works
51
+ of the Licensed Work, are subject to this License. This License applies
52
+ separately for each version of the Licensed Work and the Change Date may vary
53
+ for each version of the Licensed Work released by Licensor.
54
+
55
+ You must conspicuously display this License on each original or modified copy
56
+ of the Licensed Work. If you receive the Licensed Work in original or
57
+ modified form from a third party, the terms and conditions set forth in this
58
+ License apply to your use of that work.
59
+
60
+ Any use of the Licensed Work in violation of this License will automatically
61
+ terminate your rights under this License for the current and all other
62
+ versions of the Licensed Work.
63
+
64
+ This License does not grant you any right in any trademark or logo of
65
+ Licensor or its affiliates (provided that you may use a trademark or logo of
66
+ Licensor as expressly required by this License).
67
+
68
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
69
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
70
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
71
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
72
+ TITLE.
73
+
74
+ MariaDB hereby grants you permission to use this License’s text to license
75
+ your works, and to refer to it using the trademark “Business Source License”,
76
+ as long as you comply with the Covenants of Licensor below.
77
+
78
+ Covenants of Licensor
79
+
80
+ In consideration of the right to use this License’s text and the “Business
81
+ Source License” name and trademark, Licensor covenants to MariaDB, and to all
82
+ other recipients of the licensed work to be provided by Licensor:
83
+
84
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
85
+ or a license that is compatible with GPL Version 2.0 or a later version,
86
+ where “compatible” means that software provided under the Change License can
87
+ be included in a program with software provided under GPL Version 2.0 or a
88
+ later version. Licensor may specify additional Change Licenses without
89
+ limitation.
90
+
91
+ 2. To either: (a) specify an additional grant of rights to use that does not
92
+ impose any additional restriction on the right granted in this License, as
93
+ the Additional Use Grant; or (b) insert the text “None”.
94
+
95
+ 3. To specify a Change Date.
96
+
97
+ 4. Not to modify this License in any other way.
@@ -0,0 +1,7 @@
1
+ Files: /documentation/site
2
+
3
+ The source code for the theme contained in the `/documentation/site` directory are from
4
+ https://github.com/stackbithq/stackbit-theme-libris, an open-source Jekyll-compatible theme.
5
+
6
+ Any use is subject to `documentation/site/LICENSE.md` and any guidelines and/or licenses provided by
7
+ Stackbit.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson
@@ -80,6 +80,76 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 3.8.4
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 3.8.4
97
+ - !ruby/object:Gem::Dependency
98
+ name: jekyll-menus
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.6.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.6.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: jekyll-paginate
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.1'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: jekyll-paginate-v2
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.9'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.9'
139
+ - !ruby/object:Gem::Dependency
140
+ name: overcommit
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
83
153
  - !ruby/object:Gem::Dependency
84
154
  name: rake
85
155
  requirement: !ruby/object:Gem::Requirement
@@ -366,14 +436,14 @@ dependencies:
366
436
  requirements:
367
437
  - - ">="
368
438
  - !ruby/object:Gem::Version
369
- version: 1.3.0
439
+ version: 1.5.1
370
440
  type: :runtime
371
441
  prerelease: false
372
442
  version_requirements: !ruby/object:Gem::Requirement
373
443
  requirements:
374
444
  - - ">="
375
445
  - !ruby/object:Gem::Version
376
- version: 1.3.0
446
+ version: 1.5.1
377
447
  - !ruby/object:Gem::Dependency
378
448
  name: stripe
379
449
  requirement: !ruby/object:Gem::Requirement
@@ -401,6 +471,7 @@ files:
401
471
  - ".github/ISSUE_TEMPLATE/bug_report.md"
402
472
  - ".github/ISSUE_TEMPLATE/feature_request.md"
403
473
  - ".gitignore"
474
+ - ".overcommit.yml"
404
475
  - ".rubocop.yml"
405
476
  - ".rubocop_todo.yml"
406
477
  - ".travis.yml"
@@ -411,210 +482,539 @@ files:
411
482
  - LICENSE.txt
412
483
  - README.md
413
484
  - Rakefile
414
- - _config.yml
415
485
  - bin/console
416
486
  - bin/qa
487
+ - bin/quickbooks_online_oauth_server.rb
417
488
  - bin/setup
418
489
  - docker-compose.yml
490
+ - docs/.gitignore
491
+ - documentation/build.sh
492
+ - documentation/generate.rb
493
+ - documentation/generators/generator.rb
494
+ - documentation/generators/guides/generator.rb
495
+ - documentation/generators/reference/generator.rb
496
+ - documentation/generators/reference/ledger/generator.rb
497
+ - documentation/generators/template.rb
498
+ - documentation/helper_methods.rb
499
+ - documentation/site/CNAME
500
+ - documentation/site/LICENSE.md
501
+ - documentation/site/README.md
502
+ - documentation/site/_config.yml
503
+ - documentation/site/_data/guides_sections.yml
504
+ - documentation/site/_data/reference_sections.yml
505
+ - documentation/site/_includes/action_link.html
506
+ - documentation/site/_includes/alerts/base.html
507
+ - documentation/site/_includes/alerts/danger.html
508
+ - documentation/site/_includes/alerts/info.html
509
+ - documentation/site/_includes/alerts/success.html
510
+ - documentation/site/_includes/alerts/warning.html
511
+ - documentation/site/_includes/cta_buttons.html
512
+ - documentation/site/_includes/example.md
513
+ - documentation/site/_includes/footer.html
514
+ - documentation/site/_includes/getting_help.md
515
+ - documentation/site/_includes/guides_menu.html
516
+ - documentation/site/_includes/guides_submenu.html
517
+ - documentation/site/_includes/header.html
518
+ - documentation/site/_includes/installation_instructions.md
519
+ - documentation/site/_includes/ledgers/netsuite_soap_summary.md
520
+ - documentation/site/_includes/ledgers/netsuite_summary.md
521
+ - documentation/site/_includes/ledgers/netsuite_summary_shared.md
522
+ - documentation/site/_includes/ledgers/quickbooks_online_summary.md
523
+ - documentation/site/_includes/ledgers/stripe_summary.md
524
+ - documentation/site/_includes/reference/netsuite/authentication/_token_based_authentication.md
525
+ - documentation/site/_includes/reference/netsuite/authentication/index.md
526
+ - documentation/site/_includes/reference/netsuite/authentication/token_based_authentication.md
527
+ - documentation/site/_includes/reference/netsuite/index.md
528
+ - documentation/site/_includes/reference/netsuite_soap/index.md
529
+ - documentation/site/_includes/reference/quickbooks_online/authentication/index.md
530
+ - documentation/site/_includes/reference/quickbooks_online/errors/index.md
531
+ - documentation/site/_includes/reference/quickbooks_online/index.md
532
+ - documentation/site/_includes/reference/quickbooks_online/webhooks/index.md
533
+ - documentation/site/_includes/reference/stripe/index.md
534
+ - documentation/site/_includes/section_content.html
535
+ - documentation/site/_includes/section_cta.html
536
+ - documentation/site/_includes/section_grid.html
537
+ - documentation/site/_includes/section_guides.html
538
+ - documentation/site/_includes/section_hero.html
539
+ - documentation/site/_includes/submenu.html
540
+ - documentation/site/_layouts/advanced.html
541
+ - documentation/site/_layouts/base.html
542
+ - documentation/site/_layouts/blog.html
543
+ - documentation/site/_layouts/body.html
544
+ - documentation/site/_layouts/guides.html
545
+ - documentation/site/_layouts/page.html
546
+ - documentation/site/_layouts/post.html
547
+ - documentation/site/_layouts/reference.html
548
+ - documentation/site/_layouts/reference_netsuite.html
549
+ - documentation/site/_layouts/reference_netsuite_soap.html
550
+ - documentation/site/_layouts/reference_quickbooks_online.html
551
+ - documentation/site/_layouts/reference_stripe.html
552
+ - documentation/site/_plugins/filters.rb
553
+ - documentation/site/_plugins/hooks.rb
554
+ - documentation/site/_posts/2020-06-01-introducing-docs.md
555
+ - documentation/site/_posts/2020-06-10-netsuite-authentication.md
556
+ - documentation/site/_sass/imports/_animations.scss
557
+ - documentation/site/_sass/imports/_footer.scss
558
+ - documentation/site/_sass/imports/_functions.scss
559
+ - documentation/site/_sass/imports/_general.scss
560
+ - documentation/site/_sass/imports/_guides.scss
561
+ - documentation/site/_sass/imports/_header.scss
562
+ - documentation/site/_sass/imports/_icons.scss
563
+ - documentation/site/_sass/imports/_post-navigation.scss
564
+ - documentation/site/_sass/imports/_posts-pages.scss
565
+ - documentation/site/_sass/imports/_prism.scss
566
+ - documentation/site/_sass/imports/_reset.scss
567
+ - documentation/site/_sass/imports/_sections.scss
568
+ - documentation/site/_sass/imports/_structure.scss
569
+ - documentation/site/_templates/_layouts/reference_ledger.html.erb
570
+ - documentation/site/_templates/guides/ledger.md.erb
571
+ - documentation/site/_templates/reference/resources/index.md.erb
572
+ - documentation/site/_templates/reference/resources/resource.md.erb
573
+ - documentation/site/assets/css/brands.min.css
574
+ - documentation/site/assets/css/fontawesome.min.css
575
+ - documentation/site/assets/css/main.scss
576
+ - documentation/site/assets/css/monokai.css
577
+ - documentation/site/assets/js/main.js
578
+ - documentation/site/assets/js/plugins.js
579
+ - documentation/site/assets/js/prism.js
580
+ - documentation/site/assets/webfonts/fa-brands-400.eot
581
+ - documentation/site/assets/webfonts/fa-brands-400.svg
582
+ - documentation/site/assets/webfonts/fa-brands-400.ttf
583
+ - documentation/site/assets/webfonts/fa-brands-400.woff
584
+ - documentation/site/assets/webfonts/fa-brands-400.woff2
585
+ - documentation/site/blog/index.md
586
+ - documentation/site/guides/architecture/clients.md
587
+ - documentation/site/guides/architecture/index.md
588
+ - documentation/site/guides/architecture/operations.md
589
+ - documentation/site/guides/architecture/resources.md
590
+ - documentation/site/guides/architecture/results.md
591
+ - documentation/site/guides/architecture/searchers.md
592
+ - documentation/site/guides/architecture/serialization.md
593
+ - documentation/site/guides/community/index.md
594
+ - documentation/site/guides/contribute/console.md
595
+ - documentation/site/guides/contribute/deployment.md
596
+ - documentation/site/guides/contribute/documentation.md
597
+ - documentation/site/guides/contribute/index.md
598
+ - documentation/site/guides/contribute/qa.md
599
+ - documentation/site/guides/contribute/testing.md
600
+ - documentation/site/guides/customization/custom_resources.md
601
+ - documentation/site/guides/customization/custom_serializers.md
602
+ - documentation/site/guides/customization/index.md
603
+ - documentation/site/guides/customization/resource_converters.md
604
+ - documentation/site/guides/getting-started/get-help.md
605
+ - documentation/site/guides/getting-started/index.md
606
+ - documentation/site/guides/getting-started/installation.md
607
+ - documentation/site/guides/getting-started/quick-start.md
608
+ - documentation/site/guides/index.md
609
+ - documentation/site/guides/ledgers/index.md
610
+ - documentation/site/guides/ledgers/netsuite.md
611
+ - documentation/site/guides/ledgers/netsuite_soap.md
612
+ - documentation/site/guides/ledgers/quickbooks_online.md
613
+ - documentation/site/guides/ledgers/stripe.md
614
+ - documentation/site/guides/modern-treasury/index.md
615
+ - documentation/site/guides/tips_and_more/index.md
616
+ - documentation/site/images/1.jpg
617
+ - documentation/site/images/10.jpg
618
+ - documentation/site/images/2.jpg
619
+ - documentation/site/images/3.jpg
620
+ - documentation/site/images/4.jpg
621
+ - documentation/site/images/5.jpg
622
+ - documentation/site/images/6.jpg
623
+ - documentation/site/images/7.jpg
624
+ - documentation/site/images/8.jpg
625
+ - documentation/site/images/9.jpg
626
+ - documentation/site/images/logo.svg
627
+ - documentation/site/index.md
628
+ - documentation/site/overview.md
629
+ - documentation/site/reference/index.md
630
+ - documentation/site/reference/netsuite/authentication/_token_based_authentication.md
631
+ - documentation/site/reference/netsuite/authentication/index.md
632
+ - documentation/site/reference/netsuite/authentication/token_based_authentication.md
633
+ - documentation/site/reference/netsuite/index.md
634
+ - documentation/site/reference/netsuite/resources/account.md
635
+ - documentation/site/reference/netsuite/resources/check.md
636
+ - documentation/site/reference/netsuite/resources/check_line_item.md
637
+ - documentation/site/reference/netsuite/resources/currency.md
638
+ - documentation/site/reference/netsuite/resources/customer.md
639
+ - documentation/site/reference/netsuite/resources/customer_deposit.md
640
+ - documentation/site/reference/netsuite/resources/department.md
641
+ - documentation/site/reference/netsuite/resources/deposit.md
642
+ - documentation/site/reference/netsuite/resources/deposit_line_item.md
643
+ - documentation/site/reference/netsuite/resources/index.md
644
+ - documentation/site/reference/netsuite/resources/invoice.md
645
+ - documentation/site/reference/netsuite/resources/invoice_line_item.md
646
+ - documentation/site/reference/netsuite/resources/item.md
647
+ - documentation/site/reference/netsuite/resources/journal_entry.md
648
+ - documentation/site/reference/netsuite/resources/journal_entry_line_item.md
649
+ - documentation/site/reference/netsuite/resources/ledger_class.md
650
+ - documentation/site/reference/netsuite/resources/location.md
651
+ - documentation/site/reference/netsuite/resources/resource.md
652
+ - documentation/site/reference/netsuite/resources/subsidiary.md
653
+ - documentation/site/reference/netsuite/resources/vendor.md
654
+ - documentation/site/reference/netsuite_soap/index.md
655
+ - documentation/site/reference/netsuite_soap/resources/customer.md
656
+ - documentation/site/reference/netsuite_soap/resources/index.md
657
+ - documentation/site/reference/netsuite_soap/resources/resource.md
658
+ - documentation/site/reference/netsuite_soap/resources/subsidiary.md
659
+ - documentation/site/reference/quickbooks_online/authentication/index.md
660
+ - documentation/site/reference/quickbooks_online/errors/index.md
661
+ - documentation/site/reference/quickbooks_online/index.md
662
+ - documentation/site/reference/quickbooks_online/resources/account.md
663
+ - documentation/site/reference/quickbooks_online/resources/bill.md
664
+ - documentation/site/reference/quickbooks_online/resources/bill_line_item.md
665
+ - documentation/site/reference/quickbooks_online/resources/bill_payment.md
666
+ - documentation/site/reference/quickbooks_online/resources/bill_payment_line_item.md
667
+ - documentation/site/reference/quickbooks_online/resources/currency.md
668
+ - documentation/site/reference/quickbooks_online/resources/customer.md
669
+ - documentation/site/reference/quickbooks_online/resources/department.md
670
+ - documentation/site/reference/quickbooks_online/resources/deposit.md
671
+ - documentation/site/reference/quickbooks_online/resources/deposit_line_item.md
672
+ - documentation/site/reference/quickbooks_online/resources/expense.md
673
+ - documentation/site/reference/quickbooks_online/resources/expense_line_item.md
674
+ - documentation/site/reference/quickbooks_online/resources/index.md
675
+ - documentation/site/reference/quickbooks_online/resources/invoice.md
676
+ - documentation/site/reference/quickbooks_online/resources/invoice_sales_line_item.md
677
+ - documentation/site/reference/quickbooks_online/resources/item.md
678
+ - documentation/site/reference/quickbooks_online/resources/journal_entry.md
679
+ - documentation/site/reference/quickbooks_online/resources/journal_entry_line_item.md
680
+ - documentation/site/reference/quickbooks_online/resources/ledger_class.md
681
+ - documentation/site/reference/quickbooks_online/resources/payment.md
682
+ - documentation/site/reference/quickbooks_online/resources/payment_line_item.md
683
+ - documentation/site/reference/quickbooks_online/resources/preferences.md
684
+ - documentation/site/reference/quickbooks_online/resources/primary_email_addr.md
685
+ - documentation/site/reference/quickbooks_online/resources/primary_phone.md
686
+ - documentation/site/reference/quickbooks_online/resources/resource.md
687
+ - documentation/site/reference/quickbooks_online/resources/subsidiary.md
688
+ - documentation/site/reference/quickbooks_online/resources/transfer.md
689
+ - documentation/site/reference/quickbooks_online/resources/vendor.md
690
+ - documentation/site/reference/quickbooks_online/webhooks/index.md
691
+ - documentation/site/reference/stripe/index.md
692
+ - documentation/site/reference/stripe/resources/customer.md
693
+ - documentation/site/reference/stripe/resources/index.md
694
+ - documentation/site/reference/stripe/resources/resource.md
695
+ - documentation/site/style-guide.md
419
696
  - ledger_sync.gemspec
420
697
  - lib/ledger_sync.rb
421
- - lib/ledger_sync/adaptor_configuration.rb
422
- - lib/ledger_sync/adaptor_configuration_store.rb
423
- - lib/ledger_sync/adaptors/adaptor.rb
424
- - lib/ledger_sync/adaptors/contract.rb
425
- - lib/ledger_sync/adaptors/ledger_serializer.rb
426
- - lib/ledger_sync/adaptors/ledger_serializer_attribute.rb
427
- - lib/ledger_sync/adaptors/ledger_serializer_attribute_set.rb
428
- - lib/ledger_sync/adaptors/ledger_serializer_type/mapping_type.rb
429
- - lib/ledger_sync/adaptors/ledger_serializer_type/references_many_type.rb
430
- - lib/ledger_sync/adaptors/ledger_serializer_type/references_one_type.rb
431
- - lib/ledger_sync/adaptors/ledger_serializer_type/value_type.rb
432
- - lib/ledger_sync/adaptors/mixins/infer_adaptor_class_mixin.rb
433
- - lib/ledger_sync/adaptors/mixins/infer_ledger_serializer_mixin.rb
434
- - lib/ledger_sync/adaptors/mixins/infer_resource_class_mixin.rb
435
- - lib/ledger_sync/adaptors/mixins/infer_validation_contract_mixin.rb
436
- - lib/ledger_sync/adaptors/mixins/offset_and_limit_pagination_searcher_mixin.rb
437
- - lib/ledger_sync/adaptors/netsuite/account/ledger_deserializer.rb
438
- - lib/ledger_sync/adaptors/netsuite/account/ledger_serializer.rb
439
- - lib/ledger_sync/adaptors/netsuite/account/operations/create.rb
440
- - lib/ledger_sync/adaptors/netsuite/account/operations/find.rb
441
- - lib/ledger_sync/adaptors/netsuite/account/searcher.rb
442
- - lib/ledger_sync/adaptors/netsuite/adaptor.rb
443
- - lib/ledger_sync/adaptors/netsuite/config.rb
444
- - lib/ledger_sync/adaptors/netsuite/currency/deledger_serializer.rb
445
- - lib/ledger_sync/adaptors/netsuite/currency/ledger_serializer.rb
446
- - lib/ledger_sync/adaptors/netsuite/currency/operations/create.rb
447
- - lib/ledger_sync/adaptors/netsuite/currency/operations/delete.rb
448
- - lib/ledger_sync/adaptors/netsuite/currency/operations/find.rb
449
- - lib/ledger_sync/adaptors/netsuite/currency/operations/update.rb
450
- - lib/ledger_sync/adaptors/netsuite/customer/ledger_deserializer.rb
451
- - lib/ledger_sync/adaptors/netsuite/customer/ledger_serializer.rb
452
- - lib/ledger_sync/adaptors/netsuite/customer/operations/create.rb
453
- - lib/ledger_sync/adaptors/netsuite/customer/operations/delete.rb
454
- - lib/ledger_sync/adaptors/netsuite/customer/operations/find.rb
455
- - lib/ledger_sync/adaptors/netsuite/customer/operations/update.rb
456
- - lib/ledger_sync/adaptors/netsuite/department/ledger_serializer.rb
457
- - lib/ledger_sync/adaptors/netsuite/department/operations/create.rb
458
- - lib/ledger_sync/adaptors/netsuite/department/operations/delete.rb
459
- - lib/ledger_sync/adaptors/netsuite/department/operations/find.rb
460
- - lib/ledger_sync/adaptors/netsuite/department/operations/update.rb
461
- - lib/ledger_sync/adaptors/netsuite/department/searcher.rb
462
- - lib/ledger_sync/adaptors/netsuite/ledger_serializer.rb
463
- - lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/reference_type.rb
464
- - lib/ledger_sync/adaptors/netsuite/ledger_serializer_type/subsidiary_type.rb
465
- - lib/ledger_sync/adaptors/netsuite/operation.rb
466
- - lib/ledger_sync/adaptors/netsuite/operation/create.rb
467
- - lib/ledger_sync/adaptors/netsuite/operation/delete.rb
468
- - lib/ledger_sync/adaptors/netsuite/operation/find.rb
469
- - lib/ledger_sync/adaptors/netsuite/operation/update.rb
470
- - lib/ledger_sync/adaptors/netsuite/record/http_method.rb
471
- - lib/ledger_sync/adaptors/netsuite/record/metadata.rb
472
- - lib/ledger_sync/adaptors/netsuite/record/parameter.rb
473
- - lib/ledger_sync/adaptors/netsuite/record/property.rb
474
- - lib/ledger_sync/adaptors/netsuite/searcher.rb
475
- - lib/ledger_sync/adaptors/netsuite/token.rb
476
- - lib/ledger_sync/adaptors/netsuite/vendor/ledger_deserializer.rb
477
- - lib/ledger_sync/adaptors/netsuite/vendor/ledger_serializer.rb
478
- - lib/ledger_sync/adaptors/netsuite/vendor/operations/create.rb
479
- - lib/ledger_sync/adaptors/netsuite/vendor/operations/delete.rb
480
- - lib/ledger_sync/adaptors/netsuite/vendor/operations/find.rb
481
- - lib/ledger_sync/adaptors/netsuite/vendor/operations/update.rb
482
- - lib/ledger_sync/adaptors/netsuite_soap/adaptor.rb
483
- - lib/ledger_sync/adaptors/netsuite_soap/config.rb
484
- - lib/ledger_sync/adaptors/netsuite_soap/customer/ledger_serializer.rb
485
- - lib/ledger_sync/adaptors/netsuite_soap/customer/operations/create.rb
486
- - lib/ledger_sync/adaptors/netsuite_soap/customer/operations/find.rb
487
- - lib/ledger_sync/adaptors/netsuite_soap/ledger_serializer.rb
488
- - lib/ledger_sync/adaptors/netsuite_soap/operation.rb
489
- - lib/ledger_sync/adaptors/netsuite_soap/operation/create.rb
490
- - lib/ledger_sync/adaptors/netsuite_soap/operation/find.rb
491
- - lib/ledger_sync/adaptors/netsuite_soap/subsidiary/operations/create.rb
492
- - lib/ledger_sync/adaptors/netsuite_soap/subsidiary/operations/find.rb
493
- - lib/ledger_sync/adaptors/operation.rb
494
- - lib/ledger_sync/adaptors/quickbooks_online/account/ledger_serializer.rb
495
- - lib/ledger_sync/adaptors/quickbooks_online/account/operations/create.rb
496
- - lib/ledger_sync/adaptors/quickbooks_online/account/operations/find.rb
497
- - lib/ledger_sync/adaptors/quickbooks_online/account/operations/update.rb
498
- - lib/ledger_sync/adaptors/quickbooks_online/account/searcher.rb
499
- - lib/ledger_sync/adaptors/quickbooks_online/adaptor.rb
500
- - lib/ledger_sync/adaptors/quickbooks_online/bill/ledger_serializer.rb
501
- - lib/ledger_sync/adaptors/quickbooks_online/bill/operations/create.rb
502
- - lib/ledger_sync/adaptors/quickbooks_online/bill/operations/find.rb
503
- - lib/ledger_sync/adaptors/quickbooks_online/bill/operations/update.rb
504
- - lib/ledger_sync/adaptors/quickbooks_online/bill/searcher.rb
505
- - lib/ledger_sync/adaptors/quickbooks_online/bill_line_item/ledger_serializer.rb
506
- - lib/ledger_sync/adaptors/quickbooks_online/bill_payment/ledger_serializer.rb
507
- - lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/create.rb
508
- - lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/find.rb
509
- - lib/ledger_sync/adaptors/quickbooks_online/bill_payment/operations/update.rb
510
- - lib/ledger_sync/adaptors/quickbooks_online/bill_payment_line_item/ledger_serializer.rb
511
- - lib/ledger_sync/adaptors/quickbooks_online/config.rb
512
- - lib/ledger_sync/adaptors/quickbooks_online/currency/ledger_serializer.rb
513
- - lib/ledger_sync/adaptors/quickbooks_online/customer/ledger_serializer.rb
514
- - lib/ledger_sync/adaptors/quickbooks_online/customer/operations/create.rb
515
- - lib/ledger_sync/adaptors/quickbooks_online/customer/operations/find.rb
516
- - lib/ledger_sync/adaptors/quickbooks_online/customer/operations/update.rb
517
- - lib/ledger_sync/adaptors/quickbooks_online/customer/searcher.rb
518
- - lib/ledger_sync/adaptors/quickbooks_online/dashboard_url_helper.rb
519
- - lib/ledger_sync/adaptors/quickbooks_online/department/ledger_serializer.rb
520
- - lib/ledger_sync/adaptors/quickbooks_online/department/operations/create.rb
521
- - lib/ledger_sync/adaptors/quickbooks_online/department/operations/find.rb
522
- - lib/ledger_sync/adaptors/quickbooks_online/department/operations/update.rb
523
- - lib/ledger_sync/adaptors/quickbooks_online/department/searcher.rb
524
- - lib/ledger_sync/adaptors/quickbooks_online/deposit/ledger_serializer.rb
525
- - lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/create.rb
526
- - lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/find.rb
527
- - lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/update.rb
528
- - lib/ledger_sync/adaptors/quickbooks_online/deposit/searcher.rb
529
- - lib/ledger_sync/adaptors/quickbooks_online/deposit_line_item/ledger_serializer.rb
530
- - lib/ledger_sync/adaptors/quickbooks_online/expense/ledger_serializer.rb
531
- - lib/ledger_sync/adaptors/quickbooks_online/expense/operations/create.rb
532
- - lib/ledger_sync/adaptors/quickbooks_online/expense/operations/find.rb
533
- - lib/ledger_sync/adaptors/quickbooks_online/expense/operations/update.rb
534
- - lib/ledger_sync/adaptors/quickbooks_online/expense/searcher.rb
535
- - lib/ledger_sync/adaptors/quickbooks_online/expense_line_item/ledger_serializer.rb
536
- - lib/ledger_sync/adaptors/quickbooks_online/invoice/ledger_serializer.rb
537
- - lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/create.rb
538
- - lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/find.rb
539
- - lib/ledger_sync/adaptors/quickbooks_online/invoice/operations/update.rb
540
- - lib/ledger_sync/adaptors/quickbooks_online/invoice_sales_line_item/ledger_serializer.rb
541
- - lib/ledger_sync/adaptors/quickbooks_online/item/ledger_serializer.rb
542
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry/ledger_serializer.rb
543
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/create.rb
544
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/find.rb
545
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/update.rb
546
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry/searcher.rb
547
- - lib/ledger_sync/adaptors/quickbooks_online/journal_entry_line_item/ledger_serializer.rb
548
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_class/ledger_serializer.rb
549
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/create.rb
550
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/find.rb
551
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_class/operations/update.rb
552
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_class/searcher.rb
553
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer.rb
554
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_sub_type.rb
555
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/account_type.rb
556
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/amount_type.rb
557
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb
558
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/date_type.rb
559
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/entity_reference_type.rb
560
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/journal_entry_line_item_type.rb
561
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/payment_type.rb
562
- - lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/transaction_reference_type.rb
563
- - lib/ledger_sync/adaptors/quickbooks_online/oauth_client.rb
564
- - lib/ledger_sync/adaptors/quickbooks_online/operation.rb
565
- - lib/ledger_sync/adaptors/quickbooks_online/operation/create.rb
566
- - lib/ledger_sync/adaptors/quickbooks_online/operation/find.rb
567
- - lib/ledger_sync/adaptors/quickbooks_online/operation/full_update.rb
568
- - lib/ledger_sync/adaptors/quickbooks_online/operation/sparse_update.rb
569
- - lib/ledger_sync/adaptors/quickbooks_online/payment/ledger_serializer.rb
570
- - lib/ledger_sync/adaptors/quickbooks_online/payment/operations/create.rb
571
- - lib/ledger_sync/adaptors/quickbooks_online/payment/operations/find.rb
572
- - lib/ledger_sync/adaptors/quickbooks_online/payment/operations/update.rb
573
- - lib/ledger_sync/adaptors/quickbooks_online/payment_line_item/ledger_serializer.rb
574
- - lib/ledger_sync/adaptors/quickbooks_online/preferences/ledger_serializer.rb
575
- - lib/ledger_sync/adaptors/quickbooks_online/preferences/operations/find.rb
576
- - lib/ledger_sync/adaptors/quickbooks_online/request.rb
577
- - lib/ledger_sync/adaptors/quickbooks_online/resources/preferences.rb
578
- - lib/ledger_sync/adaptors/quickbooks_online/searcher.rb
579
- - lib/ledger_sync/adaptors/quickbooks_online/transfer/ledger_serializer.rb
580
- - lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/create.rb
581
- - lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
582
- - lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/update.rb
583
- - lib/ledger_sync/adaptors/quickbooks_online/util/adaptor_error_parser.rb
584
- - lib/ledger_sync/adaptors/quickbooks_online/util/error_matcher.rb
585
- - lib/ledger_sync/adaptors/quickbooks_online/util/error_parser.rb
586
- - lib/ledger_sync/adaptors/quickbooks_online/util/operation_error_parser.rb
587
- - lib/ledger_sync/adaptors/quickbooks_online/vendor/ledger_serializer.rb
588
- - lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/create.rb
589
- - lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/find.rb
590
- - lib/ledger_sync/adaptors/quickbooks_online/vendor/operations/update.rb
591
- - lib/ledger_sync/adaptors/quickbooks_online/vendor/searcher.rb
592
- - lib/ledger_sync/adaptors/quickbooks_online/webhook.rb
593
- - lib/ledger_sync/adaptors/quickbooks_online/webhook_event.rb
594
- - lib/ledger_sync/adaptors/quickbooks_online/webhook_notification.rb
595
- - lib/ledger_sync/adaptors/request.rb
596
- - lib/ledger_sync/adaptors/response.rb
597
- - lib/ledger_sync/adaptors/searcher.rb
598
- - lib/ledger_sync/adaptors/stripe/adaptor.rb
599
- - lib/ledger_sync/adaptors/stripe/config.rb
600
- - lib/ledger_sync/adaptors/stripe/customer/operations/create.rb
601
- - lib/ledger_sync/adaptors/stripe/customer/operations/delete.rb
602
- - lib/ledger_sync/adaptors/stripe/customer/operations/find.rb
603
- - lib/ledger_sync/adaptors/stripe/customer/operations/update.rb
604
- - lib/ledger_sync/adaptors/stripe/operation.rb
605
- - lib/ledger_sync/adaptors/stripe/operation/create.rb
606
- - lib/ledger_sync/adaptors/stripe/operation/delete.rb
607
- - lib/ledger_sync/adaptors/stripe/operation/find.rb
608
- - lib/ledger_sync/adaptors/stripe/operation/update.rb
609
- - lib/ledger_sync/adaptors/test/customer/ledger_serializer.rb
610
- - lib/ledger_sync/adaptors/test/ledger_serializer.rb
611
698
  - lib/ledger_sync/concerns/validatable.rb
612
699
  - lib/ledger_sync/core_ext/resonad.rb
700
+ - lib/ledger_sync/deserializer.rb
613
701
  - lib/ledger_sync/error.rb
614
- - lib/ledger_sync/error/adaptor_errors.rb
702
+ - lib/ledger_sync/error/ledger_errors.rb
615
703
  - lib/ledger_sync/error/operation_errors.rb
616
704
  - lib/ledger_sync/error/resource_errors.rb
705
+ - lib/ledger_sync/ledger_configuration.rb
706
+ - lib/ledger_sync/ledger_configuration_store.rb
707
+ - lib/ledger_sync/ledgers/client.rb
708
+ - lib/ledger_sync/ledgers/contract.rb
709
+ - lib/ledger_sync/ledgers/dashboard_url_helper.rb
710
+ - lib/ledger_sync/ledgers/mixins/infer_client_mixin.rb
711
+ - lib/ledger_sync/ledgers/mixins/infer_resource_class_mixin.rb
712
+ - lib/ledger_sync/ledgers/mixins/infer_serializer_mixin.rb
713
+ - lib/ledger_sync/ledgers/mixins/infer_validation_contract_mixin.rb
714
+ - lib/ledger_sync/ledgers/mixins/offset_and_limit_pagination_searcher_mixin.rb
715
+ - lib/ledger_sync/ledgers/mixins/serialization_mixin.rb
716
+ - lib/ledger_sync/ledgers/netsuite/account/deserializer.rb
717
+ - lib/ledger_sync/ledgers/netsuite/account/operations/create.rb
718
+ - lib/ledger_sync/ledgers/netsuite/account/operations/find.rb
719
+ - lib/ledger_sync/ledgers/netsuite/account/searcher.rb
720
+ - lib/ledger_sync/ledgers/netsuite/account/searcher_deserializer.rb
721
+ - lib/ledger_sync/ledgers/netsuite/account/serializer.rb
722
+ - lib/ledger_sync/ledgers/netsuite/check/deserializer.rb
723
+ - lib/ledger_sync/ledgers/netsuite/check/operations/create.rb
724
+ - lib/ledger_sync/ledgers/netsuite/check/operations/delete.rb
725
+ - lib/ledger_sync/ledgers/netsuite/check/operations/find.rb
726
+ - lib/ledger_sync/ledgers/netsuite/check/operations/update.rb
727
+ - lib/ledger_sync/ledgers/netsuite/check/searcher.rb
728
+ - lib/ledger_sync/ledgers/netsuite/check/searcher_deserializer.rb
729
+ - lib/ledger_sync/ledgers/netsuite/check/serializer.rb
730
+ - lib/ledger_sync/ledgers/netsuite/check_line_item/deserializer.rb
731
+ - lib/ledger_sync/ledgers/netsuite/check_line_item/serializer.rb
732
+ - lib/ledger_sync/ledgers/netsuite/client.rb
733
+ - lib/ledger_sync/ledgers/netsuite/config.rb
734
+ - lib/ledger_sync/ledgers/netsuite/currency/deserializer.rb
735
+ - lib/ledger_sync/ledgers/netsuite/currency/operations/create.rb
736
+ - lib/ledger_sync/ledgers/netsuite/currency/operations/delete.rb
737
+ - lib/ledger_sync/ledgers/netsuite/currency/operations/find.rb
738
+ - lib/ledger_sync/ledgers/netsuite/currency/operations/update.rb
739
+ - lib/ledger_sync/ledgers/netsuite/currency/serializer.rb
740
+ - lib/ledger_sync/ledgers/netsuite/customer/deserializer.rb
741
+ - lib/ledger_sync/ledgers/netsuite/customer/operations/create.rb
742
+ - lib/ledger_sync/ledgers/netsuite/customer/operations/delete.rb
743
+ - lib/ledger_sync/ledgers/netsuite/customer/operations/find.rb
744
+ - lib/ledger_sync/ledgers/netsuite/customer/operations/update.rb
745
+ - lib/ledger_sync/ledgers/netsuite/customer/searcher.rb
746
+ - lib/ledger_sync/ledgers/netsuite/customer/searcher_deserializer.rb
747
+ - lib/ledger_sync/ledgers/netsuite/customer/serializer.rb
748
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/deserializer.rb
749
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/create.rb
750
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/delete.rb
751
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/find.rb
752
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/operations/update.rb
753
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher.rb
754
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/searcher_deserializer.rb
755
+ - lib/ledger_sync/ledgers/netsuite/customer_deposit/serializer.rb
756
+ - lib/ledger_sync/ledgers/netsuite/dashboard_url_helper.rb
757
+ - lib/ledger_sync/ledgers/netsuite/department/deserializer.rb
758
+ - lib/ledger_sync/ledgers/netsuite/department/operations/create.rb
759
+ - lib/ledger_sync/ledgers/netsuite/department/operations/delete.rb
760
+ - lib/ledger_sync/ledgers/netsuite/department/operations/find.rb
761
+ - lib/ledger_sync/ledgers/netsuite/department/operations/update.rb
762
+ - lib/ledger_sync/ledgers/netsuite/department/searcher.rb
763
+ - lib/ledger_sync/ledgers/netsuite/department/searcher_deserializer.rb
764
+ - lib/ledger_sync/ledgers/netsuite/department/serializer.rb
765
+ - lib/ledger_sync/ledgers/netsuite/deserializer.rb
766
+ - lib/ledger_sync/ledgers/netsuite/error.rb
767
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/deserializer.rb
768
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/operations/create.rb
769
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/operations/delete.rb
770
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/operations/find.rb
771
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/operations/update.rb
772
+ - lib/ledger_sync/ledgers/netsuite/journal_entry/serializer.rb
773
+ - lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/deserializer.rb
774
+ - lib/ledger_sync/ledgers/netsuite/journal_entry_line_item/serializer.rb
775
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/deserializer.rb
776
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/operations/create.rb
777
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/operations/delete.rb
778
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/operations/find.rb
779
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/operations/update.rb
780
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/searcher.rb
781
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/searcher_deserializer.rb
782
+ - lib/ledger_sync/ledgers/netsuite/ledger_class/serializer.rb
783
+ - lib/ledger_sync/ledgers/netsuite/location/deserializer.rb
784
+ - lib/ledger_sync/ledgers/netsuite/location/operations/create.rb
785
+ - lib/ledger_sync/ledgers/netsuite/location/operations/delete.rb
786
+ - lib/ledger_sync/ledgers/netsuite/location/operations/find.rb
787
+ - lib/ledger_sync/ledgers/netsuite/location/operations/update.rb
788
+ - lib/ledger_sync/ledgers/netsuite/location/searcher.rb
789
+ - lib/ledger_sync/ledgers/netsuite/location/serializer.rb
790
+ - lib/ledger_sync/ledgers/netsuite/operation.rb
791
+ - lib/ledger_sync/ledgers/netsuite/operation/create.rb
792
+ - lib/ledger_sync/ledgers/netsuite/operation/delete.rb
793
+ - lib/ledger_sync/ledgers/netsuite/operation/find.rb
794
+ - lib/ledger_sync/ledgers/netsuite/operation/update.rb
795
+ - lib/ledger_sync/ledgers/netsuite/record/http_method.rb
796
+ - lib/ledger_sync/ledgers/netsuite/record/metadata.rb
797
+ - lib/ledger_sync/ledgers/netsuite/record/parameter.rb
798
+ - lib/ledger_sync/ledgers/netsuite/record/property.rb
799
+ - lib/ledger_sync/ledgers/netsuite/reference/serializer.rb
800
+ - lib/ledger_sync/ledgers/netsuite/resource.rb
801
+ - lib/ledger_sync/ledgers/netsuite/resources/account.rb
802
+ - lib/ledger_sync/ledgers/netsuite/resources/check.rb
803
+ - lib/ledger_sync/ledgers/netsuite/resources/check_line_item.rb
804
+ - lib/ledger_sync/ledgers/netsuite/resources/currency.rb
805
+ - lib/ledger_sync/ledgers/netsuite/resources/customer.rb
806
+ - lib/ledger_sync/ledgers/netsuite/resources/customer_deposit.rb
807
+ - lib/ledger_sync/ledgers/netsuite/resources/department.rb
808
+ - lib/ledger_sync/ledgers/netsuite/resources/deposit.rb
809
+ - lib/ledger_sync/ledgers/netsuite/resources/deposit_line_item.rb
810
+ - lib/ledger_sync/ledgers/netsuite/resources/invoice.rb
811
+ - lib/ledger_sync/ledgers/netsuite/resources/invoice_line_item.rb
812
+ - lib/ledger_sync/ledgers/netsuite/resources/item.rb
813
+ - lib/ledger_sync/ledgers/netsuite/resources/journal_entry.rb
814
+ - lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
815
+ - lib/ledger_sync/ledgers/netsuite/resources/ledger_class.rb
816
+ - lib/ledger_sync/ledgers/netsuite/resources/location.rb
817
+ - lib/ledger_sync/ledgers/netsuite/resources/subsidiary.rb
818
+ - lib/ledger_sync/ledgers/netsuite/resources/vendor.rb
819
+ - lib/ledger_sync/ledgers/netsuite/searcher.rb
820
+ - lib/ledger_sync/ledgers/netsuite/serializer.rb
821
+ - lib/ledger_sync/ledgers/netsuite/subsidiary/deserializer.rb
822
+ - lib/ledger_sync/ledgers/netsuite/subsidiary/searcher.rb
823
+ - lib/ledger_sync/ledgers/netsuite/subsidiary/searcher_deserializer.rb
824
+ - lib/ledger_sync/ledgers/netsuite/subsidiary/serializer.rb
825
+ - lib/ledger_sync/ledgers/netsuite/token.rb
826
+ - lib/ledger_sync/ledgers/netsuite/type/deserializer_active_type.rb
827
+ - lib/ledger_sync/ledgers/netsuite/type/deserializer_customer_type.rb
828
+ - lib/ledger_sync/ledgers/netsuite/type/deserializer_entity_type.rb
829
+ - lib/ledger_sync/ledgers/netsuite/type/deserializer_subsidiary_type.rb
830
+ - lib/ledger_sync/ledgers/netsuite/vendor/deserializer.rb
831
+ - lib/ledger_sync/ledgers/netsuite/vendor/operations/create.rb
832
+ - lib/ledger_sync/ledgers/netsuite/vendor/operations/delete.rb
833
+ - lib/ledger_sync/ledgers/netsuite/vendor/operations/find.rb
834
+ - lib/ledger_sync/ledgers/netsuite/vendor/operations/update.rb
835
+ - lib/ledger_sync/ledgers/netsuite/vendor/searcher.rb
836
+ - lib/ledger_sync/ledgers/netsuite/vendor/searcher_deserializer.rb
837
+ - lib/ledger_sync/ledgers/netsuite/vendor/serializer.rb
838
+ - lib/ledger_sync/ledgers/netsuite_soap/client.rb
839
+ - lib/ledger_sync/ledgers/netsuite_soap/config.rb
840
+ - lib/ledger_sync/ledgers/netsuite_soap/customer/operations/create.rb
841
+ - lib/ledger_sync/ledgers/netsuite_soap/customer/operations/find.rb
842
+ - lib/ledger_sync/ledgers/netsuite_soap/operation.rb
843
+ - lib/ledger_sync/ledgers/netsuite_soap/operation/create.rb
844
+ - lib/ledger_sync/ledgers/netsuite_soap/operation/find.rb
845
+ - lib/ledger_sync/ledgers/netsuite_soap/resource.rb
846
+ - lib/ledger_sync/ledgers/netsuite_soap/resources/customer.rb
847
+ - lib/ledger_sync/ledgers/netsuite_soap/resources/subsidiary.rb
848
+ - lib/ledger_sync/ledgers/netsuite_soap/subsidiary/operations/create.rb
849
+ - lib/ledger_sync/ledgers/netsuite_soap/subsidiary/operations/find.rb
850
+ - lib/ledger_sync/ledgers/operation.rb
851
+ - lib/ledger_sync/ledgers/quickbooks_online/account/deserializer.rb
852
+ - lib/ledger_sync/ledgers/quickbooks_online/account/operations/create.rb
853
+ - lib/ledger_sync/ledgers/quickbooks_online/account/operations/find.rb
854
+ - lib/ledger_sync/ledgers/quickbooks_online/account/operations/update.rb
855
+ - lib/ledger_sync/ledgers/quickbooks_online/account/searcher.rb
856
+ - lib/ledger_sync/ledgers/quickbooks_online/account/serializer.rb
857
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/deserializer.rb
858
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/operations/create.rb
859
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/operations/find.rb
860
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/operations/update.rb
861
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/searcher.rb
862
+ - lib/ledger_sync/ledgers/quickbooks_online/bill/serializer.rb
863
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/deserializer.rb
864
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_line_item/serializer.rb
865
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment/deserializer.rb
866
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/create.rb
867
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/find.rb
868
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment/operations/update.rb
869
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment/serializer.rb
870
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/deserializer.rb
871
+ - lib/ledger_sync/ledgers/quickbooks_online/bill_payment_line_item/serializer.rb
872
+ - lib/ledger_sync/ledgers/quickbooks_online/client.rb
873
+ - lib/ledger_sync/ledgers/quickbooks_online/config.rb
874
+ - lib/ledger_sync/ledgers/quickbooks_online/currency/deserializer.rb
875
+ - lib/ledger_sync/ledgers/quickbooks_online/currency/serializer.rb
876
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/deserializer.rb
877
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/operations/create.rb
878
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/operations/find.rb
879
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/operations/update.rb
880
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/searcher.rb
881
+ - lib/ledger_sync/ledgers/quickbooks_online/customer/serializer.rb
882
+ - lib/ledger_sync/ledgers/quickbooks_online/dashboard_url_helper.rb
883
+ - lib/ledger_sync/ledgers/quickbooks_online/department/deserializer.rb
884
+ - lib/ledger_sync/ledgers/quickbooks_online/department/operations/create.rb
885
+ - lib/ledger_sync/ledgers/quickbooks_online/department/operations/find.rb
886
+ - lib/ledger_sync/ledgers/quickbooks_online/department/operations/update.rb
887
+ - lib/ledger_sync/ledgers/quickbooks_online/department/searcher.rb
888
+ - lib/ledger_sync/ledgers/quickbooks_online/department/serializer.rb
889
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/deserializer.rb
890
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/create.rb
891
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/find.rb
892
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/update.rb
893
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/searcher.rb
894
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit/serializer.rb
895
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/deserializer.rb
896
+ - lib/ledger_sync/ledgers/quickbooks_online/deposit_line_item/serializer.rb
897
+ - lib/ledger_sync/ledgers/quickbooks_online/deserializer.rb
898
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/deserializer.rb
899
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/operations/create.rb
900
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/operations/find.rb
901
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/operations/update.rb
902
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/searcher.rb
903
+ - lib/ledger_sync/ledgers/quickbooks_online/expense/serializer.rb
904
+ - lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/deserializer.rb
905
+ - lib/ledger_sync/ledgers/quickbooks_online/expense_line_item/serializer.rb
906
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice/deserializer.rb
907
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/create.rb
908
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/find.rb
909
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice/operations/update.rb
910
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice/serializer.rb
911
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/deserializer.rb
912
+ - lib/ledger_sync/ledgers/quickbooks_online/invoice_sales_line_item/serializer.rb
913
+ - lib/ledger_sync/ledgers/quickbooks_online/item/deserializer.rb
914
+ - lib/ledger_sync/ledgers/quickbooks_online/item/serializer.rb
915
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/deserializer.rb
916
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/create.rb
917
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/find.rb
918
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/update.rb
919
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/searcher.rb
920
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry/serializer.rb
921
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/deserializer.rb
922
+ - lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line_item/serializer.rb
923
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/deserializer.rb
924
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/create.rb
925
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/find.rb
926
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/operations/update.rb
927
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/searcher.rb
928
+ - lib/ledger_sync/ledgers/quickbooks_online/ledger_class/serializer.rb
929
+ - lib/ledger_sync/ledgers/quickbooks_online/oauth_client.rb
930
+ - lib/ledger_sync/ledgers/quickbooks_online/operation.rb
931
+ - lib/ledger_sync/ledgers/quickbooks_online/operation/create.rb
932
+ - lib/ledger_sync/ledgers/quickbooks_online/operation/find.rb
933
+ - lib/ledger_sync/ledgers/quickbooks_online/operation/full_update.rb
934
+ - lib/ledger_sync/ledgers/quickbooks_online/operation/sparse_update.rb
935
+ - lib/ledger_sync/ledgers/quickbooks_online/payment/deserializer.rb
936
+ - lib/ledger_sync/ledgers/quickbooks_online/payment/operations/create.rb
937
+ - lib/ledger_sync/ledgers/quickbooks_online/payment/operations/find.rb
938
+ - lib/ledger_sync/ledgers/quickbooks_online/payment/operations/update.rb
939
+ - lib/ledger_sync/ledgers/quickbooks_online/payment/serializer.rb
940
+ - lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/deserializer.rb
941
+ - lib/ledger_sync/ledgers/quickbooks_online/payment_line_item/serializer.rb
942
+ - lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb
943
+ - lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb
944
+ - lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb
945
+ - lib/ledger_sync/ledgers/quickbooks_online/request.rb
946
+ - lib/ledger_sync/ledgers/quickbooks_online/resource.rb
947
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/account.rb
948
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/bill.rb
949
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line_item.rb
950
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment.rb
951
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/bill_payment_line_item.rb
952
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/currency.rb
953
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/customer.rb
954
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/department.rb
955
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/deposit.rb
956
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line_item.rb
957
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/expense.rb
958
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/expense_line_item.rb
959
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/invoice.rb
960
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/invoice_sales_line_item.rb
961
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/item.rb
962
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry.rb
963
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/journal_entry_line_item.rb
964
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/ledger_class.rb
965
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/payment.rb
966
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb
967
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/preferences.rb
968
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/primary_email_addr.rb
969
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/primary_phone.rb
970
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/subsidiary.rb
971
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/transfer.rb
972
+ - lib/ledger_sync/ledgers/quickbooks_online/resources/vendor.rb
973
+ - lib/ledger_sync/ledgers/quickbooks_online/searcher.rb
974
+ - lib/ledger_sync/ledgers/quickbooks_online/serialization/type/amount_float_to_integer_type.rb
975
+ - lib/ledger_sync/ledgers/quickbooks_online/serialization/type/deserialize_transaction_reference_type.rb
976
+ - lib/ledger_sync/ledgers/quickbooks_online/serialization/type/integer_to_amount_float_type.rb
977
+ - lib/ledger_sync/ledgers/quickbooks_online/serialization/type/serialize_transaction_reference_type.rb
978
+ - lib/ledger_sync/ledgers/quickbooks_online/serializer.rb
979
+ - lib/ledger_sync/ledgers/quickbooks_online/serialziation/type/mapping_type.rb
980
+ - lib/ledger_sync/ledgers/quickbooks_online/transfer/deserializer.rb
981
+ - lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/create.rb
982
+ - lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb
983
+ - lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/update.rb
984
+ - lib/ledger_sync/ledgers/quickbooks_online/transfer/serializer.rb
985
+ - lib/ledger_sync/ledgers/quickbooks_online/util/error_matcher.rb
986
+ - lib/ledger_sync/ledgers/quickbooks_online/util/error_parser.rb
987
+ - lib/ledger_sync/ledgers/quickbooks_online/util/ledger_error_parser.rb
988
+ - lib/ledger_sync/ledgers/quickbooks_online/util/operation_error_parser.rb
989
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/deserializer.rb
990
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/create.rb
991
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/find.rb
992
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/operations/update.rb
993
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/searcher.rb
994
+ - lib/ledger_sync/ledgers/quickbooks_online/vendor/serializer.rb
995
+ - lib/ledger_sync/ledgers/quickbooks_online/webhook.rb
996
+ - lib/ledger_sync/ledgers/quickbooks_online/webhook_event.rb
997
+ - lib/ledger_sync/ledgers/quickbooks_online/webhook_notification.rb
998
+ - lib/ledger_sync/ledgers/request.rb
999
+ - lib/ledger_sync/ledgers/response.rb
1000
+ - lib/ledger_sync/ledgers/searcher.rb
1001
+ - lib/ledger_sync/ledgers/stripe/client.rb
1002
+ - lib/ledger_sync/ledgers/stripe/config.rb
1003
+ - lib/ledger_sync/ledgers/stripe/customer/operations/create.rb
1004
+ - lib/ledger_sync/ledgers/stripe/customer/operations/delete.rb
1005
+ - lib/ledger_sync/ledgers/stripe/customer/operations/find.rb
1006
+ - lib/ledger_sync/ledgers/stripe/customer/operations/update.rb
1007
+ - lib/ledger_sync/ledgers/stripe/dashboard_url_helper.rb
1008
+ - lib/ledger_sync/ledgers/stripe/operation.rb
1009
+ - lib/ledger_sync/ledgers/stripe/operation/create.rb
1010
+ - lib/ledger_sync/ledgers/stripe/operation/delete.rb
1011
+ - lib/ledger_sync/ledgers/stripe/operation/find.rb
1012
+ - lib/ledger_sync/ledgers/stripe/operation/update.rb
1013
+ - lib/ledger_sync/ledgers/stripe/resource.rb
1014
+ - lib/ledger_sync/ledgers/stripe/resources/customer.rb
1015
+ - lib/ledger_sync/operation.rb
617
1016
  - lib/ledger_sync/resource.rb
1017
+ - lib/ledger_sync/resource_adaptor.rb
618
1018
  - lib/ledger_sync/resource_attribute.rb
619
1019
  - lib/ledger_sync/resource_attribute/dirty_mixin.rb
620
1020
  - lib/ledger_sync/resource_attribute/mixin.rb
@@ -622,30 +1022,24 @@ files:
622
1022
  - lib/ledger_sync/resource_attribute/reference/many.rb
623
1023
  - lib/ledger_sync/resource_attribute/reference/one.rb
624
1024
  - lib/ledger_sync/resource_attribute_set.rb
625
- - lib/ledger_sync/resources/account.rb
626
- - lib/ledger_sync/resources/bill.rb
627
- - lib/ledger_sync/resources/bill_line_item.rb
628
- - lib/ledger_sync/resources/bill_payment.rb
629
- - lib/ledger_sync/resources/bill_payment_line_item.rb
630
- - lib/ledger_sync/resources/currency.rb
631
- - lib/ledger_sync/resources/customer.rb
632
- - lib/ledger_sync/resources/department.rb
633
- - lib/ledger_sync/resources/deposit.rb
634
- - lib/ledger_sync/resources/deposit_line_item.rb
635
- - lib/ledger_sync/resources/expense.rb
636
- - lib/ledger_sync/resources/expense_line_item.rb
637
- - lib/ledger_sync/resources/invoice.rb
638
- - lib/ledger_sync/resources/invoice_sales_line_item.rb
639
- - lib/ledger_sync/resources/item.rb
640
- - lib/ledger_sync/resources/journal_entry.rb
641
- - lib/ledger_sync/resources/journal_entry_line_item.rb
642
- - lib/ledger_sync/resources/ledger_class.rb
643
- - lib/ledger_sync/resources/payment.rb
644
- - lib/ledger_sync/resources/payment_line_item.rb
645
- - lib/ledger_sync/resources/subsidiary.rb
646
- - lib/ledger_sync/resources/transfer.rb
647
- - lib/ledger_sync/resources/vendor.rb
648
1025
  - lib/ledger_sync/result.rb
1026
+ - lib/ledger_sync/serialization/attribute.rb
1027
+ - lib/ledger_sync/serialization/attribute_set_mixin.rb
1028
+ - lib/ledger_sync/serialization/deserializer_attribute.rb
1029
+ - lib/ledger_sync/serialization/deserializer_attribute_set.rb
1030
+ - lib/ledger_sync/serialization/mixin.rb
1031
+ - lib/ledger_sync/serialization/serializer_attribute.rb
1032
+ - lib/ledger_sync/serialization/serializer_attribute_set.rb
1033
+ - lib/ledger_sync/serialization/type/deserializer_references_many_type.rb
1034
+ - lib/ledger_sync/serialization/type/deserializer_references_one_type.rb
1035
+ - lib/ledger_sync/serialization/type/deserializer_type.rb
1036
+ - lib/ledger_sync/serialization/type/format_date_type.rb
1037
+ - lib/ledger_sync/serialization/type/mapping_type.rb
1038
+ - lib/ledger_sync/serialization/type/parse_date_type.rb
1039
+ - lib/ledger_sync/serialization/type/serializer_references_many_type.rb
1040
+ - lib/ledger_sync/serialization/type/serializer_references_one_type.rb
1041
+ - lib/ledger_sync/serialization/type/serializer_type.rb
1042
+ - lib/ledger_sync/serializer.rb
649
1043
  - lib/ledger_sync/type/boolean.rb
650
1044
  - lib/ledger_sync/type/date.rb
651
1045
  - lib/ledger_sync/type/float.rb
@@ -655,17 +1049,30 @@ files:
655
1049
  - lib/ledger_sync/type/reference_many.rb
656
1050
  - lib/ledger_sync/type/reference_one.rb
657
1051
  - lib/ledger_sync/type/string.rb
1052
+ - lib/ledger_sync/type/string_from_set.rb
658
1053
  - lib/ledger_sync/type/value.rb
659
1054
  - lib/ledger_sync/type/value_mixin.rb
660
1055
  - lib/ledger_sync/util/hash_helpers.rb
1056
+ - lib/ledger_sync/util/mixins/delegate_iterable_methods_mixin.rb
1057
+ - lib/ledger_sync/util/mixins/dupable_mixin.rb
1058
+ - lib/ledger_sync/util/mixins/resource_registerable_mixin.rb
661
1059
  - lib/ledger_sync/util/performer.rb
662
1060
  - lib/ledger_sync/util/read_only_object.rb
663
1061
  - lib/ledger_sync/util/resonad.rb
1062
+ - lib/ledger_sync/util/resource_converter.rb
1063
+ - lib/ledger_sync/util/resource_converter/attribute.rb
1064
+ - lib/ledger_sync/util/resource_converter/attribute_set.rb
1065
+ - lib/ledger_sync/util/resource_converter/type/references_many_type.rb
1066
+ - lib/ledger_sync/util/resource_converter/type/references_one_type.rb
1067
+ - lib/ledger_sync/util/resource_converter/type/resource_converter_type.rb
664
1068
  - lib/ledger_sync/util/resources_builder.rb
665
1069
  - lib/ledger_sync/util/signer.rb
666
1070
  - lib/ledger_sync/util/string_helpers.rb
1071
+ - lib/ledger_sync/util/url_helpers.rb
667
1072
  - lib/ledger_sync/util/validator.rb
668
1073
  - lib/ledger_sync/version.rb
1074
+ - licenses/BSL.txt
1075
+ - licenses/documentation_site.txt
669
1076
  - release.sh
670
1077
  homepage: https://github.com/LedgerSync/ledger_sync
671
1078
  licenses:
@@ -686,8 +1093,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
686
1093
  - !ruby/object:Gem::Version
687
1094
  version: '0'
688
1095
  requirements: []
689
- rubyforge_project:
690
- rubygems_version: 2.7.7
1096
+ rubygems_version: 3.0.3
691
1097
  signing_key:
692
1098
  specification_version: 4
693
1099
  summary: Sync common objects to accounting software.