@cryptorobot.ai/client 1.26.0-dev.998 → 1.27.0

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 (301) hide show
  1. package/lib/src/client.d.ts +0 -8
  2. package/lib/src/client.js +0 -10
  3. package/lib/src/services/advisor/advisor.class.d.ts +2 -2
  4. package/lib/src/services/advisor/advisor.schema.d.ts +1 -1
  5. package/lib/src/services/advisor/advisor.shared.js +0 -1
  6. package/lib/src/services/advisor/messages/messages.class.d.ts +2 -2
  7. package/lib/src/services/advisor/messages/messages.schema.d.ts +144 -144
  8. package/lib/src/services/advisor/messages/messages.shared.js +0 -1
  9. package/lib/src/services/affiliates/affiliates.class.d.ts +2 -5
  10. package/lib/src/services/affiliates/affiliates.shared.js +0 -1
  11. package/lib/src/services/affiliates/clicks/clicks.class.d.ts +2 -2
  12. package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
  13. package/lib/src/services/affiliates/comissions/comissions.class.d.ts +2 -2
  14. package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
  15. package/lib/src/services/affiliates/contracts/contracts.class.d.ts +2 -2
  16. package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
  17. package/lib/src/services/affiliates/coupons/coupons.class.d.ts +2 -2
  18. package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
  19. package/lib/src/services/affiliates/links/links.class.d.ts +2 -2
  20. package/lib/src/services/affiliates/links/links.shared.js +7 -2
  21. package/lib/src/services/affiliates/payouts/payouts.class.d.ts +2 -2
  22. package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
  23. package/lib/src/services/agents/agents.class.d.ts +2 -2
  24. package/lib/src/services/agents/agents.schema.d.ts +1 -1
  25. package/lib/src/services/agents/agents.shared.js +0 -1
  26. package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
  27. package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
  28. package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +2 -2
  29. package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +85 -3
  30. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
  31. package/lib/src/services/agents/sessions/sessions.class.d.ts +2 -2
  32. package/lib/src/services/agents/sessions/sessions.schema.d.ts +143 -143
  33. package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
  34. package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
  35. package/lib/src/services/auth-management/auth-management.shared.js +0 -2
  36. package/lib/src/services/autotune/apply-params.d.ts +0 -39
  37. package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
  38. package/lib/src/services/autotune/score.d.ts +0 -25
  39. package/lib/src/services/autotune/storage.d.ts +0 -2
  40. package/lib/src/services/autotune/studies/studies.class.d.ts +2 -2
  41. package/lib/src/services/autotune/studies/studies.shared.js +0 -1
  42. package/lib/src/services/autotune/trials/trials.class.d.ts +2 -2
  43. package/lib/src/services/autotune/trials/trials.shared.js +0 -1
  44. package/lib/src/services/autotune/usage/usage.class.d.ts +2 -2
  45. package/lib/src/services/autotune/usage/usage.schema.d.ts +3 -3
  46. package/lib/src/services/autotune/usage/usage.shared.js +0 -1
  47. package/lib/src/services/blog/actions/actions.shared.js +0 -1
  48. package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
  49. package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
  50. package/lib/src/services/blog/posts/posts.shared.js +0 -1
  51. package/lib/src/services/blog/queries/queries.shared.js +0 -1
  52. package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
  53. package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
  54. package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
  55. package/lib/src/services/changelog/changelog.class.d.ts +0 -3
  56. package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
  57. package/lib/src/services/changelog/changelog.shared.js +0 -1
  58. package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
  59. package/lib/src/services/config/config.class.d.ts +2 -2
  60. package/lib/src/services/config/config.shared.js +0 -1
  61. package/lib/src/services/copilot/concerns/concerns.class.d.ts +2 -2
  62. package/lib/src/services/copilot/concerns/concerns.schema.d.ts +8 -8
  63. package/lib/src/services/copilot/concerns/concerns.shared.js +7 -2
  64. package/lib/src/services/copilot/decisions/decisions.class.d.ts +2 -2
  65. package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
  66. package/lib/src/services/copilot/help/help.shared.js +0 -1
  67. package/lib/src/services/copilot/recommendations/recommendations.class.d.ts +2 -2
  68. package/lib/src/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
  69. package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
  70. package/lib/src/services/currencies/currencies.class.d.ts +2 -2
  71. package/lib/src/services/currencies/currencies.shared.js +0 -1
  72. package/lib/src/services/custom/custom.shared.js +0 -1
  73. package/lib/src/services/emails/emails.class.d.ts +2 -2
  74. package/lib/src/services/emails/emails.shared.js +0 -1
  75. package/lib/src/services/events/events.class.d.ts +2 -2
  76. package/lib/src/services/events/events.shared.js +0 -1
  77. package/lib/src/services/events/triggers/triggers.class.d.ts +2 -2
  78. package/lib/src/services/events/triggers/triggers.shared.js +0 -1
  79. package/lib/src/services/events/types/types.class.d.ts +2 -2
  80. package/lib/src/services/events/types/types.shared.js +0 -1
  81. package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
  82. package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
  83. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
  84. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
  85. package/lib/src/services/exchanges/balance/balance.class.d.ts +2 -2
  86. package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
  87. package/lib/src/services/exchanges/deposits/deposits.class.d.ts +2 -2
  88. package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
  89. package/lib/src/services/exchanges/deposits/sync/sync.class.d.ts +2 -2
  90. package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -8
  91. package/lib/src/services/exchanges/download/download.class.d.ts +2 -2
  92. package/lib/src/services/exchanges/download/download.shared.js +0 -1
  93. package/lib/src/services/exchanges/download/webhooks/webhooks.class.d.ts +2 -2
  94. package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
  95. package/lib/src/services/exchanges/exchanges.class.d.ts +2 -2
  96. package/lib/src/services/exchanges/exchanges.shared.js +0 -1
  97. package/lib/src/services/exchanges/ledger/ledger.class.d.ts +2 -2
  98. package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -2
  99. package/lib/src/services/exchanges/ledger/sync/sync.class.d.ts +2 -2
  100. package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
  101. package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
  102. package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
  103. package/lib/src/services/exchanges/ohlcv/history/history.class.d.ts +2 -2
  104. package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
  105. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
  106. package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
  107. package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
  108. package/lib/src/services/exchanges/ticker/ticker.class.d.ts +2 -2
  109. package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
  110. package/lib/src/services/exchanges/transactions/sync/sync.class.d.ts +2 -2
  111. package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
  112. package/lib/src/services/exchanges/transactions/transactions.class.d.ts +2 -2
  113. package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
  114. package/lib/src/services/extensions/extensions.class.d.ts +2 -2
  115. package/lib/src/services/extensions/extensions.shared.js +0 -1
  116. package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
  117. package/lib/src/services/homepage/homepage.shared.js +0 -1
  118. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +2 -14
  119. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
  120. package/lib/src/services/insights/etf-flow/etf-flow.class.d.ts +2 -2
  121. package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -2
  122. package/lib/src/services/insights/fear-and-greed/fear-and-greed.class.d.ts +2 -2
  123. package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
  124. package/lib/src/services/insights/global/global.class.d.ts +2 -2
  125. package/lib/src/services/insights/global/global.shared.js +0 -1
  126. package/lib/src/services/insights/insights.class.d.ts +2 -2
  127. package/lib/src/services/insights/insights.hooks.d.ts +0 -11
  128. package/lib/src/services/insights/insights.shared.js +0 -1
  129. package/lib/src/services/insights/news/news.class.d.ts +2 -5
  130. package/lib/src/services/insights/news/news.shared.js +0 -1
  131. package/lib/src/services/keys/KeysService.d.ts +2 -2
  132. package/lib/src/services/keys/keys.class.d.ts +2 -2
  133. package/lib/src/services/keys/keys.shared.js +0 -1
  134. package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
  135. package/lib/src/services/knowledges/knowledges.shared.js +0 -1
  136. package/lib/src/services/mailer/mailer.shared.js +0 -1
  137. package/lib/src/services/marketplaces/marketplaces.class.d.ts +2 -2
  138. package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
  139. package/lib/src/services/markets/markets.class.d.ts +2 -2
  140. package/lib/src/services/markets/markets.shared.js +0 -1
  141. package/lib/src/services/messages/messages.class.d.ts +2 -2
  142. package/lib/src/services/messages/messages.shared.js +0 -1
  143. package/lib/src/services/models/pods/events/events.class.d.ts +2 -2
  144. package/lib/src/services/models/pods/events/events.schema.d.ts +3 -3
  145. package/lib/src/services/models/pods/events/events.shared.js +0 -1
  146. package/lib/src/services/models/pods/pods.class.d.ts +2 -2
  147. package/lib/src/services/models/pods/pods.shared.js +0 -1
  148. package/lib/src/services/models/presets/presets.class.d.ts +2 -2
  149. package/lib/src/services/models/presets/presets.shared.js +0 -1
  150. package/lib/src/services/models/signals/history/history.class.d.ts +2 -2
  151. package/lib/src/services/models/signals/history/history.shared.js +0 -1
  152. package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
  153. package/lib/src/services/models/signals/signals.class.d.ts +2 -2
  154. package/lib/src/services/models/signals/signals.shared.js +0 -1
  155. package/lib/src/services/models/signals/subscriptions/subscriptions.class.d.ts +2 -2
  156. package/lib/src/services/models/signals/subscriptions/subscriptions.schema.d.ts +3 -3
  157. package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
  158. package/lib/src/services/objectives/objectives.class.d.ts +2 -2
  159. package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
  160. package/lib/src/services/objectives/objectives.shared.js +0 -1
  161. package/lib/src/services/plans/plans.shared.js +0 -1
  162. package/lib/src/services/referrals/referrals.class.d.ts +2 -2
  163. package/lib/src/services/referrals/referrals.shared.js +0 -1
  164. package/lib/src/services/restricted/restricted.d.ts +0 -11
  165. package/lib/src/services/restricted/restricted.shared.js +0 -1
  166. package/lib/src/services/security/events/security-events.schema.d.ts +71 -71
  167. package/lib/src/services/security/events/security-events.shared.js +0 -1
  168. package/lib/src/services/series/balance/balance.class.d.ts +2 -2
  169. package/lib/src/services/series/balance/balance.shared.js +7 -2
  170. package/lib/src/services/series/performance/performance.class.d.ts +2 -2
  171. package/lib/src/services/series/performance/performance.shared.js +0 -1
  172. package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
  173. package/lib/src/services/snapshot/snapshot.class.d.ts +2 -2
  174. package/lib/src/services/snapshot/snapshot.schema.d.ts +1040 -336
  175. package/lib/src/services/snapshot/snapshot.shared.js +0 -2
  176. package/lib/src/services/store/items/items.class.d.ts +2 -2
  177. package/lib/src/services/store/items/items.shared.js +0 -1
  178. package/lib/src/services/strategies/ai/ai.class.d.ts +2 -2
  179. package/lib/src/services/strategies/ai/ai.shared.js +0 -1
  180. package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
  181. package/lib/src/services/strategies/backtest/backtest.class.d.ts +2 -2
  182. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +234 -134
  183. package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
  184. package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
  185. package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
  186. package/lib/src/services/strategies/backtest/results/results.class.d.ts +2 -2
  187. package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
  188. package/lib/src/services/strategies/blob/blob.shared.js +0 -1
  189. package/lib/src/services/strategies/follow/follow.class.d.ts +2 -2
  190. package/lib/src/services/strategies/follow/follow.shared.js +0 -1
  191. package/lib/src/services/strategies/generate/generate.class.d.ts +2 -2
  192. package/lib/src/services/strategies/generate/generate.schema.d.ts +80 -84
  193. package/lib/src/services/strategies/generate/generate.shared.js +0 -1
  194. package/lib/src/services/strategies/history/history.class.d.ts +2 -2
  195. package/lib/src/services/strategies/history/history.schema.d.ts +152 -152
  196. package/lib/src/services/strategies/history/history.shared.js +0 -1
  197. package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
  198. package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
  199. package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
  200. package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
  201. package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
  202. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
  203. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
  204. package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
  205. package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
  206. package/lib/src/services/strategies/hyperopt/hyperopt.class.d.ts +2 -2
  207. package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
  208. package/lib/src/services/strategies/indicators/indicators.class.d.ts +2 -2
  209. package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
  210. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +2 -2
  211. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
  212. package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
  213. package/lib/src/services/strategies/research/research.class.d.ts +2 -2
  214. package/lib/src/services/strategies/research/research.schema.d.ts +72 -87
  215. package/lib/src/services/strategies/research/research.shared.js +0 -1
  216. package/lib/src/services/strategies/strategies.class.d.ts +2 -2
  217. package/lib/src/services/strategies/strategies.schema.d.ts +455 -36
  218. package/lib/src/services/strategies/strategies.shared.js +0 -1
  219. package/lib/src/services/strategies/templates/templates.class.d.ts +2 -2
  220. package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
  221. package/lib/src/services/strategies/templates/templates.shared.js +0 -1
  222. package/lib/src/services/stripe/charges/charges.shared.js +0 -1
  223. package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
  224. package/lib/src/services/stripe/customers/customers.shared.js +0 -1
  225. package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
  226. package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
  227. package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
  228. package/lib/src/services/stripe/products/products.shared.js +0 -1
  229. package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
  230. package/lib/src/services/support/support.shared.js +0 -1
  231. package/lib/src/services/tasks/comments/comments.class.d.ts +2 -2
  232. package/lib/src/services/tasks/comments/comments.shared.js +0 -1
  233. package/lib/src/services/tasks/tasks.class.d.ts +2 -2
  234. package/lib/src/services/tasks/tasks.hooks.d.ts +0 -73
  235. package/lib/src/services/tasks/tasks.shared.js +0 -1
  236. package/lib/src/services/tax/research/research.class.d.ts +2 -2
  237. package/lib/src/services/tax/research/research.shared.js +7 -2
  238. package/lib/src/services/tax/sessions/conversations/conversations.class.d.ts +2 -2
  239. package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
  240. package/lib/src/services/tax/sessions/sessions.class.d.ts +2 -2
  241. package/lib/src/services/tax/sessions/sessions.schema.d.ts +72 -72
  242. package/lib/src/services/tax/sessions/sessions.shared.js +7 -2
  243. package/lib/src/services/telegram/link/link.class.d.ts +0 -8
  244. package/lib/src/services/telegram/link/link.shared.js +0 -1
  245. package/lib/src/services/telegram/telegram.class.d.ts +0 -5
  246. package/lib/src/services/telegram/telegram.shared.js +0 -1
  247. package/lib/src/services/toggles/toggles.shared.js +0 -1
  248. package/lib/src/services/tokens/tokens.class.d.ts +2 -2
  249. package/lib/src/services/tokens/tokens.schema.d.ts +72 -72
  250. package/lib/src/services/tokens/tokens.shared.js +0 -1
  251. package/lib/src/services/traders/pods/api/api.class.d.ts +2 -2
  252. package/lib/src/services/traders/pods/api/api.schema.d.ts +496 -48
  253. package/lib/src/services/traders/pods/api/api.shared.js +0 -1
  254. package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
  255. package/lib/src/services/traders/pods/events/events.class.d.ts +2 -2
  256. package/lib/src/services/traders/pods/events/events.schema.d.ts +144 -144
  257. package/lib/src/services/traders/pods/events/events.shared.js +0 -1
  258. package/lib/src/services/traders/pods/pods.class.d.ts +2 -2
  259. package/lib/src/services/traders/pods/pods.schema.d.ts +621 -117
  260. package/lib/src/services/traders/pods/pods.shared.js +0 -1
  261. package/lib/src/services/traders/pods/webhooks/webhooks.class.d.ts +2 -2
  262. package/lib/src/services/traders/pods/webhooks/webhooks.schema.d.ts +144 -144
  263. package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
  264. package/lib/src/services/traders/traders.class.d.ts +2 -2
  265. package/lib/src/services/traders/traders.shared.js +0 -1
  266. package/lib/src/services/trades/trades.class.d.ts +2 -2
  267. package/lib/src/services/trades/trades.shared.js +0 -1
  268. package/lib/src/services/users/access/access.class.d.ts +2 -2
  269. package/lib/src/services/users/access/access.schema.d.ts +70 -70
  270. package/lib/src/services/users/access/access.shared.js +7 -2
  271. package/lib/src/services/users/marketing/campaigns/12-bot-no-trades.campaign.d.ts +3 -0
  272. package/lib/src/services/users/marketing/campaigns/13-trial-ending-cold.campaign.d.ts +3 -0
  273. package/lib/src/services/users/marketing/campaigns/14-trial-ending-engaged.campaign.d.ts +3 -0
  274. package/lib/src/services/users/marketing/campaigns/15-eve-followup-14d.campaign.d.ts +3 -0
  275. package/lib/src/services/users/marketing/campaigns/16-eve-followup-30d.campaign.d.ts +3 -0
  276. package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +1 -11
  277. package/lib/src/services/users/marketing/marketing.class.d.ts +2 -6
  278. package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
  279. package/lib/src/services/users/marketing/marketing.shared.js +0 -1
  280. package/lib/src/services/users/onboarding/onboarding.class.d.ts +2 -2
  281. package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
  282. package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
  283. package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
  284. package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
  285. package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
  286. package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
  287. package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
  288. package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
  289. package/lib/src/services/users/sessions/sessions.schema.d.ts +70 -78
  290. package/lib/src/services/users/sessions/sessions.shared.js +0 -1
  291. package/lib/src/services/users/users.class.d.ts +0 -1
  292. package/lib/src/services/users/users.schema.d.ts +0 -13
  293. package/lib/src/services/users/users.shared.d.ts +1 -3
  294. package/lib/src/services/users/users.shared.js +0 -1
  295. package/lib/src/services/version/version.shared.js +0 -1
  296. package/package.json +1 -1
  297. package/lib/src/services/advisor/advisor.hooks.d.ts +0 -9
  298. package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -11
  299. package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -11
  300. package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -11
  301. package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -11
