@cranberry-money/shared-services 1.13.0 → 3.0.1
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.
- package/CHANGELOG.md +240 -0
- package/README.md +464 -190
- package/dist/api/functional-client.d.ts +66 -0
- package/dist/api/functional-client.d.ts.map +1 -0
- package/dist/api/functional-client.js +165 -0
- package/dist/auth/functional/auth-operations.d.ts +116 -0
- package/dist/auth/functional/auth-operations.d.ts.map +1 -0
- package/dist/auth/functional/auth-operations.js +246 -0
- package/dist/auth/functional/auth-state.d.ts +38 -0
- package/dist/auth/functional/auth-state.d.ts.map +1 -0
- package/dist/auth/functional/auth-state.js +87 -0
- package/dist/auth/functional/token-storage.d.ts +44 -0
- package/dist/auth/functional/token-storage.d.ts.map +1 -0
- package/dist/auth/functional/token-storage.js +178 -0
- package/dist/auth/react/AuthProvider.d.ts +92 -0
- package/dist/auth/react/AuthProvider.d.ts.map +1 -0
- package/dist/auth/react/AuthProvider.js +207 -0
- package/dist/index.d.ts +25 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +114 -42
- package/dist/integration/blueberry-integration.d.ts +21 -0
- package/dist/integration/blueberry-integration.d.ts.map +1 -0
- package/dist/integration/blueberry-integration.js +109 -0
- package/dist/integration/index.d.ts +8 -0
- package/dist/integration/index.d.ts.map +1 -0
- package/dist/integration/index.js +18 -0
- package/dist/services/accounts.d.ts +220 -0
- package/dist/services/accounts.d.ts.map +1 -0
- package/dist/services/accounts.js +175 -0
- package/dist/services/banks.d.ts +123 -0
- package/dist/services/banks.d.ts.map +1 -0
- package/dist/services/banks.js +151 -0
- package/dist/services/cash-accounts.d.ts +112 -0
- package/dist/services/cash-accounts.d.ts.map +1 -0
- package/dist/services/cash-accounts.js +222 -0
- package/dist/services/documents.d.ts +143 -0
- package/dist/services/documents.d.ts.map +1 -0
- package/dist/services/documents.js +253 -0
- package/dist/services/factories/account-factory.d.ts +16 -0
- package/dist/services/factories/account-factory.d.ts.map +1 -0
- package/dist/services/factories/account-factory.js +79 -0
- package/dist/services/factories/auth-factory.d.ts +23 -0
- package/dist/services/factories/auth-factory.d.ts.map +1 -0
- package/dist/services/factories/auth-factory.js +75 -0
- package/dist/services/factories/bank-factory.d.ts +16 -0
- package/dist/services/factories/bank-factory.d.ts.map +1 -0
- package/dist/services/factories/bank-factory.js +72 -0
- package/dist/services/factories/cash-account-factory.d.ts +16 -0
- package/dist/services/factories/cash-account-factory.d.ts.map +1 -0
- package/dist/services/factories/cash-account-factory.js +74 -0
- package/dist/services/factories/document-factory.d.ts +16 -0
- package/dist/services/factories/document-factory.d.ts.map +1 -0
- package/dist/services/factories/document-factory.js +85 -0
- package/dist/services/factories/index.d.ts +21 -0
- package/dist/services/factories/index.d.ts.map +1 -0
- package/dist/services/factories/index.js +40 -0
- package/dist/services/factories/instrument-factory.d.ts +16 -0
- package/dist/services/factories/instrument-factory.d.ts.map +1 -0
- package/dist/services/factories/instrument-factory.js +68 -0
- package/dist/services/factories/master-factory.d.ts +74 -0
- package/dist/services/factories/master-factory.d.ts.map +1 -0
- package/dist/services/factories/master-factory.js +183 -0
- package/dist/services/factories/portfolio-factory.d.ts +16 -0
- package/dist/services/factories/portfolio-factory.d.ts.map +1 -0
- package/dist/services/factories/portfolio-factory.js +74 -0
- package/dist/services/factories/portfolio-template-factory.d.ts +16 -0
- package/dist/services/factories/portfolio-template-factory.d.ts.map +1 -0
- package/dist/services/factories/portfolio-template-factory.js +76 -0
- package/dist/services/factories/reference-data-factory.d.ts +16 -0
- package/dist/services/factories/reference-data-factory.d.ts.map +1 -0
- package/dist/services/factories/reference-data-factory.js +86 -0
- package/dist/services/factories/tax-residency-factory.d.ts +16 -0
- package/dist/services/factories/tax-residency-factory.d.ts.map +1 -0
- package/dist/services/factories/tax-residency-factory.js +73 -0
- package/dist/services/factories/trade-factory.d.ts +16 -0
- package/dist/services/factories/trade-factory.d.ts.map +1 -0
- package/dist/services/factories/trade-factory.js +79 -0
- package/dist/services/factories/types.d.ts +250 -0
- package/dist/services/factories/types.d.ts.map +1 -0
- package/dist/services/factories/types.js +32 -0
- package/dist/services/factories/withdrawal-factory.d.ts +16 -0
- package/dist/services/factories/withdrawal-factory.d.ts.map +1 -0
- package/dist/services/factories/withdrawal-factory.js +78 -0
- package/dist/services/instruments.d.ts +138 -0
- package/dist/services/instruments.d.ts.map +1 -0
- package/dist/services/instruments.js +178 -0
- package/dist/services/portfolio-templates.d.ts +142 -0
- package/dist/services/portfolio-templates.d.ts.map +1 -0
- package/dist/services/portfolio-templates.js +201 -0
- package/dist/services/portfolios.d.ts +157 -0
- package/dist/services/portfolios.d.ts.map +1 -0
- package/dist/services/portfolios.js +144 -0
- package/dist/services/reference-data.d.ts +185 -0
- package/dist/services/reference-data.d.ts.map +1 -0
- package/dist/services/reference-data.js +245 -0
- package/dist/services/tax-residencies.d.ts +83 -0
- package/dist/services/tax-residencies.d.ts.map +1 -0
- package/dist/services/tax-residencies.js +179 -0
- package/dist/services/trades.d.ts +190 -0
- package/dist/services/trades.d.ts.map +1 -0
- package/dist/services/trades.js +207 -0
- package/dist/services/withdrawals.d.ts +236 -0
- package/dist/services/withdrawals.d.ts.map +1 -0
- package/dist/services/withdrawals.js +345 -0
- package/package.json +39 -16
- package/dist/adapters/MobileApiClient.d.ts +0 -68
- package/dist/adapters/MobileApiClient.d.ts.map +0 -1
- package/dist/adapters/MobileApiClient.js +0 -240
- package/dist/adapters/MobileTokenStorage.d.ts +0 -43
- package/dist/adapters/MobileTokenStorage.d.ts.map +0 -1
- package/dist/adapters/MobileTokenStorage.js +0 -128
- package/dist/adapters/WebApiClient.d.ts +0 -28
- package/dist/adapters/WebApiClient.d.ts.map +0 -1
- package/dist/adapters/WebApiClient.js +0 -119
- package/dist/adapters/WebTokenStorage.d.ts +0 -38
- package/dist/adapters/WebTokenStorage.d.ts.map +0 -1
- package/dist/adapters/WebTokenStorage.js +0 -86
- package/dist/api/apiClient.d.ts +0 -31
- package/dist/api/apiClient.d.ts.map +0 -1
- package/dist/api/apiClient.js +0 -49
- package/dist/api/types.d.ts +0 -51
- package/dist/api/types.d.ts.map +0 -1
- package/dist/api/types.js +0 -4
- package/dist/auth/AuthManager.d.ts +0 -81
- package/dist/auth/AuthManager.d.ts.map +0 -1
- package/dist/auth/AuthManager.js +0 -223
- package/dist/auth/createAuthManager.d.ts +0 -63
- package/dist/auth/createAuthManager.d.ts.map +0 -1
- package/dist/auth/createAuthManager.js +0 -103
- package/dist/auth/useAuthManager.d.ts +0 -66
- package/dist/auth/useAuthManager.d.ts.map +0 -1
- package/dist/auth/useAuthManager.js +0 -133
- package/dist/config/serviceConfig.d.ts +0 -37
- package/dist/config/serviceConfig.d.ts.map +0 -1
- package/dist/config/serviceConfig.js +0 -70
- package/dist/core/BaseApiClient.d.ts +0 -82
- package/dist/core/BaseApiClient.d.ts.map +0 -1
- package/dist/core/BaseApiClient.js +0 -89
- package/dist/core/TokenStorage.d.ts +0 -45
- package/dist/core/TokenStorage.d.ts.map +0 -1
- package/dist/core/TokenStorage.js +0 -23
- package/dist/query/QueryClient.d.ts +0 -82
- package/dist/query/QueryClient.d.ts.map +0 -1
- package/dist/query/QueryClient.js +0 -136
- package/dist/query/useAuth.d.ts +0 -64
- package/dist/query/useAuth.d.ts.map +0 -1
- package/dist/query/useAuth.js +0 -144
- package/dist/query/usePortfolios.d.ts +0 -79
- package/dist/query/usePortfolios.d.ts.map +0 -1
- package/dist/query/usePortfolios.js +0 -172
- package/dist/services/AuthService.d.ts +0 -75
- package/dist/services/AuthService.d.ts.map +0 -1
- package/dist/services/AuthService.js +0 -83
- package/dist/services/BaseService.d.ts +0 -48
- package/dist/services/BaseService.d.ts.map +0 -1
- package/dist/services/BaseService.js +0 -51
- package/dist/services/PortfolioService.d.ts +0 -100
- package/dist/services/PortfolioService.d.ts.map +0 -1
- package/dist/services/PortfolioService.js +0 -68
- package/dist/services/accounts/constants.d.ts +0 -24
- package/dist/services/accounts/constants.d.ts.map +0 -1
- package/dist/services/accounts/constants.js +0 -30
- package/dist/services/accounts/index.d.ts +0 -7
- package/dist/services/accounts/index.d.ts.map +0 -1
- package/dist/services/accounts/index.js +0 -6
- package/dist/services/accounts/service.d.ts +0 -11
- package/dist/services/accounts/service.d.ts.map +0 -1
- package/dist/services/accounts/service.js +0 -19
- package/dist/services/accounts/types.d.ts +0 -15
- package/dist/services/accounts/types.d.ts.map +0 -1
- package/dist/services/accounts/types.js +0 -4
- package/dist/services/auth/constants.d.ts +0 -30
- package/dist/services/auth/constants.d.ts.map +0 -1
- package/dist/services/auth/constants.js +0 -37
- package/dist/services/auth/index.d.ts +0 -8
- package/dist/services/auth/index.d.ts.map +0 -1
- package/dist/services/auth/index.js +0 -7
- package/dist/services/auth/service.d.ts +0 -8
- package/dist/services/auth/service.d.ts.map +0 -1
- package/dist/services/auth/service.js +0 -23
- package/dist/services/auth/types.d.ts +0 -38
- package/dist/services/auth/types.d.ts.map +0 -1
- package/dist/services/auth/types.js +0 -1
- package/dist/services/auth/utils.d.ts +0 -46
- package/dist/services/auth/utils.d.ts.map +0 -1
- package/dist/services/auth/utils.js +0 -113
- package/dist/services/banks/constants.d.ts +0 -47
- package/dist/services/banks/constants.d.ts.map +0 -1
- package/dist/services/banks/constants.js +0 -98
- package/dist/services/banks/index.d.ts +0 -8
- package/dist/services/banks/index.d.ts.map +0 -1
- package/dist/services/banks/index.js +0 -7
- package/dist/services/banks/service.d.ts +0 -9
- package/dist/services/banks/service.d.ts.map +0 -1
- package/dist/services/banks/service.js +0 -38
- package/dist/services/banks/types.d.ts +0 -36
- package/dist/services/banks/types.d.ts.map +0 -1
- package/dist/services/banks/types.js +0 -4
- package/dist/services/cash_accounts/constants.d.ts +0 -7
- package/dist/services/cash_accounts/constants.d.ts.map +0 -1
- package/dist/services/cash_accounts/constants.js +0 -7
- package/dist/services/cash_accounts/index.d.ts +0 -5
- package/dist/services/cash_accounts/index.d.ts.map +0 -1
- package/dist/services/cash_accounts/index.js +0 -6
- package/dist/services/cash_accounts/service.d.ts +0 -8
- package/dist/services/cash_accounts/service.d.ts.map +0 -1
- package/dist/services/cash_accounts/service.js +0 -32
- package/dist/services/cash_accounts/transactions/constants.d.ts +0 -18
- package/dist/services/cash_accounts/transactions/constants.d.ts.map +0 -1
- package/dist/services/cash_accounts/transactions/constants.js +0 -25
- package/dist/services/cash_accounts/transactions/index.d.ts +0 -5
- package/dist/services/cash_accounts/transactions/index.d.ts.map +0 -1
- package/dist/services/cash_accounts/transactions/index.js +0 -6
- package/dist/services/cash_accounts/transactions/service.d.ts +0 -13
- package/dist/services/cash_accounts/transactions/service.d.ts.map +0 -1
- package/dist/services/cash_accounts/transactions/service.js +0 -75
- package/dist/services/cash_accounts/transactions/types.d.ts +0 -38
- package/dist/services/cash_accounts/transactions/types.d.ts.map +0 -1
- package/dist/services/cash_accounts/transactions/types.js +0 -11
- package/dist/services/cash_accounts/types.d.ts +0 -24
- package/dist/services/cash_accounts/types.d.ts.map +0 -1
- package/dist/services/cash_accounts/types.js +0 -4
- package/dist/services/countries/constants.d.ts +0 -9
- package/dist/services/countries/constants.d.ts.map +0 -1
- package/dist/services/countries/constants.js +0 -10
- package/dist/services/countries/index.d.ts +0 -5
- package/dist/services/countries/index.d.ts.map +0 -1
- package/dist/services/countries/index.js +0 -6
- package/dist/services/countries/service.d.ts +0 -18
- package/dist/services/countries/service.d.ts.map +0 -1
- package/dist/services/countries/service.js +0 -32
- package/dist/services/countries/types.d.ts +0 -24
- package/dist/services/countries/types.d.ts.map +0 -1
- package/dist/services/countries/types.js +0 -1
- package/dist/services/countries/utils.d.ts +0 -38
- package/dist/services/countries/utils.d.ts.map +0 -1
- package/dist/services/countries/utils.js +0 -62
- package/dist/services/documents/constants.d.ts +0 -55
- package/dist/services/documents/constants.d.ts.map +0 -1
- package/dist/services/documents/constants.js +0 -50
- package/dist/services/documents/index.d.ts +0 -6
- package/dist/services/documents/index.d.ts.map +0 -1
- package/dist/services/documents/index.js +0 -6
- package/dist/services/documents/service.d.ts +0 -50
- package/dist/services/documents/service.d.ts.map +0 -1
- package/dist/services/documents/service.js +0 -116
- package/dist/services/documents/types.d.ts +0 -47
- package/dist/services/documents/types.d.ts.map +0 -1
- package/dist/services/documents/types.js +0 -1
- package/dist/services/documents/utils.d.ts +0 -26
- package/dist/services/documents/utils.d.ts.map +0 -1
- package/dist/services/documents/utils.js +0 -37
- package/dist/services/industries/constants.d.ts +0 -8
- package/dist/services/industries/constants.d.ts.map +0 -1
- package/dist/services/industries/constants.js +0 -9
- package/dist/services/industries/index.d.ts +0 -6
- package/dist/services/industries/index.d.ts.map +0 -1
- package/dist/services/industries/index.js +0 -6
- package/dist/services/industries/service.d.ts +0 -18
- package/dist/services/industries/service.d.ts.map +0 -1
- package/dist/services/industries/service.js +0 -43
- package/dist/services/industries/types.d.ts +0 -21
- package/dist/services/industries/types.d.ts.map +0 -1
- package/dist/services/industries/types.js +0 -1
- package/dist/services/industries/utils.d.ts +0 -47
- package/dist/services/industries/utils.d.ts.map +0 -1
- package/dist/services/industries/utils.js +0 -86
- package/dist/services/instruments/constants.d.ts +0 -38
- package/dist/services/instruments/constants.d.ts.map +0 -1
- package/dist/services/instruments/constants.js +0 -36
- package/dist/services/instruments/index.d.ts +0 -5
- package/dist/services/instruments/index.d.ts.map +0 -1
- package/dist/services/instruments/index.js +0 -6
- package/dist/services/instruments/service.d.ts +0 -54
- package/dist/services/instruments/service.d.ts.map +0 -1
- package/dist/services/instruments/service.js +0 -106
- package/dist/services/instruments/types.d.ts +0 -83
- package/dist/services/instruments/types.d.ts.map +0 -1
- package/dist/services/instruments/types.js +0 -1
- package/dist/services/instruments/utils.d.ts +0 -50
- package/dist/services/instruments/utils.d.ts.map +0 -1
- package/dist/services/instruments/utils.js +0 -111
- package/dist/services/portfolio_templates/constants.d.ts +0 -8
- package/dist/services/portfolio_templates/constants.d.ts.map +0 -1
- package/dist/services/portfolio_templates/constants.js +0 -8
- package/dist/services/portfolio_templates/index.d.ts +0 -5
- package/dist/services/portfolio_templates/index.d.ts.map +0 -1
- package/dist/services/portfolio_templates/index.js +0 -5
- package/dist/services/portfolio_templates/service.d.ts +0 -6
- package/dist/services/portfolio_templates/service.d.ts.map +0 -1
- package/dist/services/portfolio_templates/service.js +0 -14
- package/dist/services/portfolio_templates/types.d.ts +0 -49
- package/dist/services/portfolio_templates/types.d.ts.map +0 -1
- package/dist/services/portfolio_templates/types.js +0 -1
- package/dist/services/portfolio_templates/utils.d.ts +0 -8
- package/dist/services/portfolio_templates/utils.d.ts.map +0 -1
- package/dist/services/portfolio_templates/utils.js +0 -13
- package/dist/services/portfolios/allocations/index.d.ts +0 -7
- package/dist/services/portfolios/allocations/index.d.ts.map +0 -1
- package/dist/services/portfolios/allocations/index.js +0 -6
- package/dist/services/portfolios/allocations/service.d.ts +0 -6
- package/dist/services/portfolios/allocations/service.d.ts.map +0 -1
- package/dist/services/portfolios/allocations/service.js +0 -19
- package/dist/services/portfolios/allocations/types.d.ts +0 -17
- package/dist/services/portfolios/allocations/types.d.ts.map +0 -1
- package/dist/services/portfolios/allocations/types.js +0 -4
- package/dist/services/portfolios/allocations/utils.d.ts +0 -3
- package/dist/services/portfolios/allocations/utils.d.ts.map +0 -1
- package/dist/services/portfolios/allocations/utils.js +0 -7
- package/dist/services/portfolios/constants.d.ts +0 -45
- package/dist/services/portfolios/constants.d.ts.map +0 -1
- package/dist/services/portfolios/constants.js +0 -57
- package/dist/services/portfolios/holdings/index.d.ts +0 -7
- package/dist/services/portfolios/holdings/index.d.ts.map +0 -1
- package/dist/services/portfolios/holdings/index.js +0 -6
- package/dist/services/portfolios/holdings/service.d.ts +0 -10
- package/dist/services/portfolios/holdings/service.d.ts.map +0 -1
- package/dist/services/portfolios/holdings/service.js +0 -53
- package/dist/services/portfolios/holdings/types.d.ts +0 -42
- package/dist/services/portfolios/holdings/types.d.ts.map +0 -1
- package/dist/services/portfolios/holdings/types.js +0 -4
- package/dist/services/portfolios/holdings/utils.d.ts +0 -8
- package/dist/services/portfolios/holdings/utils.d.ts.map +0 -1
- package/dist/services/portfolios/holdings/utils.js +0 -82
- package/dist/services/portfolios/index.d.ts +0 -10
- package/dist/services/portfolios/index.d.ts.map +0 -1
- package/dist/services/portfolios/index.js +0 -10
- package/dist/services/portfolios/service.d.ts +0 -7
- package/dist/services/portfolios/service.d.ts.map +0 -1
- package/dist/services/portfolios/service.js +0 -19
- package/dist/services/portfolios/types.d.ts +0 -29
- package/dist/services/portfolios/types.d.ts.map +0 -1
- package/dist/services/portfolios/types.js +0 -1
- package/dist/services/portfolios/utils.d.ts +0 -5
- package/dist/services/portfolios/utils.d.ts.map +0 -1
- package/dist/services/portfolios/utils.js +0 -26
- package/dist/services/sectors/constants.d.ts +0 -7
- package/dist/services/sectors/constants.d.ts.map +0 -1
- package/dist/services/sectors/constants.js +0 -7
- package/dist/services/sectors/index.d.ts +0 -6
- package/dist/services/sectors/index.d.ts.map +0 -1
- package/dist/services/sectors/index.js +0 -6
- package/dist/services/sectors/service.d.ts +0 -14
- package/dist/services/sectors/service.d.ts.map +0 -1
- package/dist/services/sectors/service.js +0 -32
- package/dist/services/sectors/types.d.ts +0 -19
- package/dist/services/sectors/types.d.ts.map +0 -1
- package/dist/services/sectors/types.js +0 -1
- package/dist/services/sectors/utils.d.ts +0 -31
- package/dist/services/sectors/utils.d.ts.map +0 -1
- package/dist/services/sectors/utils.js +0 -54
- package/dist/services/stock_exchanges/constants.d.ts +0 -7
- package/dist/services/stock_exchanges/constants.d.ts.map +0 -1
- package/dist/services/stock_exchanges/constants.js +0 -7
- package/dist/services/stock_exchanges/index.d.ts +0 -6
- package/dist/services/stock_exchanges/index.d.ts.map +0 -1
- package/dist/services/stock_exchanges/index.js +0 -6
- package/dist/services/stock_exchanges/service.d.ts +0 -4
- package/dist/services/stock_exchanges/service.d.ts.map +0 -1
- package/dist/services/stock_exchanges/service.js +0 -26
- package/dist/services/stock_exchanges/types.d.ts +0 -28
- package/dist/services/stock_exchanges/types.d.ts.map +0 -1
- package/dist/services/stock_exchanges/types.js +0 -1
- package/dist/services/stock_exchanges/utils.d.ts +0 -8
- package/dist/services/stock_exchanges/utils.d.ts.map +0 -1
- package/dist/services/stock_exchanges/utils.js +0 -37
- package/dist/services/tax_residencies/constants.d.ts +0 -7
- package/dist/services/tax_residencies/constants.d.ts.map +0 -1
- package/dist/services/tax_residencies/constants.js +0 -7
- package/dist/services/tax_residencies/index.d.ts +0 -10
- package/dist/services/tax_residencies/index.d.ts.map +0 -1
- package/dist/services/tax_residencies/index.js +0 -11
- package/dist/services/tax_residencies/service.d.ts +0 -6
- package/dist/services/tax_residencies/service.d.ts.map +0 -1
- package/dist/services/tax_residencies/service.js +0 -20
- package/dist/services/tax_residencies/types.d.ts +0 -26
- package/dist/services/tax_residencies/types.d.ts.map +0 -1
- package/dist/services/tax_residencies/types.js +0 -4
- package/dist/services/tax_residencies/utils.d.ts +0 -9
- package/dist/services/tax_residencies/utils.d.ts.map +0 -1
- package/dist/services/tax_residencies/utils.js +0 -19
- package/dist/services/trades/constants.d.ts +0 -47
- package/dist/services/trades/constants.d.ts.map +0 -1
- package/dist/services/trades/constants.js +0 -61
- package/dist/services/trades/index.d.ts +0 -4
- package/dist/services/trades/index.d.ts.map +0 -1
- package/dist/services/trades/index.js +0 -12
- package/dist/services/trades/service.d.ts +0 -19
- package/dist/services/trades/service.d.ts.map +0 -1
- package/dist/services/trades/service.js +0 -177
- package/dist/services/trades/types.d.ts +0 -114
- package/dist/services/trades/types.d.ts.map +0 -1
- package/dist/services/trades/types.js +0 -1
- package/dist/services/users/constants.d.ts +0 -7
- package/dist/services/users/constants.d.ts.map +0 -1
- package/dist/services/users/constants.js +0 -8
- package/dist/services/users/index.d.ts +0 -9
- package/dist/services/users/index.d.ts.map +0 -1
- package/dist/services/users/index.js +0 -9
- package/dist/services/users/investment_preferences/constants.d.ts +0 -7
- package/dist/services/users/investment_preferences/constants.d.ts.map +0 -1
- package/dist/services/users/investment_preferences/constants.js +0 -7
- package/dist/services/users/investment_preferences/index.d.ts +0 -7
- package/dist/services/users/investment_preferences/index.d.ts.map +0 -1
- package/dist/services/users/investment_preferences/index.js +0 -6
- package/dist/services/users/investment_preferences/service.d.ts +0 -5
- package/dist/services/users/investment_preferences/service.d.ts.map +0 -1
- package/dist/services/users/investment_preferences/service.js +0 -12
- package/dist/services/users/investment_preferences/types.d.ts +0 -23
- package/dist/services/users/investment_preferences/types.d.ts.map +0 -1
- package/dist/services/users/investment_preferences/types.js +0 -1
- package/dist/services/users/service.d.ts +0 -6
- package/dist/services/users/service.d.ts.map +0 -1
- package/dist/services/users/service.js +0 -15
- package/dist/services/users/types.d.ts +0 -32
- package/dist/services/users/types.d.ts.map +0 -1
- package/dist/services/users/types.js +0 -1
- package/dist/services/users/utils.d.ts +0 -2
- package/dist/services/users/utils.d.ts.map +0 -1
- package/dist/services/users/utils.js +0 -6
- package/dist/services/withdrawals/constants.d.ts +0 -67
- package/dist/services/withdrawals/constants.d.ts.map +0 -1
- package/dist/services/withdrawals/constants.js +0 -91
- package/dist/services/withdrawals/index.d.ts +0 -6
- package/dist/services/withdrawals/index.d.ts.map +0 -1
- package/dist/services/withdrawals/index.js +0 -7
- package/dist/services/withdrawals/service.d.ts +0 -4
- package/dist/services/withdrawals/service.d.ts.map +0 -1
- package/dist/services/withdrawals/service.js +0 -5
- package/dist/services/withdrawals/types.d.ts +0 -81
- package/dist/services/withdrawals/types.d.ts.map +0 -1
- package/dist/services/withdrawals/types.js +0 -1
- package/dist/services/withdrawals/utils.d.ts +0 -20
- package/dist/services/withdrawals/utils.d.ts.map +0 -1
- package/dist/services/withdrawals/utils.js +0 -110
- package/dist/services/withdrawals/withdrawal_liquidations/index.d.ts +0 -3
- package/dist/services/withdrawals/withdrawal_liquidations/index.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_liquidations/index.js +0 -2
- package/dist/services/withdrawals/withdrawal_liquidations/service.d.ts +0 -8
- package/dist/services/withdrawals/withdrawal_liquidations/service.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_liquidations/service.js +0 -68
- package/dist/services/withdrawals/withdrawal_liquidations/types.d.ts +0 -2
- package/dist/services/withdrawals/withdrawal_liquidations/types.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_liquidations/types.js +0 -1
- package/dist/services/withdrawals/withdrawal_requests/index.d.ts +0 -3
- package/dist/services/withdrawals/withdrawal_requests/index.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_requests/index.js +0 -2
- package/dist/services/withdrawals/withdrawal_requests/service.d.ts +0 -7
- package/dist/services/withdrawals/withdrawal_requests/service.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_requests/service.js +0 -55
- package/dist/services/withdrawals/withdrawal_requests/types.d.ts +0 -2
- package/dist/services/withdrawals/withdrawal_requests/types.d.ts.map +0 -1
- package/dist/services/withdrawals/withdrawal_requests/types.js +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { PaginatedResponse } from '../../api/types';
|
|
2
|
-
import { DOCUMENT_TYPE_MDA, DOCUMENT_TYPE_SOA, DOCUMENT_TYPE_AGREEMENT } from './constants';
|
|
3
|
-
/**
|
|
4
|
-
* Document entity representing user documents in the system
|
|
5
|
-
*/
|
|
6
|
-
export interface UserDocument {
|
|
7
|
-
uuid: string;
|
|
8
|
-
documentType: string;
|
|
9
|
-
createdAt: string;
|
|
10
|
-
status: string;
|
|
11
|
-
downloadUrl?: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Document types available in the system
|
|
15
|
-
*/
|
|
16
|
-
export type DocumentType = typeof DOCUMENT_TYPE_MDA | typeof DOCUMENT_TYPE_SOA | typeof DOCUMENT_TYPE_AGREEMENT;
|
|
17
|
-
/**
|
|
18
|
-
* Payload for generating a document
|
|
19
|
-
*/
|
|
20
|
-
export interface GenerateDocumentPayload {
|
|
21
|
-
documentType: DocumentType;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Response when generating a document
|
|
25
|
-
*/
|
|
26
|
-
export interface GenerateDocumentResponse {
|
|
27
|
-
uuid: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Response when signing a document
|
|
31
|
-
*/
|
|
32
|
-
export interface SignDocumentResponse {
|
|
33
|
-
message: string;
|
|
34
|
-
uuid: string;
|
|
35
|
-
signed_at: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Query parameters for document operations
|
|
39
|
-
*/
|
|
40
|
-
export interface DocumentQueryParams {
|
|
41
|
-
documentType?: DocumentType;
|
|
42
|
-
status?: string;
|
|
43
|
-
page?: number;
|
|
44
|
-
page_size?: number;
|
|
45
|
-
}
|
|
46
|
-
export type PaginatedUserDocuments = PaginatedResponse<UserDocument>;
|
|
47
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/documents/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,iBAAiB,GAAG,OAAO,iBAAiB,GAAG,OAAO,uBAAuB,CAAC;AAEhH;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { UserDocument, DocumentType } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Get display label for document type
|
|
4
|
-
*/
|
|
5
|
-
export declare const getDocumentTypeLabel: (documentType: DocumentType) => string;
|
|
6
|
-
/**
|
|
7
|
-
* Get display label for document status
|
|
8
|
-
*/
|
|
9
|
-
export declare const getDocumentStatusLabel: (status: string) => string;
|
|
10
|
-
/**
|
|
11
|
-
* Check if document is signed
|
|
12
|
-
*/
|
|
13
|
-
export declare const isDocumentSigned: (document: UserDocument) => boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Check if document is pending
|
|
16
|
-
*/
|
|
17
|
-
export declare const isDocumentPending: (document: UserDocument) => boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Filter documents by type
|
|
20
|
-
*/
|
|
21
|
-
export declare const filterDocumentsByType: (documents: UserDocument[], documentType: DocumentType) => UserDocument[];
|
|
22
|
-
/**
|
|
23
|
-
* Sort documents by creation date (newest first)
|
|
24
|
-
*/
|
|
25
|
-
export declare const sortDocumentsByDate: (documents: UserDocument[]) => UserDocument[];
|
|
26
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/services/documents/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG1D;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,cAAc,YAAY,KAAG,MAEjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,KAAG,MAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,UAAU,YAAY,KAAG,OAEzD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,UAAU,YAAY,KAAG,OAE1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,WAAW,YAAY,EAAE,EAAE,cAAc,YAAY,KAAG,YAAY,EAEzG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAW,YAAY,EAAE,KAAG,YAAY,EAE3E,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { DOCUMENT_TYPE_LABELS, DOCUMENT_STATUS_LABELS } from './constants';
|
|
2
|
-
/**
|
|
3
|
-
* Get display label for document type
|
|
4
|
-
*/
|
|
5
|
-
export const getDocumentTypeLabel = (documentType) => {
|
|
6
|
-
return DOCUMENT_TYPE_LABELS[documentType];
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Get display label for document status
|
|
10
|
-
*/
|
|
11
|
-
export const getDocumentStatusLabel = (status) => {
|
|
12
|
-
return DOCUMENT_STATUS_LABELS[status] || status;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Check if document is signed
|
|
16
|
-
*/
|
|
17
|
-
export const isDocumentSigned = (document) => {
|
|
18
|
-
return document.status === 'signed';
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Check if document is pending
|
|
22
|
-
*/
|
|
23
|
-
export const isDocumentPending = (document) => {
|
|
24
|
-
return document.status === 'pending';
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Filter documents by type
|
|
28
|
-
*/
|
|
29
|
-
export const filterDocumentsByType = (documents, documentType) => {
|
|
30
|
-
return documents.filter((doc) => doc.documentType === documentType);
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Sort documents by creation date (newest first)
|
|
34
|
-
*/
|
|
35
|
-
export const sortDocumentsByDate = (documents) => {
|
|
36
|
-
return [...documents].sort((a, b) => new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime());
|
|
37
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/services/industries/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,aAAa;;CAEhB,CAAC;AAGX,eAAO,MAAM,aAAa,cAAc,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type { Industry, IndustryQueryParams, PaginatedIndustries } from './types';
|
|
2
|
-
export type { SortDirection } from './utils';
|
|
3
|
-
export { getIndustries, getIndustryByUuid, searchIndustries, getIndustriesBySector } from './service';
|
|
4
|
-
export { sortIndustriesByName, filterIndustriesByName, filterIndustriesBySector, findIndustryByName, getIndustryNames, groupIndustriesBySector, groupIndustriesAlphabetically, getIndustriesWithoutSector, getIndustriesWithSector, countIndustriesBySector, isIndustryInSector, } from './utils';
|
|
5
|
-
export { API_ENDPOINTS, NO_SECTOR_KEY } from './constants';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/industries/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,QAAQ,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAClF,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGtG,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Export service functions
|
|
2
|
-
export { getIndustries, getIndustryByUuid, searchIndustries, getIndustriesBySector } from './service';
|
|
3
|
-
// Export utility functions
|
|
4
|
-
export { sortIndustriesByName, filterIndustriesByName, filterIndustriesBySector, findIndustryByName, getIndustryNames, groupIndustriesBySector, groupIndustriesAlphabetically, getIndustriesWithoutSector, getIndustriesWithSector, countIndustriesBySector, isIndustryInSector, } from './utils';
|
|
5
|
-
// Export constants
|
|
6
|
-
export { API_ENDPOINTS, NO_SECTOR_KEY } from './constants';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Industry, IndustryQueryParams, PaginatedIndustries } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Get list of industries with optional filtering
|
|
4
|
-
*/
|
|
5
|
-
export declare const getIndustries: (params?: IndustryQueryParams) => Promise<import("axios").AxiosResponse<PaginatedIndustries, any>>;
|
|
6
|
-
/**
|
|
7
|
-
* Get industry details by UUID
|
|
8
|
-
*/
|
|
9
|
-
export declare const getIndustryByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<Industry, any>>;
|
|
10
|
-
/**
|
|
11
|
-
* Search industries by name
|
|
12
|
-
*/
|
|
13
|
-
export declare const searchIndustries: (searchTerm: string, params?: Omit<IndustryQueryParams, "name">) => Promise<import("axios").AxiosResponse<PaginatedIndustries, any>>;
|
|
14
|
-
/**
|
|
15
|
-
* Get industries by sector
|
|
16
|
-
*/
|
|
17
|
-
export declare const getIndustriesBySector: (sectorUuid: string, params?: Omit<IndustryQueryParams, "sector">) => Promise<import("axios").AxiosResponse<PaginatedIndustries, any>>;
|
|
18
|
-
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/services/industries/service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGlF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,SAAS,mBAAmB,qEAUzD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,0DAE7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY,MAAM,EAAE,SAAS,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC,qEAK9F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,YAAY,MAAM,EAAE,SAAS,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC,qEAKrG,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { webApiClient } from '../../api/apiClient';
|
|
2
|
-
import { API_ENDPOINTS } from './constants';
|
|
3
|
-
/**
|
|
4
|
-
* Get list of industries with optional filtering
|
|
5
|
-
*/
|
|
6
|
-
export const getIndustries = (params) => {
|
|
7
|
-
const queryParams = {};
|
|
8
|
-
if (params?.name)
|
|
9
|
-
queryParams.name = params.name;
|
|
10
|
-
if (params?.sector)
|
|
11
|
-
queryParams.sector = params.sector;
|
|
12
|
-
if (params?.ordering)
|
|
13
|
-
queryParams.ordering = params.ordering;
|
|
14
|
-
if (params?.page)
|
|
15
|
-
queryParams.page = params.page.toString();
|
|
16
|
-
if (params?.page_size)
|
|
17
|
-
queryParams.page_size = params.page_size.toString();
|
|
18
|
-
return webApiClient.get(API_ENDPOINTS.INDUSTRIES, { params: queryParams });
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Get industry details by UUID
|
|
22
|
-
*/
|
|
23
|
-
export const getIndustryByUuid = (uuid) => {
|
|
24
|
-
return webApiClient.get(`${API_ENDPOINTS.INDUSTRIES}${uuid}/`);
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Search industries by name
|
|
28
|
-
*/
|
|
29
|
-
export const searchIndustries = (searchTerm, params) => {
|
|
30
|
-
return getIndustries({
|
|
31
|
-
...params,
|
|
32
|
-
name: searchTerm,
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Get industries by sector
|
|
37
|
-
*/
|
|
38
|
-
export const getIndustriesBySector = (sectorUuid, params) => {
|
|
39
|
-
return getIndustries({
|
|
40
|
-
...params,
|
|
41
|
-
sector: sectorUuid,
|
|
42
|
-
});
|
|
43
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { PaginatedResponse } from '../../api/types';
|
|
2
|
-
/**
|
|
3
|
-
* Industry entity representing industry classifications
|
|
4
|
-
*/
|
|
5
|
-
export interface Industry {
|
|
6
|
-
uuid: string;
|
|
7
|
-
name: string;
|
|
8
|
-
sector: string | null;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Query parameters for filtering industries
|
|
12
|
-
*/
|
|
13
|
-
export interface IndustryQueryParams {
|
|
14
|
-
name?: string;
|
|
15
|
-
sector?: string;
|
|
16
|
-
ordering?: string;
|
|
17
|
-
page?: number;
|
|
18
|
-
page_size?: number;
|
|
19
|
-
}
|
|
20
|
-
export type PaginatedIndustries = PaginatedResponse<Industry>;
|
|
21
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/industries/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { Industry } from './types';
|
|
2
|
-
export type SortDirection = 'asc' | 'desc';
|
|
3
|
-
/**
|
|
4
|
-
* Sort industries by name
|
|
5
|
-
*/
|
|
6
|
-
export declare const sortIndustriesByName: (industries: Industry[], direction?: SortDirection) => Industry[];
|
|
7
|
-
/**
|
|
8
|
-
* Filter industries by name (case-insensitive search)
|
|
9
|
-
*/
|
|
10
|
-
export declare const filterIndustriesByName: (industries: Industry[], searchTerm: string) => Industry[];
|
|
11
|
-
/**
|
|
12
|
-
* Filter industries by sector
|
|
13
|
-
*/
|
|
14
|
-
export declare const filterIndustriesBySector: (industries: Industry[], sectorUuid: string) => Industry[];
|
|
15
|
-
/**
|
|
16
|
-
* Find industry by exact name match
|
|
17
|
-
*/
|
|
18
|
-
export declare const findIndustryByName: (industries: Industry[], name: string) => Industry | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Get sorted list of industry names
|
|
21
|
-
*/
|
|
22
|
-
export declare const getIndustryNames: (industries: Industry[]) => string[];
|
|
23
|
-
/**
|
|
24
|
-
* Group industries by sector
|
|
25
|
-
*/
|
|
26
|
-
export declare const groupIndustriesBySector: (industries: Industry[]) => Record<string, Industry[]>;
|
|
27
|
-
/**
|
|
28
|
-
* Group industries alphabetically by first letter
|
|
29
|
-
*/
|
|
30
|
-
export declare const groupIndustriesAlphabetically: (industries: Industry[]) => Record<string, Industry[]>;
|
|
31
|
-
/**
|
|
32
|
-
* Get industries that don't belong to any sector
|
|
33
|
-
*/
|
|
34
|
-
export declare const getIndustriesWithoutSector: (industries: Industry[]) => Industry[];
|
|
35
|
-
/**
|
|
36
|
-
* Get industries that belong to a sector
|
|
37
|
-
*/
|
|
38
|
-
export declare const getIndustriesWithSector: (industries: Industry[]) => Industry[];
|
|
39
|
-
/**
|
|
40
|
-
* Count industries by sector
|
|
41
|
-
*/
|
|
42
|
-
export declare const countIndustriesBySector: (industries: Industry[]) => Record<string, number>;
|
|
43
|
-
/**
|
|
44
|
-
* Check if an industry belongs to a specific sector
|
|
45
|
-
*/
|
|
46
|
-
export declare const isIndustryInSector: (industry: Industry, sectorUuid: string) => boolean;
|
|
47
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/services/industries/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,YAAY,QAAQ,EAAE,EAAE,YAAW,aAAqB,KAAG,QAAQ,EAKvG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,QAAQ,EAAE,EAAE,YAAY,MAAM,KAAG,QAAQ,EAG3F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,YAAY,QAAQ,EAAE,EAAE,YAAY,MAAM,KAAG,QAAQ,EAE7F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,YAAY,QAAQ,EAAE,EAAE,MAAM,MAAM,KAAG,QAAQ,GAAG,SAEpF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY,QAAQ,EAAE,KAAG,MAAM,EAE/D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,QAAQ,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CAYzF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,GAAI,YAAY,QAAQ,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CAY/F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,QAAQ,EAAE,KAAG,QAAQ,EAE3E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,QAAQ,EAAE,KAAG,QAAQ,EAExE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,QAAQ,EAAE,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAGrF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,UAAU,QAAQ,EAAE,YAAY,MAAM,KAAG,OAE3E,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { NO_SECTOR_KEY } from './constants';
|
|
2
|
-
/**
|
|
3
|
-
* Sort industries by name
|
|
4
|
-
*/
|
|
5
|
-
export const sortIndustriesByName = (industries, direction = 'asc') => {
|
|
6
|
-
return [...industries].sort((a, b) => {
|
|
7
|
-
const comparison = a.name.localeCompare(b.name);
|
|
8
|
-
return direction === 'asc' ? comparison : -comparison;
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Filter industries by name (case-insensitive search)
|
|
13
|
-
*/
|
|
14
|
-
export const filterIndustriesByName = (industries, searchTerm) => {
|
|
15
|
-
const lowercaseSearch = searchTerm.toLowerCase();
|
|
16
|
-
return industries.filter((industry) => industry.name.toLowerCase().includes(lowercaseSearch));
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Filter industries by sector
|
|
20
|
-
*/
|
|
21
|
-
export const filterIndustriesBySector = (industries, sectorUuid) => {
|
|
22
|
-
return industries.filter((industry) => industry.sector === sectorUuid);
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Find industry by exact name match
|
|
26
|
-
*/
|
|
27
|
-
export const findIndustryByName = (industries, name) => {
|
|
28
|
-
return industries.find((industry) => industry.name === name);
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Get sorted list of industry names
|
|
32
|
-
*/
|
|
33
|
-
export const getIndustryNames = (industries) => {
|
|
34
|
-
return industries.map((industry) => industry.name).sort();
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Group industries by sector
|
|
38
|
-
*/
|
|
39
|
-
export const groupIndustriesBySector = (industries) => {
|
|
40
|
-
return industries.reduce((groups, industry) => {
|
|
41
|
-
const sectorKey = industry.sector || NO_SECTOR_KEY;
|
|
42
|
-
if (!groups[sectorKey]) {
|
|
43
|
-
groups[sectorKey] = [];
|
|
44
|
-
}
|
|
45
|
-
groups[sectorKey].push(industry);
|
|
46
|
-
return groups;
|
|
47
|
-
}, {});
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Group industries alphabetically by first letter
|
|
51
|
-
*/
|
|
52
|
-
export const groupIndustriesAlphabetically = (industries) => {
|
|
53
|
-
return industries.reduce((groups, industry) => {
|
|
54
|
-
const firstLetter = industry.name.charAt(0).toUpperCase();
|
|
55
|
-
if (!groups[firstLetter]) {
|
|
56
|
-
groups[firstLetter] = [];
|
|
57
|
-
}
|
|
58
|
-
groups[firstLetter].push(industry);
|
|
59
|
-
return groups;
|
|
60
|
-
}, {});
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Get industries that don't belong to any sector
|
|
64
|
-
*/
|
|
65
|
-
export const getIndustriesWithoutSector = (industries) => {
|
|
66
|
-
return industries.filter((industry) => !industry.sector);
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Get industries that belong to a sector
|
|
70
|
-
*/
|
|
71
|
-
export const getIndustriesWithSector = (industries) => {
|
|
72
|
-
return industries.filter((industry) => industry.sector);
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Count industries by sector
|
|
76
|
-
*/
|
|
77
|
-
export const countIndustriesBySector = (industries) => {
|
|
78
|
-
const groups = groupIndustriesBySector(industries);
|
|
79
|
-
return Object.fromEntries(Object.entries(groups).map(([sector, industryList]) => [sector, industryList.length]));
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Check if an industry belongs to a specific sector
|
|
83
|
-
*/
|
|
84
|
-
export const isIndustryInSector = (industry, sectorUuid) => {
|
|
85
|
-
return industry.sector === sectorUuid;
|
|
86
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Instruments-related constants for the instruments domain
|
|
3
|
-
*/
|
|
4
|
-
export declare const API_ENDPOINTS: {
|
|
5
|
-
readonly INSTRUMENTS: "/api/instruments/";
|
|
6
|
-
};
|
|
7
|
-
export declare const INSTRUMENT_TYPE_ETF = "etf";
|
|
8
|
-
export declare const INSTRUMENT_TYPE_FUND = "fund";
|
|
9
|
-
export declare const INSTRUMENT_TYPE_STOCK = "stock";
|
|
10
|
-
export type InstrumentType = typeof INSTRUMENT_TYPE_ETF | typeof INSTRUMENT_TYPE_FUND | typeof INSTRUMENT_TYPE_STOCK;
|
|
11
|
-
export declare const INSTRUMENT_TYPE_LABELS: {
|
|
12
|
-
readonly etf: "ETF";
|
|
13
|
-
readonly fund: "Fund";
|
|
14
|
-
readonly stock: "Stock";
|
|
15
|
-
};
|
|
16
|
-
export declare const INSTRUMENT_TYPE_OPTIONS: readonly [{
|
|
17
|
-
readonly value: "etf";
|
|
18
|
-
readonly label: "ETF";
|
|
19
|
-
}, {
|
|
20
|
-
readonly value: "fund";
|
|
21
|
-
readonly label: "Fund";
|
|
22
|
-
}, {
|
|
23
|
-
readonly value: "stock";
|
|
24
|
-
readonly label: "Stock";
|
|
25
|
-
}];
|
|
26
|
-
export declare const INSTRUMENT_STATUS_ACTIVE = "active";
|
|
27
|
-
export declare const INSTRUMENT_STATUS_INACTIVE = "inactive";
|
|
28
|
-
export declare const INSTRUMENT_STATUS_SUSPENDED = "suspended";
|
|
29
|
-
export type InstrumentStatus = typeof INSTRUMENT_STATUS_ACTIVE | typeof INSTRUMENT_STATUS_INACTIVE | typeof INSTRUMENT_STATUS_SUSPENDED;
|
|
30
|
-
export declare const TRADING_STATUS_TRADING = "trading";
|
|
31
|
-
export declare const TRADING_STATUS_HALTED = "halted";
|
|
32
|
-
export declare const TRADING_STATUS_SUSPENDED = "suspended";
|
|
33
|
-
export type TradingStatus = typeof TRADING_STATUS_TRADING | typeof TRADING_STATUS_HALTED | typeof TRADING_STATUS_SUSPENDED;
|
|
34
|
-
export declare const CURRENCY_USD = "USD";
|
|
35
|
-
export declare const CURRENCY_AUD = "AUD";
|
|
36
|
-
export declare const CURRENCY_EUR = "EUR";
|
|
37
|
-
export declare const CURRENCY_GBP = "GBP";
|
|
38
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/services/instruments/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,aAAa;;CAEhB,CAAC;AAGX,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AACzC,eAAO,MAAM,oBAAoB,SAAS,CAAC;AAC3C,eAAO,MAAM,qBAAqB,UAAU,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG,OAAO,mBAAmB,GAAG,OAAO,oBAAoB,GAAG,OAAO,qBAAqB,CAAC;AAGrH,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AAGX,eAAO,MAAM,uBAAuB;;;;;;;;;EAI1B,CAAC;AAGX,eAAO,MAAM,wBAAwB,WAAW,CAAC;AACjD,eAAO,MAAM,0BAA0B,aAAa,CAAC;AACrD,eAAO,MAAM,2BAA2B,cAAc,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GACxB,OAAO,wBAAwB,GAC/B,OAAO,0BAA0B,GACjC,OAAO,2BAA2B,CAAC;AAGvC,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAChD,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAC9C,eAAO,MAAM,wBAAwB,cAAc,CAAC;AAEpD,MAAM,MAAM,aAAa,GACrB,OAAO,sBAAsB,GAC7B,OAAO,qBAAqB,GAC5B,OAAO,wBAAwB,CAAC;AAGpC,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,YAAY,QAAQ,CAAC;AAClC,eAAO,MAAM,YAAY,QAAQ,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Instruments-related constants for the instruments domain
|
|
3
|
-
*/
|
|
4
|
-
// API endpoints for instruments
|
|
5
|
-
export const API_ENDPOINTS = {
|
|
6
|
-
INSTRUMENTS: '/api/instruments/',
|
|
7
|
-
};
|
|
8
|
-
// Instrument type constants
|
|
9
|
-
export const INSTRUMENT_TYPE_ETF = 'etf';
|
|
10
|
-
export const INSTRUMENT_TYPE_FUND = 'fund';
|
|
11
|
-
export const INSTRUMENT_TYPE_STOCK = 'stock';
|
|
12
|
-
// Instrument type labels for display
|
|
13
|
-
export const INSTRUMENT_TYPE_LABELS = {
|
|
14
|
-
[INSTRUMENT_TYPE_ETF]: 'ETF',
|
|
15
|
-
[INSTRUMENT_TYPE_FUND]: 'Fund',
|
|
16
|
-
[INSTRUMENT_TYPE_STOCK]: 'Stock',
|
|
17
|
-
};
|
|
18
|
-
// Instrument type options for dropdowns/forms
|
|
19
|
-
export const INSTRUMENT_TYPE_OPTIONS = [
|
|
20
|
-
{ value: INSTRUMENT_TYPE_ETF, label: 'ETF' },
|
|
21
|
-
{ value: INSTRUMENT_TYPE_FUND, label: 'Fund' },
|
|
22
|
-
{ value: INSTRUMENT_TYPE_STOCK, label: 'Stock' },
|
|
23
|
-
];
|
|
24
|
-
// Instrument status constants
|
|
25
|
-
export const INSTRUMENT_STATUS_ACTIVE = 'active';
|
|
26
|
-
export const INSTRUMENT_STATUS_INACTIVE = 'inactive';
|
|
27
|
-
export const INSTRUMENT_STATUS_SUSPENDED = 'suspended';
|
|
28
|
-
// Trading status constants
|
|
29
|
-
export const TRADING_STATUS_TRADING = 'trading';
|
|
30
|
-
export const TRADING_STATUS_HALTED = 'halted';
|
|
31
|
-
export const TRADING_STATUS_SUSPENDED = 'suspended';
|
|
32
|
-
// Currency constants commonly used with instruments
|
|
33
|
-
export const CURRENCY_USD = 'USD';
|
|
34
|
-
export const CURRENCY_AUD = 'AUD';
|
|
35
|
-
export const CURRENCY_EUR = 'EUR';
|
|
36
|
-
export const CURRENCY_GBP = 'GBP';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type { Instrument, InstrumentSnapshot, InstrumentReference, MarketData, InstrumentsQueryParams, PaginatedInstruments, InstrumentType, InstrumentStatus, TradingStatus, } from './types';
|
|
2
|
-
export { getInstruments, getInstrumentByUuid, getInstrumentSnapshots, getInstrumentSnapshotsFiltered, getBatchInstrumentSnapshots, searchInstruments, getInstrumentsByExchange, getETFs, getFunds, } from './service';
|
|
3
|
-
export { formatInstrumentPrice, getCurrencySymbol, getInstrumentType, formatInstrumentName, calculatePriceChange, formatPriceChange, isInstrumentTradeable, formatMarketCap, formatVolume, hasMarketData, } from './utils';
|
|
4
|
-
export { API_ENDPOINTS, INSTRUMENT_TYPE_ETF, INSTRUMENT_TYPE_FUND, INSTRUMENT_TYPE_STOCK, INSTRUMENT_TYPE_LABELS, INSTRUMENT_TYPE_OPTIONS, INSTRUMENT_STATUS_ACTIVE, INSTRUMENT_STATUS_INACTIVE, INSTRUMENT_STATUS_SUSPENDED, TRADING_STATUS_TRADING, TRADING_STATUS_HALTED, TRADING_STATUS_SUSPENDED, CURRENCY_USD, CURRENCY_AUD, CURRENCY_EUR, CURRENCY_GBP, } from './constants';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/instruments/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,aAAa,GACd,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,GACT,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,YAAY,EACZ,aAAa,GACd,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,GACb,MAAM,aAAa,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Export service functions
|
|
2
|
-
export { getInstruments, getInstrumentByUuid, getInstrumentSnapshots, getInstrumentSnapshotsFiltered, getBatchInstrumentSnapshots, searchInstruments, getInstrumentsByExchange, getETFs, getFunds, } from './service';
|
|
3
|
-
// Export utility functions
|
|
4
|
-
export { formatInstrumentPrice, getCurrencySymbol, getInstrumentType, formatInstrumentName, calculatePriceChange, formatPriceChange, isInstrumentTradeable, formatMarketCap, formatVolume, hasMarketData, } from './utils';
|
|
5
|
-
// Export constants
|
|
6
|
-
export { API_ENDPOINTS, INSTRUMENT_TYPE_ETF, INSTRUMENT_TYPE_FUND, INSTRUMENT_TYPE_STOCK, INSTRUMENT_TYPE_LABELS, INSTRUMENT_TYPE_OPTIONS, INSTRUMENT_STATUS_ACTIVE, INSTRUMENT_STATUS_INACTIVE, INSTRUMENT_STATUS_SUSPENDED, TRADING_STATUS_TRADING, TRADING_STATUS_HALTED, TRADING_STATUS_SUSPENDED, CURRENCY_USD, CURRENCY_AUD, CURRENCY_EUR, CURRENCY_GBP, } from './constants';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { Instrument, InstrumentSnapshot, InstrumentsQueryParams, PaginatedInstruments } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Fetch list of instruments with optional filtering
|
|
4
|
-
*/
|
|
5
|
-
export declare const getInstruments: (params?: InstrumentsQueryParams) => Promise<import("axios").AxiosResponse<PaginatedInstruments, any>>;
|
|
6
|
-
/**
|
|
7
|
-
* Get instrument details by UUID
|
|
8
|
-
*/
|
|
9
|
-
export declare const getInstrumentByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<Instrument, any>>;
|
|
10
|
-
/**
|
|
11
|
-
* Get instrument historical data/snapshots
|
|
12
|
-
*/
|
|
13
|
-
export declare const getInstrumentSnapshots: (instrumentUuid: string) => Promise<import("axios").AxiosResponse<InstrumentSnapshot[], any>>;
|
|
14
|
-
/**
|
|
15
|
-
* Get instrument historical data/snapshots with date filtering
|
|
16
|
-
*/
|
|
17
|
-
export declare const getInstrumentSnapshotsFiltered: (instrumentUuid: string, params?: {
|
|
18
|
-
start_date?: string;
|
|
19
|
-
end_date?: string;
|
|
20
|
-
min_price?: number;
|
|
21
|
-
max_price?: number;
|
|
22
|
-
}) => Promise<import("axios").AxiosResponse<InstrumentSnapshot[], any>>;
|
|
23
|
-
/**
|
|
24
|
-
* Batch fetch snapshots for multiple instruments with date filtering
|
|
25
|
-
* This optimizes API calls by using Promise.all with proper error handling
|
|
26
|
-
*/
|
|
27
|
-
export declare const getBatchInstrumentSnapshots: (requests: Array<{
|
|
28
|
-
instrumentUuid: string;
|
|
29
|
-
start_date?: string;
|
|
30
|
-
end_date?: string;
|
|
31
|
-
min_price?: number;
|
|
32
|
-
max_price?: number;
|
|
33
|
-
}>) => Promise<Array<{
|
|
34
|
-
instrumentUuid: string;
|
|
35
|
-
data?: InstrumentSnapshot[];
|
|
36
|
-
error?: string;
|
|
37
|
-
}>>;
|
|
38
|
-
/**
|
|
39
|
-
* Search instruments by symbol or name
|
|
40
|
-
*/
|
|
41
|
-
export declare const searchInstruments: (searchTerm: string, params?: Omit<InstrumentsQueryParams, "search">) => Promise<import("axios").AxiosResponse<PaginatedInstruments, any>>;
|
|
42
|
-
/**
|
|
43
|
-
* Get instruments by exchange
|
|
44
|
-
*/
|
|
45
|
-
export declare const getInstrumentsByExchange: (exchangeUuid: string, params?: Omit<InstrumentsQueryParams, "exchange_uuid">) => Promise<import("axios").AxiosResponse<PaginatedInstruments, any>>;
|
|
46
|
-
/**
|
|
47
|
-
* Get ETFs only
|
|
48
|
-
*/
|
|
49
|
-
export declare const getETFs: (params?: Omit<InstrumentsQueryParams, "is_etf">) => Promise<import("axios").AxiosResponse<PaginatedInstruments, any>>;
|
|
50
|
-
/**
|
|
51
|
-
* Get mutual funds only
|
|
52
|
-
*/
|
|
53
|
-
export declare const getFunds: (params?: Omit<InstrumentsQueryParams, "is_fund">) => Promise<import("axios").AxiosResponse<PaginatedInstruments, any>>;
|
|
54
|
-
//# sourceMappingURL=service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../src/services/instruments/service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG5G;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,SAAS,sBAAsB,sEAwB7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,4DAE/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,MAAM,sEAE5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B,GACzC,gBAAgB,MAAM,EACtB,SAAS;IACP,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sEAKF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,UAAU,KAAK,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,KACD,OAAO,CACR,KAAK,CAAC;IACJ,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAmBH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,YAAY,MAAM,EAAE,SAAS,IAAI,CAAC,sBAAsB,EAAE,QAAQ,CAAC,sEAKpG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,cAAc,MAAM,EACpB,SAAS,IAAI,CAAC,sBAAsB,EAAE,eAAe,CAAC,sEAMvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,SAAS,IAAI,CAAC,sBAAsB,EAAE,QAAQ,CAAC,sEAKtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,SAAS,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,sEAKxE,CAAC"}
|