@businessradar/businessradar 0.1.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.
- package/CHANGELOG.md +26 -0
- package/LICENSE +201 -0
- package/README.md +401 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +193 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +193 -0
- package/client.d.ts.map +1 -0
- package/client.js +465 -0
- package/client.js.map +1 -0
- package/client.mjs +461 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +53 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +53 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +7 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +7 -0
- package/index.d.ts.map +1 -0
- package/index.js +32 -0
- package/index.js.map +1 -0
- package/index.mjs +8 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +147 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/companies.d.mts +1051 -0
- package/resources/companies.d.mts.map +1 -0
- package/resources/companies.d.ts +1051 -0
- package/resources/companies.d.ts.map +1 -0
- package/resources/companies.js +47 -0
- package/resources/companies.js.map +1 -0
- package/resources/companies.mjs +43 -0
- package/resources/companies.mjs.map +1 -0
- package/resources/compliance.d.mts +156 -0
- package/resources/compliance.d.mts.map +1 -0
- package/resources/compliance.d.ts +156 -0
- package/resources/compliance.d.ts.map +1 -0
- package/resources/compliance.js +22 -0
- package/resources/compliance.js.map +1 -0
- package/resources/compliance.mjs +18 -0
- package/resources/compliance.mjs.map +1 -0
- package/resources/index.d.mts +6 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +6 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +15 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +7 -0
- package/resources/index.mjs.map +1 -0
- package/resources/news/articles/analytics.d.mts +101 -0
- package/resources/news/articles/analytics.d.mts.map +1 -0
- package/resources/news/articles/analytics.d.ts +101 -0
- package/resources/news/articles/analytics.d.ts.map +1 -0
- package/resources/news/articles/analytics.js +15 -0
- package/resources/news/articles/analytics.js.map +1 -0
- package/resources/news/articles/analytics.mjs +11 -0
- package/resources/news/articles/analytics.mjs.map +1 -0
- package/resources/news/articles/articles.d.mts +697 -0
- package/resources/news/articles/articles.d.mts.map +1 -0
- package/resources/news/articles/articles.d.ts +697 -0
- package/resources/news/articles/articles.d.ts.map +1 -0
- package/resources/news/articles/articles.js +50 -0
- package/resources/news/articles/articles.js.map +1 -0
- package/resources/news/articles/articles.mjs +45 -0
- package/resources/news/articles/articles.mjs.map +1 -0
- package/resources/news/articles/export.d.mts +139 -0
- package/resources/news/articles/export.d.mts.map +1 -0
- package/resources/news/articles/export.d.ts +139 -0
- package/resources/news/articles/export.d.ts.map +1 -0
- package/resources/news/articles/export.js +28 -0
- package/resources/news/articles/export.js.map +1 -0
- package/resources/news/articles/export.mjs +24 -0
- package/resources/news/articles/export.mjs.map +1 -0
- package/resources/news/articles/index.d.mts +4 -0
- package/resources/news/articles/index.d.mts.map +1 -0
- package/resources/news/articles/index.d.ts +4 -0
- package/resources/news/articles/index.d.ts.map +1 -0
- package/resources/news/articles/index.js +11 -0
- package/resources/news/articles/index.js.map +1 -0
- package/resources/news/articles/index.mjs +5 -0
- package/resources/news/articles/index.mjs.map +1 -0
- package/resources/news/articles.d.mts +2 -0
- package/resources/news/articles.d.mts.map +1 -0
- package/resources/news/articles.d.ts +2 -0
- package/resources/news/articles.d.ts.map +1 -0
- package/resources/news/articles.js +6 -0
- package/resources/news/articles.js.map +1 -0
- package/resources/news/articles.mjs +3 -0
- package/resources/news/articles.mjs.map +1 -0
- package/resources/news/index.d.mts +3 -0
- package/resources/news/index.d.mts.map +1 -0
- package/resources/news/index.d.ts +3 -0
- package/resources/news/index.d.ts.map +1 -0
- package/resources/news/index.js +9 -0
- package/resources/news/index.js.map +1 -0
- package/resources/news/index.mjs +4 -0
- package/resources/news/index.mjs.map +1 -0
- package/resources/news/news.d.mts +10 -0
- package/resources/news/news.d.mts.map +1 -0
- package/resources/news/news.d.ts +10 -0
- package/resources/news/news.d.ts.map +1 -0
- package/resources/news/news.js +17 -0
- package/resources/news/news.js.map +1 -0
- package/resources/news/news.mjs +12 -0
- package/resources/news/news.mjs.map +1 -0
- package/resources/news.d.mts +2 -0
- package/resources/news.d.mts.map +1 -0
- package/resources/news.d.ts +2 -0
- package/resources/news.d.ts.map +1 -0
- package/resources/news.js +6 -0
- package/resources/news.js.map +1 -0
- package/resources/news.mjs +3 -0
- package/resources/news.mjs.map +1 -0
- package/resources/portfolios/companies.d.mts +367 -0
- package/resources/portfolios/companies.d.mts.map +1 -0
- package/resources/portfolios/companies.d.ts +367 -0
- package/resources/portfolios/companies.d.ts.map +1 -0
- package/resources/portfolios/companies.js +34 -0
- package/resources/portfolios/companies.js.map +1 -0
- package/resources/portfolios/companies.mjs +30 -0
- package/resources/portfolios/companies.mjs.map +1 -0
- package/resources/portfolios/index.d.mts +3 -0
- package/resources/portfolios/index.d.mts.map +1 -0
- package/resources/portfolios/index.d.ts +3 -0
- package/resources/portfolios/index.d.ts.map +1 -0
- package/resources/portfolios/index.js +9 -0
- package/resources/portfolios/index.js.map +1 -0
- package/resources/portfolios/index.mjs +4 -0
- package/resources/portfolios/index.mjs.map +1 -0
- package/resources/portfolios/portfolios.d.mts +68 -0
- package/resources/portfolios/portfolios.d.mts.map +1 -0
- package/resources/portfolios/portfolios.d.ts +68 -0
- package/resources/portfolios/portfolios.d.ts.map +1 -0
- package/resources/portfolios/portfolios.js +30 -0
- package/resources/portfolios/portfolios.js.map +1 -0
- package/resources/portfolios/portfolios.mjs +25 -0
- package/resources/portfolios/portfolios.mjs.map +1 -0
- package/resources/portfolios.d.mts +2 -0
- package/resources/portfolios.d.mts.map +1 -0
- package/resources/portfolios.d.ts +2 -0
- package/resources/portfolios.d.ts.map +1 -0
- package/resources/portfolios.js +6 -0
- package/resources/portfolios.js.map +1 -0
- package/resources/portfolios.mjs +3 -0
- package/resources/portfolios.mjs.map +1 -0
- package/resources/shared.d.mts +9 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +9 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +808 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +155 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +23 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/companies.ts +2211 -0
- package/src/resources/compliance.ts +568 -0
- package/src/resources/index.ts +35 -0
- package/src/resources/news/articles/analytics.ts +136 -0
- package/src/resources/news/articles/articles.ts +1171 -0
- package/src/resources/news/articles/export.ts +206 -0
- package/src/resources/news/articles/index.ts +29 -0
- package/src/resources/news/articles.ts +3 -0
- package/src/resources/news/index.ts +18 -0
- package/src/resources/news/news.ts +43 -0
- package/src/resources/news.ts +3 -0
- package/src/resources/portfolios/companies.ts +689 -0
- package/src/resources/portfolios/index.ts +18 -0
- package/src/resources/portfolios/portfolios.ts +112 -0
- package/src/resources/portfolios.ts +3 -0
- package/src/resources/shared.ts +10 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1 @@
|
|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AM,GAAG,IAAI,CAAC;CACrC;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,iCAAkC,SAAQ,aAAa;IACtE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iCAAiC,IAAI,iCAAiC,GAC5E,CAAC;CACH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Companies = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class Companies extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Register new Company to Business Radar.
|
|
11
|
+
*/
|
|
12
|
+
create(body = {}, options) {
|
|
13
|
+
return this._client.post('/ext/v3/companies', { body, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Get Company Information.
|
|
17
|
+
*/
|
|
18
|
+
retrieve(externalID, options) {
|
|
19
|
+
return this._client.get((0, path_1.path) `/ext/v3/companies/${externalID}`, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Search all companies using Dun and Bradstreet.
|
|
23
|
+
*
|
|
24
|
+
* Companies will contain an optional external_id, which is null if company is not
|
|
25
|
+
* registered in Business Radar.
|
|
26
|
+
*
|
|
27
|
+
* When you pass query and optional country it will search using dun and
|
|
28
|
+
* bradstreet, otherwise using internal search.
|
|
29
|
+
*/
|
|
30
|
+
list(query = {}, options) {
|
|
31
|
+
return this._client.getAPIList('/ext/v3/companies', (pagination_1.NextKey), { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* List Company Updates.
|
|
35
|
+
*/
|
|
36
|
+
listAttributeChanges(query = {}, options) {
|
|
37
|
+
return this._client.getAPIList('/ext/v3/companies/attribute_changes', (pagination_1.NextKey), { query, ...options });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Get Registration Information.
|
|
41
|
+
*/
|
|
42
|
+
retrieveRegistration(registrationID, options) {
|
|
43
|
+
return this._client.get((0, path_1.path) `/ext/v3/registrations/${registrationID}`, options);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.Companies = Companies;
|
|
47
|
+
//# sourceMappingURL=companies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"companies.js","sourceRoot":"","sources":["../src/resources/companies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAA8E;AAE9E,oDAA8C;AAE9C,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CACJ,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,oBAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;OAEG;IACH,oBAAoB,CAClB,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,oBAA4C,CAAA,EAC5C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,cAAsB,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF;AAtDD,8BAsDC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { NextKey } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Companies extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Register new Company to Business Radar.
|
|
8
|
+
*/
|
|
9
|
+
create(body = {}, options) {
|
|
10
|
+
return this._client.post('/ext/v3/companies', { body, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Get Company Information.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(externalID, options) {
|
|
16
|
+
return this._client.get(path `/ext/v3/companies/${externalID}`, options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Search all companies using Dun and Bradstreet.
|
|
20
|
+
*
|
|
21
|
+
* Companies will contain an optional external_id, which is null if company is not
|
|
22
|
+
* registered in Business Radar.
|
|
23
|
+
*
|
|
24
|
+
* When you pass query and optional country it will search using dun and
|
|
25
|
+
* bradstreet, otherwise using internal search.
|
|
26
|
+
*/
|
|
27
|
+
list(query = {}, options) {
|
|
28
|
+
return this._client.getAPIList('/ext/v3/companies', (NextKey), { query, ...options });
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* List Company Updates.
|
|
32
|
+
*/
|
|
33
|
+
listAttributeChanges(query = {}, options) {
|
|
34
|
+
return this._client.getAPIList('/ext/v3/companies/attribute_changes', (NextKey), { query, ...options });
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Get Registration Information.
|
|
38
|
+
*/
|
|
39
|
+
retrieveRegistration(registrationID, options) {
|
|
40
|
+
return this._client.get(path `/ext/v3/registrations/${registrationID}`, options);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=companies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"companies.mjs","sourceRoot":"","sources":["../src/resources/companies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,OAAO,EAAmC;OAE5C,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CACJ,OAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,OAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;OAEG;IACH,oBAAoB,CAClB,QAA8D,EAAE,EAChE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,qCAAqC,EACrC,CAAA,OAA4C,CAAA,EAC5C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,cAAsB,EAAE,OAAwB;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;CACF"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Compliance extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a new compliance check.
|
|
7
|
+
*/
|
|
8
|
+
create(body: ComplianceCreateParams, options?: RequestOptions): APIPromise<ComplianceCreateResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Get compliance check results.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(externalID: string, options?: RequestOptions): APIPromise<ComplianceRetrieveResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* - `low` - Low
|
|
16
|
+
* - `medium` - Medium
|
|
17
|
+
* - `high` - High
|
|
18
|
+
*/
|
|
19
|
+
export type ComplianceCheckScoreEnum = 'low' | 'medium' | 'high';
|
|
20
|
+
/**
|
|
21
|
+
* Compliance check create serializer.
|
|
22
|
+
*/
|
|
23
|
+
export interface ComplianceCreateResponse {
|
|
24
|
+
external_id: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ComplianceRetrieveResponse {
|
|
27
|
+
entities: Array<ComplianceRetrieveResponse.Entity>;
|
|
28
|
+
external_id: string;
|
|
29
|
+
progress: number;
|
|
30
|
+
activity_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
31
|
+
adverse_media_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
32
|
+
compliance_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
33
|
+
country_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
34
|
+
pep_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
35
|
+
sanction_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
36
|
+
/**
|
|
37
|
+
* - `pending` - Pending
|
|
38
|
+
* - `queued` - Queued
|
|
39
|
+
* - `in_progress` - In Progress
|
|
40
|
+
* - `searching_directors` - Searching Directors
|
|
41
|
+
* - `completed` - Completed
|
|
42
|
+
* - `failed` - Failed
|
|
43
|
+
*/
|
|
44
|
+
status?: 'pending' | 'queued' | 'in_progress' | 'searching_directors' | 'completed' | 'failed';
|
|
45
|
+
}
|
|
46
|
+
export declare namespace ComplianceRetrieveResponse {
|
|
47
|
+
interface Entity {
|
|
48
|
+
/**
|
|
49
|
+
* - `ubo` - Ultimate Beneficial Owner
|
|
50
|
+
* - `director` - Director
|
|
51
|
+
* - `company` - Company
|
|
52
|
+
* - `manually_added` - Manually added
|
|
53
|
+
*/
|
|
54
|
+
entity_role: 'ubo' | 'director' | 'company' | 'manually_added';
|
|
55
|
+
/**
|
|
56
|
+
* - `individual` - Individual
|
|
57
|
+
* - `company` - Company
|
|
58
|
+
*/
|
|
59
|
+
entity_type: 'individual' | 'company';
|
|
60
|
+
external_id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
results: Array<Entity.Result>;
|
|
63
|
+
ubo: Entity.Ubo | null;
|
|
64
|
+
country?: string | null;
|
|
65
|
+
}
|
|
66
|
+
namespace Entity {
|
|
67
|
+
/**
|
|
68
|
+
* Compliance entity result serializer.
|
|
69
|
+
*/
|
|
70
|
+
interface Result {
|
|
71
|
+
addresses: Array<Result.Address>;
|
|
72
|
+
created_at: string;
|
|
73
|
+
external_id: string;
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* - `sanction` - Sanction
|
|
77
|
+
* - `pep` - Politically Exposed Person
|
|
78
|
+
* - `adverse_media` - Adverse media
|
|
79
|
+
* - `enforcement` - Enforcement
|
|
80
|
+
* - `govt_owned` - Government owned
|
|
81
|
+
*/
|
|
82
|
+
result_type: 'sanction' | 'pep' | 'adverse_media' | 'enforcement' | 'govt_owned';
|
|
83
|
+
sources: Array<Result.Source>;
|
|
84
|
+
tags: Array<Result.Tag>;
|
|
85
|
+
confidence?: number | null;
|
|
86
|
+
formatted_text?: string | null;
|
|
87
|
+
formatted_text_en?: string | null;
|
|
88
|
+
formatted_title?: string | null;
|
|
89
|
+
formatted_title_en?: string | null;
|
|
90
|
+
image?: string | null;
|
|
91
|
+
language?: 'af' | 'ar' | 'az' | 'bg' | 'be' | 'bn' | 'br' | 'bs' | 'ca' | 'cs' | 'cy' | 'da' | 'de' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'fi' | 'fr' | 'fy' | 'ga' | 'gd' | 'gl' | 'he' | 'hi' | 'hr' | 'hu' | 'hy' | 'ia' | 'id' | 'ig' | 'io' | 'is' | 'it' | 'ja' | 'ka' | 'kk' | 'km' | 'no' | 'kn' | 'ko' | 'ky' | 'lb' | 'lt' | 'lv' | 'mk' | 'ml' | 'mn' | 'mr' | 'my' | 'ne' | 'nl' | 'os' | 'pa' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'tg' | 'th' | 'tk' | 'tr' | 'tt' | 'uk' | 'ur' | 'uz' | 'vi' | 'zh' | '' | null;
|
|
92
|
+
source_date?: string | null;
|
|
93
|
+
source_name?: string | null;
|
|
94
|
+
text?: string | null;
|
|
95
|
+
text_en?: string | null;
|
|
96
|
+
title?: string | null;
|
|
97
|
+
title_en?: string | null;
|
|
98
|
+
url?: string | null;
|
|
99
|
+
}
|
|
100
|
+
namespace Result {
|
|
101
|
+
/**
|
|
102
|
+
* Compliance entity result address serializer.
|
|
103
|
+
*/
|
|
104
|
+
interface Address {
|
|
105
|
+
city?: string | null;
|
|
106
|
+
country?: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | '' | null;
|
|
107
|
+
postal_code?: string | null;
|
|
108
|
+
street?: string | null;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Compliance entity result source serializer.
|
|
112
|
+
*/
|
|
113
|
+
interface Source {
|
|
114
|
+
url: string;
|
|
115
|
+
description?: string | null;
|
|
116
|
+
document?: string | null;
|
|
117
|
+
domain?: string | null;
|
|
118
|
+
publication_date?: string | null;
|
|
119
|
+
title?: string | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Compliance entity result tag serializer.
|
|
123
|
+
*/
|
|
124
|
+
interface Tag {
|
|
125
|
+
tag: string;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
interface Ubo {
|
|
129
|
+
name: string;
|
|
130
|
+
beneficial_ownership_percentage?: number | null;
|
|
131
|
+
birth_date?: string | null;
|
|
132
|
+
degree_of_separation?: number | null;
|
|
133
|
+
direct_ownership_percentage?: number | null;
|
|
134
|
+
implied_beneficial_ownership_percentage?: number | null;
|
|
135
|
+
implied_direct_ownership_percentage?: number | null;
|
|
136
|
+
implied_indirect_ownership_percentage?: number | null;
|
|
137
|
+
indirect_ownership_percentage?: number | null;
|
|
138
|
+
is_beneficiary?: boolean | null;
|
|
139
|
+
is_person_with_significant_control?: boolean | null;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export interface ComplianceCreateParams {
|
|
144
|
+
company_id: string;
|
|
145
|
+
/**
|
|
146
|
+
* If enabled all found entities UBOs, directors, shareholders will be screened.
|
|
147
|
+
* This can have an high cost impact.
|
|
148
|
+
*/
|
|
149
|
+
all_entities_screening_enabled?: boolean;
|
|
150
|
+
directors_screening_enabled?: boolean;
|
|
151
|
+
ownership_screening_threshold?: number;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace Compliance {
|
|
154
|
+
export { type ComplianceCheckScoreEnum as ComplianceCheckScoreEnum, type ComplianceCreateResponse as ComplianceCreateResponse, type ComplianceRetrieveResponse as ComplianceRetrieveResponse, type ComplianceCreateParams as ComplianceCreateParams, };
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=compliance.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance.d.mts","sourceRoot":"","sources":["../src/resources/compliance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAG/F;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAEnD,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,cAAc,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,EAAE,GAAG,IAAI,CAAC;IAEvD,mBAAmB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,EAAE,GAAG,IAAI,CAAC;IAE5D,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,EAAE,GAAG,IAAI,CAAC;IAEzD,aAAa,CAA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AAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Compliance extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a new compliance check.
|
|
7
|
+
*/
|
|
8
|
+
create(body: ComplianceCreateParams, options?: RequestOptions): APIPromise<ComplianceCreateResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Get compliance check results.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(externalID: string, options?: RequestOptions): APIPromise<ComplianceRetrieveResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* - `low` - Low
|
|
16
|
+
* - `medium` - Medium
|
|
17
|
+
* - `high` - High
|
|
18
|
+
*/
|
|
19
|
+
export type ComplianceCheckScoreEnum = 'low' | 'medium' | 'high';
|
|
20
|
+
/**
|
|
21
|
+
* Compliance check create serializer.
|
|
22
|
+
*/
|
|
23
|
+
export interface ComplianceCreateResponse {
|
|
24
|
+
external_id: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ComplianceRetrieveResponse {
|
|
27
|
+
entities: Array<ComplianceRetrieveResponse.Entity>;
|
|
28
|
+
external_id: string;
|
|
29
|
+
progress: number;
|
|
30
|
+
activity_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
31
|
+
adverse_media_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
32
|
+
compliance_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
33
|
+
country_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
34
|
+
pep_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
35
|
+
sanction_score?: 'low' | 'medium' | 'high' | '' | null;
|
|
36
|
+
/**
|
|
37
|
+
* - `pending` - Pending
|
|
38
|
+
* - `queued` - Queued
|
|
39
|
+
* - `in_progress` - In Progress
|
|
40
|
+
* - `searching_directors` - Searching Directors
|
|
41
|
+
* - `completed` - Completed
|
|
42
|
+
* - `failed` - Failed
|
|
43
|
+
*/
|
|
44
|
+
status?: 'pending' | 'queued' | 'in_progress' | 'searching_directors' | 'completed' | 'failed';
|
|
45
|
+
}
|
|
46
|
+
export declare namespace ComplianceRetrieveResponse {
|
|
47
|
+
interface Entity {
|
|
48
|
+
/**
|
|
49
|
+
* - `ubo` - Ultimate Beneficial Owner
|
|
50
|
+
* - `director` - Director
|
|
51
|
+
* - `company` - Company
|
|
52
|
+
* - `manually_added` - Manually added
|
|
53
|
+
*/
|
|
54
|
+
entity_role: 'ubo' | 'director' | 'company' | 'manually_added';
|
|
55
|
+
/**
|
|
56
|
+
* - `individual` - Individual
|
|
57
|
+
* - `company` - Company
|
|
58
|
+
*/
|
|
59
|
+
entity_type: 'individual' | 'company';
|
|
60
|
+
external_id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
results: Array<Entity.Result>;
|
|
63
|
+
ubo: Entity.Ubo | null;
|
|
64
|
+
country?: string | null;
|
|
65
|
+
}
|
|
66
|
+
namespace Entity {
|
|
67
|
+
/**
|
|
68
|
+
* Compliance entity result serializer.
|
|
69
|
+
*/
|
|
70
|
+
interface Result {
|
|
71
|
+
addresses: Array<Result.Address>;
|
|
72
|
+
created_at: string;
|
|
73
|
+
external_id: string;
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* - `sanction` - Sanction
|
|
77
|
+
* - `pep` - Politically Exposed Person
|
|
78
|
+
* - `adverse_media` - Adverse media
|
|
79
|
+
* - `enforcement` - Enforcement
|
|
80
|
+
* - `govt_owned` - Government owned
|
|
81
|
+
*/
|
|
82
|
+
result_type: 'sanction' | 'pep' | 'adverse_media' | 'enforcement' | 'govt_owned';
|
|
83
|
+
sources: Array<Result.Source>;
|
|
84
|
+
tags: Array<Result.Tag>;
|
|
85
|
+
confidence?: number | null;
|
|
86
|
+
formatted_text?: string | null;
|
|
87
|
+
formatted_text_en?: string | null;
|
|
88
|
+
formatted_title?: string | null;
|
|
89
|
+
formatted_title_en?: string | null;
|
|
90
|
+
image?: string | null;
|
|
91
|
+
language?: 'af' | 'ar' | 'az' | 'bg' | 'be' | 'bn' | 'br' | 'bs' | 'ca' | 'cs' | 'cy' | 'da' | 'de' | 'el' | 'en' | 'eo' | 'es' | 'et' | 'eu' | 'fa' | 'fi' | 'fr' | 'fy' | 'ga' | 'gd' | 'gl' | 'he' | 'hi' | 'hr' | 'hu' | 'hy' | 'ia' | 'id' | 'ig' | 'io' | 'is' | 'it' | 'ja' | 'ka' | 'kk' | 'km' | 'no' | 'kn' | 'ko' | 'ky' | 'lb' | 'lt' | 'lv' | 'mk' | 'ml' | 'mn' | 'mr' | 'my' | 'ne' | 'nl' | 'os' | 'pa' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl' | 'sq' | 'sr' | 'sv' | 'sw' | 'ta' | 'te' | 'tg' | 'th' | 'tk' | 'tr' | 'tt' | 'uk' | 'ur' | 'uz' | 'vi' | 'zh' | '' | null;
|
|
92
|
+
source_date?: string | null;
|
|
93
|
+
source_name?: string | null;
|
|
94
|
+
text?: string | null;
|
|
95
|
+
text_en?: string | null;
|
|
96
|
+
title?: string | null;
|
|
97
|
+
title_en?: string | null;
|
|
98
|
+
url?: string | null;
|
|
99
|
+
}
|
|
100
|
+
namespace Result {
|
|
101
|
+
/**
|
|
102
|
+
* Compliance entity result address serializer.
|
|
103
|
+
*/
|
|
104
|
+
interface Address {
|
|
105
|
+
city?: string | null;
|
|
106
|
+
country?: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KP' | 'KR' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | '' | null;
|
|
107
|
+
postal_code?: string | null;
|
|
108
|
+
street?: string | null;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Compliance entity result source serializer.
|
|
112
|
+
*/
|
|
113
|
+
interface Source {
|
|
114
|
+
url: string;
|
|
115
|
+
description?: string | null;
|
|
116
|
+
document?: string | null;
|
|
117
|
+
domain?: string | null;
|
|
118
|
+
publication_date?: string | null;
|
|
119
|
+
title?: string | null;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Compliance entity result tag serializer.
|
|
123
|
+
*/
|
|
124
|
+
interface Tag {
|
|
125
|
+
tag: string;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
interface Ubo {
|
|
129
|
+
name: string;
|
|
130
|
+
beneficial_ownership_percentage?: number | null;
|
|
131
|
+
birth_date?: string | null;
|
|
132
|
+
degree_of_separation?: number | null;
|
|
133
|
+
direct_ownership_percentage?: number | null;
|
|
134
|
+
implied_beneficial_ownership_percentage?: number | null;
|
|
135
|
+
implied_direct_ownership_percentage?: number | null;
|
|
136
|
+
implied_indirect_ownership_percentage?: number | null;
|
|
137
|
+
indirect_ownership_percentage?: number | null;
|
|
138
|
+
is_beneficiary?: boolean | null;
|
|
139
|
+
is_person_with_significant_control?: boolean | null;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export interface ComplianceCreateParams {
|
|
144
|
+
company_id: string;
|
|
145
|
+
/**
|
|
146
|
+
* If enabled all found entities UBOs, directors, shareholders will be screened.
|
|
147
|
+
* This can have an high cost impact.
|
|
148
|
+
*/
|
|
149
|
+
all_entities_screening_enabled?: boolean;
|
|
150
|
+
directors_screening_enabled?: boolean;
|
|
151
|
+
ownership_screening_threshold?: number;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace Compliance {
|
|
154
|
+
export { type ComplianceCheckScoreEnum as ComplianceCheckScoreEnum, type ComplianceCreateResponse as ComplianceCreateResponse, type ComplianceRetrieveResponse as ComplianceRetrieveResponse, type ComplianceCreateParams as ComplianceCreateParams, };
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=compliance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance.d.ts","sourceRoot":"","sources":["../src/resources/compliance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAG/F;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAEnD,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,MAAM,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sB;IACrC,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IAEtC,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Compliance = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
class Compliance extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Create a new compliance check.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this._client.post('/ext/v3/compliance', { body, ...options });
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Get compliance check results.
|
|
16
|
+
*/
|
|
17
|
+
retrieve(externalID, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/ext/v3/compliance/${externalID}`, options);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Compliance = Compliance;
|
|
22
|
+
//# sourceMappingURL=compliance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance.js","sourceRoot":"","sources":["../src/resources/compliance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF;AAdD,gCAcC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
export class Compliance extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Create a new compliance check.
|
|
7
|
+
*/
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return this._client.post('/ext/v3/compliance', { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Get compliance check results.
|
|
13
|
+
*/
|
|
14
|
+
retrieve(externalID, options) {
|
|
15
|
+
return this._client.get(path `/ext/v3/compliance/${externalID}`, options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=compliance.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compliance.mjs","sourceRoot":"","sources":["../src/resources/compliance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./shared.mjs";
|
|
2
|
+
export { Companies, type BlankEnum, type CountryEnum, type IndustryCode, type Registration, type RegistrationRequest, type CompanyRetrieveResponse, type CompanyListResponse, type CompanyListAttributeChangesResponse, type CompanyCreateParams, type CompanyListParams, type CompanyListAttributeChangesParams, type CompanyListResponsesNextKey, type CompanyListAttributeChangesResponsesNextKey, } from "./companies.mjs";
|
|
3
|
+
export { Compliance, type ComplianceCheckScoreEnum, type ComplianceCreateResponse, type ComplianceRetrieveResponse, type ComplianceCreateParams, } from "./compliance.mjs";
|
|
4
|
+
export { News } from "./news/news.mjs";
|
|
5
|
+
export { Portfolios, type PermissionEnum, type Portfolio, type PortfolioCreateParams, type PortfolioListParams, type PortfoliosNextKey, } from "./portfolios/portfolios.mjs";
|
|
6
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,KAAK,2CAA2C,GACjD;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B;OACM,EAAE,IAAI,EAAE;OACR,EACL,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./shared.js";
|
|
2
|
+
export { Companies, type BlankEnum, type CountryEnum, type IndustryCode, type Registration, type RegistrationRequest, type CompanyRetrieveResponse, type CompanyListResponse, type CompanyListAttributeChangesResponse, type CompanyCreateParams, type CompanyListParams, type CompanyListAttributeChangesParams, type CompanyListResponsesNextKey, type CompanyListAttributeChangesResponsesNextKey, } from "./companies.js";
|
|
3
|
+
export { Compliance, type ComplianceCheckScoreEnum, type ComplianceCreateResponse, type ComplianceRetrieveResponse, type ComplianceCreateParams, } from "./compliance.js";
|
|
4
|
+
export { News } from "./news/news.js";
|
|
5
|
+
export { Portfolios, type PermissionEnum, type Portfolio, type PortfolioCreateParams, type PortfolioListParams, type PortfoliosNextKey, } from "./portfolios/portfolios.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,SAAS,EACT,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,KAAK,2CAA2C,GACjD;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B;OACM,EAAE,IAAI,EAAE;OACR,EACL,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Portfolios = exports.News = exports.Compliance = exports.Companies = void 0;
|
|
5
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
6
|
+
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
|
+
var companies_1 = require("./companies.js");
|
|
8
|
+
Object.defineProperty(exports, "Companies", { enumerable: true, get: function () { return companies_1.Companies; } });
|
|
9
|
+
var compliance_1 = require("./compliance.js");
|
|
10
|
+
Object.defineProperty(exports, "Compliance", { enumerable: true, get: function () { return compliance_1.Compliance; } });
|
|
11
|
+
var news_1 = require("./news/news.js");
|
|
12
|
+
Object.defineProperty(exports, "News", { enumerable: true, get: function () { return news_1.News; } });
|
|
13
|
+
var portfolios_1 = require("./portfolios/portfolios.js");
|
|
14
|
+
Object.defineProperty(exports, "Portfolios", { enumerable: true, get: function () { return portfolios_1.Portfolios; } });
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,4CAeqB;AAdnB,sGAAA,SAAS,OAAA;AAeX,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,yDAOiC;AAN/B,wGAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export * from "./shared.mjs";
|
|
3
|
+
export { Companies, } from "./companies.mjs";
|
|
4
|
+
export { Compliance, } from "./compliance.mjs";
|
|
5
|
+
export { News } from "./news/news.mjs";
|
|
6
|
+
export { Portfolios, } from "./portfolios/portfolios.mjs";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,SAAS,GAcV;OACM,EACL,UAAU,GAKX;OACM,EAAE,IAAI,EAAE;OACR,EACL,UAAU,GAMX"}
|