@@ -249,12 +249,4 @@ export interface Configuration {
249
249
  export interface ServiceTypes {
250
250
  }
251
251
  export type ClientApplication = Application<ServiceTypes, Configuration>;
252
- /**
253
- * Returns a typed client for the backend app.
254
- *
255
- * @param connection The REST or Socket.io Feathers client connection
256
- * @param authenticationOptions Additional settings for the authentication client
257
- * @returns The Feathers client application
258
- * @see https://dove.feathersjs.com/api/client.html
259
- */
260
252
  export declare const createClient: <Configuration = any>(connection: TransportConnection<ServiceTypes>, authenticationOptions?: Partial<AuthenticationClientOptions>) => ClientApplication;
package/lib/src/client.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* istanbul ignore file */
3
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
4
  };
@@ -128,14 +127,6 @@ const exchanges_shared_1 = require("./services/exchanges/exchanges.shared");
128
127
  const custom_shared_1 = require("./services/custom/custom.shared");
129
128
  const messages_shared_2 = require("./services/messages/messages.shared");
130
129
  const users_shared_1 = require("./services/users/users.shared");
131
- /**
132
- * Returns a typed client for the backend app.
133
- *
134
- * @param connection The REST or Socket.io Feathers client connection
135
- * @param authenticationOptions Additional settings for the authentication client
136
- * @returns The Feathers client application
137
- * @see https://dove.feathersjs.com/api/client.html
138
- */
139
130
  const createClient = (connection, authenticationOptions = {}) => {
140
131
  const client = (0, feathers_1.feathers)();
141
132
  client.configure(connection);
@@ -266,4 +257,3 @@ const createClient = (connection, authenticationOptions = {}) => {
266
257
  return client;
267
258
  };
268
259
  exports.createClient = createClient;
269
- //# sourceMappingURL=client.js.map
@@ -1,12 +1,12 @@
1
1
  import type { Params } from '@feathersjs/feathers';
2
2
  import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
- import { FlexibleMongoDBService } from '../../helpers/flexible-objectid';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
4
  import type { Application } from '../../declarations';
5
5
  import type { Advisor, AdvisorData, AdvisorPatch, AdvisorQuery } from './advisor.schema';
6
6
  export type { Advisor, AdvisorData, AdvisorPatch, AdvisorQuery };
7
7
  export interface AdvisorParams extends MongoDBAdapterParams<AdvisorQuery> {
8
8
  user?: any;
9
9
  }
10
- export declare class AdvisorService<ServiceParams extends Params = AdvisorParams> extends FlexibleMongoDBService<Advisor, AdvisorData, AdvisorParams, AdvisorPatch> {
10
+ export declare class AdvisorService<ServiceParams extends Params = AdvisorParams> extends MongoDBService<Advisor, AdvisorData, AdvisorParams, AdvisorPatch> {
11
11
  }
12
12
  export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -130,7 +130,7 @@ export declare const advisorExternalResolver: import("@feathersjs/schema").Resol
130
130
  export declare const advisorDataSchema: import("@feathersjs/typebox").TObject<{
131
131
  query: import("@feathersjs/typebox").TString<string>;
132
132
  status: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"running">, import("@feathersjs/typebox").TLiteral<"succeeded">, import("@feathersjs/typebox").TLiteral<"failed">, import("@feathersjs/typebox").TLiteral<"canceled">]>>;
133
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
133
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
134
134
  }>;
135
135
  export type AdvisorData = Static<typeof advisorDataSchema>;
136
136
  export declare const advisorDataValidator: import("@feathersjs/schema").Validator<any, any>;
@@ -10,4 +10,3 @@ const advisorClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.advisorClient = advisorClient;
13
- //# sourceMappingURL=advisor.shared.js.map
@@ -1,11 +1,11 @@
1
1
  import type { Params } from '@feathersjs/feathers';
2
2
  import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
- import { FlexibleMongoDBService } from '../../../helpers/flexible-objectid';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
4
  import type { Application } from '../../../declarations';
5
5
  import type { AdvisorMessages, AdvisorMessagesData, AdvisorMessagesPatch, AdvisorMessagesQuery } from './messages.schema';
6
6
  export type { AdvisorMessages, AdvisorMessagesData, AdvisorMessagesPatch, AdvisorMessagesQuery };
7
7
  export interface AdvisorMessagesParams extends MongoDBAdapterParams<AdvisorMessagesQuery> {
8
8
  }
9
- export declare class AdvisorMessagesService<ServiceParams extends Params = AdvisorMessagesParams> extends FlexibleMongoDBService<AdvisorMessages, AdvisorMessagesData, AdvisorMessagesParams, AdvisorMessagesPatch> {
9
+ export declare class AdvisorMessagesService<ServiceParams extends Params = AdvisorMessagesParams> extends MongoDBService<AdvisorMessages, AdvisorMessagesData, AdvisorMessagesParams, AdvisorMessagesPatch> {
10
10
  }
11
11
  export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -3,8 +3,8 @@ import { type HookContext } from '../../../declarations';
3
3
  import type { AdvisorMessagesService } from './messages.class';
4
4
  export declare const advisorMessagesSchema: import("@feathersjs/typebox").TObject<{
5
5
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6
- advisorId: import("@feathersjs/typebox").TString<string>;
7
- userId: import("@feathersjs/typebox").TString<string>;
6
+ advisorId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
7
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
8
8
  type: import("@feathersjs/typebox").TString<string>;
9
9
  message: import("@feathersjs/typebox").TString<string>;
10
10
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -14,8 +14,8 @@ export type AdvisorMessages = Static<typeof advisorMessagesSchema>;
14
14
  export declare const advisorMessagesValidator: import("@feathersjs/schema").Validator<any, any>;
15
15
  export declare const advisorMessagesResolver: import("@feathersjs/schema").Resolver<{
16
16
  _id: string | {};
17
- advisorId: string;
18
- userId: string;
17
+ advisorId: string | {};
18
+ userId: string | {};
19
19
  type: string;
20
20
  message: string;
21
21
  createdAt?: any;
@@ -23,8 +23,8 @@ export declare const advisorMessagesResolver: import("@feathersjs/schema").Resol
23
23
  }, HookContext<AdvisorMessagesService<import("./messages.class").AdvisorMessagesParams>>>;
24
24
  export declare const advisorMessagesExternalResolver: import("@feathersjs/schema").Resolver<{
25
25
  _id: string | {};
26
- advisorId: string;
27
- userId: string;
26
+ advisorId: string | {};
27
+ userId: string | {};
28
28
  type: string;
29
29
  message: string;
30
30
  createdAt?: any;
@@ -32,8 +32,8 @@ export declare const advisorMessagesExternalResolver: import("@feathersjs/schema
32
32
  }, HookContext<AdvisorMessagesService<import("./messages.class").AdvisorMessagesParams>>>;
33
33
  export declare const advisorMessagesDataSchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
34
34
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
35
- advisorId: import("@feathersjs/typebox").TString<string>;
36
- userId: import("@feathersjs/typebox").TString<string>;
35
+ advisorId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
36
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
37
37
  type: import("@feathersjs/typebox").TString<string>;
38
38
  message: import("@feathersjs/typebox").TString<string>;
39
39
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -45,8 +45,8 @@ export type AdvisorMessagesData = Static<typeof advisorMessagesDataSchema>;
45
45
  export declare const advisorMessagesDataValidator: import("@feathersjs/schema").Validator<any, any>;
46
46
  export declare const advisorMessagesDataResolver: import("@feathersjs/schema").Resolver<{
47
47
  _id: string | {};
48
- advisorId: string;
49
- userId: string;
48
+ advisorId: string | {};
49
+ userId: string | {};
50
50
  type: string;
51
51
  message: string;
52
52
  createdAt?: any;
@@ -54,8 +54,8 @@ export declare const advisorMessagesDataResolver: import("@feathersjs/schema").R
54
54
  }, HookContext<AdvisorMessagesService<import("./messages.class").AdvisorMessagesParams>>>;
55
55
  export declare const advisorMessagesPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
56
56
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
57
- advisorId: import("@feathersjs/typebox").TString<string>;
58
- userId: import("@feathersjs/typebox").TString<string>;
57
+ advisorId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
58
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
59
59
  type: import("@feathersjs/typebox").TString<string>;
60
60
  message: import("@feathersjs/typebox").TString<string>;
61
61
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -65,8 +65,8 @@ export type AdvisorMessagesPatch = Static<typeof advisorMessagesPatchSchema>;
65
65
  export declare const advisorMessagesPatchValidator: import("@feathersjs/schema").Validator<any, any>;
66
66
  export declare const advisorMessagesPatchResolver: import("@feathersjs/schema").Resolver<{
67
67
  _id: string | {};
68
- advisorId: string;
69
- userId: string;
68
+ advisorId: string | {};
69
+ userId: string | {};
70
70
  type: string;
71
71
  message: string;
72
72
  createdAt?: any;
@@ -74,8 +74,8 @@ export declare const advisorMessagesPatchResolver: import("@feathersjs/schema").
74
74
  }, HookContext<AdvisorMessagesService<import("./messages.class").AdvisorMessagesParams>>>;
75
75
  export declare const advisorMessagesQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
76
76
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
77
- advisorId: import("@feathersjs/typebox").TString<string>;
78
- userId: import("@feathersjs/typebox").TString<string>;
77
+ advisorId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
78
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
79
79
  type: import("@feathersjs/typebox").TString<string>;
80
80
  message: import("@feathersjs/typebox").TString<string>;
81
81
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -105,14 +105,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
105
105
  }>, import("@feathersjs/typebox").TObject<{
106
106
  [key: string]: import("@feathersjs/typebox").TSchema;
107
107
  } | undefined>]>>]>>;
108
- advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
109
- $gt: import("@feathersjs/typebox").TString<string>;
110
- $gte: import("@feathersjs/typebox").TString<string>;
111
- $lt: import("@feathersjs/typebox").TString<string>;
112
- $lte: import("@feathersjs/typebox").TString<string>;
113
- $ne: import("@feathersjs/typebox").TString<string>;
114
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
115
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
108
+ advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
109
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
110
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
111
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
112
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
113
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
114
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
115
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
116
116
  }>, import("@feathersjs/typebox").TObject<{
117
117
  [key: string]: import("@feathersjs/typebox").TSchema;
118
118
  } | undefined>]>>]>>;
