@scalar/api-reference 1.20.17 → 1.20.18
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/index.js
CHANGED
|
@@ -27257,7 +27257,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27257
27257
|
}), JI = {
|
|
27258
27258
|
key: 0,
|
|
27259
27259
|
class: "scalar-api-client__empty-state"
|
|
27260
|
-
},
|
|
27260
|
+
}, e3 = /* @__PURE__ */ A("svg", {
|
|
27261
27261
|
class: "flow-icon",
|
|
27262
27262
|
"data-v-aa4fbd2d": "",
|
|
27263
27263
|
height: "100%",
|
|
@@ -27273,7 +27273,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27273
27273
|
"stroke-width": "3.429",
|
|
27274
27274
|
xmlns: "http://www.w3.org/2000/svg"
|
|
27275
27275
|
})
|
|
27276
|
-
], -1),
|
|
27276
|
+
], -1), t3 = /* @__PURE__ */ H({
|
|
27277
27277
|
__name: "RequestQuery",
|
|
27278
27278
|
props: {
|
|
27279
27279
|
queries: {},
|
|
@@ -27312,7 +27312,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27312
27312
|
type: "button",
|
|
27313
27313
|
onClick: s
|
|
27314
27314
|
}, [
|
|
27315
|
-
|
|
27315
|
+
e3,
|
|
27316
27316
|
G(" Query Parameter ")
|
|
27317
27317
|
])
|
|
27318
27318
|
]))
|
|
@@ -27320,10 +27320,10 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27320
27320
|
_: 1
|
|
27321
27321
|
}, 8, ["defaultOpen"]));
|
|
27322
27322
|
}
|
|
27323
|
-
}),
|
|
27323
|
+
}), r3 = {
|
|
27324
27324
|
key: 0,
|
|
27325
27325
|
class: "scalar-api-client__empty-state"
|
|
27326
|
-
},
|
|
27326
|
+
}, n3 = /* @__PURE__ */ A("svg", {
|
|
27327
27327
|
class: "flow-icon",
|
|
27328
27328
|
"data-v-aa4fbd2d": "",
|
|
27329
27329
|
height: "100%",
|
|
@@ -27339,7 +27339,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27339
27339
|
"stroke-width": "3.429",
|
|
27340
27340
|
xmlns: "http://www.w3.org/2000/svg"
|
|
27341
27341
|
})
|
|
27342
|
-
], -1),
|
|
27342
|
+
], -1), s3 = /* @__PURE__ */ H({
|
|
27343
27343
|
__name: "RequestVariables",
|
|
27344
27344
|
props: {
|
|
27345
27345
|
variables: {}
|
|
@@ -27359,13 +27359,13 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27359
27359
|
title: "Variables"
|
|
27360
27360
|
}, {
|
|
27361
27361
|
default: C(() => [
|
|
27362
|
-
!s.variables || s.variables.length === 0 ? (k(), Q("div",
|
|
27362
|
+
!s.variables || s.variables.length === 0 ? (k(), Q("div", r3, [
|
|
27363
27363
|
A("button", {
|
|
27364
27364
|
class: "scalar-api-client-add",
|
|
27365
27365
|
type: "button",
|
|
27366
27366
|
onClick: n
|
|
27367
27367
|
}, [
|
|
27368
|
-
|
|
27368
|
+
n3,
|
|
27369
27369
|
G(" Variable ")
|
|
27370
27370
|
])
|
|
27371
27371
|
])) : (k(), q(w(tl), {
|
|
@@ -27380,7 +27380,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27380
27380
|
_: 1
|
|
27381
27381
|
}, 8, ["defaultOpen"]));
|
|
27382
27382
|
}
|
|
27383
|
-
}),
|
|
27383
|
+
}), i3 = { class: "scalar-api-client__main__left custom-scroll" }, o3 = { class: "scalar-api-client__main__content" }, a3 = /* @__PURE__ */ A("label", null, "Request", -1), l3 = { class: "meta" }, c3 = { class: "meta-item meta-item__input" }, d3 = /* @__PURE__ */ A("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), u3 = !0, ny = /* @__PURE__ */ H({
|
|
27384
27384
|
__name: "Request",
|
|
27385
27385
|
setup(r) {
|
|
27386
27386
|
const { activeRequest: e } = yr(), { authentication: t } = hs(), {
|
|
@@ -27392,15 +27392,15 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27392
27392
|
((o = n == null ? void 0 : n.information) == null ? void 0 : o.security) ?? s
|
|
27393
27393
|
);
|
|
27394
27394
|
});
|
|
27395
|
-
return (o, a) => (k(), Q("div",
|
|
27396
|
-
A("div",
|
|
27397
|
-
|
|
27398
|
-
A("div",
|
|
27399
|
-
A("div",
|
|
27395
|
+
return (o, a) => (k(), Q("div", i3, [
|
|
27396
|
+
A("div", o3, [
|
|
27397
|
+
a3,
|
|
27398
|
+
A("div", l3, [
|
|
27399
|
+
A("div", c3, [
|
|
27400
27400
|
ct(A("input", {
|
|
27401
27401
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => w(e).name = l),
|
|
27402
27402
|
class: "scalar-api-client__request-name",
|
|
27403
|
-
disabled:
|
|
27403
|
+
disabled: u3,
|
|
27404
27404
|
placeholder: "Request Name",
|
|
27405
27405
|
type: "text"
|
|
27406
27406
|
}, null, 512), [
|
|
@@ -27410,7 +27410,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27410
27410
|
])
|
|
27411
27411
|
]),
|
|
27412
27412
|
A("div", null, [
|
|
27413
|
-
I(
|
|
27413
|
+
I(s3, {
|
|
27414
27414
|
variables: w(e).variables
|
|
27415
27415
|
}, null, 8, ["variables"]),
|
|
27416
27416
|
I(w(iI)),
|
|
@@ -27422,7 +27422,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27422
27422
|
generatedHeaders: i.value.headers,
|
|
27423
27423
|
headers: w(e).headers
|
|
27424
27424
|
}, null, 8, ["generatedHeaders", "headers"]),
|
|
27425
|
-
I(
|
|
27425
|
+
I(t3, {
|
|
27426
27426
|
generatedQueries: i.value.queryString,
|
|
27427
27427
|
queries: w(e).query
|
|
27428
27428
|
}, null, 8, ["generatedQueries", "queries"]),
|
|
@@ -27431,7 +27431,7 @@ const WZ = /* @__PURE__ */ te(MZ, [["render", XZ], ["__scopeId", "data-v-616daee
|
|
|
27431
27431
|
formData: w(e).formData,
|
|
27432
27432
|
requestBody: w(e).body
|
|
27433
27433
|
}, null, 8, ["body", "formData", "requestBody"]),
|
|
27434
|
-
|
|
27434
|
+
d3
|
|
27435
27435
|
])
|
|
27436
27436
|
]));
|
|
27437
27437
|
}
|
|
@@ -27442,10 +27442,10 @@ var tm = {};
|
|
|
27442
27442
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
27443
27443
|
* MIT Licensed
|
|
27444
27444
|
*/
|
|
27445
|
-
var sy = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,
|
|
27446
|
-
tm.format =
|
|
27447
|
-
tm.parse =
|
|
27448
|
-
function
|
|
27445
|
+
var sy = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, h3 = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, Yw = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, f3 = /\\([\u000b\u0020-\u00ff])/g, p3 = /([\\"])/g, Lw = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
27446
|
+
tm.format = m3;
|
|
27447
|
+
tm.parse = g3;
|
|
27448
|
+
function m3(r) {
|
|
27449
27449
|
if (!r || typeof r != "object")
|
|
27450
27450
|
throw new TypeError("argument obj is required");
|
|
27451
27451
|
var e = r.parameters, t = r.type;
|
|
@@ -27456,56 +27456,56 @@ function mj(r) {
|
|
|
27456
27456
|
for (var s, i = Object.keys(e).sort(), o = 0; o < i.length; o++) {
|
|
27457
27457
|
if (s = i[o], !Yw.test(s))
|
|
27458
27458
|
throw new TypeError("invalid parameter name");
|
|
27459
|
-
n += "; " + s + "=" +
|
|
27459
|
+
n += "; " + s + "=" + y3(e[s]);
|
|
27460
27460
|
}
|
|
27461
27461
|
return n;
|
|
27462
27462
|
}
|
|
27463
|
-
function
|
|
27463
|
+
function g3(r) {
|
|
27464
27464
|
if (!r)
|
|
27465
27465
|
throw new TypeError("argument string is required");
|
|
27466
|
-
var e = typeof r == "object" ?
|
|
27466
|
+
var e = typeof r == "object" ? O3(r) : r;
|
|
27467
27467
|
if (typeof e != "string")
|
|
27468
27468
|
throw new TypeError("argument string is required to be a string");
|
|
27469
27469
|
var t = e.indexOf(";"), n = t !== -1 ? e.slice(0, t).trim() : e.trim();
|
|
27470
27470
|
if (!Lw.test(n))
|
|
27471
27471
|
throw new TypeError("invalid media type");
|
|
27472
|
-
var s = new
|
|
27472
|
+
var s = new b3(n.toLowerCase());
|
|
27473
27473
|
if (t !== -1) {
|
|
27474
27474
|
var i, o, a;
|
|
27475
27475
|
for (sy.lastIndex = t; o = sy.exec(e); ) {
|
|
27476
27476
|
if (o.index !== t)
|
|
27477
27477
|
throw new TypeError("invalid parameter format");
|
|
27478
|
-
t += o[0].length, i = o[1].toLowerCase(), a = o[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(
|
|
27478
|
+
t += o[0].length, i = o[1].toLowerCase(), a = o[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(f3, "$1"))), s.parameters[i] = a;
|
|
27479
27479
|
}
|
|
27480
27480
|
if (t !== e.length)
|
|
27481
27481
|
throw new TypeError("invalid parameter format");
|
|
27482
27482
|
}
|
|
27483
27483
|
return s;
|
|
27484
27484
|
}
|
|
27485
|
-
function
|
|
27485
|
+
function O3(r) {
|
|
27486
27486
|
var e;
|
|
27487
27487
|
if (typeof r.getHeader == "function" ? e = r.getHeader("content-type") : typeof r.headers == "object" && (e = r.headers && r.headers["content-type"]), typeof e != "string")
|
|
27488
27488
|
throw new TypeError("content-type header is missing from object");
|
|
27489
27489
|
return e;
|
|
27490
27490
|
}
|
|
27491
|
-
function
|
|
27491
|
+
function y3(r) {
|
|
27492
27492
|
var e = String(r);
|
|
27493
27493
|
if (Yw.test(e))
|
|
27494
27494
|
return e;
|
|
27495
|
-
if (e.length > 0 && !
|
|
27495
|
+
if (e.length > 0 && !h3.test(e))
|
|
27496
27496
|
throw new TypeError("invalid parameter value");
|
|
27497
|
-
return '"' + e.replace(
|
|
27497
|
+
return '"' + e.replace(p3, "\\$1") + '"';
|
|
27498
27498
|
}
|
|
27499
|
-
function
|
|
27499
|
+
function b3(r) {
|
|
27500
27500
|
this.parameters = /* @__PURE__ */ Object.create(null), this.type = r;
|
|
27501
27501
|
}
|
|
27502
|
-
const
|
|
27502
|
+
const v3 = {
|
|
27503
27503
|
key: 1,
|
|
27504
27504
|
class: "scalar-api-client__empty-state"
|
|
27505
|
-
},
|
|
27505
|
+
}, w3 = {
|
|
27506
27506
|
key: 1,
|
|
27507
27507
|
class: "scalar-api-client__empty-state"
|
|
27508
|
-
},
|
|
27508
|
+
}, S3 = /* @__PURE__ */ H({
|
|
27509
27509
|
__name: "ResponseBody",
|
|
27510
27510
|
props: {
|
|
27511
27511
|
active: { type: Boolean, default: !1 },
|
|
@@ -27533,19 +27533,19 @@ const vj = {
|
|
|
27533
27533
|
class: "custom-scroll",
|
|
27534
27534
|
content: s.data,
|
|
27535
27535
|
lang: n.value
|
|
27536
|
-
}, null, 8, ["content", "lang"])) : (k(), Q("div",
|
|
27536
|
+
}, null, 8, ["content", "lang"])) : (k(), Q("div", v3, [
|
|
27537
27537
|
t.value ? (k(), Q(J, { key: 0 }, [
|
|
27538
27538
|
G(" No Preview Available (" + K(t.value) + ") ", 1)
|
|
27539
27539
|
], 64)) : (k(), Q(J, { key: 1 }, [
|
|
27540
27540
|
G(" Can’t render a preview. The Content-Type header is missing or unknown. ")
|
|
27541
27541
|
], 64))
|
|
27542
27542
|
]))
|
|
27543
|
-
], 64)) : (k(), Q("div",
|
|
27543
|
+
], 64)) : (k(), Q("div", w3, " No Response "))
|
|
27544
27544
|
]),
|
|
27545
27545
|
_: 1
|
|
27546
27546
|
}));
|
|
27547
27547
|
}
|
|
27548
|
-
}),
|
|
27548
|
+
}), k3 = ["href"], $3 = /* @__PURE__ */ H({
|
|
27549
27549
|
__name: "HelpfulLink",
|
|
27550
27550
|
props: {
|
|
27551
27551
|
href: {}
|
|
@@ -27557,9 +27557,9 @@ const vj = {
|
|
|
27557
27557
|
target: "_blank"
|
|
27558
27558
|
}, [
|
|
27559
27559
|
ee(e.$slots, "default", {}, void 0, !0)
|
|
27560
|
-
], 8,
|
|
27560
|
+
], 8, k3));
|
|
27561
27561
|
}
|
|
27562
|
-
}), Bw = /* @__PURE__ */ te($
|
|
27562
|
+
}), Bw = /* @__PURE__ */ te($3, [["__scopeId", "data-v-d11ff062"]]), P3 = /* @__PURE__ */ H({
|
|
27563
27563
|
__name: "SimpleCell",
|
|
27564
27564
|
props: {
|
|
27565
27565
|
wrap: { type: Boolean, default: !0 },
|
|
@@ -27581,7 +27581,7 @@ const vj = {
|
|
|
27581
27581
|
}, 8, ["href"])) : ee(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
27582
27582
|
], 2));
|
|
27583
27583
|
}
|
|
27584
|
-
}), _f = /* @__PURE__ */ te(
|
|
27584
|
+
}), _f = /* @__PURE__ */ te(P3, [["__scopeId", "data-v-01fffd78"]]), _3 = /* @__PURE__ */ H({
|
|
27585
27585
|
__name: "SimpleHeader",
|
|
27586
27586
|
setup(r) {
|
|
27587
27587
|
return (e, t) => (k(), q(_f, {
|
|
@@ -27594,22 +27594,22 @@ const vj = {
|
|
|
27594
27594
|
_: 3
|
|
27595
27595
|
}));
|
|
27596
27596
|
}
|
|
27597
|
-
}), iy = /* @__PURE__ */ te(
|
|
27598
|
-
function
|
|
27599
|
-
return k(), Q("tr",
|
|
27597
|
+
}), iy = /* @__PURE__ */ te(_3, [["__scopeId", "data-v-b2232089"]]), x3 = {}, Q3 = { class: "simple-row" };
|
|
27598
|
+
function T3(r, e) {
|
|
27599
|
+
return k(), Q("tr", Q3, [
|
|
27600
27600
|
ee(r.$slots, "default", {}, void 0, !0)
|
|
27601
27601
|
]);
|
|
27602
27602
|
}
|
|
27603
|
-
const oy = /* @__PURE__ */ te(
|
|
27604
|
-
function
|
|
27605
|
-
return k(), Q("table",
|
|
27603
|
+
const oy = /* @__PURE__ */ te(x3, [["render", T3], ["__scopeId", "data-v-0982ade4"]]), C3 = {}, A3 = { class: "simple-table" };
|
|
27604
|
+
function E3(r, e) {
|
|
27605
|
+
return k(), Q("table", A3, [
|
|
27606
27606
|
ee(r.$slots, "default", {}, void 0, !0)
|
|
27607
27607
|
]);
|
|
27608
27608
|
}
|
|
27609
|
-
const
|
|
27609
|
+
const R3 = /* @__PURE__ */ te(C3, [["render", E3], ["__scopeId", "data-v-28fcbcb6"]]), Z3 = {
|
|
27610
27610
|
key: 1,
|
|
27611
27611
|
class: "scalar-api-client__empty-state"
|
|
27612
|
-
},
|
|
27612
|
+
}, I3 = /* @__PURE__ */ H({
|
|
27613
27613
|
__name: "ResponseHeaders",
|
|
27614
27614
|
props: {
|
|
27615
27615
|
headers: {}
|
|
@@ -27621,7 +27621,7 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27621
27621
|
}, t = (n) => n.split("-").map((s) => s.charAt(0).toUpperCase() + s.slice(1)).join("-");
|
|
27622
27622
|
return (n, s) => (k(), q(w(An), { title: "Headers" }, {
|
|
27623
27623
|
default: C(() => [
|
|
27624
|
-
n.headers.length > 0 ? (k(), q(w(
|
|
27624
|
+
n.headers.length > 0 ? (k(), q(w(R3), { key: 0 }, {
|
|
27625
27625
|
default: C(() => [
|
|
27626
27626
|
I(w(oy), null, {
|
|
27627
27627
|
default: C(() => [
|
|
@@ -27665,12 +27665,12 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27665
27665
|
}, 1024))), 128))
|
|
27666
27666
|
]),
|
|
27667
27667
|
_: 1
|
|
27668
|
-
})) : (k(), Q("div",
|
|
27668
|
+
})) : (k(), Q("div", Z3, "No Headers"))
|
|
27669
27669
|
]),
|
|
27670
27670
|
_: 1
|
|
27671
27671
|
}));
|
|
27672
27672
|
}
|
|
27673
|
-
}),
|
|
27673
|
+
}), j3 = { class: "meta-item" }, N3 = { class: "meta-item" }, M3 = { class: "meta-item" }, D3 = /* @__PURE__ */ H({
|
|
27674
27674
|
__name: "ResponseMetaInformation",
|
|
27675
27675
|
props: {
|
|
27676
27676
|
response: {}
|
|
@@ -27689,13 +27689,13 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27689
27689
|
return (s, i) => {
|
|
27690
27690
|
var o, a;
|
|
27691
27691
|
return k(), Q(J, null, [
|
|
27692
|
-
A("div",
|
|
27692
|
+
A("div", j3, [
|
|
27693
27693
|
A("span", null, K(w(Sw)(s.response.duration)), 1)
|
|
27694
27694
|
]),
|
|
27695
|
-
A("div",
|
|
27695
|
+
A("div", N3, [
|
|
27696
27696
|
A("span", null, K(t(s.response)), 1)
|
|
27697
27697
|
]),
|
|
27698
|
-
A("div",
|
|
27698
|
+
A("div", M3, [
|
|
27699
27699
|
A("span", {
|
|
27700
27700
|
class: pe(`scalar-api-client__status scalar-api-client__status--${String(
|
|
27701
27701
|
s.response.statusCode
|
|
@@ -27717,15 +27717,15 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27717
27717
|
], 64);
|
|
27718
27718
|
};
|
|
27719
27719
|
}
|
|
27720
|
-
}),
|
|
27720
|
+
}), X3 = { class: "scalar-api-client__main__right custom-scroll" }, W3 = { class: "scalar-api-client__main__content" }, q3 = /* @__PURE__ */ A("label", null, "Response", -1), V3 = { class: "meta" }, z3 = {
|
|
27721
27721
|
key: 1,
|
|
27722
27722
|
class: "meta-item"
|
|
27723
|
-
},
|
|
27724
|
-
|
|
27725
|
-
],
|
|
27723
|
+
}, U3 = /* @__PURE__ */ A("span", null, "Send your first request to start", -1), Y3 = [
|
|
27724
|
+
U3
|
|
27725
|
+
], L3 = {
|
|
27726
27726
|
key: 0,
|
|
27727
27727
|
class: "scalar-api-client__empty-state"
|
|
27728
|
-
},
|
|
27728
|
+
}, B3 = /* @__PURE__ */ A("div", { class: "scalar-api-client__main__scroll-container" }, null, -1), ay = /* @__PURE__ */ H({
|
|
27729
27729
|
__name: "Response",
|
|
27730
27730
|
setup(r) {
|
|
27731
27731
|
const { activeResponse: e, activeRequestId: t } = yr(), n = ie(() => {
|
|
@@ -27746,37 +27746,37 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27746
27746
|
const o = (a = e.value) == null ? void 0 : a.data;
|
|
27747
27747
|
return o && xc(o) ? JSON.stringify(JSON.parse(o), null, 2) : o && typeof M$(o) == "object" || o && !xc(o) ? JSON.stringify(o, null, 2) : o;
|
|
27748
27748
|
});
|
|
27749
|
-
return (o, a) => (k(), Q("div",
|
|
27750
|
-
A("div",
|
|
27751
|
-
|
|
27752
|
-
A("div",
|
|
27753
|
-
w(t) && w(e) ? (k(), q(
|
|
27749
|
+
return (o, a) => (k(), Q("div", X3, [
|
|
27750
|
+
A("div", W3, [
|
|
27751
|
+
q3,
|
|
27752
|
+
A("div", V3, [
|
|
27753
|
+
w(t) && w(e) ? (k(), q(D3, {
|
|
27754
27754
|
key: 0,
|
|
27755
27755
|
response: w(e)
|
|
27756
|
-
}, null, 8, ["response"])) : (k(), Q("div",
|
|
27756
|
+
}, null, 8, ["response"])) : (k(), Q("div", z3, Y3))
|
|
27757
27757
|
])
|
|
27758
27758
|
]),
|
|
27759
27759
|
A("div", null, [
|
|
27760
|
-
I(
|
|
27760
|
+
I(S3, {
|
|
27761
27761
|
active: !!w(e),
|
|
27762
27762
|
data: i.value,
|
|
27763
27763
|
headers: n.value
|
|
27764
27764
|
}, null, 8, ["active", "data", "headers"]),
|
|
27765
|
-
I(
|
|
27765
|
+
I(I3, { headers: n.value }, null, 8, ["headers"]),
|
|
27766
27766
|
I(w(An), { title: "Cookies" }, {
|
|
27767
27767
|
default: C(() => [
|
|
27768
27768
|
ct(I(w(zI), { items: s.value }, null, 8, ["items"]), [
|
|
27769
27769
|
[Fr, s.value.length > 0]
|
|
27770
27770
|
]),
|
|
27771
|
-
s.value.length === 0 ? (k(), Q("div",
|
|
27771
|
+
s.value.length === 0 ? (k(), Q("div", L3, "No Cookies")) : B("", !0)
|
|
27772
27772
|
]),
|
|
27773
27773
|
_: 1
|
|
27774
27774
|
}),
|
|
27775
|
-
|
|
27775
|
+
B3
|
|
27776
27776
|
])
|
|
27777
27777
|
]));
|
|
27778
27778
|
}
|
|
27779
|
-
}),
|
|
27779
|
+
}), H3 = { class: "scalar-api-client__main" }, G3 = /* @__PURE__ */ H({
|
|
27780
27780
|
__name: "ApiClient",
|
|
27781
27781
|
props: {
|
|
27782
27782
|
proxyUrl: {},
|
|
@@ -27813,7 +27813,7 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27813
27813
|
proxyUrl: u.proxyUrl,
|
|
27814
27814
|
onOnSend: h[0] || (h[0] = (f) => d(c.Response))
|
|
27815
27815
|
}, null, 8, ["proxyUrl"]),
|
|
27816
|
-
A("div",
|
|
27816
|
+
A("div", H3, [
|
|
27817
27817
|
w(a) ? (k(), q(w(cb), {
|
|
27818
27818
|
key: 1,
|
|
27819
27819
|
selectedIndex: l.value,
|
|
@@ -27874,7 +27874,7 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27874
27874
|
}, 8, ["method"])
|
|
27875
27875
|
], 64));
|
|
27876
27876
|
}
|
|
27877
|
-
}),
|
|
27877
|
+
}), F3 = (r) => {
|
|
27878
27878
|
let e = 0, t = 0, n = 0;
|
|
27879
27879
|
if (!(r != null && r.length))
|
|
27880
27880
|
return t;
|
|
@@ -27882,9 +27882,9 @@ const Rj = /* @__PURE__ */ te(Cj, [["render", Ej], ["__scopeId", "data-v-28fcbcb
|
|
|
27882
27882
|
e = r.charCodeAt(n), t = (t << 5) - t + e, t |= 0;
|
|
27883
27883
|
return t;
|
|
27884
27884
|
};
|
|
27885
|
-
function
|
|
27885
|
+
function K3(r, e) {
|
|
27886
27886
|
for (const [t, n] of Object.entries(r))
|
|
27887
|
-
n !== null && typeof n == "object" ? (e[t] ?? (e[t] = new n.__proto__.constructor()),
|
|
27887
|
+
n !== null && typeof n == "object" ? (e[t] ?? (e[t] = new n.__proto__.constructor()), K3(n, e[t])) : typeof n < "u" && (e[t] = n);
|
|
27888
27888
|
return e;
|
|
27889
27889
|
}
|
|
27890
27890
|
function Hw({
|
|
@@ -27923,10 +27923,10 @@ function Hw({
|
|
|
27923
27923
|
function ly(r) {
|
|
27924
27924
|
return (r ?? []).map((e) => ({ ...e, enabled: !0 }));
|
|
27925
27925
|
}
|
|
27926
|
-
const
|
|
27927
|
-
const e = new lP(), { headings: t } = (await
|
|
27928
|
-
return
|
|
27929
|
-
},
|
|
27926
|
+
const J3 = hb().use(ub).use(cP).use(aP), Jc = async (r) => {
|
|
27927
|
+
const e = new lP(), { headings: t } = (await J3.process(r)).data;
|
|
27928
|
+
return ej(t, e);
|
|
27929
|
+
}, ej = (r, e) => r.map((t) => ({
|
|
27930
27930
|
...t,
|
|
27931
27931
|
slug: e.slug(t.value)
|
|
27932
27932
|
})), Gw = (r) => {
|
|
@@ -27963,11 +27963,11 @@ function rL(r) {
|
|
|
27963
27963
|
const Kw = (r) => {
|
|
27964
27964
|
var e;
|
|
27965
27965
|
return r ? !!Object.keys(((e = r == null ? void 0 : r.components) == null ? void 0 : e.schemas) ?? {}).length : !1;
|
|
27966
|
-
},
|
|
27966
|
+
}, tj = (r) => {
|
|
27967
27967
|
var e;
|
|
27968
27968
|
return !!Object.keys(((e = r == null ? void 0 : r.components) == null ? void 0 : e.securitySchemes) ?? {}).length;
|
|
27969
|
-
},
|
|
27970
|
-
function
|
|
27969
|
+
}, rj = (r) => r ? !!Object.keys((r == null ? void 0 : r.webhooks) ?? {}).length : !1;
|
|
27970
|
+
function nj(r) {
|
|
27971
27971
|
try {
|
|
27972
27972
|
return !!new URL(r);
|
|
27973
27973
|
} catch {
|
|
@@ -27981,46 +27981,46 @@ const nL = (r, e) => Object.keys(r).map((t) => ({
|
|
|
27981
27981
|
...e,
|
|
27982
27982
|
...t
|
|
27983
27983
|
}), {});
|
|
27984
|
-
function
|
|
27984
|
+
function sj(r, e) {
|
|
27985
27985
|
return Object.keys(r).forEach((t) => {
|
|
27986
27986
|
Object.hasOwn(e, t) || delete r[t];
|
|
27987
27987
|
}), Object.assign(r, e), r;
|
|
27988
27988
|
}
|
|
27989
|
-
const
|
|
27989
|
+
const ij = () => ({
|
|
27990
27990
|
selectedServer: null,
|
|
27991
27991
|
servers: [],
|
|
27992
27992
|
variables: []
|
|
27993
|
-
}), Qf = an(
|
|
27993
|
+
}), Qf = an(ij()), oj = (r) => {
|
|
27994
27994
|
Object.assign(Qf, {
|
|
27995
27995
|
...Qf,
|
|
27996
27996
|
...r
|
|
27997
27997
|
});
|
|
27998
27998
|
}, Nd = () => ({
|
|
27999
27999
|
server: Qf,
|
|
28000
|
-
setServer:
|
|
28001
|
-
}), { server:
|
|
28000
|
+
setServer: oj
|
|
28001
|
+
}), { server: aj } = Nd(), { setOperation: lj, setGlobalSecurity: cj } = wd(), { toggleApiClient: dj } = cp(), { setActiveRequest: uj, resetActiveResponse: hj } = yr();
|
|
28002
28002
|
function Tf(r, e) {
|
|
28003
28003
|
const t = Hw({
|
|
28004
|
-
serverState:
|
|
28004
|
+
serverState: aj,
|
|
28005
28005
|
operation: r,
|
|
28006
28006
|
// Let the API client handle the authentication.
|
|
28007
28007
|
authenticationState: null,
|
|
28008
28008
|
globalSecurity: null
|
|
28009
28009
|
});
|
|
28010
|
-
|
|
28010
|
+
hj(), uj(t), lj(r), cj(e), dj(t, !0);
|
|
28011
28011
|
}
|
|
28012
28012
|
const rm = Symbol(), Jw = async (r) => {
|
|
28013
28013
|
var e;
|
|
28014
28014
|
(e = document.getElementById(r)) == null || e.scrollIntoView();
|
|
28015
28015
|
};
|
|
28016
|
-
var
|
|
28017
|
-
const
|
|
28016
|
+
var fj = Object.defineProperty, pj = (r, e, t) => e in r ? fj(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Xn = (r, e, t) => (pj(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
28017
|
+
const mj = (r, e) => {
|
|
28018
28018
|
const t = r[e];
|
|
28019
28019
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((n, s) => {
|
|
28020
28020
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(s.bind(null, new Error("Unknown variable dynamic import: " + e)));
|
|
28021
28021
|
});
|
|
28022
28022
|
};
|
|
28023
|
-
var
|
|
28023
|
+
var gj = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
28024
28024
|
function nm(r) {
|
|
28025
28025
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
28026
28026
|
}
|
|
@@ -29101,7 +29101,7 @@ var Ee = {};
|
|
|
29101
29101
|
})(Ee);
|
|
29102
29102
|
var nr = {};
|
|
29103
29103
|
Object.defineProperty(nr, "__esModule", { value: !0 });
|
|
29104
|
-
const Pt = we,
|
|
29104
|
+
const Pt = we, Oj = {
|
|
29105
29105
|
// validation function arguments
|
|
29106
29106
|
data: new Pt.Name("data"),
|
|
29107
29107
|
// args passed from referencing schema
|
|
@@ -29124,7 +29124,7 @@ const Pt = we, O3 = {
|
|
|
29124
29124
|
jsonLen: new Pt.Name("jsonLen"),
|
|
29125
29125
|
jsonPart: new Pt.Name("jsonPart")
|
|
29126
29126
|
};
|
|
29127
|
-
nr.default =
|
|
29127
|
+
nr.default = Oj;
|
|
29128
29128
|
(function(r) {
|
|
29129
29129
|
Object.defineProperty(r, "__esModule", { value: !0 }), r.extendErrors = r.resetErrorsCount = r.reportExtraError = r.reportError = r.keyword$DataError = r.keywordError = void 0;
|
|
29130
29130
|
const e = we, t = Ee, n = nr;
|
|
@@ -29199,19 +29199,19 @@ nr.default = O3;
|
|
|
29199
29199
|
})(rl);
|
|
29200
29200
|
Object.defineProperty(to, "__esModule", { value: !0 });
|
|
29201
29201
|
to.boolOrEmptySchema = to.topBoolOrEmptySchema = void 0;
|
|
29202
|
-
const
|
|
29202
|
+
const yj = rl, bj = we, vj = nr, wj = {
|
|
29203
29203
|
message: "boolean schema is false"
|
|
29204
29204
|
};
|
|
29205
|
-
function
|
|
29205
|
+
function Sj(r) {
|
|
29206
29206
|
const { gen: e, schema: t, validateName: n } = r;
|
|
29207
|
-
t === !1 ? rS(r, !1) : typeof t == "object" && t.$async === !0 ? e.return(
|
|
29207
|
+
t === !1 ? rS(r, !1) : typeof t == "object" && t.$async === !0 ? e.return(vj.default.data) : (e.assign((0, bj._)`${n}.errors`, null), e.return(!0));
|
|
29208
29208
|
}
|
|
29209
|
-
to.topBoolOrEmptySchema =
|
|
29210
|
-
function
|
|
29209
|
+
to.topBoolOrEmptySchema = Sj;
|
|
29210
|
+
function kj(r, e) {
|
|
29211
29211
|
const { gen: t, schema: n } = r;
|
|
29212
29212
|
n === !1 ? (t.var(e, !1), rS(r)) : t.var(e, !0);
|
|
29213
29213
|
}
|
|
29214
|
-
to.boolOrEmptySchema =
|
|
29214
|
+
to.boolOrEmptySchema = kj;
|
|
29215
29215
|
function rS(r, e) {
|
|
29216
29216
|
const { gen: t, data: n } = r, s = {
|
|
29217
29217
|
gen: t,
|
|
@@ -29223,17 +29223,17 @@ function rS(r, e) {
|
|
|
29223
29223
|
params: {},
|
|
29224
29224
|
it: r
|
|
29225
29225
|
};
|
|
29226
|
-
(0,
|
|
29226
|
+
(0, yj.reportError)(s, wj, void 0, e);
|
|
29227
29227
|
}
|
|
29228
29228
|
var nl = {}, Gs = {};
|
|
29229
29229
|
Object.defineProperty(Gs, "__esModule", { value: !0 });
|
|
29230
29230
|
Gs.getRules = Gs.isJSONType = void 0;
|
|
29231
|
-
const $
|
|
29232
|
-
function
|
|
29233
|
-
return typeof r == "string" &&
|
|
29231
|
+
const $j = ["string", "number", "integer", "boolean", "null", "object", "array"], Pj = new Set($j);
|
|
29232
|
+
function _j(r) {
|
|
29233
|
+
return typeof r == "string" && Pj.has(r);
|
|
29234
29234
|
}
|
|
29235
|
-
Gs.isJSONType =
|
|
29236
|
-
function
|
|
29235
|
+
Gs.isJSONType = _j;
|
|
29236
|
+
function xj() {
|
|
29237
29237
|
const r = {
|
|
29238
29238
|
number: { type: "number", rules: [] },
|
|
29239
29239
|
string: { type: "string", rules: [] },
|
|
@@ -29248,15 +29248,15 @@ function x3() {
|
|
|
29248
29248
|
keywords: {}
|
|
29249
29249
|
};
|
|
29250
29250
|
}
|
|
29251
|
-
Gs.getRules =
|
|
29251
|
+
Gs.getRules = xj;
|
|
29252
29252
|
var vn = {};
|
|
29253
29253
|
Object.defineProperty(vn, "__esModule", { value: !0 });
|
|
29254
29254
|
vn.shouldUseRule = vn.shouldUseGroup = vn.schemaHasRulesForType = void 0;
|
|
29255
|
-
function
|
|
29255
|
+
function Qj({ schema: r, self: e }, t) {
|
|
29256
29256
|
const n = e.RULES.types[t];
|
|
29257
29257
|
return n && n !== !0 && nS(r, n);
|
|
29258
29258
|
}
|
|
29259
|
-
vn.schemaHasRulesForType =
|
|
29259
|
+
vn.schemaHasRulesForType = Qj;
|
|
29260
29260
|
function nS(r, e) {
|
|
29261
29261
|
return e.rules.some((t) => sS(r, t));
|
|
29262
29262
|
}
|
|
@@ -29414,8 +29414,8 @@ vn.shouldUseRule = sS;
|
|
|
29414
29414
|
var Md = {};
|
|
29415
29415
|
Object.defineProperty(Md, "__esModule", { value: !0 });
|
|
29416
29416
|
Md.assignDefaults = void 0;
|
|
29417
|
-
const mi = we,
|
|
29418
|
-
function
|
|
29417
|
+
const mi = we, Tj = Ee;
|
|
29418
|
+
function Cj(r, e) {
|
|
29419
29419
|
const { properties: t, items: n } = r.schema;
|
|
29420
29420
|
if (e === "object" && t)
|
|
29421
29421
|
for (const s in t)
|
|
@@ -29423,14 +29423,14 @@ function C3(r, e) {
|
|
|
29423
29423
|
else
|
|
29424
29424
|
e === "array" && Array.isArray(n) && n.forEach((s, i) => dy(r, i, s.default));
|
|
29425
29425
|
}
|
|
29426
|
-
Md.assignDefaults =
|
|
29426
|
+
Md.assignDefaults = Cj;
|
|
29427
29427
|
function dy(r, e, t) {
|
|
29428
29428
|
const { gen: n, compositeRule: s, data: i, opts: o } = r;
|
|
29429
29429
|
if (t === void 0)
|
|
29430
29430
|
return;
|
|
29431
29431
|
const a = (0, mi._)`${i}${(0, mi.getProperty)(e)}`;
|
|
29432
29432
|
if (s) {
|
|
29433
|
-
(0,
|
|
29433
|
+
(0, Tj.checkStrictMode)(r, `default is ignored for: ${a}`);
|
|
29434
29434
|
return;
|
|
29435
29435
|
}
|
|
29436
29436
|
let l = (0, mi._)`${a} === undefined`;
|
|
@@ -29439,22 +29439,22 @@ function dy(r, e, t) {
|
|
|
29439
29439
|
var en = {}, Ce = {};
|
|
29440
29440
|
Object.defineProperty(Ce, "__esModule", { value: !0 });
|
|
29441
29441
|
Ce.validateUnion = Ce.validateArray = Ce.usePattern = Ce.callValidateCode = Ce.schemaProperties = Ce.allSchemaProperties = Ce.noPropertyInData = Ce.propertyInData = Ce.isOwnProperty = Ce.hasPropFunc = Ce.reportMissingProp = Ce.checkMissingProp = Ce.checkReportMissingProp = void 0;
|
|
29442
|
-
const Fe = we, sm = Ee, jn = nr,
|
|
29443
|
-
function
|
|
29442
|
+
const Fe = we, sm = Ee, jn = nr, Aj = Ee;
|
|
29443
|
+
function Ej(r, e) {
|
|
29444
29444
|
const { gen: t, data: n, it: s } = r;
|
|
29445
29445
|
t.if(om(t, n, e, s.opts.ownProperties), () => {
|
|
29446
29446
|
r.setParams({ missingProperty: (0, Fe._)`${e}` }, !0), r.error();
|
|
29447
29447
|
});
|
|
29448
29448
|
}
|
|
29449
|
-
Ce.checkReportMissingProp =
|
|
29450
|
-
function
|
|
29449
|
+
Ce.checkReportMissingProp = Ej;
|
|
29450
|
+
function Rj({ gen: r, data: e, it: { opts: t } }, n, s) {
|
|
29451
29451
|
return (0, Fe.or)(...n.map((i) => (0, Fe.and)(om(r, e, i, t.ownProperties), (0, Fe._)`${s} = ${i}`)));
|
|
29452
29452
|
}
|
|
29453
|
-
Ce.checkMissingProp =
|
|
29454
|
-
function
|
|
29453
|
+
Ce.checkMissingProp = Rj;
|
|
29454
|
+
function Zj(r, e) {
|
|
29455
29455
|
r.setParams({ missingProperty: e }, !0), r.error();
|
|
29456
29456
|
}
|
|
29457
|
-
Ce.reportMissingProp =
|
|
29457
|
+
Ce.reportMissingProp = Zj;
|
|
29458
29458
|
function iS(r) {
|
|
29459
29459
|
return r.scopeValue("func", {
|
|
29460
29460
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
@@ -29467,11 +29467,11 @@ function im(r, e, t) {
|
|
|
29467
29467
|
return (0, Fe._)`${iS(r)}.call(${e}, ${t})`;
|
|
29468
29468
|
}
|
|
29469
29469
|
Ce.isOwnProperty = im;
|
|
29470
|
-
function
|
|
29470
|
+
function Ij(r, e, t, n) {
|
|
29471
29471
|
const s = (0, Fe._)`${e}${(0, Fe.getProperty)(t)} !== undefined`;
|
|
29472
29472
|
return n ? (0, Fe._)`${s} && ${im(r, e, t)}` : s;
|
|
29473
29473
|
}
|
|
29474
|
-
Ce.propertyInData =
|
|
29474
|
+
Ce.propertyInData = Ij;
|
|
29475
29475
|
function om(r, e, t, n) {
|
|
29476
29476
|
const s = (0, Fe._)`${e}${(0, Fe.getProperty)(t)} === undefined`;
|
|
29477
29477
|
return n ? (0, Fe.or)(s, (0, Fe.not)(im(r, e, t))) : s;
|
|
@@ -29481,11 +29481,11 @@ function oS(r) {
|
|
|
29481
29481
|
return r ? Object.keys(r).filter((e) => e !== "__proto__") : [];
|
|
29482
29482
|
}
|
|
29483
29483
|
Ce.allSchemaProperties = oS;
|
|
29484
|
-
function
|
|
29484
|
+
function jj(r, e) {
|
|
29485
29485
|
return oS(e).filter((t) => !(0, sm.alwaysValidSchema)(r, e[t]));
|
|
29486
29486
|
}
|
|
29487
|
-
Ce.schemaProperties =
|
|
29488
|
-
function
|
|
29487
|
+
Ce.schemaProperties = jj;
|
|
29488
|
+
function Nj({ schemaCode: r, data: e, it: { gen: t, topSchemaRef: n, schemaPath: s, errorPath: i }, it: o }, a, l, c) {
|
|
29489
29489
|
const d = c ? (0, Fe._)`${r}, ${e}, ${n}${s}` : e, u = [
|
|
29490
29490
|
[jn.default.instancePath, (0, Fe.strConcat)(jn.default.instancePath, i)],
|
|
29491
29491
|
[jn.default.parentData, o.parentData],
|
|
@@ -29496,18 +29496,18 @@ function N3({ schemaCode: r, data: e, it: { gen: t, topSchemaRef: n, schemaPath:
|
|
|
29496
29496
|
const h = (0, Fe._)`${d}, ${t.object(...u)}`;
|
|
29497
29497
|
return l !== Fe.nil ? (0, Fe._)`${a}.call(${l}, ${h})` : (0, Fe._)`${a}(${h})`;
|
|
29498
29498
|
}
|
|
29499
|
-
Ce.callValidateCode =
|
|
29500
|
-
const
|
|
29501
|
-
function
|
|
29499
|
+
Ce.callValidateCode = Nj;
|
|
29500
|
+
const Mj = (0, Fe._)`new RegExp`;
|
|
29501
|
+
function Dj({ gen: r, it: { opts: e } }, t) {
|
|
29502
29502
|
const n = e.unicodeRegExp ? "u" : "", { regExp: s } = e.code, i = s(t, n);
|
|
29503
29503
|
return r.scopeValue("pattern", {
|
|
29504
29504
|
key: i.toString(),
|
|
29505
29505
|
ref: i,
|
|
29506
|
-
code: (0, Fe._)`${s.code === "new RegExp" ?
|
|
29506
|
+
code: (0, Fe._)`${s.code === "new RegExp" ? Mj : (0, Aj.useFunc)(r, s)}(${t}, ${n})`
|
|
29507
29507
|
});
|
|
29508
29508
|
}
|
|
29509
|
-
Ce.usePattern =
|
|
29510
|
-
function
|
|
29509
|
+
Ce.usePattern = Dj;
|
|
29510
|
+
function Xj(r) {
|
|
29511
29511
|
const { gen: e, data: t, keyword: n, it: s } = r, i = e.name("valid");
|
|
29512
29512
|
if (s.allErrors) {
|
|
29513
29513
|
const a = e.let("valid", !0);
|
|
@@ -29525,8 +29525,8 @@ function X3(r) {
|
|
|
29525
29525
|
});
|
|
29526
29526
|
}
|
|
29527
29527
|
}
|
|
29528
|
-
Ce.validateArray =
|
|
29529
|
-
function
|
|
29528
|
+
Ce.validateArray = Xj;
|
|
29529
|
+
function Wj(r) {
|
|
29530
29530
|
const { gen: e, schema: t, keyword: n, it: s } = r;
|
|
29531
29531
|
if (!Array.isArray(t))
|
|
29532
29532
|
throw new Error("ajv implementation error");
|
|
@@ -29542,11 +29542,11 @@ function W3(r) {
|
|
|
29542
29542
|
e.assign(i, (0, Fe._)`${i} || ${o}`), r.mergeValidEvaluated(c, o) || e.if((0, Fe.not)(i));
|
|
29543
29543
|
})), r.result(i, () => r.reset(), () => r.error(!0));
|
|
29544
29544
|
}
|
|
29545
|
-
Ce.validateUnion =
|
|
29545
|
+
Ce.validateUnion = Wj;
|
|
29546
29546
|
Object.defineProperty(en, "__esModule", { value: !0 });
|
|
29547
29547
|
en.validateKeywordUsage = en.validSchemaType = en.funcKeywordCode = en.macroKeywordCode = void 0;
|
|
29548
|
-
const Rt = we, xs = nr,
|
|
29549
|
-
function
|
|
29548
|
+
const Rt = we, xs = nr, qj = Ce, Vj = rl;
|
|
29549
|
+
function zj(r, e) {
|
|
29550
29550
|
const { gen: t, keyword: n, schema: s, parentSchema: i, it: o } = r, a = e.macro.call(o.self, s, i, o), l = aS(t, n, a);
|
|
29551
29551
|
o.opts.validateSchema !== !1 && o.self.validateSchema(a, !0);
|
|
29552
29552
|
const c = t.name("valid");
|
|
@@ -29558,11 +29558,11 @@ function z3(r, e) {
|
|
|
29558
29558
|
compositeRule: !0
|
|
29559
29559
|
}, c), r.pass(c, () => r.error(!0));
|
|
29560
29560
|
}
|
|
29561
|
-
en.macroKeywordCode =
|
|
29562
|
-
function
|
|
29561
|
+
en.macroKeywordCode = zj;
|
|
29562
|
+
function Uj(r, e) {
|
|
29563
29563
|
var t;
|
|
29564
29564
|
const { gen: n, keyword: s, schema: i, parentSchema: o, $data: a, it: l } = r;
|
|
29565
|
-
|
|
29565
|
+
Lj(l, e);
|
|
29566
29566
|
const c = !a && e.compile ? e.compile.call(l.self, i, o, l) : e.validate, d = aS(n, s, c), u = n.let("valid");
|
|
29567
29567
|
r.block$data(u, h), r.ok((t = e.valid) !== null && t !== void 0 ? t : u);
|
|
29568
29568
|
function h() {
|
|
@@ -29570,7 +29570,7 @@ function U3(r, e) {
|
|
|
29570
29570
|
O(), e.modifying && uy(r), g(() => r.error());
|
|
29571
29571
|
else {
|
|
29572
29572
|
const m = e.async ? f() : p();
|
|
29573
|
-
e.modifying && uy(r), g(() =>
|
|
29573
|
+
e.modifying && uy(r), g(() => Yj(r, m));
|
|
29574
29574
|
}
|
|
29575
29575
|
}
|
|
29576
29576
|
function f() {
|
|
@@ -29583,25 +29583,25 @@ function U3(r, e) {
|
|
|
29583
29583
|
}
|
|
29584
29584
|
function O(m = e.async ? (0, Rt._)`await ` : Rt.nil) {
|
|
29585
29585
|
const y = l.opts.passContext ? xs.default.this : xs.default.self, b = !("compile" in e && !a || e.schema === !1);
|
|
29586
|
-
n.assign(u, (0, Rt._)`${m}${(0,
|
|
29586
|
+
n.assign(u, (0, Rt._)`${m}${(0, qj.callValidateCode)(r, d, y, b)}`, e.modifying);
|
|
29587
29587
|
}
|
|
29588
29588
|
function g(m) {
|
|
29589
29589
|
var y;
|
|
29590
29590
|
n.if((0, Rt.not)((y = e.valid) !== null && y !== void 0 ? y : u), m);
|
|
29591
29591
|
}
|
|
29592
29592
|
}
|
|
29593
|
-
en.funcKeywordCode =
|
|
29593
|
+
en.funcKeywordCode = Uj;
|
|
29594
29594
|
function uy(r) {
|
|
29595
29595
|
const { gen: e, data: t, it: n } = r;
|
|
29596
29596
|
e.if(n.parentData, () => e.assign(t, (0, Rt._)`${n.parentData}[${n.parentDataProperty}]`));
|
|
29597
29597
|
}
|
|
29598
|
-
function
|
|
29598
|
+
function Yj(r, e) {
|
|
29599
29599
|
const { gen: t } = r;
|
|
29600
29600
|
t.if((0, Rt._)`Array.isArray(${e})`, () => {
|
|
29601
|
-
t.assign(xs.default.vErrors, (0, Rt._)`${xs.default.vErrors} === null ? ${e} : ${xs.default.vErrors}.concat(${e})`).assign(xs.default.errors, (0, Rt._)`${xs.default.vErrors}.length`), (0,
|
|
29601
|
+
t.assign(xs.default.vErrors, (0, Rt._)`${xs.default.vErrors} === null ? ${e} : ${xs.default.vErrors}.concat(${e})`).assign(xs.default.errors, (0, Rt._)`${xs.default.vErrors}.length`), (0, Vj.extendErrors)(r);
|
|
29602
29602
|
}, () => r.error());
|
|
29603
29603
|
}
|
|
29604
|
-
function
|
|
29604
|
+
function Lj({ schemaEnv: r }, e) {
|
|
29605
29605
|
if (e.async && !r.$async)
|
|
29606
29606
|
throw new Error("async keyword in sync schema");
|
|
29607
29607
|
}
|
|
@@ -29610,11 +29610,11 @@ function aS(r, e, t) {
|
|
|
29610
29610
|
throw new Error(`keyword "${e}" failed to compile`);
|
|
29611
29611
|
return r.scopeValue("keyword", typeof t == "function" ? { ref: t } : { ref: t, code: (0, Rt.stringify)(t) });
|
|
29612
29612
|
}
|
|
29613
|
-
function
|
|
29613
|
+
function Bj(r, e, t = !1) {
|
|
29614
29614
|
return !e.length || e.some((n) => n === "array" ? Array.isArray(r) : n === "object" ? r && typeof r == "object" && !Array.isArray(r) : typeof r == n || t && typeof r > "u");
|
|
29615
29615
|
}
|
|
29616
|
-
en.validSchemaType =
|
|
29617
|
-
function
|
|
29616
|
+
en.validSchemaType = Bj;
|
|
29617
|
+
function Hj({ schema: r, opts: e, self: t, errSchemaPath: n }, s, i) {
|
|
29618
29618
|
if (Array.isArray(s.keyword) ? !s.keyword.includes(i) : s.keyword !== i)
|
|
29619
29619
|
throw new Error("ajv implementation error");
|
|
29620
29620
|
const o = s.dependencies;
|
|
@@ -29628,12 +29628,12 @@ function H3({ schema: r, opts: e, self: t, errSchemaPath: n }, s, i) {
|
|
|
29628
29628
|
throw new Error(a);
|
|
29629
29629
|
}
|
|
29630
29630
|
}
|
|
29631
|
-
en.validateKeywordUsage =
|
|
29631
|
+
en.validateKeywordUsage = Hj;
|
|
29632
29632
|
var Jn = {};
|
|
29633
29633
|
Object.defineProperty(Jn, "__esModule", { value: !0 });
|
|
29634
29634
|
Jn.extendSubschemaMode = Jn.extendSubschemaData = Jn.getSubschema = void 0;
|
|
29635
29635
|
const Gr = we, lS = Ee;
|
|
29636
|
-
function
|
|
29636
|
+
function Gj(r, { keyword: e, schemaProp: t, schema: n, schemaPath: s, errSchemaPath: i, topSchemaRef: o }) {
|
|
29637
29637
|
if (e !== void 0 && n !== void 0)
|
|
29638
29638
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
29639
29639
|
if (e !== void 0) {
|
|
@@ -29660,8 +29660,8 @@ function G3(r, { keyword: e, schemaProp: t, schema: n, schemaPath: s, errSchemaP
|
|
|
29660
29660
|
}
|
|
29661
29661
|
throw new Error('either "keyword" or "schema" must be passed');
|
|
29662
29662
|
}
|
|
29663
|
-
Jn.getSubschema =
|
|
29664
|
-
function
|
|
29663
|
+
Jn.getSubschema = Gj;
|
|
29664
|
+
function Fj(r, e, { dataProp: t, dataPropType: n, data: s, dataTypes: i, propertyName: o }) {
|
|
29665
29665
|
if (s !== void 0 && t !== void 0)
|
|
29666
29666
|
throw new Error('both "data" and "dataProp" passed, only one allowed');
|
|
29667
29667
|
const { gen: a } = e;
|
|
@@ -29678,11 +29678,11 @@ function F3(r, e, { dataProp: t, dataPropType: n, data: s, dataTypes: i, propert
|
|
|
29678
29678
|
r.data = c, r.dataLevel = e.dataLevel + 1, r.dataTypes = [], e.definedProperties = /* @__PURE__ */ new Set(), r.parentData = e.data, r.dataNames = [...e.dataNames, c];
|
|
29679
29679
|
}
|
|
29680
29680
|
}
|
|
29681
|
-
Jn.extendSubschemaData =
|
|
29682
|
-
function
|
|
29681
|
+
Jn.extendSubschemaData = Fj;
|
|
29682
|
+
function Kj(r, { jtdDiscriminator: e, jtdMetadata: t, compositeRule: n, createErrors: s, allErrors: i }) {
|
|
29683
29683
|
n !== void 0 && (r.compositeRule = n), s !== void 0 && (r.createErrors = s), i !== void 0 && (r.allErrors = i), r.jtdDiscriminator = e, r.jtdMetadata = t;
|
|
29684
29684
|
}
|
|
29685
|
-
Jn.extendSubschemaMode =
|
|
29685
|
+
Jn.extendSubschemaMode = Kj;
|
|
29686
29686
|
var wt = {}, cS = function r(e, t) {
|
|
29687
29687
|
if (e === t)
|
|
29688
29688
|
return !0;
|
|
@@ -29780,14 +29780,14 @@ function gc(r, e, t, n, s, i, o, a, l, c) {
|
|
|
29780
29780
|
} else if (d in Gn.propsKeywords) {
|
|
29781
29781
|
if (u && typeof u == "object")
|
|
29782
29782
|
for (var f in u)
|
|
29783
|
-
gc(r, e, t, u[f], s + "/" + d + "/" +
|
|
29783
|
+
gc(r, e, t, u[f], s + "/" + d + "/" + Jj(f), i, s, d, n, f);
|
|
29784
29784
|
} else
|
|
29785
29785
|
(d in Gn.keywords || r.allKeys && !(d in Gn.skipKeywords)) && gc(r, e, t, u, s + "/" + d, i, s, d, n);
|
|
29786
29786
|
}
|
|
29787
29787
|
t(n, s, i, o, a, l, c);
|
|
29788
29788
|
}
|
|
29789
29789
|
}
|
|
29790
|
-
function
|
|
29790
|
+
function Jj(r) {
|
|
29791
29791
|
return r.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
29792
29792
|
}
|
|
29793
29793
|
var eN = dS.exports;
|
|
@@ -30402,7 +30402,7 @@ var dm = {}, Zf = { exports: {} };
|
|
|
30402
30402
|
(function(r, e) {
|
|
30403
30403
|
(function(t, n) {
|
|
30404
30404
|
n(e);
|
|
30405
|
-
})(
|
|
30405
|
+
})(gj, function(t) {
|
|
30406
30406
|
function n() {
|
|
30407
30407
|
for (var x = arguments.length, Z = Array(x), N = 0; N < x; N++)
|
|
30408
30408
|
Z[N] = arguments[N];
|
|
@@ -39945,7 +39945,7 @@ class cg {
|
|
|
39945
39945
|
async getAjvValidator(e) {
|
|
39946
39946
|
if (this.ajvValidators[e])
|
|
39947
39947
|
return this.ajvValidators[e];
|
|
39948
|
-
const t = await
|
|
39948
|
+
const t = await mj(/* @__PURE__ */ Object.assign({ "../../../schemas/v2.0/schema.json": () => import("./schema-BQQoKgNw-DQKLRVph.js"), "../../../schemas/v3.0/schema.json": () => import("./schema-BjykgtPd-D3b7mB1v.js"), "../../../schemas/v3.1/schema.json": () => import("./schema-ZROhtp0X-ZROhtp0X.js") }), `../../../schemas/v${e}/schema.json`), n = sW[t.$schema], s = new n({
|
|
39949
39949
|
// Ajv is a bit too strict in its strict validation of OpenAPI schemas.
|
|
39950
39950
|
// Switch strict mode off.
|
|
39951
39951
|
strict: !1
|
|
@@ -40287,7 +40287,7 @@ const tb = () => ({
|
|
|
40287
40287
|
tags: []
|
|
40288
40288
|
}), M7 = async ({ url: r, content: e }, t) => {
|
|
40289
40289
|
if (r)
|
|
40290
|
-
return
|
|
40290
|
+
return nj(r) ? await jg(r, t) : await jg(r);
|
|
40291
40291
|
const n = typeof e == "function" ? e() : e;
|
|
40292
40292
|
if (typeof n == "string")
|
|
40293
40293
|
return n;
|
|
@@ -40443,7 +40443,7 @@ const Kk = ce([]), U7 = async (r) => {
|
|
|
40443
40443
|
show: !0,
|
|
40444
40444
|
isGroup: !0
|
|
40445
40445
|
};
|
|
40446
|
-
}) : void 0, c =
|
|
40446
|
+
}) : void 0, c = rj(ht.value) ? [
|
|
40447
40447
|
{
|
|
40448
40448
|
id: gh(),
|
|
40449
40449
|
title: "WEBHOOKS",
|
|
@@ -40534,27 +40534,30 @@ const B7 = ["id"], H7 = {
|
|
|
40534
40534
|
emits: ["toggleOpen"],
|
|
40535
40535
|
setup(r, { emit: e }) {
|
|
40536
40536
|
const t = r, n = e, s = async () => {
|
|
40537
|
-
var
|
|
40538
|
-
t.hasChildren && n("toggleOpen"), (
|
|
40537
|
+
var o, a;
|
|
40538
|
+
t.hasChildren && n("toggleOpen"), (a = (o = t.item) == null ? void 0 : o.select) == null || a.call(o);
|
|
40539
|
+
}, i = (o) => {
|
|
40540
|
+
const a = new URL(window.location.href);
|
|
40541
|
+
return a.hash = o, `${a.pathname}${a.search}${a.hash}`;
|
|
40539
40542
|
};
|
|
40540
|
-
return (
|
|
40541
|
-
var
|
|
40543
|
+
return (o, a) => {
|
|
40544
|
+
var l, c;
|
|
40542
40545
|
return k(), Q("li", {
|
|
40543
|
-
id:
|
|
40546
|
+
id: o.id,
|
|
40544
40547
|
class: "sidebar-group-item"
|
|
40545
40548
|
}, [
|
|
40546
40549
|
A("div", {
|
|
40547
40550
|
class: pe(["sidebar-heading", {
|
|
40548
|
-
"sidebar-group-item__folder":
|
|
40549
|
-
active_page:
|
|
40550
|
-
deprecated:
|
|
40551
|
+
"sidebar-group-item__folder": o.hasChildren,
|
|
40552
|
+
active_page: o.isActive,
|
|
40553
|
+
deprecated: o.item.deprecated ?? !1
|
|
40551
40554
|
}]),
|
|
40552
40555
|
onClick: s
|
|
40553
40556
|
}, [
|
|
40554
|
-
|
|
40557
|
+
o.hasChildren ? (k(), Q("p", H7, [
|
|
40555
40558
|
I(w(em), {
|
|
40556
40559
|
class: "toggle-nested-icon",
|
|
40557
|
-
icon:
|
|
40560
|
+
icon: o.open ? "ChevronDown" : "ChevronRight",
|
|
40558
40561
|
label: "Toggle group",
|
|
40559
40562
|
size: "sm",
|
|
40560
40563
|
onClick: Ua(s, ["stop"])
|
|
@@ -40563,34 +40566,34 @@ const B7 = ["id"], H7 = {
|
|
|
40563
40566
|
])) : B("", !0),
|
|
40564
40567
|
A("a", {
|
|
40565
40568
|
class: "sidebar-heading-link",
|
|
40566
|
-
href:
|
|
40569
|
+
href: i(o.item.id)
|
|
40567
40570
|
}, [
|
|
40568
|
-
(
|
|
40571
|
+
(c = (l = o.item) == null ? void 0 : l.icon) != null && c.src ? (k(), q(w(ot), {
|
|
40569
40572
|
key: 0,
|
|
40570
40573
|
class: "sidebar-icon",
|
|
40571
|
-
icon:
|
|
40574
|
+
icon: o.item.icon.src
|
|
40572
40575
|
}, null, 8, ["icon"])) : B("", !0),
|
|
40573
|
-
A("p", F7, K(
|
|
40574
|
-
|
|
40576
|
+
A("p", F7, K(o.item.title), 1),
|
|
40577
|
+
o.item.httpVerb ? (k(), Q("p", K7, [
|
|
40575
40578
|
G(" "),
|
|
40576
40579
|
I(w(fs), {
|
|
40577
40580
|
as: "div",
|
|
40578
40581
|
class: "sidebar-heading-type",
|
|
40579
|
-
method:
|
|
40582
|
+
method: o.item.httpVerb,
|
|
40580
40583
|
property: "--method-color",
|
|
40581
40584
|
short: ""
|
|
40582
40585
|
}, null, 8, ["method"])
|
|
40583
40586
|
])) : B("", !0)
|
|
40584
40587
|
], 8, G7)
|
|
40585
40588
|
], 2),
|
|
40586
|
-
|
|
40587
|
-
|
|
40588
|
-
ee(
|
|
40589
|
+
o.open ? ee(o.$slots, "default", { key: 0 }, void 0, !0) : B("", !0),
|
|
40590
|
+
o.$slots["action-menu"] ? (k(), Q("div", J7, [
|
|
40591
|
+
ee(o.$slots, "action-menu", {}, void 0, !0)
|
|
40589
40592
|
])) : B("", !0)
|
|
40590
40593
|
], 8, B7);
|
|
40591
40594
|
};
|
|
40592
40595
|
}
|
|
40593
|
-
}), Jl = /* @__PURE__ */ te(e9, [["__scopeId", "data-v-
|
|
40596
|
+
}), Jl = /* @__PURE__ */ te(e9, [["__scopeId", "data-v-6e7b73b3"]]), t9 = /* @__PURE__ */ H({
|
|
40594
40597
|
__name: "SidebarGroup",
|
|
40595
40598
|
props: {
|
|
40596
40599
|
level: {}
|
|
@@ -40796,7 +40799,7 @@ const B7 = ["id"], H7 = {
|
|
|
40796
40799
|
[Fr, !w(n)]
|
|
40797
40800
|
])
|
|
40798
40801
|
])),
|
|
40799
|
-
I(w(
|
|
40802
|
+
I(w(G3), {
|
|
40800
40803
|
proxyUrl: s.proxyUrl,
|
|
40801
40804
|
theme: "none",
|
|
40802
40805
|
onEscapeKeyPress: w(e)
|
|
@@ -40955,7 +40958,7 @@ const ni = /* @__PURE__ */ te(f9, [["render", m9], ["__scopeId", "data-v-f9d4a1f
|
|
|
40955
40958
|
), ei(async () => {
|
|
40956
40959
|
const i = ip();
|
|
40957
40960
|
await Js(1), i.scalarState["useGlobalStore-authentication"] = t;
|
|
40958
|
-
}), (i, o) => w(
|
|
40961
|
+
}), (i, o) => w(tj)(i.parsedSpec) ? (k(), q(w(ni), { key: 0 }, {
|
|
40959
40962
|
default: C(() => [
|
|
40960
40963
|
I(w(si), {
|
|
40961
40964
|
borderless: "",
|
|
@@ -41002,7 +41005,7 @@ const ni = /* @__PURE__ */ te(f9, [["render", m9], ["__scopeId", "data-v-f9d4a1f
|
|
|
41002
41005
|
clientKey: "curl"
|
|
41003
41006
|
}), so = an(e$());
|
|
41004
41007
|
function T9() {
|
|
41005
|
-
|
|
41008
|
+
sj(so, e$());
|
|
41006
41009
|
}
|
|
41007
41010
|
function t$(r) {
|
|
41008
41011
|
var t;
|
|
@@ -41611,7 +41614,7 @@ const ml = /* @__PURE__ */ te(QV, [["render", CV], ["__scopeId", "data-v-b630668
|
|
|
41611
41614
|
value: {}
|
|
41612
41615
|
},
|
|
41613
41616
|
setup(r) {
|
|
41614
|
-
const e = r, n = `components-Content-Introduction-Description-sections${
|
|
41617
|
+
const e = r, n = `components-Content-Introduction-Description-sections${F3(e.value)}`, s = rP(
|
|
41615
41618
|
async () => {
|
|
41616
41619
|
if (!e.value)
|
|
41617
41620
|
return [];
|
|
@@ -46089,9 +46092,9 @@ export {
|
|
|
46089
46092
|
g$ as SearchButton,
|
|
46090
46093
|
d6 as SearchModal,
|
|
46091
46094
|
Jf as Sidebar,
|
|
46092
|
-
|
|
46093
|
-
|
|
46094
|
-
|
|
46095
|
+
ij as createEmptyServerState,
|
|
46096
|
+
F3 as createHash,
|
|
46097
|
+
K3 as deepMerge,
|
|
46095
46098
|
Lk as downloadSpecBus,
|
|
46096
46099
|
_7 as downloadSpecFile,
|
|
46097
46100
|
Hw as getApiClientRequest,
|
|
@@ -46100,12 +46103,12 @@ export {
|
|
|
46100
46103
|
xf as getUrlFromServerState,
|
|
46101
46104
|
rL as getVariableNames,
|
|
46102
46105
|
Kw as hasModels,
|
|
46103
|
-
|
|
46104
|
-
|
|
46105
|
-
|
|
46106
|
+
tj as hasSecuritySchemes,
|
|
46107
|
+
rj as hasWebhooks,
|
|
46108
|
+
nj as isValidUrl,
|
|
46106
46109
|
nL as mapFromObject,
|
|
46107
46110
|
sL as mergeAllObjects,
|
|
46108
|
-
|
|
46111
|
+
sj as objectMerge,
|
|
46109
46112
|
Tf as openClientFor,
|
|
46110
46113
|
S7 as parse,
|
|
46111
46114
|
Fw as replaceVariables,
|