@larkup/cli 0.3.14 → 0.3.15
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/{chunk-WH6SGG26.js → chunk-54YIZOXQ.js} +2 -2
- package/dist/{chunk-V5MXHOEA.js → chunk-6HRBZ7QP.js} +3 -3
- package/dist/{chunk-IJE2RPSN.js → chunk-6VBJAFWY.js} +62 -54
- package/dist/{chunk-DE4VP425.js → chunk-CUA3FHFQ.js} +2 -2
- package/dist/{chunk-LCK6D6SK.js → chunk-DTRGAEFR.js} +4 -4
- package/dist/{chunk-CQ7NVYHT.js → chunk-FMBWCTFV.js} +71 -62
- package/dist/chunk-GYXT77I3.js +515 -0
- package/dist/{chunk-Z3C6M6AJ.js → chunk-HYYSI5FE.js} +95 -64
- package/dist/{event-streams-JRBKH3UT.js → chunk-PFTSXAZG.js} +31 -32
- package/dist/chunk-TFGGCUFR.js +126 -0
- package/dist/{chunk-KA5D5NKN.js → chunk-VZAREDRR.js} +3 -3
- package/dist/{chunk-CVBK47OT.js → chunk-YOPP3ETL.js} +94 -77
- package/dist/{chunk-HX45PZFR.js → chunk-ZH2A3TFQ.js} +39 -39
- package/dist/{dist-es-2UI7ONZZ.js → dist-es-3SVFRI6P.js} +242 -219
- package/dist/{dist-es-Y73OHM5Y.js → dist-es-CM7567P2.js} +8 -9
- package/dist/{dist-es-UJY2ZAAU.js → dist-es-DC3KLBPR.js} +9 -10
- package/dist/{dist-es-OED5OOKX.js → dist-es-FEVR73CQ.js} +8 -9
- package/dist/{dist-es-5D5ADEYS.js → dist-es-IS5PH45I.js} +24 -32
- package/dist/{dist-es-KL7UCI6C.js → dist-es-KY7QTIEX.js} +22 -23
- package/dist/{dist-es-QQMKUAEQ.js → dist-es-M6OXVHSI.js} +2 -3
- package/dist/{dist-es-MAY5SYH5.js → dist-es-OB4H2RSG.js} +10 -11
- package/dist/{dist-es-IAOJLUTI.js → dist-es-PY4YS7TC.js} +9 -13
- package/dist/{dist-es-FI7PADBF.js → dist-es-ZDCXFYRX.js} +5 -6
- package/dist/{event-streams-IXBDR476.js → event-streams-KOWL2S4G.js} +3 -3
- package/dist/index.js +46 -26
- package/dist/{loadSso-S4KING47.js → loadSso-OLMNBQ4H.js} +67 -67
- package/dist/{signin-ALRQUKQQ.js → signin-NBTUJ5KD.js} +71 -71
- package/dist/{sso-oidc-D3TLLZUS.js → sso-oidc-WNK6HQX7.js} +77 -70
- package/dist/{sts-PHP2EVI2.js → sts-TGY2Y4DZ.js} +79 -76
- package/package.json +11 -11
- package/dist/chunk-FNZK42G6.js +0 -73
- package/dist/chunk-HBASLJRD.js +0 -1426
- package/dist/chunk-LREGQMME.js +0 -1280
- package/dist/chunk-M5367BNN.js +0 -184
- package/dist/chunk-WXRKGSWM.js +0 -34
- package/dist/chunk-XEB2OVD6.js +0 -648
- package/dist/chunk-XFLXM5WU.js +0 -2394
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import { Command } from "commander";
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@larkup/cli",
|
|
39
|
-
version: "0.3.
|
|
39
|
+
version: "0.3.15",
|
|
40
40
|
engines: {
|
|
41
41
|
node: ">=22"
|
|
42
42
|
},
|
|
@@ -57,21 +57,21 @@ var package_default = {
|
|
|
57
57
|
"type-check": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
dependencies: {
|
|
60
|
-
"@ai-sdk/cohere": "^4.0.
|
|
61
|
-
"@ai-sdk/deepseek": "^3.0.
|
|
62
|
-
"@ai-sdk/gateway": "^4.0.
|
|
63
|
-
"@ai-sdk/google": "^4.0.
|
|
64
|
-
"@ai-sdk/mistral": "^4.0.
|
|
65
|
-
"@ai-sdk/openai": "^4.0.
|
|
66
|
-
"@ai-sdk/openai-compatible": "^3.0.
|
|
60
|
+
"@ai-sdk/cohere": "^4.0.58",
|
|
61
|
+
"@ai-sdk/deepseek": "^3.0.62",
|
|
62
|
+
"@ai-sdk/gateway": "^4.0.108",
|
|
63
|
+
"@ai-sdk/google": "^4.0.92",
|
|
64
|
+
"@ai-sdk/mistral": "^4.0.61",
|
|
65
|
+
"@ai-sdk/openai": "^4.0.89",
|
|
66
|
+
"@ai-sdk/openai-compatible": "^3.0.66",
|
|
67
67
|
"@clack/prompts": "^1.7.0",
|
|
68
|
-
"@lancedb/lancedb": "^0.
|
|
68
|
+
"@lancedb/lancedb": "^0.40.0",
|
|
69
69
|
"@larkup/core": "workspace:*",
|
|
70
70
|
"@larkup/marketplace": "workspace:*",
|
|
71
71
|
"@larkup/vector-stores": "workspace:*",
|
|
72
|
-
"@napi-rs/canvas": "1.0.
|
|
72
|
+
"@napi-rs/canvas": "1.0.10",
|
|
73
73
|
"@pinecone-database/pinecone": "^9.0.0",
|
|
74
|
-
ai: "^7.0.
|
|
74
|
+
ai: "^7.0.133",
|
|
75
75
|
"apache-arrow": "18.1.0",
|
|
76
76
|
chalk: "^6.0.0",
|
|
77
77
|
chromadb: "^3.5.0",
|
|
@@ -4974,7 +4974,7 @@ var S3StorageProvider = class {
|
|
|
4974
4974
|
}
|
|
4975
4975
|
async client() {
|
|
4976
4976
|
if (!this._client) {
|
|
4977
|
-
const { S3Client } = await import("./dist-es-
|
|
4977
|
+
const { S3Client } = await import("./dist-es-3SVFRI6P.js");
|
|
4978
4978
|
this._client = new S3Client({
|
|
4979
4979
|
region: this.region,
|
|
4980
4980
|
...this._credentials ? { credentials: this._credentials } : {}
|
|
@@ -4993,7 +4993,7 @@ var S3StorageProvider = class {
|
|
|
4993
4993
|
return { bucket: withoutScheme.slice(0, slashIndex), key: withoutScheme.slice(slashIndex + 1) };
|
|
4994
4994
|
}
|
|
4995
4995
|
async store(key, data, mimeType) {
|
|
4996
|
-
const { PutObjectCommand } = await import("./dist-es-
|
|
4996
|
+
const { PutObjectCommand } = await import("./dist-es-3SVFRI6P.js");
|
|
4997
4997
|
const client = await this.client();
|
|
4998
4998
|
const objectKey = this.objectKey(key);
|
|
4999
4999
|
await client.send(
|
|
@@ -5011,7 +5011,7 @@ var S3StorageProvider = class {
|
|
|
5011
5011
|
return this.store(key, await fs9.readFile(sourcePath), mimeType);
|
|
5012
5012
|
}
|
|
5013
5013
|
async retrieve(uri) {
|
|
5014
|
-
const { GetObjectCommand } = await import("./dist-es-
|
|
5014
|
+
const { GetObjectCommand } = await import("./dist-es-3SVFRI6P.js");
|
|
5015
5015
|
const { bucket, key } = this.parseUri(uri);
|
|
5016
5016
|
const client = await this.client();
|
|
5017
5017
|
const response = await client.send(new GetObjectCommand({ Bucket: bucket, Key: key }));
|
|
@@ -5027,8 +5027,8 @@ var S3StorageProvider = class {
|
|
|
5027
5027
|
return void 0;
|
|
5028
5028
|
}
|
|
5029
5029
|
async getReadUrl(uri, expiresInSecs) {
|
|
5030
|
-
const { GetObjectCommand } = await import("./dist-es-
|
|
5031
|
-
const { getSignedUrl } = await import("./dist-es-
|
|
5030
|
+
const { GetObjectCommand } = await import("./dist-es-3SVFRI6P.js");
|
|
5031
|
+
const { getSignedUrl } = await import("./dist-es-DC3KLBPR.js");
|
|
5032
5032
|
const { bucket, key } = this.parseUri(uri);
|
|
5033
5033
|
const client = await this.client();
|
|
5034
5034
|
return getSignedUrl(client, new GetObjectCommand({ Bucket: bucket, Key: key }), {
|
|
@@ -5036,7 +5036,7 @@ var S3StorageProvider = class {
|
|
|
5036
5036
|
});
|
|
5037
5037
|
}
|
|
5038
5038
|
async delete(uri) {
|
|
5039
|
-
const { DeleteObjectCommand } = await import("./dist-es-
|
|
5039
|
+
const { DeleteObjectCommand } = await import("./dist-es-3SVFRI6P.js");
|
|
5040
5040
|
const { bucket, key } = this.parseUri(uri);
|
|
5041
5041
|
const client = await this.client();
|
|
5042
5042
|
try {
|
|
@@ -6575,7 +6575,9 @@ async function updateEnterpriseCommand() {
|
|
|
6575
6575
|
const config = await readConfig();
|
|
6576
6576
|
const enterprise = config.enterprise;
|
|
6577
6577
|
if (!enterprise) {
|
|
6578
|
-
throw new Error(
|
|
6578
|
+
throw new Error(
|
|
6579
|
+
"This Project is not enrolled with an Enterprise profile. Run `larkup install --ee` first."
|
|
6580
|
+
);
|
|
6579
6581
|
}
|
|
6580
6582
|
const response = await fetch(enterpriseEndpoint(enterprise.dashboardUrl, "/api/client/config"), {
|
|
6581
6583
|
headers: { Authorization: `Bearer ${enterprise.clientKey}` }
|
|
@@ -6601,10 +6603,16 @@ async function updateEnterpriseCommand() {
|
|
|
6601
6603
|
continue;
|
|
6602
6604
|
}
|
|
6603
6605
|
const installResponse = await fetch(
|
|
6604
|
-
enterpriseEndpoint(
|
|
6606
|
+
enterpriseEndpoint(
|
|
6607
|
+
enterprise.dashboardUrl,
|
|
6608
|
+
`/api/client/tools/${encodeURIComponent(tool2.toolId)}/install`
|
|
6609
|
+
),
|
|
6605
6610
|
{
|
|
6606
6611
|
method: "POST",
|
|
6607
|
-
headers: {
|
|
6612
|
+
headers: {
|
|
6613
|
+
"Content-Type": "application/json",
|
|
6614
|
+
Authorization: `Bearer ${enterprise.clientKey}`
|
|
6615
|
+
},
|
|
6608
6616
|
body: JSON.stringify({})
|
|
6609
6617
|
}
|
|
6610
6618
|
);
|
|
@@ -6619,13 +6627,21 @@ async function updateEnterpriseCommand() {
|
|
|
6619
6627
|
managedToolIds = managedToolIds.filter((id) => remoteToolIds.has(id));
|
|
6620
6628
|
await writeConfig({
|
|
6621
6629
|
...config,
|
|
6622
|
-
enterprise: {
|
|
6630
|
+
enterprise: {
|
|
6631
|
+
...enterprise,
|
|
6632
|
+
managedToolIds,
|
|
6633
|
+
configurationVersion: profile.configurationVersion
|
|
6634
|
+
}
|
|
6623
6635
|
});
|
|
6624
|
-
log.success(
|
|
6636
|
+
log.success(
|
|
6637
|
+
`Enterprise configuration updated (v${localVersion} \u2192 v${profile.configurationVersion}).`
|
|
6638
|
+
);
|
|
6625
6639
|
if (added.length) log.info(`Newly installed: ${added.join(", ")}`);
|
|
6626
6640
|
if (removed.length) log.info(`Removed (revoked): ${removed.join(", ")}`);
|
|
6627
6641
|
if (needsCredential.length) {
|
|
6628
|
-
log.warn(
|
|
6642
|
+
log.warn(
|
|
6643
|
+
`Needs credentials \u2014 run \`larkup enterprise-tool install <id> --api-key <key>\`: ${needsCredential.join(", ")}`
|
|
6644
|
+
);
|
|
6629
6645
|
}
|
|
6630
6646
|
if (!added.length && !removed.length && !needsCredential.length) {
|
|
6631
6647
|
log.dim("No tool changes. Limits and policy were refreshed.");
|
|
@@ -6633,12 +6649,16 @@ async function updateEnterpriseCommand() {
|
|
|
6633
6649
|
}
|
|
6634
6650
|
async function enterpriseUpdateAvailable() {
|
|
6635
6651
|
try {
|
|
6652
|
+
if (!await getActiveProject()) return false;
|
|
6636
6653
|
const config = await readConfig();
|
|
6637
6654
|
const enterprise = config.enterprise;
|
|
6638
6655
|
if (!enterprise) return false;
|
|
6639
|
-
const response = await fetch(
|
|
6640
|
-
|
|
6641
|
-
|
|
6656
|
+
const response = await fetch(
|
|
6657
|
+
enterpriseEndpoint(enterprise.dashboardUrl, "/api/client/config"),
|
|
6658
|
+
{
|
|
6659
|
+
headers: { Authorization: `Bearer ${enterprise.clientKey}` }
|
|
6660
|
+
}
|
|
6661
|
+
);
|
|
6642
6662
|
if (!response.ok) return false;
|
|
6643
6663
|
const profile = await response.json();
|
|
6644
6664
|
return profile.configurationVersion !== (enterprise.configurationVersion ?? 0);
|
|
@@ -1,12 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
package_default
|
|
3
|
+
} from "./chunk-TFGGCUFR.js";
|
|
4
|
+
import {
|
|
5
|
+
AwsRestJsonProtocol,
|
|
6
|
+
AwsSdkSigV4Signer,
|
|
7
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
8
|
+
resolveAwsSdkSigV4Config
|
|
9
|
+
} from "./chunk-ZH2A3TFQ.js";
|
|
10
|
+
import "./chunk-CUA3FHFQ.js";
|
|
11
|
+
import {
|
|
12
|
+
Sha256Node
|
|
13
|
+
} from "./chunk-GYXT77I3.js";
|
|
14
|
+
import {
|
|
15
|
+
NodeHttpHandler
|
|
16
|
+
} from "./chunk-54YIZOXQ.js";
|
|
17
|
+
import {
|
|
4
18
|
DEFAULT_RETRY_MODE,
|
|
5
19
|
DefaultIdentityProviderConfig,
|
|
6
|
-
|
|
20
|
+
NODE_APP_ID_CONFIG_OPTIONS,
|
|
7
21
|
NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
8
22
|
NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
9
23
|
NoAuthSigner,
|
|
24
|
+
awsEndpointFunctions,
|
|
25
|
+
createDefaultUserAgentProvider,
|
|
26
|
+
emitWarningIfUnsupportedVersion,
|
|
27
|
+
getAwsRegionExtensionConfiguration,
|
|
28
|
+
getHostHeaderPlugin,
|
|
29
|
+
getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
30
|
+
getHttpSigningPlugin,
|
|
31
|
+
getLoggerPlugin,
|
|
32
|
+
getRecursionDetectionPlugin,
|
|
33
|
+
getRetryPlugin,
|
|
34
|
+
getUserAgentPlugin,
|
|
35
|
+
resolveAwsRegionExtensionConfiguration,
|
|
36
|
+
resolveHostHeaderConfig,
|
|
37
|
+
resolveRetryConfig,
|
|
38
|
+
resolveUserAgentConfig
|
|
39
|
+
} from "./chunk-6VBJAFWY.js";
|
|
40
|
+
import {
|
|
41
|
+
BinaryDecisionDiagram,
|
|
42
|
+
Client,
|
|
43
|
+
EndpointCache,
|
|
10
44
|
NoOpLogger,
|
|
11
45
|
ServiceException,
|
|
12
46
|
customEndpointFunctions,
|
|
@@ -14,78 +48,39 @@ import {
|
|
|
14
48
|
emitWarningIfUnsupportedVersion as emitWarningIfUnsupportedVersion2,
|
|
15
49
|
getDefaultExtensionConfiguration,
|
|
16
50
|
getEndpointPlugin,
|
|
17
|
-
getHttpAuthSchemeEndpointRuleSetPlugin,
|
|
18
|
-
getHttpSigningPlugin,
|
|
19
|
-
getRetryPlugin,
|
|
20
51
|
loadConfigsForDefaultMode,
|
|
21
52
|
makeBuilder,
|
|
22
|
-
package_default,
|
|
23
53
|
resolveDefaultRuntimeConfig,
|
|
24
|
-
resolveEndpointConfig
|
|
25
|
-
|
|
26
|
-
} from "./chunk-XFLXM5WU.js";
|
|
27
|
-
import {
|
|
28
|
-
AwsRestJsonProtocol,
|
|
29
|
-
AwsSdkSigV4Signer,
|
|
30
|
-
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
31
|
-
resolveAwsSdkSigV4Config
|
|
32
|
-
} from "./chunk-HX45PZFR.js";
|
|
33
|
-
import "./chunk-DE4VP425.js";
|
|
34
|
-
import {
|
|
35
|
-
getContentLengthPlugin,
|
|
36
|
-
getHttpHandlerExtensionConfiguration,
|
|
37
|
-
resolveHttpHandlerRuntimeConfig
|
|
38
|
-
} from "./chunk-FNZK42G6.js";
|
|
54
|
+
resolveEndpointConfig
|
|
55
|
+
} from "./chunk-YOPP3ETL.js";
|
|
39
56
|
import {
|
|
40
57
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
41
58
|
NODE_REGION_CONFIG_OPTIONS,
|
|
42
59
|
NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
43
60
|
NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
61
|
+
getContentLengthPlugin,
|
|
62
|
+
getHttpHandlerExtensionConfiguration,
|
|
44
63
|
loadConfig,
|
|
45
64
|
resolveDefaultsModeConfig,
|
|
65
|
+
resolveHttpHandlerRuntimeConfig,
|
|
46
66
|
resolveRegionConfig
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
NodeHttpHandler
|
|
50
|
-
} from "./chunk-WH6SGG26.js";
|
|
51
|
-
import {
|
|
52
|
-
NODE_APP_ID_CONFIG_OPTIONS,
|
|
53
|
-
awsEndpointFunctions,
|
|
54
|
-
createDefaultUserAgentProvider,
|
|
55
|
-
emitWarningIfUnsupportedVersion,
|
|
56
|
-
getAwsRegionExtensionConfiguration,
|
|
57
|
-
getHostHeaderPlugin,
|
|
58
|
-
getLoggerPlugin,
|
|
59
|
-
getRecursionDetectionPlugin,
|
|
60
|
-
getUserAgentPlugin,
|
|
61
|
-
resolveAwsRegionExtensionConfiguration,
|
|
62
|
-
resolveHostHeaderConfig,
|
|
63
|
-
resolveUserAgentConfig
|
|
64
|
-
} from "./chunk-IJE2RPSN.js";
|
|
65
|
-
import "./chunk-CVBK47OT.js";
|
|
66
|
-
import "./chunk-CQ7NVYHT.js";
|
|
67
|
+
} from "./chunk-FMBWCTFV.js";
|
|
67
68
|
import {
|
|
68
|
-
streamCollector
|
|
69
|
-
} from "./chunk-Z3C6M6AJ.js";
|
|
70
|
-
import {
|
|
71
|
-
Sha256Node,
|
|
72
69
|
TypeRegistry,
|
|
73
70
|
calculateBodyLength,
|
|
74
71
|
fromBase64,
|
|
75
72
|
fromUtf8,
|
|
76
73
|
getSchemaSerdePlugin,
|
|
77
|
-
toBase64,
|
|
78
|
-
toUtf8
|
|
79
|
-
} from "./chunk-LREGQMME.js";
|
|
80
|
-
import {
|
|
81
74
|
getSmithyContext,
|
|
82
75
|
normalizeProvider,
|
|
83
|
-
parseUrl
|
|
84
|
-
|
|
85
|
-
|
|
76
|
+
parseUrl,
|
|
77
|
+
streamCollector,
|
|
78
|
+
toBase64,
|
|
79
|
+
toUtf8
|
|
80
|
+
} from "./chunk-HYYSI5FE.js";
|
|
86
81
|
import "./chunk-QGM4M3NI.js";
|
|
87
82
|
|
|
88
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
83
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js
|
|
89
84
|
var defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
90
85
|
return {
|
|
91
86
|
operation: getSmithyContext(context).operation,
|
|
@@ -136,7 +131,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
136
131
|
});
|
|
137
132
|
};
|
|
138
133
|
|
|
139
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
134
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/EndpointParameters.js
|
|
140
135
|
var resolveClientEndpointParameters = (options) => {
|
|
141
136
|
return Object.assign(options, {
|
|
142
137
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -151,7 +146,7 @@ var commonParams = {
|
|
|
151
146
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
152
147
|
};
|
|
153
148
|
|
|
154
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
149
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js
|
|
155
150
|
var k = "ref";
|
|
156
151
|
var a = -1;
|
|
157
152
|
var b = true;
|
|
@@ -238,7 +233,7 @@ var nodes = new Int32Array([
|
|
|
238
233
|
]);
|
|
239
234
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
240
235
|
|
|
241
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
236
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js
|
|
242
237
|
var cache = new EndpointCache({
|
|
243
238
|
size: 50,
|
|
244
239
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
@@ -251,16 +246,18 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
251
246
|
};
|
|
252
247
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
253
248
|
|
|
254
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
249
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js
|
|
255
250
|
var SSOServiceException = class _SSOServiceException extends ServiceException {
|
|
251
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sso#SSOServiceException";
|
|
256
252
|
constructor(options) {
|
|
257
253
|
super(options);
|
|
258
254
|
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
259
255
|
}
|
|
260
256
|
};
|
|
261
257
|
|
|
262
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
258
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/errors.js
|
|
263
259
|
var InvalidRequestException = class _InvalidRequestException extends SSOServiceException {
|
|
260
|
+
static shapeId = "com.amazonaws.sso#InvalidRequestException";
|
|
264
261
|
name = "InvalidRequestException";
|
|
265
262
|
$fault = "client";
|
|
266
263
|
constructor(opts) {
|
|
@@ -273,6 +270,7 @@ var InvalidRequestException = class _InvalidRequestException extends SSOServiceE
|
|
|
273
270
|
}
|
|
274
271
|
};
|
|
275
272
|
var ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {
|
|
273
|
+
static shapeId = "com.amazonaws.sso#ResourceNotFoundException";
|
|
276
274
|
name = "ResourceNotFoundException";
|
|
277
275
|
$fault = "client";
|
|
278
276
|
constructor(opts) {
|
|
@@ -285,6 +283,7 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends SSOServ
|
|
|
285
283
|
}
|
|
286
284
|
};
|
|
287
285
|
var TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {
|
|
286
|
+
static shapeId = "com.amazonaws.sso#TooManyRequestsException";
|
|
288
287
|
name = "TooManyRequestsException";
|
|
289
288
|
$fault = "client";
|
|
290
289
|
constructor(opts) {
|
|
@@ -297,6 +296,7 @@ var TooManyRequestsException = class _TooManyRequestsException extends SSOServic
|
|
|
297
296
|
}
|
|
298
297
|
};
|
|
299
298
|
var UnauthorizedException = class _UnauthorizedException extends SSOServiceException {
|
|
299
|
+
static shapeId = "com.amazonaws.sso#UnauthorizedException";
|
|
300
300
|
name = "UnauthorizedException";
|
|
301
301
|
$fault = "client";
|
|
302
302
|
constructor(opts) {
|
|
@@ -309,7 +309,7 @@ var UnauthorizedException = class _UnauthorizedException extends SSOServiceExcep
|
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
312
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js
|
|
313
313
|
var _ATT = "AccessTokenType";
|
|
314
314
|
var _GRC = "GetRoleCredentials";
|
|
315
315
|
var _GRCR = "GetRoleCredentialsRequest";
|
|
@@ -422,7 +422,7 @@ var GetRoleCredentials$ = [
|
|
|
422
422
|
() => GetRoleCredentialsResponse$
|
|
423
423
|
];
|
|
424
424
|
|
|
425
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
425
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js
|
|
426
426
|
var getRuntimeConfig = (config) => {
|
|
427
427
|
return {
|
|
428
428
|
apiVersion: "2019-06-10",
|
|
@@ -460,7 +460,7 @@ var getRuntimeConfig = (config) => {
|
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
|
|
463
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
463
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js
|
|
464
464
|
var getRuntimeConfig2 = (config) => {
|
|
465
465
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
466
466
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -493,7 +493,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
|
|
496
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
496
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js
|
|
497
497
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
498
498
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
499
499
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -532,14 +532,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
532
532
|
};
|
|
533
533
|
};
|
|
534
534
|
|
|
535
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
535
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js
|
|
536
536
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
537
537
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
538
538
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
539
539
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
540
540
|
};
|
|
541
541
|
|
|
542
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
542
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js
|
|
543
543
|
var SSOClient = class extends Client {
|
|
544
544
|
config;
|
|
545
545
|
constructor(...[configuration]) {
|
|
@@ -575,12 +575,12 @@ var SSOClient = class extends Client {
|
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
577
|
|
|
578
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
578
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js
|
|
579
579
|
var command = makeBuilder(commonParams, "SWBPortalService", "SSOClient", getEndpointPlugin);
|
|
580
580
|
var _ep0 = {};
|
|
581
581
|
var _mw0 = (Command, cs, config, o) => [];
|
|
582
582
|
|
|
583
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.
|
|
583
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.997.47/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js
|
|
584
584
|
var GetRoleCredentialsCommand = class extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
|
|
585
585
|
};
|
|
586
586
|
export {
|