@etainabl/nodejs-sdk 1.3.141 → 1.3.143
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/dist/esm/{chunk-JFJBZL6W.js → chunk-ERJ7YQOC.js} +3 -2
- package/dist/esm/chunk-ERJ7YQOC.js.map +1 -0
- package/dist/esm/{chunk-AFIWRSL2.js → chunk-R7YQNQCA.js} +2 -2
- package/dist/esm/{chunk-GEJJRBZZ.js → chunk-WM7HFHZ7.js} +2 -2
- package/dist/esm/{chunk-V42NON4H.js → chunk-XSNDIVB7.js} +17 -17
- package/dist/esm/chunk-XSNDIVB7.js.map +1 -0
- package/dist/esm/{dist-es-AV5FKRC6.js → dist-es-H6RNNZCB.js} +2 -2
- package/dist/esm/dist-es-H6RNNZCB.js.map +1 -0
- package/dist/esm/{dist-es-N5B4V37N.js → dist-es-NTQEV6F2.js} +5 -5
- package/dist/esm/{dist-es-T2FMHNMU.js → dist-es-TB64XY7K.js} +4 -4
- package/dist/esm/{dist-es-HQRLUYWI.js → dist-es-UR3AUDEA.js} +2 -2
- package/dist/esm/index.js +13 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{loadSso-KRYOAJJX.js → loadSso-V7VCWVTK.js} +19 -19
- package/dist/esm/loadSso-V7VCWVTK.js.map +1 -0
- package/dist/esm/{sso-oidc-RASI2Q3K.js → sso-oidc-NMJAI4GO.js} +4 -4
- package/dist/esm/{sts-IERANB7E.js → sts-TWR2FNQX.js} +4 -4
- package/dist/index.d.cts +41 -26
- package/dist/index.d.ts +41 -26
- package/dist/index.js +304 -309
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/esm/chunk-JFJBZL6W.js.map +0 -1
- package/dist/esm/chunk-V42NON4H.js.map +0 -1
- package/dist/esm/dist-es-AV5FKRC6.js.map +0 -1
- package/dist/esm/loadSso-KRYOAJJX.js.map +0 -1
- /package/dist/esm/{chunk-AFIWRSL2.js.map → chunk-R7YQNQCA.js.map} +0 -0
- /package/dist/esm/{chunk-GEJJRBZZ.js.map → chunk-WM7HFHZ7.js.map} +0 -0
- /package/dist/esm/{dist-es-N5B4V37N.js.map → dist-es-NTQEV6F2.js.map} +0 -0
- /package/dist/esm/{dist-es-T2FMHNMU.js.map → dist-es-TB64XY7K.js.map} +0 -0
- /package/dist/esm/{dist-es-HQRLUYWI.js.map → dist-es-UR3AUDEA.js.map} +0 -0
- /package/dist/esm/{sso-oidc-RASI2Q3K.js.map → sso-oidc-NMJAI4GO.js.map} +0 -0
- /package/dist/esm/{sts-IERANB7E.js.map → sts-TWR2FNQX.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
loadRestJsonErrorCode,
|
|
3
3
|
parseJsonBody,
|
|
4
4
|
parseJsonErrorBody
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R7YQNQCA.js";
|
|
6
6
|
import {
|
|
7
7
|
requestBuilder
|
|
8
8
|
} from "./chunk-UGK43V2L.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveRegionConfig,
|
|
51
51
|
resolveRetryConfig,
|
|
52
52
|
resolveUserAgentConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ERJ7YQOC.js";
|
|
54
54
|
import {
|
|
55
55
|
loadConfig,
|
|
56
56
|
parseUrl
|
|
@@ -168,7 +168,7 @@ var commonParams = {
|
|
|
168
168
|
var package_default = {
|
|
169
169
|
name: "@aws-sdk/client-sso",
|
|
170
170
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
171
|
-
version: "3.
|
|
171
|
+
version: "3.882.0",
|
|
172
172
|
scripts: {
|
|
173
173
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
174
174
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -187,37 +187,37 @@ var package_default = {
|
|
|
187
187
|
dependencies: {
|
|
188
188
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
189
189
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
190
|
-
"@aws-sdk/core": "3.
|
|
191
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
192
|
-
"@aws-sdk/middleware-logger": "3.
|
|
193
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
194
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
195
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
190
|
+
"@aws-sdk/core": "3.882.0",
|
|
191
|
+
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
192
|
+
"@aws-sdk/middleware-logger": "3.876.0",
|
|
193
|
+
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
194
|
+
"@aws-sdk/middleware-user-agent": "3.882.0",
|
|
195
|
+
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
196
196
|
"@aws-sdk/types": "3.862.0",
|
|
197
|
-
"@aws-sdk/util-endpoints": "3.
|
|
198
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
199
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
197
|
+
"@aws-sdk/util-endpoints": "3.879.0",
|
|
198
|
+
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
199
|
+
"@aws-sdk/util-user-agent-node": "3.882.0",
|
|
200
200
|
"@smithy/config-resolver": "^4.1.5",
|
|
201
|
-
"@smithy/core": "^3.
|
|
201
|
+
"@smithy/core": "^3.9.2",
|
|
202
202
|
"@smithy/fetch-http-handler": "^5.1.1",
|
|
203
203
|
"@smithy/hash-node": "^4.0.5",
|
|
204
204
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
205
205
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
206
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
207
|
-
"@smithy/middleware-retry": "^4.1.
|
|
206
|
+
"@smithy/middleware-endpoint": "^4.1.21",
|
|
207
|
+
"@smithy/middleware-retry": "^4.1.22",
|
|
208
208
|
"@smithy/middleware-serde": "^4.0.9",
|
|
209
209
|
"@smithy/middleware-stack": "^4.0.5",
|
|
210
210
|
"@smithy/node-config-provider": "^4.1.4",
|
|
211
211
|
"@smithy/node-http-handler": "^4.1.1",
|
|
212
212
|
"@smithy/protocol-http": "^5.1.3",
|
|
213
|
-
"@smithy/smithy-client": "^4.
|
|
213
|
+
"@smithy/smithy-client": "^4.5.2",
|
|
214
214
|
"@smithy/types": "^4.3.2",
|
|
215
215
|
"@smithy/url-parser": "^4.0.5",
|
|
216
216
|
"@smithy/util-base64": "^4.0.0",
|
|
217
217
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
218
218
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
219
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
220
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
219
|
+
"@smithy/util-defaults-mode-browser": "^4.0.29",
|
|
220
|
+
"@smithy/util-defaults-mode-node": "^4.0.29",
|
|
221
221
|
"@smithy/util-endpoints": "^3.0.7",
|
|
222
222
|
"@smithy/util-middleware": "^4.0.5",
|
|
223
223
|
"@smithy/util-retry": "^4.0.7",
|
|
@@ -656,4 +656,4 @@ export {
|
|
|
656
656
|
GetRoleCredentialsCommand,
|
|
657
657
|
SSOClient
|
|
658
658
|
};
|
|
659
|
-
//# sourceMappingURL=loadSso-
|
|
659
|
+
//# sourceMappingURL=loadSso-V7VCWVTK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js","../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js","../../node_modules/@aws-sdk/client-sso/package.json","../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js","../../node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js","../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js","../../node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js","../../node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js","../../node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js","../../node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js","../../node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js","../../node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js","../../node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js","../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js"],"sourcesContent":["import { resolveAwsSdkSigV4Config, } from \"@aws-sdk/core\";\nimport { getSmithyContext, normalizeProvider } from \"@smithy/util-middleware\";\nexport const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: getSmithyContext(context).operation,\n region: (await normalizeProvider(config.region)()) ||\n (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"awsssoportal\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nfunction createSmithyApiNoAuthHttpAuthOption(authParameters) {\n return {\n schemeId: \"smithy.api#noAuth\",\n };\n}\nexport const defaultSSOHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n case \"GetRoleCredentials\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccountRoles\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"ListAccounts\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n case \"Logout\": {\n options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));\n break;\n }\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexport const resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = resolveAwsSdkSigV4Config(config);\n return Object.assign(config_0, {\n authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),\n });\n};\n","export const resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"awsssoportal\",\n });\n};\nexport const commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n","{\n \"name\": \"@aws-sdk/client-sso\",\n \"description\": \"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native\",\n \"version\": \"3.882.0\",\n \"scripts\": {\n \"build\": \"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'\",\n \"build:cjs\": \"node ../../scripts/compilation/inline client-sso\",\n \"build:es\": \"tsc -p tsconfig.es.json\",\n \"build:include:deps\": \"lerna run --scope $npm_package_name --include-dependencies build\",\n \"build:types\": \"tsc -p tsconfig.types.json\",\n \"build:types:downlevel\": \"downlevel-dts dist-types dist-types/ts3.4\",\n \"clean\": \"rimraf ./dist-* && rimraf *.tsbuildinfo\",\n \"extract:docs\": \"api-extractor run --local\",\n \"generate:client\": \"node ../../scripts/generate-clients/single-service --solo sso\"\n },\n \"main\": \"./dist-cjs/index.js\",\n \"types\": \"./dist-types/index.d.ts\",\n \"module\": \"./dist-es/index.js\",\n \"sideEffects\": false,\n \"dependencies\": {\n \"@aws-crypto/sha256-browser\": \"5.2.0\",\n \"@aws-crypto/sha256-js\": \"5.2.0\",\n \"@aws-sdk/core\": \"3.882.0\",\n \"@aws-sdk/middleware-host-header\": \"3.873.0\",\n \"@aws-sdk/middleware-logger\": \"3.876.0\",\n \"@aws-sdk/middleware-recursion-detection\": \"3.873.0\",\n \"@aws-sdk/middleware-user-agent\": \"3.882.0\",\n \"@aws-sdk/region-config-resolver\": \"3.873.0\",\n \"@aws-sdk/types\": \"3.862.0\",\n \"@aws-sdk/util-endpoints\": \"3.879.0\",\n \"@aws-sdk/util-user-agent-browser\": \"3.873.0\",\n \"@aws-sdk/util-user-agent-node\": \"3.882.0\",\n \"@smithy/config-resolver\": \"^4.1.5\",\n \"@smithy/core\": \"^3.9.2\",\n \"@smithy/fetch-http-handler\": \"^5.1.1\",\n \"@smithy/hash-node\": \"^4.0.5\",\n \"@smithy/invalid-dependency\": \"^4.0.5\",\n \"@smithy/middleware-content-length\": \"^4.0.5\",\n \"@smithy/middleware-endpoint\": \"^4.1.21\",\n \"@smithy/middleware-retry\": \"^4.1.22\",\n \"@smithy/middleware-serde\": \"^4.0.9\",\n \"@smithy/middleware-stack\": \"^4.0.5\",\n \"@smithy/node-config-provider\": \"^4.1.4\",\n \"@smithy/node-http-handler\": \"^4.1.1\",\n \"@smithy/protocol-http\": \"^5.1.3\",\n \"@smithy/smithy-client\": \"^4.5.2\",\n \"@smithy/types\": \"^4.3.2\",\n \"@smithy/url-parser\": \"^4.0.5\",\n \"@smithy/util-base64\": \"^4.0.0\",\n \"@smithy/util-body-length-browser\": \"^4.0.0\",\n \"@smithy/util-body-length-node\": \"^4.0.0\",\n \"@smithy/util-defaults-mode-browser\": \"^4.0.29\",\n \"@smithy/util-defaults-mode-node\": \"^4.0.29\",\n \"@smithy/util-endpoints\": \"^3.0.7\",\n \"@smithy/util-middleware\": \"^4.0.5\",\n \"@smithy/util-retry\": \"^4.0.7\",\n \"@smithy/util-utf8\": \"^4.0.0\",\n \"tslib\": \"^2.6.2\"\n },\n \"devDependencies\": {\n \"@tsconfig/node18\": \"18.2.4\",\n \"@types/node\": \"^18.19.69\",\n \"concurrently\": \"7.0.0\",\n \"downlevel-dts\": \"0.10.1\",\n \"rimraf\": \"3.0.2\",\n \"typescript\": \"~5.8.3\"\n },\n \"engines\": {\n \"node\": \">=18.0.0\"\n },\n \"typesVersions\": {\n \"<4.0\": {\n \"dist-types/*\": [\n \"dist-types/ts3.4/*\"\n ]\n }\n },\n \"files\": [\n \"dist-*/**\"\n ],\n \"author\": {\n \"name\": \"AWS SDK for JavaScript Team\",\n \"url\": \"https://aws.amazon.com/javascript/\"\n },\n \"license\": \"Apache-2.0\",\n \"browser\": {\n \"./dist-es/runtimeConfig\": \"./dist-es/runtimeConfig.browser\"\n },\n \"react-native\": {\n \"./dist-es/runtimeConfig\": \"./dist-es/runtimeConfig.native\"\n },\n \"homepage\": \"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/aws/aws-sdk-js-v3.git\",\n \"directory\": \"clients/client-sso\"\n }\n}\n","const u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"String\" }, j = { [u]: true, \"default\": false, \"type\": \"Boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [{ [v]: h, [w]: [p, \"name\"] }, \"aws-us-gov\"] }], endpoint: { url: \"https://portal.sso.{Region}.amazonaws.com\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexport const ruleSet = _data;\n","import { awsEndpointFunctions } from \"@aws-sdk/util-endpoints\";\nimport { customEndpointFunctions, EndpointCache, resolveEndpoint } from \"@smithy/util-endpoints\";\nimport { ruleSet } from \"./ruleset\";\nconst cache = new EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nexport const defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\ncustomEndpointFunctions.aws = awsEndpointFunctions;\n","import { AwsSdkSigV4Signer } from \"@aws-sdk/core\";\nimport { NoAuthSigner } from \"@smithy/core\";\nimport { NoOpLogger } from \"@smithy/smithy-client\";\nimport { parseUrl } from \"@smithy/url-parser\";\nimport { fromBase64, toBase64 } from \"@smithy/util-base64\";\nimport { fromUtf8, toUtf8 } from \"@smithy/util-utf8\";\nimport { defaultSSOHttpAuthSchemeProvider } from \"./auth/httpAuthSchemeProvider\";\nimport { defaultEndpointResolver } from \"./endpoint/endpointResolver\";\nexport const getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2019-06-10\",\n base64Decoder: config?.base64Decoder ?? fromBase64,\n base64Encoder: config?.base64Encoder ?? toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new AwsSdkSigV4Signer(),\n },\n {\n schemeId: \"smithy.api#noAuth\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"smithy.api#noAuth\") || (async () => ({})),\n signer: new NoAuthSigner(),\n },\n ],\n logger: config?.logger ?? new NoOpLogger(),\n serviceId: config?.serviceId ?? \"SSO\",\n urlParser: config?.urlParser ?? parseUrl,\n utf8Decoder: config?.utf8Decoder ?? fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? toUtf8,\n };\n};\n","import packageInfo from \"../package.json\";\nimport { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from \"@aws-sdk/core\";\nimport { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from \"@aws-sdk/util-user-agent-node\";\nimport { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from \"@smithy/config-resolver\";\nimport { Hash } from \"@smithy/hash-node\";\nimport { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from \"@smithy/middleware-retry\";\nimport { loadConfig as loadNodeConfig } from \"@smithy/node-config-provider\";\nimport { NodeHttpHandler as RequestHandler, streamCollector } from \"@smithy/node-http-handler\";\nimport { calculateBodyLength } from \"@smithy/util-body-length-node\";\nimport { DEFAULT_RETRY_MODE } from \"@smithy/util-retry\";\nimport { getRuntimeConfig as getSharedRuntimeConfig } from \"./runtimeConfig.shared\";\nimport { loadConfigsForDefaultMode } from \"@smithy/smithy-client\";\nimport { resolveDefaultsModeConfig } from \"@smithy/util-defaults-mode-node\";\nimport { emitWarningIfUnsupportedVersion } from \"@smithy/smithy-client\";\nexport const getRuntimeConfig = (config) => {\n emitWarningIfUnsupportedVersion(process.version);\n const defaultsMode = resolveDefaultsModeConfig(config);\n const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);\n const clientSharedValues = getSharedRuntimeConfig(config);\n awsCheckVersion(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ??\n createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),\n maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ??\n loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n loadNodeConfig({\n ...NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\n","export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nexport const resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n","import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from \"@aws-sdk/region-config-resolver\";\nimport { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from \"@smithy/protocol-http\";\nimport { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from \"@smithy/smithy-client\";\nimport { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from \"./auth/httpAuthExtensionConfiguration\";\nexport const resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n","import { getHostHeaderPlugin, resolveHostHeaderConfig, } from \"@aws-sdk/middleware-host-header\";\nimport { getLoggerPlugin } from \"@aws-sdk/middleware-logger\";\nimport { getRecursionDetectionPlugin } from \"@aws-sdk/middleware-recursion-detection\";\nimport { getUserAgentPlugin, resolveUserAgentConfig, } from \"@aws-sdk/middleware-user-agent\";\nimport { resolveRegionConfig } from \"@smithy/config-resolver\";\nimport { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from \"@smithy/core\";\nimport { getContentLengthPlugin } from \"@smithy/middleware-content-length\";\nimport { resolveEndpointConfig } from \"@smithy/middleware-endpoint\";\nimport { getRetryPlugin, resolveRetryConfig } from \"@smithy/middleware-retry\";\nimport { Client as __Client, } from \"@smithy/smithy-client\";\nimport { defaultSSOHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from \"./auth/httpAuthSchemeProvider\";\nimport { resolveClientEndpointParameters, } from \"./endpoint/EndpointParameters\";\nimport { getRuntimeConfig as __getRuntimeConfig } from \"./runtimeConfig\";\nimport { resolveRuntimeExtensions } from \"./runtimeExtensions\";\nexport { __Client };\nexport class SSOClient extends __Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = __getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = resolveUserAgentConfig(_config_1);\n const _config_3 = resolveRetryConfig(_config_2);\n const _config_4 = resolveRegionConfig(_config_3);\n const _config_5 = resolveHostHeaderConfig(_config_4);\n const _config_6 = resolveEndpointConfig(_config_5);\n const _config_7 = resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(getUserAgentPlugin(this.config));\n this.middlewareStack.use(getRetryPlugin(this.config));\n this.middlewareStack.use(getContentLengthPlugin(this.config));\n this.middlewareStack.use(getHostHeaderPlugin(this.config));\n this.middlewareStack.use(getLoggerPlugin(this.config));\n this.middlewareStack.use(getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n","import { ServiceException as __ServiceException, } from \"@smithy/smithy-client\";\nexport { __ServiceException };\nexport class SSOServiceException extends __ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, SSOServiceException.prototype);\n }\n}\n","import { SENSITIVE_STRING } from \"@smithy/smithy-client\";\nimport { SSOServiceException as __BaseException } from \"./SSOServiceException\";\nexport class InvalidRequestException extends __BaseException {\n name = \"InvalidRequestException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidRequestException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidRequestException.prototype);\n }\n}\nexport class ResourceNotFoundException extends __BaseException {\n name = \"ResourceNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ResourceNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ResourceNotFoundException.prototype);\n }\n}\nexport class TooManyRequestsException extends __BaseException {\n name = \"TooManyRequestsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyRequestsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyRequestsException.prototype);\n }\n}\nexport class UnauthorizedException extends __BaseException {\n name = \"UnauthorizedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnauthorizedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnauthorizedException.prototype);\n }\n}\nexport const GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),\n});\nexport const RoleCredentialsFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.secretAccessKey && { secretAccessKey: SENSITIVE_STRING }),\n ...(obj.sessionToken && { sessionToken: SENSITIVE_STRING }),\n});\nexport const GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) }),\n});\nexport const ListAccountRolesRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),\n});\nexport const ListAccountsRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),\n});\nexport const LogoutRequestFilterSensitiveLog = (obj) => ({\n ...obj,\n ...(obj.accessToken && { accessToken: SENSITIVE_STRING }),\n});\n","import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from \"@aws-sdk/core\";\nimport { requestBuilder as rb } from \"@smithy/core\";\nimport { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from \"@smithy/smithy-client\";\nimport { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from \"../models/models_0\";\nimport { SSOServiceException as __BaseException } from \"../models/SSOServiceException\";\nexport const se_GetRoleCredentialsCommand = async (input, context) => {\n const b = rb(input, context);\n const headers = map({}, isSerializableHeaderValue, {\n [_xasbt]: input[_aT],\n });\n b.bp(\"/federation/credentials\");\n const query = map({\n [_rn]: [, __expectNonNull(input[_rN], `roleName`)],\n [_ai]: [, __expectNonNull(input[_aI], `accountId`)],\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n};\nexport const se_ListAccountRolesCommand = async (input, context) => {\n const b = rb(input, context);\n const headers = map({}, isSerializableHeaderValue, {\n [_xasbt]: input[_aT],\n });\n b.bp(\"/assignment/roles\");\n const query = map({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n [_ai]: [, __expectNonNull(input[_aI], `accountId`)],\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n};\nexport const se_ListAccountsCommand = async (input, context) => {\n const b = rb(input, context);\n const headers = map({}, isSerializableHeaderValue, {\n [_xasbt]: input[_aT],\n });\n b.bp(\"/assignment/accounts\");\n const query = map({\n [_nt]: [, input[_nT]],\n [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],\n });\n let body;\n b.m(\"GET\").h(headers).q(query).b(body);\n return b.build();\n};\nexport const se_LogoutCommand = async (input, context) => {\n const b = rb(input, context);\n const headers = map({}, isSerializableHeaderValue, {\n [_xasbt]: input[_aT],\n });\n b.bp(\"/logout\");\n let body;\n b.m(\"POST\").h(headers).b(body);\n return b.build();\n};\nexport const de_GetRoleCredentialsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n const doc = take(data, {\n roleCredentials: _json,\n });\n Object.assign(contents, doc);\n return contents;\n};\nexport const de_ListAccountRolesCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n const doc = take(data, {\n nextToken: __expectString,\n roleList: _json,\n });\n Object.assign(contents, doc);\n return contents;\n};\nexport const de_ListAccountsCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), \"body\");\n const doc = take(data, {\n accountList: _json,\n nextToken: __expectString,\n });\n Object.assign(contents, doc);\n return contents;\n};\nexport const de_LogoutCommand = async (output, context) => {\n if (output.statusCode !== 200 && output.statusCode >= 300) {\n return de_CommandError(output, context);\n }\n const contents = map({\n $metadata: deserializeMetadata(output),\n });\n await collectBody(output.body, context);\n return contents;\n};\nconst de_CommandError = async (output, context) => {\n const parsedOutput = {\n ...output,\n body: await parseErrorBody(output.body, context),\n };\n const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);\n switch (errorCode) {\n case \"InvalidRequestException\":\n case \"com.amazonaws.sso#InvalidRequestException\":\n throw await de_InvalidRequestExceptionRes(parsedOutput, context);\n case \"ResourceNotFoundException\":\n case \"com.amazonaws.sso#ResourceNotFoundException\":\n throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);\n case \"TooManyRequestsException\":\n case \"com.amazonaws.sso#TooManyRequestsException\":\n throw await de_TooManyRequestsExceptionRes(parsedOutput, context);\n case \"UnauthorizedException\":\n case \"com.amazonaws.sso#UnauthorizedException\":\n throw await de_UnauthorizedExceptionRes(parsedOutput, context);\n default:\n const parsedBody = parsedOutput.body;\n return throwDefaultError({\n output,\n parsedBody,\n errorCode,\n });\n }\n};\nconst throwDefaultError = withBaseException(__BaseException);\nconst de_InvalidRequestExceptionRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const doc = take(data, {\n message: __expectString,\n });\n Object.assign(contents, doc);\n const exception = new InvalidRequestException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const doc = take(data, {\n message: __expectString,\n });\n Object.assign(contents, doc);\n const exception = new ResourceNotFoundException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const doc = take(data, {\n message: __expectString,\n });\n Object.assign(contents, doc);\n const exception = new TooManyRequestsException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst de_UnauthorizedExceptionRes = async (parsedOutput, context) => {\n const contents = map({});\n const data = parsedOutput.body;\n const doc = take(data, {\n message: __expectString,\n });\n Object.assign(contents, doc);\n const exception = new UnauthorizedException({\n $metadata: deserializeMetadata(parsedOutput),\n ...contents,\n });\n return __decorateServiceException(exception, parsedOutput.body);\n};\nconst deserializeMetadata = (output) => ({\n httpStatusCode: output.statusCode,\n requestId: output.headers[\"x-amzn-requestid\"] ?? output.headers[\"x-amzn-request-id\"] ?? output.headers[\"x-amz-request-id\"],\n extendedRequestId: output.headers[\"x-amz-id-2\"],\n cfId: output.headers[\"x-amz-cf-id\"],\n});\nconst collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));\nconst _aI = \"accountId\";\nconst _aT = \"accessToken\";\nconst _ai = \"account_id\";\nconst _mR = \"maxResults\";\nconst _mr = \"max_result\";\nconst _nT = \"nextToken\";\nconst _nt = \"next_token\";\nconst _rN = \"roleName\";\nconst _rn = \"role_name\";\nconst _xasbt = \"x-amz-sso_bearer_token\";\n","import { getEndpointPlugin } from \"@smithy/middleware-endpoint\";\nimport { getSerdePlugin } from \"@smithy/middleware-serde\";\nimport { Command as $Command } from \"@smithy/smithy-client\";\nimport { commonParams } from \"../endpoint/EndpointParameters\";\nimport { GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog, } from \"../models/models_0\";\nimport { de_GetRoleCredentialsCommand, se_GetRoleCredentialsCommand } from \"../protocols/Aws_restJson1\";\nexport { $Command };\nexport class GetRoleCredentialsCommand extends $Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [\n getSerdePlugin(config, this.serialize, this.deserialize),\n getEndpointPlugin(config, Command.getEndpointParameterInstructions()),\n ];\n})\n .s(\"SWBPortalService\", \"GetRoleCredentials\", {})\n .n(\"SSOClient\", \"GetRoleCredentialsCommand\")\n .f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog)\n .ser(se_GetRoleCredentialsCommand)\n .de(de_GetRoleCredentialsCommand)\n .build() {\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEO,IAAM,6CAA6C,OAAO,QAAQ,SAAS,UAAU;AACxF,SAAO;AAAA,IACH,WAAW,iBAAiB,OAAO,EAAE;AAAA,IACrC,QAAS,MAAM,kBAAkB,OAAO,MAAM,EAAE,MAC3C,MAAM;AACH,YAAM,IAAI,MAAM,yDAAyD;AAAA,IAC7E,GAAG;AAAA,EACX;AACJ;AACA,SAAS,iCAAiC,gBAAgB;AACtD,SAAO;AAAA,IACH,UA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
2
2
|
loadRestJsonErrorCode,
|
|
3
3
|
parseJsonBody,
|
|
4
4
|
parseJsonErrorBody
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R7YQNQCA.js";
|
|
6
6
|
import {
|
|
7
7
|
requestBuilder
|
|
8
8
|
} from "./chunk-UGK43V2L.js";
|
|
9
9
|
import {
|
|
10
10
|
package_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XSNDIVB7.js";
|
|
12
12
|
import {
|
|
13
13
|
NoAuthSigner
|
|
14
14
|
} from "./chunk-UQAJZJ7E.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
resolveRegionConfig,
|
|
54
54
|
resolveRetryConfig,
|
|
55
55
|
resolveUserAgentConfig
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ERJ7YQOC.js";
|
|
57
57
|
import {
|
|
58
58
|
loadConfig,
|
|
59
59
|
parseUrl
|
|
@@ -828,4 +828,4 @@ export {
|
|
|
828
828
|
UnsupportedGrantTypeException,
|
|
829
829
|
Client as __Client
|
|
830
830
|
};
|
|
831
|
-
//# sourceMappingURL=sso-oidc-
|
|
831
|
+
//# sourceMappingURL=sso-oidc-NMJAI4GO.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseXmlBody,
|
|
3
3
|
parseXmlErrorBody
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WM7HFHZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
package_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XSNDIVB7.js";
|
|
8
8
|
import {
|
|
9
9
|
NoAuthSigner
|
|
10
10
|
} from "./chunk-UQAJZJ7E.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
resolveRegionConfig,
|
|
50
50
|
resolveRetryConfig,
|
|
51
51
|
resolveUserAgentConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ERJ7YQOC.js";
|
|
53
53
|
import {
|
|
54
54
|
loadConfig,
|
|
55
55
|
parseUrl
|
|
@@ -1161,4 +1161,4 @@ export {
|
|
|
1161
1161
|
getDefaultRoleAssumer2 as getDefaultRoleAssumer,
|
|
1162
1162
|
getDefaultRoleAssumerWithWebIdentity2 as getDefaultRoleAssumerWithWebIdentity
|
|
1163
1163
|
};
|
|
1164
|
-
//# sourceMappingURL=sts-
|
|
1164
|
+
//# sourceMappingURL=sts-TWR2FNQX.js.map
|
package/dist/index.d.cts
CHANGED
|
@@ -6,6 +6,7 @@ import * as _aws_sdk_client_ses from '@aws-sdk/client-ses';
|
|
|
6
6
|
import { S3Client } from '@aws-sdk/client-s3';
|
|
7
7
|
import { Context, SQSEvent, SNSEvent, APIGatewayEvent, S3Event } from 'aws-lambda';
|
|
8
8
|
import { SQSClient } from '@aws-sdk/client-sqs';
|
|
9
|
+
import { SoftDeleteDocument } from 'mongoose-delete';
|
|
9
10
|
import winston from 'winston';
|
|
10
11
|
import moment from 'moment';
|
|
11
12
|
import { ZodObject } from 'zod';
|
|
@@ -305,12 +306,12 @@ declare namespace units {
|
|
|
305
306
|
export { type units_AccountType as AccountType, type units_BaseUnit as BaseUnit, type units_ETNUnit as ETNUnit, units_accountTypeMap as accountTypeMap, units_accountTypeUnitMap as accountTypeUnitMap, units_checkAccountTypeVsUnits as checkAccountTypeVsUnits, units_convertItems as convertItems, units_simpleConvert as simpleConvert };
|
|
306
307
|
}
|
|
307
308
|
|
|
308
|
-
interface Portal
|
|
309
|
+
interface Portal {
|
|
309
310
|
username?: string;
|
|
310
311
|
password?: string;
|
|
311
312
|
scraperEnabled?: boolean;
|
|
312
313
|
url?: string;
|
|
313
|
-
scraperId?:
|
|
314
|
+
scraperId?: string;
|
|
314
315
|
scraperStartDate?: Date;
|
|
315
316
|
}
|
|
316
317
|
|
|
@@ -1073,7 +1074,7 @@ interface InvoiceRate {
|
|
|
1073
1074
|
type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
|
|
1074
1075
|
type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
|
|
1075
1076
|
type InvoiceRateType = 'unitRate' | 'daily' | 'levy' | 'tax' | 'kva' | 'waterRate' | 'wasteRate' | 'discount' | 'misc' | 'feedInTariff' | 'latePaymentCharge';
|
|
1076
|
-
interface Invoice<IDType = ObjectId | string, DateType = Date> {
|
|
1077
|
+
interface Invoice<IDType = ObjectId | string, DateType = Date> extends SoftDeleteDocument {
|
|
1077
1078
|
_id: IDType;
|
|
1078
1079
|
jobId?: string | null;
|
|
1079
1080
|
startTime?: DateType;
|
|
@@ -1414,27 +1415,27 @@ interface AuthOptions {
|
|
|
1414
1415
|
declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefaults) => {
|
|
1415
1416
|
instance: AxiosInstance;
|
|
1416
1417
|
getAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1417
|
-
listAccounts: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1418
|
+
listAccounts: <P = Account<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1418
1419
|
updateAccount: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1419
1420
|
createAccount: (data: any, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1420
1421
|
removeAccount: (id: string, options?: AxiosRequestConfig) => Promise<Account<string>>;
|
|
1421
1422
|
getAccountSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1422
1423
|
invalidateAccountCache: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1423
1424
|
getAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
1424
|
-
listAssets: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1425
|
+
listAssets: <P = Asset<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1425
1426
|
updateAsset: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
1426
1427
|
createAsset: (data: any, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
1427
1428
|
removeAsset: (id: string, options?: AxiosRequestConfig) => Promise<Asset<string>>;
|
|
1428
1429
|
getAssetSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1429
1430
|
getAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1430
|
-
listAssetGroups: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1431
|
+
listAssetGroups: <P = any>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1431
1432
|
updateAssetGroup: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1432
1433
|
createAssetGroup: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1433
1434
|
removeAssetGroup: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1434
1435
|
getAssetGroupAssets: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1435
1436
|
getAssetGroupSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1436
1437
|
getAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1437
|
-
listAutomations: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1438
|
+
listAutomations: <P = Automation<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1438
1439
|
updateAutomation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1439
1440
|
createAutomation: (data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1440
1441
|
removeAutomation: (id: string, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
@@ -1444,97 +1445,99 @@ declare const _default$4: (auth: AuthOptions, instanceOptions?: CreateAxiosDefau
|
|
|
1444
1445
|
updateAccountStatusForAutomation: (id: string, subId: string, data: any, options?: AxiosRequestConfig) => Promise<Automation<string>>;
|
|
1445
1446
|
getCompany: (id: string, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
1446
1447
|
getCompanyInvoiceValidationRules: (id: string, options?: AxiosRequestConfig) => Promise<CompanyInvoiceValidationRule<string>[]>;
|
|
1447
|
-
listCompanies: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1448
|
+
listCompanies: <P = Company<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1448
1449
|
updateCompany: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Company<string>>;
|
|
1449
1450
|
getConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1450
|
-
listConsumptions: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1451
|
+
listConsumptions: <P = any>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1451
1452
|
updateConsumption: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1452
1453
|
createConsumption: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1453
1454
|
removeConsumption: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1454
1455
|
getConsumptionSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1455
1456
|
getEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1456
|
-
listEmails: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1457
|
+
listEmails: <P = any>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1457
1458
|
updateEmail: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1458
1459
|
createEmail: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1459
1460
|
removeEmail: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1460
1461
|
getEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1461
|
-
listEmissionFactors: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1462
|
+
listEmissionFactors: <P = any>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1462
1463
|
updateEmissionFactor: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1463
1464
|
createEmissionFactor: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1464
1465
|
removeEmissionFactor: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1465
1466
|
getEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
1466
|
-
listEntities: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1467
|
+
listEntities: <P = Entity<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1467
1468
|
updateEntity: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
1468
1469
|
createEntity: (data: any, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
1469
1470
|
removeEntity: (id: string, options?: AxiosRequestConfig) => Promise<Entity<string>>;
|
|
1470
1471
|
getEntitiesSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1471
1472
|
getEntityStructure: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1472
1473
|
getLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1473
|
-
listLogs: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1474
|
+
listLogs: <P = Log<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1474
1475
|
updateLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1475
1476
|
createLog: (data: any, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1476
1477
|
removeLog: (id: string, options?: AxiosRequestConfig) => Promise<Log<string>>;
|
|
1477
1478
|
getReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1478
|
-
listReadings: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1479
|
+
listReadings: <P = Reading<string, Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1479
1480
|
updateReading: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1480
1481
|
createReading: (data: any, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1481
1482
|
removeReading: (id: string, options?: AxiosRequestConfig) => Promise<Reading<string, Date>>;
|
|
1482
1483
|
getReadingSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1483
1484
|
getReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
1484
|
-
listReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1485
|
+
listReports: <P = Report<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1485
1486
|
updateReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
1486
1487
|
createReport: (data: any, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
1487
1488
|
removeReport: (id: string, options?: AxiosRequestConfig) => Promise<Report<string>>;
|
|
1488
1489
|
sendReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1489
1490
|
getReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<ReportTemplate<string>>;
|
|
1490
|
-
listReportTemplates: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1491
|
+
listReportTemplates: <P = ReportTemplate<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1491
1492
|
updateReportTemplate: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ReportTemplate<string>>;
|
|
1492
1493
|
createReportTemplate: (data: any, options?: AxiosRequestConfig) => Promise<ReportTemplate<string>>;
|
|
1493
1494
|
removeReportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<ReportTemplate<string>>;
|
|
1494
1495
|
getScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1495
|
-
listScheduledReports: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1496
|
+
listScheduledReports: <P = any>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1496
1497
|
updateScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1497
1498
|
createScheduledReport: (data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1498
1499
|
removeScheduledReport: (id: string, options?: AxiosRequestConfig) => Promise<any>;
|
|
1499
1500
|
sendScheduledReport: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1500
1501
|
getInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string, Date>>;
|
|
1501
|
-
listInvoices: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1502
|
+
listInvoices: <P = Invoice<string, string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1502
1503
|
updateInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Invoice<string, Date>>;
|
|
1503
1504
|
createInvoice: (data: any, options?: AxiosRequestConfig) => Promise<Invoice<string, Date>>;
|
|
1504
1505
|
removeInvoice: (id: string, options?: AxiosRequestConfig) => Promise<Invoice<string, Date>>;
|
|
1505
1506
|
getInvoiceSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1506
1507
|
downloadInvoice: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1507
1508
|
getInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
1508
|
-
listInvoicesCapture: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1509
|
+
listInvoicesCapture: <P = InvoiceCapture<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1509
1510
|
updateInvoiceCapture: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
1510
1511
|
createInvoiceCapture: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
1511
1512
|
removeInvoiceCapture: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceCapture<string>>;
|
|
1512
1513
|
getInvoiceCaptureSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1513
1514
|
startInvoiceCaptureValidation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1514
1515
|
getInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
1515
|
-
listInvoicesValidation: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1516
|
+
listInvoicesValidation: <P = InvoiceValidation<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1516
1517
|
updateInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
1517
1518
|
createInvoiceValidation: (data: any, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
1518
1519
|
removeInvoiceValidation: (id: string, options?: AxiosRequestConfig) => Promise<InvoiceValidation<string>>;
|
|
1519
1520
|
getInvoiceValidationSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1520
1521
|
restartInvoiceValidation: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1521
1522
|
getSupplier: (id: string, options?: AxiosRequestConfig) => Promise<Supplier<string>>;
|
|
1522
|
-
listSuppliers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1523
|
+
listSuppliers: <P = Supplier<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1523
1524
|
getSupplierSchema: (options?: AxiosRequestConfig) => Promise<any>;
|
|
1524
1525
|
updateSupplier: (id: string, data: any, options?: AxiosRequestConfig) => Promise<Supplier<string>>;
|
|
1525
1526
|
getImportTemplate: (id: string, options?: AxiosRequestConfig) => Promise<ImportTemplate<string, Record<string, any>, Record<string, any>, Record<string, any>>>;
|
|
1526
|
-
listDataIngest: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1527
|
+
listDataIngest: <P = DataIngest<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1527
1528
|
updateDataIngest: (id: string, data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
1528
1529
|
createDataIngest: (data: any, options?: AxiosRequestConfig) => Promise<DataIngest<string>>;
|
|
1529
|
-
listUsers: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1530
|
+
listUsers: <P = User<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1530
1531
|
getUser: (id: string, options?: AxiosRequestConfig) => Promise<User<string>>;
|
|
1531
1532
|
getUserSelf: (options?: AxiosRequestConfig) => Promise<User<string>>;
|
|
1532
1533
|
socketConnect: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1533
1534
|
socketDisconnect: (id: string, data: any, options?: AxiosRequestConfig) => Promise<any>;
|
|
1534
|
-
listScraperRuns: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1535
|
+
listScraperRuns: <P = ScraperRun<string>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1535
1536
|
updateScraperRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
|
|
1537
|
+
createScraperRun: (data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
|
|
1538
|
+
createScraperRunLog: (id: string, data: any, options?: AxiosRequestConfig) => Promise<ScraperRun<string>>;
|
|
1536
1539
|
createAutomationRun: (data: Omit<AutomationRun<string, string>, "_id">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1537
|
-
listAutomationRun: (options?: AxiosRequestConfig) => Promise<ETNPagedResponse<
|
|
1540
|
+
listAutomationRun: <P = AutomationRun<string, string | Date>>(options?: AxiosRequestConfig) => Promise<ETNPagedResponse<P>>;
|
|
1538
1541
|
getAutomationRun: (id: string, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
1539
1542
|
updateAutomationRun: (id: string, data: any, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string>>;
|
|
1540
1543
|
createAutomationRunLog: (id: string, data: Omit<AutomationRunLog<string>, "date">, options?: AxiosRequestConfig) => Promise<AutomationRun<string, string | Date>>;
|
|
@@ -1762,4 +1765,16 @@ declare namespace index {
|
|
|
1762
1765
|
export { index_Prompt as Prompt, type index_PromptInput as PromptInput, type index_PromptOptions as PromptOptions, type index_PromptResponse as PromptResponse };
|
|
1763
1766
|
}
|
|
1764
1767
|
|
|
1765
|
-
|
|
1768
|
+
type ETNAccount = Account<string> & {
|
|
1769
|
+
scraperSettings: PortalSupplierSchema & Portal & {
|
|
1770
|
+
schedule?: string;
|
|
1771
|
+
};
|
|
1772
|
+
sharedSupplierRef?: boolean;
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
type scrapers_ETNAccount = ETNAccount;
|
|
1776
|
+
declare namespace scrapers {
|
|
1777
|
+
export type { scrapers_ETNAccount as ETNAccount };
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
export { type AccessLevel, type Account, type AccountResult, type Asset, type Automation, type AutomationRun, type AutomationRunLog, type AutomationRunSummary, type AutomationService, type AutomationServiceCategory, type AutomationSource, type Company, type CompanyInvoiceValidationRule, type CompanyInvoiceValidationSettings, type Consumption, type CreateScraperRunParams, type DataIngest, type DefaultField, type ETNEvent, type ETNPagedResponse$1 as ETNPagedResponse, type Email, type Entity, type FileFormat, type ImportTemplate, type Invoice, type InvoiceCapture, type InvoiceCaptureMetadata, type InvoiceCaptureMetadataResult, type InvoiceRate, type InvoiceRateType, type InvoiceValidation, type InvoiceValidationInvoice, type InvoiceValidationResults, type InvoiceValidationRule, type InvoiceValues, type Log, type Portal, type PortalSupplierSchema, type Problem, type ProblemCodes, type ProblemDetails, type Reading, type Report, type ReportMetadata, type ReportSource, type ReportSourceIdItem, type ReportTemplate, type ReportType, type ScraperRun, type SourceType, type Supplier, type User, type UtilityType, type WasteCategories, type WasteTypes, _default$4 as api, consumption, _default$1 as db, _default$3 as emailTemplate, integrations, _default$2 as logger, monitoring, index as openai, reporting, scrapers, _default as slack, units, index$1 as utils };
|