@sisense/mcp-server 0.2.2 → 0.2.4
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/{ai-hspmgr2c.js → ai-qt2rw4p0.js} +999 -959
- package/dist/{index-29n08mw7.js → index-0rmh0qta.js} +5 -5
- package/dist/{index-er0yspcy.js → index-6vz3bc2n.js} +552 -385
- package/dist/{index-vx54d05h.js → index-7ztxzw1b.js} +9 -9
- package/dist/{index-tqba2rwh.js → index-86j7fyp7.js} +406 -245
- package/dist/{index-p1pxtmwn.js → index-bgbnagw5.js} +18 -20
- package/dist/{index-d6843g0v.js → index-jatbeegy.js} +9 -7
- package/dist/{index-dxfb3krz.js → index-jgdfekw7.js} +375 -539
- package/dist/{index-qdth51hx.js → index-k71wsmah.js} +8 -1
- package/dist/{index-atgbxy7h.js → index-mxkgxy04.js} +28981 -27209
- package/dist/{index-vrapm0b4.js → index-p5hr1cfd.js} +458 -331
- package/dist/{index-dcrjg3fk.js → index-z44fq2x1.js} +3 -2
- package/dist/sse-server-0d83pnkk.js +54 -0
- package/dist/{sse-server-brx9qtyd.js → sse-server-22mq7fhc.js} +880 -757
- package/dist/{sse-server-3e0efmg2.js → sse-server-d3yx2z0r.js} +1845 -1825
- package/dist/{sse-server-4jjec4fz.js → sse-server-gcjj2741.js} +2081 -1695
- package/dist/{sse-server-rr3dp62e.js → sse-server-kpkj0hbc.js} +22749 -22399
- package/dist/{sse-server-36t17nga.js → sse-server-qhqncg7f.js} +3555 -3657
- package/dist/{sse-server-txz5g5t0.js → sse-server-rrtgkg21.js} +414 -177
- package/dist/{sse-server-nwjjjz6x.js → sse-server-wb2h6nz7.js} +3 -52
- package/dist/{sse-server-qj4zxq0f.js → sse-server-zmcz2c17.js} +12 -24
- package/dist/sse-server.js +96 -52
- package/dist/view.html +609 -544
- package/dist/{widget-renderer-66ws3xtk.js → widget-renderer-wjrpnwpy.js} +12 -12
- package/package.json +4 -4
- package/dist/sse-server-4b60tg0c.js +0 -136
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./sse-server-4b60tg0c.js";
|
|
4
|
-
import {
|
|
5
|
-
require_dist_cjs as require_dist_cjs6,
|
|
2
|
+
require_dist_cjs as require_dist_cjs7,
|
|
6
3
|
require_dist_cjs10 as require_dist_cjs16,
|
|
7
4
|
require_dist_cjs11 as require_dist_cjs17,
|
|
8
|
-
require_dist_cjs12 as
|
|
5
|
+
require_dist_cjs12 as require_dist_cjs18,
|
|
9
6
|
require_dist_cjs13 as require_dist_cjs20,
|
|
10
7
|
require_dist_cjs14 as require_dist_cjs21,
|
|
11
8
|
require_dist_cjs15 as require_dist_cjs22,
|
|
@@ -13,34 +10,37 @@ import {
|
|
|
13
10
|
require_dist_cjs17 as require_dist_cjs24,
|
|
14
11
|
require_dist_cjs18 as require_dist_cjs25,
|
|
15
12
|
require_dist_cjs19 as require_dist_cjs26,
|
|
16
|
-
require_dist_cjs2 as
|
|
17
|
-
require_dist_cjs3 as
|
|
18
|
-
require_dist_cjs4 as
|
|
19
|
-
require_dist_cjs5 as
|
|
20
|
-
require_dist_cjs7 as
|
|
13
|
+
require_dist_cjs2 as require_dist_cjs9,
|
|
14
|
+
require_dist_cjs3 as require_dist_cjs10,
|
|
15
|
+
require_dist_cjs4 as require_dist_cjs11,
|
|
16
|
+
require_dist_cjs5 as require_dist_cjs12,
|
|
17
|
+
require_dist_cjs7 as require_dist_cjs13,
|
|
21
18
|
require_dist_cjs8 as require_dist_cjs14,
|
|
22
19
|
require_dist_cjs9 as require_dist_cjs15,
|
|
20
|
+
require_package,
|
|
23
21
|
require_protocols
|
|
24
|
-
} from "./sse-server-
|
|
22
|
+
} from "./sse-server-gcjj2741.js";
|
|
25
23
|
import {
|
|
26
|
-
require_dist_cjs as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
import"./sse-server-qj4zxq0f.js";
|
|
24
|
+
require_dist_cjs as require_dist_cjs19
|
|
25
|
+
} from "./sse-server-wb2h6nz7.js";
|
|
26
|
+
import"./sse-server-zmcz2c17.js";
|
|
30
27
|
import {
|
|
31
28
|
require_dist_cjs as require_dist_cjs2,
|
|
32
29
|
require_dist_cjs1 as require_dist_cjs4,
|
|
33
30
|
require_dist_cjs3 as require_dist_cjs5,
|
|
34
|
-
require_dist_cjs7,
|
|
31
|
+
require_dist_cjs7 as require_dist_cjs8,
|
|
35
32
|
require_schema,
|
|
36
33
|
require_tslib
|
|
37
|
-
} from "./sse-server-
|
|
34
|
+
} from "./sse-server-rrtgkg21.js";
|
|
38
35
|
import {
|
|
39
36
|
require_dist_cjs
|
|
40
37
|
} from "./sse-server-epd916s3.js";
|
|
41
38
|
import {
|
|
42
39
|
require_dist_cjs2 as require_dist_cjs3
|
|
43
40
|
} from "./sse-server-5tmgacdx.js";
|
|
41
|
+
import {
|
|
42
|
+
require_dist_cjs as require_dist_cjs6
|
|
43
|
+
} from "./sse-server-0d83pnkk.js";
|
|
44
44
|
import"./sse-server-4g9za0qq.js";
|
|
45
45
|
import"./sse-server-mkesh468.js";
|
|
46
46
|
import"./sse-server-3343e7xh.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
var require_httpAuthSchemeProvider = __commonJS((exports) => {
|
|
53
53
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
54
|
exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = undefined;
|
|
55
|
-
var core_1 =
|
|
55
|
+
var core_1 = require_dist_cjs9();
|
|
56
56
|
var util_middleware_1 = require_dist_cjs2();
|
|
57
57
|
var defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
58
58
|
return {
|
|
@@ -134,7 +134,133 @@ var require_ruleset = __commonJS((exports) => {
|
|
|
134
134
|
var r = { [v]: "getAttr", [w]: [{ [x]: g }, "supportsFIPS"] };
|
|
135
135
|
var s = { [v]: c, [w]: [true, { [v]: "getAttr", [w]: [{ [x]: g }, "supportsDualStack"] }] };
|
|
136
136
|
var t = [{ [x]: "Region" }];
|
|
137
|
-
var _data = {
|
|
137
|
+
var _data = {
|
|
138
|
+
version: "1.0",
|
|
139
|
+
parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j },
|
|
140
|
+
rules: [
|
|
141
|
+
{
|
|
142
|
+
conditions: [{ [v]: b, [w]: [k] }],
|
|
143
|
+
rules: [
|
|
144
|
+
{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
|
|
145
|
+
{
|
|
146
|
+
rules: [
|
|
147
|
+
{
|
|
148
|
+
conditions: [m],
|
|
149
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
150
|
+
type: d
|
|
151
|
+
},
|
|
152
|
+
{ endpoint: { url: k, properties: n, headers: n }, type: e }
|
|
153
|
+
],
|
|
154
|
+
type: f
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
type: f
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
rules: [
|
|
161
|
+
{
|
|
162
|
+
conditions: [{ [v]: b, [w]: t }],
|
|
163
|
+
rules: [
|
|
164
|
+
{
|
|
165
|
+
conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
|
|
166
|
+
rules: [
|
|
167
|
+
{
|
|
168
|
+
conditions: [{ [v]: h, [w]: [o, "aws"] }, p, q],
|
|
169
|
+
endpoint: { url: "https://{Region}.signin.aws.amazon.com", properties: n, headers: n },
|
|
170
|
+
type: e
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
conditions: [{ [v]: h, [w]: [o, "aws-cn"] }, p, q],
|
|
174
|
+
endpoint: { url: "https://{Region}.signin.amazonaws.cn", properties: n, headers: n },
|
|
175
|
+
type: e
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
conditions: [{ [v]: h, [w]: [o, "aws-us-gov"] }, p, q],
|
|
179
|
+
endpoint: { url: "https://{Region}.signin.amazonaws-us-gov.com", properties: n, headers: n },
|
|
180
|
+
type: e
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
conditions: [l, m],
|
|
184
|
+
rules: [
|
|
185
|
+
{
|
|
186
|
+
conditions: [{ [v]: c, [w]: [a, r] }, s],
|
|
187
|
+
rules: [
|
|
188
|
+
{
|
|
189
|
+
endpoint: {
|
|
190
|
+
url: "https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
191
|
+
properties: n,
|
|
192
|
+
headers: n
|
|
193
|
+
},
|
|
194
|
+
type: e
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
type: f
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
201
|
+
type: d
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
type: f
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
conditions: [l, q],
|
|
208
|
+
rules: [
|
|
209
|
+
{
|
|
210
|
+
conditions: [{ [v]: c, [w]: [r, a] }],
|
|
211
|
+
rules: [
|
|
212
|
+
{
|
|
213
|
+
endpoint: {
|
|
214
|
+
url: "https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
215
|
+
properties: n,
|
|
216
|
+
headers: n
|
|
217
|
+
},
|
|
218
|
+
type: e
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
type: f
|
|
222
|
+
},
|
|
223
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", type: d }
|
|
224
|
+
],
|
|
225
|
+
type: f
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
conditions: [p, m],
|
|
229
|
+
rules: [
|
|
230
|
+
{
|
|
231
|
+
conditions: [s],
|
|
232
|
+
rules: [
|
|
233
|
+
{
|
|
234
|
+
endpoint: {
|
|
235
|
+
url: "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
236
|
+
properties: n,
|
|
237
|
+
headers: n
|
|
238
|
+
},
|
|
239
|
+
type: e
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
type: f
|
|
243
|
+
},
|
|
244
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", type: d }
|
|
245
|
+
],
|
|
246
|
+
type: f
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
endpoint: { url: "https://signin.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
|
|
250
|
+
type: e
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
type: f
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
type: f
|
|
257
|
+
},
|
|
258
|
+
{ error: "Invalid Configuration: Missing Region", type: d }
|
|
259
|
+
],
|
|
260
|
+
type: f
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
};
|
|
138
264
|
exports.ruleSet = _data;
|
|
139
265
|
});
|
|
140
266
|
|
|
@@ -143,7 +269,7 @@ var require_endpointResolver = __commonJS((exports) => {
|
|
|
143
269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
144
270
|
exports.defaultEndpointResolver = undefined;
|
|
145
271
|
var util_endpoints_1 = require_dist_cjs14();
|
|
146
|
-
var util_endpoints_2 =
|
|
272
|
+
var util_endpoints_2 = require_dist_cjs13();
|
|
147
273
|
var ruleset_1 = require_ruleset();
|
|
148
274
|
var cache = new util_endpoints_2.EndpointCache({
|
|
149
275
|
size: 50,
|
|
@@ -159,19 +285,237 @@ var require_endpointResolver = __commonJS((exports) => {
|
|
|
159
285
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
160
286
|
});
|
|
161
287
|
|
|
288
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js
|
|
289
|
+
var require_SigninServiceException = __commonJS((exports) => {
|
|
290
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
291
|
+
exports.SigninServiceException = exports.__ServiceException = undefined;
|
|
292
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
293
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() {
|
|
294
|
+
return smithy_client_1.ServiceException;
|
|
295
|
+
} });
|
|
296
|
+
|
|
297
|
+
class SigninServiceException extends smithy_client_1.ServiceException {
|
|
298
|
+
constructor(options) {
|
|
299
|
+
super(options);
|
|
300
|
+
Object.setPrototypeOf(this, SigninServiceException.prototype);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
exports.SigninServiceException = SigninServiceException;
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js
|
|
307
|
+
var require_errors = __commonJS((exports) => {
|
|
308
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
309
|
+
exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.AccessDeniedException = undefined;
|
|
310
|
+
var SigninServiceException_1 = require_SigninServiceException();
|
|
311
|
+
|
|
312
|
+
class AccessDeniedException extends SigninServiceException_1.SigninServiceException {
|
|
313
|
+
name = "AccessDeniedException";
|
|
314
|
+
$fault = "client";
|
|
315
|
+
error;
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "AccessDeniedException",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts
|
|
321
|
+
});
|
|
322
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
323
|
+
this.error = opts.error;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
327
|
+
|
|
328
|
+
class InternalServerException extends SigninServiceException_1.SigninServiceException {
|
|
329
|
+
name = "InternalServerException";
|
|
330
|
+
$fault = "server";
|
|
331
|
+
error;
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "InternalServerException",
|
|
335
|
+
$fault: "server",
|
|
336
|
+
...opts
|
|
337
|
+
});
|
|
338
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
339
|
+
this.error = opts.error;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
exports.InternalServerException = InternalServerException;
|
|
343
|
+
|
|
344
|
+
class TooManyRequestsError extends SigninServiceException_1.SigninServiceException {
|
|
345
|
+
name = "TooManyRequestsError";
|
|
346
|
+
$fault = "client";
|
|
347
|
+
error;
|
|
348
|
+
constructor(opts) {
|
|
349
|
+
super({
|
|
350
|
+
name: "TooManyRequestsError",
|
|
351
|
+
$fault: "client",
|
|
352
|
+
...opts
|
|
353
|
+
});
|
|
354
|
+
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
355
|
+
this.error = opts.error;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
exports.TooManyRequestsError = TooManyRequestsError;
|
|
359
|
+
|
|
360
|
+
class ValidationException extends SigninServiceException_1.SigninServiceException {
|
|
361
|
+
name = "ValidationException";
|
|
362
|
+
$fault = "client";
|
|
363
|
+
error;
|
|
364
|
+
constructor(opts) {
|
|
365
|
+
super({
|
|
366
|
+
name: "ValidationException",
|
|
367
|
+
$fault: "client",
|
|
368
|
+
...opts
|
|
369
|
+
});
|
|
370
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
371
|
+
this.error = opts.error;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
exports.ValidationException = ValidationException;
|
|
375
|
+
});
|
|
376
|
+
|
|
377
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js
|
|
378
|
+
var require_schemas_0 = __commonJS((exports) => {
|
|
379
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
380
|
+
exports.CreateOAuth2Token$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = undefined;
|
|
381
|
+
var _ADE = "AccessDeniedException";
|
|
382
|
+
var _AT = "AccessToken";
|
|
383
|
+
var _COAT = "CreateOAuth2Token";
|
|
384
|
+
var _COATR = "CreateOAuth2TokenRequest";
|
|
385
|
+
var _COATRB = "CreateOAuth2TokenRequestBody";
|
|
386
|
+
var _COATRBr = "CreateOAuth2TokenResponseBody";
|
|
387
|
+
var _COATRr = "CreateOAuth2TokenResponse";
|
|
388
|
+
var _ISE = "InternalServerException";
|
|
389
|
+
var _RT = "RefreshToken";
|
|
390
|
+
var _TMRE = "TooManyRequestsError";
|
|
391
|
+
var _VE = "ValidationException";
|
|
392
|
+
var _aKI = "accessKeyId";
|
|
393
|
+
var _aT = "accessToken";
|
|
394
|
+
var _c = "client";
|
|
395
|
+
var _cI = "clientId";
|
|
396
|
+
var _cV = "codeVerifier";
|
|
397
|
+
var _co = "code";
|
|
398
|
+
var _e = "error";
|
|
399
|
+
var _eI = "expiresIn";
|
|
400
|
+
var _gT = "grantType";
|
|
401
|
+
var _h = "http";
|
|
402
|
+
var _hE = "httpError";
|
|
403
|
+
var _iT = "idToken";
|
|
404
|
+
var _jN = "jsonName";
|
|
405
|
+
var _m = "message";
|
|
406
|
+
var _rT = "refreshToken";
|
|
407
|
+
var _rU = "redirectUri";
|
|
408
|
+
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
|
|
409
|
+
var _sAK = "secretAccessKey";
|
|
410
|
+
var _sT = "sessionToken";
|
|
411
|
+
var _se = "server";
|
|
412
|
+
var _tI = "tokenInput";
|
|
413
|
+
var _tO = "tokenOutput";
|
|
414
|
+
var _tT = "tokenType";
|
|
415
|
+
var n0 = "com.amazonaws.signin";
|
|
416
|
+
var schema_1 = require_schema();
|
|
417
|
+
var errors_1 = require_errors();
|
|
418
|
+
var SigninServiceException_1 = require_SigninServiceException();
|
|
419
|
+
var _s_registry = schema_1.TypeRegistry.for(_s);
|
|
420
|
+
exports.SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
|
|
421
|
+
_s_registry.registerError(exports.SigninServiceException$, SigninServiceException_1.SigninServiceException);
|
|
422
|
+
var n0_registry = schema_1.TypeRegistry.for(n0);
|
|
423
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0], 2];
|
|
424
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
425
|
+
exports.InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _m], [0, 0], 2];
|
|
426
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
427
|
+
exports.TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0], 2];
|
|
428
|
+
n0_registry.registerError(exports.TooManyRequestsError$, errors_1.TooManyRequestsError);
|
|
429
|
+
exports.ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0], 2];
|
|
430
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
431
|
+
exports.errorTypeRegistries = [_s_registry, n0_registry];
|
|
432
|
+
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
433
|
+
exports.AccessToken$ = [
|
|
434
|
+
3,
|
|
435
|
+
n0,
|
|
436
|
+
_AT,
|
|
437
|
+
8,
|
|
438
|
+
[_aKI, _sAK, _sT],
|
|
439
|
+
[
|
|
440
|
+
[0, { [_jN]: _aKI }],
|
|
441
|
+
[0, { [_jN]: _sAK }],
|
|
442
|
+
[0, { [_jN]: _sT }]
|
|
443
|
+
],
|
|
444
|
+
3
|
|
445
|
+
];
|
|
446
|
+
exports.CreateOAuth2TokenRequest$ = [
|
|
447
|
+
3,
|
|
448
|
+
n0,
|
|
449
|
+
_COATR,
|
|
450
|
+
0,
|
|
451
|
+
[_tI],
|
|
452
|
+
[[() => exports.CreateOAuth2TokenRequestBody$, 16]],
|
|
453
|
+
1
|
|
454
|
+
];
|
|
455
|
+
exports.CreateOAuth2TokenRequestBody$ = [
|
|
456
|
+
3,
|
|
457
|
+
n0,
|
|
458
|
+
_COATRB,
|
|
459
|
+
0,
|
|
460
|
+
[_cI, _gT, _co, _rU, _cV, _rT],
|
|
461
|
+
[
|
|
462
|
+
[0, { [_jN]: _cI }],
|
|
463
|
+
[0, { [_jN]: _gT }],
|
|
464
|
+
0,
|
|
465
|
+
[0, { [_jN]: _rU }],
|
|
466
|
+
[0, { [_jN]: _cV }],
|
|
467
|
+
[() => RefreshToken, { [_jN]: _rT }]
|
|
468
|
+
],
|
|
469
|
+
2
|
|
470
|
+
];
|
|
471
|
+
exports.CreateOAuth2TokenResponse$ = [
|
|
472
|
+
3,
|
|
473
|
+
n0,
|
|
474
|
+
_COATRr,
|
|
475
|
+
0,
|
|
476
|
+
[_tO],
|
|
477
|
+
[[() => exports.CreateOAuth2TokenResponseBody$, 16]],
|
|
478
|
+
1
|
|
479
|
+
];
|
|
480
|
+
exports.CreateOAuth2TokenResponseBody$ = [
|
|
481
|
+
3,
|
|
482
|
+
n0,
|
|
483
|
+
_COATRBr,
|
|
484
|
+
0,
|
|
485
|
+
[_aT, _tT, _eI, _rT, _iT],
|
|
486
|
+
[
|
|
487
|
+
[() => exports.AccessToken$, { [_jN]: _aT }],
|
|
488
|
+
[0, { [_jN]: _tT }],
|
|
489
|
+
[1, { [_jN]: _eI }],
|
|
490
|
+
[() => RefreshToken, { [_jN]: _rT }],
|
|
491
|
+
[0, { [_jN]: _iT }]
|
|
492
|
+
],
|
|
493
|
+
4
|
|
494
|
+
];
|
|
495
|
+
exports.CreateOAuth2Token$ = [
|
|
496
|
+
9,
|
|
497
|
+
n0,
|
|
498
|
+
_COAT,
|
|
499
|
+
{ [_h]: ["POST", "/v1/token", 200] },
|
|
500
|
+
() => exports.CreateOAuth2TokenRequest$,
|
|
501
|
+
() => exports.CreateOAuth2TokenResponse$
|
|
502
|
+
];
|
|
503
|
+
});
|
|
504
|
+
|
|
162
505
|
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js
|
|
163
506
|
var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
164
507
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
165
508
|
exports.getRuntimeConfig = undefined;
|
|
166
|
-
var core_1 =
|
|
509
|
+
var core_1 = require_dist_cjs9();
|
|
167
510
|
var protocols_1 = require_protocols();
|
|
168
|
-
var core_2 =
|
|
169
|
-
var smithy_client_1 =
|
|
170
|
-
var url_parser_1 =
|
|
511
|
+
var core_2 = require_dist_cjs7();
|
|
512
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
513
|
+
var url_parser_1 = require_dist_cjs6();
|
|
171
514
|
var util_base64_1 = require_dist_cjs4();
|
|
172
515
|
var util_utf8_1 = require_dist_cjs3();
|
|
173
516
|
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
174
517
|
var endpointResolver_1 = require_endpointResolver();
|
|
518
|
+
var schemas_0_1 = require_schemas_0();
|
|
175
519
|
var getRuntimeConfig = (config) => {
|
|
176
520
|
return {
|
|
177
521
|
apiVersion: "2023-01-01",
|
|
@@ -197,6 +541,7 @@ var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
|
197
541
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
198
542
|
protocolSettings: config?.protocolSettings ?? {
|
|
199
543
|
defaultNamespace: "com.amazonaws.signin",
|
|
544
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
200
545
|
version: "2023-01-01",
|
|
201
546
|
serviceTarget: "Signin"
|
|
202
547
|
},
|
|
@@ -215,17 +560,17 @@ var require_runtimeConfig = __commonJS((exports) => {
|
|
|
215
560
|
exports.getRuntimeConfig = undefined;
|
|
216
561
|
var tslib_1 = require_tslib();
|
|
217
562
|
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
218
|
-
var core_1 =
|
|
563
|
+
var core_1 = require_dist_cjs9();
|
|
219
564
|
var util_user_agent_node_1 = require_dist_cjs22();
|
|
220
|
-
var config_resolver_1 =
|
|
565
|
+
var config_resolver_1 = require_dist_cjs17();
|
|
221
566
|
var hash_node_1 = require_dist_cjs23();
|
|
222
567
|
var middleware_retry_1 = require_dist_cjs21();
|
|
223
|
-
var node_config_provider_1 =
|
|
568
|
+
var node_config_provider_1 = require_dist_cjs19();
|
|
224
569
|
var node_http_handler_1 = require_dist_cjs5();
|
|
225
|
-
var smithy_client_1 =
|
|
570
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
226
571
|
var util_body_length_node_1 = require_dist_cjs24();
|
|
227
572
|
var util_defaults_mode_node_1 = require_dist_cjs25();
|
|
228
|
-
var util_retry_1 =
|
|
573
|
+
var util_retry_1 = require_dist_cjs15();
|
|
229
574
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
230
575
|
var getRuntimeConfig = (config) => {
|
|
231
576
|
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
@@ -264,21 +609,24 @@ var require_runtimeConfig = __commonJS((exports) => {
|
|
|
264
609
|
|
|
265
610
|
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
|
|
266
611
|
var require_signin = __commonJS((exports) => {
|
|
267
|
-
var middlewareHostHeader =
|
|
268
|
-
var middlewareLogger =
|
|
269
|
-
var middlewareRecursionDetection =
|
|
270
|
-
var middlewareUserAgent =
|
|
271
|
-
var configResolver =
|
|
272
|
-
var core =
|
|
612
|
+
var middlewareHostHeader = require_dist_cjs10();
|
|
613
|
+
var middlewareLogger = require_dist_cjs11();
|
|
614
|
+
var middlewareRecursionDetection = require_dist_cjs12();
|
|
615
|
+
var middlewareUserAgent = require_dist_cjs16();
|
|
616
|
+
var configResolver = require_dist_cjs17();
|
|
617
|
+
var core = require_dist_cjs7();
|
|
273
618
|
var schema = require_schema();
|
|
274
|
-
var middlewareContentLength =
|
|
275
|
-
var middlewareEndpoint =
|
|
619
|
+
var middlewareContentLength = require_dist_cjs18();
|
|
620
|
+
var middlewareEndpoint = require_dist_cjs20();
|
|
276
621
|
var middlewareRetry = require_dist_cjs21();
|
|
277
|
-
var smithyClient =
|
|
622
|
+
var smithyClient = require_dist_cjs8();
|
|
278
623
|
var httpAuthSchemeProvider = require_httpAuthSchemeProvider();
|
|
279
624
|
var runtimeConfig = require_runtimeConfig();
|
|
280
625
|
var regionConfigResolver = require_dist_cjs26();
|
|
281
626
|
var protocolHttp = require_dist_cjs();
|
|
627
|
+
var schemas_0 = require_schemas_0();
|
|
628
|
+
var errors = require_errors();
|
|
629
|
+
var SigninServiceException = require_SigninServiceException();
|
|
282
630
|
var resolveClientEndpointParameters = (options) => {
|
|
283
631
|
return Object.assign(options, {
|
|
284
632
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -370,187 +718,9 @@ var require_signin = __commonJS((exports) => {
|
|
|
370
718
|
}
|
|
371
719
|
}
|
|
372
720
|
|
|
373
|
-
class SigninServiceException extends smithyClient.ServiceException {
|
|
374
|
-
constructor(options) {
|
|
375
|
-
super(options);
|
|
376
|
-
Object.setPrototypeOf(this, SigninServiceException.prototype);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
class AccessDeniedException extends SigninServiceException {
|
|
381
|
-
name = "AccessDeniedException";
|
|
382
|
-
$fault = "client";
|
|
383
|
-
error;
|
|
384
|
-
constructor(opts) {
|
|
385
|
-
super({
|
|
386
|
-
name: "AccessDeniedException",
|
|
387
|
-
$fault: "client",
|
|
388
|
-
...opts
|
|
389
|
-
});
|
|
390
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
391
|
-
this.error = opts.error;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
class InternalServerException extends SigninServiceException {
|
|
396
|
-
name = "InternalServerException";
|
|
397
|
-
$fault = "server";
|
|
398
|
-
error;
|
|
399
|
-
constructor(opts) {
|
|
400
|
-
super({
|
|
401
|
-
name: "InternalServerException",
|
|
402
|
-
$fault: "server",
|
|
403
|
-
...opts
|
|
404
|
-
});
|
|
405
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
406
|
-
this.error = opts.error;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
class TooManyRequestsError extends SigninServiceException {
|
|
411
|
-
name = "TooManyRequestsError";
|
|
412
|
-
$fault = "client";
|
|
413
|
-
error;
|
|
414
|
-
constructor(opts) {
|
|
415
|
-
super({
|
|
416
|
-
name: "TooManyRequestsError",
|
|
417
|
-
$fault: "client",
|
|
418
|
-
...opts
|
|
419
|
-
});
|
|
420
|
-
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
421
|
-
this.error = opts.error;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
class ValidationException extends SigninServiceException {
|
|
426
|
-
name = "ValidationException";
|
|
427
|
-
$fault = "client";
|
|
428
|
-
error;
|
|
429
|
-
constructor(opts) {
|
|
430
|
-
super({
|
|
431
|
-
name: "ValidationException",
|
|
432
|
-
$fault: "client",
|
|
433
|
-
...opts
|
|
434
|
-
});
|
|
435
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
436
|
-
this.error = opts.error;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
var _ADE = "AccessDeniedException";
|
|
440
|
-
var _AT = "AccessToken";
|
|
441
|
-
var _COAT = "CreateOAuth2Token";
|
|
442
|
-
var _COATR = "CreateOAuth2TokenRequest";
|
|
443
|
-
var _COATRB = "CreateOAuth2TokenRequestBody";
|
|
444
|
-
var _COATRBr = "CreateOAuth2TokenResponseBody";
|
|
445
|
-
var _COATRr = "CreateOAuth2TokenResponse";
|
|
446
|
-
var _ISE = "InternalServerException";
|
|
447
|
-
var _RT = "RefreshToken";
|
|
448
|
-
var _TMRE = "TooManyRequestsError";
|
|
449
|
-
var _VE = "ValidationException";
|
|
450
|
-
var _aKI = "accessKeyId";
|
|
451
|
-
var _aT = "accessToken";
|
|
452
|
-
var _c = "client";
|
|
453
|
-
var _cI = "clientId";
|
|
454
|
-
var _cV = "codeVerifier";
|
|
455
|
-
var _co = "code";
|
|
456
|
-
var _e = "error";
|
|
457
|
-
var _eI = "expiresIn";
|
|
458
|
-
var _gT = "grantType";
|
|
459
|
-
var _h = "http";
|
|
460
|
-
var _hE = "httpError";
|
|
461
|
-
var _iT = "idToken";
|
|
462
|
-
var _jN = "jsonName";
|
|
463
|
-
var _m = "message";
|
|
464
|
-
var _rT = "refreshToken";
|
|
465
|
-
var _rU = "redirectUri";
|
|
466
|
-
var _s = "server";
|
|
467
|
-
var _sAK = "secretAccessKey";
|
|
468
|
-
var _sT = "sessionToken";
|
|
469
|
-
var _sm = "smithy.ts.sdk.synthetic.com.amazonaws.signin";
|
|
470
|
-
var _tI = "tokenInput";
|
|
471
|
-
var _tO = "tokenOutput";
|
|
472
|
-
var _tT = "tokenType";
|
|
473
|
-
var n0 = "com.amazonaws.signin";
|
|
474
|
-
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
475
|
-
var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c }, [_e, _m], [0, 0]];
|
|
476
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
477
|
-
var AccessToken$ = [
|
|
478
|
-
3,
|
|
479
|
-
n0,
|
|
480
|
-
_AT,
|
|
481
|
-
8,
|
|
482
|
-
[_aKI, _sAK, _sT],
|
|
483
|
-
[
|
|
484
|
-
[0, { [_jN]: _aKI }],
|
|
485
|
-
[0, { [_jN]: _sAK }],
|
|
486
|
-
[0, { [_jN]: _sT }]
|
|
487
|
-
]
|
|
488
|
-
];
|
|
489
|
-
var CreateOAuth2TokenRequest$ = [
|
|
490
|
-
3,
|
|
491
|
-
n0,
|
|
492
|
-
_COATR,
|
|
493
|
-
0,
|
|
494
|
-
[_tI],
|
|
495
|
-
[[() => CreateOAuth2TokenRequestBody$, 16]]
|
|
496
|
-
];
|
|
497
|
-
var CreateOAuth2TokenRequestBody$ = [
|
|
498
|
-
3,
|
|
499
|
-
n0,
|
|
500
|
-
_COATRB,
|
|
501
|
-
0,
|
|
502
|
-
[_cI, _gT, _co, _rU, _cV, _rT],
|
|
503
|
-
[
|
|
504
|
-
[0, { [_jN]: _cI }],
|
|
505
|
-
[0, { [_jN]: _gT }],
|
|
506
|
-
0,
|
|
507
|
-
[0, { [_jN]: _rU }],
|
|
508
|
-
[0, { [_jN]: _cV }],
|
|
509
|
-
[() => RefreshToken, { [_jN]: _rT }]
|
|
510
|
-
]
|
|
511
|
-
];
|
|
512
|
-
var CreateOAuth2TokenResponse$ = [
|
|
513
|
-
3,
|
|
514
|
-
n0,
|
|
515
|
-
_COATRr,
|
|
516
|
-
0,
|
|
517
|
-
[_tO],
|
|
518
|
-
[[() => CreateOAuth2TokenResponseBody$, 16]]
|
|
519
|
-
];
|
|
520
|
-
var CreateOAuth2TokenResponseBody$ = [
|
|
521
|
-
3,
|
|
522
|
-
n0,
|
|
523
|
-
_COATRBr,
|
|
524
|
-
0,
|
|
525
|
-
[_aT, _tT, _eI, _rT, _iT],
|
|
526
|
-
[
|
|
527
|
-
[() => AccessToken$, { [_jN]: _aT }],
|
|
528
|
-
[0, { [_jN]: _tT }],
|
|
529
|
-
[1, { [_jN]: _eI }],
|
|
530
|
-
[() => RefreshToken, { [_jN]: _rT }],
|
|
531
|
-
[0, { [_jN]: _iT }]
|
|
532
|
-
]
|
|
533
|
-
];
|
|
534
|
-
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_e, _m], [0, 0]];
|
|
535
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
536
|
-
var TooManyRequestsError$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_e, _m], [0, 0]];
|
|
537
|
-
schema.TypeRegistry.for(n0).registerError(TooManyRequestsError$, TooManyRequestsError);
|
|
538
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_e, _m], [0, 0]];
|
|
539
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
540
|
-
var SigninServiceException$ = [-3, _sm, "SigninServiceException", 0, [], []];
|
|
541
|
-
schema.TypeRegistry.for(_sm).registerError(SigninServiceException$, SigninServiceException);
|
|
542
|
-
var CreateOAuth2Token$ = [
|
|
543
|
-
9,
|
|
544
|
-
n0,
|
|
545
|
-
_COAT,
|
|
546
|
-
{ [_h]: ["POST", "/v1/token", 200] },
|
|
547
|
-
() => CreateOAuth2TokenRequest$,
|
|
548
|
-
() => CreateOAuth2TokenResponse$
|
|
549
|
-
];
|
|
550
|
-
|
|
551
721
|
class CreateOAuth2TokenCommand extends smithyClient.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
552
722
|
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
553
|
-
}).s("Signin", "CreateOAuth2Token", {}).n("SigninClient", "CreateOAuth2TokenCommand").sc(CreateOAuth2Token$).build() {
|
|
723
|
+
}).s("Signin", "CreateOAuth2Token", {}).n("SigninClient", "CreateOAuth2TokenCommand").sc(schemas_0.CreateOAuth2Token$).build() {
|
|
554
724
|
}
|
|
555
725
|
var commands = {
|
|
556
726
|
CreateOAuth2TokenCommand
|
|
@@ -567,37 +737,28 @@ var require_signin = __commonJS((exports) => {
|
|
|
567
737
|
TOKEN_EXPIRED: "TOKEN_EXPIRED",
|
|
568
738
|
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"
|
|
569
739
|
};
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
return smithyClient.Command;
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
Object.defineProperty(exports, "__Client", {
|
|
577
|
-
enumerable: true,
|
|
578
|
-
get: function() {
|
|
579
|
-
return smithyClient.Client;
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
583
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
584
|
-
exports.AccessToken$ = AccessToken$;
|
|
585
|
-
exports.CreateOAuth2Token$ = CreateOAuth2Token$;
|
|
740
|
+
exports.$Command = smithyClient.Command;
|
|
741
|
+
exports.__Client = smithyClient.Client;
|
|
742
|
+
exports.SigninServiceException = SigninServiceException.SigninServiceException;
|
|
586
743
|
exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand;
|
|
587
|
-
exports.CreateOAuth2TokenRequest$ = CreateOAuth2TokenRequest$;
|
|
588
|
-
exports.CreateOAuth2TokenRequestBody$ = CreateOAuth2TokenRequestBody$;
|
|
589
|
-
exports.CreateOAuth2TokenResponse$ = CreateOAuth2TokenResponse$;
|
|
590
|
-
exports.CreateOAuth2TokenResponseBody$ = CreateOAuth2TokenResponseBody$;
|
|
591
|
-
exports.InternalServerException = InternalServerException;
|
|
592
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
593
744
|
exports.OAuth2ErrorCode = OAuth2ErrorCode;
|
|
594
745
|
exports.Signin = Signin;
|
|
595
746
|
exports.SigninClient = SigninClient;
|
|
596
|
-
exports.
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
747
|
+
Object.prototype.hasOwnProperty.call(schemas_0, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
748
|
+
enumerable: true,
|
|
749
|
+
value: schemas_0["__proto__"]
|
|
750
|
+
});
|
|
751
|
+
Object.keys(schemas_0).forEach(function(k) {
|
|
752
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
753
|
+
exports[k] = schemas_0[k];
|
|
754
|
+
});
|
|
755
|
+
Object.prototype.hasOwnProperty.call(errors, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
756
|
+
enumerable: true,
|
|
757
|
+
value: errors["__proto__"]
|
|
758
|
+
});
|
|
759
|
+
Object.keys(errors).forEach(function(k) {
|
|
760
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
761
|
+
exports[k] = errors[k];
|
|
762
|
+
});
|
|
602
763
|
});
|
|
603
764
|
export default require_signin();
|