@@ -149,14 +149,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
149
149
  }>, import("@feathersjs/typebox").TObject<{
150
150
  [key: string]: import("@feathersjs/typebox").TSchema;
151
151
  } | undefined>]>>]>>;
152
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
153
- $gt: import("@feathersjs/typebox").TString<string>;
154
- $gte: import("@feathersjs/typebox").TString<string>;
155
- $lt: import("@feathersjs/typebox").TString<string>;
156
- $lte: import("@feathersjs/typebox").TString<string>;
157
- $ne: import("@feathersjs/typebox").TString<string>;
158
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
159
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
152
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
153
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
154
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
155
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
156
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
157
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
158
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
159
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
160
160
  }>, import("@feathersjs/typebox").TObject<{
161
161
  [key: string]: import("@feathersjs/typebox").TSchema;
162
162
  } | undefined>]>>]>>;
@@ -173,14 +173,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
173
173
  }>, import("@feathersjs/typebox").TObject<{
174
174
  [key: string]: import("@feathersjs/typebox").TSchema;
175
175
  } | undefined>]>>]>>;
176
- advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
177
- $gt: import("@feathersjs/typebox").TString<string>;
178
- $gte: import("@feathersjs/typebox").TString<string>;
179
- $lt: import("@feathersjs/typebox").TString<string>;
180
- $lte: import("@feathersjs/typebox").TString<string>;
181
- $ne: import("@feathersjs/typebox").TString<string>;
182
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
183
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
176
+ advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
177
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
178
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
179
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
180
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
181
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
182
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
183
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
184
184
  }>, import("@feathersjs/typebox").TObject<{
185
185
  [key: string]: import("@feathersjs/typebox").TSchema;
186
186
  } | undefined>]>>]>>;
