@chift/chift-nodejs 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/src/modules/accounting.d.ts +4 -1
  3. package/dist/src/modules/accounting.js +16 -1
  4. package/dist/src/modules/api.d.ts +1494 -262
  5. package/dist/src/modules/consumer.d.ts +95 -13
  6. package/dist/src/modules/consumers.d.ts +475 -65
  7. package/dist/src/modules/integrations.d.ts +2 -0
  8. package/dist/src/modules/sync.d.ts +380 -52
  9. package/dist/src/modules/sync.js +0 -2
  10. package/dist/src/modules/syncs.d.ts +956 -136
  11. package/dist/test/modules/accounting.test.js +104 -15
  12. package/dist/test/modules/consumers.test.js +1 -1
  13. package/dist/test/modules/pos.test.js +4 -4
  14. package/package.json +1 -1
  15. package/.eslintcache +0 -1
  16. package/coverage/clover.xml +0 -1645
  17. package/coverage/coverage-final.json +0 -19
  18. package/coverage/lcov-report/base.css +0 -224
  19. package/coverage/lcov-report/block-navigation.js +0 -87
  20. package/coverage/lcov-report/favicon.png +0 -0
  21. package/coverage/lcov-report/index.html +0 -146
  22. package/coverage/lcov-report/prettify.css +0 -1
  23. package/coverage/lcov-report/prettify.js +0 -2
  24. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  25. package/coverage/lcov-report/sorter.js +0 -196
  26. package/coverage/lcov-report/src/helpers/index.html +0 -131
  27. package/coverage/lcov-report/src/helpers/openapi.ts.html +0 -151
  28. package/coverage/lcov-report/src/helpers/settings.ts.html +0 -94
  29. package/coverage/lcov-report/src/index.html +0 -116
  30. package/coverage/lcov-report/src/index.ts.html +0 -88
  31. package/coverage/lcov-report/src/modules/accounting.ts.html +0 -1156
  32. package/coverage/lcov-report/src/modules/api.ts.html +0 -190
  33. package/coverage/lcov-report/src/modules/consumer.ts.html +0 -616
  34. package/coverage/lcov-report/src/modules/consumers.ts.html +0 -331
  35. package/coverage/lcov-report/src/modules/custom.ts.html +0 -193
  36. package/coverage/lcov-report/src/modules/datastores.ts.html +0 -142
  37. package/coverage/lcov-report/src/modules/ecommerce.ts.html +0 -331
  38. package/coverage/lcov-report/src/modules/flow.ts.html +0 -589
  39. package/coverage/lcov-report/src/modules/index.html +0 -326
  40. package/coverage/lcov-report/src/modules/integrations.ts.html +0 -151
  41. package/coverage/lcov-report/src/modules/internalApi.ts.html +0 -586
  42. package/coverage/lcov-report/src/modules/invoicing.ts.html +0 -391
  43. package/coverage/lcov-report/src/modules/pos.ts.html +0 -421
  44. package/coverage/lcov-report/src/modules/sync.ts.html +0 -316
  45. package/coverage/lcov-report/src/modules/syncs.ts.html +0 -169
  46. package/coverage/lcov-report/src/modules/webhooks.ts.html +0 -343
  47. package/coverage/lcov.info +0 -1976
  48. package/dist/test/modules/flow.test.d.ts +0 -1
  49. package/dist/test/modules/flow.test.js +0 -69
@@ -22,9 +22,7 @@ const Sync = (internalApi, body) => {
22
22
  };
23
23
  const getFlowByName = (name) => {
24
24
  const flow = data.flows.find((flow) => flow.name.toLowerCase() === name.toLowerCase());
25
- console.log('undefined ?');
26
25
  if (flow) {
27
- console.log('on a le flux');
28
26
  return (0, flow_1.Flow)(_internalApi, flow, data.syncid, data.consumers);
29
27
  }
30
28
  return undefined;