@@ -217,14 +217,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
217
217
  }>, import("@feathersjs/typebox").TObject<{
218
218
  [key: string]: import("@feathersjs/typebox").TSchema;
219
219
  } | undefined>]>>]>>;
220
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
221
- $gt: import("@feathersjs/typebox").TString<string>;
222
- $gte: import("@feathersjs/typebox").TString<string>;
223
- $lt: import("@feathersjs/typebox").TString<string>;
224
- $lte: import("@feathersjs/typebox").TString<string>;
225
- $ne: import("@feathersjs/typebox").TString<string>;
226
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
227
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
220
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
221
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
222
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
223
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
224
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
225
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
226
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
227
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
228
228
  }>, import("@feathersjs/typebox").TObject<{
229
229
  [key: string]: import("@feathersjs/typebox").TSchema;
230
230
  } | undefined>]>>]>>;
@@ -242,14 +242,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
242
242
  }>, import("@feathersjs/typebox").TObject<{
243
243
  [key: string]: import("@feathersjs/typebox").TSchema;
244
244
  } | undefined>]>>]>>;
245
- advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
246
- $gt: import("@feathersjs/typebox").TString<string>;
247
- $gte: import("@feathersjs/typebox").TString<string>;
248
- $lt: import("@feathersjs/typebox").TString<string>;
249
- $lte: import("@feathersjs/typebox").TString<string>;
250
- $ne: import("@feathersjs/typebox").TString<string>;
251
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
252
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
245
+ advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
246
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
247
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
248
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
249
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
250
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
251
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
252
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
253
253
  }>, import("@feathersjs/typebox").TObject<{
254
254
  [key: string]: import("@feathersjs/typebox").TSchema;
255
255
  } | undefined>]>>]>>;
@@ -286,14 +286,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
286
286
  }>, import("@feathersjs/typebox").TObject<{
287
287
  [key: string]: import("@feathersjs/typebox").TSchema;
288
288
  } | undefined>]>>]>>;
289
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
290
- $gt: import("@feathersjs/typebox").TString<string>;
291
- $gte: import("@feathersjs/typebox").TString<string>;
292
- $lt: import("@feathersjs/typebox").TString<string>;
293
- $lte: import("@feathersjs/typebox").TString<string>;
294
- $ne: import("@feathersjs/typebox").TString<string>;
295
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
296
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
289
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
290
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
291
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
292
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
293
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
294
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
295
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
296
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
297
297
  }>, import("@feathersjs/typebox").TObject<{
298
298
  [key: string]: import("@feathersjs/typebox").TSchema;
299
299
  } | undefined>]>>]>>;
@@ -310,14 +310,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
310
310
  }>, import("@feathersjs/typebox").TObject<{
311
311
  [key: string]: import("@feathersjs/typebox").TSchema;
312
312
  } | undefined>]>>]>>;
313
- advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
314
- $gt: import("@feathersjs/typebox").TString<string>;
315
- $gte: import("@feathersjs/typebox").TString<string>;
316
- $lt: import("@feathersjs/typebox").TString<string>;
317
- $lte: import("@feathersjs/typebox").TString<string>;
318
- $ne: import("@feathersjs/typebox").TString<string>;
319
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
320
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
313
+ advisorId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
314
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
315
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
316
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
317
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
318
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
319
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
320
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
321
321
  }>, import("@feathersjs/typebox").TObject<{
322
322
  [key: string]: import("@feathersjs/typebox").TSchema;
323
323
  } | undefined>]>>]>>;
@@ -354,14 +354,14 @@ export declare const advisorMessagesQuerySchema: import("@feathersjs/typebox").T
354
354
  }>, import("@feathersjs/typebox").TObject<{
355
355
  [key: string]: import("@feathersjs/typebox").TSchema;
356
356
  } | undefined>]>>]>>;
357
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
358
- $gt: import("@feathersjs/typebox").TString<string>;
359
- $gte: import("@feathersjs/typebox").TString<string>;
360
- $lt: import("@feathersjs/typebox").TString<string>;
361
- $lte: import("@feathersjs/typebox").TString<string>;
362
- $ne: import("@feathersjs/typebox").TString<string>;
363
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
364
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
357
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
358
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
359
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
360
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
361
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
362
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
363
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
364
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
365
365
  }>, import("@feathersjs/typebox").TObject<{
366
366
  [key: string]: import("@feathersjs/typebox").TSchema;
367
367
  } | undefined>]>>]>>;
@@ -391,14 +391,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
391
391
  $nin: string | (string | {})[] | {};
392
392
  } & {}> | {} | undefined;
393
393
  advisorId?: string | Partial<{
394
- $gt: string;
395
- $gte: string;
396
- $lt: string;
397
- $lte: string;
398
- $ne: string;
399
- $in: string | string[];
400
- $nin: string | string[];
401
- } & {}> | undefined;
394
+ $gt: string | {};
395
+ $gte: string | {};
396
+ $lt: string | {};
397
+ $lte: string | {};
398
+ $ne: string | {};
399
+ $in: string | (string | {})[] | {};
400
+ $nin: string | (string | {})[] | {};
401
+ } & {}> | {} | undefined;
402
402
  createdAt?: any;
403
403
  message?: string | Partial<{
404
404
  $gt: string;
@@ -419,14 +419,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
419
419
  $nin: string | string[];
420
420
  } & {}> | undefined;
421
421
  userId?: string | Partial<{
422
- $gt: string;
423
- $gte: string;
424
- $lt: string;
425
- $lte: string;
426
- $ne: string;
427
- $in: string | string[];
428
- $nin: string | string[];
429
- } & {}> | undefined;
422
+ $gt: string | {};
423
+ $gte: string | {};
424
+ $lt: string | {};
425
+ $lte: string | {};
426
+ $ne: string | {};
427
+ $in: string | (string | {})[] | {};
428
+ $nin: string | (string | {})[] | {};
429
+ } & {}> | {} | undefined;
430
430
  } | {
431
431
  $or: {
432
432
  _id?: string | Partial<{
@@ -439,14 +439,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
439
439
  $nin: string | (string | {})[] | {};
440
440
  } & {}> | {} | undefined;
441
441
  advisorId?: string | Partial<{
442
- $gt: string;
443
- $gte: string;
444
- $lt: string;
445
- $lte: string;
446
- $ne: string;
447
- $in: string | string[];
448
- $nin: string | string[];
449
- } & {}> | undefined;
442
+ $gt: string | {};
443
+ $gte: string | {};
444
+ $lt: string | {};
445
+ $lte: string | {};
446
+ $ne: string | {};
447
+ $in: string | (string | {})[] | {};
448
+ $nin: string | (string | {})[] | {};
449
+ } & {}> | {} | undefined;
450
450
  createdAt?: any;
451
451
  message?: string | Partial<{
452
452
  $gt: string;
@@ -467,14 +467,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
467
467
  $nin: string | string[];
468
468
  } & {}> | undefined;
469
469
  userId?: string | Partial<{
470
- $gt: string;
471
- $gte: string;
472
- $lt: string;
473
- $lte: string;
474
- $ne: string;
475
- $in: string | string[];
476
- $nin: string | string[];
477
- } & {}> | undefined;
470
+ $gt: string | {};
471
+ $gte: string | {};
472
+ $lt: string | {};
473
+ $lte: string | {};
474
+ $ne: string | {};
475
+ $in: string | (string | {})[] | {};
476
+ $nin: string | (string | {})[] | {};
477
+ } & {}> | {} | undefined;
478
478
  }[];
479
479
  })[];
480
480
  $or: {
@@ -488,14 +488,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
488
488
  $nin: string | (string | {})[] | {};
489
489
  } & {}> | {} | undefined;
490
490
  advisorId?: string | Partial<{
491
- $gt: string;
492
- $gte: string;
493
- $lt: string;
494
- $lte: string;
495
- $ne: string;
496
- $in: string | string[];
497
- $nin: string | string[];
498
- } & {}> | undefined;
491
+ $gt: string | {};
492
+ $gte: string | {};
493
+ $lt: string | {};
494
+ $lte: string | {};
495
+ $ne: string | {};
496
+ $in: string | (string | {})[] | {};
497
+ $nin: string | (string | {})[] | {};
498
+ } & {}> | {} | undefined;
499
499
  createdAt?: any;
500
500
  message?: string | Partial<{
501
501
  $gt: string;
@@ -516,14 +516,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
516
516
  $nin: string | string[];
517
517
  } & {}> | undefined;
518
518
  userId?: string | Partial<{
519
- $gt: string;
520
- $gte: string;
521
- $lt: string;
522
- $lte: string;
523
- $ne: string;
524
- $in: string | string[];
525
- $nin: string | string[];
526
- } & {}> | undefined;
519
+ $gt: string | {};
520
+ $gte: string | {};
521
+ $lt: string | {};
522
+ $lte: string | {};
523
+ $ne: string | {};
524
+ $in: string | (string | {})[] | {};
525
+ $nin: string | (string | {})[] | {};
526
+ } & {}> | {} | undefined;
527
527
  }[];
528
528
  }> & {
529
529
  _id?: string | Partial<{
@@ -536,14 +536,14 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
536
536
  $nin: string | (string | {})[] | {};
537
537
  } & {}> | {} | undefined;
538
538
  advisorId?: string | Partial<{
539
- $gt: string;
540
- $gte: string;
541
- $lt: string;
542
- $lte: string;
543
- $ne: string;
544
- $in: string | string[];
545
- $nin: string | string[];
546
- } & {}> | undefined;
539
+ $gt: string | {};
540
+ $gte: string | {};
541
+ $lt: string | {};
542
+ $lte: string | {};
543
+ $ne: string | {};
544
+ $in: string | (string | {})[] | {};
545
+ $nin: string | (string | {})[] | {};
546
+ } & {}> | {} | undefined;
547
547
  createdAt?: any;
548
548
  message?: string | Partial<{
549
549
  $gt: string;
@@ -564,12 +564,12 @@ export declare const advisorMessagesQueryResolver: import("@feathersjs/schema").
564
564
  $nin: string | string[];
565
565
  } & {}> | undefined;
566
566
  userId?: string | Partial<{
567
- $gt: string;
568
- $gte: string;
569
- $lt: string;
570
- $lte: string;
571
- $ne: string;
572
- $in: string | string[];
573
- $nin: string | string[];
574
- } & {}> | undefined;
567
+ $gt: string | {};
568
+ $gte: string | {};
569
+ $lt: string | {};
570
+ $lte: string | {};
571
+ $ne: string | {};
572
+ $in: string | (string | {})[] | {};
573
+ $nin: string | (string | {})[] | {};
574
+ } & {}> | {} | undefined;
575
575
  } & {}, HookContext<AdvisorMessagesService<import("./messages.class").AdvisorMessagesParams>>>;
@@ -10,4 +10,3 @@ const advisorMessagesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.advisorMessagesClient = advisorMessagesClient;
13
- //# sourceMappingURL=messages.shared.js.map
@@ -1,18 +1,15 @@
1
1
  import type { Id, Params } from '@feathersjs/feathers';
2
2
  import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb';
3
- import { FlexibleMongoDBService } from '../../helpers/flexible-objectid';
3
+ import { MongoDBService } from '@feathersjs/mongodb';
4
4
  import type { Application } from '../../declarations';
5
5
  import type { Affiliates, AffiliatesData, AffiliatesPatch, AffiliatesQuery } from './affiliates.schema';
6
6
  export type { Affiliates, AffiliatesData, AffiliatesPatch, AffiliatesQuery };
7
7
  export interface AffiliatesParams extends MongoDBAdapterParams<AffiliatesQuery> {
8
8
  user?: any;
9
9
  }
10
- export declare class AffiliatesService<ServiceParams extends Params = AffiliatesParams> extends FlexibleMongoDBService<Affiliates, AffiliatesData, AffiliatesParams, AffiliatesPatch> {
10
+ export declare class AffiliatesService<ServiceParams extends Params = AffiliatesParams> extends MongoDBService<Affiliates, AffiliatesData, AffiliatesParams, AffiliatesPatch> {
11
11
  app: Application;
12
12
  setup(app: Application): void;
13
- /**
14
- * Dashboard endpoint: aggregates clicks, referrals, commissions and payouts for an affiliate
15
- */
16
13
  dashboard(affiliateId: Id, params?: ServiceParams): Promise<any>;
17
14
  }
18
15
  export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -17,4 +17,3 @@ const affiliatesClient = (client) => {
17
17
  });
18
18
  };
19
19
  exports.affiliatesClient = affiliatesClient;
20
- //# sourceMappingURL=affiliates.shared.js.map